Layer-Level Control of Language Model Execution in Agent Frameworks
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.
Create a lesson
Related papers
StudioBench: Benchmarking Agentic Multimodal Large Language Models for Productive Audiovisual Creation
Shared title terminology · Xinglong Xu, Yuxia Zhu, Siyuan Li et al.
Improving the Improver: Semantic PID Control for Medical Agent Self-Improvement
Shared title terminology · Dexia Chen, YiLong Hu, Wenqi Zhong et al.
SMAD: A Semantics-Guided Multi-Agent Framework for Unsupervised Time-Series Anomaly Detection
Shared title terminology · Qinghua Liu, Junpeng Wang, Mingzhi Hu et al.
Beyond Self-Critique: Epistemic Convergence Control for Multi-Agent Research Verification
Shared title terminology · Chrisantus Eze
Can Vision-Language Models Synthesize Executable Game-Playing Programs?
Shared title terminology · Yao Tong, Jiaxin Qi, Dingyu Zhang et al.
HookEvo: A Framework for Coordinated Plugin Evolution on Hook-Enabled Agent Runtimes
Shared title terminology · Shengze Huang, Yanyu Mao, Xiaofei Yu et al.