Manuscript Offprint
arXiv:2611.05276De Rham cohomological architectures for PINNs and PDEs with topological holes
Abstract
We attempt to alleviate failure modes of classical physics-informed neural networks (PINNs) in scenarios of topological pathologies corresponding to punctures, holes, poles, and voids by introducing de Rham cohomological augmentations, or Hodge-de Rham PINNs. Vanilla PINNs often encounter pitfalls in hole-based settings due to discontinuous interfaces, nonzero closed path integration, path dependence, correspondence to exact forms via the exterior derivative, etc., therefore we absolve traditional failures via parameterizing a 1-form by the Hodge-Morrey-Friedrichs (HMF) decomposition for manifolds with boundary, drawing a connection to de Rham cohomology such as through the HMF isomorphism theorem. 1-forms can act as representations of scalar-valued PDE solutions through integral operator mappings. We propose performing a PINN-based loss on the parameterized 1-form through an associated PDE, which subsequently solves the potential-based PINN problem and moreover remedies the failures of vanilla PINNs via the Sobolev-regular operator under a Fréchet differentiation interconnection. The operator relationship often has a nontrivial closed-form and often requires integration or a case-by-case analysis, which we address thoroughly in our experiments. When an integrability condition is not met on our losses, we can equip exhaustion functions to train the networks. We demonstrate our methods on the Aharonov-Bohm effect, which, to our understanding, is largely nonexistent in PINN literature. We develop theoretical guarantees of our methods and demonstrate our pathological safeguards on a broad selection of topologically-adverse problems, including scenarios of inexact forms, and those of nontrivial harmonics and coexact terms.
Key words. de Rham cohomology, differential topology, algebraic topology, algebraic geometry, musical isomorphism, Sobolev, 1-form, coexact, puncture, pole, Hodge decomposition, Hodge-Morrey-Friedrichs, Helmholtz-Hodge, Hodge-de Rham, harmonic representative, Aharonov-Bohm, PINN, physics-informed
AMS MSC Classifications (2020): 58A12, 58A10, 68T07, 65N99
Contents
1 Introduction 3 2 Notations and conventions 6 3 Methods 7 3.1 Setup 7 3.2 Primary contribution 10 3.3 Extracting the PINN solution from the form, and vice-versa 13 4 Training 14 5 Experiments 18 6 Conclusions 18 7 Acknowledgments 20 8 AI statement 20 A Theoretical discussion 24 B Additional discussion 29 C Manners of efficiency 30 D Coexact formulas in generalized cases 32 E The loss function in 3D 33 F Experimental details 34 F.1 Unit radial vortex 34 F.2 Arctangent without zero 35 F.3 Arctangent with exhaustion 37 F.4 The Aharonov-Bohm effect with one pole 37 F.5 The Aharonov-Bohm effect with two poles 39 G Connections to complex and Kähler geometries 39 G.1 A Pythagorean loss function 40 G.2 An exact architecture 41 G.3 Full de Rham Kähler architecture 43 H Kähler manifold experiments 44 H.1 Kähler manifold with vector-valued PINN success 44 H.2 Kähler manifold with vector-valued PINN failure 45 I A further scalar-valued PDE solution with nonzero coexact term example 45 J Additional figures 46
Scalar-valued PINNs, which are standard for a broad variety of PDE tasks, fail on topologically adverse domains. This is in part due to the fact that
since scalar valued functions are implicitly associated through exact forms via and the exterior derivative. We demonstrate the phenomenon that scalar PINNs are associated to exact forms in Figure 26. This is adverse because, in this work here, we will need to find scalar solutions such that the associated 1-form via the exterior derivative that solves the PDE is not exact, which we show in 30. In particular, taking the exterior derivative of a scalar PINN yields an exact form. This is not to say a scalar function can have zero association to a non-exact form, which is entirely how this work is developed. Indeed, we will associate non-exact 1-forms to scalar PDE solutions via Sobolev-regular operators, the Fréchet derivative, and integration. More specifically, is largely associated to an exact form because is a globally defined, single-valued smooth function, so its exterior derivative (which the PINN computes via automatic differentiation) is exact. We note
(assuming a flat metric), which is information PINNs usually use. To illustrate further that scalar PINNs associate with exact forms, note that for a line parameterization , , we evaluate the circulation around the loop
This too is reflected in Figure 26. In many of our experiments, we require the above to evaluate to a nonzero number.
Our methods can remedy discontinuous branch cuts or undesirable behavior caused by poles. We will term these discontinuous interfaces as branch cuts. The term branch cut largely has meaning in complex analysis but we use it here with meaning in topology for example to illustrate a topological obstruction to exactness. Moreover, functions on manifolds around poles can experience blow-up (this is a main reason our experiment of a vector-valued PINN in Figure 27 fails, although this blow-up is more of a soft blow-up than a divergence). One possible consideration is to equip our (compact) manifolds with exhaustion functions.
De Rham cohomology is the suitable tool for such purposes. As mentioned in the previous paragraph, poles can create topological obstructions that ordinary PINNs cannot work around. It is true that removing poles can create nontrivial cohomology. For example, removing poles in two-dimensional domains can introduce noncontractible loops, which generate nontrivial first de Rham cohomology. Moreover, the first de Rham cohomology group identifies closed 1-forms that cannot be represented as gradients of globally-defined scalar functions. De Rham cohomology allows us to turn the topological pitfalls into something parameterizable using the dimension of the quotient module (let us not concern ourselves with the associated ring for the sake of simplicity), since
We say smooth because of smooth activations, or at least smooth almost everywhere to account for ReLU-type activations.
Here, is the first Betti number. For example, in with distinct punctures, we get .
Moreover, de Rham cohomology has interconnections to the Hodge decomposition. We will work with compact, smooth manifolds with boundary in an empirical setting, so we will specifically work with the three-term Hodge-Morrey-Friedrichs (HMF) decomposition
which serves as the underpinning of our architectures here. Note the above of 1.5 can also be referred to as the Helmholtz-Hodge decomposition, although this is somewhat colloquial because the decomposition referred to this exactly is less-existent in literature. Note 1.5 is verbatim in Su et al. (2024b) in section 2.2, equation 2.13, and is also almost found verbatim in Bhatia et al. (2013) on page 1390. We also refer to D'Elia et al. (2020) Schwarz (1995) Weyl (1940) F. (1941). Note a historical reference is Helmholtz (1858), which is in German. We remark the standard Hodge decomposition is not suitable for our purposes here because the boundary is incompatible with this framework, i.e. integration by parts produces a nontrivial boundary term. For example, via Stokes' theorem
The classical Hodge decomposition is intended for compact Riemannian manifolds without boundary. is absolute harmonic space instead of unconstrained harmonic space , which we need because of our choice of manifolds. Note the above of 1.5 also has connections to the generalized Hodge-Morrey-Friedrichs decomposition, which is as follows Shonkwiler (2009) Morrey Jr. (1956) Friedrichs (1955):
We will work with 1.5 without loss of generality, although they are almost identical for our purposes because neural network can capture and the exact harmonic forms together, i.e. we can bundle the exact terms together. In particular, we could bundle the exact terms as
In 1.7, stands for Dirichlet and stands for Neumann. The boundary conditions are required to enforce orthogonality, i.e. a direct sum versus as an algebraic sum, and we do not lose expressive power in our ansatz by dropping these conditions. We will largely ignore the boundary conditions as in 1.5, which is fine for our purposes, and we will maintain expressivity in our ansatz of 3.18. De Rham cohomology is an algebraic means to measure topological obstruction via the quotient module . There exists a canonical isomorphism
via the Hodge-Morrey-Friedrichs theorem/isomorphism Cappell et al. (2006) (which is closely related to the Hodge isomorphism theorem Wells (1980) Warner (1983), but not the same), and the right-hand side of 1.8 will be the space in which our harmonic forms will live. Note that 1.8 can also be written in terms of conditions, nuanced by absolute and relative cohomology. It is also true that
We will use this as well to parameterize our harmonic forms corresponding to the number of punctures. In all of our experiments, the number of punctures will be equal to the first Betti number . Note that we have also chosen k = 1 in 1.9. In particular, the terms we will call h in this work will greatly affect the learning of topological obstruction. In 3.18, we will parameterize our 1-forms that are intended to solve the PINNs via utilizing a decomposed ansatz. We subsequently draw connections to these 1-forms to the associated globally-defined scalar-valued PINN via the techniques in section 3.3.
Related work. Huang et al. (2022) addresses a PINNs for a fluid-solid interface with no-slip conditions and the simulated PINNs contain fluid dynamics around topological holes. Zhou et al. (2025) also discusses PINNs for topological pitfalls via a Hybrid Boundary PINN (HB-PINN), which achieves SOTA performance on tasks such as 2D cylinder wake flow and the 2D blocked cavity flow. Hu et al. (2024) addresses PINNs under singularities and geometric irregularities for Poisson equations, although these methods are not entirely compatible with poles. Overall, these methods are partially consistent with ours but are not intended for smooth-violating topologies and failure modes of PINNs under pole corruption.
Bastian et al. (2026) discusses topological neural operators (TNOs), which lifts neural operators to more nontrivial topological domains. They also introduce Hierarchical TNOs for propagation of topological information. This work also discusses the Hodge decomposition, which is crucial to our work here.
Baking topological features into neural network architectures in general is not new in literature, although it is new in the manner we present it here. Crocoll et al. (2026) discusses GLENN, or neural networks for Ginzburg-Landau problems. Their approach is hybrid: it uses unsupervised learning and, in conjunction, learns topological constraints with finite elements. Wu et al. (2022) constructs a PINN by integrating the physics into the model directly via a " cascaded deep neural network." Liu et al. (2024) resolves topological nuances via rotation, driven by orbital angular momentum, which incorporates the topological features into the neural network ansatz, which has connections to our work here.
We discuss work relevant to de Rham cohomology in a machine learning setting. Hu et al. (2026) constructs de Rham subcomplexes generated by shallow ReLU networks. Su et al. (2024a) discusses manifold topological learning via persistent de Rham-Hodge Laplacian. Longo et al. (2023), most closely aligned with ours, embeds valid geometry of the discrete de Rham complex directly into deep learning architectures. Their approach is based on finite element strategies with basis functions. This paper is mostly an approximation theory paper. This paper is not based on the Hodge decomposition, which is what our work here does. Chen et al. (2026) discusses a deep Ritz method for PDE learning on the de Rham complex and overall discusses PINNs in these scenarios. This work is not based on an Hodge ansatz, nor is it largely based in learning with poles as in our work, although this work has general connections to Hodge theory. These works, while compatible with our de Rham cohomological perspectives to machine learning, are mostly distant from the work we present here.
A substantial contribution of our experiments is a working PINN on the Aharonov-Bohm effect. To our knowledge, this experiment is largely nonexistent in PINN literature. Brevi et al. (2024) discusses PINNs for quantum systems based on ring-shaped domains, namely a Schrödinger eigenfunction system, which has connections to our work here. Holliday et al. (2023) also discusses PINNs for quantum eigenproblems on more nontrivial domains. De Raedt and Michielsen (1994) discusses numerical solutions for the Aharonov–Bohm effect with accuracy, although this work is not PINN-based. Ovall and Zhu (2025) studies a gauge choice that can make Schrödinger eigenfunctions less oscillatory and easier to approximate.
Additional discussion. Let us be convinced that making these PINNs vector-valued does not solve the problems we present here. We will show this with empirical evidence throughout this work. A vector-valued PINN cannot resolve the discontinuity issues we face here, such as in Figures 5, 16, since discontinuities are naturally incompatible with smooth activations; however, a vector-valued PINN does not necessarily correspond to an exact 1-form, therefore a vector-valued PINN can remedy this issue.
Let us discuss more with the example in F.4. If as in this section are parameterized directly, we introduce the branch cut or jump discontinuity. Our ansatz succeeds because we never ask the network to learn the branch cut directly since we introduce
and the harmonic basis generator , which is systematically constructed and built into the ansatz, learns the discontinuity for us. Let us try again to parameterize the solution as vector valued as
. To get from the vector PINN , we must perform numerical integration (this is exactly what we do anyway in section F.4). Because the space has a hole and
this integral is path-dependent. Our methods bypass path-independence since our methods (often) compute
for suitable path . Sometimes, we will only integrate the term. As mentioned in the abstract of this work, a lot of our methods needs evaluation on a case-by-case basis. We illustrate a path-dependence phenomenon in Figure 29.
2 Notations and conventions
We will let be a punctured manifold of dimension , or possibly a submanifold of in the complex case (see section G). We will use to denote a 1-form (we will omit the subscript for simplicity), or correspondingly a smooth section of the cotangent bundle such that , corresponding to a scalar valued PDE solution (note that is not necessarily , therefore it is of interest to equip an exhaustion function ). We will denote an exact component to as , a coexact component , and the corresponding harmonic representatives such that obeys the decomposition . We will assume the gradient operator is taken with respect to the flat Euclidean metric unless stated otherwise. We will use notation
to denote the circulation along for a smooth 1-form section in the cotangent bundle, where , , and is a suitable domain for parameterizing . We will use to denote the spatial differential operators in the PDE to be learned for the scalar solution and on the components of respectively, where is the sharp musical isomorphism operator. When we say cohomology, we refer to the -th cohomology module as a quotient space of modules
via a coset definition, where is a homomorphism as in the cochain complex
We will take in cohomology [α] to belong to the first de Rham cohomology group (see section 3.1). In this work, when we say a form is exact, we mean for some , where is the exterior derivative, and we say a form is closed if . Because , every exact form is automatically closed (). We will denote to denote a neural network parameter and to denote a neural network. Our notation is mostly standard.
3 Methods
3.1 Setup

