CATER: Confidence-Aware Trajectory Early-Exit and Tri-Signal Routing for Cost-Efficient Agentic Large Language Models

Autonomous Large Language Model (LLM) agents operatingunder interleaved reasoning and tool-execution paradigms (suchas ReAct, Reflexion, and Tree of Thoughts) achieve strongperformance on multi-hop question answering, APIorchestration, and automated code repair. However, deployingfrontier cloud LLMs across every step of a multi-step agentictrajectory incurs prohibitive monetary cost and latency, whereasexecuting trajectories purely on quantized edge Small LanguageModels (SLMs) leads to severe schema hallucinations andrepetitive action deadlocks (71.6% loop trap rate). Existing LLMrouters (e.g., FrugalGPT and RouteLLM) are designed for single-turn prompts: they route an entire query statically at t = 1 or relysolely on scalar token entropy, which fails to detect silent toolexceptions or confident cyclic loops. In this paper, we proposeCATER (Confidence-Aware Trajectory Early-Exit and Routing), asteplevel Markovian routing framework for hybrid edge–cloudagentic systems. At each reasoning step t, CATER evaluates acomposite Trajectory Divergence Score D(st)∈[0,1] that fusesthree orthogonal signals: (1) length-normalized action-tokenentropy H¯t, (2) a deterministic tool-execution and AbstractSyntax Tree (AST) schema verifier Vtool,t, and (3) a denseembedding looprepulsion penalty Rloop,t. Based on D(st), CATERdynamically dispatches each step across three execution tiers:Tier 0 commits the local Edge SLM (66.2% of steps), Tier 1triggers constrained local AST/schema self-repair (20.1% ofsteps), and Tier 2 escalates only high-divergence steps to a CloudFrontier LLM

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24691793
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

CATER: Confidence-Aware Trajectory Early-Exit and Tri-Signal Routing for Cost-Efficient Agentic Large Language Models

Ankit Halder
Zenodo (CERN European Organization for Nuclear Research)
Natural Language Processing Techniques
article

CATER: Confidence-Aware Trajectory Early-Exit and Tri-Signal Routing for Cost-Efficient Agentic Large Language Models

Ankit Halder
article en

Abstract

Autonomous Large Language Model (LLM) agents operatingunder interleaved reasoning and tool-execution paradigms (suchas ReAct, Reflexion, and Tree of Thoughts) achieve strongperformance on multi-hop question answering, APIorchestration, and automated code repair. However, deployingfrontier cloud LLMs across every step of a multi-step agentictrajectory incurs prohibitive monetary cost and latency, whereasexecuting trajectories purely on quantized edge Small LanguageModels (SLMs) leads to severe schema hallucinations andrepetitive action deadlocks (71.6% loop trap rate). Existing LLMrouters (e.g., FrugalGPT and RouteLLM) are designed for single-turn prompts: they route an entire query statically at t = 1 or relysolely on scalar token entropy, which fails to detect silent toolexceptions or confident cyclic loops. In this paper, we proposeCATER (Confidence-Aware Trajectory Early-Exit and Routing), asteplevel Markovian routing framework for hybrid edge–cloudagentic systems. At each reasoning step t, CATER evaluates acomposite Trajectory Divergence Score D(st)∈[0,1] that fusesthree orthogonal signals: (1) length-normalized action-tokenentropy H¯t, (2) a deterministic tool-execution and AbstractSyntax Tree (AST) schema verifier Vtool,t, and (3) a denseembedding looprepulsion penalty Rloop,t. Based on D(st), CATERdynamically dispatches each step across three execution tiers:Tier 0 commits the local Edge SLM (66.2% of steps), Tier 1triggers constrained local AST/schema self-repair (20.1% ofsteps), and Tier 2 escalates only high-divergence steps to a CloudFrontier LLM

Zenodo (CERN European Organization for Nuclear Research)
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
CATER: Confidence-Aware Trajectory Early-Exit and Tri-Signal Routing for Cost-Efficient Agentic Large Language Models — Ankit Halder · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS