FLAME: Adaptive Mixture-of-Experts for Continual Multimodal Multi-Task Learning

Xing Han, Shravan Chaudhari, Tanvi Ranade, Rama Chellappa, Suchi Saria

In the ideal world of AI research, datasets are clean, and tasks are static. In the real world—especially in healthcare—data is a fragmented mess of text notes, lab results, and medical images, all recorded at different times. Furthermore, new diagnostic tasks and data types emerge constantly after a model is already deployed.

The paper "FLAME: Adaptive Mixture-of-Experts for Continual Multimodal Multi-Task Learning" introduces a framework designed to thrive in this chaos. FLAME allows a single model to learn across diverse, shifting combinations of modalities while growing its knowledge base without forgetting what it already knows.

TL;DR

FLAME is a novel Mixture-of-Experts (MoE) framework that enables models to learn across "Flexi-Modal" data (varying combinations of text, images, and time-series) across multiple tasks. By leveraging modality-specific routing and low-rank knowledge compression, it achieves state-of-the-art performance in healthcare while preventing "catastrophic forgetting" at a fraction of the parameter cost of traditional methods.

What Problem Does This Paper Address?

Real-world AI deployment faces two major hurdles:

  1. Flexi-Modal Multi-Tasking: Most multimodal models assume a fixed set of inputs (e.g., always image + text). In clinical settings, one patient might have an X-ray and vitals, while another only has clinical notes. Training a single model that can handle any combination of these across different tasks (like predicting mortality vs. length of stay) is incredibly difficult.
  2. Continual Adaptation: Once a model is in the field, you can't just retrain it from scratch every time a new task or modality (like a new genetic test) is introduced. However, simply fine-tuning often leads to "catastrophic forgetting," where the model loses its ability to perform original tasks.
Figure 1: An illustration of the Flexi-Modal multi-task setting. Each task is associated with an arbitrary combination of modalities, where within each task, individual modality measurements may be recorded at irregular time points across channels. During pretraining, models are expected to simultaneously handle various tasks. In deployment, new tasks with unseen modality combinations frequently emerge. FLAME aims to address two core challenges: (1) how to jointly train a unified model across Flexi-Modal multitasks with heterogeneous modality combinations; and (2) how to handle arbitrary train-test modality combination shift and preserve continual learning capacity when new tasks with different modality compositions are introduced after deployment.

Methods

FLAME (Flexi-modal Learning Adaptive Mixture-of-Experts) uses a sparse MoE architecture with several key innovations:

  • Modality-Specific Routing: Instead of one router for all inputs, FLAME uses a dedicated router for each modality (e.g., one for vitals, one for text). This decouples the processing of specific data types from the overall task, allowing the model to share "modality knowledge" across different tasks.
  • Temporal Attention Pooling (TAP): To handle irregular time-series data, FLAME uses a learnable query mechanism to summarize variable-length sequences into fixed-size embeddings before they hit the routers.
  • Low-Rank Expert Compression: For continual learning, FLAME doesn't add entirely new experts (which would make the model explode in size). Instead, it trains small, low-rank "additive slices" for new tasks and stacks them onto existing experts.
FLAME's multi-task pretraining architecture

Datasets

The authors validated FLAME on four diverse healthcare benchmarks covering 9 distinct tasks:

  • MIMIC-IV: ICU data featuring time-series, clinical notes, and chest X-rays.
  • eICU: A multi-center ICU dataset used for mortality and readmission prediction.
  • EMBED: A massive mammography dataset with multiple imaging views and tabular metadata.
  • ADNI: Alzheimer’s research data including MRI, PET scans, and genetic profiles.

Key Insights and Ideas

  • Functional Energy is Low-Rank: The authors discovered that while expert weights in an MoE are mathematically "full-rank," their actual contribution to the model's output (functional energy) is concentrated in a very small subspace.
  • Structural No-Forgetting: By using "cursor-based" inference—where a task only uses the weight slices it was trained on—FLAME provides a structural guarantee against forgetting. New tasks literally cannot overwrite the logic used by old ones.
  • Interpretable Routing: The per-modality routers create "fingerprints." The authors found that tasks with similar fingerprints (like mortality and length-of-stay) benefit most from joint training, providing a data-driven way to decide which tasks should share a model.
Expert spectra showing low-rank functional energy

Key Results

  • State-of-the-Art Performance: FLAME matches or beats specialized multimodal baselines (like HighMMT and Flex-MoE) across all nine healthcare tasks.
  • Zero Forgetting: In continual learning tests, FLAME maintained its performance on early tasks (within 0.01 AUROC) even after several new tasks were added. In contrast, standard fine-tuning saw performance drops of up to 0.05.
  • Extreme Efficiency: FLAME-CL requires 5x to 15x fewer parameters than standard adaptation methods like LoRA to achieve the same level of retention.
Continual learning trajectories showing performance and parameter growth

Limitations and Future Work

The current evaluation is focused strictly on healthcare. While the principles should generalize, testing on autonomous driving or robotics is a necessary next step. Additionally, FLAME currently assumes "task-incremental" learning, meaning the model needs to be told which task it is performing at inference time. Moving toward "task-agnostic" learning, where the model identifies the task itself, is a promising future direction.

Summary updated

Abstract

Real-world model deployment across multiple domains requires multimodal models to operate under two complementary regimes: (1) multi-task pretraining, tasks are co-available at design time where related tasks could borrow representational strength from one another, (2) continual adaptation, in which new tasks emerge after deployment with previously unseen modality combinations. However, neither regime alone suffices: the pretraining task set is never exhaustive, while bypassing joint training forfeits the transfer gains and efficiency among co-trainable tasks. Sparse Mixture-of-Experts (MoE) is a natural fit for this dual requirement: sparse activation enables modular capacity expansion as new tasks arrive, while routing decouples modality-level computation from task-level composition. In this work, we propose a scalable MoE framework for multitask pretraining and continual learning across flexible modality combinations. The framework is designed to support training on multimodal tasks with diverse modality configurations by leveraging modality-specific routers that process tokens from each modality across tasks. Furthermore, it enables continual learning over sequential multimodal tasks within a fixed-capacity MoE by compressing accumulated expert knowledge into low-rank memory subspaces, while expanding only the lightweight routers. We validate the effectiveness of our method on multiple healthcare multimodal benchmarks. It demonstrates competitive multitask pretraining performance while alleviating catastrophic forgetting and improving parameter efficiency.
BibTeX
@inproceedings{han2026flame,
  author = {Xing Han and Shravan Chaudhari and Tanvi Ranade and Rama Chellappa and Suchi Saria},
  title = {{FLAME: Adaptive Mixture-of-Experts for Continual Multimodal Multi-Task Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5NwsnKcAvg},
}
Figure