Abstract
Natural Language Inference (NLI) models often function as "black boxes," making their reasoning difficult to audit. While atomic fact decomposition offers a path toward interpretability, existing methods rely on computationally expensive and hallucination-prone generative Large Language Models (LLMs). We present JEDI (Joint Encoder for Decomposition and Inference), an extractive approach that identifies atomic facts as spans within the premise and performs inference in a single forward pass. JEDI achieves competitive accuracy while demonstrating superior robustness against adversarial datasets compared to standard extractive baselines.
Introduction
Natural Language Inference (NLI) requires determining whether a hypothesis is entailed by, contradicted by, or neutral with respect to a given premise. To improve interpretability, researchers have proposed breaking premises into "atomic facts." However, state-of-the-art methods typically use LLMs to generate these facts abstractively. This introduces significant computational overhead, risks of hallucination, and a lack of direct traceability to the source text.
As shown in Figure 1, abstractive decomposition rephrases content into new sentences, whereas extractive decomposition identifies specific spans within the original text. The latter ensures that the model's reasoning is grounded directly in the provided evidence, avoiding the "hallucination" pitfalls of generative models.
Methodology: The JEDI Architecture
JEDI (Joint Encoder for Decomposition and Inference) is designed to perform decomposition and inference simultaneously using a single encoder-only model (e.g., DeBERTa).
The architecture, detailed in Figure 6, consists of three primary components integrated into a multi-task head:
- Global Classification: An initial pass to determine the overall relationship.
- Span Extraction: A specialized head identifies the start and end boundaries of atomic facts within the premise.
- Span-wise NLI: Each extracted span is embedded and classified against the hypothesis.
Symbolic Logic for Final Inference
Rather than relying on a final neural layer for the ultimate label, JEDI employs hard-coded logical rules to aggregate span-level results. A Contradiction label is assigned if any individual span contradicts the hypothesis. If no contradictions exist and at least one span supports the hypothesis, the result is Entailment. Otherwise, the relationship is deemed Neutral. This symbolic layer acts as a constraint that prevents the model from relying on shallow heuristics or word-overlap shortcuts.
Data and Training
To train JEDI, the authors developed the SYRP (SYnthetic Rationales for Premises) corpus. This dataset contains approximately 1.5 million samples where a high-capacity LLM (Qwen2.5-32B) was used to identify which premise spans support or contradict a hypothesis. JEDI is then trained to mimic this extractive behavior, effectively distilling the LLM's reasoning capabilities into a much smaller, faster, and more deployable encoder model.
Results and Discussion
JEDI was evaluated on standard benchmarks (ANLI, MNLI) and the adversarial HANS dataset, designed to expose models that rely on simple word-overlap heuristics.
- Performance: JEDI reached 65.6% accuracy on ANLI, nearly matching the 67.7% achieved by much larger generative baselines while being significantly more efficient.
- Robustness: On the HANS dataset, JEDI maintained a high score of 76.9%. In contrast, a standard extractive model without JEDI's structured reasoning collapsed to 33.0%. This suggests that atomic decomposition is a powerful defense against "shortcut learning."
- Efficiency: By consolidating decomposition and inference into a single forward pass, JEDI eliminates the latency and cost associated with autoregressive generation.
Conclusion and Limitations
JEDI demonstrates that extractive fact decomposition is a viable, robust, and efficient alternative to generative interpretability methods. However, limitations remain: the model currently only decomposes the premise, leaving complex hypotheses as single units. Additionally, its reliance on synthetic training data means it is bounded by the quality of the teacher LLM's initial highlights. Future work will explore joint decomposition of both premises and hypotheses to further refine the granularity of NLI reasoning.
Summary updated