arXiv:2606.12023cs.CV2026-06中稿 · the 20th IEEE Inte…

让ViT在人脸验证中提前退出,提速20%且精度损失仅1.5%

ViT-FREE: Efficient Face Recognition via Early Exiting and Synthetic Adaptation

论文配图:ViT-FREE: Efficient Face Recognition via Early Exiting and Synthetic Adaptation
图 1 · 摘自论文原文
  • 通过中间层特征直接验证,无需重训练主干网络
  • 第10层退出可提速20%,IJB-C上精度下降仅1.5%
  • 轻量级微调提升浅层退出性能,适合移动端部署

视觉变压器(ViT)在人脸识别中表现优异,但计算开销大,难以部署于资源受限设备。本文提出无需训练的早期退出策略——ViT-FREE,利用编码器各层特征维度统一的特点,从中间表示直接进行人脸验证,显著降低推理成本。实验表明,随着深度推进,补丁嵌入与注意力图逐步演化,相邻层间高度相似,且逐渐逼近最终表示,说明中间层已具备稳定判别性特征。在多个基准测试中,第10层退出可实现最高20%的加速,IJB-C上性能仅下降1.5%。进一步提出轻量级微调方法ViT-FREE_FT,仅用小规模合成数据微调投影层,不改变主干网络,有效提升浅层退出性能,同时保持深层退出效率优势。

原文摘要 · Abstract (English)

Vision Transformers (ViTs) have gained significant attention in computer vision and shown strong potential for face recognition (FR). However, their high computational cost makes deployment on resource-constrained devices challenging, motivating the need for methods that balance efficiency and accuracy. In this work, we investigate early exiting in pretrained ViTs as a simple yet effective training-free strategy for efficient FR inference. Leveraging the uniform feature dimensionality across transformer encoder blocks, we introduce ViT-FREE, a multi-exit framework that enables face verification directly from intermediate representations without modifying or retraining the backbone model, and thus, reducing inference cost. Empirically, we show that patch embeddings and attention maps evolve progressively across depth, exhibiting high similarity between consecutive ViT blocks and increasing alignment with the final representation. This indicates gradual feature refinement and attention convergence, suggesting that intermediate layers already provide stable and discriminative representations suitable for early exiting. Through extensive experiments on multiple FR benchmarks, we systematically analyze the accuracy-efficiency trade-off across exit depths. Our results demonstrate that later exits achieve a highly favorable balance, with exiting at layer 10 yielding up to a 20% speedup while incurring only a 1.5 drop in verification performance on benchmarks such as IJB-C. Also, we propose ViT-FREE_FT, a lightweight exit-specific fine-tuning strategy that adapts only the projection layers using a small synthetic dataset while keeping the transformer backbone frozen. This approach improves the performance of shallow exits while preserving the efficiency benefits and leaving deeper exits largely unaffected.

人脸识别ViT早期退出高效推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。