The Polarity Composition Hypothesis: Causal Evidence for Negation Processing in NLI

Study proposes Polarity Composition Hypothesis, revealing language models' negation processing via causal subspace evidence.
This study focuses on how language models handle negation in NLI, proposing the Polarity Composition Hypothesis that decomposes negation processing into lexical polarity, composition rules, and sentence polarity. Behavioral evaluation shows model predictions are highly consistent with the hypothesis, indicating an interpretable composition path rather than simple memorization. Using Distributed Alignment Search (DAS), researchers identify causally aligned subspaces in the model's activation space; intervening on these directions alters negation handling. Transfer experiments show the representations generalize across negation forms and partially transfer to an MNLI subset. The study releases datasets and code, offering new ideas for interpretable AI and model robustness.
How language models process negation has long been a thorny problem in natural language understanding. A recent study proposes the "Polarity Composition Hypothesis," attempting to explain this process at the causal level. Through behavioral evaluation and Distributed Alignment Search, the study reveals a subspace within language models related to negation and verifies the transferability of these representations across forms.

Research Background and Problem
Negation is a ubiquitous phenomenon in natural language, yet the mechanisms by which language models handle it remain unclear. In Natural Language Inference (NLI) tasks, models must determine the logical relationship between a premise and a hypothesis, and negation words (such as "not" or "no") can significantly alter meaning. Prior research has largely remained at the behavioral level, lacking causal analysis of internal computational mechanisms.
This study focuses on the computational process by which language models handle negation in NLI and proposes a high-level causal model—the Polarity Composition Hypothesis. This hypothesis posits that models construct sentence representations by composing the polarity (affirmative/negative) of words, thereby completing inference.
Natural Language Inference (NLI) is a core task in natural language processing: given a premise and a hypothesis, a model must determine the logical relationship between them, typically classified as entailment, contradiction, or neutral. NLI is widely used as a benchmark for evaluating models' semantic understanding, with classic datasets including SNLI and MNLI. Negation is particularly critical in NLI because a single negation word can flip an "entailment" relationship into a "contradiction"—for example, the premise "The cat is on the mat" and the hypothesis "The cat is not on the mat" constitute a contradiction rather than entailment. Thus, NLI provides a controlled and quantifiable testbed for studying negation processing.
The Polarity Composition Hypothesis and Behavioral Validation
The Polarity Composition Hypothesis decomposes negation processing into several variables: lexical polarity, composition rules, and sentence polarity. The research team tested whether model predictions conform to this hypothesis through behavioral evaluation. Results showed that language model predictions were largely consistent with the hypothesis, indicating that models indeed follow some computational path of polarity composition.
This finding has theoretical significance: it suggests that language models do not simply memorize negation patterns but learn interpretable composition mechanisms. However, behavioral consistency is only indirect evidence and requires further investigation of internal representations.
Causal Subspace Identification
To obtain causal evidence, the researchers employed Distributed Alignment Search (DAS) to find subspaces in the model's activation space that are causally related to the hypothesis variables. DAS can identify representation directions that have a causal influence on a specific task, thereby linking abstract variables to concrete neuron activations.
The experiments successfully identified causally effective subspaces aligned with the Polarity Composition Hypothesis variables. This means that specific directions encoding polarity information do exist within the model, and intervening on these directions affects the model's handling of negation. This provides direct causal support for the hypothesis.
Distributed Alignment Search (DAS) is a causal intervention method for interpreting internal representations of neural networks. The basic idea is to learn a low-dimensional subspace (implemented via a rotation matrix and mask) within a model layer's activation space, project high-dimensional activations onto this subspace and back, and train the subspace so that the model's outputs align with a target causal variable (e.g., "polarity"). If intervening on this subspace systematically changes model behavior, it indicates that the subspace encodes causal information about that variable. DAS's advantage is that it directly optimizes for causal effects rather than merely focusing on correlation, thus revealing the model's true internal computational mechanisms better than observational methods such as probing.
Transferability of Representations
The study further tested the transferability of these representations. Results showed that the identified subspaces transfer across different negation forms, indicating that the model's handling of negation has some generalization ability. Additionally, these representations partially transferred to a subset of the MNLI dataset, suggesting that the mechanism is applicable across a broader range of NLI tasks.
Transferability is an important indicator of representation quality. Transfer across negation forms means the model is not hardcoding for specific negation words but learning more abstract polarity composition rules. Partial transfer to the MNLI subset suggests that this mechanism may be普遍 present in NLI tasks.
MNLI (Multi-Genre Natural Language Inference) is one of the most influential large-scale datasets in the NLI field, containing approximately 430,000 training examples spanning multiple genres (e.g., fiction, government reports, telephone conversations). Its validation and test sets are divided into matched and mismatched versions to test out-of-domain generalization. The "MNLI subset" referred to in the study typically means samples containing negation words filtered from MNLI, used to test whether negation representations identified on datasets like SNLI can transfer to broader, more diverse NLI scenarios. Partial transfer success implies that the mechanism is not specific to a particular dataset but may reflect a commonality of negation processing in NLI tasks.
Significance and Outlook
This study provides a new causal perspective for understanding negation processing in language models. The Polarity Composition Hypothesis not only explains behavioral patterns but also finds evidence of internal implementation through DAS. This helps advance interpretable AI and offers ideas for improving model robustness in negation scenarios.
The researchers have released the dataset and code to facilitate reproduction and extension. Future work could explore the applicability of this hypothesis to other linguistic phenomena and how to leverage these findings to improve model performance.
In summary, this study combines behavioral analysis with causal intervention, setting an example for research on the internal computational mechanisms of language models.
One-line Summary
Study proposes the Polarity Composition Hypothesis, using causal subspace evidence to reveal language models' negation processing mechanisms.
Paragraph Summary
This study focuses on how language models handle negation in natural language inference, proposing the "Polarity Composition Hypothesis," which decomposes negation processing into variables such as lexical polarity, composition rules, and sentence polarity. Behavioral evaluation shows that model predictions are highly consistent with the hypothesis, indicating that models follow an interpretable polarity composition path rather than simple memorization. To obtain further causal evidence, researchers used Distributed Alignment Search (DAS) to identify subspaces in the model's activation space that are causally aligned with the hypothesis variables; intervening on these directions changes the model's handling of negation. Transfer experiments show that these representations generalize across negation forms and partially transfer to an MNLI subset. The study releases datasets and code, offering new ideas for interpretable AI and model robustness improvement.
Related articles

Prompt Engineering for Beginners: From Writing Prompts to Engineering Thinking
Starting from the essence and four functions of prompts, this article systematically explains the six-step process, four success criteria, learning value, and practical limitations of prompt engineering to help you build a complete understanding.

Anthropic Launches Nasdaq IPO: AI Giant's Listing and Risk Disclosures
Anthropic officially launches its Nasdaq IPO under ticker ANT, with market valuation expected to potentially exceed SpaceX's record. The prospectus devotes nearly 100 pages to AI risks, while first-half revenue grew over 14x but net losses widened sharply, reigniting the AI bubble debate.

Rust cURL Clone Uses 4,832 unsafe Blocks—Is the Memory Safety Myth Broken?
A Rust cURL clone uses 4,832 unsafe keywords, challenging Rust's memory safety narrative. We analyze what unsafe really means, compare Fil-C, and examine rewrite motives.