Complexity-Aware LoRA Aggregation for Modality-Heterogeneous Federated Person Re-identification

Kunyang Lv, Wenke Huang, Wenwen He, Bin Yang, Bo Du, Mang YeNeurIPS 2026

TL;DR

Finding a specific person across camera networks—whether using daylight video, night-vision infrared, or a witness's text description—usually requires hoarding massive, privacy-sensitive datasets in one central server. This paper introduces MIRAGE, a federated learning framework that trains a single, unified cross-modal search model across distributed clients without sharing raw data or bogging down networks. By intelligently merging lightweight model adapters (LoRA) based on how "hard" each task is and how different modalities behave, MIRAGE outperforms existing federated approaches by a wide margin.

What Problem Does This Paper Address?

Person Re-identification (ReID) is the task of matching a query (a photo, an infrared scan, or a text description like "man in a grey jacket") to the right pedestrian across camera views. Real-world scenarios need a single model that handles all of these modalities seamlessly. However, collecting triple-modal datasets (Visible + Infrared + Text) is expensive, and pooling surveillance data on a central server is a privacy nightmare.

Federated Learning (FL)—where separate clients train models locally and only send parameter updates to a central server—solves the privacy issue, especially when paired with Low-Rank Adaptation (LoRA) to keep communication lightweight. Imagine three clients: Client 1 has Visible–Infrared (V-I) data, Client 2 has Visible–Text (V-T) data, and Client 3 has Text–Infrared (T-I) data.

Figure 1: Motivation. The centralized multi-modal training results in high data cost and privacy leakage. Modality-heterogeneous federated learning supporting visible (V), infrared (I), and text (T) inputs transmits entire modal, which brings high communication overhead.

When the server tries to merge same-modality LoRA modules from different clients, standard FL averaging breaks down for two reasons:

  1. Inter-modality complexity: Visible images are fine-grained. Matching visible-to-text requires looking for semantic attributes, whereas matching visible-to-infrared focuses on shapes and textures. Their parameter updates point in nearly orthogonal directions—averaging them dilutes both. Conversely, infrared and text are coarse-grained; their updates overlap heavily across tasks, causing redundancy and conflicts if concatenated blindly.
  2. Intra-modality complexity: Not all tasks are equally hard. Aligning an image with text bridges a massive semantic gap compared to aligning two types of images (visible and infrared). Treating updates from an "easy" task and a "hard" task equally starves the harder task of model capacity.

Methods

To harmonize these conflicting updates, the authors freeze base CLIP encoders (ViT-B/16 and Text Transformer), inject modality-specific LoRA modules into each client, and introduce MIRAGE on the server side. MIRAGE relies on three novel mechanisms:

  • Complexity-Aware Weighting (CAW): How do you measure task difficulty without looking at a client's data? Look at the LoRA ranks. Each rank represents an update direction, and its Frobenius norm measures its strength. If strength is spread evenly across many ranks (high Shannon entropy), the task requires complex, multi-directional updates. If a few ranks dominate (low entropy), the task is structurally simpler. CAW computes the average layer-wise entropy to dynamically weight each client's contribution.
  • Merge with Selective Ranks (MSR) for Visible LoRA: Because visible LoRA modules from V-T and V-I tasks occupy nearly disjoint subspaces, MIRAGE avoids naive averaging. Instead, it selects the top most important ranks from each client (weighted by CAW) and concatenates them as "private" subspaces, while averaging a small subset of middle ranks as a "shared" knowledge bridge. In the next local training round, private ranks freeze their directions and only update their magnitudes.
  • Merge with Selectively Pruning (MSP) for Infrared & Text LoRA: Since coarse-grained modalities share overlapping parameter spaces across tasks, MIRAGE merges them element-wise. Using CAW weights, it identifies the highest-magnitude parameters for one task and masks (zeros) out updates from the other task at those exact positions to prevent overwriting. Locally, a Conflict-Aware Regularization loss discourages clients from altering parameters crucial to their peers.
