Introduction
While Large Language Models (LLMs) have achieved remarkable fluency, their internal reasoning processes often remain opaque "black boxes." In Natural Language Inference (NLI)—the task of determining whether a premise entails a conclusion—there is a growing need for models that offer both controllability and interpretability. Current systems frequently struggle with "inference control," failing to allow users to dictate the specific logical path taken to reach a conclusion. This research addresses the gap between formal logic and content-based flexibility by introducing "lexical inference types" to guide a model's latent space.
Defining Lexical Inference Types
The authors propose a framework that categorizes the symbolic logic behind sentence entailment using Abstract Meaning Representation (AMR). By representing sentences as graphs that capture "who is doing what to whom," they identified 11 distinct symbolic patterns of inference. These include:
- Substitution: Replacing arguments (ARG-SUB) or predicates (PRED-SUB).
- Insertion: Adding new information (ARG-INS).
- Conjunction: Joining multiple premises (FRAME-CONJ).
- Logic-based: Handling conditional frames and property inheritance.
These types allow researchers to treat reasoning as a series of steerable structural transformations rather than simple semantic similarity. By labeling these transformations, the logic of a sentence becomes a steerable attribute, much like sentiment or style in other text generation tasks.
The Latent Variable NLI Framework
To implement this symbolic control, the researchers formalized NLI as a conditional latent variable model. They introduced the T5bottleneck architecture, which maps sentences into a low-dimensional latent space. Unlike standard Variational Autoencoders (VAEs), this bottleneck forces the model to learn compressed, meaningful representations of reasoning steps.
Control is achieved by "injecting" the desired inference type (represented by a variable $\pi$) into the model. Experiments demonstrated that injecting this information as a prefix in the encoder yielded the best results, suggesting that the model performs better when the logical objective is established before processing the premises.
Experimental Results
The framework was evaluated using the EntailmentBank dataset, which was manually annotated with the new AMR-based inference types. Key findings include:
- Performance Gains: The T5bottleneck model significantly outperformed standard VAE baselines, achieving a BLEU score of 0.35 on the EntailmentBank test set, compared to 0.08 for the Optimus baseline.
- Steerability: By simply altering the input label (e.g., from "ARG-SUB" to "FRAME-CONJ"), the model could be forced to generate different, logically consistent conclusions from the same premises.
- Retrieval Excellence: The model also excelled in explanatory inference retrieval tasks (finding the right facts to support a claim), outperforming other latent variable baselines across various tree depths in the WorldTree benchmark.
Conclusion and Future Work
This work demonstrates that symbolic steering can provide a path toward more interpretable and controllable NLI. Future research will focus on ensuring "material" (factual) correctness alongside "formal" (logical) structure, expanding to multi-step reasoning chains, and investigating how these symbolic patterns emerge naturally in larger LLMs to improve their inherent interpretability.
Summary updated