SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.17576 · 2024

A Distractor-Aware Memory for Visual Object Tracking with SAM2

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2411.17576.json · badge: /api/ran/2411.17576.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jovanavidenovic/dam4sam canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
compute_axial_cis Ran
ran, violated the contract we drafted
jovanavidenovic/dam4sam/sam2/modeling/position_encoding.py
pointer only (licence: NONE) · get_code("7ceaad42da42edd5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dice_loss Ran
ran; our contract draft was wrong, not the code
jovanavidenovic/dam4sam/training/loss_fns.py
pointer only (licence: NONE); the stored copy get_code serves, from juneyeeHu/LM-EEC, is pointer only (licence: NONE) · get_code("e473e66fedc883c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_vot_mask Ran
ran, honoured the contract we drafted
jovanavidenovic/dam4sam/vot_wrapper_dam4sam.py
pointer only (licence: NONE) · get_code("43190a568a27a02f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

init_t_xy Ran
ran, honoured the contract we drafted
jovanavidenovic/dam4sam/sam2/modeling/position_encoding.py
pointer only (licence: NONE) · get_code("bb060d29525f90eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

iou_loss Ran
ran; our contract draft was wrong, not the code
jovanavidenovic/dam4sam/training/loss_fns.py
pointer only (licence: NONE); the stored copy get_code serves, from juneyeeHu/LM-EEC, is pointer only (licence: NONE) · get_code("b8f501ca29e77f1a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_full_size Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jovanavidenovic/dam4sam/vot_wrapper_dam4sam.py
pointer only (licence: NONE) · get_code("8edb076e926c9e81")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reshape_for_broadcast Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jovanavidenovic/dam4sam/sam2/modeling/position_encoding.py
pointer only (licence: NONE) · get_code("f8f09f78b474ee7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sigmoid_focal_loss Ran
ran; our contract draft was wrong, not the code
jovanavidenovic/dam4sam/training/loss_fns.py
pointer only (licence: NONE); the stored copy get_code serves, from juneyeeHu/LM-EEC, is pointer only (licence: NONE) · get_code("42fec6fdc1faf6f1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_sam2 Not yet run
unverified (harvested, no recorded run)
jovanavidenovic/dam4sam/sam2/build_sam.py
pointer only (licence: NONE) · get_code("f9850c1d4acdbb5a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

build_sam2_hf Not yet run
unverified (harvested, no recorded run)
jovanavidenovic/dam4sam/sam2/build_sam.py
pointer only (licence: NONE) · get_code("de8c2a625f263855")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

build_sam2_video_predictor Not yet run
unverified (harvested, no recorded run)
jovanavidenovic/dam4sam/sam2/build_sam.py
pointer only (licence: NONE) · get_code("c1b9e144954a57e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jovanavidenovic/dam4sam when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 0 the same month, 9 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
compute_axial_cis 13 other papers
8 dated earlier, 5 later
2302.01872 (2023-02)
MOSE: A New Dataset for Video Object Segmentation in Complex Scenes
2306.01567 (2023-06)
Segment Anything in High Quality
2408.00874 (2024-08)
Medical SAM 2: Segment medical images as video via Segment Anything Model 2
and 10 more not named here
init_t_xy 13 other papers
8 dated earlier, 5 later
2302.01872 (2023-02)
MOSE: A New Dataset for Video Object Segmentation in Complex Scenes
2306.01567 (2023-06)
Segment Anything in High Quality
2408.00874 (2024-08)
Medical SAM 2: Segment medical images as video via Segment Anything Model 2
and 10 more not named here
reshape_for_broadcast 13 other papers
8 dated earlier, 5 later
2302.01872 (2023-02)
MOSE: A New Dataset for Video Object Segmentation in Complex Scenes
2306.01567 (2023-06)
Segment Anything in High Quality
2408.00874 (2024-08)
Medical SAM 2: Segment medical images as video via Segment Anything Model 2
and 10 more not named here
build_sam2 10 other papers
4 dated earlier, 6 later
2302.01872 (2023-02)
MOSE: A New Dataset for Video Object Segmentation in Complex Scenes
2306.01567 (2023-06)
Segment Anything in High Quality
2408.07931 (2024-08)
Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
and 7 more not named here
build_sam2_hf 5 other papers
2 dated earlier, 3 later
2302.01872 (2023-02)
MOSE: A New Dataset for Video Object Segmentation in Complex Scenes
2410.16268 (2024-10)
SAM2Long: Enhancing SAM 2 for Long Video Segmentation with a Training-Free Memory Tree
2504.05541 (2025-04)
Caption Anything in Video: Fine-grained Object-centric Captioning via Spatiotemporal Multimodal Prompting
and 2 more not named here
build_sam2_video_predictor 5 other papers
3 dated earlier, 2 later
2306.01567 (2023-06)
Segment Anything in High Quality
2408.07931 (2024-08)
Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
2410.16268 (2024-10)
SAM2Long: Enhancing SAM 2 for Long Video Segmentation with a Training-Free Memory Tree
and 2 more not named here
dice_loss 5 other papers
3 dated earlier, 2 later
2302.01872 (2023-02)
MOSE: A New Dataset for Video Object Segmentation in Complex Scenes
2408.00714 (2024-08)
SAM 2: Segment Anything in Images and Videos
2408.07931 (2024-08)
Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
and 2 more not named here
iou_loss 5 other papers
3 dated earlier, 2 later
2302.01872 (2023-02)
MOSE: A New Dataset for Video Object Segmentation in Complex Scenes
2408.00714 (2024-08)
SAM 2: Segment Anything in Images and Videos
2408.07931 (2024-08)
Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
and 2 more not named here
sigmoid_focal_loss 5 other papers
3 dated earlier, 2 later
2302.01872 (2023-02)
MOSE: A New Dataset for Video Object Segmentation in Complex Scenes
2408.00714 (2024-08)
SAM 2: Segment Anything in Images and Videos
2408.07931 (2024-08)
Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
and 2 more not named here
make_full_size 1 other paper
1 dated earlier
2303.06674 (2023-03)
Universal Instance Perception as Object Discovery and Retrieval

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

Memory-based trackers are video object segmentation methods that form the target model by concatenating recently tracked frames into a memory buffer and localize the target by attending the current image to the buffered frames. While already achieving top performance on many benchmarks, it was the recent release of SAM2 that placed memory-based trackers into focus of the visual object tracking community. Nevertheless, modern trackers still struggle in the presence of distractors. We argue that a more sophisticated memory model is required, and propose a new distractor-aware memory model for SAM2 and an introspection-based update strategy that jointly addresses the segmentation accuracy as well as tracking robustness. The resulting tracker is denoted as SAM2.1++. We also propose a new distractor-distilled DiDi dataset to study the distractor problem better. SAM2.1++ outperforms SAM2.1 and related SAM memory extensions on seven benchmarks and sets a solid new state-of-the-art on six of them.

For agents

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

get_harvested_code_for_paper("2411.17576")
get_code_for_paper("2411.17576")
have("2411.17576")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2411.17576.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2411.17576.svg)](https://syntology.ai/paper/2411.17576)

Connect an agent — have() is free.