Skip to main content
QUICK REVIEW

[论文解读] Fast Autofocusing using Tiny Transformer Networks for Digital Holographic Microscopy

Stéphane Cuenat, Louis Andréoli|arXiv (Cornell University)|Mar 15, 2022
Digital Holography and MicroscopyPhysics and Astronomy参考文献 52被引用 24
一句话总结

本文提出了一种基于微型Vision Transformer(TViT)、微型VGG16(TVGG)和微型Swin-Transformer(TSwinT)网络的快速、高精度自动对焦方法,用于数字全息显微镜。该方法将对焦任务建模为回归问题,仅从单张全息图预测最优重建距离。TViT模型在真实数据上实现亚微米级精度(平均误差1.2 µm),在模拟数据上误差低于0.3 µm,且在CPU上推理时间低于25 ms,实现了无需机械z轴扫描的实时3D位置感知。

ABSTRACT

The numerical wavefront backpropagation principle of digital holography confers unique extended focus capabilities, without mechanical displacements along z-axis. However, the determination of the correct focusing distance is a non-trivial and time consuming issue. A deep learning (DL) solution is proposed to cast the autofocusing as a regression problem and tested over both experimental and simulated holograms. Single wavelength digital holograms were recorded by a Digital Holographic Microscope (DHM) with a 10$\mathrm{x}$ microscope objective from a patterned target moving in 3D over an axial range of 92 $\mu$m. Tiny DL models are proposed and compared such as a tiny Vision Transformer (TViT), tiny VGG16 (TVGG) and a tiny Swin-Transfomer (TSwinT). The proposed tiny networks are compared with their original versions (ViT/B16, VGG16 and Swin-Transformer Tiny) and the main neural networks used in digital holography such as LeNet and AlexNet. The experiments show that the predicted focusing distance $Z_R^{\mathrm{Pred}}$ is accurately inferred with an accuracy of 1.2 $\mu$m in average in comparison with the DHM depth of field of 15 $\mu$m. Numerical simulations show that all tiny models give the $Z_R^{\mathrm{Pred}}$ with an error below 0.3 $\mu$m. Such a prospect would significantly improve the current capabilities of computer vision position sensing in applications such as 3D microscopy for life sciences or micro-robotics. Moreover, all models reach an inference time on CPU, inferior to 25 ms per inference. In terms of occlusions, TViT based on its Transformer architecture is the most robust.

研究动机与目标

  • 通过用深度学习驱动的自动对焦替代物理扫描,解决数字全息显微镜(DHM)中z轴对焦速度慢的问题。
  • 在微机器人和生命科学领域实现高轴向精度的实时、非接触式3D位置感知。
  • 评估微型深度学习模型——特别是TViT、TVGG和TSwinT——在实验和模拟全息图上的对焦性能。
  • 证明基于Transformer的架构在遮挡鲁棒性与推理速度方面优于传统CNN(如AlexNet和LeNet)。
  • 通过低资源CPU推理实现高精度深度预测,满足实时应用需求。

提出的方法

  • 将自动对焦任务建模为回归问题:从单张全息图预测最优重建距离Z。
  • 开发并训练了Vision Transformer(TViT)、VGG16(TVGG)和Swin-Transformer(TSwinT)的微型版本,数据来自实验和模拟全息图。
  • 使用10倍物镜在92 µm轴向范围内记录全息图,目标为图案化结构,从中提取感兴趣区域(ROIs)用于训练。
  • 模型通过最小化均方误差(MSE)损失进行优化,以回归真实对焦距离。
  • 在CPU(Intel i9-11900K)上进行推理,单次预测延迟低于25 ms,适用于实时机器人和显微镜应用。
  • 通过遮挡部分全息图评估模型鲁棒性,对比基于注意力机制(ViT)与基于卷积神经网络(CNN)架构的性能。

实验结果

研究问题

  • RQ1微型Transformer架构(如TViT)能否在计算成本极低的情况下实现数字全息显微镜中的高精度自动对焦?
  • RQ2在遮挡条件下,TViT与基于CNN的模型(如TVGG、AlexNet)在精度和鲁棒性方面表现如何?
  • RQ3微型模型在CPU上的推理速度如何?是否能满足机器人和实时显微镜应用(如20 Hz)的实时性要求?
  • RQ4在模拟全息图上训练是否比在实验数据上训练获得更高精度?性能差距的成因是什么?
  • RQ5所提方法能否使对焦深度(DoF)比显微镜物镜的对焦深度提升一个数量级?

主要发现

  • TViT模型在92 µm轴向范围内的真实全息图上实现1.2 µm的平均预测误差,显著优于显微镜15 µm的景深。
  • 在模拟全息图(伪周期性图案和USAF测试图)上,所有微型模型的预测误差均低于0.3 µm,表明其具有优异的泛化能力。
  • 由于全局自注意力机制可统一处理全息图整体信息,TViT在遮挡条件下表现出更强鲁棒性,而CNN则更关注局部特征。
  • 所有提出的微型模型在CPU(Intel i9-11900K)上的推理时间均低于25 ms,支持40 Hz的实时运行,远超机器人应用20 Hz的阈值要求。
  • 在遮挡场景中,TViT在性能上优于TVGG和TSwinT,表明全注意力机制比窗口化自注意力在相干成像中更具鲁棒性。
  • 尽管TViT模型从230万张ROI数据集端到端训练,仍表现出良好泛化能力,表明全息图中基于衍射的深度信息扩散特性支持无需预训练的有效学习。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。