arXiv:2609.05778cs.LGSep 2026

Manuscript Offprint

arXiv:2609.05778

Nonlinear elliptic homogenization with the parametric Deep Ritz method

Conor Rowan

ABSTRACT

Elliptic homogenization is used to determine coarse-grained properties of materials with features on small scales for heat transfer and elasticity. When these small scale features have rapid, periodic fluctuations, the temperature or displacement field corresponding to a “homogenized” constitutive relation closely resembles the true solution based on the heterogeneous material. This homogenized behavior of the material is computed from a cell problem, where a cell is defined to be one period of the fluctuating material. In the context of linear elliptic partial differential equations, the homogenized constitutive relation is defined simply by a constant coefficient tensor, but for nonlinear problems, the homogenized response depends on the macroscopic state and/or its gradient, thus requiring solutions to parametric cell problems. Furthermore, when computing a numerical solution with the homogenized constitutive relation, it is useful to have a differentiable representation of the solution to the cell problem, as derivatives of the homogenized constitutive relation are required in Newton iterations for the macroscopic state field. In this work, we use the Deep Ritz method to solve the parametric cell problems that arise from nonlinear homogenization. First, we exploit the variational structure of the cell problem, then we discretize the dependence of the cell response on both space and the macroscopic state with a neural network. Enforcing boundary conditions on the cell response strongly with a choice of network architecture, we next use the parametric Deep Ritz method to simultaneously solve the cell problem over a range of macroscopic states and gradients. At the level of the cell problem, we show that this method is accurate, efficient, and offers a continuous and differentiable representation of the cell response over the macroscopic state and gradient. We then show that our parametric representation of the cell response expedites macroscale solutions when compared to a traditional FE 2^{2} scheme, thus facilitating numerical solutions to nonlinear multiscale problems.

Keywords Elliptic homogenization · Nonlinear homogenization · Multiscale mechanics · Deep Ritz method · Scientific machine learning

1 Introduction

In an oft-discussed essay titled “The Unreasonable Effectiveness of Mathematics in the Natural Sciences,” physicist Eugene Wigner states that the “enormous usefulness of mathematics in the natural sciences is something bordering on the mysterious and that there is no rational explanation for it” [1]. Subsequent philosophers and scientists, in particular complexity theorists, have had much to say on the often astonishing successes of mathematical descriptions of nature. In certain cases, the existence of simple yet predictive mathematical models becomes less mysterious when noting that it is unnecessary to track fine scale details in order to predict the dynamics of quantities of interest. Douglas Hofstadter makes this point as follows:

“There are those systems in which the behavior of some parts tends to cancel out the behavior of other parts, with the result that it does not matter too much what happens on the low level, because most anything will yield similar high-level behavior. An example of this kind of system is a container of gas, where all the molecules bump and bang against each other in very complex microscopic ways; but the total outcome, from a macroscopic point of view, is a very calm, stable system with a certain temperature, pressure, and volume” [2].

Statistical thermodynamics and the kinetic theory of gases are undoubtedly the favorite example of thinkers interested in the question of how a world built up of complex microscopic processes can be understandable at macroscopic scales. That some systems exhibit the indifference to Hofstadter's low-level happenings is surprising, and very much a boon to the physicist or engineer in the business of formulating models. In the language of some complexity scientists, a useful description or model of a system is called "emergent" when it does not make reference to small scale details of the constituents of the system. Implicit in this idea is that systems are organized in a hierarchy of scales, with a "microscale" representing the true nature of the system, e.g., what would be seen under a microscope, and the "macroscale" being the emergent, higher level description of the same. Referring to the kinetic theory of gases, physicist Sean Carroll states that a "property of a system is emergent if it is not part of a detailed fundamental description of the system, but it becomes useful or even inevitable when we look at the system more broadly" [3]. Along similar lines, complexity theorist John Holland writes that "hierarchical organization is thus closely tied to emergence. Each level of a hierarchy typically is governed by its own set of laws ... [but] the laws of a new level must not violate the laws of earlier levels" [4]. The idea of emergence—that high-level descriptions are often adequate—offers one perspective on Wigner's famous provocation that math's effectiveness cannot be explained. The construction of an effective macroscopic description by eliminating or averaging over fine-scale information is commonly referred to as coarse-graining.

