Causal Software Engineering: A Vision and Roadmap
Abstract
Software engineering increasingly involves making high-stakes decisions under uncertainty, using signals from code, field data, and socio-technical processes. Recent AI-driven support (e.g., anomaly detection, predictive analytics, AIOps, as well as LLM-based agents) has amplified engineers' ability to detect patterns and synthesize content and recommendations, but many critical questions are interventional or counterfactual: What is the expected impact of changing a load-balancing strategy? Would an outage have been avoided under a different release plan? Correlational models answer "what tends to co-occur"; they struggle to answer "what would happen if we act." We propose Causal Software Engineering (CSE) as a future paradigm in which causal models and causal reasoning systematically inform activities across the software lifecycle, augmenting existing practices with explicit assumptions, uncertainty-aware effect estimates, and counterfactual diagnosis. We outline (i) a causal-first workflow view spanning development and operations, (ii) a staged roadmap for tools and organizational adoption, and (iii) an evaluation and benchmark agenda for measuring progress.
Cite
@article{arxiv.2605.02454,
title = {Causal Software Engineering: A Vision and Roadmap},
author = {Roberto Pietrantuono and Luca Giamattei and Stefano Russo and Julien Siebert and Neil Walkinshaw},
journal= {arXiv preprint arXiv:2605.02454},
year = {2026}
}
Comments
Accepted at FSE 2026 - Ideas, Visions and Reflections (IVR) Track