
dsdh_alexnet_hash
Language23 ops57.2M params
Deep hashing network that learns image features and binary hash codes together from pairwise labels.
Image classification · 23 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.ri_ts_graph_hash:build_dpsh: build({}) DPSH, short for deep pairwise-supervised hashing, is a deep hashing method for image retrieval: it learns image features and hash codes at the same time, supervised by pairwise labels. The paper's starting point is that most existing hashing methods relied on hand-crafted features, which might not be optimally compatible with the hashing procedure.
The model has three components trained together: a deep network that learns an image representation from pixels, a hash function that maps the representation to hash codes, and a loss that measures the quality of the codes against the pairwise labels. In the paper the feature network has seven layers, the same as those of CNN-F. The authors add that other CNN architectures, such as the AlexNet, can be used in place of CNN-F. A fully-connected layer connects the feature network to the hashing objective. For training, two CNNs with the same structure and shared weights process pairs of images, because both the input and the loss are defined on pairs.
The experiments compare against baselines on two datasets, CIFAR-10 and NUS-WIDE. A variant called DPSH0, which does not update the first seven layers during learning, did much worse than the full model, and the authors read this as evidence for learning features and codes in one framework.
Key idea. DPSH integrates a deep network, a hash function and a pairwise-label loss into one end-to-end architecture, so that feature learning and hash-code learning happen simultaneously.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.