TY - GEN
T1 - Self-Explanation-Augmented Generation for Natural Language Inference
AU - Wang, Zijian
AU - Li, Zongxi
AU - Hung, Kevin
AU - Wang, Weiming
AU - Au Yeung, Siu Kei
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2025.
PY - 2025
Y1 - 2025
N2 - Natural language inference (NLI) serves as a core downstream task for evaluating a model’s reasoning capabilities, and large language models (LLMs) have shown remarkable performance across such tasks. However, existing approaches often repurpose LLMs as feature extractors with discriminative classification heads, overlooking their inherently generative and autoregressive nature. To address this issue, we propose Self-Explanation-Augmented Generation (SEAG), a novel framework that reformulates NLI as a generative task to better align with the pretraining objectives of decoder-only LLMs. SEAG consists of two key components: (1) Generative Label Prediction, which prompts the model to directly generate textual labels as natural language tokens, and (2) Explanation-Augmented Attention, which introduces trainable [Exp] tokens that guide the model to construct internal reasoning pathways. This design activates the LLM’s latent reasoning capacity while improving interpretability. Evaluated on the SNLI dataset, SEAG outperforms two baselines, including the Bert-base and Llama-3.2-3B-Instruct variants. Extensive ablation studies confirm that both the generative label prediction and explanation-augmented attention are crucial to performance gains. Our results underscore the potential of generative approaches to not only match but surpass traditional classification strategies by embracing the intrinsic strengths of LLMs.
AB - Natural language inference (NLI) serves as a core downstream task for evaluating a model’s reasoning capabilities, and large language models (LLMs) have shown remarkable performance across such tasks. However, existing approaches often repurpose LLMs as feature extractors with discriminative classification heads, overlooking their inherently generative and autoregressive nature. To address this issue, we propose Self-Explanation-Augmented Generation (SEAG), a novel framework that reformulates NLI as a generative task to better align with the pretraining objectives of decoder-only LLMs. SEAG consists of two key components: (1) Generative Label Prediction, which prompts the model to directly generate textual labels as natural language tokens, and (2) Explanation-Augmented Attention, which introduces trainable [Exp] tokens that guide the model to construct internal reasoning pathways. This design activates the LLM’s latent reasoning capacity while improving interpretability. Evaluated on the SNLI dataset, SEAG outperforms two baselines, including the Bert-base and Llama-3.2-3B-Instruct variants. Extensive ablation studies confirm that both the generative label prediction and explanation-augmented attention are crucial to performance gains. Our results underscore the potential of generative approaches to not only match but surpass traditional classification strategies by embracing the intrinsic strengths of LLMs.
KW - Explainable AI
KW - Generative Language Models
KW - LLM
KW - Natural Language Inference
UR - https://www.scopus.com/pages/publications/105022745335
U2 - 10.1007/978-981-95-3739-6_7
DO - 10.1007/978-981-95-3739-6_7
M3 - Conference contribution
AN - SCOPUS:105022745335
SN - 9789819537389
T3 - Communications in Computer and Information Science
SP - 88
EP - 99
BT - Neural Computing for Advanced Applications - 6th International Conference, NCAA 2025, Proceedings
A2 - Zhang, Haijun
A2 - Tsang, Kim Fung
A2 - Wang, Fu Lee
A2 - Hung, Kevin
A2 - Hao, Tianyong
A2 - Wang, Zenghui
A2 - Wu, Zhou
A2 - Zhang, Zhao
T2 - 6th International Conference on Neural Computing for Advanced Applications, NCAA 2025
Y2 - 4 July 2025 through 6 July 2025
ER -