Search papers, labs, and topics across Lattice.
This paper introduces DuoMem, a dual-space distillation framework that effectively transfers procedural problem-solving capabilities from a large teacher model to smaller student models, enabling deployment on resource-constrained devices. By employing context-space and parameter-space distillation, DuoMem significantly enhances a 4B-parameter model's task success rate from 4.3% to 77.9%, while maintaining a low parameter overhead and achieving real-time performance. The results indicate that DuoMem not only closes the performance gap with a 72B teacher model but also allows for faster task completion, making it suitable for edge deployment scenarios.
A compact 4B model using DuoMem achieves a staggering 77.9% task success rate, rivaling a 72B teacher model while being over 3x faster in execution.
Large Language Model (LLM)-based agents can solve complex procedural tasks by interacting with environments over multiple turns, but this ability typically depends on large models, long contexts, and repeated inference calls. This makes advanced memory-augmented agents difficult to deploy on resource-constrained devices. We introduce DuoMem, a dual-space distillation framework that transfers procedural problem-solving ability from a large teacher model to compact student models. DuoMem distils in two complementary spaces: (1)context-space distillation, which replaces student-generated memories with higher-quality teacher-generated procedural memories prepended to the student's input, and (2)parameter-space distillation, which fine-tunes lightweight LoRA adapters on successful teacher trajectories. Evaluated on ALFWorld, a challenging embodied decision-making benchmark, DuoMem boosts a 4B-parameter model from 4.3% to 77.9% task success rate, closing most of the gap to a 72B teacher model (87.1%), while adding fewer than 10M trainable parameters and only a few megabytes of pre-computed teacher memories. Moreover, the DuoMem-enhanced 4B model completes tasks over 3x faster than the 72B teacher in wall-clock time, making it viable for real-time edge deployment, which would be challenging for the teacher.Extensive ablations across eight models spanning 2B-72B parameters reveal that both distillation axes contribute complementary