AI学用终端:数据少而精,效果反超大模型
训练AI操作终端(命令行)一直缺好数据:要么指令模糊,要么测试太简单。这篇论文造了一个“精炼工厂”:先按技能维度(领域、类型、难度)组合出候选任务,再查真实技术文档验证可行性,最后在Docker环境里跑通并过滤掉三分之二不合格的。最终只留下6000条高质量轨迹,用这个数据集微调一个32B参数的模型,在终端操作测试上超过了多个大10倍的模型。它不是你明天能用上的,但说明了一个趋势:AI训练中,数据的“纯度”比“数量”更重要。
📄 原文摘要(英文)
While recent LLM-based terminal agents have demonstrated promising capabilities, the scarcity of high-quality, executable training data remains a critical bottleneck. Existing synthesis pipelines typically scale by retrofitting surface-level artifacts into tasks, frequently yielding ambiguous instructions, shallow execution paths, and brittle tests that provide weak learning signals. To overcome this, we introduce CLI-Universe, a principled synthesis engine that constructs terminal-agent tasks. CLI-Universe generates candidate tasks by sampling combinations across a multi-dimensional capability taxonomy (domain, skill type, capability, and engineering pillar), then grounds each candidate through evidence-guided deep research over real-world technical materials. To ensure rigorous supervision, validated blueprints are instantiated into Dockerized environments and subjected to a multi-stage executable verification pipeline featuring rubric-gated test construction, hint-conditional filtering, and strict fail-to-pass checking. Across the full pipeline, from candidate generation to verification, approximately two-thirds of candidates are discarded, retaining only those that are genuine, verifiable, and non-trivially challenging. To validate our framework, we instantiate a highly distilled dataset of 6,000 trajectories called CLI-Universe-6K. Remarkably, fine-tuning Qwen3-32B on CLI-Universe-6K achieves 33.4% on Terminal-Bench 2.0. This sets a new state-of-the-art for models trained on open-source data at or below 32B parameters, and outperforms several models an order of magnitude larger, demonstrating the profound data efficiency of structured, high-fidelity synthesis.