UniCAD: Efficient and Extendable Architecture for Multi-Task Computer-Aided Diagnosis System

Yitao Zhu, Yuan Yin, Zhenrong Shen, Zihao Zhao, Haiyu Song, Sheng Wang, Dinggang Shen, Qian WangarXiv 2025 · DOI

Abstract

Computer-Aided Diagnosis (CAD) systems face a significant challenge in balancing diagnostic accuracy with deployment efficiency. Current solutions typically rely on either large multi-task models that suffer from catastrophic forgetting or a collection of independent specialized models that lead to prohibitive memory costs. This paper introduces UniCAD, a unified and modular framework designed to bridge the gap between 2D and 3D medical imaging. By utilizing a frozen vision foundation model and injecting lightweight task-specific "experts" via Low-Rank Adaptation (LoRA), UniCAD achieves state-of-the-art performance with only 0.17% additional parameters. Our approach significantly reduces GPU memory overhead and supports efficient, simultaneous multi-task processing, paving the way for scalable and deployable clinical AI.

Introduction

The field of Computer-Aided Diagnosis (CAD) is currently fragmented. Clinicians and researchers often face a "pick your poison" scenario: they must choose between massive multi-task models, which are prone to losing previously learned skills (catastrophic forgetting), and independent specialized models. While specialized models are accurate, they are highly redundant and demand significant storage and memory, making them difficult to deploy in real-world clinical settings. Furthermore, most vision foundation models are optimized for 2D data, leaving 3D modalities like CT and MRI as isolated systems.

The Challenge of Multi-Task CAD

The primary bottleneck in deploying multiple specialized models is the linear scaling of memory requirements. Each new diagnostic task typically requires its own full-sized model, leading to a "memory wall" in hospital IT infrastructures. This redundancy prevents the seamless integration of diverse diagnostic tools into a single workstation.

Traditional independent specialized models achieve high accuracy but suffer from poor deployment efficiency due to high GPU memory consumption.

The UniCAD Architecture

UniCAD addresses these issues through a modular architecture that shares a single, frozen backbone across all tasks. This allows multiple diagnostic "experts" to coexist on a single shared foundation.

UniCAD enables a single GPU memory footprint to handle diverse medical imaging tasks by using a shared backbone and lightweight task-specific experts.

The system introduces three core technical innovations:

  1. Unified Embedding Layer (UEL): This layer standardizes both 2D images and 3D volumetric data into a common token sequence format. This allows a standard Vision Transformer (ViT) backbone—originally trained on 2D natural images—to process 3D medical data without structural changes.
  2. LoRA Experts: Instead of fine-tuning the entire model for every new disease, UniCAD keeps the backbone frozen. It only trains tiny "LoRA" matrices (0.17% of total weights) for each specific task. These act as "plug-and-play" experts that are injected into the model during inference.
  3. Rank Standardization for Batching: To handle heterogeneous task flows (e.g., simultaneous processing of a chest X-ray and a brain CT), the authors developed a method to standardize the rank of different LoRA experts, allowing for efficient parallel processing on a single GPU.

Experimental Evaluation

The researchers evaluated UniCAD across 12 diverse medical datasets covering 8 2D tasks (e.g., NIH Chest X-ray14, PathMNIST, DermaMNIST) and 4 3D tasks (e.g., NoduleMNIST3D, FractureMNIST3D).

Key Results

  • Performance Parity: Updating less than 1/500th of the parameters (0.17%) was sufficient to match the performance of fully fine-tuned models.
  • Memory Efficiency: In multi-task deployment simulations, UniCAD required only 0.93G of GPU memory, compared to 4.48G for a standard fine-tuned ViT—a nearly 5x reduction in memory footprint.
  • Scalability: The framework scales effectively to "Giga" ViT models (1.7 billion parameters) without a proportional increase in trainable parameters.
  • The DEAR Metric: The authors proposed the Diagnostic Efficacy and Allocation Ratio (DEAR) to evaluate the trade-off between accuracy and hardware resources. UniCAD maintains a stable DEAR score even as the number of tasks increases.

Discussion and Future Work

UniCAD demonstrates that features learned from natural images are robust enough for medical diagnosis when guided by minimal task-specific steering. This suggests that 3D medical imaging doesn't necessarily require specialized 3D pre-training if data is tokenized correctly.

While currently a vision-only system, future work aims to integrate textual data from electronic health records and radiology reports. The authors envision an "Open Ecosystem" where institutions can share lightweight LoRA weights (the "experts") without sharing sensitive patient data, fostering global collaboration in medical AI.

Summary updated

Abstract

The growing complexity and scale of visual model pre-training have made developing and deploying multi-task computer-aided diagnosis (CAD) systems increasingly challenging and resource-intensive. Furthermore, the medical imaging community lacks an open-source CAD platform to enable the rapid creation of efficient and extendable diagnostic models. To address these issues, we propose UniCAD, a unified architecture that leverages the robust capabilities of pre-trained vision foundation models to seamlessly handle both 2D and 3D medical images while requiring only minimal task-specific parameters. UniCAD introduces two key innovations: (1) Efficiency: A low-rank adaptation strategy is employed to adapt a pre-trained visual model to the medical image domain, achieving performance on par with fully fine-tuned counterparts while introducing only 0.17% trainable parameters. (2) Plug-and-Play: A modular architecture that combines a frozen foundation model with multiple plug-and-play experts, enabling diverse tasks and seamless functionality expansion. Building on this unified CAD architecture, we establish an open-source platform where researchers can share and access lightweight CAD experts, fostering a more equitable and efficient research ecosystem. Comprehensive experiments across 12 diverse medical datasets demonstrate that UniCAD consistently outperforms existing methods in both accuracy and deployment efficiency. The source code and project page are available at https://mii-laboratory.github.io/UniCAD/.
BibTeX
@misc{zhu2025unicad,
  author = {Yitao Zhu and Yuan Yin and Zhenrong Shen and Zihao Zhao and Haiyu Song and Sheng Wang and Dinggang Shen and Qian Wang},
  title = {{UniCAD: Efficient and Extendable Architecture for Multi-Task Computer-Aided Diagnosis System}},
  year = {2025},
  eprint = {2505.09178},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.09178},
}
Figure