arXiv:2610.32184cs.LGOct 2026

Manuscript Offprint

arXiv:2610.32184

CFBrainAug: Modularity-Induced Counterfactual Brain Network Augmentation for Interpretable fMRI-based Autism Diagnosis

Yifan Qiao, Sheng Li

Yifan Qiao

University of Virginia

Charlottesville, VA, USA

tns5yh@virginia.edu

Sheng Li

University of Virginia

Charlottesville, VA, USA

shengli@virginia.edu

Abstract—Machine learning on resting-state functional magnetic resonance imaging (rs-fMRI) brain networks is promising for diagnosing Autism Spectrum Disorder (ASD), but existing methods are prone to overfitting on limited training data, and their post-hoc statistical attribution offers limited clinical interpretability. We propose CFBrainAug, a counterfactual brain network learning framework that unifies data augmentation and counterfactual explanation by learning label-altered brain networks. Unlike conventional label-preserving augmentation, CFBrainAug first retrieves a label-opposite yet topologically similar candidate and then refines it under a module-number constraint. Jointly training on factual and counterfactual networks enriches the training distribution around the decision boundary, enabling a lightweight feature-selection-based SVM to perform competitively with recent graph deep learning methods. Meanwhile, the counterfactuals provide intrinsic explanations by identifying the connectivity differences between each subject and its counterfactual. Experiments on the ABIDE I dataset show that CFBrainAug reaches an accuracy of 74.1% on the NYU site, suggesting that counterfactual augmentation can complement more complex models in small-sample brain network analysis.

Index Terms—Brain Network Augmentation, Counterfactual Learning, Resting-State fMRI, Autism Spectrum Disorder, Brain Functional Connectivity

I. INTRODUCTION

Autism Spectrum Disorder (ASD) is a common neurodevelopmental disorder whose early identification is essential for effective intervention [1]. Resting-state functional magnetic resonance imaging (rs-fMRI) provides a non-invasive way to model the brain as a functional network, in which abnormal connectivity patterns can serve as objective biomarkers [1], [2]. Graph neural networks (GNNs) [3] and Transformers [4] have advanced brain network analysis, but they depend on large datasets, which are scarce for fMRI; with limited samples, these models are prone to overfitting.

Data augmentation is widely used to mitigate this problem [5], but existing methods mainly reproduce the observed data distribution [5]–[7] and may inherit dataset-specific confounders such as age, sex, and scanner [8], which limits their benefit for robust diagnosis [9]. Interpretability is a second obstacle. Current explanation methods identify connections associated with a prediction [10], are sensitive to model and

(a) Conventional Paradigm

Figure

(b) CFBrainAug (Ours)

Fig. 1. Comparison between conventional learning and CFBrainAug. Unlike conventional methods that separately optimize generalization and interpretability, CFBrainAug unifies both through counterfactual brain networks.

training settings [11], and are applied post hoc, separately from augmentation (Fig. 1). Clinicians, however, are often more interested in which connectivity alterations would change a diagnosis, e.g., from ASD to normal control (NC).

Counterfactual reasoning addresses both issues by asking which connectivity alterations would change a diagnostic outcome [12]. A counterfactual brain network is a minimally modified version of the original network that induces a diagnostic label transition while remaining biologically plausible. Such networks enrich the training data with label-transitioned samples and, at the same time, reveal the connectivity changes associated with the transition.

Motivated by this, we propose CFBrainAug, a counterfactual brain network learning framework for generalizable and self-explainable ASD diagnosis. Jointly learning from factual and counterfactual networks enriches the training distribution around the decision boundary, and the factual–counterfactual difference provides an explanation without post-hoc attribution. Our contributions are threefold: (1) We propose CF-BrainAug, which generates label-altered counterfactual brain networks that serve both as augmented training samples and as intrinsic explanations for ASD diagnosis. (2) We design a counterfactual refinement mechanism with a module-number prior moving counterfactuals towards neurobiological plausibility by preserving the modular organization of brain networks. (3) Experiments on three ABIDE I sites show that CFBrainAug achieves 74.1% accuracy on the NYU site, and the connections that differ most between factual and counterfactual networks involve regions repeatedly reported in ASD studies.

References (32)