arXiv:2605.27703v1 Announce Type: new Abstract: Large Language Models are increasingly deployed inside agentic systems, where they must follow structured protocols, adapt to evolving states, and operate under memory, latency, and cost constraints. In such regimes, prompt extension is unreliable: growing contexts can push compact models outside their effective prompt domain, while deployment-time fine-tuning remains limited by scarce data and compute. We propose a hierarchical control-and-learning framework in which a compact model is first distilled to learn the required output schema, then supervised online by an oracle-controller loop. The controller monitors protocol validity and semantic performance, projects accumulated histories into a feasible prompt domain, and triggers lightweight oracle-supervised fine-tuning under drift. This separates schema learning for communication compatibility from semantic adaptation for task-level correction. We formalize prompt-domain feasibility and attention-induced saturation, motivating control of the effective prompt state rather than reliance on nominal context length. Using Multi-Fidelity Bayesian Optimization as a controlled sequential testbed, we characterize a core deployment failure mode and show improved reliability and cost-efficiency over non-hierarchical, distillation-only, and non-distilled baselines.
Hierarchical Prompt-Domain Control and Learning for Resource-Constrained Agentic Language Models
Researchers have developed a hierarchical control-and-learning framework for large language models deployed in resource-constrained agentic systems, addressing failures caused by prompt extension beyond a model's effective domain. The approach separates schema learning through distillation from semantic adaptation via an oracle-controller loop that monitors protocol validity and triggers fine-tuning under drift. In tests using Multi-Fidelity Bayesian Optimization, the method demonstrated improved reliability and cost-efficiency compared to non-hierarchical and distillation-only baselines.
Run your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.