Neural operators for forward and inverse potential–density mappings in classical density functional theory

Neural operators are capable of capturing nonlinear mappings between infinite-dimensional functional spaces, offering a data-driven approach to modeling complex functional relationships in classical density functional theory. In this work, we evaluate the performance of several neural operator architectures in learning the functional relationships between the one-body density profile ρ(x), the one-body direct correlation function c1(x), and the external potential Vext(x) of inhomogeneous one-dimensional hard-rod fluids, using training data generated from analytical solutions of the underlying statistical-mechanical model. Several variants of the Deep Operator Network (DeepONet) and the Fourier Neural Operator (FNO) were considered, each incorporating different machine-learning architectures, activation functions, and training strategies. These operator learning methods are benchmarked against a fully connected dense neural network, which serves as a baseline. We compared their performance in terms of the mean squared error loss in establishing the functional relationships as well as in predicting the excess free energy across two test sets: (1) a group test set generated via random cross-validation (CV) to assess interpolation capability and (2) a newly constructed dataset for leave-one-group CV to evaluate extrapolation performance. Our results show that FNO achieves the most accurate predictions of the excess free energy, with the squared ReLU activation function outperforming other activation choices. Among the DeepONet variants, the Residual Multiscale Convolutional Neural Network (RMSCNN) combined with a trainable Gaussian derivative kernel (GK-RMSCNN-DeepONet) demonstrates the best performance. Additionally, we applied the trained models to solve for the density profiles at various external potentials and compared the results with those obtained from the direct mapping Vext ↦ ρ with neural operators, as well as with Gaussian process regression combined with active learning by error control, which has shown strong performance in previous studies. While the direct mapping from Vext ↦ ρ suffers from high extrapolation error and proves inefficient for out-of-distribution predictions, the neural-operator mapping ρ ↦ c1 can effectively be used to solve the density profile via the Euler-Lagrange equation or be integrated with other surrogate methods. Moreover, neural operators offer additional flexibility through specialized operations, such as significance-based predictions on uneven grids (as in GK-CNN-DeepONet) and adaptive grid resolution adjustment (as in FNO), both of which can enhance prediction accuracy.

Authors

Institutions

Publication Details

Journal
The Journal of Chemical Physics
Published
2025-10-28
DOI
https://doi.org/10.1063/5.0284515
Citations
1
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
0.52
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Neural operators for forward and inverse potential–density mappings in classical density functional theory

Xinyi Fang, Runtong Pan, Kamyar Azizzadenesheli, Miguel Liu-Schiaffini et al.
1 citations
The Journal of Chemical Physics
Machine Learning in Materials Science
0.52
article

Neural operators for forward and inverse potential–density mappings in classical density functional theory

Xinyi Fang, Runtong Pan, Kamyar Azizzadenesheli, Miguel Liu-Schiaffini, Mengyang Gu, Jianzhong Wu
article en
1 citations

Abstract

Neural operators are capable of capturing nonlinear mappings between infinite-dimensional functional spaces, offering a data-driven approach to modeling complex functional relationships in classical density functional theory. In this work, we evaluate the performance of several neural operator architectures in learning the functional relationships between the one-body density profile ρ(x), the one-body direct correlation function c1(x), and the external potential Vext(x) of inhomogeneous one-dimensional hard-rod fluids, using training data generated from analytical solutions of the underlying statistical-mechanical model. Several variants of the Deep Operator Network (DeepONet) and the Fourier Neural Operator (FNO) were considered, each incorporating different machine-learning architectures, activation functions, and training strategies. These operator learning methods are benchmarked against a fully connected dense neural network, which serves as a baseline. We compared their performance in terms of the mean squared error loss in establishing the functional relationships as well as in predicting the excess free energy across two test sets: (1) a group test set generated via random cross-validation (CV) to assess interpolation capability and (2) a newly constructed dataset for leave-one-group CV to evaluate extrapolation performance. Our results show that FNO achieves the most accurate predictions of the excess free energy, with the squared ReLU activation function outperforming other activation choices. Among the DeepONet variants, the Residual Multiscale Convolutional Neural Network (RMSCNN) combined with a trainable Gaussian derivative kernel (GK-RMSCNN-DeepONet) demonstrates the best performance. Additionally, we applied the trained models to solve for the density profiles at various external potentials and compared the results with those obtained from the direct mapping Vext ↦ ρ with neural operators, as well as with Gaussian process regression combined with active learning by error control, which has shown strong performance in previous studies. While the direct mapping from Vext ↦ ρ suffers from high extrapolation error and proves inefficient for out-of-distribution predictions, the neural-operator mapping ρ ↦ c1 can effectively be used to solve the density profile via the Euler-Lagrange equation or be integrated with other surrogate methods. Moreover, neural operators offer additional flexibility through specialized operations, such as significance-based predictions on uneven grids (as in GK-CNN-DeepONet) and adaptive grid resolution adjustment (as in FNO), both of which can enhance prediction accuracy.

The Journal of Chemical PhysicsVol. 163(16)
University of California, Riverside (US), California Institute of Technology (US), University of California, Santa Barbara (US), Nvidia (United States) (US)
Openalex Percentile: Top 31%
Machine Learning in Materials Science
0.52
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.