paper-with-me

Papers

Counterfactual Stress Testing for Image Classification Models

2026-05-11 · Moritz Stammel, Fabio De Sousa Ribeiro, Raghav Mehta, Mélanie Roschewitz, Ben Glocker arxiv

Deep learning models in medical imaging often fail when deployed in new clinical environments due to distribution shifts in demographics, scanner hardware, or acquisition protocols. A central challenge is underspecification, where models with similar validation performance exhibit divergent real-world failure modes. Although stress testing has emerged as a tool to assess this, current methods typically rely on simple, uninformed perturbations (e.g., brightness or contrast changes), which fail to capture clinically realistic variation and can overestimate robustness. In this work, we introduce a counterfactual stress testing framework based on causal generative models that create realistic "what if" images by intervening on attributes such as scanner type and recorded sex while largely preserving anatomical identity, enabling controlled and semantically meaningful evaluation under targeted distribution shifts. Across two imaging modalities (chest X-ray and mammography), three model architectures, and multiple shift scenarios, we show that counterfactual stress tests provide a substantially more accurate proxy for real out-of-distribution performance than classical perturbations, capturing the direction and relative magnitude of performance changes and showing stronger overall rank agreement. These results suggest that causal generative models can provide informative synthetic stress tests for assessing robustness under targeted distribution shifts prior to deployment.

📄 PDF Abstract BibTeX arXiv:2605.10894

Code (0)

등록된 구현이 없습니다.

Tasks

Image Classification

Similar Papers 제목 키워드 기반

Counterfactual Invariance to Spurious Correlations: Why and How to Pass Stress Tests

2021-05-31 · NeurIPS 2021 12 · Victor Veitch, Alexander D'Amour, Steve Yadlowsky, Jacob Eisenstein

Informally, a 'spurious correlation' is the dependence of a model on some aspect of the input data that an analyst thinks shouldn't matter. In machine learning, these have a know-it-when-you-see-it character; e.g., chang…

Causal Inferencecounterfactualtext-classificationText Classification

Counterfactual Invariance to Spurious Correlations in Text Classification

2021-05-21 · NeurIPS 2021 12 · Victor Veitch, Alexander D'Amour, Steve Yadlowsky, Jacob Eisenstein

Informally, a 'spurious correlation' is the dependence of a model on some aspect of the input data that an analyst thinks shouldn't matter. In machine learning, these have a know-it-when-you-see-it character; e.g., chang…

Causal InferenceClassificationcounterfactualtext-classification+1

LANCE: Stress-testing Visual Models by Generating Language-guided Counterfactual Images

2023-05-30 · NeurIPS 2023 11 · Viraj Prabhu, Sriram Yenamandra, Prithvijit Chattopadhyay, Judy Hoffman

We propose an automated algorithm to stress-test a trained visual model by generating language-guided counterfactual test images (LANCE). Our method leverages recent progress in large language modeling and text-based ima…

counterfactualLanguage ModelingLanguage ModellingSensitivity+1

Stress-testing medical large language models reveals latent safety pathology beyond benchmark accuracy

2026-06-06 · Yuan Shen, Xiaojun Wu, Linghua Yu arxiv

Large language models (LLMs) are entering clinical practice based on benchmark accuracy that may fail to detect safety-relevant failure modes. Here we present AI-MASLD, a stress-audit framework that adapts the logic of m…

Information Extraction

How Wrong Can Your Counterfactual Be? Quantifying Confounding Bias for Continuous Treatments without a Control Group

2026-03-08 · Yu Wang, Xiangchen Liu, Siguang Li arxiv

Stress testing poses a causal question: how would portfolio credit losses change if the macroeconomy followed an adverse counterfactual path? Yet standard practice remains predictive and might be therefore vulnerable to …