온라인 해싱을 위한 빠른 클래스별 업데이트
Fast Class-wise Updating for Online Hashing
Fast Class-wise Updating for Online Hashing
@misc{lin2020fast,
title = {Fast Class-wise Updating for Online Hashing},
author = {Mingbao Lin and Rongrong Ji and Xiaoshuai Sun and Baochang Zhang and Feiyue Huang and Yonghong Tian and Dacheng Tao},
year = {2020},
eprint = {2012.00318},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2012.00318}
}
Lin, M., Ji, R., Sun, X., Zhang, B., Huang, F., Tian, Y., & Tao, D. (2020). Fast Class-wise Updating for Online Hashing [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.00318
LIN M, JI R, SUN X, et al. Fast Class-wise Updating for Online Hashing[EB/OL]. (2020-12-01)[2026-11-29]. https://arxiv.org/abs/2012.00318.
초록
최근 온라인 이미지 해싱은 대규모 데이터를 스트리밍 방식으로 처리하여 해시 함수를 실시간으로 업데이트하는 방식으로 연구의 주목을 받고 있다. 이에 따라 기존 대부분의 작업은 감독 학습 설정을 활용하여 클래스 라벨을 사용하여 해싱 성능을 향상시키지만, 적응성과 효율성 측면에서 결함이 있다: 첫째, 최신 해시 함수를 학습하기 위해 대량의 학습 배치 (training batches) 가 필요하여 온라인 적응성이 저하된다. 둘째, 학습 과정이 시간이 많이 소요되어 온라인 학습의 핵심 요구사항과 모순된다. 본 논문에서는 이러한 두 가지 과제를 해결하기 위해 새로운 효율적인 내적 연산을 도입한 새로운 감독형 온라인 해싱 스키엄인 '온라인 해싱을 위한 빠른 클래스별 업데이트 (FCOH)'를 제안한다. 빠른 온라인 적응성을 달성하기 위해, 이진 코드 학습을 분해하고 클래스별로 해시 함수를 대안적으로 갱신하는 클래스별 업데이트 방법을 개발하여 대량의 학습 배치에 대한 부담을 효과적으로 해소한다. 정량적으로 이러한 분해는 최소 75% 의 저장 공간 절감으로 이어진다. 온라인 효율성을 더욱 향상시키기 위해, 서로 다른 이진 제약을 독립적으로 처리하여 온라인 학습을 가속화하는 반이완화 최적화 (semi-relaxation optimization) 를 제안한다. 추가적인 제약과 변수 없이도 시간 복잡도가 현저히 감소한다. 또한, 이러한 스키엄은 해시 함수를 갱신하는 과정에서 과거 정보를 잘 보존한다는 것이 정량적으로 입증되었다. 클래스별 업데이트와 반이완화 최적화의 시너지 효과는 다양한 최전방 방법들보다 우월한 성능을 제공한다는 것이 정량적으로 입증되었으며, 이는 세 가지 널리 사용되는 데이터셋에서의 광범위한 실험을 통해 검증되었다.
Online image hashing has received increasing research attention recently, which processes large-scale data in a streaming fashion to update the hash functions on-the-fly. To this end, most existing works exploit this problem under a supervised setting, i.e., using class labels to boost the hashing performance, which suffers from the defects in both adaptivity and efficiency: First, large amounts of training batches are required to learn up-to-date hash functions, which leads to poor online adaptivity. Second, the training is time-consuming, which contradicts with the core need of online learning. In this paper, a novel supervised online hashing scheme, termed Fast Class-wise Updating for Online Hashing (FCOH), is proposed to address the above two challenges by introducing a novel and efficient inner product operation. To achieve fast online adaptivity, a class-wise updating method is developed to decompose the binary code learning and alternatively renew the hash functions in a class-wise fashion, which well addresses the burden on large amounts of training batches. Quantitatively, such a decomposition further leads to at least 75% storage saving. To further achieve online efficiency, we propose a semi-relaxation optimization, which accelerates the online training by treating different binary constraints independently. Without additional constraints and variables, the time complexity is significantly reduced. Such a scheme is also quantitatively shown to well preserve past information during updating hashing functions. We have quantitatively demonstrated that the collective effort of class-wise updating and semi-relaxation optimization provides a superior performance comparing to various state-of-the-art methods, which is verified through extensive experiments on three widely-used datasets.