(1)
(2)
(3)
Figure 1: We plot success of a (1) Hodge-de Rham PINN and failure of a (2) vanilla PINN on a domain with a topological hole under the PDE , where is the Laplacian with respect to the flat metric. The true solution is (3). We use the loss . We train for 12,000 epochs and use a Fourier feature embedding as in Wang et al. (2023) with . We see complete failure of the PINN. By the Fundamental Theorem of Line Integrals, we have , but corresponds to a non-exact form. This PINN completely fails (as opposed to only failing at the discontinuity) because Neumann boundary conditions are used.
Consider a PDE over a punctured domain
where and . More generally, when has nonzero measure, let be disjoint, compact sets. The punctured domain becomes
Now, take the PDE to have the form such that and
A standard PINN consider the physics loss
We will often consider to be the target form such that locally, i.e. on any simply connected open set , but not every satisfies this due to a coexact term. We will elaborate on general strategies regarding form and scalar conversions in sections 3.3 and 5. In this work, it is also of interest to consider time-independent PDEs, so a loss of
We have renamed to account for a new operator. We will relax this discussion throughout 4, so we will discuss for the sake of simplicity time-dependent PDEs; however, some of our experiments will use time-independent PDEs (see Appendix F.1).
For a locally exact form, because has no holes, Poincaré's Lemma Bott and Tu (1982) guarantees that every closed form is exact on ; however, there does not exist a single global potential on all of , and so for all . Because a neural network is globally defined, it is mathematically incapable of being . We highlight this with an example:
Example 1. Consider the canonical 1-form for a puncture at the origin
By computing the exterior derivative, we verify everywhere on . Locally, let us integrate to find a potential . When we do this, we get the (smooth) polar angle
So locally, . Let us attempt to define globally on the punctured plane. If we start at coordinates and define , we walk counter-clockwise along the unit circle, so continuously increases. When we arrive back at , continuity dictates that . Therefore, if is scalar, a contradiction is achieved. In particular, for a typical neural network , at a coordinate , the network by definition outputs a scalar. If the network tries to learn , the network must satisfy one of two properties, impossible together:
I. it must either output a smooth function (up to smoothness of the activation) which fails to represent the jump;
II. it must force a jump discontinuity, which ruins the derivative ; automatic differentiation is not intended for these types of scenarios, and smooth networks with smooth activations cannot handle a jump discontinuity.
In particular,
or more informally, a smooth solution cannot satisfy the discontinuity and if it satisfies the discontinuity, it breaks the PINN. We use jump operator notation . Note that PINNs for discontinuities do exist Liu et al. (2023); it is more so that baselines fail, which Liu et al. (2023) details. Alternatively, if the jump discontinuity is exactly along the boundary, the PINN is not necessarily broken. For example, learning . Therefore we consider an -neighborhood or open set around the discontinuity to be of interest in the learning task, so is the walked-path in the example. Hence, globally.
Hence, we can conclude the form satisfies the de Rham obstruction
where we define
Here, the quotient space is called the first de Rham cohomology group. The first de Rham cohomology group is isomorphic to the quotient space, of interest in the learning task in which the harmonic forms will belong, in the weighted -cohomology group
and accounts for the holes in this setting. The learned network form belongs to . is the setting for integrability and is the setting for smoothness (note usually means smooth sections but not in this context). PINNs are generally over bounded and compact domains, and are typically done in settings for their scalar field equivalents, and their form analogs are no different; however, the poles can cause integrability issues. Theoretically, we can equip with an exhaustion function to ensure a "safe region" of the PINN is trained on; more specifically, the exhaustion functions make the entire domain "safe" whereas, without exhaustion, there is (possible) blow-up near the pole. For to formally be considered an exhaustion function, it must satisfy to be compact. By construction of , the level sets are compact. Without loss of generality, we can always take compact in an empirical setting anyway. The form will diverge at the pole, but the weight will force decay to ensure an integrability condition is met, since a PINN loss function will require specific integrability. Indeed, PINN loss can explode, so consider the example
We witness the above ourselves in our experiments (see sections 5, F.2). In section F.2, we specifically cut-out a sufficiently nice region around the pole to prevent divergence of the loss. By equipping an exhaustion function, we ensure a loss can be satisfied, although the exhaustion function ensures belongs to this class but will not need to be computed. With an exhaustion function, the physics loss on the form is
(possibly) omitting time for a time-independent PDE. We perform an exhaustion function experiment in F.3. Thus, the weighted -de Rham cohomology group of 3.12 has connections to PINNs.
Returning to the example, by Stokes' theorem, integrating the differential form, which is exact, gives
however, in our example,
for a loop surrounding the pole, so is not exact. Since , is closed, meaning , but the contour integral condition means it is not exact, so (by definition, is the collection of exact forms). Therefore, represents a nontrivial cohomology class in the quotient space, meaning , and moreover in a PINN setting
of 3.12.

