GainCtrl:预测剩余增益以优化LLM Agent执行效率
GainCtrl: Predicting Remaining Gains for Efficient LLM Agent Execution
GainCtrl是一种基于增益的LLM Agent执行控制器,通过轻量级CPU预测器利用交互历史估计相对保留分数的预期正增益,并以校准阈值指导停止决策,从而在保持Best-of-N任务质量的同时降低执行成本。在三个环境和三个LLM执行者的轨迹回放评估中,GainCtrl在匹配目标质量下通常比基线使用更少token,预测器单CPU线程毫秒级延迟即可运行,无需访问LLM内部。
arXiv:2611.20736v1 Announce Type: new Abstract: Large language models (LLMs) are widely used to power agents that interact with tools and environments to solve complex tasks. Repeated attempts improve the quality of tool-using agents, but continued execution incurs additional costs even when it is unlikely to improve the best result ultimately returned. This raises the question of when to stop an attempt to reduce execution cost while preserving task-level Best-of-N quality. To address this question, we introduce GainCtrl, a gain-based execution controller for LLMs. In GainCtrl, a lightweight CPU predictor uses interaction histories to estimate expected positive gains over retained scores, which are then used to guide stopping decisions with calibrated thresholds to limit the loss in mean Best-of-N task quality. We evaluate the controller through trajectory replay across three environments and three LLM actors. Comparisons of interpolated quality-cost Pareto frontiers show that GainCtrl generally uses fewer tokens than baselines at matched target quality. Fixed policies also achieve quality close to that of full execution while substantially reducing token consumption. The predictor runs at millisecond latency on a single CPU thread, supporting repeated monitoring without access to LLM internals.
来源:arXiv (AI + Vision + Imaging) · arxiv.org