Saved in:
Bibliographic Details
Main Authors: Tian, S., Gao, H., Hong, G., Wang, S., Wang, J., Yu, X., Zhang, S.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.13859
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908902990282752
author Tian, S.
Gao, H.
Hong, G.
Wang, S.
Wang, J.
Yu, X.
Zhang, S.
author_facet Tian, S.
Gao, H.
Hong, G.
Wang, S.
Wang, J.
Yu, X.
Zhang, S.
contents Existing deep learning methods have made significant progress in gait representation learning. Quantization can facilitate the application of gait models as a model-agnostic general compression technique. 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 representation learning with binarized inputs. 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 addressed this issue by adopting a two-stage training strategy, introducing a soft quantizer during the fine-tuning phase. However, in the first stage of training, we observed a significant change in the output distribution of different samples in the feature space compared to the full-precision network. It is this change that led to a loss in performance. Based on this, we propose an Inter-class Distance-guided Calibration (IDC) 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_13859
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Accurate Quantization for Gait Representation Learning
Tian, S.
Gao, H.
Hong, G.
Wang, S.
Wang, J.
Yu, X.
Zhang, S.
Computer Vision and Pattern Recognition
Existing deep learning methods have made significant progress in gait representation learning. Quantization can facilitate the application of gait models as a model-agnostic general compression technique. 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 representation learning with binarized inputs. 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 addressed this issue by adopting a two-stage training strategy, introducing a soft quantizer during the fine-tuning phase. However, in the first stage of training, we observed a significant change in the output distribution of different samples in the feature space compared to the full-precision network. It is this change that led to a loss in performance. Based on this, we propose an Inter-class Distance-guided Calibration (IDC) 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.
title Accurate Quantization for Gait Representation Learning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.13859