Logical Validity Representations in Language Models
When Decodability Is Not Enough: Logical Validity Representations, Behavioral Dissociation, and Causal Tests in Language Models
Models can represent logical validity internally without reliably expressing it in outputs, affecting how we evaluate AI reasoning capabilities.
The study examines logical verification in five open-weight transformer models using matched valid-invalid premise-claim pairs across inference families, semantic domains, templates, and difficulty levels. Despite near-chance behavioral performance, logical validity remains almost perfectly decodable from hidden states and stays strongly decodable under held-out templates, domains, and inference families. Validity also remains highly decodable on behaviorally incorrect examples where correctness-conditioned evaluation is well defined.
When Decodability Is Not Enough: Logical Validity Representations, Behavioral Dissociation, and Causal Tests in Language Models
Large language models can look capable of logical reasoning, but correct or incorrect answers alone tell us little about what the model represents internally. We study logical verification in five open-weight transformer models using matched valid--invalid premise--claim pairs that vary across inference families, semantic domains, templates, and difficulty levels. Despite near-chance behavioral performance, logical validity is often almost perfectly decodable from hidden states and remains strongly decodable under held-out templates, domains, and inference families. Validity also remains highly decodable on behaviorally incorrect examples in the conditions where correctness-conditioned evaluation is well defined. At the same time, exhaustive leave-one-out tests reveal clear limits to this generalization, and interventions along probe-derived validity directions have only weak, nonspecific effects compared with random controls. Our results suggest that representing validity, expressing it in behavior, and using it causally are distinct. Validity related information can be strongly decodable from a model's hidden states without being reliably expressed in its output.