Figure 3: The architecture of our proposed method. MIRAGE consists of (a) Complexity-Aware Weighting(described in Sec. 3.2), (b) Merge with Selective Ranks(described in Sec. 3.3, (c) Merge with Selectively Pruning(described in Sec. 3.4.

Datasets

  • SYSU-MM01: A standard public benchmark used to train the V-I client and evaluate visible–infrared retrieval.
  • RSTPReid: A public dataset used to train the V-T client and evaluate visible–text retrieval.
  • ICFG-PEDES (Augmented): Because real text–infrared datasets practically do not exist, the T-I client trains on this public V-T dataset using channel augmentation to synthesize pseudo-infrared images.
  • Tri-SYSU-MM01 (Newly Introduced): A triple-modal evaluation benchmark derived by the authors from SYSU-MM01 specifically to test MIRAGE's text–infrared retrieval capabilities.

Key Insights and Ideas

  • Entropy as a proxy for semantic gaps: Confirming their hypothesis quantitatively, the authors found that LoRA modules bridging visual and textual modalities (V-T, I-T) naturally exhibit significantly higher rank entropy than purely visual ones (V-I). You can literally read the semantic gap off the geometry of the weight updates.
  • Modality granularity dictates subspace geometry: Visualizing cosine similarities between individual LoRA ranks revealed that visible LoRA ranks from V-I and V-T clients have near-zero similarity, whereas infrared (I-V vs. I-T) and text (T-V vs. T-I) ranks show strong cross-task alignment. One-size-fits-all FL aggregation is fundamentally mismatched to multi-modal physics.
  • The "Goldilocks" shared subspace: Ablating the number of shared ranks in MSR showed a clear sweet spot ($r_{\text{shared}} = 4$). Too many shared ranks turns the method into noisy FedAvg; too few mimics pure concatenation (like FLoRA) and blocks cross-task knowledge transfer.

Key Results

Across all three cross-modal retrieval benchmarks, MIRAGE achieves an average Rank-1 accuracy of 40.31% and mAP of 34.76%, handily beating both traditional FL and recent federated LoRA baselines:

  • Outperforming Traditional FL: Beats FedAvg by +7.80% Rank-1 (32.51% vs. 40.31%) and the strongest traditional baseline, Scaffold, by +4.65% Rank-1 and +3.92% mAP.
  • Fixing Federated LoRA: While FLoRA (which concatenates ranks) performs well on SYSU-MM01 (42.36% Rank-1), it collapses on visible–text RSTPReid (30.89% Rank-1). MIRAGE excels at both, hitting 44.45% Rank-1 on SYSU-MM01, 46.20% on RSTPReid, and 30.27% on Tri-SYSU-MM01.
  • Ablation: Removing CAW drops average Rank-1 from 40.31% to 37.74%, proving that dynamic complexity balancing is critical alongside structural merging.

Limitations and Future Work

MIRAGE relies on human prior knowledge—specifically, deciding ahead of time which modalities are "fine-grained" (needing MSR) and which are "coarse-grained" (needing MSP). The authors note that in open-world settings with novel sensors (like LiDAR, radar, or audio) or shifting domain semantics, this hardcoded binary split might not hold, leading to suboptimal rank selection or pruning conflicts. Future work aims to develop fully adaptive aggregation mechanisms that dynamically infer parameter subspace relationships on the fly without handcrafted priors.

Summary updated

Abstract

A unified cross-modal person re-identification targets robust cross-modal retrieval with queries from diverse modalities like visible, infrared, and text.Such framework requires multi-modal data and centralized training, raising data costs and privacy risks. Hence, we propose a modality-heterogeneous federated ReID task to learn a unified cross-modal framework from clients with different cross-modal data.However, it faces two challenges.First, varying inter-modality complexity across tasks leads to different retrieval patterns and parameter space. Second, different intra-modality complexity results in imbalanced contributions when merging LoRA modules.Existing federated learning methods use uniform merging and transmit full models, which hinders cross-modal knowledge integration and increases communication overhead. To address these issues, we adopt Low-Rank Adaptation (LoRA), a lightweight module for fine-tuning large models through low-rank updates, enabling clients to send compact parameters.On top of LoRA, we develop MIRAGE (Modality-heterogeneous Intelligent federated ReID Aggregation with Global Efficiency), adapting aggregation to inter- and intra-modality complexity.When merging visible LoRA, MIRAGE selects key ranks to protect retrieval patterns while retaining shared ranks for common ability.As for infrared and text LoRA, it reduces conflicts with an adaptive pruning method. In both strategies, task complexity is incorporated into aggregation to balance contributions. Experiments on cross-modal retrieval tasks demonstrate the superiority of MIRAGE.The code and dataset will be publicly released.
BibTeX
@inproceedings{lv2026complexity,
  author = {Kunyang Lv and Wenke Huang and Wenwen He and Bin Yang and Bo Du and Mang Ye},
  title = {{Complexity-Aware LoRA Aggregation for Modality-Heterogeneous Federated Person Re-identification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=dZItc1V1aV},
}
Figure