cs.CVMar 16, 2026

From Artefact to Insight: Efficient Low-Rank Adaptation of BrushNet for Scanning Probe Microscopy Image Restoration

Authors: Ziwei Wei, Yao Shen, Wanheng Lu, Ghim Wei Ho, Kaiyang Zeng

Organizations: Department of Mechanical Engineering, National University of Singapore, 9 Engineering Drive 1, 117576, Singapore · School of Computer Science and Technology, Tongji University, 4800 Caoan Road, Shanghai, 201804, China · Department of Electrical and Computer Engineering, National University of Singapore, 4 Engineering Drive 3, Singapore, 117583 · NUS Research Institute (NUSRI), No. 377 Linquan Street, Suzhou Industrial Park, 215123, China

Abstract

Scanning Probe Microscopy or SPM offers nanoscale resolution but is frequently marred by structured artefacts such as line scan dropout, gain induced noise, tip convolution, and phase hops. While most available methods treat SPM artefact removal as isolated denoising or interpolation tasks, the generative inpainting perspective remains largely unexplored. In this work, we introduce a diffusion based inpainting framework tailored to scientific grayscale imagery. By fine tuning less than 0.2 percent of BrushNet weights with rank constrained low rank adaptation (LoRA), we adapt a pretrained diffusion model using only 7390 artefact, clean pairs distilled from 739 experimental scans. On our forthcoming public SPM InpBench benchmark, the LoRA enhanced model lifts the Peak Signal to Noise Ratio or PSNR by 6.61 dB and halves the Learned Perceptual Image Patch Similarity or LPIPS relative to zero-shot inference, while matching or slightly surpassing the accuracy of full retraining, trainable on a single GPU instead of four high-memory cards. The approach generalizes across various SPM image channels including height, amplitude and phase, faithfully restores subtle structural details, and suppresses hallucination artefacts inherited from natural image priors. This lightweight framework enables efficient, scalable recovery of irreplaceable SPM images and paves the way for a broader diffusion model adoption in nanoscopic imaging analysis.

Explore similar work

CardsList
  1. Image resolution enhancement for advanced semiconductor nodes

    Oct 5, 2026Lucas Rencker, Omid Tajalizadehkhoob, Khalid Elsayed +7Semiconductor ManufacturingImage Super-Resolution

  2. SPM-Bench: Benchmarking Large Language Models for Scanning Probe Microscopy

    Feb 26, 2026Peiyao Xiao, Xiaogang Li, Xinyi Gao +7LLM EvaluationMultimodal Model Evaluation

  3. Deep LoRA-Unfolding Networks for Image Restoration

    Feb 21, 2026Xiangming Wang, Haijin Zeng, Benteng Sun +4Deep UnfoldingImage Restoration