arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.04116cs.CV
收藏

学习二进制码和二进制权重以实现有效分类

Learning Binary Codes and Binary Weights for Efficient Classification

University of Electronic Science and Technology of China(电子科技大学);AT&T Labs Research(AT&T实验室研究部);Didi Research(滴滴研究院);The University of Queensland(昆士兰大学)

Fumin Shen, Yadong Mu, Wei Liu, Yang Yang, Heng Tao Shen

摘要:

本文提出了一种通用的公式,显着加快图像分类模型的训练和部署,特别是在许多图像类别和高特征维数的情况下。作为一个定义属性,我们的方法表示使用二进制哈希码,这是同时从训练数据学习的图像和学习分类。因此,对图像进行分类简化为计算图像的二进制码与分类器之间的汉明距离,并选择具有最小汉明距离的类。传统上,紧凑散列码主要用于加速图像搜索。我们的工作是第一次使用二进制代码来表示分类器。具体来说,我们制定多类图像分类作为一个优化问题的二进制变量。优化可替代地在二进制分类器和图像散列码上进行。利用二进制码的特殊性质,我们证明了子问题可以通过二进制二次规划(BQP)或线性规划有效地解决。特别是,对于攻击BQP问题,我们提出了一种新的位翻转过程,具有高效率和局部最优性保证。我们的公式支持一个大家族的经验损失函数,并在这里例示指数/铰链损失。对几个有代表性的图像基准进行了综合评价。实验一致地观察到模型训练和部署的复杂性降低,而不牺牲准确性。

英文摘要:

This paper proposes a generic formulation that significantly expedites the training and deployment of image classification models, particularly under the scenarios of many image categories and high feature dimensions. As a defining property, our method represents both the images and learned classifiers using binary hash codes, which are simultaneously learned from the training data. Classifying an image thereby reduces to computing the Hamming distance between the binary codes of the image and classifiers and selecting the class with minimal Hamming distance. Conventionally, compact hash codes are primarily used for accelerating image search. Our work is first of its kind to represent classifiers using binary codes. Specifically, we formulate multi-class image classification as an optimization problem over binary variables. The optimization alternatively proceeds over the binary classifiers and image hash codes. Profiting from the special property of binary codes, we show that the sub-problems can be efficiently solved through either a binary quadratic program (BQP) or linear program. In particular, for attacking the BQP problem, we propose a novel bit-flipping procedure which enjoys high efficacy and local optimality guarantee. Our formulation supports a large family of empirical loss functions and is here instantiated by exponential / hinge losses. Comprehensive evaluations are conducted on several representative image benchmarks. The experiments consistently observe reduced complexities of model training and deployment, without sacrifice of accuracies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