Introduction
In the quest for explainable artificial intelligence (XAI), providing a correct answer to a complex question is only half the battle. For a model to be truly trustworthy, it must provide a transparent and logically sound explanation of its reasoning process. Entailment trees have emerged as a gold standard for this purpose, representing a step-by-step derivation from a set of known facts to a final hypothesis.
However, current state-of-the-art approaches, such as EntailmentWriter, typically rely on monolithic, end-to-end generative models. While these models are capable of producing human-like text, they often suffer from "hallucinations"—generating logical steps that appear plausible but are factually or logically invalid. These models lack an explicit mechanism to ensure that each link in the reasoning chain is sound. To address these limitations, we present METGEN (Module-based Entailment Tree GENeration), a framework that treats reasoning as an iterative, modular search process.
The METGEN Architecture
METGEN departs from the end-to-end paradigm by decomposing the reasoning task into two distinct components: specialized entailment modules and a central reasoning controller.
1. Specialized Entailment Modules
Instead of a single model attempting to learn all forms of logic simultaneously, METGEN utilizes a library of "mini-reasoners" based on the T5-large architecture. Each module is fine-tuned to perform a specific logical operation:
- Substitution: Replacing an entity with a related concept (e.g., "A is a B" and "B has property C" implies "A has property C").
- Conjunction: Synthesizing two related facts into a single, more informative statement.
- If-Then: Applying conditional rules to existing premises.
A unique feature of METGEN is the inclusion of both deductive (forward-moving) and abductive (backward-moving) modules. While deductive modules generate conclusions from premises, abductive modules work backward from a goal to identify the necessary missing link. This dual-directional approach allows the model to "bridge the gap" between available facts and the target hypothesis more effectively.
2. The Reasoning Controller
The reasoning process is orchestrated by an ALBERT-based controller. In each step of the tree generation, the controller:
- Scores the relevance of available facts.
- Identifies the most promising pair of facts to combine.
- Evaluates the resulting state to guide a beam search, ensuring the most logical paths are prioritized.
Training and Data Efficiency
To instill a robust sense of logic, the entailment modules are first pre-trained on synthetic data (ParaPattern) designed to highlight pure logical regularities. This pre-training allows the modules to learn the "mechanics" of reasoning before being exposed to the nuances of real-world science questions in the EntailmentBank dataset.
This structured approach yields significant benefits in data-scarce environments. When trained on only 1% of available data, METGEN maintains a much higher performance level than its end-to-end counterparts, demonstrating that modularity and logical pre-training provide a stronger inductive bias than scale alone.
Performance and Results
METGEN was evaluated against the EntailmentBank benchmark and tested for generalization on the eQASC and eOBQA datasets.
- Superior Accuracy: METGEN outperformed previous state-of-the-art models by absolute margins of 1.4% to 5.7% on the "Overall AllCorrect" metric, which requires the entire tree structure and all intermediate steps to be correct.
- Parameter Efficiency: Remarkably, METGEN achieved these results using only 9% of the parameters (approx. 1/11th the size) of the largest baseline models, such as the 11-billion parameter EntailmentWriter.
- Logical Validity: Human evaluation confirmed the reliability of the modular approach. In a manual review of 100 reasoning steps, METGEN’s conclusions were rated as logically valid 70% of the time, a significant improvement over the 38% validity rate of the baseline. Furthermore, "missing premise" errors—where a model skips a necessary logical step—dropped from 17% to just 2%.
Conclusion and Future Work
METGEN demonstrates that structured, modular reasoning is a more effective path toward explainable AI than simply increasing model scale. By breaking down complex reasoning into discrete, verifiable steps, METGEN produces explanations that are not only more accurate but also more trustworthy for human users.
Despite these gains, challenges remain. METGEN’s performance declines as tree depth increases, particularly for trees requiring more than eight steps. Future work will focus on expanding the library of logical modules to include operations like negation and quantification, as well as developing more sophisticated "logic-aware" evaluation metrics to better capture the nuances of valid reasoning chains.
Summary updated