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

AnyEdit++: 基于贝叶斯惊讶的自适应长文本知识编辑

AnyEdit++: Adaptive Long-Form Knowledge Editing via Bayesian Surprise

University of Science and Technology of China(中国科学技术大学)

Bowen Tian, Caixue He, Jiemin Wu, Jingying Wang, Wenshuo Chen, Zexi Li, Yutao Yue

AI总结:

提出AnyEdit++框架,通过基于贝叶斯惊讶的自适应分割机制Bayes-Chunk,实现结构感知的长文本知识编辑,在数学推理、代码生成和叙事任务上优于现有方法。

摘要:

在大语言模型中编辑复杂的长文本知识仍然是一个重大挑战,因为难以保持生成的连贯性。现有的自回归方法(如AnyEdit)缓解了长度限制,但依赖于固定窗口分块,忽略了逻辑结构并损害了一致性。为了解决这个问题,我们提出了AnyEdit++,一个结构感知的框架,其中包含Bayes-Chunk,这是一种基于贝叶斯惊讶动态识别语义边界的自适应分割机制。我们通过一个理论框架支撑这种方法,确立了三个关键原则:(1)结构独立性:我们证明了当锚键在几何上正交时(我们的基于惊讶度的边界自然满足这一条件,而固定窗口则违反),跨段干扰最小化;(2)因果局部性:我们证明了在这些语义峰值处注入的更新相比任意分割点具有严格更优的控制。在数学推理、代码生成和叙事任务上的大量实验表明,AnyEdit++相比最先进的基线取得了更优的性能和鲁棒性,验证了结构感知对于有效的长文本知识编辑至关重要。

英文摘要:

Editing complex, long-form knowledge in Large Language Models remains a significant challenge due to the difficulty of maintaining generation coherence. Existing autoregressive methods like AnyEdit alleviate length constraints but rely on Fixed-window Chunking, which disregards logical structure and compromises consistency. To address this, we present AnyEdit++, a structure-aware framework incorporating Bayes-Chunk, an adaptive segmentation mechanism that dynamically identifies semantic boundaries based on Bayesian Surprise. We underpin this approach with a theoretical framework establishing two key principles: (1) Structural Independence: we prove that cross-segment interference is minimized when anchor keys are geometrically orthogonal (a condition naturally satisfied by our surprisal-based boundaries but violated by fixed windows), and (2) Causal Locality: we demonstrate that updates injected at these semantic peaks yield strictly superior control compared to arbitrary split points. Extensive experiments across mathematical reasoning, code generation, and narrative tasks demonstrate that AnyEdit++ achieves superior performance and robustness compared to state-of-the-art baselines, validating that structural awareness is critical for effective long-form knowledge editing.

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

↑