arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.01644cs.CLcs.AI
收藏

用于可解释文本分类的基于概念的连续提示

Concept Based Continuous Prompts for Interpretable Text Classification

School of Computer Science and Technology, East China Normal University(华东师范大学计算机科学与技术学院);NPPA Key Laboratory of Publishing Integration Development, ECNUP(华东师范大学NPPA出版融合发展重点实验室)

Qian Chen, Dongyang Li, Xiaofeng He

AI总结:

本文提出基于概念瓶颈的连续提示解释框架,通过矩阵分解、GPT-4o概念池和子模优化选取可读概念,在保持文本分类性能的同时增强可解释性。

摘要:

连续提示已被广泛用于提升一系列自然语言任务的性能。然而,这种提升背后的机制仍不明确。以往研究依赖单个词来解释连续提示,缺乏全面的语义理解。受 Concept Bottleneck Models(概念瓶颈模型)启发,我们提出一个通过将连续提示分解为人类可读概念来解释连续提示的框架。具体而言,为确保分解的可行性,我们证明总能找到相应的概念嵌入矩阵和系数矩阵来替代提示嵌入矩阵。随后,我们使用 GPT-4o 生成概念池,并采用一种新颖的子模优化算法选择具有区分性和代表性的潜在候选概念。实验表明,我们的框架仅使用少量概念即可取得与原始 P-tuning 和基于词的方法相近的结果,同时提供更合理的解释。代码位于 https://github.com/qq31415926/CD。

英文摘要:

Continuous prompts have become widely adopted for augmenting performance across a wide range of natural language tasks. However, the underlying mechanism of this enhancement remains obscure. Previous studies rely on individual words for interpreting continuous prompts, which lacks comprehensive semantic understanding. Drawing inspiration from Concept Bottleneck Models, we propose a framework for interpreting continuous prompts by decomposing them into human-readable concepts. Specifically, to ensure the feasibility of the decomposition, we demonstrate that a corresponding concept embedding matrix and a coefficient matrix can always be found to replace the prompt embedding matrix. Then, we employ GPT-4o to generate a concept pool and choose potential candidate concepts that are discriminative and representative using a novel submodular optimization algorithm. Experiments demonstrate that our framework can achieve similar results as the original P-tuning and word-based approaches using only a few concepts while providing more plausible results. Our code is available at https://github.com/qq31415926/CD.

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

↑