arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.02224cs.CL
收藏

从XAI到故事:对LLM生成解释质量的因子研究

From XAI to Stories: A Factorial Study of LLM-Generated Explanation Quality

University of Göttingen(哥廷根大学);BASF SE(巴斯夫股份有限公司);TU Clausthal(Clausthal 技术大学);Hochschule Bielefeld(比勒菲尔德应用科学大学)

Fabian Lukassen, Jan Herrmann, Christoph Weisser, Benjamin Saefken, Thomas Kneib

AI总结:

本文通过因子研究探讨了预测模型选择、XAI方法、LLM选择和提示策略对LLM生成解释质量的影响,发现LLM选择主导其他因素,且零次提示在成本上具有竞争力。

摘要:

可解释人工智能(XAI)方法如SHAP和LIME生成的数值特征归因仍无法被非专家用户理解。先前研究表明,大型语言模型(LLMs)可以将这些输出转化为自然语言解释(NLEs),但尚不清楚哪些因素有助于高质量的解释。本文提出了一项系统性的因子研究,探讨了预测模型选择、XAI方法、LLM选择和提示策略对NLE质量的影响。我们的设计涵盖了四个模型(XGBoost(XGB)、随机森林(RF)、多层感知机(MLP)和SARIMAX—比较黑盒机器学习(ML)与经典时间序列方法)、三种XAI条件(SHAP、LIME和无XAI基线)、三种LLM(GPT-4o、Llama-3-8B、DeepSeek-R1)和八种提示策略。使用G-Eval,一种LLM作为评判方法,通过双LLM评判者和四个评估标准,我们评估了660个时间序列预测的解释。我们的结果表明:(1)XAI仅在专家受众中对无XAI基线有小幅提升;(2)LLM选择主导所有其他因素,DeepSeek-R1优于GPT-4o和Llama-3;(3)我们观察到可解释性悖论:在我们的设置中,SARIMAX的NLE质量低于ML模型,尽管预测准确性更高;(4)零次提示在成本上比自一致性具有竞争力;(5)推理链有害而非有益。

英文摘要:

Explainable AI (XAI) methods like SHAP and LIME produce numerical feature attributions that remain inaccessible to non expert users. Prior work has shown that Large Language Models (LLMs) can transform these outputs into natural language explanations (NLEs), but it remains unclear which factors contribute to high-quality explanations. We present a systematic factorial study investigating how Forecasting model choice, XAI method, LLM selection, and prompting strategy affect NLE quality. Our design spans four models (XGBoost (XGB), Random Forest (RF), Multilayer Perceptron (MLP), and SARIMAX - comparing black-box Machine-Learning (ML) against classical time-series approaches), three XAI conditions (SHAP, LIME, and a no-XAI baseline), three LLMs (GPT-4o, Llama-3-8B, DeepSeek-R1), and eight prompting strategies. Using G-Eval, an LLM-as-a-judge evaluation method, with dual LLM judges and four evaluation criteria, we evaluate 660 explanations for time-series forecasting. Our results suggest that: (1) XAI provides only small improvements over no-XAI baselines, and only for expert audiences; (2) LLM choice dominates all other factors, with DeepSeek-R1 outperforming GPT-4o and Llama-3; (3) we observe an interpretability paradox: in our setting, SARIMAX yielded lower NLE quality than ML models despite higher prediction accuracy; (4) zero-shot prompting is competitive with self-consistency at 7-times lower cost; and (5) chain-of-thought hurts rather than helps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