NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

COGENT: Counterfactual Gaussian Explanations for Volumetric Medical Images

Dorian Rząsa, Bartosz Zabdyr, Krzysztof Piekarz, Jakub Grzywaczewski, Bartlomiej Sobieski, Przemyslaw Biecek, Żaneta Świderska-Chadaj, Olga Śliwicka, Przemysław Spurek, Joanna Świebocka-WiękarXiv 2026

TL;DR

COGENT introduces a novel framework for explainable AI in 3D medical imaging by generating counterfactual explanations directly within the parameter space of 3D Gaussian Splatting. By optimizing explicit 3D representations instead of raw voxels, it produces anatomically consistent, sparse, and clinically meaningful explanations that show exactly how a scan would need to change to alter a model's risk prediction.

Figure 1: Overview of the COGENT framework. Given a scan that Sybil flags as high risk, COGENT asks what would make it healthy, removing the suspicious nodule with a localized Gaussian perturba- tion while leaving the surrounding anatomy untouched (before/after insets). Re-scoring the edited volume with the same model flips the prediction to low risk, revealing the evidence behind the original decision.

What Problem Does This Paper Address?

Deep learning models have achieved remarkable success in predicting patient outcomes from volumetric medical data, such as estimating lung cancer risk from 3D computed tomography (CT) scans. However, these models operate as "black boxes," making their clinical deployment risky without clear explanations.

Traditional Explainable AI (XAI) methods, like Grad-CAM or integrated gradients, operate directly in pixel or voxel space. When applied to 3D medical images, these methods typically generate noisy, scattered "speckle" patterns or slice-by-slice heatmaps. Because voxels lack an understanding of underlying geometry, these explanations often fail to respect coherent 3D anatomical structures, making them difficult for radiologists to interpret or trust.

Methods

COGENT (Counterfactual Gaussian Explanations) shifts the explainability problem from raw voxel space to a structured 3D representation space using 3D Gaussian Splatting (specifically via the MedGS framework).

The pipeline consists of the following steps:

  1. 3D Gaussian Reconstruction: The volumetric CT scan is represented as a collection of millions of 3D Gaussian primitives, each possessing explicit parameters: position, scale, rotation, opacity, and color coefficients.
  2. Mask Filtering: To focus the explanation, the framework isolates the Gaussians that intersect with a specific region of interest, such as a tumor mask.
  3. Counterfactual Optimization: Instead of asking "where did the model look?", COGENT asks "what would make this scan look healthy?". It applies Projected Gradient Descent (PGD) to iteratively optimize the parameters of the isolated tumor Gaussians.
  4. Differentiable Rendering: Because the rendering pipeline from 3D Gaussians to 2D CT slices is fully differentiable, gradients can flow directly from a frozen downstream classifier (in this case, the Sybil lung cancer risk predictor) all the way back to the Gaussian parameters.
  5. Isolating Key Features: After optimization alters the model's prediction (e.g., dropping the predicted cancer risk), the framework ranks the Gaussians by the magnitude of their parameter updates. The top 10% most-changed Gaussians are highlighted as the core explanation.
The detailed optimization pipeline of COGENT, leveraging MedGS and PGD attacks on tumor Gaussians to shift Sybil's risk predictions.

Datasets

The framework was evaluated using volumetric low-dose chest CT (LDCT) scans containing ground-truth pulmonary tumor annotations. The downstream model used for risk prediction was Sybil, an established deep learning model trained to predict future lung cancer risk over a 1–6 year horizon from a single LDCT scan.

Key Insights and Ideas

  • Representation Space vs. Voxel Space: Voxels are independent points on a grid, whereas 3D Gaussians are continuous, geometric primitives. Modifying Gaussian parameters naturally preserves structural boundaries and spatial coherence, preventing the chaotic, un-anatomical noise typical of voxel-level perturbations.
  • Actionable Counterfactuals: Rather than merely highlighting a region with a heatmap, COGENT actively simulates the attenuation or removal of a pathology (e.g., fading out a malignant nodule). This provides an intuitive, causal link between the anatomical feature and the model's decision.

Key Results

  • Superior Localization: COGENT achieved a Relative Random Area (RRA) localization score of 0.2837, vastly outperforming classical pixel-space baselines such as Grad-CAM (0.0805), Saliency (0.0702), and Integrated Gradients (0.0254). This demonstrates that COGENT is significantly more accurate at isolating the actual pathological regions driving the model's choices.
  • High Sparseness: COGENT maintained a strong degree of compactness (Sparseness = 0.6550), ensuring that explanations remain focused on key lesions rather than diffusing across the entire lung field.
  • Clinical Validation: An expert radiologist qualitatively evaluated the counterfactual edits. In 40% of the cases, the optimization resulted in a clear, visible mitigation of malignant traits (such as reducing tumor volume or structural complexity) that directly justified the drop in predicted risk.
Figure 3: Qualitative comparison between the original CT slice, a pixel-space counterfactual baseline, and the pro- posed Gaussian-space explanation. Unlike the noisy pixel- space baseline, COGENT produces localized anatomically consistent counterfactual changes that reduce the predicted risk.

Limitations and Future Work

  • Dependence on Prior Masking: COGENT currently relies on an initial anatomical or tumor mask to filter the subset of Gaussians before optimization. Developing a fully automated, unmasked variant remains an open challenge.
  • Reconstruction Fidelity: The quality of the explanation is fundamentally bounded by how accurately the underlying 3D Gaussian Splatting model (MedGS) can reconstruct fine-grained textures of the original CT scan.
  • Generalization: While highly effective for lung cancer risk prediction on CT scans, future work is required to validate COGENT across other 3D imaging modalities (like MRI) and different clinical tasks.

Summary updated

BibTeX
@misc{rzasa2026cogent,
  author = {Dorian Rząsa and Bartosz Zabdyr and Krzysztof Piekarz and Jakub Grzywaczewski and Bartlomiej Sobieski and Przemyslaw Biecek and Żaneta Świderska-Chadaj and Olga Śliwicka and Przemysław Spurek and Joanna Świebocka-Więk},
  title = {{COGENT: Counterfactual Gaussian Explanations for Volumetric Medical Images}},
  year = {2026},
  eprint = {2608.11422},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.11422},
}
Figure