All models

MLRG

A chest X-ray report generator that reads multiple views, a previous image and prior clinical text.

Medical imaging · 1,209 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (23 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
296.9M
Operations
1,209
Framework
PyTorch
Recurrent
No
Published
CVPR 2025
Cited by
31 (as of 29 October 2026)
Authors
Kang Liu, Zhuoqi Ma, Xiaolu Kang and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18158
Graph hash
63fee388cc27d02a0fea50b5a4c0e0ad764d6177af429469e92b9ad029f2ec16
Skeleton hash
6e14e8fd0a6d3ccc434f8ac0c1a5d416ab341975f1ca26db7327a497630ea1b6
Architecture hash
087d144f9362d94a980f39c48534dbcc23cd520ef472d80fbee80a9ce554906a
Diagram SHA-256
57467b7bc1d68348c906fcf6332e92847dd77efebd068d25b24882951601aa21
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MLRG generates radiology reports for chest X-rays, using contrastive learning with multi-view longitudinal data. Its authors argue that most existing methods focus on single or fixed-view images of the current condition, which limits diagnostic accuracy and overlooks disease progression.

The model has a vision encoder (RAD-DINO), a text encoder (CXR-BERT) and a text generator (DistilGPT2), and it is trained in two stages. In the first stage, a multi-view longitudinal contrastive learning method integrates spatial information from the current multi-view images and temporal information from longitudinal data, and uses the spatiotemporal information in radiology reports to supervise the pre-training of visual and textual representations. In the second stage, a tokenized absence encoding technique handles missing prior knowledge about the patient: the special tokens [NHI] and [NHPR] stand in for a missing indication or previous report.

The text generator is then trained by minimizing a cross-entropy loss so that generated reports align with the reference reports. The paper reports a 2.3% BLEU-4 improvement on MIMIC-CXR, a 5.5% F1 score improvement on MIMIC-ABN and a 2.7% F1 RadGraph improvement on Two-view CXR over the methods it was compared with. The paper was accepted by CVPR 2025.

Key idea. MLRG pre-trains visual and textual representations with multi-view longitudinal contrastive learning and uses tokenized absence encoding to handle missing indications and previous reports during report generation.

  • MLRG
  • chest X-ray report generation
  • radiology report generation
  • multi-view longitudinal contrastive learning
  • tokenized absence encoding
  • longitudinal data
  • MIMIC-CXR
  • MIMIC-ABN
  • Two-view CXR

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{liu2025enhancedcontrastivelearningmultiview,
      title={Enhanced Contrastive Learning with Multi-view Longitudinal Data for Chest X-ray Report Generation}, 
      author={Kang Liu and Zhuoqi Ma and Xiaolu Kang and Yunan Li and Kun Xie and Zhicheng Jiao and Qiguang Miao},
      year={2025},
      eprint={2502.20056},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      doi={https://doi.org/10.1109/CVPR52734.2025.00968},
      url={https://arxiv.org/abs/2502.20056}, 
}