machine learning

CDS: Counterfactual Directionality Score for Structured Interventions in Spatial Graphs

arXiv:2607.13508

summary

The paper proposes a framework that uses structured counterfactual interventions on graph models to quantify directional influence between different node types, introducing the Counterfactual Directionality Score (CDS) and a bootstrap method for uncertainty estimation.

Abstract

Quantifying directional influence between node populations is a fundamental problem in graph-based modeling, particularly in spatial biological systems where cell-cell interactions shape functional outcomes. Existing approaches based on attention, attribution, or correlation capture associations but do not provide a principled framework for evaluating directional effects under controlled perturbations. We introduce a framework for structured counterfactual interventions in graph-based models to estimate directional influence between node types. Our approach trains a Neighbor Influence Model (NIM) to predict node states from local neighborhoods and applies constrained interventions that modify neighborhood composition while preserving key spatial and structural properties. We define the Counterfactual Directionality Score (CDS), which measures the change in predicted node state induced by targeted perturbations, and provide a theoretical interpretation of CDS as a finite-difference measure of local intervention sensitivity. To obtain valid uncertainty estimates, we introduce a core-level bootstrap procedure that accounts for dependencies within spatial samples. Experiments on synthetic spatial graphs with known directional structure show that CDS recovers directional influence, remains well calibrated under null conditions, and is robust to confounding signals, while preliminary results on spatial transcriptomics data reveal biologically plausible and consistent interactions across tissue cores.

15 pages, 4 figures

Topics & keywords

#graph neural networks#counterfactual inference#spatial graphs#directional influence#bootstrap uncertaintyCounterfactual Directionality ScoreNeighbor Influence Modelstructured interventionsspatial transcriptomicscore-level bootstrap
CDS: Counterfactual Directionality Score for Structured Interventions in Spatial Graphs · wovepaper