ChatGraph:通过将ChatGPT知识转换为图实现可解释的文本分类
ChatGraph: Interpretable Text Classification by Converting ChatGPT Knowledge to Graphs
AI总结:
本文提出ChatGraph框架,利用ChatGPT从原始文本中抽取结构化知识并构建图,再训练可解释线性分类器,在提升文本分类性能的同时增强决策过程的可解释性。
摘要:
ChatGPT作为近期推出的大语言模型(LLM),已在多种自然语言处理(NLP)任务中展现出优越性能。然而,两大主要局限阻碍了其潜在应用:(1)在下游任务上微调缺乏灵活性;(2)决策过程缺乏可解释性。为应对这些局限,我们提出了一种新颖的框架,利用ChatGPT的能力完成文本分类等特定任务,同时提升其可解释性。该框架执行知识图谱抽取任务,借助ChatGPT从原始数据中提取精炼且结构化的知识。随后,这些丰富知识被转换为图,并进一步用于训练可解释的线性分类器以进行预测。为评估所提方法的有效性,我们在四个数据集上进行了实验。结果表明,与直接利用ChatGPT进行文本分类任务相比,我们的方法能够显著提升性能。并且,与以往的文本分类方法相比,我们的方法提供了更加透明的决策过程。
英文摘要:
ChatGPT, as a recently launched large language model (LLM), has shown superior performance in various natural language processing (NLP) tasks. However, two major limitations hinder its potential applications: (1) the inflexibility of finetuning on downstream tasks and (2) the lack of interpretability in the decision-making process. To tackle these limitations, we propose a novel framework that leverages the power of ChatGPT for specific tasks, such as text classification, while improving its interpretability. The proposed framework conducts a knowledge graph extraction task to extract refined and structural knowledge from the raw data using ChatGPT. The rich knowledge is then converted into a graph, which is further used to train an interpretable linear classifier to make predictions. To evaluate the effectiveness of our proposed method, we conduct experiments on four datasets. The result shows that our method can significantly improve the performance compared to directly utilizing ChatGPT for text classification tasks. And our method provides a more transparent decision-making process compared with previous text classification methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。