AI
New Framework Aligns Medical Imaging Data Across Modalities for Better Object Detection
Researchers propose a lightweight technique to train single detectors on mixed medical imaging sources by aligning feature representations through modality context.
Medical imaging systems struggle when a single detector is asked to handle multiple imaging modalities—such as chest X-rays, CT scans, and MRI—all at once. The core problem is that these different imaging types produce fundamentally incompatible data patterns and feature representations.
The Core Challenge#
Training one detector across diverse medical imaging sources creates a bottleneck. Each modality (CXR, CT, MRI) encodes information differently, leading to heterogeneous statistics and misaligned feature spaces. This heterogeneity degrades detection performance when a model must handle all modalities simultaneously.
Proposed Solution: Representation Alignment#
A new study from arXiv proposes tackling this through representation alignment—bringing features from different sources into a shared semantic space. The approach targets DETR-style object detectors, which use learnable query representations to identify objects.
The framework introduces two key components:
- Modality Tokens: Compact, text-derived embeddings that encode imaging modality information without requiring extra manual annotations.
- Multimodality Context Attention (MoCA): A mechanism that mixes object-query representations via self-attention, propagating modality context throughout the query set. This preserves the original detector architecture while injecting modality cues with minimal latency overhead.
Training Enhancement#
The researchers also introduce QueryREPA, a short pretraining stage that aligns query representations to their modality tokens using a contrastive learning objective balanced across modality batches. Together, MoCA and QueryREPA produce modality-aware, class-faithful queries ready for downstream training.
Key Benefits#
The combined approach delivers consistent improvements in Average Precision (AP) across diverse medical modalities trained together, while adding negligible computational overhead and requiring no architectural changes. This offers a practical pathway toward robust multimodal medical object detection in real-world clinical settings.

