快速思考,随处可用:一个系统1适用于任何智能体工作流的决策点
研究论文 · 2026/11/19
AnyS1 框架将人类编写的流程技能转化为共享的决策点来源,离线挖掘超过1000个公共技能中的可枚举决策,并在隔离容器中收集执行轨迹状态构建 Any-DP,训练一个校准的4B指针式System-1模型。运行时,编译后的工作流在一次前向传播中解决常规决策,当置信度低于校准阈值时回退到System-2。在三个未见基准和不同的System-2模型家族上,AnyS1 保持任务可靠性,同时将单次任务成本降低75-91%,模型调用时间减少63-92%,并在零样本阈值迁移下保持性能。
该工作显著降低了LLM智能体的成本和延迟,同时保持任务可靠性,且方法具有领域通用性,无需针对每个环境定制,为高效部署自主智能体提供了实用方案。
Autonomous LLM agents incur substantial cost and latency by invoking a large model (System-2) at every step, even when many intermediate actions choose among a small set of known candidates. Existing dual-system agents offload such decisions to a lightweight System-1 model, but rely on workflow-specific hooks authored per environment. We present AnyS1, a framework that turns human-authored procedural skills, whose instructions naturally specify where choices arise and which options apply, into a shared, domain-general source of decision points. Offline, AnyS1 mines grounded enumerable decisions across over 1,000 public skills, gathers execution-grounded trajectory states inside isolated containers to construct Any-DP, and trains a single calibrated 4B pointer System-1 with label smoothing. At run time, compiled workflows resolve routine decisions in one forward pass and fall back to System-2 when confidence falls below a calibrated threshold. Across three unseen benchmarks and distinct System-2 model families, AnyS1 preserves task reliability while cutting episode cost by 75-91% and model-call time by 63-92% relative to an uncompiled System-2 agent, and maintains performance under zero-shot threshold transfer.