DeepEdu-F: A Framework for Efficient and Scalable Agentic LLMs in Vietnamese Education
Quang Nguyen, Hieu Nguyen, Toan Pham, Hien Hoang, Cong Tran, Nam Vu
Abstract
Cloud AI assistants send student data to foreign servers, conflicting with data-sovereignty laws such as Vietnam's Decree 53, and are not grounded in the national curriculum, so they often hallucinate on local content. Self-hosting an open model keeps data on-premise but faces two costs that weight quantization does not remove. An AI tutoring session revisits the same long material every turn, so once prefix caching removes the prefill cost, decoding over a growing KV Cache dominates response time; and grounding the tutor in local knowledge by fine-tuning is too costly to repeat as that knowledge changes. We present DeepEdu-F, a framework for the Vietnamese AI tutor DeepEdu with two components. LastSet selects the critical KV Cache entries once per turn from the question's attention, decodes the whole turn from that set, and keeps the full cache so later questions can select again. REPAIR (Reliable Evidence-based Playbook Adaptation and Insight Revision) curates a verified playbook from past interactions instead of updating weights. LastSet decodes up to 3.1x faster than dense decoding at a 256k-token context, faster than four sparse baselines, with accuracy close to full attention. Compared with ACE (ADD), REPAIR raises final accuracy from 70.0% to 80.5% on Formula and from 53.6% to 59.7% on FiNER, while mean task/scenario goal completion across AppWorld's normal and challenge splits increases from 9.28% to 16.28%.
Create a lesson
Related papers
LAM: Efficient Lossy Agent Memory Framework With A Retrieval-Score Error Bound
Shared title terminologycs.AIBaixi Sun, Le Chen, Anjir Ahmed Chowdhury et al.
Habitats: A Framework for Open-Ended Evolution of Agent Objectives
Shared title terminologycs.AINicolas Bolouri, Gaya Mehenni, Daniel Toyama
ChiProgramBench: Can LLM Agents Rebuild Efficient Circuits from Pin-Level Experiments?
Shared title terminologycs.AITianrun Gou, Qingyao Yang, Wendong Xu et al.
Learning What to Change: State-Verified Reinforcement Learning for Educational Agents
Shared title terminologycs.AIShengyao Wang, Siyuan Su, Siyu Song et al.
Adopting AI Technologies without Traps: A Multi-Agent Reinforcement Learning Framework
Shared title terminologycs.AIJitong Yang, Avinash Reddy Mudireddy, Ziqing Lu et al.
Planner-as-Router: Joint Plan-Time Model Routing for Cost-Efficient Multi-Agent Workflows
Shared title terminologycs.AIVivek Kumar Singh, Preeti Priyam, Gautam Bhowmick