The norm, not the labels: training and evaluating finite-element surrogates for stress analysis in the energy norm

Ruifeng Cao, Xidan SongarXiv 2026 · arXiv

In the world of structural engineering, the Finite Element Method (FEM) is the gold standard for stress analysis, but its computational cost can be a bottleneck for iterative design or uncertainty quantification. Neural surrogates—AI models that "mimic" FEM solvers—promise near-instant evaluations. However, a new paper by Ruifeng Cao and Xidan Song suggests we’ve been training these models all wrong.

The core message? When it comes to predicting stress, the norm you minimize matters far more than whether you have ground-truth labels.

TL;DR

For linear elastostatics, training neural surrogates by minimizing discrete potential energy is mathematically equivalent to supervised learning in the "energy norm." This approach drastically improves stress prediction accuracy compared to standard displacement-based losses, even when no ground-truth solutions are used during training.

What Problem Does This Paper Address?

Most neural surrogates for FEM are trained to minimize the mean-square error of nodal displacements ($L^2$ norm). While this makes intuitive sense, engineering decisions are rarely based on displacement alone; they depend on stress.

The authors point out a fundamental "spectral bias" in displacement-based training. In elasticity, the stiff modes of a system carry the strains and stresses but contribute relatively little to the overall displacement. Consequently, a network that achieves a low displacement error might still produce "noisy" or highly inaccurate stress fields because it has ignored these critical stiff modes.

Methods

The researchers utilized a Transformer architecture, treating mesh nodes as tokens. They conducted a series of pre-registered experiments to isolate the effects of the training objective (the "norm") from the presence of ground-truth solutions (the "labels").

They compared three primary training regimes:

  1. Displacement-Supervised: Minimizing the $L^2$ error against reference FEM solutions.
  2. Energy-Norm-Supervised: Minimizing the error in the energy norm (the $K$-norm) against reference solutions.
  3. Label-Free (Potential Energy): Minimizing the assembled discrete potential energy of the system without any reference solutions.

The mathematical "aha!" moment of the paper is the identity: the potential energy of a prediction exceeds the minimum energy of the true solution by exactly half the squared error in the energy norm. This means that minimizing energy is, by definition, supervised regression in the energy norm—you just don't need the "labels" to do it.

Datasets

The study used two synthetic datasets representing common engineering challenges:

  • 2D Perforated Plates: Rectangular plates with zero to three random circular holes under various load cases (30,000 instances).
  • 3D Solids with Cavities: Boxes containing zero to three random spherical cavities (2,000 instances).
  • Holdout & Finer Mesh Sets: Used to test the models' ability to generalize to unseen geometries and substantially finer meshes.

Key Insights and Ideas

  • Norm > Labels: The choice of loss function is the dominant factor in stress accuracy. As shown in Figure 1, switching from a displacement loss to an energy-norm loss provided a massive accuracy boost, while removing labels (moving from supervised energy-norm to label-free) only resulted in a minor performance penalty.
Figure 1: The norm of the loss against the labels, in three dimensions (left) and two (right). The same transformer is trained on the solutions of 1,024 instances with the relative displacement error (top left) or the relative energy-norm error (bottom left), and on their energy without the solutions (bottom right). Label-free training also changes the weighting of the load cases and the learning rate (Section 6); a displacement loss needs the solutions (top right). Each cell: relative energy-norm and von Mises errors, medians over the 256 validation instances averaged over three seeds.
  • Ranking without Truth: Because the potential energy ranks predictions by their energy-norm error, engineers can compare different surrogate models (or different seeds of the same model) and pick the most accurate one without ever running a full FEM solve.
  • The "Zero-Field" Test: The authors introduce a simple "deployment guard." If the potential energy of a prediction is positive, the prediction is guaranteed to be worse than a trivial "zero" solution. This allows for automated screening of gross failures.
  • The Ritz Baseline: Surprisingly, a classical polynomial Ritz projection often outperformed the neural surrogates. This serves as a sobering reminder that for certain classes of problems, traditional numerical methods are still incredibly efficient baselines that AI researchers should not ignore.

Key Results

  • 3D Performance: In three dimensions, switching the supervised loss from displacement to the energy norm cut the median energy-norm error 7.5-fold and the median von Mises stress error 6.1-fold.
  • Label-Free Success: The label-free transformer (trained only on energy) was significantly more accurate than the displacement-supervised one across all metrics. It came within a factor of 1.3 of the accuracy of the energy-norm-supervised model.
  • Spectral Positioning: Analysis showed that displacement-supervised models left errors concentrated in the high-frequency, stiff modes of the stiffness matrix, whereas energy-norm training distributed errors more effectively for stress recovery.

Limitations and Future Work

  • Linearity: The mathematical identities used (Lemma 1) are exact for linear elastostatics. While the authors suggest extensions to nonlinear problems via incremental potentials, this remains to be proven.
  • Mesh Sensitivity: No network successfully transferred to a substantially finer mesh without retraining. The authors attribute this to the way nodal loads scale with element size ($F_{max}$ scaling).
  • Computational Cost: The use of full self-attention in the Transformer means the training cost scales quadratically with the number of nodes, limiting the mesh sizes that can be handled.
  • Future Directions: The authors suggest applying these "energy-norm" rules to more expensive problems like nonlinear dissipative materials or time-dependent dynamics, where the cost savings of label-free training would be even more significant.

For engineers building the next generation of physics-informed surrogates, the takeaway is clear: stop obsessing over displacement labels and start respecting the energy norm.

Summary updated

Abstract

Finite-element surrogates predict the stresses of a new design in one evaluation, but are usually trained on solutions with a displacement loss and compared by it, although engineering decisions rest on stresses. Application in engineering: stress analysis of perforated plates and solids with cavities, parametric families in which holes concentrate stress. Contribution to artificial intelligence: training and evaluating such surrogates in the energy norm, with or without solutions, and screening their predictions without solutions. For linear elastostatics, minimising the assembled discrete potential energy is exactly supervised regression in this norm: the energy gap of a prediction is the strain energy of its stress error. A displacement loss under-weights the stiff modes that carry the strains. In pre-registered comparisons, changing only the norm of the supervised loss cut a three-dimensional transformer's median energy-norm error 7.5-fold and its median von Mises error 6.1-fold; in two dimensions it more than halved the von Mises error, also on held-out instances. In three dimensions, the transformer trained on the energy alone came within a factor of 1.3 of the energy-norm-supervised one in median energy-norm and von Mises error. It was more accurate than the displacement-supervised one on all five metrics in every seed. Given the stiffness matrix, a Ritz projection was more accurate than the label-free transformer, in the seed means, on every metric but peak stress. No network transferred to a substantially finer mesh. The energy ranks predictions of a load case, and its sign flags those worse than the zero field.
BibTeX
@misc{cao2026norm,
  author = {Ruifeng Cao and Xidan Song},
  title = {{The norm, not the labels: training and evaluating finite-element surrogates for stress analysis in the energy norm}},
  year = {2026},
  eprint = {2611.14574},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14574},
}
Figure