跳到正文
arXiv (AI + Vision + Imaging)· Ran Guan, Yiqi Lin, Xiangxi Tian, Yige Luo, Mi Zhou·· 1 天前AI 评分22

智能体框架中的语言模型层级执行控制方案

Layer-Level Control of Language Model Execution in Agent Frameworks

AI 导读

研究提出一种harness设计,将模型中间状态与层级执行控制暴露给智能体运行时,使策略可依据中间状态在模型内部及模型间分配计算。原型从成对模型状态中学习stitching桥接与状态条件执行策略,推理时在continue、exit、stitch间选择,并在5000条typed-decision代理语料上训练。在JevBench上初步结果显示平均延迟降低约15%,任务准确率与全模型推理相当。

正文 · 原文

arXiv:2611.29519v1 Announce Type: new Abstract: Agent frameworks typically orchestrate language models through prompt-and-response interfaces. We propose a harness design that exposes intermediate model states and layer-level execution controls to the agent runtime. By connecting state collection, policy fitting, and execution, the design enables policies to allocate computation within and across models based on intermediate states. We demonstrate the approach with a prototype that learns stitching bridges and state-conditioned execution policies from paired model states, then applies them during inference to select among continue, exit, and stitch. For dispatcher supervision, we select the least-computation action whose full-vocabulary next-token prediction matches the source model's full-depth prediction, using continue when neither early action matches. We train these components on a frozen proxy corpus of 5,000 typed-decision items authored using source texts sampled from WildChat conversations, then evaluate the prototype on JevBench measuring task accuracy, agreement with full-model predictions, and end-to-end latency including runtime overhead. Preliminary results show an approximately 15% reduction in mean latency while maintaining task accuracy comparable to full-model inference.

来源:arXiv (AI + Vision + Imaging) · arxiv.org