Weight Averaging at Small Budgets Confounds Formula-Labeled Pretraining in Microstructure-Property Regression: A Pre-Specified Study with Post Hoc Rechecks

Jonghyun Lee, Soojung KangarXiv 2026

TL;DR

Pretraining AI on synthetic data labeled with "free" physics formulas seems like a shortcut to success in materials science, but common training tricks can lead you astray. This paper reveals how weight averaging (EMA) can act like a "ghost of the past," anchoring models to their initial state and masking critical flaws like mismatched image contrast.

What Problem Does This Paper Address?

In materials informatics, data is the ultimate bottleneck. If you want to know the physical properties of a microscopic structure—like how well it conducts heat or how much it resists stretching—you usually have to perform a destructive physical test or run a grueling computer simulation. Consequently, public datasets are tiny, often containing only a few hundred labeled images.

To solve this, researchers often use pretraining: training a model on a massive, cheap dataset before "fine-tuning" it on the small, expensive one. One clever idea is formula-labeled pretraining. Since we know the math behind simple physics (like the Maxwell Garnett formula for conductivity), we can generate 150,000 synthetic images, label them instantly with the formula, and train a model on them for pennies.

The authors wanted to know: Does this actually work better than standard ImageNet pretraining? And more importantly, do our standard training "best practices" (like averaging model weights) help or hinder us when our data budget is razor-thin?

Methods

The researchers set up a rigorous, pre-specified protocol using a ConvNeXt-Small backbone. They compared three starting points:

  1. ImageNet: Starting with weights trained on everyday objects.
  2. Masked Reconstruction: A self-supervised approach where the model learns by "filling in the blanks" of missing image patches.
  3. Formula-Labeled: Pretraining the model to predict physical properties based on synthetic images labeled with closed-form physics equations.

The "standard" trick they included was Exponential Moving Average (EMA). EMA keeps a running average of the model's weights during training, which usually makes the final model more stable and accurate. However, as the authors discovered, at small data budgets, EMA can become a major "confound"—a hidden variable that messes up your results.

Datasets

The study focused on two primary benchmarks in microstructure-property regression:

  • Conductivity: Predicting the effective conductivity ($\kappa_{11}$) of two-phase microstructures.
  • Stiffness: Predicting a stiffness component ($C_{1111}$) of short-fiber composites.

They used 150,000 synthetic images for pretraining and tested fine-tuning on tiny budgets of 100, 400, and 1,600 real labels. You can see the visual difference between the synthetic "pretext" images and the real benchmark images in Figure 1.

Fig. 1. Synthetic pretext images (left two columns) and public benchmark images (right two columns). For conductivity the gen- erator renders the low-conductivity inclusions dark on a light ma- trix, whereas the public RVEs store them bright on a dark matrix; for stiffness the polarity agrees. The mismatch was found after all pre-specified results were computed.

Key Insights and Ideas

  • The EMA Anchor: At small label budgets (like 100 or 400 images), the model only takes a few hundred steps. Because EMA averages the new weights with the old ones, the final model might still consist of 16% to 64% of its original pretrained weights. If those original weights were "wrong" for the new task, the model gets stuck in a halfway house.
  • Polarity Matters: In the conductivity task, the synthetic images showed dark inclusions on a light background, while the real data was light on dark. This "contrast polarity" flip meant the model started fine-tuning with a completely inverted understanding of the physics. Without EMA, the model could unlearn this; with EMA, it stayed partially "inverted," leading to compressed, inaccurate predictions.
  • Seed Collapse: The authors found that fine-tuning the same pretrained checkpoint with different random seeds resulted in models that were 99.9% correlated. In other words, you aren't getting a "diverse ensemble" of different perspectives; you're just getting the same model five times.

Key Results

The effectiveness of formula pretraining depends heavily on the material property:

  • Stiffness is a Win: For the stiffness task, formula pretraining was the clear champion. At the 100-label budget, it reduced error (RMSE) by 18% compared to ImageNet (5.49 vs 13.28).
  • Conductivity is Complicated: Initially, ImageNet seemed to crush the formula-labeled approach. However, post-hoc analysis showed this was largely due to the contrast polarity mismatch and the EMA anchor. When the researchers matched the polarity and disabled EMA, the formula-labeled model performed much closer to (and sometimes better than) ImageNet.
  • The "Floor" of Performance: Simple baselines, like a ridge regression on frozen features from a foundation model (DINOv2), actually outperformed many of the complex fine-tuned models at small budgets.

The quantitative breakdown of these results across different budgets can be seen in the table below:

Test RMSE results across different label budgets and pretraining methods.

Limitations and Future Work

The authors are refreshingly honest about the limits of their study. They only tested one specific backbone (ConvNeXt-Small) and two physical properties. They also noted that while they identified the "contrast polarity" issue, they didn't fully decompose the remaining "synthetic-to-real gap"—things like differences in noise levels or the specific shapes of the microstructures.

Their main takeaway for the community? Check your last weights. If you're working with tiny datasets, don't just trust the EMA-averaged model. Look at the raw, final weights to make sure your model actually learned the task instead of just being anchored to its past.

Summary updated

Abstract

Closed-form physics formulas can label synthetic microstructures at no cost, so supervised pretraining on those labels is an alternative to self-supervised pretraining when labels are scarce. One pre-specified protocol tests this on two public simulated benchmarks, two-phase conductivity and short-fiber stiffness: a ConvNeXt-Small is pretrained on 150,000 synthetic images by formula regression or masked reconstruction and fine-tuned on 100, 400, or 1,600 labels. Five fine-tuning seeds from one formula checkpoint have mean residual correlations of 0.994 (conductivity) and 0.999 (stiffness). On conductivity the formula network compresses its predictions (slope 0.64) and has four times the 400-label error of ImageNet initialization. Two confounds interact: the generator renders the low-conductivity phase with the opposite contrast polarity, and the exponential moving average (EMA; decay 0.995, no bias correction) still holds 16% of the initial weights after the 400-label schedule. Without the EMA the slope is 0.97, and over three subsets and five seeds the mismatched checkpoint has 1.4 times the ImageNet error (0.0119 versus 0.0084). Three pretraining runs per polarity leave the comparison inconclusive: matched means (0.0086, 0.0111, 0.0118) fall below mismatched means (0.0119, 0.0120, 0.0123) in aggregate (0.0105 versus 0.0121) but overlap on two of three subsets, and the matched spread (0.0032) exceeds the mismatched spread (0.0004). On stiffness without the EMA, formula pretraining lowers the 100-label error by 18% versus ImageNet over five seeds, including a re-initialized head, while ImageNet seeds also correlate at 0.992. Weight averages that start at the pretrained weights can dominate small-budget comparisons and should be rechecked at the last weights.
BibTeX
@misc{lee2026weight,
  author = {Jonghyun Lee and Soojung Kang},
  title = {{Weight Averaging at Small Budgets Confounds Formula-Labeled Pretraining in Microstructure-Property Regression: A Pre-Specified Study with Post Hoc Rechecks}},
  year = {2026},
  eprint = {2611.29876},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29876},
}
Figure