Chemical reaction models reveal hidden transformation patterns beyond final predictions
Emergent Steering Beyond Endpoint Alignment in Chemical Reaction Models
Machine LearningArtificial Intelligence
Summary
Predicting chemical reactions with machine learning usually focuses on whether the final result is correct. The authors show that looking only at the final prediction misses important details about how the model thinks chemical reactions happen. They introduce a new way to study what the model is actually doing internally by breaking down the model’s changes into parts that align with the final answer and parts that don’t. This helps reveal why a model might make mistakes and offers a way to better understand and audit chemical reaction models.
What this means in practice
- •For chemical software developers: Improve chemical synthesis prediction software by analyzing how models internally modify molecule representations beyond just predicting outcomes.
- •For computational chemistry teams: Use model auditing techniques to identify and fix failure modes in reaction prediction tools, enhancing retrosynthesis planning accuracy.
Authors
Yili Shen, Kehan Guo, Haomin Zhuang, Xiangliang Zhang
Abstract
Machine learning models for chemical reaction prediction are usually evaluated by endpoint accuracy, but endpoint correctness alone does not reveal how a model represents chemical transformation or why it fails. We introduce UniRxnAxis, a unified forward-retrosynthesis framework that models both tasks as direction-conditioned endpoint redistribution in a shared latent space. By aligning source states, transformed states, and encoded target endpoints, UniRxnAxis enables directional auditing of learned latent updates. This shared latent geometry allows the learned displacement (from the encoder source state $S_0$ to the decoder-facing transformed state $S_1$) to be decomposed into an endpoint-parallel component and an endpoint-orthogonal residual, which we call emergent steering. Our evaluation shows that emergent steering is functionally important: in retrosynthesis, it recovers most of the model's utility, remains effective under random, shuffled, and prototype controls, and directly affects which bond edits are promoted or suppressed. The residual-over-parallel ordering persists across alignment strengths, after decoder-interface calibration, against angle-matched random axes, and in a second graph-edit architecture, although its magnitude depends on the reference axis and optimization. The decomposition also supports a proxy taxonomy of model-side failures, showing how reaction models can be audited beyond endpoint accuracy.