Abstract
Existing deep learning methods have made significant progress in gait recognition. Typically, appearance-based models binarize inputs into silhouette sequences. However, mainstream quantization methods prioritize minimizing task loss over quantization error, which is detrimental to gait recognition with binarized inputs. Minor variations in silhouette sequences can be diminished in the network's intermediate layers due to the accumulation of quantization errors. To address this, we propose a differentiable soft quantizer, which better simulates the gradient of the round function during backpropagation. This enables the network to learn from subtle input perturbations. However, our theoretical analysis and empirical studies reveal that directly applying the soft quantizer can hinder network convergence. We further refine the training strategy to ensure convergence while simulating quantization errors. Additionally, we visualize the distribution of outputs from different samples in the feature space and observe significant changes compared to the full precision network, which harms performance. Based on this, we propose an Inter-class Distance-guided Distillation (IDD) strategy to preserve the relative distance between the embeddings of samples with different labels. Extensive experiments validate the effectiveness of our approach, demonstrating state-of-the-art accuracy across various settings and datasets. The code will be made publicly available.
Abstract (translated)
现有的深度学习方法已经在行走识别方面取得了显著的进展。通常,基于外观的模型会将输入转换为轮廓序列。然而,主流的量化方法优先考虑最小化任务损失,这对使用分割输入的行走识别是有害的。由于量化误差在网络的中间层中累积,轮廓序列中的微小变化可能会减弱。为了应对这个问题,我们提出了一个可导的软量化器,它更好地模拟了在反向传播过程中圆函数的梯度。这使得网络能够从微小的输入扰动中学习。然而,我们的理论分析和实证研究结果表明,直接应用软量化器可能会阻碍网络的收敛。为了确保在模拟量化误差的同时达到收敛,我们进一步优化了训练策略。此外,我们绘制了不同样本在特征空间中的输出分布,并观察到与完整精度网络相比,具有显著的变化。基于这一点,我们提出了一个类间距离指导的蒸馏策略(IDD)来保留不同标签样本的嵌入之间的相对距离。大量实验验证了我们的方法的有效性,证明了在各种设置和数据集上的最先进准确性。代码将公开发布。
URL
https://arxiv.org/abs/2405.13859