arXiv:2610.08296cs.LGOct 2026

Manuscript Offprint

arXiv:2610.08296

OxiGen: Oxidation-State-Aware Crystal Generation

Dylan John, Kim E. Jelfs, Alex M. Ganose, Eleonora Giunchiglia

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Generative models have the potential to accelerate inorganic materials discovery by enabling inverse design, but generating experimentally realisable crystals remains challenging. Oxidation states are widely used to assess the compositional validity of crystals and guide inorganic materials discovery. While existing generative models for crystals can generate materials with charge-neutral oxidation-state assignments, they poorly reproduce the distributions of oxidation states observed in synthesised materials. To address this limitation, we propose OxiGen, an oxidation-state-aware crystal diffusion model that explicitly represents oxidation states during generation. OxiGen enforces global charge neutrality by construction using a structured output layer with exact inference over a finite-state automaton. Empirically, OxiGen substantially improves oxidation-state fidelity, generates the highest rate of stable, unique, and novel crystals among evaluated methods, and maintains high compositional validity even under property conditioning.

1 INTRODUCTION

The discovery of new inorganic materials is central to the development of technologies including solid-state batteries, photovoltaic cells and electrocatalysis (Yao et al., 2023). Generative models have the potential to accelerate materials discovery by enabling inverse design, in which candidate crystal structures with desired properties are generated directly rather than selected by screening existing databases (Park et al., 2024). Recent approaches evaluate the stability of generated crystals using their predicted energy above the convex hull (Zeni et al., 2025; Miller et al., 2024; Veljković et al., 2026), but a low predicted energy above hull does not guarantee that a crystal is experimentally realisable (Park et al., 2026a). Chemical heuristics derived from theory and empirical observation therefore remain important for guiding materials discovery.

Oxidation states are charges assigned to atoms through simple electron-counting rules (Karen, 2015), and are a key heuristic for understanding the chemical bonding and properties of inorganic crystals (Walsh et al., 2018). The oxidation states assigned to a crystal must satisfy charge neutrality, meaning that they sum to zero. Each element can adopt a specific set of oxidation states, determined by its electronic configuration and orbital energies, and the observed frequencies of these oxidation states in synthesised materials vary widely. Compositional validity evaluates whether the chemical composition of a crystal has at least one valid charge-neutral oxidation-state assignment (Davies et al., 2019), but does not account for the observed frequencies of the required oxidation states. Rare oxidation states often occur only in particular bonding environments, under specific external conditions, or through specialised synthesis routes (Mastej et al., 2026). Consequently, crystals with uncommon oxidation-state assignments may be less likely to be experimentally realisable.

Recent generative models for crystals achieve high compositional validity, but many generated crystals can only be charge balanced using rare oxidation states (Mastej et al., 2026). Filtering based on predicted energy above hull does not necessarily address this issue: analysis of crystals generated by GNoME (Merchant et al., 2023) identified structures predicted to lie on the hull that nevertheless exhibit improbable oxidation-state assignments (Cheetham & Seshadri, 2024). This highlights a limitation of current stability metrics, which may not capture whether the required oxidation states are chemically plausible. We therefore argue that effective generative models for crystals should not only generate stable and compositionally valid crystals, but also reproduce the distributions of oxidation states observed in synthesised materials.

In this work, we propose a novel approach to oxidation-state-aware crystal generation that explicitly represents oxidation states during generation, allowing the model to learn oxidation-state frequencies directly from the training data. However, explicitly generating oxidation states requires that the predicted oxidation states for all atoms jointly satisfy charge neutrality. To address this, we introduce a structured output layer that exploits the simple additive structure of the charge-neutrality constraint for tractable structured inference. We then integrate this layer into a crystal diffusion model to enforce charge neutrality during sampling. Our main contributions are:

• We propose a structured output layer that uses dynamic programming over a finite-state automaton for exact charge-neutral inference.

• We introduce OxiGen, an oxidation-state-aware crystal diffusion model that explicitly represents oxidation states and enforces charge neutrality during generation.

• We show empirically that OxiGen substantially improves oxidation-state fidelity over existing crystal generative models, generates the highest rate of stable, unique, and novel crystals among evaluated methods, and maintains high compositional validity even under property conditioning.