Mitigating Modality Quantity and Quality Imbalance in Multimodal Online Federated Learning

Heqiang Wang, Weihong Yang, Xiaoxiong Zhong, Jia Zhou, Fangming Liu, Weizhe ZhangarXiv 2025 · DOI

TL;DR

Training AI models on IoT devices is a messy business: sensors fail, data is noisy, and everything happens in real-time. This paper introduces QQR, a new algorithm for Multimodal Online Federated Learning that uses "global prototypes" (representative feature averages) to fill in missing data and correct for low-quality sensor inputs, significantly improving accuracy while keeping communication costs low.

The Challenge of Real-World IoT Data

In the world of the Internet of Things (IoT), we often use Multimodal Online Federated Learning (MMO-FL). This involves training a model across many devices (Federated) using diverse data types like video, audio, and text (Multimodal) as that data is generated in real-time (Online).

However, real-world IoT environments are rarely ideal. The authors identify two major hurdles that cause standard model performance to tank:

  1. Quantity Imbalance: Sensors are unstable. A camera might drop frames or a microphone might cut out, leading to missing data for specific modalities.
  2. Quality Imbalance: Even when data is present, it might be "dirty"—think of a grainy security feed or a sensor suffering from electromagnetic interference.
Figure 1: Overview of the Multimodal Online Federated Learning environment where clients face varying data quality and availability across different modalities.

Existing federated learning methods usually assume data is "pristine" and complete. This paper provides both a mathematical proof of why these imbalances degrade performance and a practical algorithm to fix it.

The QQR Algorithm: A Three-Pillar Approach

The authors propose the Modality Quantity and Quality Rebalanced (QQR) algorithm. It operates on three main pillars designed to stabilize the learning process against missing or noisy inputs:

  • Online Global Prototype Construction (OGPC): The server maintains a "running average" of what features for a specific class (e.g., "walking" or "positive sentiment") should look like for each modality. These are called prototypes. Because it's an online setting, these prototypes are updated continuously as new data arrives.
  • Prototypical Quantity Rebalancing (PNR): When a device is missing a modality (e.g., it has text but the image failed to upload), instead of just using zeros (which confuses the model), it "borrows" the relevant global prototype from the server to fill the gap.
  • Prototypical Quality Rebalancing (PLR): If a sensor provides low-quality, noisy data, the algorithm uses a specialized Prototype Cross Entropy (PCE) loss. This loss function essentially tells the model: "This input is noisy, so try to make its features look more like the clean, stable global prototype."
Figure 2: The three-step QQR process: OGPC for prototype construction, PNR for handling missing data (quantity), and PLR for handling noisy data (quality).

Crucially, the authors also provide a Theoretical Regret Analysis. They mathematically prove that the "regret" (the gap between the online model and an ideal "perfect" model) is directly tied to the noise levels and the ratio of missing data, providing a solid foundation for their algorithmic choices.

Experimental Setup and Datasets

The researchers evaluated QQR on two distinct multimodal datasets, modified to simulate a streaming, "online" environment:

  • UCI-HAR: A human activity recognition dataset using 3-axis accelerometer and gyroscope data (3D motion data).
  • MVSA-Single: A sentiment analysis dataset consisting of pairs of images and text from social media.

To make these "online," the authors used a sliding window approach where new samples are added and old ones are discarded at every training round, mimicking a continuous data stream.

Key Insights and Results

  • Zero-Padding is a Trap: Simply filling missing data with zeros destroys the relationship between different modalities. Using class-specific prototypes preserves the "semantic meaning" even when the raw data is gone.
  • Prototypes as Anchors: In a chaotic online stream where data quality fluctuates, the global prototypes act as a "source of truth" that prevents the model from drifting due to temporary sensor noise.
  • Superior Accuracy and Robustness: QQR consistently outperformed standard benchmarks. In "Quality Imbalance" tests where Gaussian noise was injected, the PLR component successfully kept the model's accuracy close to "pristine" levels.
  • Communication Efficiency: The paper demonstrates that you don't need high-precision prototypes. By quantizing the prototypes (compressing them down to 2 or 4 bits), they reduced communication costs by over 90% with almost no loss in accuracy.

Limitations and Future Work

While the results are promising, the authors acknowledge that the "online" and "imbalance" conditions were simulated. Future work should involve testing on physical IoT edge device testbeds. Additionally, while federated learning is inherently more private, the authors suggest exploring the intersection of QQR with Differential Privacy to ensure that sharing class-wise prototypes does not leak sensitive information.

Summary updated

Abstract

The Internet of Things (IoT) ecosystem produces massive volumes of multimodal data from diverse sources, including sensors, cameras, and microphones. With advances in edge intelligence, IoT devices have evolved from simple data acquisition units into computationally capable nodes, enabling localized processing of heterogeneous multimodal data. This evolution necessitates distributed learning paradigms that can efficiently handle such data. Furthermore, the continuous nature of data generation and the limited storage capacity of edge devices demand an online learning framework. Multimodal Online Federated Learning (MMO-FL) has emerged as a promising approach to meet these requirements. However, MMO-FL faces new challenges due to the inherent instability of IoT devices, which often results in modality quantity and quality imbalance (QQI) during data collection. In this work, we systematically investigate the impact of QQI within the MMO-FL framework and present a comprehensive theoretical analysis quantifying how both types of imbalance degrade learning performance. To address these challenges, we propose the Modality Quantity and Quality Rebalanced (QQR) algorithm, a prototype learning based method designed to operate in parallel with the training process. Extensive experiments on two real-world multimodal datasets show that the proposed QQR algorithm consistently outperforms benchmarks under modality imbalance conditions with promising learning performance.
BibTeX
@misc{wang2025mitigating,
  author = {Heqiang Wang and Weihong Yang and Xiaoxiong Zhong and Jia Zhou and Fangming Liu and Weizhe Zhang},
  title = {{Mitigating Modality Quantity and Quality Imbalance in Multimodal Online Federated Learning}},
  year = {2025},
  eprint = {2508.11159},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.11159},
}
Figure