超越标记的语言模型:通过文本体裁块解释激活
Beyond Tokens in Language Models: Interpreting Activations through Text Genre Chunks
AI总结:
本文提出通过文本体裁块的激活预测来解释语言模型,使用Mistral-7B和两个数据集,达到高达98%的F1分数。
摘要:
理解大型语言模型(LLMs)对于确保其安全和有益的部署至关重要。这项任务的复杂性源于LLM结构的可解释性困难,以及无法对所有输出进行人类评估。在本文中,我们提出了一个预测框架的第一步,其中用于提示LLM的文本的体裁是基于其激活进行预测的。使用Mistral-7B和两个数据集,我们展示了使用scikit-learn分类器,可以达到高达98%和71%的F1分数来提取体裁。在两个数据集中,结果始终优于控制任务,提供了文本体裁可以从LLM中推断的证明概念。
英文摘要:
Understanding Large Language Models (LLMs) is key to ensure their safe and beneficial deployment. This task is complicated by the difficulty of interpretability of LLM structures, and the inability to have all their outputs human-evaluated. In this paper, we present the first step towards a predictive framework, where the genre of a text used to prompt an LLM, is predicted based on its activations. Using Mistral-7B and two datasets, we show that genre can be extracted with F1-scores of up to 98% and 71% using scikit-learn classifiers. Across both datasets, results consistently outperform the control task, providing a proof of concept that text genres can be inferred from LLMs with shallow learning models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。