arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.19297cs.LG
收藏

在混乱中保持清晰:量化表征纠缠以预测LLM编辑中的涟漪效应

CLaRE-ty Amid Chaos: Quantifying Representational Entanglement to Predict Ripple Effects in LLM Editing

National University of Singapore(新加坡国立大学);A*STAR Institute for Infocomm Research (A*STAR I2 R)(新加坡科技研究局资讯通信研究院)

Manit Baser, Alperen Yildiz, Dinil Mon Divakaran, Mohan Gurusamy

AI总结:

本文提出CLaRE技术,通过量化事实间的纠缠关系,识别LLM编辑中的潜在涟漪效应,提升模型编辑的稳定性和效率。

摘要:

大型语言模型(LLM)的静态知识表示不可避免地会随着时间变得过时或错误。尽管模型编辑技术通过修改模型的事实关联提供了有希望的解决方案,但它们往往会产生不可预测的涟漪效应,即意外的行为变化会传播到隐藏空间。在本文中,我们引入了CLaRE,一种轻量级的表征层面技术,用于识别这些涟漪效应可能发生的位置。与以往基于梯度的方法不同,CLaRE利用单个中间层的前向激活来量化事实之间的纠缠,避免了昂贵的反向传递。为了进行系统研究,我们准备并分析了从三个现有数据集中提取的11,427个事实的语料库。使用CLaRE,我们为多个模型计算了该语料库的大规模纠缠图,捕捉了局部编辑如何通过表征空间传播。这些图能够实现更强的保留集、审计追踪、高效的红队测试以及可扩展的后编辑评估。与基线相比,CLaRE在与涟漪效应的Spearman相关性上平均提高了62.2%,并且速度提高了2.74倍,峰值GPU内存使用减少了2.85倍。此外,CLaRE只需要基线所需的存储量的一小部分即可计算和保留事实表示。我们的纠缠图和语料库可在https://github.com/manitbaser/CLaRE上获得。

英文摘要:

The static knowledge representations of large language models (LLMs) inevitably become outdated or incorrect over time. While model-editing techniques offer a promising solution by modifying a model's factual associations, they often produce unpredictable ripple effects, which are unintended behavioral changes that propagate even to the hidden space. In this work, we introduce CLaRE, a lightweight representation-level technique to identify where these ripple effects may occur. Unlike prior gradient-based methods, CLaRE quantifies entanglement between facts using forward activations from a single intermediate layer, avoiding costly backward passes. To enable systematic study, we prepare and analyse a corpus of 11,427 facts drawn from three existing datasets. Using CLaRE, we compute large-scale entanglement graphs of this corpus for multiple models, capturing how local edits propagate through representational space. These graphs enable stronger preservation sets for model editing, audit trails, efficient red-teaming, and scalable post-edit evaluation. In comparison to baselines, CLaRE achieves an average of 62.2% improvement in Spearman correlation with ripple effects while being 2.7x faster, and using 2.85x less peak GPU memory. Besides, CLaRE requires only a fraction of the storage needed by the baselines to compute and preserve fact representations. Our entanglement graphs and corpus are available at https://github.com/manitbaser/CLaRE.

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

↑