Towards Consistent Natural-Language Explanations via Explanation-Consistency Finetuning

Yanda Chen, Chandan Singh, Xiaodong Liu, Simiao Zuo, Bin Yu, He He, Jianfeng Gao

Abstract

Large language models (LLMs) often generate convincing, fluent explanations. However, different from humans, they often generate inconsistent explanations on different inputs. For example, an LLM may explain “all birds can fly” when answering the question “Can sparrows fly?” but meanwhile answer “no” to the related question “Can penguins fly?”. Explanations should be consistent across related examples so that they allow humans to simulate the LLM’s decision process on multiple examples. We propose explanation-consistency finetuning (EC-finetuning), a method that adapts LLMs to generate more consistent natural-language explanations on related examples. EC-finetuning involves finetuning LLMs on synthetic data that is carefully constructed to contain consistent explanations. Across a variety of question-answering datasets in various domains, EC-finetuning yields a 10.0% relative explanation consistency improvement on 4 finetuning datasets, and generalizes to 7 out-of-distribution datasets not seen during finetuning (+4.5% relative).

The Consistency Gap in LLMs

While modern Large Language Models (LLMs) are excellent at providing natural-language explanations for their answers, they suffer from a significant "consistency gap." A model might explain that "all birds can fly" when asked about sparrows, but then correctly answer "no" when asked if penguins can fly. To a human user, this is logically jarring; if the model’s stated internal logic is that "all birds fly," it should conclude that penguins fly, even if that conclusion is factually incorrect.

Example of explanation inconsistency in vanilla LLMs versus the consistency achieved through EC-finetuning.

This inconsistency prevents users from building a reliable "mental model" of how the AI works. If we cannot predict how a model will behave based on its own explanations, those explanations lose their value for interpretability and safety. The goal of this research is to bridge this gap by teaching models to maintain logical coherence across related inputs.

Explanation-Consistency Finetuning (EC-finetuning)

High-quality, consistent explanation datasets are rare. To address this, the researchers developed Explanation-Consistency Finetuning (EC-finetuning), which utilizes a two-step synthetic data generation pipeline:

  1. Follow-up Question Generation: Given an initial question and the model's explanation (e.g., "Hypotension is defined as systolic blood pressure < 90 mmHg"), an LLM (GPT-4) generates follow-up questions that should be answerable using only that explanation (e.g., "Could a patient with 50 mmHg experience myocardial ischaemia?").
  2. Consistent Answering: A second LLM (Claude-2) answers these follow-ups. Crucially, it is instructed to answer in a way that is strictly consistent with the original explanation, even if that explanation contains factual errors.
  3. Finetuning: The target model (LLaMA-2 13B) is then finetuned on these "consistent" question-explanation-answer triples.
The EC-finetuning pipeline for generating consistent synthetic data.

Success is evaluated using explanation consistency (or counterfactual simulatability precision), measuring how often the model’s answers on new questions match what a human would expect given the model's previous explanations.

Experimental Setup and Datasets

The researchers utilized a mix of reasoning and domain-specific datasets to evaluate the method:

  • Finetuning Datasets: StrategyQA (multi-hop reasoning), MedMCQA, and two versions of MedQA (medical diagnosis and facts).
  • Generalization (Unseen) Datasets: To test if the model learned a general "consistency" skill, it was evaluated on seven additional datasets, including BoolQ, Natural Questions (NQ), MS-Marco, OBQA, MMLU-Medical, PubMedQA, and ARC-Easy.
  • Format: All datasets were converted to a shared Yes/No answer format to allow for precise consistency measurement.

Key Results and Insights

The study revealed several critical findings regarding the impact of EC-finetuning:

  • Significant Consistency Gains: EC-finetuning yielded a 10.0% relative improvement in explanation consistency on the training datasets.
  • Generalization to Unseen Tasks: On the seven datasets not seen during training, consistency improved by 4.5%. This indicates that EC-finetuning teaches a meta-skill of logical coherence rather than just memorizing facts.
  • The Accuracy Bonus: Surprisingly, finetuning for consistency also improved raw prediction accuracy—by 5.2% on seen tasks and 4.3% on unseen tasks. This suggests that logical constraints help the model better navigate its internal knowledge and reduce "hallucinated" logic.
  • Precision over Generalization: Analysis showed that EC-finetuning encourages models to generate more precise, specific explanations rather than vague statements that are easier to contradict later.

Conclusion and Future Directions

EC-finetuning demonstrates that logical consistency is not just a desirable trait for interpretability but also a signal for truth that can improve model performance. However, limitations remain. The study focused on models up to 13B parameters; scaling to frontier models like Llama-3 70B+ is a necessary next step. Additionally, while the model behaves more consistently, the internal "logic circuits" being tuned remain an area for future mechanistic interpretability research. Extending this framework to multimodal contexts—where models explain decisions based on visual or auditory data—is also a vital direction for future work.

Summary updated

BibTeX
@inproceedings{chen2025towards,
  author = {Yanda Chen and Chandan Singh and Xiaodong Liu and Simiao Zuo and Bin Yu and He He and Jianfeng Gao},
  title = {{Towards Consistent Natural-Language Explanations via Explanation-Consistency Finetuning}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=pAOtyY68ko},
}
Figure