Figure 2: We illustrate our architecture as in 3.2. We specialize to the case of .
3.2 Primary contribution
We propose introducing an ansatz of the form, for any finite number of punctures,
where are harmonic representatives of . In particular, the above architecture is essentially built on the Hodge decomposition but with absolute harmonic forms, or the Hodge-Morrey-Friedrichs (HMF) decomposition
Note this is not the same as the Hodge decomposition because we must also account for the boundary (see section 1 and discussion surrounding 3.20). As we mentioned in 1, the Hodge decomposition is primarily intended for compact Riemannian manifolds without boundary. In PINNs in empirical settings, it is most reasonable to work with compact Riemannian manifolds with boundary. Here, are all learnable: are outputted by the neural network and are learnable, single parameters. is a 0-form, i.e. uses a scalar potential, approximating true 0-form , is a smooth section. We will generally take , so is a 1-form. is a 2-form, i.e. uses a vector potential whose dimension depends on the domain, which approximates true , . In 2D space, there is only one basis form , so is scalar. In 3D space, a 2-form has three basis elements , , , so has 3 output neurons. denotes the codifferential operator, i.e. the -adjoint of the exterior derivative , defined via the Hodge star so that George. is the first Betti number. The exterior derivative and codifferential operator act in chain
so the exterior differential maps to a higher smooth form, and the codifferential maps below.
Since we will be working with compact manifolds with boundary in an empirical setting, we must justify the vanishing of the boundary term
In particular, for the decomposition in 3.19 to be an orthogonal direct sum, the spaces and must be mutually orthogonal. We need not address boundary terms in our methods here. We will omit boundary terms in our experiments, therefore the spaces of exact and coexact forms are not orthogonal. Our methods will work in our experiments because of the decomposition as in 3.19, and not the true Hodge decomposition. This hypothesis class is expressive, and we can find a 1-form in the above that solves the associated PDE problem. More specifically, in , we will apply the HMF decomposition to the true underlying forms . The PINN is unconstrained: can take on anything on the boundary (notice the coexact and harmonic components do not). The math works out because, for example, we will examine
so the second term vanishes and annihilates the boundary. We will examine other terms that behave similarly as well.
Let us discuss the space of absolute harmonic forms more closely in order to distinguish it from that which is in the typical Hodge decomposition. We define
Here, denotes the normal trace of on the boundary, which corresponds to . For 1-forms, this condition simplifies to , where is the outward unit normal vector. As mentioned in 1, by the Hodge-Morrey-Friedrichs theorem Schwarz (1995), this specific space yields the canonical isomorphism to the de Rham cohomology
meaning its dimension is the -th Betti number, . Therefore, we can choose a finite harmonic basis representing the first cohomology group, even when the manifold has a boundary.
We write in 3.18 with spatial and temporal input
In connection to the first de Rham cohomology group, we can note due to the existence of the terms. In a vanilla PINN, learning a scalar field means that the model only corresponds to exact forms, i.e. . This is true because is the form, hence exact. Again, this is problematic because exact forms integrate to zero over any closed loop, which we saw in Example 1 partially in 3.35 (which integrated to because it is not exact) and also appeared in 1. Moreover, the PINN is constrained to the trivial cohomology class [0]. In particular, in de Rham cohomology, the quotient space groups closed forms into equivalence classes. Two closed forms and belong to the same equivalence class, or written as , if and only if they differ by an exact form, that is,
Because of this rule, the trivial cohomology class [0] is the set of all exact forms, and , and exact forms write as [0].
If the domain has punctures, then . For exactly one puncture
Computationally speaking, we compute in 2D space
and moreover,
In 3D space, we have
Also, , and since , the codifferential becomes the curl
Scaling this architecture to dimensions introduces computational and analytical bottlenecks, therefore we omit these dimensions for simplicity. For example, the number of independent basis elements for a 2-form is given by the binomial coefficient , which is not reasonable for typical automatic differentiation without high-dimensional extensions Kaminsky et al. (2026) Shahab et al. (2025). Moreover, analytically computing the first Betti number and deriving closed-form, differentiable expressions for the harmonic basis forms for arbitrary manifolds in is a nontrivial algebraic topology problem. If we cannot provide the explicit forms to the network, the sum cannot be evaluated.
We can note are mere approximations to the true forms, so these neural network representations belong to classes
Here, , , so they are smooth sections due to the smooth activations. The networks must account for perturbation and error since they are learned and imprecise, although corresponding to true forms. Note that we take generalized here, but often is the punctured domain, and we use the norm, which applies to forms
Here, is the Levi-Civita connection.
Architectural motivations. The three neural network terms learn the following components to the PDE:
I. captures the irrotational (curl-free) part of the field. Recall is a 1-form, so it "corresponds" to a vector field via musical isomorphism. This term accommodates smooth, continuous dynamics.
II. captures the solenoidal (divergence-free) part of the field, for vortices, eddies, and rotational flows. A pure gradient field cannot model rotation because the curl of a gradient is always zero
III. is the harmonic component that aptly characterizes the PINN as de Rham cohomological, since are more aptly the smooth, local vector field terms. Rather, absorbs the holes into the learning. If a field circles around a puncture (like a magnetic field around a wire or a fluid vortex around a cylinder), it accumulates a non-zero value over that closed loop. This term mostly rather learns the nonzero value of the closed line integral. We can note
By Stokes' theorem, the line integral of over the closed loop evaluates to zero. The term is -orthogonal to the space of harmonic forms (we say this nonrigorously because our domains have boundary). Assuming the harmonic basis forms are selected such that they form a dual basis to the homology cycles, meaning , where is the Kronecker delta, the integral simplifies
The parameter represents the de Rham period of the field, or correspondingly the we saw in Example 1, in the -th homology cycle.
3.3 Extracting the PINN solution from the form, and vice-versa
A major motivation for this work is we can perform the learning on the form , and we can convert, or at the very least extract, a PDE solution corresponding to . To summarize, this is oftentimes problem-dependent, but the overall recipe can be captured in a few key steps. We refer to I for a specific example.
In general, we seek an operator
invertible on its image, up to boundary conditions. The simplest case , so it is an exact form, but this is an oversimplification relative to our proposed architecture of 3.18, and we can handle more advanced setups.
In general, there is not a universal rule for determining a closed form for . In our experiments section of 5, we will elaborate for each example on how to deduce and convert between .
Instead, let us consider the following, which is useful and encompassing of many scenarios but is not universally applicable for learning broadly:
where is shorthand for the 0-form (function) . Crucially,
which need not vanish. Thus, a scalar solution can induce an associated 1-form with a nonzero coexact component, which has connections to the example in Appendix I. Generally, we recover the PINN solution as
or alternatively
It is in this correspondence, we derive a new PDE associated to differential operator as in 3.1 and operator . The 1-form will satisfy an associated PDE
(3.42) where is a differential operator associated with with possible initial and boundary data. Therefore, in section 4, we consider this PDE on the loss.
The reasoning as to why the previous discussion works is because, consider the PDE with associated operator . Via chain rule, . Here, represents the Fréchet derivative. Therefore, substituting the differential operator . When exists on the admissible class (note that it does not always exist), substitute , and so
and the new associated operator defines . Note that this does not guarantee is a local differential operator, i.e. the inverse of may require integration. Also, must be in the image of . Note that we are using notation so the applications are element-wise, i.e.
For us, the invertibility of is important because it is more important empirically that we can extract u from than vice versa. Consider the form PDE empirical risk
By chain rule (do not yet assume the risk identically vanishes), the risk rewrites
The scalar PDE empirical risk can be written . Since the operator with its inverse satisfies , by the chain rule for Fréchet derivatives, and since the derivative of the identity operator is the identity (in general, this is not true, but it is true for Fréchet derivatives)
Returning to 3.47 and applying the operator and using 3.49,
4 Training
In this section, we develop general rules for training. There are more guidelines than absolute rules, and oftentimes, the losses are problem-dependent (see experiments in F). We develop the total loss
and include boundary data if permissible. The physics loss means the PDE is applied component-wise, and so
(4.3)
(4.4)
for measure . Note that it is possible the PDE is time-independent, so the above is more a generalization rather than a rule that always holds. In particular, the loss is element wise, so we examine
\left\{\begin{aligned}&\left(\int\partial_{t}\alpha_{\theta,1}+\Psi_{\alpha,1}\right)\Bigg|\begin{aligned}\\ &\alpha_{\theta}=d\phi_{\theta}+\delta\beta_{\theta}+\sum_{j}c_{\theta,j}h_{j},\\&\vdots\\&\int\partial_{t}\alpha_{\theta,d}+\Psi_{\alpha,d}\\ &\end{aligned}\Bigg|\begin{aligned}\\ &\phi_{\theta}\in\Omega^{k-1}(M),\beta_{\theta}\in\Omega^{k+1}(M),h_{j}\in\mathcal{H}^{k}(M)\\ &\end{aligned}\right\},\\ \end{aligned}\right. \tag{4.5}since , and moreover
is neural network representative of a 1-form. is the sharp musical isomorphism, or alternatively as a bundle isomorphism over the manifold (note that is indeed a manifold). A 1-form is constructed as a linear combination of basis covectors . When the PDE operator acts on the full form , the output expands in the same basis, . Here, represents the residual of the -th component.
We expand out the physics loss of 4.2 in 2D so we can see what exactly is happening here. The physics loss, with the form substituted in
(4.9)
In practice, it is easier to compute the form first then substitute into the PDE, although the above is exactly suggestive of this but expanded out rather than done in steps. We can also note via is a covector field independent of time and depends on time, so
(4.10) and so
Again, is the first Betti number.
We develop the initial condition loss. Generally, the boundary loss is in terms of the PDE solution , not the neural ansatz 1-form , but there exists the relationship (or equivalently ). To elaborate, we can note . Therefore,
We can compute with 4.7. In the 2D case, expanding 4.12 with our specific form of 3.18 in a similar format of 4.8,
Note that we can also write, and it is equivalent to the above,
(4.15)
We develop a boundary loss in 2D, although we remark this loss can take different forms, thus we leave it as generalized as possible
for suitable boundary measure along , .
Closed-form periodic losses. In certain physical systems, the topological invariants, i.e. the (closed path) circulation we saw in Example 1, can be known. In particular, in Example 1, we can call
or the constant value , to be the topological invariant. This value is called a topological invariant because it is immune to (topological) distortions, stretches, jagged effects, movements, and deformations (continuously) among the path . In certain cases, these topological invariants, in settings such as fluid vortices or magnetic fluxes, can be known a priori. Let us consider developing a topological term in the loss function. Let denote the known invariant (or period) associated with the -th homology cycle. We add the loss
Here, is any closed path around the -th hole. Recall we have 3.35, which we can simplify, and we get
We have noted
i.e. the harmonic representative evaluates to the Kronecker delta around a closed path. is due to Stokes' theorem. We crucially remark it must be true that in order to isolate the topological invariant, otherwise the above does not hold. Therefore, the loss term of 4.23 evaluates to
We leave this mostly as discussion and ultimately do not consider this throughout our experiments.
Closed-form harmonic representatives. The question arises how to choose . Certainly we desire but this does not give us a closed form for what actually is. As a remark, we must have for Hodge Laplacian . In 2D space, for a domain with Euclidean metric, we have the representative
, and , which is a 1-form specific to 2D and unique up to boundary conditions. For the j-th puncture, we set using 4.24
for punctures . Via sharp musical isomorphism , we write
Note that Gustafsson (2019) discusses the complex potential
(redefining from earlier), and taking its real part and differentiating gives . is normalized so that , which is a signed circulation integral evaluation. Note that other relevant references are Gustafsson (2024) Grotta-Ragazzo et al. (2024).
In 3D space, in order to have in 3D, the "puncture" must be an infinite line, curve, or cylinder, i.e. a vortex filament or an infinite wire. If the hole is an infinite cylinder extending along the -axis and centered at , the harmonic representative is 2D form extended into with a zero -component, so
In general the 3D case is nontrivial, and it must be evaluated on a case-by-case basis.
5 Experiments
In all of our experiments, we will use Adam optimizer with initial learning rate (note that we will always take the learning rate on the parameter(s) to be larger; see Figures 11, 12). We will take all networks to have a width of 200. Note that more sophisticated optimizers have shown competitive performance with PINNs, such as second-order optimizers, Kiyani et al. (2025) but our results are primarily motivated by remedying failures of vanilla PINNs and not by achieving as low error as possible. Thus, we find Adam optimizer reasonable for our purposes.
For brevity reasons, we list experimental details in Appendices F and H.

