面向大语言模型引导的黑盒文本分类器因果可解释性研究
Towards LLM-guided Causal Explainability for Black-box Text Classifiers
AI总结:
针对NLP黑盒文本分类器因果可解释性实现难的问题,本研究提出利用LLM的指令遵循与文本理解能力,通过三步流水线生成反事实解释,实验验证了该方法的可行性与前景。
摘要:
随着自然语言处理(NLP)等领域中更大、更复杂的深度学习模型的出现,可解释性与可诠释性这类虽备受期待的模型特性,正变得愈发难以应对和解决。例如,文本分类领域的前沿模型在设计上就是黑盒的。尽管标准解释方法能提供一定程度的可解释性,但这些方法大多基于相关性,无法为模型的内在逻辑提供太多洞见。因果可解释性作为替代方案更具应用价值,但由于多种原因,在NLP领域实现起来极具挑战性。受近期将大语言模型(LLMs)用作专家的相关研究启发,本研究旨在利用前沿LLMs的指令遵循与文本理解能力,通过为黑盒文本分类器生成反事实解释来推进因果可解释性的实现。为此,我们提出了一个三步流水线框架,借助现成的LLM完成以下操作:(1)识别输入文本中的潜在或未观测特征;(2)识别与潜在特征相关联的输入特征;最后(3)利用识别出的输入特征生成反事实解释。我们在多个NLP文本分类数据集上,结合数种近期的LLM对该流水线开展了实验,并呈现了兼具启发性与应用前景的研究发现。
英文摘要:
With the advent of larger and more complex deep learning models, such as in Natural Language Processing (NLP), model qualities like explainability and interpretability, albeit highly desirable, are becoming harder challenges to tackle and solve. For example, state-of-the-art models in text classification are black-box by design. Although standard explanation methods provide some degree of explainability, these are mostly correlation-based methods and do not provide much insight into the model. The alternative of causal explainability is more desirable to achieve but extremely challenging in NLP due to a variety of reasons. Inspired by recent endeavors to utilize Large Language Models (LLMs) as experts, in this work, we aim to leverage the instruction-following and textual understanding capabilities of recent state-of-the-art LLMs to facilitate causal explainability via counterfactual explanation generation for black-box text classifiers. To do this, we propose a three-step pipeline via which, we use an off-the-shelf LLM to: (1) identify the latent or unobserved features in the input text, (2) identify the input features associated with the latent features, and finally (3) use the identified input features to generate a counterfactual explanation. We experiment with our pipeline on multiple NLP text classification datasets, with several recent LLMs, and present interesting and promising findings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。