While some system-agnostic probabilistic approaches to coarse-graining have been proposed [5, 6], it is natural to think of systems organized into a hierarchy of length scales [7]. Thus, the low level, or the microscale, represents the atomistic or molecular constituents of the system. Statistical mechanics has furnished an impressive array of techniques to extract coarse-grained laws from systems comprising a very large number of interacting parts. However, in the context of real-world engineering problems, it is often intractable to extract coarse-grained constitutive relations from a micro-scale model of the system. Furthermore, engineering materials often have heterogeneities not only on the microscale (atoms, molecules, etc.), but also mesoscale heterogeneity. This is certainly the case in composite materials, where the phase of the material varies on the millimeter and centimeter scale, perhaps between a matrix and an inclusion phase. Phenomenological thermodynamic potentials (entropy, energy, and Legendre transforms thereof) are often sufficient for constitutive modeling of individual phases, and coarse-graining the mesoscale heterogeneity is the problem of practical interest [8, 9]. As philosopher of science Bob Batterman claims, “mesoscale parameters and variables are the right variables for doing condensed matter physics broadly constructed. They are natural. In metaphysical terms, they better carve nature at its joints than lower scale, presumably more fundamental structures” [10]. In engineering, the problem of extracting macroscopic material properties from mesoscale heterogeneity is called “homogenization.” Note that while material heterogeneity is typically on the mesoscale, these features of the material are referred to as “microstructure” in the literature. We adopt this terminology going forward.

In this work, we focus on elliptic homogenization of materials with periodic fluctuations, with applications in elasticity, heat transfer, and mass transport problems. The theory of elliptic homogenization for linear partial differential equations (PDEs) dates back many decades [11, 12], but has seen many modern treatments, including extensions to nonlinear problems [13]. The basic idea of elliptic homogenization is to obtain the macroscopic constitutive response by passing displacement, temperature, or concentration gradients through a “cell” of the periodically fluctuating material, and then computing the corresponding macroscopic flux by averaging the cell response. A cell is defined to be one period of the fluctuation in the material, and is thus the basic building block of the heterogeneous material. For non-periodic or random microstructures, effective properties are instead commonly estimated using a representative volume element (RVE), whose size must be sufficiently large to capture the relevant statistics of the microstructure [14, 15]. Because we restrict attention to periodic homogenization, we use the terminology of cells of material microstructure. The cell-based approach has been thoroughly explored in the context of the finite element method, where the cell can be meshed, and the cell problem solved numerically, which allows for the computation of effective macroscopic properties [16, 17, 18]. Computing macroscopic properties in this way obviates building a finite element mesh to resolve the microstructural fluctuations within the macroscopic domain, which leads to expensive simulations [19].

For linear homogenization problems, the homogenized constitutive relation is also linear, and can thus be computed with the response of the cell to unit gradients. For nonlinear homogenization, the homogenized constitutive response depends nonlinearly on the macroscopic state and its gradient, requiring a tighter coupling between the macroscopic domain and the cell problem, as the cell response needs to be re-computed as the macroscopic state evolves with Newton iterations [20, 21, 22]. One popular method for passing information across scales is the FE 2^{2} approach, which solves a finite element problem for the cell response at each macroscopic integration point, and computes the constitutive response accordingly. FE 2^{2} has been used successfully with the finite element method in the context of thermoelasticity [23], piezoelectric materials [24], and multi-scale fracture mechanics [25]. Newton iterations at the macroscale additionally require derivatives of the homogenized constitutive relation with respect to its macroscopic arguments. In conventional FE 2^{2}, evaluation of this consistent tangent requires linearization or sensitivity analysis of the cell problem [26, 27, 28].

In the last decade, scientific machine learning (SciML) has offered many new perspectives on classical problems in computational science, as well as introduced a number of fundamentally new tools. In the period of 2017-2019, physics-informed neural networks (PINNs) established a new paradigm for scientific computing, where data and physical knowledge could be seamlessly integrated [29, 30]. With PINNs, neural networks discretize the PDE solution field, and the loss function used to train the network can incorporate both the governing differential equation and measurement data on the system of interest. This framework streamlines numerical solutions to complex PDEs, does not require a mesh, and requires minimal modification to solve inverse problems [31]. Some variations to the basic PINNs framework involve using different loss functions, for example the variational energy [32, 33, 34] or the weak form of the governing equation [35]. PINNs have been successfully used in many application areas, such as fracture mechanics [36], fluid mechanics [37], nonlinear elasticity [33], and heat transfer [31]. Despite their successes, PINNs rely on knowledge of the governing equation, training can be expensive, and they require re-training if the PDE input is changed. In response to these challenges, a technique called operator learning trains neural networks to predict the PDE solution function over a range of problem inputs entirely from data. This was first explored with the Deep Operator Network [38], and the basic idea has given rise to a number of other architectures, such as the Fourier Neural Operator [39], the Laplace Neural Operator [40], Wavelet Neural Operator [41], among others [42, 43, 44, 45]. Two noteworthy benefits of neural operators are that knowledge of the governing equation is not required in order to construct a predictive model and they are efficient to evaluate once trained, as the operator acts as a surrogate for solves of a PDE, thus avoiding computationally expensive solutions to large systems of equations. That being said, we remark that when it is available, it is possible to include knowledge of the physics to the operator learning process [46].