(1)
(2)
(3)
Figure 3: We plot (1) success of a Hodge-de Rham PINN versus (2) the true scalar solution with (3) pointwise absolute error after about 30,000 epochs on the Aharonov-Bohm experiment. We found a vanilla MLP worked better without a Fourier feature embedding. We lower the learning rate in late training.
6 Conclusions
We developed strategies to circumvent classical pitfalls of PINNs that encompass topological pathologies corresponding to poles. We parameterized 1-forms corresponding to the Hodge-Morrey-Friedrichs decomposition, which subsequently solves as associated PDE relevant to the PDE on the scalar-valued function. We can associate these two systems using an operator mapping, often involving an integral. We developed a theoretical framework establishing this connection in 3.3, also using the Fréchet derivative. Our experiments were mostly comprehensive. We demonstrated our results on Aharonov-Bohm effect, which is largely nonexistent in PINN literature. Our primary limitation is that our methods are most suitable for low-dimensions due to the differentiative and combinatorial properties of the coexact term.

(1)
(2)
(3)
Figure 4: We plot (1) catastrophic failure of a vanilla PINN versus (2) the true scalar solution with (3) pointwise absolute error after about 12,000 epochs on the Aharonov-Bohm experiment.

(1)
(2)
(3)
Figure 5: We plot (1) success of a Hodge-de Rham PINN versus (2) the true scalar solution with (3) pointwise absolute error after about 30,000 epochs on the Aharonov-Bohm experiment with two poles. We lower the learning rate in late training.

(1)
(2)
(3)
Figure 6: We plot (1) catastrophic failure of a vanilla PINN versus (2) the true scalar solution with (3) pointwise absolute error after about 12,000 epochs on the Aharonov-Bohm experiment with two poles.

