Paper explainer · arXiv 2605.28368 · NeurIPS 2026

LEIA: a video-game-style world model,
for bending steel

Engineers design architected materials — lattice structures like the inside of bone — but every design idea must pass through a slow finite-element simulation. LEIA is a learned simulator you can play: pull, twist and shear a 3D material step by step, and watch its deformation and internal stress respond in real time.

~100–300×faster than FEM per evaluation
442,000mesh nodes handled autoregressively
30 FPSinteractive threshold LEIA clears
553 designssearched in 30 minutes

1The bottleneck is the simulator

Nature builds strength from geometry — bone, nacre and wood get their properties from structure, not substance. Engineers copy the trick with architected materials: tiny engineered lattices repeated millions of times. But testing a new geometry the classical way is painfully slow.

How it works today

Each candidate geometry is meshed into up to 442,000 tetrahedral elements and solved with the finite element method (FEM) — a nonlinear Newton iteration at every one of hundreds of time steps. One evaluation can take minutes to hours, and a design campaign needs thousands of them.

FEM gives exact-ish answers, but it is a batch process: submit, wait, read a file.

The world-model idea

Game engines replaced hand-written physics with learned world models that respond to your controller in real time. LEIA applies the same idea to solids: an engineer "presses buttons" — stretch, twist, shear — and the model predicts the material's response autoregressively, each step conditioned on the action you just chose.

The catch: it must be right about stress, not just shape — stress is what breaks things.

2Play with a material

This is the interaction model LEIA enables. The plate is clamped at the left; you drive the right grip with four controls. Blue = loading, gray = hold, orange = unloading — exactly the per-step actions in the paper's interface. The stress you see is computed, not painted: every edge carries a 3-branch Maxwell viscoelastic law (the paper's τ = 0.001 / 0.2 / 3.0 s structure, game-scaled), integrated live in your browser.

History A — live
S · stretch
T · twist
1 · shear-y
2 · shear-z

What to watch. (1) Color is von Mises stress, now computed per edge from its actual strain through a real three-branch relaxation law — during any hold, color genuinely decays as the non-equilibrium branches relax. (2) Press 👁 shape-only model to see what a model that only knows the current shape would predict, with the live Pearson correlation r between it and the true field: it sags during holds, exactly the failure Table 2 quantifies. (3) Press ▶ twin-history demo for two plates driven to the same final grip position by different paths — same shape, different stress.

Simplified but physically consistent: real edge strains and real relaxation dynamics, computed in your browser — it shows the physics intuition and the interface, not the trained LEIA model or FEM data.

3How LEIA works

Three moving parts: a tokenizer that compresses any mesh into a fixed set of latent tokens, a transformer that rolls those latents forward under your commands, and a decoder that reads physical fields back out.

Mesh state Stdisplacement field u on N nodes (N up to 442K, arbitrary tetrahedral mesh)
→
TokenizerPerceiver cross-attention squeezes N nodes into K fixed latent tokens (K=256–512)
→
Dynamics transformeraction-conditioned: each block is scaled/shifted by the boundary-condition action at you pressed
→
Decodercross-attention reads latents back to every node
→
Stress heada single Linear(H, 6) layer (<0.02% of parameters) emitting the six Cauchy stress components directly

Why latents?

A mesh of 442K nodes is too big to process directly. The tokenizer compresses it to a fixed-size latent (like a video codec's keyframe codes), the dynamics transformer predicts the next latent from the current one plus your action, and the decoder renders any latent back onto the original mesh.

Why a stress head?

You could compute stress afterwards from the predicted shape — differentiate the displacement, run the constitutive law. But for viscoelastic materials the stress also depends on internal state (18 hidden variables in the paper's benchmark) that a shape-only model never sees. The stress head learns to emit stress directly, internal state included — at +6% training cost.

4The claim under test

The paper's Table 2 (p. 7) says a tiny output layer fixes a universal stress-prediction failure across four very different architectures. This chart is built from the paper's reported numbers; toggle the view.

Indirect stress (recover via predicted internal variables) Direct stress head LEIA (reference, always direct)

ModelSpace Teacher forcingAR rollout (100 steps)
Disp. (%) ↓VM corr. ↑Disp. (%) ↓VM corr. ↑
LEIAlatent2.840.9705.990.986

Medians across 100 test trajectories; each cell is "without / with the stress head" where two values exist. Single training run per configuration — the paper reports no error bars. Source: Table 2, p. 7 of arXiv:2605.28368v2.

The claim, precisely

Under teacher forcing, replacing indirect stress recovery with a direct 6-component stress head raises median von Mises correlation from ≤0.26 to ≥0.94 for all four baselines: MGN −0.009→0.987 · UPT 0.257→0.951 · PointNet 0.091→0.943 · Transolver 0.108→0.941.

How it could be falsified (with matched training on the same splits): any baseline without the stress head reaching correlation > ~0.6, or any baseline with it staying below ~0.8 — either breaks the ~0.7 gap. Under rollout, MGN is expected to collapse (0.987→0.225) while the per-frame models hold; that part is about rollout stability, not the head.

5What you can do with it

Search 553 designs in half an hour

Because evaluation is 100–300× faster than FEM, a beam search over lattice mutations evaluated 553 candidate designs in 30 minutes, and FEM validation at every iteration confirmed the surrogate's ranking. It found a design 3.6× better on the search metric at 2.1% volume fraction.

Know when to distrust it

Design searches wander off-distribution, where any surrogate can silently lie. LEIA learns a confidence head that predicts its own von Mises accuracy without running FEM, flagging designs it should not be trusted on.