SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.04270 · CVPR · 2025

Object-Shot Enhanced Grounding Network for Egocentric Video

Meng Liu, Liqiang Nie, Haoyu Zhang, Weili Guan, Yisen Feng

arXiv · PDF · Open in the Atlas

Code that ran

7 of 17 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, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 10 no recorded run), measured 2026-11-24; 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/2505.04270.json · badge: /api/ran/2505.04270.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
Yisen-Feng/OSGNet canonical (classifier label)
classifier basis not recorded on the link
7 ran · 10 no recorded run
FunctionStatusWhere it lives
compute_temporal_iou Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Yisen-Feng/OSGNet/ensemble.py
code served (permissive licence) · get_code("ea2ba2c075c6b18b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Based on the function signature and body:
# pred: [st (float), ed (float)] - a list/array with 2 floats representing start and end times
# gt: [st (float), ed (float)] - a list/array with 2 floats representing ground truth start and end times

# The function accesses pred[0], pred[1], gt[0], gt[1] and performs comparisons/arithmetic
# It expects numeric types that support min(), max(), and subtraction

ARGS = {
    "pred": [1.5, 4.2],
    "gt": [2.0, 5.0]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Yisen-Feng/OSGNet/libs/modeling/blocks.py
pointer only (licence: MIT); the stored copy get_code serves, from f3set/f3set, is pointer only (licence: NONE) · get_code("a34c005ba2203f35")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from f3set/f3set, and GitHub detected no licence in that repository 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_sinusoid_encoding Ran
ran, honoured the contract we drafted
Yisen-Feng/OSGNet/libs/modeling/blocks.py
pointer only (licence: MIT); the stored copy get_code serves, from f3set/f3set, is pointer only (licence: NONE) · get_code("3531df7b0c9b0791")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from f3set/f3set, and GitHub detected no licence in that repository 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.

register_backbone Ran
ran; our contract draft was wrong, not the code
Yisen-Feng/OSGNet/libs/modeling/models.py
pointer only (licence: MIT); the stored copy get_code serves, from ring-zl/Speech-Forensics, is pointer only (licence: NONE) · get_code("cee845f405ecf37e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ring-zl/Speech-Forensics, and GitHub detected no licence in that repository 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.

register_generator Ran
ran; our contract draft was wrong, not the code
Yisen-Feng/OSGNet/libs/modeling/models.py
pointer only (licence: MIT); the stored copy get_code serves, from zzhhfut/ccnet-aaai2025, is pointer only (licence: NONE) · get_code("3db1c5ab5f3f0198")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zzhhfut/ccnet-aaai2025, and GitHub detected no licence in that repository 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.

register_neck Ran
ran; our contract draft was wrong, not the code
Yisen-Feng/OSGNet/libs/modeling/models.py
pointer only (licence: MIT); the stored copy get_code serves, from ring-zl/Speech-Forensics, is pointer only (licence: NONE) · get_code("e5ef13b176081594")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ring-zl/Speech-Forensics, and GitHub detected no licence in that repository 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.

temporal_nms Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Yisen-Feng/OSGNet/ensemble.py
code served (permissive licence) · get_code("3eb80dc0984b649c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Set seed for reproducibility
torch.manual_seed(0)

# Build arguments for temporal_nms function
# predictions: list of sublists, each [st (float), ed (float), score (float)]
predictions = [
    [1.0, 5.0, 0.9],
    [2.0, 6.0, 0.8],
    [10.0, 15.0, 0.7],
    [11.0, 14.0, 0.6],
    [20.0, 25.0, 0.95],
]

# nms_thd: float in [0, 1]
nms_thd = 0.5

# max_after_nms: maximum number of predictions after NMS
max_after_nms = 100

ARGS = {
    "predictions": predictions,
    "nms_thd": nms_thd,
    "max_after_nms": max_after_nms,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ctr_diou_loss_1d Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/libs/modeling/losses.py
code served (permissive licence) · get_code("89f1e77c4bd67262")
How it ran

no invocation recorded.

ctr_giou_loss_1d Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/libs/modeling/losses.py
code served (permissive licence) · get_code("60dec8ca40e3f03e")
How it ran

no invocation recorded.

iou Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/basic_utils.py
code served (permissive licence) · get_code("da8d3429729c5832")
How it ran

no invocation recorded.

load_config Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/libs/core/config.py
code served (permissive licence) · get_code("8ee4d7644d2d1423")
How it ran

no invocation recorded.

min_max Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/basic_utils.py
code served (permissive licence) · get_code("86e28fb79c074fa8")
How it ran

no invocation recorded.

minmax_normalize Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/libs/modeling/my_archs.py
code served (permissive licence) · get_code("1848461b3ee1415e")
How it ran

no invocation recorded.

post_processing_mr_nms Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/ensemble.py
code served (permissive licence) · get_code("a45cc1bfbdab6de8")
How it ran

no invocation recorded.

reverse_tensor_based_on_mask Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/libs/modeling/mamba_blocks.py
code served (permissive licence) · get_code("c30b2d92d92e5923")
How it ran

no invocation recorded.

sigmoid_focal_loss Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/libs/modeling/losses.py
code served (permissive licence) · get_code("cb7608e384b5c1d7")
How it ran

no invocation recorded.

sigmoid_inverse Not yet run
unverified (harvested, no recorded run)
Yisen-Feng/OSGNet/libs/modeling/my_archs.py
code served (permissive licence) · get_code("e539e65d347e2386")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 0 later) and 8 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
drop_path 11 other papers
11 dated earlier
2104.14222 (2021-04)
Privacy-Preserving Portrait Matting
2303.07347 (2023-03)
TriDet: Temporal Action Detection with Relative Boundary Modeling
2303.12930 (2023-03)
Dense-Localizing Audio-Visual Events in Untrimmed Videos: A Large-Scale Benchmark and Baseline
and 8 more not named here
get_sinusoid_encoding 11 other papers
11 dated earlier
2104.14222 (2021-04)
Privacy-Preserving Portrait Matting
2303.07347 (2023-03)
TriDet: Temporal Action Detection with Relative Boundary Modeling
2303.12930 (2023-03)
Dense-Localizing Audio-Visual Events in Untrimmed Videos: A Large-Scale Benchmark and Baseline
and 8 more not named here
load_config 8 other papers
8 dated earlier
2303.07347 (2023-03)
TriDet: Temporal Action Detection with Relative Boundary Modeling
2303.12930 (2023-03)
Dense-Localizing Audio-Visual Events in Untrimmed Videos: A Large-Scale Benchmark and Baseline
2404.02257 (2024-04)
SnAG: Scalable and Accurate Video Grounding
and 5 more not named here
register_generator 8 other papers
8 dated earlier
2303.07347 (2023-03)
TriDet: Temporal Action Detection with Relative Boundary Modeling
2303.12930 (2023-03)
Dense-Localizing Audio-Visual Events in Untrimmed Videos: A Large-Scale Benchmark and Baseline
2404.02257 (2024-04)
SnAG: Scalable and Accurate Video Grounding
and 5 more not named here
compute_temporal_iou 5 other papers
5 dated earlier
1904.11574 (2019-04)
TVQA+: Spatio-Temporal Grounding for Video Question Answering
2001.09099 (2020-01)
TVR: A Large-Scale Dataset for Video-Subtitle Moment Retrieval
2105.06247 (2021-05)
Video Corpus Moment Retrieval with Contrastive Learning
and 2 more not named here
ctr_giou_loss_1d 5 other papers
5 dated earlier
2303.07347 (2023-03)
TriDet: Temporal Action Detection with Relative Boundary Modeling
2404.02257 (2024-04)
SnAG: Scalable and Accurate Video Grounding
2407.03197 (2024-07)
DyFADet: Dynamic Feature Aggregation for Temporal Action Detection
and 2 more not named here
register_backbone 5 other papers
5 dated earlier
2303.07347 (2023-03)
TriDet: Temporal Action Detection with Relative Boundary Modeling
2404.02257 (2024-04)
SnAG: Scalable and Accurate Video Grounding
2407.03197 (2024-07)
DyFADet: Dynamic Feature Aggregation for Temporal Action Detection
and 2 more not named here
register_neck 5 other papers
5 dated earlier
2303.07347 (2023-03)
TriDet: Temporal Action Detection with Relative Boundary Modeling
2404.02257 (2024-04)
SnAG: Scalable and Accurate Video Grounding
2407.03197 (2024-07)
DyFADet: Dynamic Feature Aggregation for Temporal Action Detection
and 2 more not named here
temporal_nms 2 other papers
2 dated earlier
2306.15255 (2023-06)
GroundNLQ @ Ego4D Natural Language Queries Challenge 2023
2406.15778 (2024-06)
ObjectNLQ @ Ego4D Episodic Memory Challenge 2024

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-24.

Repositories linked to this paper

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

Abstract

Egocentric video grounding is a crucial task for embodied intelligence applications, distinct from exocentric video moment localization. Existing methods primarily focus on the distributional differences between egocentric and exocentric videos but often neglect key characteristics of egocentric videos and the fine-grained information emphasized by question-type queries. To address these limitations, we propose OSGNet, an Object-Shot enhanced Grounding Network for egocentric video. Specifically, we extract object information from videos to enrich video representation, particularly for objects highlighted in the textual query but not directly captured in the video features. Additionally, we analyze the frequent shot movements inherent to egocentric videos, leveraging these features to extract the wearer's attention information, which enhances the model's ability to perform modality alignment. Experiments conducted on three datasets demonstrate that OS-GNet achieves state-of-the-art performance, validating the effectiveness of our approach. Our code can be found at https://github.com/Yisen-Feng/OSGNet.

For agents

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

get_harvested_code_for_paper("2505.04270")
get_code_for_paper("2505.04270")
have("2505.04270")

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

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

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

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

Connect an agent — have() is free.