CE-Agent: a cloud-edge collaborative agent framework with dynamic offloading and synergistic distillation
Reading guide · Based on sections of the original paper
Why read this
It suits practitioners building hybrid edge/cloud agents who want a reference design for runtime offloading and post-deployment distillation, along with its reported cost and latency trade-offs.
What the authors found
- The authors report success rates of 91.5% ± 1.3% on ALFWorld (134 test games) and 84.2% ± 1.6% on WebShop (500 tasks). The strongest adaptive baseline, AutoMix, scores 84.6% and 76.5%. These are means over 3 seeds with Llama-3-8B on the edge and GPT-4o in the cloud, and McNemar tests give p<0.01 against all routing baselines. Task success rate and statistical significance
- Against the Cloud-Only GPT-4o baseline, CE-Agent trails by up to 4.3 points (91.5% vs 94.2% on ALFWorld, 84.2% vs 88.5% on WebShop). It cuts cloud tokens per task by 78.1% on ALFWorld (845 vs 3,850) and 74.5% on WebShop (1,050 vs 4,120). Separately, the paper reports ALFWorld latency of 4.8 s vs 11.4 s under a 10 Mbps link, a 57.9% reduction. The abstract's 78.0% and 57.8% figures do not exactly match these per-dataset numbers. Task capability versus resource cost
- Over a 50-epoch deployment, the edge independence rate rises from 35.8% to about 62.5% by epoch 30. Over the same period, cloud cost falls from 2,850 to 845 tokens per task. Training pairs came from the training splits, not the test sets. In a zero-shot transfer of ALFWorld-tuned weights to WebShop, independence reaches 48.6%, compared with 22.4% for the base edge model. Cloud-assisted distillation and edge evolution
Main limitation
The headline 845-token cost depends on the accumulated distillation loop. With edge weights frozen, the ablation reports 2,150 tokens. Beyond this, the authors acknowledge that evaluation used text-only tasks on simulated networks and that the approach relies on the cloud traces being correct. Ablation study
Where to start
Cloud-assisted distillation and edge evolution · It shows how many deployment epochs and LoRA syncs it takes to reach the reported cost operating point, plus the cross-domain transfer check.
Abstract
Deploying Large Language Model (LLM) agents on edge devices is constrained by hardware memory. Pure cloud architectures resolve this memory limit but incur high latency, consume excessive network bandwidth, and expose sensitive local data. Static Small Language Models (SLMs) at the edge struggle with complex multi-step reasoning tasks. This paper proposes CE-Agent, a cloud-edge collaborative framework. It mitigates the inherent capability-resource dilemma in agentic systems. The framework implements an adaptive, in-process offloading router. It evaluates token generation entropy and local tool execution errors during the multi-step reasoning phase. Upon exceeding a defined uncertainty threshold, the system halts the local execution, compresses the historical textual context, and transfers the remaining inference steps to a cloud LLM. Additionally, the framework establishes a cloud-assisted trajectory distillation loop. The cloud server applies Direct Preference Optimization (DPO) to the successfully offloaded trajectories. It periodically synchronizes Low-Rank Adaptation (LoRA) weights back to the edge. This enables continuous edge capability evolution. Evaluations on the ALFWorld and WebShop datasets demonstrate the system efficacy. CE-Agent achieves a 91.5% task success rate on ALFWorld and 84.2% on WebShop. Compared to pure cloud deployments, it reduces average end-to-end latency by 57.8% and cloud API token consumption by 78.0%. The system remains agnostic to the base model architecture and operates efficiently under 10 Mbps bandwidth constraints. We also discuss limitations regarding privacy, model-collapse risk, and network variability.