SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.12152 · 2023

Learning from Rich Semantics and Coarse Locations for Long-tailed Object Detection

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 7 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
MengLcool/RichSem canonical 5 of 7
FunctionStatusWhere it lives
aligned_bilinear Ran MengLcool/RichSem/models/richsem/cond_inst.py
pointer only (licence: NONE) · get_code("29dbbaafa4be18e1")
compute_locations Ran MengLcool/RichSem/models/richsem/cond_inst.py
pointer only (licence: NONE) · get_code("ed1a308adb65f645")
dn_post_process Ran MengLcool/RichSem/models/richsem/dn_components.py
pointer only (licence: NONE) · get_code("dc279ea790da466f")
get_fed_loss_inds Ran MengLcool/RichSem/models/richsem/fed_loss.py
pointer only (licence: NONE) · get_code("8ff1be65649a5265")
load_class_freq Ran MengLcool/RichSem/models/richsem/fed_loss.py
pointer only (licence: NONE) · get_code("1b256feaf07b9f3c")
create_timm_resnet_21k Not yet run MengLcool/RichSem/models/richsem/backbone.py
pointer only (licence: NONE) · get_code("c7dccf840b25513b")
multi_head_attention_forward Not yet run MengLcool/RichSem/models/richsem/attention.py
pointer only (licence: NONE) · get_code("a82091666b9db8cf")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Long-tailed object detection (LTOD) aims to handle the extreme data imbalance in real-world datasets, where many tail classes have scarce instances. One popular strategy is to explore extra data with image-level labels, yet it produces limited results due to (1) semantic ambiguity -- an image-level label only captures a salient part of the image, ignoring the remaining rich semantics within the image; and (2) location sensitivity -- the label highly depends on the locations and crops of the original image, which may change after data transformations like random cropping. To remedy this, we propose RichSem, a simple but effective method, which is robust to learn rich semantics from coarse locations without the need of accurate bounding boxes. RichSem leverages rich semantics from images, which are then served as additional soft supervision for training detectors. Specifically, we add a semantic branch to our detector to learn these soft semantics and enhance feature representations for long-tailed object detection. The semantic branch is only used for training and is removed during inference. RichSem achieves consistent improvements on both overall and rare-category of LVIS under different backbones and detectors. Our method achieves state-of-the-art performance without requiring complex training and testing procedures. Moreover, we show the effectiveness of our method on other long-tailed datasets with additional experiments. Code is available at \url{https://github.com/MengLcool/RichSem}.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.12152")
get_code_for_paper("2310.12152")
have("2310.12152")

Connect an agent — have() is free.