GraphBit: Bitwise Interaction Mining via Deep Reinforcement Learning

Yueqi Duan, Ziwei Wang, Jiwen Lu, Xudong Lin, Jie Zhou

Abstract

Binary descriptors are essential for efficient image retrieval but often suffer from "ambiguous bits" due to independent bit modeling. We present GraphBit, an unsupervised framework that models binary descriptors as a Directed Acyclic Graph (DAG). By employing Deep Reinforcement Learning (DRL) to mine bitwise interactions, GraphBit allows reliable bits to inform ambiguous ones, significantly enhancing descriptor confidence and retrieval accuracy.

Introduction

Binary descriptors—compact strings of 0s and 1s—are the backbone of efficient image matching and retrieval in mobile and real-time systems. However, most existing methods treat each bit as an independent entity. This approach leads to the problem of ambiguous bits: when a neural network produces a value close to the binarization threshold (e.g., 0.5), the resulting bit is unreliable and highly sensitive to noise.

GraphBit addresses this by modeling binary codes as nodes in a directed acyclic graph. The core insight is that bits within a descriptor are naturally related; just as knowing a person's age might help determine if they are "tall" or "short," knowing the state of "reliable" bits can help resolve the uncertainty of "ambiguous" ones.

Methodology

The GraphBit framework integrates feature learning with bitwise interaction mining. A CNN (based on VGG-16) extracts features, ending in a sigmoid layer to represent the probability of a bit being 0 or 1.

Interaction Mining via Deep Reinforcement Learning

The model uses a DRL agent to autonomously learn the graph structure that defines bit dependencies, avoiding the need for manual design.

The GraphBit architecture: A CNN extracts features while a DRL agent mines bitwise interactions to construct a Directed Acyclic Graph (DAG).

The agent operates on a state defined by the current graph edges, taking actions to add or remove directed edges. The reward is based on an objective function that maximizes Mutual Information, ensuring bits are informative and well-distributed while minimizing binarization uncertainty through learned conditional relationships.

Experimental Results

GraphBit was evaluated on standard benchmarks including CIFAR-10, the Brown Dataset, and HPatches. It consistently outperformed state-of-the-art unsupervised binary descriptors.

Retrieval Performance

On the CIFAR-10 dataset, GraphBit achieved a 9.64% improvement in Mean Average Precision (mAP) over previous methods like DeepBit and DBD-MQ. The model's ability to exploit internal correlations allows it to "self-correct" noisy features.

Precision-Recall curves for 64-bit descriptors on CIFAR-10, demonstrating GraphBit's superior performance over unsupervised baselines.

Efficiency and Robustness

Despite the complexity of the graph during training, the final 32-bit descriptor is highly efficient, requiring only 0.016s for retrieval from a 50,000-image gallery. This represents a 32x reduction in storage compared to traditional SIFT descriptors while maintaining high accuracy.

Conclusion

GraphBit demonstrates that treating bits as a structured system rather than independent variables significantly boosts the reliability of binary descriptors. By using DRL for architecture discovery, the model autonomously learns optimal interaction topologies. Future work could involve relaxing the DAG constraint to allow for bidirectional relationships or incorporating supervised information to further enhance performance.

Summary updated

BibTeX
@inproceedings{duan2018graphbit,
  author = {Yueqi Duan and Ziwei Wang and Jiwen Lu and Xudong Lin and Jie Zhou},
  title = {{GraphBit: Bitwise Interaction Mining via Deep Reinforcement Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00863},
}
Figure