All models

BoT (Bag of Tricks for ReID)

The FastReID appearance networks behind the BoT-SORT tracker, turning person crops into embeddings.

Detection and tracking · 193 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 (24 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
25.1M
Operations
193
Framework
PyTorch
Recurrent
No
Published
2022
Cited by
1,734 (as of 17 November 2026)
Authors
Nir Aharon, Roy Orfaig, Ben-Zion Bobrovsky
License
Apache-2.0
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
m14963
Graph hash
0334b769eeabbb023c41c1b432e4af4e9b59a9a380306b0ae0c0d8d46f0e5757
Skeleton hash
91e3a6c7bd8422ef4239edd9fb70ca86bfee6bc3c5b30283a6d0ac938f36fec9
Architecture hash
d6a50f347c22d00067b34f8c26e85a89fb20e4a6d5828550a1a023230223b19e
Diagram SHA-256
e623e3a66b7c9f10fbadebad5fa4a2a123cc66a9bac18fe455d8f54be9787a37
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

About this model's family

The models captured here are the appearance side of BoT-SORT, a multi-pedestrian tracker: a separate deep network that crops the frame detection boxes and extracts deep appearance features. The tracker itself combines the advantages of motion and appearance information, along with camera-motion compensation, and a more accurate Kalman filter state vector. Its two trackers, BoT-SORT and BoT-SORT-ReID, rank first in the datasets of MOTChallenge on both MOT17 and MOT20 test sets in MOTA, IDF1, and HOTA.

To extract the Re-ID features, the authors adopted the stronger baseline on top of BoT, called SBS, from the FastReID library, with ResNeSt50 as a backbone. They trained FastReID's SBS-50 model for MOT17 and MOT20 with its default training strategy, for 60 epochs. Inside the tracker, a matched tracklet's appearance state is updated with an exponential moving average of these embeddings. Rather than the common weighted sum of appearance and motion costs, BoT-SORT rejects far-away or low-similarity candidates and then takes the minimum of the IoU distance and the cosine distance as the final cost. Because appearance features may be vulnerable to crowds, occluded and blurred objects, only high confidence detections feed the feature extractor.

FastReID, the library these networks come from, implements three backbones, ResNet, ResNeXt and ResNeSt. Its aggregation layer pools backbone feature maps into a global feature by max pooling, average pooling, GeM pooling or attention pooling. The head on top can be a batch normalization head, a Linear head or a Reduction head. The BoT in these names is the bag-of-tricks baseline, whose tricks are a warm up learning rate, random erasing augmentation, label smoothing, last stride, BNNeck and center loss. FastReID itself is a ground-up rewrite of that earlier reid strong baseline codebase. In that repository's results table, adding BNNeck brings the baseline to 94.1 rank-1 and 85.7 mAP on Market1501.

Key idea. The re-identification feature extractors, FastReID's SBS with a ResNeSt50 backbone and the bag-of-tricks ResNet-50 baseline, that give the BoT-SORT tracker its appearance cues for robust associations.

  • bot-sort
  • botsort
  • bot-sort-reid
  • fastreid
  • fast-reid
  • sbs
  • sbs-s50
  • bag of tricks
  • bot
  • reid
  • person re-identification
  • multi-object tracking
  • mot17
  • mot20
  • bnneck
  • resnest50
  • appearance features
  • reid-strong-baseline

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

Cite the paper

@misc{aharon2022botsortrobustassociationsmultipedestrian,
      title={BoT-SORT: Robust Associations Multi-Pedestrian Tracking}, 
      author={Nir Aharon and Roy Orfaig and Ben-Zion Bobrovsky},
      year={2022},
      eprint={2206.14651},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2206.14651}, 
}