Introduction to Causal Inference for Software Engineering
Open Access
- 5 July 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 52-53
Abstract
The ever-increasing use of data-driven models (whether classical machine learning or novel deep learning models, such as LLMs) to automate software engineering (SE) is accentuating the need to distinguish between causal effects and spurious correlations. While the application of causal methods in SE is gradually attracting more attention, it is not yet widely used. This 90 min. tutorial provides an introduction to causal inference techniques for observational data based on causal graphs and its application to SE. The goal is to enable SE researchers to apply such methods to their own use cases and streamline the knowledge and use of causal inference within the SE community. Causal inference methods focus on the question of identifying and estimating the causal impact of a variable of interest on another one even when the data was not collected in a randomized controlled experiment (i.e., using observational data). Besides the theory, this tutorial will also showcase how such methods have been applied in SE and it will give pointers to libraries in Python and R.Keywords
This publication has 6 references indexed in Scilit:
- Special issue on causal modeling and inference in SEInformation and Software Technology, 2025
- Causal reasoning in Software Quality Assurance: A systematic reviewInformation and Software Technology, 2024
- Causality-driven Testing of Autonomous Driving SystemsACM Transactions on Software Engineering and Methodology, 2024
- Applications of statistical causal inference in software engineeringInformation and Software Technology, 2023
- Improving Fault Localization by Integrating Value and Predicate Based Causal Inference Techniques2021
- Causal Inference2021