TL;DR
QoQ-Med is the first open generalist clinical foundation model capable of jointly reasoning across 1D time-series signals (like ECGs), 2D/3D medical images, and textual health records. By introducing Domain-aware Relative Policy Optimization (DRPO), a novel reinforcement learning objective that hierarchically scales rewards based on domain rarity and task difficulty, the model achieves a massive 43% average boost in macro-F1 diagnostic performance over standard critic-free RL methods.
What Problem Does This Paper Address?
Modern clinical diagnosis is inherently multimodal, requiring doctors to synthesize information from 1D sensor waveforms (ECG, EEG), 2D/3D imaging (X-rays, CT scans, MRIs), and text-based electronic health records (EHR). However, existing medical Multimodal Large Language Models (MLLMs) are heavily vision-centric and typically fail to integrate 1D signal data natively with 2D/3D visual data.
Furthermore, clinical data distributions are notoriously skewed; common conditions and modalities (like chest X-rays) dominate datasets, while rare diseases or specialized modalities (like ultrasound or mammography) are severely underrepresented. When training models using recent critic-free reinforcement learning (RL) methods like Group Relative Policy Optimization (GRPO), the lack of per-sample re-weighting causes models to overfit on easy, abundant samples, neglecting rare but critical clinical domains. Finally, standard models operate as "black boxes," providing diagnoses without explaining their underlying clinical reasoning or localizing the physical evidence in the medical images.
Methods
The authors introduce QoQ-Med (available in 7B and 32B variants), built on top of the Qwen2.5-VL backbone. To handle temporal 1D data alongside visual data, they prepend a pretrained time-series encoder (ECG-JEPA) and project its outputs into the LLM's token space, allowing text, images, and raw waveforms to be interleaved natively.
To train the model equitably across diverse tasks, they propose Domain-aware Relative Policy Optimization (DRPO). DRPO enhances GRPO by introducing a Hierarchical Cluster-Based Scaling mechanism:
- Intra-Domain Clustering: At each training step, question-level rewards within a specific domain are clustered using K-means to identify subsets of varying difficulty.
- Hierarchical Scaling: The algorithm computes inter-domain and intra-domain "temperature factors" based on domain size and average reward. Rewards are inversely multiplied by these factors, meaning smaller (scarce) domains and harder question clusters receive higher weights during optimization.
The reward function combines diagnostic accuracy (F1 score), a semantic alignment reward (Intersection-over-Union [IoU] between model-generated bounding boxes and ground-truth segmentation masks), and auxiliary formatting rewards to ensure the model outputs a structured chain-of-thought.
Datasets
QoQ-Med is trained on 2.61 million instruction-tuning pairs across 33 datasets from the CLIMB corpus, spanning 1D, 2D, and 3D modalities across 9 to 11 clinical domains (including 707K 2D images, 1.83M 3D images, and 78.9K ECG data points).
For multimodal evaluation, the authors utilize the MIMIC-IV dataset, evaluating the model on complex multi-source tasks: Length of Stay (LOS) prediction and 48-hour In-Hospital Mortality (48-IHM) prediction using combined chest X-rays, 12-lead ECG traces, and text records.
Key Insights and Ideas
- 1D + 2D/3D Synergy: Natively embedding raw 1D waveforms alongside multi-dimensional images in a single LLM backbone prevents "modality competition" and allows the model to effectively aggregate complementary clinical signals.
- The Flaw in Critic-Free RL: While critic-free methods like GRPO are computationally efficient, removing the critic network eliminates per-sample re-weighting. DRPO proves that you can restore this flexibility—and prevent overfitting on easy data—by dynamically adjusting rewards using online clustering and domain frequency tracking.
- RL-Driven Interpretability: Rather than relying on post-hoc explanation methods, QoQ-Med uses RL rewards to directly incentivize the model to think out loud (chain-of-thought) and physically point to anomalies using bounding boxes, bridging the trust gap for clinical deployment.
Key Results
- Diagnostic Boost: DRPO training improved average diagnostic macro-F1 scores by 43% across all visual domains compared to standard GRPO, with the most dramatic gains seen in understudied modalities like ultrasound and mammography.
- State-of-the-Art Performance: QoQ-Med-32B outperformed existing open-source clinical MLLMs (such as LLaVa-Med and Med-R1) and achieved competitive or superior accuracy compared to closed-source commercial giants like GPT-4o and OpenAI o4-mini across most clinical domains.
- Precision Localization: Driven by the semantic alignment reward, QoQ-Med achieved a bounding-box IoU 10x higher than existing open models, matching the performance of OpenAI o4-mini in highlighting salient diagnostic regions.
- Multimodal Fusion: On the MIMIC-IV benchmark, the full tri-modal model (ECG + X-ray + Text) achieved an F1 score of 0.283 for Length of Stay prediction, significantly outperforming text-only (0.195) or vision-only (0.223) ablations.
Limitations and Future Work
The primary limitation of QoQ-Med is its sample efficiency. Because the model's intermediate reasoning traces are learned entirely via unsupervised reinforcement learning rewards (rather than direct expert supervision), the training process requires a massive volume of rollouts to converge on high-quality clinical logic.
The authors suggest that future work should focus on developing data-efficient methods to elicit high-quality clinical reasoning, particularly for highly complex and understudied modalities like raw ECG waveforms and 3D ultrasound videos.
Summary updated