RPI's X-WIN Teaches Chest X-Ray AI to See in 3D Without CT Scans
A new foundation model teaches a 2D chest X-ray encoder to think in 3D by predicting CT projections under simulated source rotations.
ProTakeaways
- X-WIN distills 3D anatomy from CT into a 2D chest X-ray encoder via predictive sensing.
- Model learns to predict latent projections as an X-ray source rotates around a simulated CT volume.
- Achieves 0.892 average AUROC across five CXR benchmarks with ViT-Large, beating Ark+ and CheXWorld.
- Trained on 372K MIMIC-CXR radiographs plus 32K NLST CT scans using 8 A100 GPUs.
- Can render projections that reconstruct 3D CT at 27.87 dB PSNR, confirming spatial understanding.
- Code and weights available at github.com/RPIDIAL/X-WIN.
A team from Rensselaer Polytechnic Institute and Massachusetts General Hospital has released X-WIN, a chest X-ray foundation model that learns 3D anatomical structure without ever consuming a 3D volume at inference time. Instead of training on radiographs alone, it distills volumetric knowledge from CT scans by learning to predict what a chest would look like if the X-ray source were rotated around the patient.
The result is a vision encoder that beats every prior CXR foundation model on standard benchmarks with linear probing, and can even be inverted to reconstruct a 3D CT volume from its own rendered projections. Code and training details are available on the project's GitHub repository.
Why flat X-rays hold models back
Chest X-rays are the most widely used imaging technique for thoracic disease detection, but as 2D projectional images they suffer from structural superposition and fail to capture 3D anatomy. CT scans solve that problem by reconstructing volumes from many angular projections, but CT scanning costs roughly five times more than a CXR, delivers substantially more radiation, and is far less accessible in underdeveloped regions due to high installation and maintenance costs.
The authors' insight is anatomical rather than technical. When radiologists look at frontal and lateral CXRs, they cognitively reconstruct an internal 3D model of the chest to reason through occlusions. Existing CXR foundation models, including the recent CheXWorld, which introduced action-conditioned self-supervised objectives for radiograph representations, remain limited to 2D and embed no 3D knowledge. X-WIN is designed to close that gap.

Predictive sensing with a rotating X-ray source
X-WIN adapts the Joint-Embedding Predictive Architecture (JEPA) paradigm, where a model learns representations by predicting a target embedding rather than reconstructing raw pixels. The framework uses two networks: a context encoder plus a lightweight action-conditioned view predictor that generates latent projection predictions, and an exponential moving average encoder that receives multiple projections of a target CT volume to supervise the prediction.
The action is the key innovation. The team formulates the action as rotation of a radiation source emitting cone-beam X-rays, directly inspired by tomographic scanning that rotates an X-ray source to collect projections at different angular positions. The context is a routine frontal or lateral CXR; the model must predict how the latent representation should change when the source is rotated by a specified angle. If it can do that accurately across many angles, the latent space has effectively internalized 3D anatomy.
Three training losses work in concert:
- Affinity-guided contrastive alignment. A standard InfoNCE loss treats all non-matching projections as negatives, but projections sampled from the same volume contain rich anatomical correspondences, so hard alignment throws away useful signal. The authors soften this by weighting negatives with an affinity matrix computed from mutual similarities between target representations.
- Masked image modeling on both real CXRs and simulated projections, which forces the encoder to learn local anatomical patches.
- Structure-preserving domain adaptation, using a small domain classifier that pushes simulated-projection embeddings to be statistically indistinguishable from real CXR embeddings while preserving structural correspondence to the target.
Training setup and hyperparameter findings
X-WIN was trained on 371,951 frontal and lateral CXRs from MIMIC-CXR and 32,371 chest CT scans from the NLST, with X-ray projections generated from CT volumes using cone-beam geometry via the DiffDRR algorithm. Encoders and predictors use ViT with a patch size of 16 and 512-pixel input resolution, and the rotation angle was constrained to between minus 90 and plus 90 degrees with 8 sampled projections per volume. Training ran for 100 epochs on eight A100 40GB GPUs at batch size 12.
Two ablation results stand out. A 3-degree rotation step size gave the best performance; larger steps (5, 10, 15 degrees) degraded results due to sparse sampling, and a 1-degree step underperformed likely because targets became too similar to each other. Also, direct yaw rotation outperformed step-wise rotation, which divides a large rotation into individual increments and diminishes the degrees of freedom the model must learn. Full 3D Euler-angle rotation (yaw, pitch, roll) hurt performance, likely because the extra views drift too far from the frontal/lateral distribution that downstream CXRs actually come from.
Benchmark results
Under linear probing across five standard CXR benchmarks (VinDr, CheXpert, NIH-CXR, RSNA, JSRT), X-WIN sets a new state of the art. The ViT-Large variant reaches 0.892 average AUROC, up from 0.863 for the previous best model (Ark+) and 0.844 for CheXWorld, despite using the same MIMIC-CXR pretraining data plus 32K CT volumes.
| Model | Backbone | Avg. AUROC |
|---|---|---|
| DINOv2 | ViT-Base | 0.728 |
| RAD-DINO | ViT-Base | 0.791 |
| CheXFound | ViT-Large | 0.858 |
| CheXWorld | ViT-Base | 0.844 |
| Ark+ | Swin-Base | 0.863 |
| X-WIN | ViT-Base | 0.883 |
| X-WIN | ViT-Large | 0.892 |
In few-shot fine-tuning for COVID-19 detection on COVIDx, X-WIN reached 0.993 AUROC using all training data, outperforming every comparison model. Notably, Ark+ still edges it in the extreme 4-shot regime, which the authors attribute to Ark+ leveraging disease labels during pretraining while X-WIN is purely self-supervised.
Rendering CT from a CXR encoder
To verify that the representations genuinely encode 3D structure, the team trained a VQ-GAN decoder on top of the frozen encoder and view predictor, then used the FDK tomographic reconstruction algorithm to build a 3D volume from projections the model rendered itself. The rendered 2D projections reached 30.23 dB PSNR and 0.888 SSIM, and the reconstructed 3D volumes reached 27.87 dB PSNR and 0.789 SSIM. That is not diagnostic-quality CT, and the paper is candid that the reconstructions preserve overall structure and reasonable local detail but lose some fine detail due to the abstraction of visual representations.
What it is and is not good for
X-WIN is best treated as a drop-in vision encoder for downstream CXR classification, detection, and few-shot adaptation to new pathologies. Because it is trained with a domain-adaptation loss between simulated and real radiographs, it transfers cleanly to real CXRs without additional alignment. The 3D reconstruction capability is more of a diagnostic probe than a clinical tool. It shows the latent space is spatially meaningful, but the loss of local detail means it should not replace CT for actual diagnosis. And in scenarios where labeled disease supervision is available at pretraining scale, label-supervised models like Ark+ may still have an edge in extreme low-shot regimes.