Multimodal Medical Image Parsing with Task-Specific Low-Rank Adapters
Authors: Taha Sabir, Alberto Montero Molina, Thinh Quang Ly, Veronika Dmitrenko, Mohammad Yaqub, Tausifa Jan Saleem
Organizations: Department of Computer Science, Gettysburg College, Gettysburg, PA 17325, USA · Higher School of Computing (ESCOM), Instituto Politécnico Nacional (IPN), Mexico City 07738, Mexico · Department of Computer Science and Engineering, Michigan State University, East Lansing, MI 48824, USA · Faculty of Computer Science and Faculty of Economic Sciences, HSE University, Moscow, Russia · Computing and Mathematical Sciences Division, Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, United Arab Emirates
Adapting a single vision-language model to medical image parsing requires training choices that reflect the demands of each task. We study task-specific adaptation with Qwen3.5-9B for FLARE 2026 Task 3, covering six task families and seven imaging modalities. Our system couples a shared, frozen 4-bit backbone with LoRA adapters selected from the input question. We customize adapter ranks and prompts, rebalance rare classification targets, and supplement regression training with dermatology classification examples. On the fixed internal holdout, the task-specific adapters achieve a dataset-macro balanced accuracy of 0.7791 for classification, a dataset-macro micro-F1 of 0.6286 for multi-label classification, a counting mean absolute error (MAE) of 11.73, a dataset-macro detection F1 of 0.8914, a dataset-macro regression MAE of 9.78, and a report-generation CRIMSON score of 0.8204. On the organizer's 1,703-example hidden-validation set, the submitted system achieves 0.8496 classification balanced accuracy, 0.5338 sample-averaged multi-label F1, and 14.5950 regression MAE. The final 30.1 GB container averages 3.1 seconds per case, including model loading, and produces identical outputs across repeated verification runs. The benefits vary across tasks, supporting the use of task-specific adapter configurations and image budgets within a shared medical vision-language model. Code is available at https://github.com/TahaSabir0/FLARE26-Hexapus.
Figures & tables
Figure 1: Routed inference with a shared quantized backbone. The question selects a specialist or the general fallback, together with the image budget and prompt used for answer generation.
Route
Data scope
Pixels
LoRA r/ α
Prompt
Output
Classification
Full labeled pool, oversampled
20482
32/64
Bare
Label string
Multi-label classification
Full labeled pool
20482
64/128
Medical
Label set
Counting
Full labeled pool
20482
8/16
Counting
Numeric string
Detection
Full labeled pool
20482
8/16
Bare
Nested boxes
Regression
A ∪ B + bcn20000 donor mixture
20482
8/16
Bare
Numeric string
Report generation
A ∪ B
7682
8/16
Bare
Free text
Table 1: Per-route configuration of the proposed system. Pixel values denote maximum image-area budgets, not forced square resizing.
Figure 2: Image-grouped development partitions and configuration-screening subsets. Percentages are approximate; A′ and B′ each contain 30% of their parent partition. Public-validation images overlapping the organizer training data were removed.
Component
Setting
System
Ubuntu 22.04.5 LTS (A5000 workstation)
CPU / RAM
32 cores / 256 GB (A5000 workstation)
GPUs
NVIDIA RTX A5000 (24 GB)
NVIDIA RTX PRO 6000 Blackwell (96 GB)
Framework
PyTorch 2.11.0, CUDA 12.8
Training library
LLaMA-Factory 0.9.5
Table 2: Development environment.
Parameter
Setting
Epochs
3
Effective batch size
8
Optimizer
AdamW
Initial learning rate
2×10−4
Learning rate schedule
Linear decay, 3% warm-up
Maximum sequence length
8,192 tokens
Table 3: Shared training settings for the QLoRA adapters.
Figure 3: Zero-shot and adapted Qwen3.5-9B on internal and public-validation data, using the protocols in Section 3.1 . BA denotes balanced accuracy; multi-label F1 is micro-averaged within each dataset. Task scores are dataset macros, except single-dataset counting and report generation. Report means use the same successfully scored cases for both models; no format-assisted report run was performed. Public validation has no regression cases. Arrows indicate the better direction.
Task
Dataset
Metric
n
Resolution
Qwen3.5-9B
Classification
CMMD
BA
357
20482
0.5970
BCN20000
BA
286
20482
0.6900
Dental
BA
420
20482
0.6700
Neojaundice
BA
60
20482
0.8100
Bone marrow
BA
72
20482
0.8660
BUS-UCLM
BA
52
20482
0.9190
Table 4: Per-dataset results of the route-matched Qwen3.5-9B adapters on the internal holdout. The report score uses all 781 adapted-model scores; Fig. 3 uses the 780 reports jointly scored with zero-shot.
Task
Metric
n
Score
Classification
Balanced accuracy ↑
1,126
0.8496
Multi-label classification
Sample-averaged F1 ↑
477
0.5338
Regression
MAE ↓
100
14.5950
Table 5: Official hidden-validation performance of the submitted Qwen3.5-9B system. Scores are pooled by task.
(a) General versus task-specific adapters
Task
Metric
General
Specialist
Classification
BA ↑
0.7348
0.7695
Multi-label classification
F1 ↑
0.6157
0.6130
Counting
MAE ↓
14.3400
13.4500
Detection
F1 ↑
0.8876
0.9194
Regression
MAE ↓
12.1600
10.1800
Table 6: Configuration ablations on the internal holdout. (a) General adapter versus task specialists at matched 7682 input. (b) Resolution comparisons for task specialists. Regression is the mean MAE over two datasets.
Figure 4: Representative successes or low-error predictions (left) and failures (right). Classification and detection use non-overlapping validation-public cases; regression uses the internal holdout because public validation has no regression cases. Blue boxes show ground truth and orange boxes show predictions. All examples use task-specific A∪B adapters.
Measure
Observed
Limit or check
Mean runtime (incl. model loading)
3.1 s/case
≤6.57 s/case
Container image size
30.1 GB
≤35 GB
Repeated-run identity
32/32 cases
Identical outputs
Table 7: Final container verification on 32 cases covering all six tasks.
Balanced accuracy
Multi-label F1
Detection F1
MAE
0.8585
0.5310
0.8633
18.5286
Table 8: Organizer-reported final-testing results for Hexapus.
Requirements
Answer
A meaningful title
Yes
The number of authors ( ≤ 6)
6
Author affiliations and ORCID
Yes
Corresponding author email is presented
Yes
Validation scores are presented in the abstract
Yes
Introduction includes at least three parts: background, related work, and motivation
Yes
Table 9: Checklist Table. Please fill out this checklist table in the answer column.
Medical vision-language models (VLMs) allow a single model to perform clinical image analysis tasks ranging from diagnosis classification to report generation. However, joint adaptation is challenged by heterogeneous output formats, conflicting task gradients, and imbalanced training data. Hence, we present Two-Stage Mixture-of-LoRA, a framework built on MedGemma-1.5-4B. The framework uses a shared-specific Mixture-of-LoRA architecture comprising one shared LoRA and six task-specific expert LoRAs, together with a two-stage training procedure. In Stage 1, we jointly train the shared LoRA and all task-specific expert LoRAs on all tasks. In Stage 2, we first freeze the backbone, the shared LoRA, and all non-target experts, and refine one task expert at a time. Classification and regression then receive an additional modality-balanced continuation, in which smaller modality groups are repeated to match the largest group. In the FLARE 2026 Task 3 test sets, the proposed method achieves 0.85 balanced accuracy for classification, 0.48 micro-F1 for multi-label classification, 0.79 detection F1, and 17.39 regression MAE. Code is available at https://github.com/YuanYL03/MICCAI-FLARE-2026-Challenge-Task3-2D.
Zhanghao Chen, Yuanyuan Li, Zhenyu Lu +3
School of Computer Science and Engineering, Southeast University, Nanjing 211189, China · School of Biological Science & Medical Engineering, Southeast University, Nanjing 211189, China
Learning across medical imaging modalities requires making use of images without paired text and accommodating new domains while retaining existing representations. We propose a medical vision-language technique built around an expandable bank of modality experts. Its Multiway Transformer combines shared visual computation with deterministically routed feed-forward experts and a separate text pathway. A modality-aware visual tokenizer supplies targets for masked pretraining on 19.4 million unpaired image rows across seven modalities; contrastive alignment then uses 3.23 million image-text pairs. Additional fundus and optical coherence tomography experts learn from paired data while the original image and text embedding paths remain frozen. With a ViT-Large backbone, the proposed technique achieves the best or tied-best result in 24 of 25 benchmark settings across nine modalities: 10 of 11 zero-shot classification benchmarks, all 10 linear probes, and all four retrieval benchmarks. Mean balanced accuracy is 0.674 for zero-shot classification and 0.856 for linear probing, and mean bidirectional retrieval recall is 20.70%. A separate three-seed sequential experiment with matched adaptation data yields fundus and OCT retrieval gains of 14.95 and 9.31 percentage points, with no measured loss on preceding fundus or pathology tasks. The preservation argument requires unchanged existing computation paths and inference conditions, and feature-identity checks verify retention on evaluated inputs. The proposed technique provides a modular approach to learning and expanding medical vision-language representations.
DM BAPPY, Eunsu Kim, Hanjoo Lee +2
Korea University · The Catholic University of Korea
Vision-language models (VLMs) pre-trained on large, heterogeneous data sources are becoming increasingly popular, providing rich multi-modal embeddings that enable efficient transfer to new tasks. A particularly relevant application is few-shot adaptation, where only a handful of annotated examples are available to adapt the model through multi-modal linear probes. In medical imaging, specialized VLMs have shown promising performance in zero- and few-shot image classification, which is valuable for mitigating the high cost of expert annotations. However, challenges remain in extremely low-shot regimes: the inherent class imbalances in medical tasks often lead to underrepresented categories, penalizing overall model performance. To address this limitation, we propose leveraging unlabeled data by introducing an efficient semi-supervised solver that propagates text-informed pseudo-labels during few-shot adaptation. The proposed method enables lower-budget annotation pipelines for adapting VLMs, reducing labeling effort by >50% in low-shot regimes.
Julio Silva-Rodríguez, Ender Konukoglu
Computer Vision Lab, ETH Zurich, Zurich, Switzerland