(1)
(2)
(3)
Figure 7: We plot (1) catastrophic failure of a canonically-developed vector-valued PINN (so the neural network is now vector-valued) versus (2) the true scalar solution with (3) pointwise absolute error after about 12,000 epochs on the Aharonov-Bohm experiment with two poles.
7 Acknowledgments
I would like to thank Jeremy Miller, Nicholas McCleerey, and Ben McReynolds at Purdue University in the Department of Mathematics for helping make this work possible.
8 AI statement
The project was AI-assisted. Both Gemini 3.1 Pro and GPT-6 were used. AI assisted most predominately in helping develop the experiments, which required significant user input. In particular, the code for this research was based on code that already existed, and it was tailored for this work. GPT-6 was able to identify that the Aharonov-Bohm experiment would be a good experiment to run. AI was also used to check grammar and polish small details. Undermind was used to help find references (references were manually entered, but AI was used to help prepare a BibTeX representation if one did not exist).
References
Qusay S.A. Al-Zamil and James Montaldi. Witten–hodge theory for manifolds with boundary and equivariant cohomology. Differential Geometry and its Applications, 30(2):179–194, 2012. ISSN 0926-2245. doi: https://doi.org/10.1016/j.difgeo.2011.11.002. URL https://www.sciencedirect.com/science/article/pii/S0926224511001604.
Lennart Bastian, Samuel Leventhal, Mustafa Hajij, and Tolga Birdal. Topological neural operators, 2026. URL https://arxiv.org/abs/2606.09806.
Harsh Bhatia, Gregory Norgard, Valerio Pascucci, and Peer-Timo Bremer. The Helmholtz-Hodge decomposition-a survey. IEEE Transactions on Visualization and Computer Graphics, 19(8):1386–1404, 2013. doi: 10.1109/TVCG.2012.316.
Raoul Bott and Loring W. Tu. Differential Forms in Algebraic Topology. Graduate Texts in Mathematics. Springer New York, 1982. doi: 10.1007/978-1-4757-3951-0. URL https://link.springer.com/book/10.1007/978-1-4757-3951-0.
Lorenzo Brevi, Antonio Mandarino, and Enrico Prati. A tutorial on the use of physics-informed neural networks to compute the spectrum of quantum systems. Technologies, 12(10), 2024. ISSN 2227-7080. doi: 10.3390/technologies12100174. URL https://www.mdpi.com/2227-7080/12/10/174.
Sylvain Cappell, Dennis DeTurck, Herman Gluck, and Edward Y. Miller. Cohomology of harmonic forms on riemannian manifolds with boundary. Forum Mathematicum, 18, 2006. doi: 10.1515/forum.2006.046.
Jiarong Chen, Xia Ji, Haijun Yu, and Shuo Zhang. Penalty-free natural deep ritz method based on de rham complex for high-dimensional dirichlet boundary value problems, 2026. URL https://arxiv.org/abs/2607.00676.
Michael Crocoll, Christian Döding, Benjamin Dörich, and Roland Maier. Glenn: Neural network-enhanced computation of ginzburg-landau energy minimizers, 2026. URL https://arxiv.org/abs/2603.19096.
Hans De Raedt and Kristel Michielsen. Algorithm to solve the time-dependent schrödinger equation for a charged particle in an inhomogeneous magnetic field: Application to the aharonov–bohm effect. Computer in Physics, 8(5):600–607, 09 1994. ISSN 0894-1866. doi: 10.1063/1.168483. URL https://doi.org/10.1063/1.168483.
Marta D'Elia, Cynthia Flores, Xingjie Li, Petronela Radu, and Yue Yu. Helmholtz-hodge decompositions in the nonlocal framework. Journal of Peridynamics and Nonlocal Modeling, 2(4):401–418, 2020. ISSN 2522-8978. doi: 10.1007/s42102-020-00035-w. URL https://doi.org/10.1007/s42102-020-00035-w.
Jean-Pierre Demailly. Complex Analytic and Differential Geometry. Université de Grenoble I, Institut Fourier, Grenoble, France, 2012. URL https://www-fourier.univ-grenoble-alpes.fr/~demailly/manuscripts/agbook.pdf.
Manfredo P. do Carmo. Differential Geometry of Curves and Surfaces: Revised and Updated Second Edition. Dover Publications, New York, United States, 2016. ISBN 978-0-486-81797-2. URL http://ebookcentral.proquest.com/lib/leeds/detail.action?docID=4767649.
P. F. The theory and applications of harmonic integrals. by w v. d. hodge. pp. ix, 281. 21s. 1941. (cambridge). The Mathematical Gazette, 25(267):320–323, 1941. doi: 10.2307/3606574.
K. O. Friedrichs. Differential forms on riemannian manifolds. Communications on Pure and Applied Mathematics, 8(4):551–590, 1955. doi: https://doi.org/10.1002/cpa.3160080408. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/cpa.3160080408.
Mathew George. Hodge theorem. Lecture notes. URL https://people.math.osu.edu/george.924/Hodge_Theorem.pdf.
Clodoaldo Grotta-Ragazzo, Björn Gustafsson, and Jair Koiller. On the interplay between vortices and harmonic flows: Hodge decomposition of euler's equations in 2d. Regular and Chaotic Dynamics, 29(2):241–303, 2024. ISSN 1468-4845. doi: 10.1134/S1560354724020011. URL https://doi.org/10.1134/S1560354724020011.
Björn Gustafsson. Two-dimensional potential theory with a view toward vortex motion: Energy, capacity and green functions. Geometric Mechanics, 01(04):245–324, 2024. doi: 10.1142/S2972458924300018. URL https://doi.org/10.1142/S2972458924300018.
Björn Gustafsson. Vortex motion and geometric function theory: the role of connections. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 377(2158):20180341, 09 2019. ISSN 1364-503X. doi: 10.1098/rsta.2018.0341. URL https://doi.org/10.1098/rsta.2018.0341.
H. Helmholtz. Über integrale der hydrodynamischen gleichungen, welche den wirbelbewegungen entsprechen., January 1858. URL https://doi.org/10.1515/cr11.1858.55.25.
Elliott G. Holliday, John F. Lindner, and William L. Ditto. Solving two-dimensional quantum eigenvalue problems using physics-informed machine learning, 2023. URL https://arxiv.org/abs/2302.01413.
Kaibo Hu, Jindong Wang, and Jinchao Xu. Relu neural de rham complexes, 2026. URL https://arxiv.org/abs/2607.22478.
Tianhao Hu, Bangti Jin, and Zhi Zhou. Solving poisson problems in polygonal domains with singularity enriched physics informed neural networks. SIAM Journal on Scientific Computing, 46(4):C369–C398, 2024. doi: 10.1137/23M1601195. URL https://doi.org/10.1137/23M1601195.
Yi Huang, Zhiyu Zhang, and Xing Zhang. A direct-forcing immersed boundary method for incompressible flows based on physics-informed neural network. Fluids, 7(2), 2022. ISSN 2311-5521. doi: 10.3390/fluids7020056. URL https://www.mdpi.com/2311-5521/7/2/56.
E. Huguet, J. Queva, and J. Renaud. The schouten–nijenhuis bracket, codifferential of products and generalized interior products of p-forms. International Journal of Geometric Methods in Modern Physics, 23(10): 2550262, 2026. doi: 10.1142/S0219887825502627. URL https://doi.org/10.1142/S0219887825502627.
Aubrey G. Jaffer. The lamb-oseen vortex and paint marbling, 2018. URL https://arxiv.org/abs/1810.04646.
Natan Kaminsky, Daniel Freedman, and Kira Radinsky. Overcoming PINNs failure modes in high dimension with low-rank fourier sum. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=fq3yjso8Tn.
Elham Kiyani, Khemraj Shukla, Jorge F. Urbán, Jérôme Darbon, and George Em Karniadakis. Optimizing the optimizer for physics-informed neural networks and kolmogorov-arnold networks. Computer Methods in Applied Mechanics and Engineering, 446:118308, 2025. ISSN 0045-7825. doi: https://doi.org/10.1016/j.cma.2025.118308. URL https://www.sciencedirect.com/science/article/pii/S0045782525005808.
Dongshuai Liu, Wen Zhang, Yanxia Gao, Dianyuan Fan, Boris A. Malomed, and Lifu Zhang. Physics-informed neural network for nonlinear dynamics of self-trapped necklace beams. Opt. Express, 32(22): 38531-38549, Oct 2024. doi: 10.1364/OE.532126. URL https://opg.optica.org/oe/abstract.cfm?URI=oe-32-22-38531.
Li Liu, Shengping Liu, Hui Xie, Fansheng Xiong, Tengchao Yu, Mengjuan Xiao, Lufeng Liu, and Heng Yong. Discontinuity computing using physics-informed neural networks. Journal of Scientific Computing, 98(1), December 2023. ISSN 1573-7691. doi: 10.1007/s10915-023-02412-1. URL http://dx.doi.org/10.1007/s10915-023-02412-1.
Marcello Longo, Joost A.A. Opschoor, Nico Disch, Christoph Schwab, and Jakob Zech. De rham compatible deep neural network fem. Neural Networks, 165:721-739, August 2023. ISSN 0893-6080. doi: 10.1016/j.neunet.2023.06.008. URL http://dx.doi.org/10.1016/j.neunet.2023.06.008.
Walther Mayer. Über abstrakte topologie. Monatshefte für Mathematik und Physik, 36(1):1-42, 1929. ISSN 1436-5081. doi: 10.1007/BF02307601. URL https://doi.org/10.1007/BF02307601.
Charles B. Morrey Jr. A variational method in the theory of harmonic integrals. Communications on Pure and Applied Mathematics, 9(3):499-508, 1956. doi: https://doi.org/10.1002/cpa.3160090321. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/cpa.3160090321.
Jeffrey S. Ovall and Li Zhu. A canonical gauge for computing of eigenpairs of the magnetic schrödinger operator, 2025. URL https://arxiv.org/abs/2409.06023.
Günter Schwarz. Hodge Decomposition - A Method for Solving Boundary Value Problems. Lecture Notes in Mathematics. Springer Berlin Heidelberg, 1 edition, 1995. ISBN 978-3-540-60016-9. doi: 10.1007/BFb0095978. URL https://link.springer.com/book/10.1007/BFb0095978.
Muhammad Luthfi Shahab, Fidya Almira Suheri, Rudy Kusdiantara, and Hadi Susanto. Physics-informed neural networks for high-dimensional solutions and snaking bifurcations in nonlinear lattices. Physica D: Nonlinear Phenomena, 481:134836, 2025. ISSN 0167-2789. doi: https://doi.org/10.1016/j.physd.2025.134836. URL https://www.sciencedirect.com/science/article/pii/S0167278925003136.
Clayton Shonkwiler. Poincare duality angles for riemannian manifolds with boundary, 2009. URL https://arxiv.org/abs/0909.1967.
Zhe Su, Yiying Tong, and Guo-Wei Wei. Persistent de rham-hodge laplacians in eulerian representation for manifold topological learning. AIMS Mathematics, 9(10):27438-27470, 2024a. doi: 10.3934/math.20241333.
Zhe Su, Yiying Tong, and Guowei Wei. Hodge decomposition of vector fields in cartesian grids. In SIGGRAPH Asia 2024 Conference Papers, SA '24, New York, NY, USA, 2024b. Association for Computing Machinery. ISBN 9798400711312. doi: 10.1145/3680528.3687602. URL https://doi.org/10.1145/3680528.3687602.
Matthew Tancik, Pratul P. Srinivasan, Ben Mildenhall, Sara Fridovich-Keil, Nithin Raghavan, Utkarsh Singhal, Ravi Ramamoorthi, Jonathan T. Barron, and Ren Ng. Fourier features let networks learn high frequency functions in low dimensional domains. In Proceedings of the 34th International Conference on Neural Information Processing Systems, NIPS '20, Red Hook, NY, USA, 2020. Curran Associates Inc. ISBN 9781713829546.
Sifan Wang, Shyam Sankaran, Hanwen Wang, and Paris Perdikaris. An expert's guide to training physics-informed neural networks. CoRR, abs/2308.08468, 2023. URL https://doi.org/10.48550/arXiv.2308.08468.
Frank W. Warner. Foundations of Differentiable Manifolds and Lie Groups, volume 94 of Graduate Texts in Mathematics. Springer, New York, NY, 1983. doi: 10.1007/978-1-4757-1799-0. URL https://link.springer.com/book/10.1007/978-1-4757-1799-0.
Raymond O. Wells. Differential Analysis on Complex Manifolds, volume 65 of Graduate Texts in Mathematics. Springer, New York, NY, 1980. doi: 10.1007/978-1-4757-3946-6. URL https://link.springer.com/book/10.1007/978-1-4757-3946-6.
Hermann Weyl. The method of orthogonal projection in potential theory. Duke Mathematical Journal, 7(1):411 – 444, 1940. doi: 10.1215/S0012-7094-40-00725-6. URL https://doi.org/10.1215/S0012-7094-40-00725-6.
Xiaofeng Wu, Ziling Wu, Sibi Chakravarthy Shanmugavel, Hang Z. Yu, and Yunhui Zhu. Physics-informed neural network for phase imaging based on transport of intensity equation. Opt. Express, 30(24):43398–43416, Nov 2022. doi: 10.1364/OE.462844. URL https://opg.optica.org/oe/abstract.cfm?URI=oe-30-24-43398.
Shing-Tung Yau. Calabi's conjecture and some new results in algebraic geometry. Proceedings of the National Academy of Sciences, 74(5):1798–1799, 1977. doi: 10.1073/pnas.74.5.1798. URL https://doi.org/10.1073/pnas.74.5.1798.
ChuYu Zhou, Tianyu Li, Chenxi Lan, Rongyu Du, Guoguo Xin, Wei Li, Guoqing Wang, Xun Liu, and Hangzhou Yang. Hybrid boundary physics-informed neural networks for solving navier-stokes equations with complex boundary. In Advances in Neural Information Processing Systems 38, pages 152339–152375. Neural Information Processing Systems Foundation, Inc. (NeurIPS), 2025. doi: 10.52202/085713-4583.
Contents
| Symbol | Description |
|---|---|
| 1-form (smooth section of the cotangent bundle) | |
| Domain/manifold without puncture | |
| Domain/manifold with puncture(s) | |
| Differential operator of the scalar PDE | |
| Differential operator of the PDE on the 1-form | |
| Cohomology class containing | |
| First de Rham cohomology group | |
| Bundle of differential 1-forms | |
| Smooth 1-forms | |
| Smooth sections of the cotangent bundle | |
| Weight/exhaustion function (level sets are compact) | |
| Exterior derivative of | |
| Coexact term | |
| Learnable scalar corresponding to harmonic representative | |
| Harmonic representative | |
| First Betti number | |
| Sobolev space for differential -forms | |
| Operator mapping from scalar PDE solution to 1-form | |
| Hodge-de Rham Laplacian | |
| Sharp musical isomorphism | |
| (sometimes true solution) | |
| Smooth sections/vector fields on (alternative to ) do Carmo (2016) |
A Theoretical discussion
Theorem 1. Let be a compact, oriented, smooth Riemannian manifold. Let be the true differential form corresponding to a PDE system, i.e. where is the true PDE solution associated with the form (not the scalar solution) and is the flat musical isomorphism. Moreover, , , and are the exact, coexact, and harmonic components given by the Hodge-Morrey-Friedrichs (HMF) decomposition. If the PINN parameterizes an exact form, , then the approximation error is bounded below such that
Proof. For a differential form on a compact manifold with boundary, the Hodge-Morrey-Friedrichs decomposition gives
Here, is the space of exact forms, is the space of coexact forms with Neumann boundary conditions, and is the space of absolute harmonic forms. For a coexact form , the relative boundary condition implies its normal component vanishes, meaning the pullback of its Hodge star is zero, i.e., .
We use notation
where , and
Here, is the weak exterior derivative, defined via integration by parts, meaning there exists some such that for all smooth, compactly supported test forms ,
When we write , we define the space of exact forms. Similarly, is the space of coexact forms, representing the image of the weak codifferential acting on -forms for which .
Let us consider the case of a scalar-valued neural network, or vanilla PINN, which means that is our learned form. Let us quantify the error from the true PDE form . Recall the true PDE form cannot be expressed in terms of the vanilla PINN, which we saw in 1. The norm squared gives
Let us attempt to evaluate the inner product by distributing,
We have noted symmetry of the inner product, thus the terms with 2 appear. In particular, over the real numbers, the inner product is symmetric, and in general obeys .
Because , in a neural network setting, we get the lower bound
which guarantees a scalar PINN cannot optimize sufficiently well. In A.9, we have noted:
I. of the terms evaluating to zero, the first term evaluates to (via integration by parts/an adjoint)
and applying the codifferential twice yields zero, i.e. . Furthermore, , so the boundary term is zero;
II. the second term annihilates since
Because is an absolute harmonic form, it is co-closed, meaning . Also, its normal trace vanishes on the boundary, so . Thus, the integral is annihilated;
III. the third term becomes
Because is a harmonic form, it is closed, meaning . Furthermore, since satisfies absolute boundary conditions, its normal trace vanishes and , meaning the pullback to is zero and the boundary term vanishes.
Our next theorem is built from PINN hypothesis classes. We do not use the standard Hodge decomposition here because we must account for boundary. Instead, let us define the hypothesis classes of ascending expressivity
These above of A.15 does not use direct sums is order to account for boundary; however, they fully account for possible 1-forms (they are expressive), or at least among their respective classes.
Theorem 2. Let be a compact, oriented, smooth Riemannian manifold with boundary . Let be the true PDE form, and let be its unique, orthogonal HMF decomposition. We have the following bounds for the unconstrained neural network hypothesis classes of the spaces of A.15:
Remark. It is correct to say the true form obeys an orthogonal decomposition. It is not correct to say the neural network ansatz form obeys an orthogonal decomposition (this is why we use algebraic sum notation in 1.5).
Proof. By the uniqueness of the orthogonal HMF decomposition on the true PDE form, its components satisfy the boundary conditions (absolute boundary conditions) and (absolute boundary conditions).
Now, take , so that for some admissible 0-form . Just as before in A.7, we can write by simplifying the inner products
As before, as in Theorem 1, the cross-terms vanish. Since , and equality is attained by choosing , we obtain
This strengthens Theorem 1 by replacing the lower bound with an equality when optimization is over the specific hypothesis class.
Now, we consider the hypothesis space . An arbitrary element of this space can be expressed as . Repeating an inner product argument as in A.7, we first note
and it follows
(A.22)
Again, cross-terms vanish. Therefore, optimizing over the hypothesis space, the exact and harmonic norms annihilate
Let us consider now the full hypothesis class , and consider the network ansatz . Note that an arbitrary does not necessarily possess orthogonal components since the neural network does not correspond to the orthogonal HMF decomposition exactly, i.e. boundary terms are omitted; however, it is true the ansatz components lie within the support of the universal approximator. If we consider the true form learned exactly , and , the difference vanishes. Thus, since it is possible the neural network learns the true form by expressivity,
□
Remark. We can parameterize networks within the hypothesis classes of A.7 via
Theorem 3. Let be a smooth domain, and let be a fixed smooth embedded closed curve representing a homology generator. Let the neural PINN form and the true differential 1-form reside in the Sobolev space . Suppose we have Sobolev regularity . Then there exists a constant such that the closed line error between the neural PINN form and the true form obeys
Proof. Both the true and neural network-approximated forms reside in the Sobolev space . In local coordinates, the error form can be written component-wise as
(A.29) where the component error belongs to the scalar Sobolev space . Let be the fixed smooth embedded closed curve representing the homology generator. In particular, we will examine a map
Now, we will examine the pullback, which can be written in terms of the trace operator, which requires
to be arbitrary. In particular, we can write via a pullback
for all , where is the trace operator. The for all argument is because Sobolev spaces are nested, whenever , so meeting the minimum threshold is the only requirement. Due to our choice of , the trace operator is bounded, so there exists a constant such that for each component of the error
since, under this condition, the trace operator is bounded.
Now, because is a fixed smooth embedding, its tangent vector components are uniformly bounded. Let . Let us now bound the error of the line integral in the network versus true form. Observe
Remark. We are using the norms
I.
II.
(this norm is applicable on the components of a form);
III.