PINNs and neural operators have been studied extensively in many scientific fields, but there are comparatively few works using the techniques of SciML for homogenization. Because cell problems require potentially expensive numerical solutions to determine material properties, and the cell response cannot always be characterized by unit-load solutions, a number of authors have explored using data-driven methods as a surrogate for the cell problem. An early example of using machine learning tactics to accelerate nonlinear homogenization relies on neural networks to approximate the relationship between the deformation and homogenized stress tensor in elastic solids [47]. In

[48], a data-driven model is trained to predict the stress field in the cell of a composite material, which allows for efficient computation of macroscopic properties. A particularly simple strategy is to leverage knowledge that linear elliptic equations admit homogenized solutions, and directly learn the homogenized tensor from data. This approach was pursued in [49], where the authors use data on a multiscale system to approximate the homogenized coefficients by solving an inverse problem with PINNs. Other works have explored the use of Fourier Neural Operators for homogenization of linear elliptic equations [50, 51]. Neural surrogate models for the constitutive response of multiscale solids have also been explored in the context of structural design optimization [52]. Neural surrogates are differentiable with respect to the macroscopic state and its gradient, but they do not encode physics, relying instead on large quantities of training data. Furthermore, if the surrogate maps from the macroscopic state and gradient to the homogenized response directly, it avoids the cell problem, which provides important information about the maximum temperature or stress in the body [53].

By solving the cell problem numerically with a neural network discretization, other machine learning-based approaches to homogenization rely on physics over data. An early example of this solves the cell problem with a neural network discretization, computes the homogenized material properties from the cell problem, and then solves the homogenized macroscopic equation with a PINN approach [54]. As the authors discuss, this allows the neural network to accurately model the macroscopic response of the structure, as neural networks struggle to represent high-frequency solution fields, a phenomenon known as the “spectral bias” [55]. Relying on methods to strongly enforce periodic boundary conditions introduced in [56], subsequent works have also used neural network discretizations to solve the cell problem, whose solution governs the macroscopic material response. In [57], the authors use exact boundary condition enforcement to homogenize three-dimensional microstructures for linear elliptic problems. Similar methods were explored in the multi-physics setting, where the homogenized electromechanical properties of periodic composites were computed using neural network discretizations of the cell problem [58]. Again investigating periodic composites, another study uses domain decomposition to split the cell problem into matrix and inclusion sub-domains, with neural networks discretizing the solution field in each phase [59]. In [60], the authors use neural networks to discretize the solution to the cell problem, but the neural network architecture and loss function are modified to accommodate high-frequency responses and sharp gradients in the cell. Noting that PINN solutions can fail in the presence of discontinuous coefficient fields, the authors in [61] introduce a novel formulation of the PINN loss which is more robust to these discontinuities. For a thorough review of machine learning approaches to multiscale problems, see [62]. We note that the above studies focus primarily on linear homogenization, where the cell problem is not influenced by the macroscopic state of the body. An exception to this is given by a recent work, which uses a variational formulation of the cell problem to compute homogenized material properties in the context of hyperelasticity [63]. In this work, the authors use the Deep Ritz method to solve for the homogenized response of the cell at given macroscopic parameters. If their approach were to be included in an FE 2^{2} scheme, the network governing the cell response would need to be continually retrained as the macroscopic state evolved with Newton iterations. This motivates a parametric formulation of the cell problem for nonlinear homogenization, where the network discretizes the cell response in both physical space and in the space of macroscopic parameters.

This work leverages the ability of neural networks to handle parametric problems to simultaneously solve for the cell's response over a range of macroscopic states and gradients. Our contributions are as follows:

  1. We formulate a solution to the cell problems of nonlinear homogenization with the parametric Deep Ritz method;

  2. We demonstrate that this leads to accurate and efficient solutions to the cell problem which are differentiable with respect to macroscopic parameters;

  3. We compare against a traditional FE 2^{2} implementation of a nonlinear multiscale problem, showing that the parametric representation of the cell response furnished by our method expedites the numerical solution.

The rest of this paper is organized as follows. In Section 2, we outline our approach nonlinear homogenization, which makes no reference to perturbation theory or asymptotic expansions. In Section 3, we introduce the parametric Deep Ritz method for the cell problems of nonlinear homogenization, showing how periodic boundary conditions can be enforced strongly with neural network discretizations. In Section 4, we provide numerical examples from different problem types in nonlinear heat transfer, showcasing the ability of our method to handle varying number of macroscopic state parameters. In Section 5, we solve a nonlinear multiscale problem with a traditional FE 2^{2} approach and our method, showing that the parametric representation of the cell response avoids online numerical solutions of the cell problem, thus streamlining the macroscale solution. In Section 6, we close with concluding remarks and directions for future work.

References (56)