-
Physics-informed Bayesian inference of external potentials in classical density-functional theory
Authors:
Antonio Malpica-Morales,
Peter Yatsyshin,
Miguel A. Duran-Olivencia,
Serafim Kalliadasis
Abstract:
The swift progression of machine learning (ML) has not gone unnoticed in the realm of statistical mechanics. ML techniques have attracted attention by the classical density-functional theory (DFT) community, as they enable discovery of free-energy functionals to determine the equilibrium-density profile of a many-particle system. Within DFT, the external potential accounts for the interaction of t…
▽ More
The swift progression of machine learning (ML) has not gone unnoticed in the realm of statistical mechanics. ML techniques have attracted attention by the classical density-functional theory (DFT) community, as they enable discovery of free-energy functionals to determine the equilibrium-density profile of a many-particle system. Within DFT, the external potential accounts for the interaction of the many-particle system with an external field, thus, affecting the density distribution. In this context, we introduce a statistical-learning framework to infer the external potential exerted on a many-particle system. We combine a Bayesian inference approach with the classical DFT apparatus to reconstruct the external potential, yielding a probabilistic description of the external potential functional form with inherent uncertainty quantification. Our framework is exemplified with a grand-canonical one-dimensional particle ensemble with excluded volume interactions in a confined geometry. The required training dataset is generated using a Monte Carlo (MC) simulation where the external potential is applied to the grand-canonical ensemble. The resulting particle coordinates from the MC simulation are fed into the learning framework to uncover the external potential. This eventually allows us to compute the equilibrium density profile of the system by using the tools of DFT. Our approach benchmarks the inferred density against the exact one calculated through the DFT formulation with the true external potential. The proposed Bayesian procedure accurately infers the external potential and the density profile. We also highlight the external-potential uncertainty quantification conditioned on the amount of available simulated data. The seemingly simple case study introduced in this work might serve as a prototype for studying a wide variety of applications, including adsorption and capillarity.
△ Less
Submitted 14 September, 2023; v1 submitted 13 September, 2023;
originally announced September 2023.
-
Generalizing Impermanent Loss on Decentralized Exchanges with Constant Function Market Makers
Authors:
Rohan Tangri,
Peter Yatsyshin,
Elisabeth A. Duijnstee,
Danilo Mandic
Abstract:
Liquidity providers are essential for the function of decentralized exchanges to ensure liquidity takers can be guaranteed a counterparty for their trades. However, liquidity providers investing in liquidity pools face many risks, the most prominent of which is impermanent loss. Currently, analysis of this metric is difficult to conduct due to different market maker algorithms, fee structures and…
▽ More
Liquidity providers are essential for the function of decentralized exchanges to ensure liquidity takers can be guaranteed a counterparty for their trades. However, liquidity providers investing in liquidity pools face many risks, the most prominent of which is impermanent loss. Currently, analysis of this metric is difficult to conduct due to different market maker algorithms, fee structures and concentrated liquidity dynamics across the various exchanges. To this end, we provide a framework to generalize impermanent loss for multiple asset pools obeying any constant function market maker with optional concentrated liquidity. We also discuss how pool fees fit into the framework, and identify the condition for which liquidity provisioning becomes profitable when earnings from trading fees exceed impermanent loss. Finally, we demonstrate the utility and generalizability of this framework with simulations in BalancerV2 and UniswapV3.
△ Less
Submitted 17 January, 2023;
originally announced January 2023.
-
Physics-constrained Bayesian inference of state functions in classical density-functional theory
Authors:
Peter Yatsyshin,
Serafim Kalliadasis,
Andrew B. Duncan
Abstract:
We develop a novel data-driven approach to the inverse problem of classical statistical mechanics: given experimental data on the collective motion of a classical many-body system, how does one characterise the free energy landscape of that system? By combining non-parametric Bayesian inference with physically-motivated constraints, we develop an efficient learning algorithm which automates the co…
▽ More
We develop a novel data-driven approach to the inverse problem of classical statistical mechanics: given experimental data on the collective motion of a classical many-body system, how does one characterise the free energy landscape of that system? By combining non-parametric Bayesian inference with physically-motivated constraints, we develop an efficient learning algorithm which automates the construction of approximate free energy functionals. In contrast to optimisation-based machine learning approaches, which seek to minimise a cost function, the central idea of the proposed Bayesian inference is to propagate a set of prior assumptions through the model, derived from physical principles. The experimental data is used to probabilistically weigh the possible model predictions. This naturally leads to humanly interpretable algorithms with full uncertainty quantification of predictions. In our case, the output of the learning algorithm is a probability distribution over a family of free energy functionals, consistent with the observed particle data. We find that surprisingly small data samples contain sufficient information for inferring highly accurate analytic expressions of the underlying free energy functionals, making our algorithm highly data efficient. We consider excluded volume particle interactions, which are ubiquitous in nature, whilst being highly challenging for modelling in terms of free energy. To validate our approach we consider the paradigmatic case of one-dimensional fluid and develop inference algorithms for the canonical and grand-canonical statistical-mechanical ensembles. Extensions to higher-dimensional systems are conceptually straightforward, whilst standard coarse-graining techniques allow one to easily incorporate attractive interactions.
△ Less
Submitted 23 June, 2021; v1 submitted 7 October, 2020;
originally announced October 2020.
-
A Finite-Volume Method for Fluctuating Dynamical Density Functional Theory
Authors:
Antonio Russo,
Sergio P. Perez,
Miguel A. Durán-Olivencia,
Peter Yatsyshin,
José A. Carrillo,
Serafim Kalliadasis
Abstract:
We introduce a finite-volume numerical scheme for solving stochastic gradient-flow equations. Such equations are of crucial importance within the framework of fluctuating hydrodynamics and dynamic density functional theory. Our proposed scheme deals with general free-energy functionals, including, for instance, external fields or interaction potentials. This allows us to simulate a range of physic…
▽ More
We introduce a finite-volume numerical scheme for solving stochastic gradient-flow equations. Such equations are of crucial importance within the framework of fluctuating hydrodynamics and dynamic density functional theory. Our proposed scheme deals with general free-energy functionals, including, for instance, external fields or interaction potentials. This allows us to simulate a range of physical phenomena where thermal fluctuations play a crucial role, such as nucleation and other energy-barrier crossing transitions. A positivity-preserving algorithm for the density is derived based on a hybrid space discretization of the deterministic and the stochastic terms and different implicit and explicit time integrators. We show through numerous applications that not only our scheme is able to accurately reproduce the statistical properties (structure factor and correlations) of the physical system, but, because of the multiplicative noise, it allows us to simulate energy barrier crossing dynamics, which cannot be captured by mean-field approaches.
△ Less
Submitted 31 December, 2020; v1 submitted 11 October, 2019;
originally announced October 2019.
-
Mixing--Demixing Transition in Polymer-Grafted Spherical Nanoparticles
Authors:
Peter Yatsyshin,
Nikolaos G. Fytas,
Panagiotis E. Theodorakis
Abstract:
Polymer-grafted nanoparticles (PGNPs) can provide property profiles than cannot be obtained individually by polymers or nanoparticles (NPs). Here, we have studied the mixing--demixing transition of symmetric copolymer melts of polymer-grafted spherical nanoparticles by means of coarse-grained molecular dynamics simulation and a theoretical mean-field model. We find that a larger size of NPs leads…
▽ More
Polymer-grafted nanoparticles (PGNPs) can provide property profiles than cannot be obtained individually by polymers or nanoparticles (NPs). Here, we have studied the mixing--demixing transition of symmetric copolymer melts of polymer-grafted spherical nanoparticles by means of coarse-grained molecular dynamics simulation and a theoretical mean-field model. We find that a larger size of NPs leads to higher stability for given number of grafted chains and chain length reaching a point where demixing is not possible. Most importantly, the increase in the number of grafted chains, $N_g$, can initially favour the phase separation of PGNPs, but further increase can lead to more difficult demixing. The reason is the increasing impact of an effective core that forms as the grafting density of the tethered polymer chains around the NPs increases. The range and exact values of $N_g$ where this change in behaviour takes place depends on the NP size and the chain length of the grafted polymer chains. Our study elucidates the phase behaviour of PGNPs and in particular the influence of the grafting density on the phase behaviour of the systems anticipating that it will open new doors in the understanding of these systems with implications in materials science and medicine.
△ Less
Submitted 23 November, 2019; v1 submitted 5 August, 2019;
originally announced August 2019.
-
Dynamics of the Desai-Zwanzig model in multi-well and random energy landscapes
Authors:
Susana N. Gomes,
Serafim Kalliadasis,
Grigorios A. Pavliotis,
Petr Yatsyshin
Abstract:
We analyze a variant of the Desai-Zwanzig model [J. Stat. Phys. {\bf 19}1-24 (1978)]. In particular, we study stationary states of the mean field limit for a system of weakly interacting diffusions moving in a multi-well potential energy landscape, coupled via a Curie-Weiss type (quadratic) interaction potential. The location and depth of the local minima of the potential are either deterministic…
▽ More
We analyze a variant of the Desai-Zwanzig model [J. Stat. Phys. {\bf 19}1-24 (1978)]. In particular, we study stationary states of the mean field limit for a system of weakly interacting diffusions moving in a multi-well potential energy landscape, coupled via a Curie-Weiss type (quadratic) interaction potential. The location and depth of the local minima of the potential are either deterministic or random. We characterize the structure and nature of bifurcations and phase transitions for this system, by means of extensive numerical simulations and of analytical calculations for an explicitly solvable model. Our numerical experiments are based on Monte Carlo simulations, the numerical solution of the time-dependent nonlinear Fokker-Planck (McKean-Vlasov equation), the minimization of the free energy functional and a continuation algorithm for the stationary solutions.
△ Less
Submitted 6 February, 2019; v1 submitted 12 October, 2018;
originally announced October 2018.
-
Pseudospectral methods for density functional theory in bounded and unbounded domains
Authors:
Andreas Nold,
Benjamin D. Goddard,
Peter Yatsyshin,
Nikos Savva,
Serafim Kalliadasis
Abstract:
Classical Density Functional Theory (DFT) is a statistical-mechanical framework to analyze fluids, which accounts for nanoscale fluid inhomogeneities and non-local intermolecular interactions. DFT can be applied to a wide range of interfacial phenomena, as well as problems in adsorption, colloidal science and phase transitions in fluids. Typical DFT equations are highly non-linear, stiff and conta…
▽ More
Classical Density Functional Theory (DFT) is a statistical-mechanical framework to analyze fluids, which accounts for nanoscale fluid inhomogeneities and non-local intermolecular interactions. DFT can be applied to a wide range of interfacial phenomena, as well as problems in adsorption, colloidal science and phase transitions in fluids. Typical DFT equations are highly non-linear, stiff and contain several convolution terms. We propose a novel, efficient pseudo-spectral collocation scheme for computing the non-local terms in real space with the help of a specialized Gauss quadrature. Due to the exponential accuracy of the quadrature and a convenient choice of collocation points near interfaces, we can use grids with a significantly lower number of nodes than most other reported methods. We demonstrate the capabilities of our numerical methodology by studying equilibrium and dynamic two-dimensional test cases with single- and multispecies hard-sphere and hard-disc particles modelled with fundamental measure theory, with and without van der Waals attractive forces, in bounded and unbounded physical domains. We show that our results satisfy statistical mechanical sum rules.
△ Less
Submitted 22 January, 2017;
originally announced January 2017.
-
Wetting in a two-dimensional capped capillary. Part II: Three-phase coexistence
Authors:
P. Yatsyshin,
N. Savva,
S. Kalliadasis
Abstract:
In Part II of this study we consider two cases of three-phase coexistence. First, the capped capillary may allow for vapour, drop-like, and slab-like phases to coexist at the same values of temperature and chemical potential. Second, the slit pore forming the bulk of the capped capillary may allow for the coexistence between vapour, planar prewetting film and capillary-liquid. While the considerat…
▽ More
In Part II of this study we consider two cases of three-phase coexistence. First, the capped capillary may allow for vapour, drop-like, and slab-like phases to coexist at the same values of temperature and chemical potential. Second, the slit pore forming the bulk of the capped capillary may allow for the coexistence between vapour, planar prewetting film and capillary-liquid. While the consideration of the former case allows us to summarise the phenomenology presented in Part I and to show that the transition line of wedge prewetting is shifted in capillary-like geometries by a constant value, depending on the capillary width, the careful examination of the latter case allows us to uncover a new phase transition in confined fluids, a continuous planar prewetting transition. A planar prewetting transition is known to be a distinctly first-order phenomenon, and typically taking place on the scale of several atomic diameters. A continuous prewetting transition, on the other hand, is scale invariant. Thus, apart from being of fundamental significance, this finding has potential for facilitating experimental detection as well as measurements of planar prewetting. Further, we provide proof for the existence of a tri-critical point of the three-phase coexistence line of the capped capillary while by considering a dynamic model of wetting we show how the relaxation of the system can be pinned by a metastable state. We present a full parametric study of our model system and support our findings with exhaustive examples of density profiles, adsorption and free energy isotherms, and full phase diagrams.
△ Less
Submitted 20 September, 2013;
originally announced September 2013.
-
Wetting in a two-dimensional capped capillary. Part I: Wetting temperature and capillary prewetting
Authors:
P. Yatsyshin,
N. Savva,
S. Kalliadasis
Abstract:
In this two-part study we investigate the phase behaviour of a fluid spatially confined in a semi-infinite rectangular pore formed by three orthogonal walls and connected to a reservoir maintaining constant values of pressure and temperature in the fluid. Far from the cap** wall this prototypical two-dimensional system reduces to a one-dimensional slit pore. However, the broken translational sym…
▽ More
In this two-part study we investigate the phase behaviour of a fluid spatially confined in a semi-infinite rectangular pore formed by three orthogonal walls and connected to a reservoir maintaining constant values of pressure and temperature in the fluid. Far from the cap** wall this prototypical two-dimensional system reduces to a one-dimensional slit pore. However, the broken translational symmetry leads to a wetting behavior strikingly different from that of a slit pore. Using a realistic model of an atomic fluid with long-ranged Lennard-Jones fluid-fluid and fluid-substrate interactions, we present for the first time detailed computations of full phase diagrams of two-dimensional capped capillaries. Our analysis is based on the statistical mechanics of fluids, in particular density functional theory. We show the existence of capillary wetting temperature, which is a property of the pore, and relatively to the fluid temperature determines whether capillary condensation is a first-order or a continuous phase transition. We also report for the first time a first-order capillary wetting transition, which can be preceded by a first-order capillary prewetting. A full parametric study is undertaken and we support our findings with exhaustive examples of density profiles, adsorption and free energy isotherms, as well as full phase diagrams.
△ Less
Submitted 20 September, 2013;
originally announced September 2013.
-
Geometry-induced phase transition in fluids: capillary prewetting
Authors:
Petr Yatsyshin,
Nikos Savva,
Serafim Kalliadasis
Abstract:
We report a new first-order phase transition preceding capillary condensation and corresponding to the discontinuous formation of a curved liquid meniscus. Using a mean-field microscopic approach based on the density functional theory we compute the complete phase diagram of a prototypical two-dimensional system exhibiting capillary condensation, namely that of a fluid with long-ranged dispersion…
▽ More
We report a new first-order phase transition preceding capillary condensation and corresponding to the discontinuous formation of a curved liquid meniscus. Using a mean-field microscopic approach based on the density functional theory we compute the complete phase diagram of a prototypical two-dimensional system exhibiting capillary condensation, namely that of a fluid with long-ranged dispersion intermolecular forces which is spatially confined by a substrate forming a semi-infinite rectangular pore exerting long-ranged dispersion forces on the fluid. In the T-mu plane the phase line of the new transition is tangential to the capillary condensation line at the capillary wetting temperature, Tcw. The surface phase behavior of the system maps to planar wetting with the phase line of the new transition, termed capillary prewetting, map** to the planar prewetting line. If capillary condensation is approached isothermally with T>Tcw, the meniscus forms at the cap** wall and unbinds continuously, making capillary condensation a second-order phenomenon. We compute the corresponding critical exponent for the divergence of adsorption.
△ Less
Submitted 1 March, 2013; v1 submitted 4 September, 2012;
originally announced September 2012.