Figure 8: We plot that Theorem 3 holds on the unit radial vortex experiment with simple boundary condition. We plot a log-log plot demonstrating the bound of holds. We plot the errors across three distinct closed curves , which are concentric circles with radii with respect to 8,000 training epochs. The x-axis is the form error and the y-axis is the path circulation error. The shaded region represents the desirable region such that the bound holds. The points are clustered in the low-error regime since this is where the training spends most of its time (loss converges quickly then slowly).
B Additional discussion
Definition (informal). We say a space is contractible if it can be continuously shrunk to a point within itself, without tearing, breaking, or leaving the space. For example, a circle is not contractible because if it shrinks to a singular point, the circle empties the empty space that once existed in that hole.
In the case that the punctures have zero measure or nonzero measure and correspond to disjoint, compact, contractible sets , we get an isomorphism (between modules/vector spaces, so a bijective homomorphism; with respect to the field of real numbers ; note for Kähler manifolds, the field is )
Note that the first Betti number remains . From an algebraic topology perspective, replacing point punctures with contractible bodies does not change the cohomology. Recall is indeed a quotient space too, so it is both a cohomology and a quotient space.
Since the modules are isomorphic, there exists a (linear) map such that
The Mayer-Vietoris sequence Mayer (1929) allows us to identify additional cohomology classes introduced by the punctures. We obtain the following long exact sequence in cohomology, where is the union of neighborhoods surrounding the punctures
Here, is the connecting homomorphism (not to be confused with our codifferential notation ). Vanilla PINNs fail to capture the holes, and as we demonstrated in Example 1, fail to accommodate jump discontinuities. These topological nuances are reflected in the arrows since de Rham PINNs allow nontrivial mappings between cohomology classes, whereas vanilla PINNs mean that these mappings are trivial. In particular, vanilla PINNs fail because they are typically stuck in , specifically when , and is necessarily trivial for an exact form.
C Manners of efficiency
In section 3.2, we discussed an orthogonally-decomposed architecture with the ansatz . In this section, we consider more efficient architecture and the trade-offs they pose. For example, let us consider the alternative ansatz
Here, is a network that absorbs both exact and coexact terms, and the harmonic terms are still a priori. To understand the downfalls of C.1, we must understand further why our proposed de Rham PINN of 3.18 remedies the vanilla PINN. As we have discussed, vanilla PINNs are conducive to exact forms . In the case of zero topological pathologies, the equation , where is the scalar PINN solution, and is the corresponding form. Therefore, the inclusion of the coexact and harmonic terms remedy this artifact. But what about C.1? If the form is parameterized directly, and we manually add a harmonic term, this should remedy the exact quality. Let us examine the following pitfalls, in order of least to greatest importance.
I. The Hodge-Morrey-Friedrichs decomposition is a way to enforce physical properties into the architecture itself, so it is more than just representational. By definition, exact forms are irrotational, , and co-exact forms are solenoidal or divergence-free, . For example, rather than enforcing physical laws into a loss function with a further penalty term, we can systematically construct the network to obey governing laws. We refer to Liu et al. (2024) Longo et al. (2023) for some works that enforce governing laws into the architectures. Enforcing laws in architectures exists also in rather naïve cases, i.e. forcing positive semi-definite with neural network output , so our Hodge-decomposed architecture is a rather mature case of this. If the governing PDE demands specific properties, i.e. incompressible flows, the orthogonal ansatz can satisfy with laws with error zero, i.e. machine precision, and moreover constrain the hypothesis class for these laws. Take the example of conservation of mass
and we take
by construction. Therefore, by collapsing the exact and coexact terms into a supersuming network , all of these properties are lost. Were these laws to be enforced manually, the optimizer must now deal with this. This is not to say that a collective will fail to satisfy to train the objective to bring the error down. Therefore, this leads us to point III, where the pitfall of C.1 lies in an impossible representation.
II. If is in an unrestricted hypothesis class, then certainly it is capable of absorbing the harmonic terms. What is to distinguish C.1 from even ? Gradient descent will inevitably distribute the harmonic-to-be-learned pathology among the closed-form harmonic ansatz and the network . Moreover, the harmonic term generally corresponds to aggressive or sharp physical characteristics such as or scaling near the punctures. We witnessed this scaling in the definition of 4.25. Networks suffer from spectral bias and it will be difficult to incorporate these sharp pathologies into a desirable global solution. This is mostly what we witnessed in the experiment of H.2. By baking the closed-form harmonic form into the ansatz directly, we have a guarantee that the pathology will be learned by the Hodge-Morrey-Friedrichs decomposition. In a decomposed setting, the other networks will not "fight" to learn these pathologies, as they have their own learning tasks to achieve.
III. Most importantly, with the bundled architecture, it may be impossible to infer the learned PDE solution. It is possible it may technically succeed but it may pose other issues instead, and if it were to succeed, it is computationally no different than using the Hodge decomposition directly, or at least almost. Using the Hodge-Morrey-Friedrichs decomposition may be necessary to extract the scalar field. The reason that the scalar PINN fails in the case is because
is (almost surely) guaranteed, which is a fatal problem.
The Hodge architecture guarantees to be true architecturally. This allows us to extract a path-independent potential from the exact component . Note that can still be zero, but to acquire the scalar potential, we do not necessarily integrate the coexact term always (see F.1, F.5 for evidence). In particular, leads to path-dependence.
In some scenarios, we integrate the full form and not just , such as in F.2, F.4. In these scenarios, parameterizing can work, but instead we must penalize in a loss function (which is necessary for path-independence), which is nontrivial and will not be solved exactly. is crucial because if not, path-independence is violated because
Note that integrating the full form will also violate path-independence since
This is not a problem in our experiment of F.2 because we integrate w.r.t. a canonical loop and in F.4 because we penalized curl in the loss and because we only integrated horizontally. Moreover, is nontrivial for the optimizer to solve and may affect well-behaved training on the other loss terms, i.e. due to spectral bias and blow-up. The Hodge architecture can bypass this. In particular, the computational adversities of the Hodge architecture are also reflected in the architecture with parameterizing because now additional, differentiated terms must be in the loss too. The whole purpose of the bundled ansatz was bypassing the computational burdens of the exact and coexact differentiation, so these burdens will appear (at least partially) in the bundled ansatz with an extended loss function.
Note the bundled ansatz fails as in H.2 but for reasons other than the above. The bundled ansatz will fail in this scenario due to spectral bias and the omission of the decay rather than path-dependence. So this is noteworthy as well.
D Coexact formulas in generalized cases
We previously saw a simple closed-form solution for the coexact terms in 2D and 3D via 3.28 and 3.30. In this section, we elaborate on the closed formula for the coexact term for more generalized cases, since this term is combinatorial and the most nontrivial of the three terms of 3.18.
On a general smooth, -dimensional Riemannian manifold with metric and covariant derivative (i.e. choose the Levi-Civita connection), the formula is, in local coordinates
The indices are accurate because is a -form. In flat Euclidean space (where and ), this simplifies to
Notice this formula is consistent with equations 3.28, 3.30. In particular, this equation is consistent with 3.30 because
since and . For alternative indices,
This formula is convenient because it only requires first order automatic differentiation in an empirical setting. Note that the above is also true for the submanifold we have been using. For implementation purposes on non-Euclidean manifolds, it is often easier to formulate the coexact term on a manifold using the Hodge star and the exterior derivative . Note that this is more applicable for D.1, since D.2 is not hard to compute. The general operator for a p-form in an d-dimensional manifold on a non-flat space is
This can be written using the (antisymmetric) Levi-Civita tensor , defined as
Using this format, we can write (see Huguet et al. (2026) for relevant literature)
In the Euclidean case, this reduces to . Alternatively, can be written via a determinant of Kronecker deltas
Notice the term is annihilated if since the numerator is zero. Strictly speaking, the Levi-Civita symbol defined above is a pseudo-tensor because its components do not change under coordinate transformations. In order for it to be a true tensor on a general Riemannian manifold, it must be scaled by the square root of the absolute determinant of the metric g
In flat Euclidean space where is the identity matrix and , the tensor and the symbol are identical.
Note that the generalized formula for is always
with respect to any local coordinate chart . This holds for any manifold .
E The loss function in 3D
Here, we develop expanded loss functions as in 3. First, let us repeat 4.8. The physics loss is, with respect to the correct permutation
\begin{aligned}\mathcal{L}_{\mathrm{physics}}=&\left\|\sum_{i=1}^{3}\left|\partial_{t}\left[\frac{\partial\phi_{\theta}(x,t)}{\partial x_{i}}+\left(\frac{\partial\beta_{\theta}^{\sigma^{2}(i)}(x,t)}{\partial x_{\sigma(i)}}-\frac{\partial\beta_{\theta}^{\sigma(i)}(x,t)}{\partial x_{\sigma^{2}(i)}}\right)\right+\sum_{j=1}^{b_{1}}c_{\theta,j}(t)h_{j,i}(x)\right]\right.\\&+\Psi_{\alpha,i}\left[x,t,\left\{\nabla^{k}\left[\frac{\partial\phi_{\theta}(x,t)}{\partial x_{i}}+\left(\frac{\partial\beta_{\theta}^{\sigma^{2}(i)}(x,t)}{\partial x_{\sigma(i)}}-\frac{\partial\beta_{\theta}^{\sigma(i)}(x,t)}{\partial x_{\sigma^{2}(i)}}\right)\right.+\sum_{j=1}^{b_{1}}c_{\theta,j}(t)h_{j,i}(x)\right]\right\}_{k}\Bigg]\Bigg|^{2}\left\|\begin{matrix}L^{1}(\Omega^{*}\times[0,T];d\mu)\\ \mathrm{(E.2)}\end{matrix}\right..\end{aligned} \tag{E.1}Alternatively, this can be written using the Levi-Civita symbol (as in D) to denote the cross-product tensor. We can also write
The correct permutation is
Writing the initial condition loss as in 4.14
Note that we can also write this in its equivalent vector form, explicitly expanding the 3D curl, as
F Experimental details
F.1 Unit radial vortex
In this example, we consider the PDE learning task on the scalar solution , i.e. a harmonic function. We use an annular domain or equivalently . We enforce (see F.2), so it is enforced (closed) and (co-closed), which imply
We enforce boundary conditions at and at . We take the relation between to be , or equivalently , locally but not globally, so these hold true along any small, simply connected patch of the annulus. In particular, because the target field on the annulus creates a non-zero circulation around the central hole, there is no single, continuous scalar function that works for the entire domain. So is a locally exact form.
We consider two cases with this experiment: (1) with a simple boundary condition; (2) with a more sophisticated boundary condition. By default, we will do this experiment with the simple case (such as Figure 1). To reiterate, in both cases, we consider the PDE physics loss on the form
We have denoted . For the simple case, we consider boundary loss
We refer to this as the unit radial vortex experiment. In the complicated case, we consider boundary loss
We refer to this as the complicated unit radial vortex experiment (see Figure 14). This experiment has scalar-valued and form PDEs, omitting boundary for simplicity
In this experiment, we extract the scalar solution from the PINN solution using
where , (it is the same thing as arctangent but the quadrant is taken into account). In particular, as in 3.18 is used in training, but it is not used to extract the PINN solution.
F.2 Arctangent without zero
In this example, we construct an example over a 2D domain such that the coexact term is nonconstant and for some function (see section 3.3). Moreover, the vanilla PINN should fail. Let , and is arbitrary (it is to prevent divergence at the pole). Let us choose . Let us consider the true PDE solution
corresponding to PDE
A vanilla PINN will fail because it is forced to map continuous coordinates to a scalar field that jumps by across the branch cut. The 1-form satisfies using . Taking the exterior derivative of ,
Therefore, the target 1-form is
We can note the coexact term is non-constant, and is not exact. We check the exterior derivative of is
Because , the 1-form is not closed. Therefore, it cannot be exact globally or locally. Also, we note a harmonic term is active, since we can integrate over the unit circle ( , where )
Substituting into the scalar PDE, we get the PDE on the 1-form
We note .
We found empirical success with a specialized ansatz for this problem. A standard decomposition would be . We modify the harmonic state by an envelope. We parameterize the 1-form as
where is the standard harmonic . The PDE requires us to compute the Laplacian of . Distributing the inverse envelope yields .
For the physics loss, sample points on a compact subset of , , i.e. on . Let . The physics loss can be written
again noting a vector formulation via the sharp musical isomorphism . The exact solution is as follows:
We write initial and boundary conditions
The total PDE system is
To extract the true solution from the PINN solution, we compute
where .

