提出SE-Bench评测框架,测试智能体如何内化新知识以实现真正自我进化。
SE-Bench: Benchmarking Self-Evolution with Knowledge Internalization
- 用随机命名的伪库模拟新知识,强制模型将知识压缩进参数中
- 发现闭卷训练才能有效内化知识,开卷反而抑制记忆保留
- 自对弈+微调可实现知识内化,但标准强化学习效果不佳
真正的自我进化要求智能体作为终身学习者,将新经验内化以解决未来问题。然而,严格衡量这一基础能力面临两大障碍:先验知识混淆(新知识可能已存在于预训练数据中)和推理复杂度混淆(失败可能源于题目难度而非知识遗忘)。我们提出SE-Bench,一个诊断环境,将NumPy库及其API文档伪装成带有随机标识符的伪新包。智能体在无文档条件下训练并评估其对简单编码任务的解决能力,形成清晰设定:有文档时任务简单,无文档则基础模型无法完成。研究揭示三个关键发现:(1) 开卷悖论——使用参考文档训练会抑制知识保留,必须采用闭卷训练迫使知识压缩进权重;(2) 强化学习差距——标准RL因PPO裁剪和负梯度无法完全内化新知识;(3) 自对弈可行性——当结合监督微调时,模型可通过自生成的嘈杂任务实现知识内化,但纯强化学习无效。SE-Bench为知识内化的自我进化提供了严谨诊断平台。代码与数据集见https://github.com/thunlp/SE-Bench。
原文摘要 · Abstract (English)
True self-evolution requires agents to act as lifelong learners that internalize novel experiences to solve future problems. However, rigorously measuring this foundational capability is hindered by two obstacles: the entanglement of prior knowledge, where ``new'' knowledge may appear in pre-training data, and the entanglement of reasoning complexity, where failures may stem from problem difficulty rather than an inability to recall learned knowledge. We introduce SE-Bench, a diagnostic environment that obfuscates the NumPy library and its API doc into a pseudo-novel package with randomized identifiers. Agents are trained to internalize this package and evaluated on simple coding tasks without access to documentation, yielding a clean setting where tasks are trivial with the new API doc but impossible for base models without it. Our investigation reveals three insights: (1) the Open-Book Paradox, where training with reference documentation inhibits retention, requiring "Closed-Book Training" to force knowledge compression into weights; (2) the RL Gap, where standard RL fails to internalize new knowledge completely due to PPO clipping and negative gradients; and (3) the viability of Self-Play for internalization, proving models can learn from self-generated, noisy tasks when coupled with SFT, but not RL. Overall, SE-Bench establishes a rigorous diagnostic platform for self-evolution with knowledge internalization. Our code and dataset can be found at https://github.com/thunlp/SE-Bench.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。