Reproduce “CWCD: Category-Wise Contrastive Decoding for Structured Medical Report Generation” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Shantam Srivastava, Mahesh Bhosale, David Doermann, Mingchen Gao

CWCD, a framework for structured medical report generation, enhances visual grounding and reduces spurious pathology co-occurrences in MLLMs by employing category-wise generation and masked contrastive decoding. The approach achieved superior performance on clinical efficacy and natural language generation metrics across the MIMIC-CXR and IU-Xray datasets.

Key insights

  • MLLMs exhibit a measurable decay in attention to visual tokens over the course of report generation, leading to an increased reliance on language priors, as quantified by the Layer-Averaged Max Attention (LAMA) metric.
  • Modularizing report generation by generating findings category-wise, with a fresh decoding context for each, significantly enhances the model's ability to maintain visual grounding.
  • Contrasting token probabilities from original versus visually masked inputs during inference effectively suppresses the generation of statistically co-occurring pathologies that lack visual evidence, improving clinical fidelity.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.