                             Multi-Modal Object Re-Identification via Sparse Mixture-of-Experts

to efficiently extract modality-shared and modality-specific          Mixture-of-Experts (MoE) to adapt to diverse modal input
multi-modal representation within a unified network. There-           at an extremely low cost and performs joint optimization of
fore, we propose MFRNet, which adopts a mixture of gen-               modality-specific and modality-shared features.
erator experts to leverage the pixel-to-pixel alignment of
multi-modal data and introduces a mixture of representation           3.1. Feature Fusion Module
experts to adaptively extract modality-shared features while
retaining modality-specific features.                                 In general, a given image can be divided into patches of the
                                                                      same size and mapped to a fixed feature dimension through
                                                                      patchify operations. Then, we have the image feature as:
2.2. Mixtures of Experts
                                                                               cls     1    2            n
The Mixture of Experts (MoE) (Jacobs et al., 1991) orig-               IM = {[IM   ], IM , IM , · · · , IM }where M ∈ R, N, T ,
inates from Ensemble Learning (Ganaie et al., 2022) and                                                                          (1)
can effectively enhance model performance. Notably, af-               where R, N, T denote RGB, NIR, and TIR modalities respec-
ter Lepikhin et al. (Lepikhin et al., 2020) combined MoE              tively. Given that multi-modal images maintain pixel-level
with the transformer framework and proposed the Gshard                alignment, our feature fusion module (FFM) is designed
model, it garnered significant attention across various fields,       to enable effective interaction and mutual enhancement be-
leading to the development of more models incorporating               tween different modality features. As illustrated by the
MoE technology (Chen & Wang, 2025; Dai et al., 2024;                  RLE (Tan et al., 2024c) and AMML (Zhang et al., 2024b),
Gui et al., 2024; Lin et al., 2024; Liu et al., 2025; Mustafa         the cross-spectral transformation can be considered as a
et al., 2022; Li et al., 2025). Subsequently, to facilitate           local linear transformation, while the linear factor will be
the implementation and flexible design of MoE, Hwang et               varied across different surfaces. It shows that the transfor-
al. (Hwang et al., 2023) open-sourced the Tutel codebase.             mation between different spectra is quite simple but variant.
Additionally, to reduce training and inference costs, Chowd-          Therefore, inspired by the idea of the Mixture-of-experts
hury et al. (Chowdhury et al., 2023) proposed pMoE, which             strategy and the above observation, FFM attempts to com-
can filter label-irrelevant patches and route similar class-          bine multiple simple generators to adapt to diverse input
discriminative patches to the same expert. Recently, many             tokens. In addition, it is interesting to find that this kind
works have attempted to introduce MoE into ReID. Among                of fusion strategy of FFM also works well for modality-
them, Li et al. (Li et al., 2023) proposed the MPC model,             missing scenarios in a modality-complementing way.
which leverages MoE to learn multiple pseudo-label spaces,
                                                                      Specifically, as shown in Figure 2, taking the RGB feature
thereby flexibly handling different variations. Xu et al. (Xu
                                                                      IR for example, it can be re-generated with NIR and TIR
et al., 2022) proposed the META model based on MoE to
                                                                      features as:
better exploit the domain-invariant characteristics of multi-
modal data. Kuang et al. (Kuang et al., 2024) proposed the             g
                                                                      IR             N
                                                                         = λ × IR + wR          N
                                                                                       (IN ) × gR          T
                                                                                                  (IN ) + wR          T
                                                                                                             (IT ) × gR (IT ),
MiKeCoCo model, which incorporates multiple experts with                                                                  (2)
unique perspectives into CLIP and fully leverages high-level
semantic knowledge for comprehensive feature representa-              where λ is hyper-parameters to determine the proportion
tion. Additionally, Li et al. (Li et al., 2022) explored an           of information retained by the modality itself, wR N
                                                                                                                           (·) and
orthogonal direction for domain generalization research and           wRT
                                                                          (·) generate the weighting coefficients for the features
proposed the GMoE model by combining ViT and MoE                      generated from NIR and TIR, respectively. And gR   N
                                                                                                                           (·) and
technologies. Based on the results of the aforementioned               T
                                                                      gR (·) represent the reconstructed RGB features from the
studies, we leveraged the advantages of MoE technology                NIR and TIR modality, respectively. The re-generated fea-
and utilized the Tutel framework to design and implement              tures of NIR and TIR are similar.
MoE techniques to enhance model performance.
                                                                      For the weight coefficient function w(·)1 , we define it as
                                                                      follows:
3. Methodology
                                                                       w(I) = f c AvgP ool(I) , Rn×d ⇒ R1×d ⇒ R1×1 , (3)
                                                                                             
As shown in Figure 2, the proposed MFRNet employs a
CLIP pre-trained vanilla ViT-base as its basic backbone
network. On this basis, our network comprises two princi-             where I ∈ Rn×d represents image feature from spe-
pal components, i.e., the feature fusion module (FFM) and             cific modality, AvgP ool represents global average pool-
the feature representation module (FRM). The FFM intro-               ing, and f c represents a linear layer. To normalize the
duces the pixel-level feature generation for flexible cross-          weight coefficients, we apply the Softmax operation on
modal interaction, which is also suitable for modal-missing           the weights of each reconstructed modality feature like
scenarios, while the FRM inherits the idea of the sparse                 1
                                                                             We omit the subscript for modality for simplification.

                                                                  3
