All models

BBN

A two-branch ResNet classifier for long-tailed image recognition, trained with cumulative learning.

Image classification · 186 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 (22 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
61.3M
Operations
186
Framework
PyTorch
Recurrent
No
Published
CVPR 2020
Cited by
949 (as of 28 October 2026)
Authors
Boyan Zhou, Quan Cui, Xiu-Shen Wei, Zhao-Min Chen
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
m14814
Graph hash
661e1596237b77d67a515d7cc695a0bb70d9e3690112697b744382842bcc9390
Skeleton hash
eb985e349b76eb3d909172743eba6b76ff17e4820d6e6de3ae44eae50853ddd7
Architecture hash
1fa77797c2019b2bbf615762c6cabc4ef72705d2e4be8088319be7f49e29e103
Diagram SHA-256
58186e278909756dd6327af3551fb9104e734f98803bbe2c79db7166c78b304f
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

BBN (Bilateral-Branch Network) is an image classifier built for long-tailed data, where a few classes occupy most of the data while most classes have very few samples. The paper starts from a diagnosis: class re-balancing methods such as re-weighting and re-sampling help because they promote classifier learning, but they also damage the learned deep features to some extent.

BBN therefore gives each of the two jobs its own branch. The conventional learning branch takes input from a uniform sampler and learns universal patterns, while the re-balancing branch takes input from a reversed sampler and is designed for modeling the tail data. The two branch networks share the same weights except for the last residual block. A cumulative learning strategy mixes the two branch features with a weight α that decreases as training proceeds, so the emphasis moves from the conventional learning branch to the re-balancing branch. During inference α is fixed to 0.5, and the two prediction logits are aggregated by element-wise addition.

The iNaturalist experiments use ResNet-50 as the backbone network. The 2018 version of iNaturalist is composed of 437,513 images from 8,142 categories. The authors report that the method won first place in the iNaturalist 2019 large scale species classification competition.

Key idea. BBN pairs a conventional learning branch with a re-balancing branch and shifts training emphasis between them through cumulative learning, so representation learning and classifier learning are handled together.

  • BBN
  • Bilateral-Branch Network
  • long-tailed recognition
  • class imbalance
  • cumulative learning
  • re-balancing
  • reversed sampler
  • iNaturalist
  • 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{zhou2020bbnbilateralbranchnetworkcumulative,
      title={BBN: Bilateral-Branch Network with Cumulative Learning for Long-Tailed Visual Recognition}, 
      author={Boyan Zhou and Quan Cui and Xiu-Shen Wei and Zhao-Min Chen},
      year={2020},
      eprint={1912.02413},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1912.02413}, 
}