# Physical neural networks using sharpness-aware training

**Authors:** Tengji Xu, Zeyu Luo, Shaojie Liu, Li Fan, Qiarong Xiao, Benshan Wang, Dongliang Wang, Chaoran Huang

PMC · DOI: 10.1038/s41467-026-68470-9 · Nature Communications · 2026-01-19

## TL;DR

This paper introduces a new training method for physical neural networks that improves their robustness and generalization in real-world conditions.

## Contribution

Sharpness-aware training is proposed to enhance PNNs' resilience and transferability across devices and perturbations.

## Key findings

- SAT reduces model-reality mismatch in in silico training of PNNs.
- SAT enables cross-device transfer and resilience to post-deployment perturbations.
- SAT is demonstrated on multiple PNN platforms and tasks with consistent performance improvements.

## Abstract

Recent advances in AI are pushing the limits of traditional hardware, making physical neural networks (PNNs) a promising alternative. However, training PNNs remains challenging: in silico training suffers from model-reality mismatch, while in situ training produces device-specific models that do not transfer across fabrication variations. Both approaches are further compromised by post-deployment perturbations, such as thermal drift or misalignment, which invalidate trained models and require retraining. We address these challenges through sharpness-aware training (SAT), inspired by sharpness-aware minimization, which links loss landscape geometry to generalization. We establish a connection between loss landscape sharpness and robustness in physical systems and leverage it to improve PNN training. SAT is compatible with both in silico and in situ settings: it mitigates model-reality gaps, enables cross-device transfer, and provides strong resilience to post-deployment perturbations without retraining. We demonstrate SAT across three PNN platforms and multiple tasks, including classification, compression, reconstruction, and generation, showing its broad applicability.

Physical neural networks offer more efficient AI hardware, however their training remains challenging. Here, authors introduce sharpness-aware training for physical neural networks to increase their robustness, generalizability, and resilience to real-world perturbations without retraining.

## Full-text entities

- **Diseases:** PNNs (MESH:D059445), SAT (MESH:D008947), SLM (MESH:D008569)
- **Chemicals:** Metal (MESH:D008670), BP (-), silicon (MESH:D012825), Al (MESH:D000535), W (MESH:D014414), H (MESH:D006859), oxide (MESH:D010087)
- **Species:** Canis lupus familiaris (dog, subspecies) [taxon 9615], Felis catus (cat, species) [taxon 9685], Equus caballus (domestic horse, species) [taxon 9796]
- **Cell lines:** CIFAR-10 — Mus musculus (Mouse), Hybridoma (CVCL_C4R4)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12917175/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12917175/full.md

## References

8 references — full list in the complete paper: https://tomesphere.com/paper/PMC12917175/full.md

---
Source: https://tomesphere.com/paper/PMC12917175