Raptor: Scalable Train-Free Embeddings for 3D Medical Volumes Leveraging Pretrained 2D Foundation Models

Ulzee An, Moonseong Jeong, Simon Austin Lee, Aditya Gorla, Yuzhe Yang, Sriram Sankararaman

Introduction

Raptor (Random Planar Tensor Reduction) introduces a highly scalable, "train-free" framework designed to generate rich embeddings for 3D medical volumes. By creatively leveraging frozen 2D foundation models trained on natural images, Raptor bypasses the need for costly 3D pretraining. Through a combination of 3-axis slice sampling and random projections, it outperforms state-of-the-art models specifically trained on 3D medical data, all while requiring significantly less compute and storage.

The Challenge of 3D Medical Data

Developing foundation models for 3D volumetric data, such as MRI and CT scans, is notoriously difficult. The "curse of dimensionality" dictates that standard architectures—like 3D Convolutional Neural Networks or 3D Transformers—incur cubic or higher computational costs. Furthermore, while 2D image datasets have scaled to billions of samples, the largest 3D medical datasets remain orders of magnitude smaller. This data scarcity makes it incredibly challenging to train robust, generalizable 3D models from scratch.

Existing solutions often rely on costly pretraining within specific medical domains. The authors of Raptor propose a paradigm shift: What if we skip 3D training entirely and instead harness the powerful visual representations already learned by 2D foundation models on natural images?

The Raptor Methodology

Raptor’s pipeline is elegant in its simplicity, requiring zero training on the volumetric data itself. The process unfolds in five key steps:

  1. 3-Axis Sampling: Instead of processing the volume as a dense 3D block, Raptor extracts 2D cross-sectional slices along three orthogonal axes: axial, coronal, and sagittal.
  2. 2D Encoding: Each slice is passed through a frozen 2D foundation model (specifically DINOv2-L). This extracts "visual tokens" that capture semantic features like textures, edges, and contours.
  3. Planar Reduction: To manage the massive amount of data generated by tokenizing every slice, Raptor mean-pools the tokens across the slices for each axis.
  4. Random Projections: Leveraging the Johnson-Lindenstrauss lemma—which states that high-dimensional distances can be preserved in lower dimensions—Raptor applies a fixed random matrix to compress the tokens. This reduces the embedding size by up to 50x without losing critical semantic information.
  5. Flattening: The final compressed embeddings from the three axes are concatenated into a single, compact vector.
The Raptor pipeline: from dense volume to a compact 76k embedding via 3-axis sampling and random projections.

Key Insights and Innovations

  • 2D Foundations are Robust: A major takeaway is that a model trained purely on natural images (like DINOv2) contains enough "universal" visual features to effectively represent complex internal human anatomy.
  • Triangulation over 3D Convolutions: By sampling from three orthogonal axes, Raptor captures 3D spatial relationships through triangulation, avoiding the heavy computational burden of 3D kernels.
  • Randomness as a Feature: Instead of relying on data-dependent fitting methods like PCA or learned projections, Raptor uses fixed random projections. This provides theoretical guarantees for distance preservation and makes the method truly "plug-and-play."

Performance and Few-Shot Efficiency

The authors evaluated Raptor across ten diverse medical volume tasks, including 3D Medical MNIST benchmarks, COVID-19/pneumonia classification (CC-CCII), and brain phenotype regression (UKBB).

Raptor consistently outperformed specialized 3D models that underwent extensive pretraining. It achieved a +3% improvement over SuPreM, +6% over MISFM, and up to +14% over SLIViT across various tasks. Remarkably, Raptor achieves this while its embeddings have a footprint approximately 99% smaller than raw voxels.

Furthermore, Raptor excels in data-scarce environments. Because the generated embeddings are fixed and high-quality, a simple linear classifier trained on top of them can achieve high accuracy with minimal data. For instance, on the Synapse dataset, Raptor achieved 77% of its peak performance using only 10 training samples, significantly outpacing competing methods in low-data regimes.

Raptor's performance vs. training sample size. It maintains a significant lead even when data is extremely limited.

Limitations and Future Work

While highly effective, Raptor did experience a slight performance dip on the Fracture3D dataset. The authors hypothesize that fractures represent "non-smooth," localized features that may be smoothed over or lost during the mean-pooling (planar reduction) step.

Future directions could involve refining sampling strategies or exploring non-linear aggregations to better capture subtle, localized anomalies. Additionally, because Raptor is model-agnostic, it stands to benefit seamlessly from future upgrades as even more powerful 2D foundation models are released.

Summary updated

BibTeX
@inproceedings{an2025raptor,
  author = {Ulzee An and Moonseong Jeong and Simon Austin Lee and Aditya Gorla and Yuzhe Yang and Sriram Sankararaman},
  title = {{Raptor: Scalable Train-Free Embeddings for 3D Medical Volumes Leveraging Pretrained 2D Foundation Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=4yHWV3B6g4},
}
Figure