Papers › A Distractor-Aware Memory for Visual Object Tracking with SAM2

A Distractor-Aware Memory for Visual Object Tracking with SAM2

26 Nov 2024CVPR 2025 1arXiv:2411.17576archive 2025-07-28

Jovana Videnovic, Alan Lukezic, Matej Kristan

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.17576")

Code

Syntology Ran 3 of 11 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 1 ran · fixture could not drive it.

By repository: official repository: 11 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jovanavidenovic/dam4sam officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 3 ran; 1 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
1ran · fixture could not drive it
8unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jovanavidenovic/dam4sam. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_axial_cis jovanavidenovic/dam4sam/sam2/modeling/position_encoding.py official repository ran · violated contract no licence file found · pointer only · 7ceaad42da42edd5 · report
init_t_xy jovanavidenovic/dam4sam/sam2/modeling/position_encoding.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · bb060d29525f90eb · report
reshape_for_broadcast jovanavidenovic/dam4sam/sam2/modeling/position_encoding.py official repository ran · fixture could not drive it no licence file found · pointer only · f8f09f78b474ee7c · report
build_sam2 jovanavidenovic/dam4sam/sam2/build_sam.py official repository unverified no licence file found · pointer only · f9850c1d4acdbb5a · report
build_sam2_hf jovanavidenovic/dam4sam/sam2/build_sam.py official repository unverified no licence file found · pointer only · de8c2a625f263855 · report
build_sam2_video_predictor jovanavidenovic/dam4sam/sam2/build_sam.py official repository unverified no licence file found · pointer only · c1b9e144954a57e5 · report
dice_loss jovanavidenovic/dam4sam/training/loss_fns.py official repository unverified no licence file found · pointer only · e473e66fedc883c7 · report
get_vot_mask jovanavidenovic/dam4sam/vot_wrapper_dam4sam.py official repository unverified no licence file found · pointer only · 43190a568a27a02f · report
iou_loss jovanavidenovic/dam4sam/training/loss_fns.py official repository unverified no licence file found · pointer only · b8f501ca29e77f1a · report
make_full_size jovanavidenovic/dam4sam/vot_wrapper_dam4sam.py official repository unverified no licence file found · pointer only · 8edb076e926c9e81 · report
sigmoid_focal_loss jovanavidenovic/dam4sam/training/loss_fns.py official repository unverified no licence file found · pointer only · 42fec6fdc1faf6f1 · report

Tasks

Object TrackingSemi-Supervised Video Object SegmentationVisual Object TrackingVisual Tracking

Datasets

Introduced by this paper, per the archive.

DiDi

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Semi-Supervised Video Object Segmentation VOT2020 DAM4SAM EAO 0.729 #1 of 20 Archive leaderboard report
Visual Object Tracking DiDi DAM4SAM Tracking quality 0.694 #1 of 11 Archive leaderboard report
Visual Object Tracking GOT-10k DAM4SAM Average Overlap 81.1 #2 of 42 Archive leaderboard report
Visual Object Tracking LaSOT DAM4SAM AUC 75.1 #7 of 46 Archive leaderboard report
Visual Object Tracking LaSOT-ext DAM4SAM AUC 60.9 #2 of 18 Archive leaderboard report
Visual Object Tracking VOT2022 DAM4SAM EAO 0.753 #1 of 5 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

FocusSAM

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections