Manuscript Offprint

arXiv:2610.36009

DuplexTune: Coupled-State Replay for Memory-Efficient Mixture-of-Experts Adaptation

Paul Raj, Simon Caldwell, Daniel Whitmore, Mutlu Mete

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Sparse expert execution does not remove the stored states needed to adapt a mixture-of-experts language model. We present DuplexTune, a framework for replaying coupled hidden states through pretrained attention and expert modules. Trainable width bridges connect two residual streams to the backbone. Bridge warm-up precedes backbone adaptation, with router weights kept frozen. We analyze the implicit state-recovery equation and identify the convergence and replay conditions needed for reconstruction. On Qwen1.5-MoE-A2.7B, the single-H800 evaluation reports 38.8 GB peak memory, versus 64.8 GB for supervised fine-tuning with checkpointing, and throughput of 25.1 versus 19.9 samples/s. DuplexTune achieves 67.2% MMLU, 75.6% GSM8K, and 7.69 MT-Bench, with a weaker multilingual score than the checkpointed baseline. The results characterize a configuration-dependent trade-off among state storage, throughput, and adaptation quality.

Index Terms— Mixture of experts, language model adaptation, activation reconstruction, memory-efficient training

1. INTRODUCTION

MoE activation is sparse, but training still maintains weights, gradients, optimizer states, and activations [1,2]. Qwen1.5-MoE-A2.7B contains 14.3 billion parameters but activates approximately 2.7 billion [3]. Active computation and stored-state costs therefore need separate accounting when adapting Transformer language models [4–6].

LoRA restricts trainable updates, while QLoRA also quantizes the frozen backbone [7, 8]. ZeRO and FSDP shard model states [9, 10], whereas checkpointing recomputes intermediate features on single or multiple devices [11].

DuplexTune frames this target as coupled-state replay. Two half-width residual streams exchange information through pretrained attention and expert modules. Learnable width bridges connect the streams to those modules. Bridge warm-up establishes the interface before backbone adaptation updates attention, expert weights, and bridges while leaving router weights fixed. This expands learning beyond adapters without describing the frozen-router configuration as an update to every parameter.

Because attention queries depend on the stream being recovered, replay requires implicit reconstruction. We state a sufficient convergence condition, a residual error bound, and replay requirements. The evaluation compares complete configurations: 38.8 versus 64.8 GB for checkpointed SFT, with higher scores on three tasks but weaker multilingual performance.

References (42)