# Binary Generative Adversarial Networks for Image Retrieval

arXiv: https://arxiv.org/abs/1708.04150 · HTML: https://mlsanity.com/paper/1708.04150/

## Key facts

- Cited by 22 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 8 Aug 2017.

## Built on by (most cited first, 22 of 22)

- [Self-supervised Product Quantization for Deep Unsupervised Image Retrieval](https://mlsanity.com/paper/2109.02244/) (2021)
- [Unsupervised Hashing with Contrastive Information Bottleneck](https://mlsanity.com/paper/2105.06138/) (2021)
- [IRGen: Generative Modeling for Image Retrieval](https://mlsanity.com/paper/2303.10126/) (2023)
- [Contrastive Quantization with Code Memory for Unsupervised Image Retrieval](https://mlsanity.com/paper/2109.05205/) (2021)
- [Hyperbolic Hierarchical Contrastive Hashing](https://mlsanity.com/paper/2212.08904/) (2022)
- [Semi-supervised Network Embedding with Differentiable Deep Quantisation](https://mlsanity.com/paper/2108.09128/) (2021)
- [NeuroHash: A Hyperdimensional Neuro-Symbolic Framework for Spatially-Aware Image Hashing and Retrieval](https://mlsanity.com/paper/2404.11025/) (2024)
- [Circumpapillary OCT-Focused Hybrid Learning for Glaucoma Grading Using Tailored Prototypical Neural Networks](https://mlsanity.com/paper/2106.13551/) (2021)
- [Unsupervised Hashing with Semantic Concept Mining](https://mlsanity.com/paper/2209.11475/) (2022)
- [Learning to Hash Naturally Sorts](https://mlsanity.com/paper/2201.13322/) (2022)
- [Deep Self-Adaptive Hashing for Image Retrieval](https://mlsanity.com/paper/2108.07094/) (2021)
- [A Domain-Oblivious Approach for Learning Concise Representations of Filtered Topological Spaces for Clustering](https://mlsanity.com/paper/2105.12208/) (2021)
- [DVHN: A Deep Hashing Framework for Large-scale Vehicle Re-identification](https://mlsanity.com/paper/2112.04937/) (2021)
- [Unsupervised Hashing with Similarity Distribution Calibration](https://mlsanity.com/paper/2302.07669/) (2023)
- [Weighted Contrastive Hashing](https://mlsanity.com/paper/2209.14099/) (2022)
- [Unsupervised Domain-adaptive Hash for Networks](https://mlsanity.com/paper/2108.09136/) (2021)
- [Deep Unsupervised Hashing with Latent Semantic Components](https://mlsanity.com/paper/2203.09420/) (2022)
- [Head-Tail Cooperative Learning Network for Unbiased Scene Graph Generation](https://mlsanity.com/paper/2308.12048/) (2023)
- [Bit-mask Robust Contrastive Knowledge Distillation for Unsupervised Semantic Hashing](https://mlsanity.com/paper/2403.06071/) (2024)
- [CAGE-SGG: Counterfactual Active Graph Evidence for Open-Vocabulary Scene Graph Generation](https://mlsanity.com/paper/2604.22274/) (2026)
- [ReLIC-SGG: Relation Lattice Completion for Open-Vocabulary Scene Graph Generation](https://mlsanity.com/paper/2604.22546/) (2026)
- [Resolving Ambiguity in Composed Image Retrieval via Calibrated Interaction](https://mlsanity.com/paper/2605.24634/) (2026)

## Abstract (arXiv)

The most striking successes in image retrieval using deep hashing have mostly involved discriminative models, which require labels. In this paper, we use binary generative adversarial networks (BGAN) to embed images to binary codes in an unsupervised way. By restricting the input noise variable of generative adversarial networks (GAN) to be binary and conditioned on the features of each input image, BGAN can simultaneously learn a binary representation per image, and generate an image plausibly similar to the original one. In the proposed framework, we address two main problems: 1) how to directly generate binary codes without relaxation? 2) how to equip the binary representation with the ability of accurate image retrieval? We resolve these problems by proposing new sign-activation strategy and a loss function steering the learning process, which consists of new models for adversarial loss, a content loss, and a neighborhood structure loss. Experimental results on standard datasets (CIFAR-10, NUSWIDE, and Flickr) demonstrate that our BGAN significantly outperforms existing hashing methods by up to 107% in terms of~mAP (See Table tab.res.map.comp) Our anonymous code is available at: https://github.com/htconquer/BGAN.
