The formation of passivation films by interfacial reactions, though critical for applications ranging from advanced alloys to electrochemical energy storage, is often poorly understood. In this work, we explore the formation of an exemplar passivation film, the solid–electrolyte interphase (SEI), which is responsible for stabilizing lithium-ion batteries. Using stochastic simulations based on quantum chemical calculations and data-driven chemical reaction networks, we directly model competition between SEI products at a mechanistic level for the first time. Our results recover the...