All models

DOLG

Single-stage image retrieval model that fuses local and global ResNet features into one compact descriptor.

Image classification · 422 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (28 KB)

Open in a new tab

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.

At a glance

Parameters
106.2M
Operations
422
Framework
PyTorch
Recurrent
No
Published
ICCV 2021
Cited by
154 (as of 29 October 2026)
Authors
Min Yang, Dongliang He, Miao Fan and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15703
Graph hash
fb6fbb55261097dcf02d706b62afa958172f6960ea9382faa421f6fff633231a
Skeleton hash
2571e002df3ff6d624175df56dacb384ad880c6f4aec7b4217e9b2532748ed49
Architecture hash
b0ffef050e312bec4189e44ceb9036241d86efd823e706c4c5297d64889c2cde
Diagram SHA-256
89c2cad7a9f80d51ef5f2908f0688c23f329c6c1961365d7658ffce26f2e6a2b
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DOLG is an image retrieval model that turns an image into one compact descriptor carrying both global and local information, so retrieval needs a single stage. The two-stage systems it replaces rank images twice, and the paper points out that the second pass relies on expensive spatial verification.

The model is built on ResNet. A global branch keeps the ResNet path but replaces global average pooling with GeM pooling and adds a fully connected layer to reduce the feature dimension. A local branch, attached after the Res3 block, consists of several atrous (dilated) convolution layers and a self-attention module. The fusion step extracts the components of the local features that are orthogonal to the global representation, concatenates them with it and aggregates the result. A last fully connected layer produces a 512-dimensional descriptor.

Training needs only image-level labels and uses the ArcFace margin loss. The official code trains from a ResNet-101 configuration, and that is the version shown here. The paper's models were trained on GLDv2-clean, which contains 1,580,470 images and 81,313 classes.

Key idea. DOLG fuses local features with a global descriptor by keeping the local components orthogonal to the global one, giving a single compact descriptor for one-stage retrieval.

  • DOLG
  • Deep Orthogonal Fusion of Local and Global Features
  • Deep Orthogonal Local and Global
  • image retrieval
  • landmark retrieval
  • single-stage image retrieval
  • orthogonal fusion
  • global descriptor
  • DOLG-R101

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{yang2021dolgsinglestageimageretrieval,
      title={DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Features}, 
      author={Min Yang and Dongliang He and Miao Fan and Baorong Shi and Xuetong Xue and Fu Li and Errui Ding and Jizhou Huang},
      year={2021},
      eprint={2108.02927},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2108.02927}, 
}