AutoCompact
收藏资源简介:
AutoCompact数据集包含在SWE-rebench上收集的1,052个由评判者指导的、基于策略的SFT示例,用于训练模型何时压缩上下文、保留什么以及如何从压缩状态继续。
The AutoCompact Dataset contains 1,052 judge-guided, policy-based supervised fine-tuning (SFT) examples collected on the SWE-rebench benchmark, which are designed to train models to determine when to compress context, what information to retain, and how to resume from the compressed state.
AutoCompact 数据集概述
AutoCompact 是一个用于训练长时程编码智能体在上下文中进行压缩决策的数据集,其核心思想是教会智能体何时压缩上下文、保留哪些内容、以及如何从压缩状态继续执行。
数据集内容
- 规模:包含 1,052 条 基于评委引导(judge-guided)、在线策略(on-policy)的监督微调(SFT)示例。
- 来源:数据收集自 SWE-rebench 平台。
- 记录内容:每条数据记录了评委如何评估并在必要时修订基础模型的三类输出:
- 提出的动作(proposed action)
- 压缩摘要(compact summary)
- 压缩后的继续执行内容(post-compaction continuation)
数据用途
这些示例旨在训练模型将嘈杂的完整轨迹替换为紧凑的 # Auto Context Summary,该摘要需保留:
- 任务目标
- 当前工作区状态
- 未解决的问题
- 继续执行所需的信息
发布计划
- 数据集文件
- 模式(schema)与字段定义
- 任务来源及预处理说明
- 加载与使用示例
- 许可证与使用条款
引用信息
bibtex @misc{zhang2026autocompact, title = {AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents}, author = {Zhang, Xuan and Zheng, Longtao and Du, Cunxiao and An, Bo and Dong, Xin}, year = {2026}, url = {https://autocompact.github.io/} }
许可证
数据集的许可证和使用条款将随数据集发布时一并公布。