Figure 9: We plot the coefficient after 3,000 epochs at 5 discrete values for the arctangent without zero experiment with (left) a typical Hodge-decomposed architecture; and (right) a specialized Hodge-decomposed architecture where a deformation is baked into architecture, so the ansatz is and is a Hodge-decomposed learned form. As we can see, the true values of are learned much more precisely with the architecture specialized for this experiment.
F.3 Arctangent with exhaustion
In this section, we perform the same experiment as F.2 but now we reduce the domain around the pole, so we sample closer to the pole, and further equip an exhaustion function. We use the exhaustion function with associated weight
which decays rapidly and is overall a good choice. Now, the losses are
We crucially remark regarding this experiment, without exhaustion function the PDE will be learned sufficiently well around the pole, although the networks will not train well. This is moreso due to neural network properties such as smoothness and behaving sufficiently well on off-training data. We refer to Figures 19, 20. The exhaustion function is what allows the networks to train and obtain a better and more robust solution.
F.4 The Aharonov-Bohm effect with one pole
In this section, we describe our Aharonov–Bohm (AB) effect experiment. In this experiment, we enforce a domain and we enforce a coupled system of scalar-valued PDEs corresponding to the Madelung formulation of the Schrödinger equation
Here, since we set k = 3. We have denoted
setting . The scalar PDE solution is , where is the neural network output. We plot only the real part of the true solution in 3, 4, whose true solution obeys , where is as before and . We use Dirichlet boundary data .
The vanilla PINN experiences catastrophic failure in the above because: (1) in the true setting, the magnetic vector potential is a closed 1-form, so , but it is not exact because its circulation around the origin is non-zero ; (2) corresponds to an exact 1-form since . We cannot completely cancel or balance a non-exact 1-form using only an exact 1-form . Here, we do not mean they directly cancel in a PDE residual , but rather, in the theoretical setting, must absorb the topology of since
where is true in the code, which is irrotational. In the PINN setting, .
Turning to the Hodge-de Rham approach, we perform the PDE on the 1-form
To extract the scalar PDE solution from the PINN, we perform numerical integration for domain length in one direction L = 4 and set
and subsequently take the prediction into the ansatz
In particular, the integration in F.37 is computed as
F.5 The Aharonov-Bohm effect with two poles
In this experiment, we consider an identical setup to F.4 but now with two poles. We use the same PDE system F.27 but now we place two poles at with radii . We plot our results in Figures 5, 6. We also take and . Since no longer corresponds to one pole, we take
The true solution obeys now. is now calculated
where is as in the exact part we have been using in the form ansatz. now reflects that the domain is . The first Betti number is now . is still calculated as .
G Connections to complex and Kähler geometries
In this section, we consider when the domain corresponds to a complex or Kähler manifold.
Assume the domain to be considered corresponds to a Kähler manifold. It may appear that the (Kähler) form can be written as the Dolbeault Hessian of a Kähler potential
Here, , are the Dolbeault operators. The above of G.1 is admissible if the domain is , however this domain is unbounded and not practical for a PINN in reality. A natural choice is to truncate to a compact subset. A global Kähler potential cannot exist on a compact Kähler manifold (without boundary) because this forces to be constant if Demailly (2012). We will always take our PINN domain to be a compact set.
It can be noted a compact subset of is indeed Kähler because it has a boundary. A compact Kähler manifold, for example a Calabi-Yau manifold by invoking the Calabi conjecture Yau (1977), is intended for cases without boundaries, and differential equations such as Monge-Ampère equations require boundary conditions. Indeed, a compact subset of is Kähler with global potential since it acquires the flat metric. Specifically, the flat Kähler form is given by
which admits the global Kähler potential
A compact subset of is not necessarily Kähler (we say this loosely because any valid submanifold of inherits the metric), but with boundary it is indeed Kähler. In fact, a submanifold of can be Kähler even if it is not compact, i.e. a punctured plane; however, compactness is important for the Hodge decomposition to hold but a boundary matters as well. This is why we justified our methods with the HMF decomposition and not the Hodge decomposition. We note again in an empirical setting, compact domains with boundary are reasonable.
Because of the existence of such a boundary, the maximum of the SPSH function is attained on the boundary. Therefore, the maximum principle, which prevents non-constant global SPSH potentials on compact manifolds, is not violated.
G.1 A Pythagorean loss function
This section here is motivated by an orthogonal direct sum decomposition of a vector bundle. In what we develop here, we will rely on cross-terms dropping to zero, which happens because the manifold is equipped with a Hermitian metric. In particular, what we develop in this section works for any complex manifold with a Hermitian metric, not just for manifolds with a Kähler metric. To be more clear: the Pythagorean effect we establish here is for any manifold with Hermitian structure, since
does not require Kählerness.
In G.24, we will split the harmonic terms due to the fact that the real Betti number . More importantly, notice that we will split into two "components," which is because the 1-form splits
The basis 1-form consists of 2d distinct directions: the holomorphic directions and the anti-holomorphic directions . We do not add the components into the same squared term because and are orthogonal, so adding the two directly violates the Pythagorean theorem, i.e. it is equivalent to computing the vector norm as instead of . To elaborate further, we rewrite G.15 for generalized form as, for any Kähler manifold,
(G.13)
Note that we use convention and not , and so this distinguishes the above from Einstein notation. We can note the spatial terms with depend on the full form rather than the holomorphic and anti-holomorphic components. Specifically, the differentiated form into the PDE empirical risk is
We can note the first term in G.14
Due to interaction, i.e. advection , depends on the entire form. We can also observe, applying the sharp musical isomorphism to , arranging into a column vector
We crucially remark that the term that previously corresponded to the codifferential is now a mere Wirtinger derivative as in G.24. This is more computationally feasible (compare to E.1 as in Appendix E). Saying the codifferential is "intractable" is a poor choice of words, because it is generally computable. Rather, computing the codifferential is a combinatorial problem: in 100D, has 4,950 components. Therefore, this method is far superior for high dimensions.
G.2 An exact architecture
In this section, we omit the coexact term as in the Hodge-Morrey-Friedrichs decomposition, and specifically discuss the remaining architecture in the context of the complex manifold. This case is notable because the physics loss of G.24 takes a different form due to the simplification of G.6. In the case of a complex manifold equipped with a Hermitian structure, we can parameterize our PINN for a complex-split exact form to be
Note that and . Here, the sum iterates over the Betti number , and the are the absolute harmonic 1-forms. We should be clear this does not parameterize any arbitrary 1-form. In fact, the hypothesis class of the above is
so the above architecture is not suitable for all PINNs. This architecture fails to include the coexact (solenoidal) components of the Hodge-Morrey-Friedrichs decomposition.
Example 2. Suppose a PINN is required to learn the non-exact form . We parameterize and attempt to learn
Consider applying the Dolbeault operator . On the true form, we have
However, applying to our parameterized ansatz yields
This evaluates to zero because by definition, and the absolute harmonic forms are closed, so . Thus, the network cannot represent , regardless of the harmonic coefficients.
Let us consider attempting to learn
Therefore, it must be learned
I.
II.
By Clairaut's theorem, these two conditions contradict each other. Differentiating the first equation with respect to yields 1, while differentiating the second equation with respect to yields 0.
To expand the physics loss with this form similarly to 4.8, and the other loss terms follow accordingly, we write, under the flat metric
\mathcal{L}_{\mathrm{p h i s i c s}}=\left\|\sum_{k=1}^{d}\left(\left|\partial_{t}\left[\frac{\partial\phi_{\theta}}{\partial z_{k}}(z,\overline{z},t)+\sum_{j=1}^{b_{1}}c_{\theta,j}(t)(h_{j}^{(1,0)})_{k}(z,\overline{z})\right]\right.\right. \tag{G.24}Note that we have relaxed a constant of 2, which is unimportant in a machine learning context. Note that we also remark the following identity
can hold in cases Kähler manifolds, but this is affected by compactness, boundary, etc. In general, G.30 does not hold for compact Kähler manifolds with boundary, which is what we have here. The loss of G.24 is closely related to this but does not use this exactly, and the above holds for any complex manifold with (flat) Hermitian structure.
Instead, we define the space of absolute harmonic 1-forms
Here, denotes the outward unit normal. We can note
Therefore, we can choose a harmonic basis even when the manifold has a boundary. In general, G.30 is not available in our setting. We refer to Al-Zamil and Montaldi (2012) for relevant literature. In particular, in G.24, we use
This result follows since
which we explain in the beginning of Appendix G.1.
G.3 Full de Rham Kähler architecture
In light of Example 2, the full de Rham architecture is
We now include a coexact term. Here, we have denoted
where L is the Lefschetz operator and is its adjoint. The complexified de Rham cohomology in this case corresponds to an isomorphism
and because the learned form is a 1-form, . As we noted in G.2, the above does not hold in compact Kähler cases with boundary, so we mostly leave the above as a remark.
Note we can write
and there exists a homomorphism , mapping the weighted cohomology classes to the smooth Dolbeault classes. Note that this architecture introduces a combinatorial problem with the coexact term, which we previously saw in 3.
In this setting, the physics loss is
H Kähler manifold experiments
In this section, we provide two experiments on complex manifolds. We provide two experiments since in H.1 the vector-valued PINN succeeds, while in H.2 the vector-valued PINN fails.

(1)

(2)

(3)
Figure 10: We illustrate (1) success with 1-form learning; (2) the true solution; and (3) pointwise absolute error on the Kähler manifold experiment with a Pythagorean loss function.
H.1 Kähler manifold with vector-valued PINN success
In this section, we perform an experiment on a compact subset of C, which is a Kähler manifold, and we include the Pythagorean loss function of G.1.
We choose domain , and we create 2 poles or disks of radii centered at complex numbers . We take , which constitutes a Kähler manifold with first Betti number . We place the pole locations and . We consider the PDE on the 1-form
We use notation , . Here, f is the vector field and , so
The physics loss takes the form
We write
which is exactly the empirical risk of H.1. We write , . To extract the scalar solution, we take
Take to be the squared distance to the k-th vortex. We set , , , and U = 1. The true solution is given by
Notice the Hodge-de Rham PINN uses , , which implicitly incorporates . We also remark this term is the key to why the vector-valued PINN succeeds in this experiment.
H.2 Kähler manifold with vector-valued PINN failure
In this experiment, the setup is exactly the same as H.1. Now, with U = 2, we now set
The reason the vector-valued vanilla PINN now fails is because we omitted the decay term . We call this term the the Oseen-Lamb decay Jaffer (2018) term.
I A further scalar-valued PDE solution with nonzero coexact term example
Let us highlight very clearly that a scalar-valued PDE solution can have nonzero coexact term . We remark this example especially complements other discussion in C. Choose the annular domain considered in Figure 1,
(which can be taken compactly in a PINN), and consider the PDE
Let the scalar solution and coefficient function be given by
Since throughout the annulus, an ellipticity condition is satisfied. Moreover, the PDE is satisfied exactly
Thus, u = x is an exact solution to the scalar elliptic PDE with boundary condition g = x. The associated flux 1-form is given by
Taking its exterior derivative yields
By the Hodge decomposition, we get a rewriting as in 3.19 . Taking exterior derivatives, since and (as h is closed and harmonic), we obtain
Consequently,
which establishes that
even though u = x is smooth, globally defined, and satisfies the PDE exactly.
Let us elaborate the form-function conversion outlined in section 3.3 with this specific example. Consider the (isolated) PDE
Recall we are interested in as established in 3.3. We examine the codifferential. On the Euclidean annulus, the codifferential of a 1-form is minus the divergence of its associated vector field. Consequently, . We obtain the system of equations
Our networks retain the architecture of 3.18, and as before in section 3.3, we get
J Additional figures

Figure 11: We plot the value of (there is one puncture, so one value) corresponding to our unit radius vortex experiment. We plot (green) the learned value where the learning rate of the parameter is increased to and the remaining networks use learning rate , whereas the learning rate for (red) is the same as the remaining networks with . We can see the high learning rate case approaches a value of , which is the anticipated true learned value in this experiment.

Figure 12: We plot the training losses over 3,000 epochs on our unit radial vortex experiment with (1) a relatively low learning rate of for all ; and (2) a learning rate of for and a high learning rate of for only. We set loss coefficients .

Figure 13: We plot training loss on 3,000 epochs on the arctangent without zero experiment with a vanilla Hodge-decomposed ansatz and a specialized ansatz tailored for this specific problem. The tailored ansatz clearly outperforms. This figure complements 9.

(1)
(2)
(3)
Figure 14: We illustrate (1) success with 1-form learning, (2) catastrophic failure of a vanilla PINN, and (3) the true solution on the unit radial vortex experiment with complicated boundary condition.

(1)
(2)

(3)
Figure 15: We illustrate (1) catastrophic failure of a canonically-developed vector-valued PINN; (2) the true solution; (3) pointwise absolute error after about 12,000 epochs.

(1)
(2)
(3)
Figure 16: We plot failure of a vanilla PINN on the arctangent without zero experiment. We plot (1) the PINN solution; (2) the true solution; (3) the absolute pointwise error. We train the PINN for 8,000 epochs, and the loss has plateaued. As we can see, the discontinuity is not learned, compatible with the discussion in 3.1.

(1)
(2)
(3)
Figure 17: We plot success of the Hodge-de Rham PINN on the arctangent without zero experiment. We plot (1) the PINN solution; (2) the true solution; (3) the absolute pointwise error. We train the PINN for 3,000 epochs.

Figure 18: We plot the vector field according to the 1-form on the arctangent without zero experiment.

Figure 19: We plot training loss on the arctangent without zero experiment when we set the radius around the pole to r = 0 and we exclude an exhaustion function. As we can see, the loss is highly stochastic and blows-up.

Figure 20: We plot training loss on the arctangent with exhaustion experiment when we set the radius around the pole to r = 0 and we include an exhaustion function. As we can see, the loss is stable.

(1)
(2)
(3)
Figure 21: We plot partial success, partial failure of the arctangent without zero (exhaustion function excluded) experiment after 4,000 epochs but we unrestrict on the test dataset, but it is omitted in the training data. We plot (1) the PINN solution; (2) the true solution; (3) absolute pointwise error. The learning on the previously-omitted annular region is solely due to out-of-distribution learning.

(1)
(2)
(3)
Figure 22: We plot the same figure as 21 but with exhaustion after 4,000 epochs. We plot (1) the Hodge-de Rham PINN solution; (2) the true solution; (3) absolute pointwise error. As we can see, there is significantly greater success since maximum pointwise error drops from .

(1)
(2)

(3)
Figure 23: We illustrate (1) catastrophic failure of a vanilla PINN; (2) the true solution; and (3) pointwise absolute error on the Kähler manifold experiment as in Appendix H.1 with a Pythagorean loss function after 7,000 epochs.

(1)

(2)

(3)
Figure 24: We illustrate (1) success of a vector-valued vanilla PINN; (2) the true solution; and (3) pointwise absolute error on the Kähler manifold experiment as in Appendix H.1 with a Pythagorean loss function after 12,000 epochs.


Figure 25: We sample circles and compute closed line integrals as in the Kähler (complex manifold domain) experiment as in Appendix H.1 on the true solution. We sample circles around a pole and compute the circulation value. The left demonstrates the sampled circles around the pole, and the right demonstrates the corresponding values. Color is used to demonstrate radii values. As we can see on the right, the circulation is nonzero and approaches the theoretical value .

Figure 26: We plot the same as Figure 25 but we perform the sampling on the scalar-valued PINN solution that fails and not the true solution. As we can see, the corresponding circulation is zero.

(1)
(2)
(3)
Figure 27: We illustrate (1) catastrophic failure of a vector-valued PINN; (2) the true solution; and (3) pointwise absolute error on the Kähler manifold experiment as in Appendix H.2 with a Pythagorean loss function after 8,000 epochs.

(1)
(2)
(3)
Figure 28: We illustrate (1) success of a Hodge-de Rham PINN; (2) the true solution; and (3) pointwise absolute error on the Kähler manifold experiment as in Appendix H.2 with a Pythagorean loss function after 2,000 epochs.

(1)

(2)
(3)
Figure 29: We plot the difference in value between two paths from one point to another, possibly encompassing poles. We plot (1) a toy diagram illustrating what we convey; (2) the difference in path values for a vector-valued vanilla PINN; (3) the difference in path values for the true solution. This figure illustrates the vector-valued PINN solution exhibits different path-dependent behavior than the true solution.

Figure 30: We illustrate that the Aharonov-Bohm experiment true solution corresponds to a non-exact form. In particular, the bottom left panel would be exactly zero if the exterior derivative corresponded to an exact form, which is what the bottom right panel demonstrates.

Figure 31: We plot the Aharonov-Bohm experiment with two poles image across training iteration in (top) 200; (middle) 500; (bottom) 1,000 epoch chunks. The branch cut at initialization is due to the harmonic term. In particular, the branch cut at initialization on the left-hand side is intentional to facilitate the learning of the branch cut after training. Note that we use activation. We do not use a Fourier feature embedding as in Tancik et al. (2020) Wang et al. (2023)

(1)

(2)
(3)
Figure 32: We provide a supplemental experiment of success of our 1-form methods on the Kähler manifold experiment with six punctures to illustrate success of our methods on scenarios of many punctures.