
The advantage of employing the dual norm on V∗is that, under certain assumptions that
we will outline in more detail in Section 3.1, one can relate the dual norm of the residual to the
norm of the error. Specifically, 1
M||R(u)||V∗≤ ||u−u∗||U≤1
γ||R(u)||V∗, where uis a candidate
solution, u∗is the exact solution, and M, γ are positive, problem dependent, constants. This
allows ||R(u)||V∗to be used as an error estimator, without needing to know the exact solution.
In addition, if we can find a way to numerically approximate the dual norm, we can employ this
as a loss function to be minimised over a trial function space.
We propose a Deep Fourier Residual (DFR) method to approximate the error of candidate
solutions of PDEs in H1via an approximation of the dual norm of the residual of the PDE
operator. The dual norm is then employed as a loss function to be minimised. The advantage
of such a method is that the resulting norm is equivalent to the H1-error of the solutions for
certain well-posed problems.
We consider several numerical examples, comparing the DFR approach to other losses em-
ployed to solve differential equations using NNs. Our numerical examples exhibit strong cor-
relation between the proposed loss and H1-error during the training process. For sufficiently
regular problems, our DFR method is qualitatively equivalent to existing methods in the litera-
ture (Section 4.1.2) [27, 44]. However, in less regular problems, our method leads to significantly
more accurate solutions, both for an equation that admits a smooth solution with large gradi-
ents (Section 4.1.3), and for an elliptic equation with discontinuous parameters (Section 4.1.4).
Indeed, methods based on the strong formulation of the PDE, such as PINNs [44], cannot be
implemented for such applications. The DFR method is shown to be advantageous both when
solutions admit H1\H2regularity, and in regular problems where the forcing term has a large
discrepency between its L2and H−1norm. We then consider further numerical experiments
which demonstrate the DFR method’s capability in a linear equation with point source (Sec-
tion 4.2.1), a nonlinear ODE (Section 4.2.2), and a 2D linear problem (Section 4.2.3).
The DFR method is currently limited to rectangular domains where each face has either
a Dirichlet or a Neumann Boundary condition. We rely on a Fourier-type representation of
the H−1norm that can be performed efficiently using the one-dimensional Discrete Cosine
Transform and Discrete Sine Transform (DCT/DST), which are based on the Fast Fourier
Transform (FFT), in each coordinate direction. Generally, an extension of our techniques to
PDEs on arbitrary domains Ω would require access to an orthonormal basis of H1(Ω), whose
obtention may prove more costly than solving the PDE itself. Furthermore, the DST/DCT
takes advantage of the FFT, which allows an inexpensive evaluation of the loss and would not
be available in general domains. A possibility for the extension of the DFR method to arbitrary
domains include methods analogous to embedded domain methods [19, 21, 33, 39, 41, 45, 49],
which embeds domains with complex geometry into a simpler fictious computational domain. It
is also possible to borrow ideas from Goal-Oriented adaptivity (e.g., [42]) to the proposed DFR
method, although this will be postponed for a future work.
The structure of the paper is as follows. In Section 2 we cover some preliminary concepts.
The theoretical groundwork for the definition of the DFR method is presented in Section 3, with
our proposed loss defined in Section 3.3. Section 4.1 contains numerical examples comparing our
proposed loss function with the VPINNs and collocation losses, which are roughly equivalent in
regular problems, but we will demonstrate that the DFR method greatly outperforms VPINNs
and PINNs when solutions are less regular. In Section 4.2 we consider further numerical ex-
periments that demonstrate the DFR in equations with a point source, nonlinearities, and 2D
results. Finally, concluding remarks are made in Section 5.
3