WS-DAN (Weakly Supervised Data Augmentation Network)
Fine-grained image classifier that uses its own attention maps to crop, erase and re-examine object parts.
Image classification · 575 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.
At a glance
- Task
- Image classification
- Parameters
- 14M
- Operations
- 575
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- 2019
- Cited by
- 329 (as of 29 November 2026)
- Authors
- Tao Hu, Honggang Qi, Qingming Huang, Yan Lu
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m21436
- Graph hash
- eebbf67fde68c5d8f042bef07e4512290f5255aebd64ec548ad19eeca88789e5
- Skeleton hash
- 88e3d43ecb522f7c886da09695a88fc1301854c841353da5595a536647531f41
- Architecture hash
- 0b0a2359e6375e3db80f8222dec7640f0062c9519ab457a247d13d51c8b2bf4a
- Diagram SHA-256
- 6ad67bf0f23ce9d36e4dd3f31734fa3962bcfc345b5417d20656d4d9727b6859
- 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
WS-DAN, the Weakly Supervised Data Augmentation Network, is an image classifier for fine-grained categories such as bird species, car models and aircraft types. Its starting point is that random data augmentation, such as random image cropping, is inefficient and can introduce background noise.
The network locates the discriminative parts of an object from image-level labels alone and represents them as attention maps. Bilinear attention pooling multiplies the feature maps element-wise by each attention map to produce a set of part feature maps. The attention maps then guide data augmentation during training. Attention cropping crops and resizes one attended part to strengthen the local feature representation. Attention dropping erases one attended region so that the model extracts features from several discriminative parts. At test time the attention maps locate the whole object, the object region is enlarged and classified again, and the coarse and fine predictions are averaged.
The paper's experiments use Inception v3 as the backbone and take its Mix6e layer as the feature maps. Attention maps are obtained with a 1 × 1 convolution. The paper compares methods on four datasets: CUB-200-2011, FGVC-Aircraft, Stanford Cars and Stanford Dogs. It notes that the pooling design makes it easy to set an arbitrary number of object parts.
Key idea. WS-DAN uses attention maps learned from image-level labels to guide cropping and dropping augmentation, and then to locate the object for a second, closer prediction.
- WS-DAN
- WSDAN
- Weakly Supervised Data Augmentation Network
- fine-grained visual classification
- FGVC
- attention cropping
- attention dropping
- bilinear attention pooling
- fine-grained image classification
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{hu2019betterlookingcloserweakly,
title={See Better Before Looking Closer: Weakly Supervised Data Augmentation Network for Fine-Grained Visual Classification},
author={Tao Hu and Honggang Qi and Qingming Huang and Yan Lu},
year={2019},
eprint={1901.09891},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1901.09891},
}