Microstructure Descriptor Fields as Supervision for Scientific Images

Mohamed Wahib, Du Wu, Cong Ma, Isaac Lyngaas, Xiao Wang, Enzhi Zhang, Peng Chen, Satoshi MatsuokaNeurIPS 2026

TL;DR

Standard computer vision models train by trying to get pixels right, which works great for holiday photos, but fails in scientific imaging where slightly blurry boundaries can accidentally sever a blood vessel or seal a rock pore. This paper introduces MICROFIELD, a plug-and-play training loss that forces vision models to preserve local, physical microstructure—like texture, boundary sharpness, and directional alignment—rather than just raw pixel values. Best of all, it requires zero changes to the model architecture and adds zero computational cost at inference time.

What Problem Does This Paper Address?

When we look at an electron microscopy slice or an X-ray scan of porous rock, we aren't looking at a natural visual scene; we are looking at a physical measurement. What matters scientifically isn't exact pixel-for-pixel identity, but microstructure: how pores connect, how sharp phase boundaries are, and whether tissue fibers align in a specific direction (anisotropy).

Modern self-supervised vision models—like Masked Autoencoders (MAE)—learn by masking out patches of an image and trying to reconstruct the missing pixels. However, pixel fidelity is a poor surrogate for structural fidelity. Two image reconstructions can have nearly identical pixel-error scores (like PSNR), yet one preserves a connected network of biological vessels while the other shatters them into disconnected islands.

Figure 2: Pixel fidelity does not guarantee structural fidelity. In this representative example, Pixel- MAE [16] and MICROFIELD achieve comparable pixel fidelity, but Pixel-MAE introduces larger descriptor-field and connectivity errors. Aggregate PSNR/SSIM and structure metrics in Table 3.

Meanwhile, physics-informed neural networks (PINNs) enforce physical laws using differential equations, which rarely exist in a neat, explicit form for raw microscopy or histology intensity images. The authors ask: how can we teach neural networks to respect domain-relevant physical structure when we don't have governing equations?

Methods

Enter MICROFIELD. Instead of inventing a new neural network architecture, the authors rethink the supervision target during training.

While the individual mathematical descriptors used here are well-established in materials science, the novel contribution is organizing them into a spatially indexed, multiscale descriptor field used purely as an auxiliary training loss ($\mathcal{L}_{\text{field}}$). Here is how it works in a masked pretraining setup:

  1. Spatial Partitioning: Both the original target image and the model's reconstructed image are divided into local measurement windows—either a simple uniform grid or a multiscale hierarchy (like a quadtree).
  2. Extracting Observables: Within each window, a fixed, differentiable extractor computes compact, label-free structural summaries: signal/texture stats (moments, wavelet energy), interface sharpness (gradient/Laplacian energy), and directional alignment (structure-tensor anisotropy).
  3. Three-Part Structural Loss: MICROFIELD penalizes differences between the target and reconstructed descriptor fields at three levels:
  4. Local matching: Ensures corresponding spatial regions have matching structural stats.
  5. Distribution alignment: Matches the mean and covariance of descriptors across each scale level.
  6. Cross-scale transitions: When a hierarchy is used, ensures fine-scale child regions compose properly into coarser parent structures.
Figure 1: Overview of MICROFIELD. An image is decomposed into regions that serve as local measurement windows. A fixed descriptor extractor maps every region to a vector of selected structural measurements, forming a discrete descriptor field. In the masked-pretraining instantiation evaluated here, the base model predicts an image-like reconstruction ˆx; descriptor fields are then extracted from both x and ˆx. The auxiliary objective matches descriptors on corresponding regions, aligns their level-wise distributions, and, when a hierarchy is used, preserves cross-scale relations. Only the image-derived differentiable descriptors are used in the default unlabeled configuration.

Crucially, the network never takes handcrafted descriptors as input, nor does it output them at test time. Once training is done, the auxiliary loss is discarded, leaving a standard backbone (like a Vision Transformer) that now "thinks" in terms of physical structure.

Datasets

