arXiv:2611.12815cs.LGNov 2026

Manuscript Offprint

arXiv:2611.12815

Inversion-Free High-Dimensional Counterfactual Inference

Saketh Vishnubhatla, Pingchuan Ma, Shu Wan, Alimohammad Beigi, Andre Harrison, Adrienne Raglin, Huan Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Saketh Vishnubhatla*, Pingchuan Ma*, Shu Wan*, Alimohammad Beigi*, Andre Harrison†, Adrienne Raglin†, Huan Liu*

*School of Computing and Augmented Intelligence, Arizona State University, Tempe, AZ 85281, USA

{svishnu6, pingchua, swan16, abeigi, huanliu}@asu.edu

†DEVCOM Army Research Laboratory, Adelphi, MD 20783, USA

{andre.v.harrison2.civ, adrienne.raglin2.civ}@army.mil

Abstract—Counterfactual inference is the task of answering hypothetical “what-if” queries about a unit, given an observational dataset, modeling assumptions, and a causal graph. This enables a modeler to reason about hypothetical scenarios that cannot otherwise be answered without assumptions or a causal graph. The simpler case involves a causal graph with scalar 1-D variables that denote different attributes in the data-generation process. While the literature is clear in the 1-D case, extending this to settings with high-dimensional nodes (e.g., images) remains challenging. Conventionally, in the literature, methods recover the latent state from the factual image (inversion), generate counterfactual attributes from the graph, and render the counterfactual image from the latent state using the updated attributes. In our work, we investigate the necessity of the inversion step in computing high-dimensional counterfactuals. We first discuss moving from the scalar 1-D case to the higher-dimensional case. Secondly, we discuss the relevance of the inversion step and evaluate an inversion-free counterpart repurposed from the image-editing literature. Finally, on image datasets such as CelebA and ADNI, we benchmark our approach using two measures: namely, effectiveness and identity preservation. While effectiveness is a measure of how faithfully the counterfactual attribute is rendered, identity preservation measures whether the same unit (image) is being rendered, both of which are crucial for high-dimensional counterfactual inference. We present the tradeoffs of using inversion-based and inversion-free approaches in our work.

Index Terms—causal inference, counterfactual reasoning

I. INTRODUCTION

Answering hypothetical questions about individual cases are common in data analysis and hard to answer without assumptions. Would this patient's chances of survival looked different had the disease progressed further? This is a counterfactual query, and Pearl's abduction-action-prediction procedure [1] answers the query when the variables concerned are scalars, under some assumptions that are by now well understood. However, most of the variables of interest are not single-dimensional scalars. A brain scan or a photograph carries several attributes at once, many of them causally related, and answering a counterfactual query about such a record means producing the record itself rather than a number. This has become feasible, with generative models capable of rendering an image conditioned on a requested set of attributes.

The pipelines that answer such queries share a common structure. A causal model over the attributes, a generative

backbone that renders the image, and between them sits a step that recovers a latent state from the factual image, intended to make the result depict the same unit rather than a fresh image carrying the requested attributes. This state is taken from a learned encoder [2, 3] or from running the backbone backward to a noise map [4–6], and the step is also referred to as “abduction”, taking its name after the procedure of inverting a structural equation the modeler has fitted in the standard 1-D case. The name is warranted when the image mechanism is trained as part of the causal model, and identification in high dimensions has been established on that basis [7], under conditions that are demanding in practice. We investigate the role of this inversion step in computing counterfactuals in the higher dimensional case.

Our contributions are as follows:

  • Analysing the issues in moving from 1-D counterfactual inference to higher dimensional counterfactual inference, discussing approaches in the literature and identification arguments involved to tackle the higher dimensional case.
  • Presenting the role of inversion step, conventionally used by most works in computing higher-dimensional counterfactuals, and proposing an inversion-free pipeline that does not generate the latent during the edit.
  • Testing the inversion-based approaches against our proposed inversion-free approach on image datasets like CelebA, a corpus of celebrity images and ADNI, consisting of brain MRI scans. We provide tradeoffs on two measures namely effectiveness and identity preservation.

References (29)