SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.11417 · NeurIPS · 2025

Robust Ego-Exo Correspondence with Long-Term Memory

Dongfang Liu, Libo Zhang, Yijun Hu, Bing Fan, Xin Gu, Haiqing Ren, Heng Fan

arXiv · PDF · Open in the Atlas

Code that ran

13 of 16 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 11 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2510.11417.json · badge: /api/ran/2510.11417.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
juneyeeHu/LM-EEC canonical (classifier label)
classifier basis: census
13 ran · 3 no recorded run
FunctionStatusWhere it lives
compute_axial_cis Ran
ran, violated the contract we drafted
juneyeeHu/LM-EEC/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, juneyeeHu/LM-EEC 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
juneyeeHu/LM-EEC/training/loss_fns.py
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, juneyeeHu/LM-EEC 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_1d_sine_pe Ran
ran; our contract draft was wrong, not the code
juneyeeHu/LM-EEC/sam2/modeling/sam2_utils.py
pointer only (licence: NONE) · get_code("a6c3974188a5ffb0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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_activation_fn Ran
ran; our contract draft was wrong, not the code
juneyeeHu/LM-EEC/sam2/modeling/sam2_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from CGCL-codes/UAP-SAM2, is pointer only (licence: NONE) · get_code("f2e72d81f39d65cd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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_folders Ran
ran; our contract draft was wrong, not the code
juneyeeHu/LM-EEC/evaluation/merge_pred.py
pointer only (licence: NONE) · get_code("36d321604b37dd80")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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
juneyeeHu/LM-EEC/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, juneyeeHu/LM-EEC 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
juneyeeHu/LM-EEC/training/loss_fns.py
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, juneyeeHu/LM-EEC 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.

kmeans_cluster_frame Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
juneyeeHu/LM-EEC/sam2/modeling/sam2_base.py
pointer only (licence: NONE) · get_code("74b02d33b0122c24")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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.

memory_bank_compress Ran
ran; our contract draft was wrong, not the code
juneyeeHu/LM-EEC/sam2/modeling/sam2_base.py
pointer only (licence: NONE) · get_code("4cd943feb67480e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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.

process_take Ran
ran; our contract draft was wrong, not the code
juneyeeHu/LM-EEC/evaluation/merge_pred.py
pointer only (licence: NONE) · get_code("523182971553fa2c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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)
juneyeeHu/LM-EEC/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, juneyeeHu/LM-EEC 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.

select_closest_cond_frames Ran
ran; our contract draft was wrong, not the code
juneyeeHu/LM-EEC/sam2/modeling/sam2_utils.py
pointer only (licence: NONE) · get_code("4ee20f090e58c425")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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
juneyeeHu/LM-EEC/training/loss_fns.py
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, juneyeeHu/LM-EEC 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)
juneyeeHu/LM-EEC/sam2/build_sam.py
pointer only (licence: NONE) · get_code("1f9402f6f57d17a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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)
juneyeeHu/LM-EEC/sam2/build_sam.py
pointer only (licence: NONE) · get_code("0bf83f3242d73acc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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_ego Not yet run
unverified (harvested, no recorded run)
juneyeeHu/LM-EEC/sam2/build_sam.py
pointer only (licence: NONE) · get_code("da8bc97ac60e4aa7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juneyeeHu/LM-EEC 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 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 7 the same month, 1 later) and 5 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
12 dated earlier, 1 the same month
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
12 dated earlier, 1 the same month
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
12 dated earlier, 1 the same month
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
8 dated earlier, 1 the same month, 1 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
get_activation_fn 10 other papers
9 dated earlier, 1 the same month
2404.07445 (2024-04)
Multi-view Aggregation Network for Dichotomous Image Segmentation
2407.10749 (2024-07)
SEED: A Simple and Effective 3D DETR in Point Clouds
2408.00874 (2024-08)
Medical SAM 2: Segment medical images as video via Segment Anything Model 2
and 7 more not named here
get_1d_sine_pe 9 other papers
8 dated earlier, 1 the same month · 1 only as an assembly brick
2408.00714 (2024-08)
SAM 2: Segment Anything in Images and Videos
2408.00874 (2024-08)
Medical SAM 2: Segment medical images as video via Segment Anything Model 2
2408.07931 (2024-08)
Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
and 6 more not named here
select_closest_cond_frames 9 other papers
8 dated earlier, 1 the same month · 1 only as an assembly brick
2408.00714 (2024-08)
SAM 2: Segment Anything in Images and Videos
2408.00874 (2024-08)
Medical SAM 2: Segment medical images as video via Segment Anything Model 2
2408.07931 (2024-08)
Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
and 6 more not named here
build_sam2_video_predictor 5 other papers
5 dated earlier
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
5 dated earlier
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
5 dated earlier
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
5 dated earlier
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

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

Establishing object-level correspondence between egocentric and exocentric views is essential for intelligent assistants to deliver precise and intuitive visual guidance. However, this task faces numerous challenges, including extreme viewpoint variations, occlusions, and the presence of small objects. Existing approaches usually borrow solutions from video object segmentation models, but still suffer from the aforementioned challenges. Recently, the Segment Anything Model 2 (SAM 2) has shown strong generalization capabilities and excellent performance in video object segmentation. Yet, when simply applied to the ego-exo correspondence (EEC) task, SAM 2 encounters severe difficulties due to ineffective ego-exo feature fusion and limited long-term memory capacity, especially for long videos. Addressing these problems, we propose a novel EEC framework based on SAM 2 with long-term memories by presenting a dual-memory architecture and an adaptive feature routing module inspired by Mixture-of-Experts (MoE). Compared to SAM 2, our approach features (i) a Memory-View MoE module which consists of a dual-branch routing mechanism to adaptively assign contribution weights to each expert feature along both channel and spatial dimensions, and (ii) a dual-memory bank system with a simple yet effective compression strategy to retain critical long-term information while eliminating redundancy. In the extensive experiments on the challenging EgoExo4D benchmark, our method, dubbed LM-EEC, achieves new state-of-theart results and significantly outperforms existing methods and the SAM 2 baseline, showcasing its strong generalization across diverse scenarios. Our code and model are available at https://github.com/juneyeeHu/LM-EEC.

For agents

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

get_harvested_code_for_paper("2510.11417")
get_code_for_paper("2510.11417")
have("2510.11417")

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

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

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

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

Connect an agent — have() is free.