NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MACE: A Hybrid LLM Serving System with Colocated SLO-aware Continuous Retraining Alignment

Yufei Li, Yu Fu, Yue Dong, Cong LiuarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) deployed on edge servers—such as local workstations or private corporate hardware—often require continuous adaptation to specific user behaviors and evolving data. This process, known as continual alignment, typically faces a trade-off between model freshness and service quality. Traditional approaches either rely on periodic retraining, which leaves models "stale" between updates, or synchronous retraining, which preempts the GPU and causes significant latency spikes for active users.

MACE introduces a hybrid serving system designed to resolve this tension. By enabling real-time inference and continuous retraining to run simultaneously on a single GPU, MACE keeps models aligned with user preferences without violating strict latency service-level objectives (SLOs).

System Design and Methods

The core innovation of MACE lies in its Iteration-level Hybrid Scheduling. Rather than treating inference and training as mutually exclusive tasks, MACE interleaves them within the same GPU execution cycle. It packs "prefill" (prompt processing), "decode" (token generation), and "fine-tuning" (weight updates via LoRA) into a single execution block.

Comparison of scheduling strategies: Periodic (Inference Prioritized), Sync (FT Prioritized), and MACE's Async Hybrid Schedule which eliminates stalls.

To optimize this packing, MACE employs several key strategies:

  • Memory-aware Best-fit Bin Packing: A heuristic-based approach that selects a task mix to fit available GPU memory and time, minimizing resource fragmentation.
  • Alignment-aware Prioritization: Using Direct Preference Optimization (DPO) loss, the system identifies and prioritizes data points that the model finds most confusing, accelerating the learning process.
  • Aggressive Cache Management: MACE utilizes Prefix Sharing and KV Cache Pruning to reduce the memory footprint of inference tasks, creating more "room" for concurrent training operations.

Evaluation and Key Results

The researchers evaluated MACE using Mistral-7B and LLaMA3-8B models across two primary benchmarks: Anthropic HH-RLHF (Helpfulness and Harmlessness) and StanfordNLP SHP (Social Homepages).

Performance metrics (Win Rate and CLPD) over time, comparing MACE (Continuous) against periodic and no-retraining baselines across different datasets.

Key performance highlights include:

  • Latency and Throughput: MACE reduced prefill latency by up to 63% compared to state-of-the-art baselines like AdaInf and delivered up to 1.46x higher throughput than standard continuous retraining methods.
  • Superior Alignment: In "win rate" tests, MACE consistently outperformed periodic retraining. By incorporating user feedback almost instantly, the model achieved higher human-preference matching scores.
  • Hardware Efficiency: The system maintained GPU utilization above 85% even on resource-constrained edge devices like the NVIDIA AGX Orin, proving the viability of "learning while serving."

Insights and Future Work

A critical insight from the study is that on high-end GPUs (like the RTX A6000), the primary bottleneck is often resource fragmentation rather than raw compute power. MACE effectively fills these "holes" in the GPU timeline by packing small-batch fine-tuning into the gaps left by inference tasks.

While MACE demonstrates significant gains for single-node edge servers, future work will focus on scaling the system to multi-GPU clusters. This will involve addressing complex challenges in model version synchronization and distributed cache consistency. Additionally, the authors aim to transition from offline profiling to an "online-adaptive" scheduler that can learn task lengths dynamically in heterogeneous hardware environments.

Summary updated

BibTeX
@misc{li2025mace,
  author = {Yufei Li and Yu Fu and Yue Dong and Cong Liu},
  title = {{MACE: A Hybrid LLM Serving System with Colocated SLO-aware Continuous Retraining Alignment}},
  year = {2025},
  eprint = {2510.03283},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.03283},
}
Figure