JECT: Addressing the Context Shortcut in Joint-Embedding Predictive Learning for Chest CT

Hanbin Ko, Hong-Jun Choi, Jihun Kim, Young-Gon Kim, Dongheon Lee, Chang Min ParkarXiv 2026

TL;DR

Self-supervised vision models usually learn by guessing missing parts of an image from the surrounding context—a great strategy for dogs and cars, but terrible for tiny, unexpected tumors in 3D chest CT scans. When a lung nodule is masked out, the safest statistical guess is always "healthy tissue," leaving the model with zero incentive to actually learn what disease looks like. JECT fixes this "context shortcut" by giving radiology reports a clever dual role during training, producing an image encoder that captures fine clinical details and a predictor that can highlight exactly where a report sentence points in a 3D scan—without any extra training.

What Problem Does This Paper Address?

Imagine playing a fill-in-the-blank game with a chest CT scan. If we hide a chunk of healthy lung, you can easily guess what goes there by looking at the neighboring ribs and airways. This is the core engine behind Joint-Embedding Predictive Architectures (JEPA), which train an image encoder by masking regions of an input and predicting their high-level representations (features) from the visible surroundings.

Here is the catch: clinically crucial findings—like a tiny, early-stage lung nodule—cannot be predicted from the healthy tissue around them. When a mask covers a nodule, the mathematically optimal guess from the surrounding context is simply normal anatomy.

Figure 1. The context shortcut. When a finding is hidden, the best prediction is normal anatomy, for pixel (MAE) and feature (JEPA) targets alike. The error that remains cannot be reduced from the context, so it does not teach the encoder the finding. A JEPA target comes from the encoder, which could also lower the error by representing the finding less.

Because the predictor cannot reduce its error on unpredictable findings using context alone, the training loss provides no signal to the visual encoder to represent those findings—a flaw the authors call the context shortcut.

An obvious fix is to hand the accompanying radiology report to the predictor as a hint (conditioning). Surprisingly, the authors show this only moves the shortcut: the predictor aces the fill-in-the-blank test by reading the report, which lets the visual encoder stay lazy! The encoder still doesn't learn to spot the lesion on its own.

Methods

To force the visual encoder to actually learn clinical findings while keeping the benefits of latent prediction, JECT (Joint-Embedding prediction with Clinical Text) gives the radiology report two distinct jobs alongside a custom 3D architecture:

  • Role 1: Condition for the Predictor. Just like standard text-conditioned setups, the predictor reads frozen embeddings of the radiology report (split into 11 anatomical sections) via cross-attention to help fill in masked visual features. The visual encoder never sees this text.
  • Role 2: Target for the Encoder (Masked Section-Text Prediction, or MSP). On half of the training steps, the visual encoder looks at a clean, unmasked CT scan and must predict the frozen text embeddings of each anatomical section of the patient's report. Because the report explicitly describes abnormalities regardless of whether surrounding tissue hints at them, the encoder is finally rewarded for representing unpredictable lesions. A weak-grounding loss also nudges finding sentences to align with coarse anatomical organ masks.
  • Hierarchical 3D Encoder. Downsampling 3D volumes usually blurs away tiny 5 mm nodules. JECT uses a four-stage 3D pyramid encoder with fine-to-coarse attention connections (allowing coarse tokens to attend to finer tokens inside their spatial cell) and predicts masked features at every spatial scale, preserving fine clinical detail from top to bottom.
  • Zero-Shot Report-Grounded Readout. At inference, the visual encoder runs purely on images—no report needed. However, you can reuse the trained predictor as a free localization tool: run a scan with its report, delete one sentence from the report, and run it again. The 3D regions where the predictor's error jumps the most reveal exactly where that sentence acts in the scan.

Datasets

The authors introduce no new public benchmarks, instead leveraging an extensive suite of chest CT datasets:

  • Pretraining: Ablations ("bridge-scale") use 23,476 scans from CT-RATE. Foundation-scale training uses 173,185 de-identified chest CT volumes across two institutions (including CT-RATE).
  • Evaluation: CT-RATE (classification on 18- and 44-label sets, and report retrieval), RAD-ChestCT (transfer classification), LUNA16 (nodule localization), LUNA25 (nodule malignancy grading), NLST (longitudinal lung-cancer risk prediction), and ReXGroundingCT (held-out scans with 3D lesion bounding/segmentation annotations used to test the context shortcut and zero-shot sentence grounding).

Key Insights and Ideas

  • Conditioning fixes the predictor, not the encoder: Giving text to the predictor restores hidden lesion features during training, but the frozen visual encoder performs barely better at lesion detection than an image-only model (0.892 vs. 0.886 AUROC). Making the encoder predict the text (MSP) is what actually teaches it clinical content, jumping lesion AUROC to 0.959.
