Skip to main content
QUICK REVIEW

[Paper Review] Applications of statistical causal inference in software engineering

Julien Siebert|arXiv (Cornell University)|Nov 21, 2022
Bayesian Modeling and Causal InferenceComputer Science4 citations
TL;DR

This paper conducts a systematic mapping study of 25 software engineering papers (2010–2022) applying Pearl’s statistical causal inference framework via graphical causal models. It finds that causal inference in SE remains nascent, fragmented, and primarily focused on software quality, with limited community-wide standards for implementation or evaluation despite growing methodological potential.

ABSTRACT

This paper reviews existing work in software engineering that applies statistical causal inference methods. These methods aim at estimating causal effects from observational data. The review covers 32 papers published between 2010 and 2022. Our results show that the application of statistical causal inference methods is relatively recent and that the corresponding research community remains relatively fragmented.

Motivation & Objective

  • To investigate the extent and nature of Pearl’s statistical causal inference (SCI) framework application in software engineering (SE).
  • To identify the current state of practice, key research areas, and methodological trends in applying graphical causal models to SE problems.
  • To assess whether a coherent community of practice has emerged for implementing and evaluating causal inference in SE.
  • To provide a foundational overview for SE practitioners and researchers to evaluate the potential and limitations of causal inference methods in empirical SE research.

Proposed method

  • Conducted a systematic mapping study following Kitchenham and Charters’ guidelines, analyzing 25 peer-reviewed and preprint papers from 2010 to 2022.
  • Applied a two-phase snowballing technique using multiple search queries to identify relevant literature, with saturation reached after two rounds.
  • Used a single reviewer for selection and analysis to ensure consistency, with findings validated through discussion with authors and a working group.
  • Focused on papers applying Pearl’s do-calculus and graphical causal models (DAGs), excluding those using only potential-outcome frameworks or non-SE-focused AI applications.
  • Classified papers by research area, methodological approach, and application domain to identify patterns and gaps.
  • Excluded master’s and PhD theses due to accessibility and publication quality concerns, though preprints and technical reports were included for methodological relevance.

Experimental results

Research questions

  • RQ1To what extent and in which ways is Pearl’s graphical causal model framework applied in software engineering research?
  • RQ2Which software engineering domains and problem types are most commonly targeted by causal inference methods?
  • RQ3What are the key methodological approaches and assumptions used in applying causal inference to SE data?
  • RQ4Is there a cohesive community of practice developing around causal inference in SE, or is the research field fragmented?
  • RQ5What are the perceived advantages, limitations, and challenges in adopting causal inference methods in SE, based on current literature?

Key findings

  • The application of Pearl’s statistical causal inference framework in software engineering is relatively recent, with only 12 of the 25 selected papers published from 2020 onward.
  • Most studies focus on software quality analysis, particularly in fault localization and code quality prediction, indicating a strong concentration in this domain.
  • There is no established or widespread community of practice for implementing or evaluating causal inference in SE, suggesting a fragmented research landscape.
  • The use of causal graphical models is still emerging, with many researchers not explicitly using the framework despite potentially benefiting from it.
  • Despite methodological promise, the field lacks standardized practices for model construction, validation, or evaluation, and publication bias may inflate perceived performance gains.
  • The lack of consensus on terminology—such as using 'causal inference' for structure discovery or 'causal analysis' for counterfactual testing—highlights conceptual and lexical ambiguity in the field.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.