Mixture of Chiral Transformer Experts (MoCTE)
- The paper introduces MoCTE as the illumination-conditioned core of MoCTEFuse, employing two expert subnetworks for high and low illumination levels.
- It leverages Chiral Transformer Fusion Blocks with asymmetric cross-attention to dynamically fuse visible and infrared features while reducing modality bias.
- The architecture integrates an illumination-sensitive gating network and competitive learning loss to enhance fusion quality and downstream detection accuracy.
Mixture of Chiral Transformer Experts (MoCTE) is the expert-fusion core of MoCTEFuse, a dynamic multi-level network for infrared and visible image fusion designed to account explicitly for illumination variation, which the underlying work identifies as a source of modality bias when ignored in fusion pipelines (Jinfu et al., 27 Jul 2025). In this formulation, MoCTE comprises two parallel expert subnetworks for high and low illumination, each built from stacked Chiral Transformer Fusion Blocks (CTFBs), while an illumination-sensitive gating network weights their outputs to preserve texture details and object contrasts in balance (Jinfu et al., 27 Jul 2025).
1. System-level formulation within MoCTEFuse
MoCTEFuse is organized into three main parts. The first part consists of two encoders, one for each modality. Each encoder begins with a convolution and LReLU, followed by cascaded Residual Transformer Blocks (RTBs) and Residual Dense Blocks (RDBs), producing multi-level features (Jinfu et al., 27 Jul 2025). The second part is the Mixture of Chiral Transformer Experts, which contains two parallel expert subnetworks: HI-MoCTE for high illumination, where the visible branch is primary and infrared is auxiliary, and LI-MoCTE for low illumination, where infrared is primary and visible is auxiliary. Each expert stacks Chiral Transformer Fusion Blocks to progressively fuse and refine cross-modal features. The third part is an illumination-sensitive gating network implemented with ResNet18, which computes the probabilities and of high and low illumination from and uses them to weight the outputs of HI-MoCTE and LI-MoCTE (Jinfu et al., 27 Jul 2025).
The architecture therefore couples feature extraction, illumination-conditioned expert selection, and multi-stage cross-modal refinement in a single pipeline. The paper positions this design against methods that directly merge source images without modeling illumination changes, arguing that such omission leads to modality bias in the fused results (Jinfu et al., 27 Jul 2025).
2. Chiral expert structure and asymmetric cross-attention
The defining mechanism of MoCTE is the Chiral Transformer Fusion Block. In each CTFB, linear projection and shifted window partition with window size project and to token sequences, after which an Asymmetric Cross-Attention (ACA) module fuses primary auxiliary information. The block then applies a feed-forward network composed of two MLP layers and GeLU, together with residual connections and LayerNorm (Jinfu et al., 27 Jul 2025).
The “chiral” property is realized by directional asymmetry in attention. Given a local window of size 0 from primary 1 and auxiliary 2, the model computes
3
and
4
where 5 are learnable. The keys and values are concatenated,
6
and ACA is defined as
7
with learnable relative position bias 8 (Jinfu et al., 27 Jul 2025). In HI-CTFB, 9 and 0; in LI-CTFB, the assignment is reversed. The multi-head extension splits 1, 2, and 3 into 4 heads of dimension 5, applies the same operation, and concatenates the results (Jinfu et al., 27 Jul 2025).
This asymmetry is central to the expert definition. Queries originate only from the primary modality, whereas keys and values pool both modalities. As a result, HI-MoCTE and LI-MoCTE are not merely two copies of the same transformer; they differ in which modality drives attention and which modality acts as auxiliary support.
3. Illumination-gated expert mixture
The illumination-sensitive sub-network takes 6 and outputs
7
The gating weights are defined as
8
The final fused image is then obtained by weighting the expert outputs 9 and 0: 1 At each stage 2 of the 3 stacked CTFBs, each expert produces feature maps 4 and 5, which may be fused immediately or only at the final stage through the same gating weights,
6
In practice, the paper states that the final output after the last CTFB is mixed as 7 (Jinfu et al., 27 Jul 2025).
A common misunderstanding would be to regard the two experts as interchangeable branches. The paper defines them as illumination-specific and modality-asymmetric: under high illumination, the visible branch is primary; under low illumination, the infrared branch is primary (Jinfu et al., 27 Jul 2025). This suggests that expert specialization is tied both to scene illumination and to the role assignment of the two sensing modalities.
4. Multi-level processing pipeline and implementation parameters
The algorithmic flow for one multi-level stage is specified as follows. The input pair 8 is first encoded to 9 and 0. For 1, the model runs HI-CTFB to produce 2 and LI-CTFB to produce 3, then updates the intermediate representations. Each expert is decoded to 4 and 5, for example through convolutional layers. The gating network computes 6 and 7 from 8, and the final fusion step forms 9 (Jinfu et al., 27 Jul 2025).
The key hyperparameters reported for MoCTEFuse are: window size 0, feature dimension 1, number of attention heads 2 with 3, and number of CTFB stages 4, which is described as empirically chosen. Training uses batch size 5, 6 epochs, and Adam with a warmup plus cosine learning-rate schedule. The loss weights are 7, 8, and 9 (Jinfu et al., 27 Jul 2025).
These choices define the operational scale of the architecture. In particular, the use of stacked CTFBs at multiple stages is presented as a mechanism to progressively aggregate and refine modality-specific and cross-modality information (Jinfu et al., 27 Jul 2025).
5. Training objectives and competitive learning
Training separates the illumination-sensitive sub-network from the fusion network. For illumination prediction, the ResNet18 gating module uses Binary Cross-Entropy: 0 where 1 for high illumination and 2 otherwise (Jinfu et al., 27 Jul 2025).
For fusion, the paper introduces a Competitive Learning Loss built from three per-image sub-losses. The intensity term is
3
The gradient term is
4
The structural term is
5
with 6. These are combined as
7
where 8 (Jinfu et al., 27 Jul 2025).
For each expert 9, the output 0 denotes 1, and
2
The final competitive fusion loss is defined as
3
Its gradient is described as dynamically allocating larger backward weight to the currently better-performing expert (Jinfu et al., 27 Jul 2025).
Within the reported framework, this loss design integrates illumination distributions with three levels of sub-loss terms. A plausible implication is that the optimization objective couples expert specialization to both gating probabilities and instantaneous reconstruction quality, rather than training both experts under a fixed, symmetric penalty.
6. Empirical findings, ablations, and downstream detection
The reported experiments cover the DroneVehicle, MSRS, TNO, and RoadScene datasets, where MoCTEFuse is stated to show superior fusion performance (Jinfu et al., 27 Jul 2025). The paper’s ablation study on MSRS attributes a distinct role to each component. Removing HI-MoCTE, implemented as forcing 4, reduces EN, SD, MI, and VIF by up to 5. Removing LI-MoCTE, implemented as 6, similarly degrades all metrics. Replacing the competitive loss with the simple weighted sum of Eq.10 hurts especially MI, with a drop of approximately 7, and VIF, with a drop of approximately 8 (Jinfu et al., 27 Jul 2025).
The paper interprets these results as confirmation that both experts and the competition mechanism are critical for balanced fusion under varying illumination (Jinfu et al., 27 Jul 2025). More narrowly, the ablations indicate that neither illumination regime can be collapsed into the other without measurable loss, and that the competitive objective contributes beyond the three-term reconstruction loss alone.
For downstream detection, the fused images are reported to achieve the best detection mean Average Precision. On the MFNet general-detection benchmark with 9 manually annotated images, MoCTEFuse fused images yield 0 and 1, surpassing all prior fusion baselines by more than 2 to 3. On the DroneVehicle oriented detection test, 4 improves from 5 for infrared alone and 6 for visible alone to 7 after MoCTEFuse (Jinfu et al., 27 Jul 2025). The code and model are released at the project repository specified in the paper (Jinfu et al., 27 Jul 2025).
Taken together, the reported evidence presents MoCTE as the mechanism through which MoCTEFuse couples twin expert streams, illumination gating, asymmetric cross-attention, and competitive loss to adapt dynamically to lighting variations (Jinfu et al., 27 Jul 2025). Within the scope of the published results, the method is framed not simply as a fusion backbone but as an illumination-conditioned expert system whose value is evaluated both by image-fusion metrics and by downstream detection accuracy.