Pengcheng Zheng
Author directory2026
When and What to Teach: Budget-Aware Online Adaptation for Web Agents
Jianwei Zhang | Sihan Cao | Pengcheng Zheng | Ya Wen | Pei Ke | Kuien Liu | Shen Gao | Wei Dong | Yang Yang | Chaoning Zhang
Findings of the Association for Computational Linguistics: EMNLP 2026
Jianwei Zhang | Sihan Cao | Pengcheng Zheng | Ya Wen | Pei Ke | Kuien Liu | Shen Gao | Wei Dong | Yang Yang | Chaoning Zhang
Findings of the Association for Computational Linguistics: EMNLP 2026
Web agents have achieved significant success in automating complex internet tasks but deploying them in real-world environments requires continuous online adaptation. Given that deploying powerful proprietary models remains commercially cost-prohibitive, practitioners must rely on lightweight local models that evolve post-deployment via online teaching from a stronger teacher. However, standard interactive feedback imposes prohibitive costs. We show that conventional trajectory-level preference optimization wastes budget on both unresolvable episodes and redundant execution turns. To resolve these inefficiencies, we propose Score-Guided Online Teaching with Budgeted Trajectory Trimming, a budget-aware framework that systematically orchestrates when and what to teach. Specifically, our framework integrates a solvability-aware teacher gate to dictate when to query the teacher model and a score-guided turn selection mechanism to decide what informative turns to retain. Extensive experiments on MiniWoB and TimeWarp demonstrate that our method achieves comparable first-pass success while reducing teacher calls by 22.6% and student training compute by 52.1% on average. Our code is available at https://github.com/zjw131f1fc/budgeted-online-teaching.
Lightweight LLM Agent Memory with Small Language Models
Jiaquan Zhang | Chaoning Zhang | Shuxu Chen | Zhenzhen Huang | Pengcheng Zheng | Zhicheng Wang | Ping Guo | Fan Mo | Sung-Ho Bae | Jie Zou | Jiwei Wei | Yang Yang
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Jiaquan Zhang | Chaoning Zhang | Shuxu Chen | Zhenzhen Huang | Pengcheng Zheng | Zhicheng Wang | Ping Guo | Fan Mo | Sung-Ho Bae | Jie Zou | Jiwei Wei | Yang Yang
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Although LLM agents can leverage tools for complex tasks, they still need memory to maintain cross-turn consistency and accumulate reusable information in long-horizon interactions. However, retrieval-based external memory systems incur low online overhead but suffer from unstable accuracy due to limited query construction and candidate filtering. In contrast, many systems use repeated large-model calls for online memory operations, improving accuracy but accumulating latency over long interactions. We propose LightMem, a lightweight memory system for better agent memory driven by Small Language Models (SLMs). LightMem modularizes memory retrieval, writing, and long-term consolidation, and separates online processing from offline consolidation to enable efficient memory invocation under bounded compute. We organize memory into short-term memory (STM) for immediate conversational context, mid-term memory (MTM) for reusable interaction summaries, and long-term memory (LTM) for consolidated knowledge, and uses user identifiers to support independent retrieval and incremental maintenance in multi-user settings. Online, LightMem operates under a fixed retrieval budget and selects memories via a two-stage procedure: vector-based coarse retrieval followed by semantic consistency re-ranking. Offline, it abstracts reusable interaction evidence and incrementally integrates it into LTM. Experiments show consistent gains across model scales, with an average F1 improvement of about 2.5 over A-MEM on LoCoMo, while achieving higher efficiency and low median latency (83 ms for retrieval and 581 ms end-to-end).