Are Training Resources Insufficient? Predict First Then Explain!

Myeongjun Jang, Thomas LukasiewiczarXiv 2021

Abstract

Natural language free-text explanation generation is an efficient approach to train explainable language processing models for commonsense-knowledge-requiring tasks. The most predominant form of these models is the explain-then-predict (EtP) structure, which first generates explanations and uses them for making decisions. The performance of EtP models is highly dependent on that of the explainer by the nature of their structure. Therefore, large-sized explanation data are required to train a good explainer model. However, annotating explanations is expensive. Also, recent works reveal that free-text explanations might not convey sufficient information for decision making. These facts cast doubts on the effectiveness of EtP models. In this paper, we argue that the predict-then-explain (PtE) architecture is a more efficient approach in terms of the modelling perspective. Our main contribution is twofold. First, we show that the PtE structure is the most data-efficient approach when explanation data are lacking. Second, we reveal that the PtE structure is always more training-efficient than the EtP structure. We also provide experimental results that confirm the theoretical advantages.

Introduction

In the pursuit of explainable AI (XAI), free-text explanations have emerged as a powerful tool for making model reasoning transparent. The dominant paradigm has been the Explain-then-Predict (EtP) model, where a rationale is generated first to guide the final prediction. However, this approach faces significant challenges: high annotation costs for explanations, potential information bottlenecks in generated text, and "exposure bias," where the predictor relies on ground-truth explanations during training but fails when faced with imperfect generated text at inference.

This paper proposes flipping this paradigm to a Predict-then-Explain (PtE) architecture. By predicting the label first, the model can leverage vast amounts of labeled data without explanations and avoid the pitfalls of relying on intermediate generated text for decision-making.

Methodology

The authors compare three primary architectures using the T5 (Text-to-Text Transfer Transformer) backbone:

  1. Joint Model: Simultaneously generates the label and the explanation.
  2. Explain-then-Predict (EtP): Decomposes the task into $p(e|x)$ followed by $p(y|x, e)$.
  3. Predict-then-Explain (PtE): Decomposes the task into $p(y|x)$ followed by $p(e|x, y)$.
Comparison of Joint, Predict-then-Explain (PtE), and Explain-then-Predict (EtP) model architectures.

The PtE model's strength lies in its mathematical decomposition. Since the prediction $p(y|x)$ is independent of the explanation, the predictor can be trained on large datasets lacking human-written rationales. The explainer $p(e|x, y)$ is then fine-tuned on the smaller subset of data that includes explanations.

Experimental Setup

The models were evaluated on two benchmarks for commonsense reasoning:

  • e-SNLI: A Natural Language Inference dataset with human-written justifications.
  • CosE (v1.0 and v1.11): Commonsense Explanations for the CommonsenseQA benchmark.

To evaluate data efficiency, the authors simulated low-resource settings by training on only 10% and 30% of the available explanation data.

Results and Discussion

Data and Training Efficiency

PtE demonstrated superior performance in data-scarce environments. On e-SNLI with only 10% explanation data, PtE achieved 91.16% accuracy, significantly outperforming EtP (84.26%) and the Joint model (87.76%). Furthermore, PtE proved more training-efficient, reaching higher accuracy without the complex multi-stage pipelines often required for EtP.

Explanation Quality and Faithfulness

Across 40 experimental setups, PtE produced higher-quality explanations (measured by BLEU and METEOR) in 75% of cases. A "recovery ratio" test also indicated that PtE explanations are more "faithful" to the predicted label. Unlike EtP, which may generate generic text, PtE's label-conditioned explanations ($p(e|x, y)$) are specifically tailored to justify the chosen outcome.

Addressing Exposure Bias

A key advantage of PtE is bypassing the "exposure bias trap." In EtP, the predictor is trained on perfect human explanations but must operate on noisy generated text during testing. PtE avoids this by ensuring the predictor only relies on the original input, making the system more robust.

Conclusion

The Predict-then-Explain architecture offers a more data-efficient and robust alternative to the standard Explain-then-Predict model. While PtE significantly improves performance and explanation quality, future work is needed to address spurious correlations and integrate structured commonsense knowledge graphs to further ground the generated rationales.

Summary updated

BibTeX
@misc{jang2021are,
  author = {Myeongjun Jang and Thomas Lukasiewicz},
  title = {{Are Training Resources Insufficient? Predict First Then Explain!}},
  year = {2021},
  eprint = {2110.02056},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.02056},
}
Figure