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

大型语言模型表示工程的分类、机遇与挑战

Taxonomy, Opportunities, and Challenges of Representation Engineering for Large Language Models

CISPA Helmholtz Center for Information Security(CISPA赫尔姆霍茨信息安全中心);Microsoft(微软);University College London(伦敦大学学院);Mila, University of Montreal(蒙特利尔大学Mila)

Jan Wehner, Sahar Abdelnabi, Daniel Tan, David Krueger, Mario Fritz

AI总结:

本文首次全面综述大型语言模型的表示工程(RepE),提出统一框架,分析其方法、应用、优劣及挑战,并给出改进机遇与最佳实践。

摘要:

表示工程(RepE)是一种控制大型语言模型行为的新范式。与传统方法修改输入或微调模型不同,RepE直接操纵模型的内部表示。因此,它可能对模型行为提供更有效、可解释、数据高效且灵活的控制。我们首次对大型语言模型的RepE进行了全面综述,回顾了快速增长的文献,以解决关键问题:存在哪些RepE方法,它们有何不同?RepE已应用于哪些概念和问题?与其他方法相比,RepE的优势和劣势是什么?为回答这些问题,我们提出了一个统一框架,将RepE描述为包含表示识别、操作化和控制的流水线。我们认为,尽管RepE方法具有巨大潜力,但仍存在挑战,包括管理多个概念、确保可靠性以及保持模型性能。为改进RepE,我们识别了实验和方法改进的机遇,并构建了最佳实践指南。

英文摘要:

Representation Engineering (RepE) is a novel paradigm for controlling the behavior of LLMs. Unlike traditional approaches that modify inputs or fine-tune the model, RepE directly manipulates the model's internal representations. As a result, it may offer more effective, interpretable, data-efficient, and flexible control over models' behavior. We present the first comprehensive survey of RepE for LLMs, reviewing the rapidly growing literature to address key questions: What RepE methods exist and how do they differ? For what concepts and problems has RepE been applied? What are the strengths and weaknesses of RepE compared to other methods? To answer these, we propose a unified framework describing RepE as a pipeline comprising representation identification, operationalization, and control. We posit that while RepE methods offer significant potential, challenges remain, including managing multiple concepts, ensuring reliability, and preserving models' performance. Towards improving RepE, we identify opportunities for experimental and methodological improvements and construct a guide for best practices.

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

↑