Figure 2. Conditioning repairs the predictor, not the encoder. Arms without weak grounding: image-only, +Conditioning, and +Both (conditioning and masked section-text prediction, MSP). (a) Lesion AUROC of the predictor’s fill-in for visible and hidden findings, without and with the report (Table 1); bold: drop when hidden. (b) Prediction change after adding “There is a 2 cm nodule in the ⟨lobe⟩”; named lobe in blue. (c) The report raises the predictor’s hidden-finding AUROC in both conditioned arms, but MSP raises the encoder’s performance.
  • So why keep conditioning at all? Even though conditioning adds almost nothing to the frozen encoder's classification scores, it trains the predictor to link text to 3D space. Together with MSP, this unlocks the zero-shot sentence-editing readout—allowing users to add or delete a sentence like "There is a 2 cm nodule in the left upper lobe" and watch the prediction error light up that exact region.
  • Fine-to-coarse plumbing is essential for small findings: Removing the fine-to-coarse connections between pyramid stages barely dents global scan classification (~1 point drop), but crashes LUNA16 nodule localization AUROC by 7.5 points (0.804 down to 0.729).

Key Results

Trained from scratch on 173k volumes, JECT matches or outperforms eight released CT foundation models (including Pillar-0, COLIPRI, Merlin, and Rad-JEPA 3D):

  • Classification: Frozen linear probes achieve 0.875 macro AUROC on CT-RATE-18 and 0.853 on Chest-44, beating the strongest released baseline, Pillar-0 (+0.026 and +0.044), and outperforming the image-only Rad-JEPA 3D (0.755 and 0.715).
  • Report Retrieval: With just a lightweight pooler trained on the frozen encoder, JECT ranks the exact matching report first (R@1) for 29.2% of 1,564 scans (31.5% when fully aligned), compared to 7.8% for COLIPRI.
  • Lung-Cancer Risk & Nodules: Fine-tuned on NLST screening scans, JECT reaches a concordance index (c-index) of 0.774, surpassing task-specific risk models Sybil (0.715) and risk-tuned Pillar-0 (0.701). Frozen LUNA25 nodule malignancy reaches 0.832 AUROC, tying top released models.
  • Zero-Shot Grounding: Deleting a finding's sentence increases prediction error at the true lesion 8× more than deleting a control sentence. Combined with JECT's text-similarity map, zero-shot pointing accuracy hits 40.4% on 679 findings (vs. 13.3% for COLIPRI), despite never seeing lesion boxes during training.

Limitations and Future Work

  • Single modality & anatomy: JECT is only validated on chest CT. Extending the dual-role text recipe to brain MRI or abdominal CT remains future work.
  • No task-specific decoders yet: By design, the authors evaluated frozen probes, retrieval, and fine-tuning rather than training heavy segmentation, object detection, or report-generation decoders—doing so would have obscured what the encoder itself learned. Building clinical task decoders on top of JECT is a natural next step.
  • Controlled scope: The authors emphasize their controlled ablations are about fixing JEPA with clinical text, rather than claiming JEPA universally beats contrastive pretraining paradigms at every conceivable task.

Summary updated

Abstract

Joint-embedding predictive architectures learn by predicting features of masked regions from visible context. In chest computed tomography, the findings that decide a diagnosis, such as a small nodule, are often not predictable from the surrounding anatomy. A hidden finding is then best predicted toward normal anatomy, and the prediction loss stops rewarding the encoder for representing it. We call this the context shortcut. Conditioning the predictor on the radiology report repairs the prediction, but in our setup the encoder gains little over image-only pretraining: the report supplies what the encoder never had to learn. JECT therefore gives the report two roles: a condition for the predictor and, through masked section-text prediction, a target for the encoder, which must predict the report's anatomical sections from the unmasked scan. A hierarchical three-dimensional encoder that predicts at every stage keeps this clinical content at every scale. In ablations, the text target improves classification and localization, while conditioning adds little to the encoder. Trained from scratch on 173k volumes, the recipe reaches the level of current computed tomography foundation models in classification, retrieval and nodule malignancy, and of task-specific models in lung-cancer risk prediction after fine-tuning. Conditioning still matters: its predictor can be reused, with no extra training, to show where a report sentence acts, changing most at the finding the sentence describes. Code and pretrained weights are available.
BibTeX
@misc{ko2026ject,
  author = {Hanbin Ko and Hong-Jun Choi and Jihun Kim and Young-Gon Kim and Dongheon Lee and Chang Min Park},
  title = {{JECT: Addressing the Context Shortcut in Joint-Embedding Predictive Learning for Chest CT}},
  year = {2026},
  eprint = {2611.31849},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31849},
}
Figure