SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.17893 · 2023

Betrayed by Attention: A Simple yet Effective Approach for Self-supervised Video Object Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 12 functions out of this paper's own repositories and ran 10 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
shvdiwnkozbw/ssl-uvos canonical 10 of 12
FunctionStatusWhere it lives
drop_path Ran shvdiwnkozbw/ssl-uvos/src/model/vision_transformer.py
pointer only (licence: NONE) · get_code("55120f2026b56aa2")
get_frame_aug Ran shvdiwnkozbw/ssl-uvos/src/augment.py
pointer only (licence: NONE) · get_code("fb2519bb639a667c")
hierarchical_cluster Ran shvdiwnkozbw/ssl-uvos/src/eval_oneshot.py
pointer only (licence: NONE) · get_code("a33c8b9d77fca6c7")
kl_distance Ran shvdiwnkozbw/ssl-uvos/src/eval_oneshot.py
pointer only (licence: NONE) · get_code("e72a538ee0eee47d")
mem_efficient_hierarchical_cluster Ran shvdiwnkozbw/ssl-uvos/src/eval_oneshot.py
pointer only (licence: NONE) · get_code("e8f1b9aad850632e")
n_patches Ran shvdiwnkozbw/ssl-uvos/src/augment.py
pointer only (licence: NONE) · get_code("14b1cc74dcb694bf")
patch_grid Ran shvdiwnkozbw/ssl-uvos/src/augment.py
pointer only (licence: NONE) · get_code("600497c0fb4eb8c7")
readRGB Ran shvdiwnkozbw/ssl-uvos/src/data.py
pointer only (licence: NONE) · get_code("1a881611262d51ef")
readSeg Ran shvdiwnkozbw/ssl-uvos/src/data.py
pointer only (licence: NONE) · get_code("a3d6633188714161")
trunc_normal_ Ran shvdiwnkozbw/ssl-uvos/src/model/vision_transformer.py
pointer only (licence: NONE) · get_code("915b71e73a54fc97")
Augment_GPU_pre Not yet run shvdiwnkozbw/ssl-uvos/src/utils.py
pointer only (licence: NONE) · get_code("66e3a4ecd2f2c205")
vit_tiny Not yet run shvdiwnkozbw/ssl-uvos/src/model/vision_transformer.py
pointer only (licence: NONE) · get_code("faaced6c07e0019e")

Repositories linked to this paper

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

Abstract

In this paper, we propose a simple yet effective approach for self-supervised video object segmentation (VOS). Our key insight is that the inherent structural dependencies present in DINO-pretrained Transformers can be leveraged to establish robust spatio-temporal correspondences in videos. Furthermore, simple clustering on this correspondence cue is sufficient to yield competitive segmentation results. Previous self-supervised VOS techniques majorly resort to auxiliary modalities or utilize iterative slot attention to assist in object discovery, which restricts their general applicability and imposes higher computational requirements. To deal with these challenges, we develop a simplified architecture that capitalizes on the emerging objectness from DINO-pretrained Transformers, bypassing the need for additional modalities or slot attention. Specifically, we first introduce a single spatio-temporal Transformer block to process the frame-wise DINO features and establish spatio-temporal dependencies in the form of self-attention. Subsequently, utilizing these attention maps, we implement hierarchical clustering to generate object segmentation masks. To train the spatio-temporal block in a fully self-supervised manner, we employ semantic and dynamic motion consistency coupled with entropy normalization. Our method demonstrates state-of-the-art performance across multiple unsupervised VOS benchmarks and particularly excels in complex real-world multi-object video segmentation tasks such as DAVIS-17-Unsupervised and YouTube-VIS-19. The code and model checkpoints will be released at https://github.com/shvdiwnkozbw/SSL-UVOS.

For agents

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

get_harvested_code_for_paper("2311.17893")
get_code_for_paper("2311.17893")
have("2311.17893")

Connect an agent — have() is free.