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

MOSEL: Inference Serving Using Dynamic Modality Selection

Bodun Hu, Le Xu, Jeongyoon Moon, Neeraja J. Yadwadkar, Aditya Akella

MOSEL: Inference Serving Using Dynamic Modality Selection

Abstract

Multi-modal machine learning models, while powerful, present significant challenges for inference serving due to high computational costs and strict Service Level Objectives (SLOs). We present MOSEL, an automated system that optimizes multi-modal inference by dynamically selecting input modalities. By leveraging the inherent redundancy across modalities, MOSEL can drop resource-intensive inputs during high-traffic periods to maintain throughput and latency targets. Our evaluation shows that MOSEL improves throughput by up to 5.3× and reduces job completion times by 11× while maintaining high accuracy.

Introduction

The deployment of large-scale Deep Learning models in production environments requires balancing high accuracy with low latency. Traditional "accuracy scaling" methods, such as model distillation or pruning, often introduce significant memory overhead and complexity by requiring multiple model versions. Multi-modal models, which process diverse data types like video, audio, and text, offer a unique opportunity for optimization: input modulation.

The Modality Gap

A key observation driving MOSEL is the "modality gap"—the disproportionate contribution of different modalities to a model's performance relative to their computational cost. For instance, in sentiment analysis, audio data might provide nearly the same accuracy as video but at a fraction of the processing cost.

Figure 1: Normalized latency, memory usage, and accuracy across different modality combinations for five multi-modal models.

As shown in Figure 1, modalities like video often consume significantly more resources (latency and memory) for marginal gains in accuracy compared to more efficient modalities like audio or text. MOSEL exploits this redundancy by skipping expensive inputs when the system is under heavy load.

System Architecture

MOSEL employs a two-stage approach to manage modality selection:

  1. Offline Profiling: The system profiles individual modality combinations across various batch sizes. Using an Integer Non-Linear Program (INLP) solver, it generates an optimal strategy matrix that maps desired accuracy levels to the fastest processing configurations.
  2. Online Optimization: During runtime, MOSEL monitors the request queue. If a potential SLO violation is detected, the optimizer re-evaluates enqueued jobs and selectively "downgrades" their modalities to clear the backlog. For ultra-low latency requirements, a greedy heuristic is used to bypass the solver's overhead.
Figure 2: Latency vs. Accuracy trade-offs for TVLT and ViLT models, illustrating the discrete steps available through modality selection.

Figure 2 illustrates the Pareto frontier of latency and accuracy for the TVLT and ViLT models. These step-wise functions represent the strategies MOSEL can navigate dynamically to meet real-time constraints.

Evaluation and Results

We evaluated MOSEL using five representative models (TVLT, TBN, HuBERT, ViLT, and MMSA) across datasets including MOSEI, LRS3, EPIC-KITCHENS, and MM-IMDb. Real-world traffic patterns were simulated using Twitter traces.

Key results include:

  • Throughput Boost: MOSEL achieved a 3.1× to 5.3× improvement in throughput compared to modality-agnostic baselines.
  • Latency Reduction: Job completion times were reduced by up to 11× during high-load scenarios.
  • SLO Compliance: The system reduced SLO violation ratios by up to 25% compared to standard serving methods.
  • Orthogonality: MOSEL's input-level optimization is compatible with model-level optimizations like FP16 quantization, where it achieved up to 4.6× throughput gains.

Conclusion

MOSEL demonstrates that dynamic modality selection is a highly effective, low-overhead strategy for serving multi-modal models. By modulating inputs rather than model weights, it avoids the storage costs of traditional scaling methods while providing significant gains in throughput and latency resilience.

Reference: Hu, B., Xu, L., Moon, J., Yadwadkar, N., & Akella, A. (2024). MOSEL: Inference Serving Using Dynamic Modality Selection. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP), 8872–8886.

Summary updated

BibTeX
@inproceedings{hu2024mosel,
  author = {Bodun Hu and Le Xu and Jeongyoon Moon and Neeraja J. Yadwadkar and Aditya Akella},
  title = {{MOSEL: Inference Serving Using Dynamic Modality Selection}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.501},
}
Figure