Harmony: A Unified Framework for Modality Incremental Learning

Yaguang Song, Xiaoshan Yang, Dongmei Jiang, Yaowei Wang, Changsheng XuarXiv 2025 · OpenReview

Abstract

Incremental learning aims to enable models to continuously acquire knowledge from evolving data streams while preserving previously learned capabilities. While current research predominantly focuses on unimodal incremental learning and multimodal incremental learning where the modalities are consistent, real-world scenarios often present data from entirely new modalities, posing additional challenges. This paper investigates the feasibility of developing a unified model capable of incremental learning across continuously evolving modal sequences. To this end, we introduce a novel paradigm called Modality Incremental Learning (MIL), where each learning stage involves data from distinct modalities. To address this task, we propose a novel framework named Harmony, designed to achieve modal alignment and knowledge retention, enabling the model to reduce the modal discrepancy and learn from a sequence of distinct modalities, ultimately completing tasks across multiple modalities within a unified framework. Our approach introduces the adaptive compatible feature modulation and cumulative modal bridging. Through constructing historical modal features and performing modal knowledge accumulation and alignment, the proposed components collaboratively bridge modal differences and maintain knowledge retention, even with solely unimodal data available at each learning phase. These components work in concert to establish effective modality connections and maintain knowledge retention, even when only unimodal data is available at each learning stage. Extensive experiments on the MIL task demonstrate that our proposed method significantly outperforms existing incremental learning methods, validating its effectiveness in MIL scenarios.

Introduction

Standard incremental learning research typically focuses on Class Incremental Learning (CIL), where a model learns new categories within a fixed modality (e.g., adding new object classes to an image classifier). Even Multimodal Incremental Learning (MMIL) generally assumes that the set of modalities remains constant throughout the training sequence. However, real-world AI systems, such as evolving wearable devices or robotics, often encounter entirely new data types over time—transitioning, for example, from vision-only to audio or sensor-based inputs.

We define this challenge as Modality Incremental Learning (MIL). As illustrated in Figure 1, MIL requires a model to learn from a sequence of distinct modalities without forgetting previous ones. This task presents two significant hurdles: the substantial "modal gap" between disparate data types (e.g., pixels vs. audio waves) and the inability to store raw historical data due to privacy or memory constraints.

Comparison of incremental learning paradigms: (a) Class Incremental Learning, (b) Multimodal Incremental Learning, and (c) the proposed Modality Incremental Learning.

Methodology: The Harmony Framework

To address the MIL task, we propose Harmony, a framework that achieves modal alignment and knowledge retention without requiring access to original historical data. The architecture, detailed in Figure 2, centers on two main components:

Adaptive Compatible Feature Modulation (ACFM)

Since historical data is unavailable, Harmony leverages the model's own weights to simulate past modalities. It treats the classification head weights from previous stages as semantic prototypes. To account for the diversity of real data, a lightweight sub-network generates adaptive perturbations, creating a distribution of "pseudo-features" that represent the historical modality. This allows the model to "rehearse" using its own internal memory.

Cumulative Modal Bridging (CMB)

CMB integrates these simulated historical features with the current modality's data. It employs a Gated Knowledge Adapter (inspired by low-rank adaptation) to inject filtered historical knowledge into the transformer backbone at the token level. To ensure the new modality aligns with the established feature space, Harmony utilizes a Hybrid Alignment strategy consisting of three loss functions:

  • Direct Alignment: Minimizes feature-wise distance.
  • Contrastive Alignment: Ensures semantically similar concepts across modalities are clustered together.
  • Distribution-level Alignment: Matches the statistical distributions of the feature sets.
The Harmony framework architecture, featuring Adaptive Compatible Feature Modulation (ACFM) and Cumulative Modal Bridging (CMB) for cross-modal knowledge retention.

Experiments and Results

We evaluated Harmony on two newly adapted MIL benchmarks: EPIC-MIL (RGB $\rightarrow$ Flow $\rightarrow$ Audio) and Drive&Act-MIL (RGB $\rightarrow$ Depth $\rightarrow$ Infrared).

Harmony significantly outperformed existing state-of-the-art (SOTA) incremental learning methods. On EPIC-MIL, it achieved an Average Accuracy ($AA_3$) of 37.48%, a 3.7% improvement over the previous best method (MKD). On Drive&Act-MIL, it reached 55.07%, surpassing SOTA by 4.5%. Furthermore, when tested on all modalities simultaneously at the end of the sequence, Harmony demonstrated superior multimodal fusion capabilities, reaching 50.30% (EPIC) and 75.85% (Drive&Act), confirming the creation of a unified representation space for all "senses."

Conclusion

The Harmony framework successfully addresses the challenges of Modality Incremental Learning by bridging the modal gap through feature modulation and cumulative bridging. By using model weights as a proxy for data, it maintains high performance across evolving data streams. Future work will explore scenarios with disjoint label spaces and the application of these techniques to large-scale vision-language models.

Summary updated

BibTeX
@misc{song2025harmony,
  author = {Yaguang Song and Xiaoshan Yang and Dongmei Jiang and Yaowei Wang and Changsheng Xu},
  title = {{Harmony: A Unified Framework for Modality Incremental Learning}},
  year = {2025},
  eprint = {2504.13218},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.13218},
}
Figure