A central goal of atomistic simulation is to predict the equilibrium behavior of materials by sampling thermodynamic ensembles. Yet large free energy barriers can prevent conventional simulations from exploring relevant configurations and determining their equilibrium probabilities. Here we introduce OMNIA, a universal neural framework for equilibrium sampling across thermodynamic ensembles. By combining conditional sampling with thermodynamic weights, OMNIA unifies ensembles with fixed or fluctuating volume, composition and particle number, encompassing $NVT$, $NPT$, $ΔμNPT$ and $μVT$. OMNIA learns diffusion processes that transport samples from simple prior distributions to the target ensemble. The associated path weights enable the estimation of thermodynamic properties, including free energy, as well as conditional steering at inference time. Applied to oxide glasses, polymorphs of SiO$_2$ and Ti, Cu-Ag and Cu-Ni alloys, hydrogen adsorption and absorption on Pt(111) and Pd(111), and sodium storage in hard carbon, OMNIA reproduces structural distributions, free energy landscapes, phase equilibria and particle uptake, while amortizing sampling across compositions, thermodynamic conditions and host structures. These capabilities establish a foundation for scalable atomistic simulation of realistic materials, opening new possibilities for inverse design and materials discovery.
翻译:暂无翻译