Introduction
Generating natural language proofs—where a system must navigate from a set of known facts to a specific conclusion through intermediate logical steps—presents a significant computational challenge. This process is typically bifurcated into two stages: planning (selecting which premises to combine) and deduction (generating the resulting conclusion). While state-of-the-art planners often utilize "early-fusion" models like DeBERTa to cross-encode premise pairs with goal statements, these methods are computationally expensive and scale poorly to large fact bases.
This paper explores an alternative approach: Deductive Additivity (DA). The hypothesis posits that logical deduction can be modeled as a geometric operation in embedding space, where the vector sum of two premise embeddings resides near the embedding of their logical conclusion. By treating logic as geometry, we can potentially leverage fast vector arithmetic and nearest-neighbor searches to plan reasoning steps with significantly higher efficiency.
Methodology
The Deductive Additivity Hypothesis
The core of this research is the formalization of the DA property:
$$E(p_a) + E(p_b) \approx E(d_{ab})$$
where $E$ represents an embedding function, $p_a$ and $p_b$ are premises, and $d_{ab}$ is the resulting deduction. To evaluate this property, the study examines three distinct embedding strategies:
- Off-the-shelf Dense Embeddings: Utilizing pre-trained models such as SimCSE and GPT-3 (Ada) to determine if logical structure is an emergent property of standard language modeling.
- Fine-tuned Embeddings: GPT-3 embeddings were augmented with dense layers trained via a contrastive loss function. This training aimed to minimize the distance between the sum of premises and their gold conclusions while maximizing the distance from irrelevant "negative" facts.
- Sparse Baselines: BM25 was employed as a control to measure the effectiveness of lexical overlap compared to semantic vector space.
These embeddings were integrated into a search algorithm designed to construct "entailment trees" by iteratively selecting premise pairs whose vector sum demonstrated the highest similarity to the target goal.
Datasets and Benchmarking
The study utilizes three primary benchmarks to test the limits of DA:
- EntailmentBank (EB): Focuses on multi-step proofs derived from primary school science curricula.
- Everyday Norms: Why Not (ENWN): Evaluates proofs centered on social norms and common-sense reasoning.
- Single-Step Reasoning Contrast (SSRC): A newly introduced diagnostic dataset designed to probe 14 specific logical categories, including Modus Ponens, Syllogisms, and Spatial Relationships. SSRC includes "perturbed" examples (e.g., negated premises) to test whether models can distinguish valid logic from surface-level semantic similarity.
Key Insights and Results
Latent Geometry in LLMs
One of the most striking findings is that GPT-3 embeddings exhibit a degree of "latent geometry" even without explicit logical training. A "Gold" cluster exists where premise sums are naturally closer to their conclusions than to random premise pairs, suggesting that large-scale language modeling inherently organizes some logical relationships spatially.
Performance Metrics
- Proof Generation: On EntailmentBank (Task 2), the DA approach using GPT-3 achieved a success rate of 49%, outperforming the BM25 baseline of 43%. However, it remained behind the more computationally intensive SCSearch cross-encoder, which reached 61%.
- SSRC Diagnostic: In single-step environments, GPT-3 (DA) achieved a Mean Reciprocal Rank (MRR) of 0.85, slightly outperforming SCSearch (0.83). This indicates that vector arithmetic is highly effective for isolated logical steps.
- Domain Sensitivity: On the ENWN dataset, BM25 outperformed vector-based methods, suggesting that in certain domains, keyword matching remains a more robust heuristic than current semantic embeddings.
The "Partial Match" Trap
The primary obstacle for vector-based planning is the "partial match" phenomenon. If a premise pair contains one correct fact and one irrelevant fact, the resulting vector often remains close enough to the conclusion to mislead the planner. This leads to "hallucination paths" where the model pursues logically unsound branches that appear geometrically plausible.
Discussion and Limitations
While Deductive Additivity offers a path toward more efficient reasoning, it currently lacks distractor robustness. Fine-tuning for DA improved performance on familiar reasoning types (like science facts) but often degraded the model's ability to handle negation or spatial reasoning, suggesting a trade-off between specialization and general logical flexibility.
Furthermore, the linear nature of vector addition may be insufficient to capture the non-linear, complex interactions inherent in formal logic. Future research should investigate more sophisticated compositional functions—such as box embeddings or non-linear projection layers—to better represent the nuances of natural language deduction. Scaling diagnostic datasets like SSRC to include multi-step "hard negatives" will be essential for training the next generation of resilient, vector-based reasoning planners.
Summary updated