The authors evaluate MICROFIELD across four distinct regimes (using unlabeled images for pretraining, reserving labels strictly for downstream testing):

  • Synthetic-$\mu$Struct: A newly constructed, controlled benchmark of stochastic two-phase fields with known ground-truth parameters (porosity, correlation length, topology) to verify if pretraining truly captures physical invariants.
  • Porous-XCT: 3D X-ray computed tomography slices of porous materials, testing phase segmentation and porosity regression.
  • MitoEM/EM: Electron microscopy slices of mitochondria and biological membranes, stressing fine interfaces and elongated, connected structures.
  • HuBMAP-Vasc: PAS-stained human kidney histology tiles, focusing on thin, connected microvasculature segmentation.

Key Insights and Ideas

  • Knowledge-constrained learning, not handcrafted features: Classical pipelines feed human-engineered features into a classifier. MICROFIELD flips this: the neural representation remains 100% learned from raw pixels, while classical descriptors act strictly as training-time "guardrails"—much like PDE residuals in physics-informed learning.
  • Free topological transfer: Topological metrics like connected-component counts and Euler characteristics are non-differentiable, so they aren't included in the default training loss. Yet, simply training the model to preserve local gradients, textures, and anisotropy causes topological errors to plummet as an emergent transfer effect.
  • Where matters as much as what: Ablations comparing MICROFIELD against global image-level descriptors show that matching whole-image averages isn't enough—you can match global statistics while scrambling spatial layout. Local spatial indexing is essential.

Key Results

Using a standard ViT-B/16 backbone trained on matched in-domain data, MICROFIELD-Full consistently outperforms self-supervised baselines (Pixel-MAE, SimMIM, iBOT, DINOv2):

  • Downstream Task Gains: Compared to Pixel-MAE, MICROFIELD improves downstream segmentation Dice scores by 8.9 percentage points (78.4% $\rightarrow$ 87.3%) and regression/classification ($R^2 \times 100$) by 8.3 points (81.6 $\rightarrow$ 89.9). It even surpasses several external foundation models pretrained on massive outside datasets.
  • Structural Fidelity at Constant PSNR: On masked reconstructions, Pixel-MAE and MICROFIELD achieve virtually identical pixel fidelity (31.8 vs. 31.9 dB PSNR). However, MICROFIELD slashes evaluation-only connected-component error (CCE) by 52.1% (0.286 $\rightarrow$ 0.137) and cuts interface-density error by more than half (0.218 $\rightarrow$ 0.098).

Limitations and Future Work

  • Descriptors are structural priors, not magic wands: The authors emphasize that microstructure descriptors are task-conditioned summaries of image appearance—they do not uniquely invert or recover the true latent physical state of a specimen, and there is no single "universal" descriptor set for all of science. Choosing descriptors is a modeling assumption tailored to domain invariants.
  • Training-time overhead: Computing multiscale descriptors and their gradients introduces extra time and memory costs during pretraining (though zero cost at inference).
  • Extensions: While the main experiments stick to purely unlabeled, differentiable descriptors on 2D images/slices, the framework naturally points toward weak-mask supervision and differentiable surrogates for direct topological optimization.

Summary updated

Abstract

Scientific images often depend not only on exact pixel fidelity but also on the preservation of microstructure, including morphology, connectivity, anisotropy, interface complexity, phase organization, and characteristic length scales. Yet common image-learning objectives, including masked image modeling and reconstruction losses, supervise models in pixel, token, or latent feature space rather than through domain-relevant structural measurements. We introduce MICROFIELD, an objective-level supervision framework that applies established microstructure descriptors locally over spatial regions, producing a spatially indexed and optionally multiscale descriptor field. MICROFIELD augments a base learning objective with local descriptor matching, level-wise descriptor-distribution alignment, and, when a hierarchy is available, cross-scale transition preservation, without modifying the model architecture. We evaluate this supervision principle through masked self-supervised pretraining on one controlled synthetic benchmark and three real-world imaging regimes. MICROFIELD outperforms matched self-supervised baselines; it improves segmentation by 8.9% and regression/classification by 8.3%, while reducing connected-component error by 52.1% at essentially unchanged PSNR. These results show that spatial descriptor-field supervision can improve structure-sensitive representation learning without modifying the encoder or adding inference-time computation.
BibTeX
@inproceedings{wahib2026microstructure,
  author = {Mohamed Wahib and Du Wu and Cong Ma and Isaac Lyngaas and Xiao Wang and Enzhi Zhang and Peng Chen and Satoshi Matsuoka},
  title = {{Microstructure Descriptor Fields as Supervision for Scientific Images}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=mHVHXzcbr7},
}

Loading related content...

Figure