Papers › HAT: History-Augmented Anchor Transformer for Online Temporal Action Localization

HAT: History-Augmented Anchor Transformer for Online Temporal Action Localization

12 Aug 2024arXiv:2408.06437archive 2025-07-28

Sakib Reza, Yuexi Zhang, Mohsen Moghaddam, Octavia Camps

Online video understanding often relies on individual frames, leading to frame-by-frame predictions. Recent advancements such as Online Temporal Action Localization (OnTAL), extend this approach to instance-level predictions. However, existing methods mainly focus on short-term context, neglecting historical information. To address this, we introduce the History-Augmented Anchor Transformer (HAT) Framework for OnTAL. By integrating historical context, our framework enhances the synergy between long-term and short-term information, improving the quality of anchor features crucial for classification and localization. We evaluate our model on both procedural egocentric (PREGO) datasets (EGTEA and EPIC) and standard non-PREGO OnTAL datasets (THUMOS and MUSES). Results show that our model outperforms state-of-the-art approaches significantly on PREGO datasets and achieves comparable or slightly superior performance on non-PREGO datasets, underscoring the importance of leveraging long-term history, especially in procedural and egocentric action scenarios. Code is available at: https://github.com/sakibreza/ECCV24-HAT/

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 14 code samples harvested from 1 repository linked to this paper: 13 ran (of which 3 constructed an object rather than computing a result; 11 with no instrument failure: 2 honoured, 0 violated, 9 with no contract checked; 2 where Syntology's instrument failed) · 1 unverified. Where Syntology's instrument failed: 1 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 14 samples from 1 repository, 13 ran (11 with no instrument failure; 2 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

sakibreza/eccv24-hat officialmentioned in papermentioned on GitHubpytorchMITSyntology: 14 samples, 13 ran (2 instrument-failed) · 1 unverified 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

14 samples harvested: 13 ran (of which 3 constructed an object rather than computing a result; 11 with no instrument failure: 2 honoured, 0 violated, 9 with no contract checked; 2 where Syntology's instrument failed) · 1 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
1ran; the contract check could not run
9ran
1unverified

Licence: 2 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. For 2 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from sakibreza/eccv24-hat. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 3 samples that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

sakibreza/eccv24-hat official repository 14 samples, 13 ran (2 instrument-failed) · 1 unverified
HistoryUnit models.py ran MIT (permissive) · f03f1bd0ad7a25d8 · report fixture: returned HistoryUnit · level recorded 2026-09-22
MYNET models.py ran MIT (permissive) · 70e832b4db258152 · report fixture: returned MYNET · level recorded 2026-09-22
PositionalEncoding in 126 papers
census: 13 implementations from 9 papers, 9 distinct outputs across 5 buckets, one shared input per bucket
models.py ran fingerprinted MIT (permissive) · 14516b65574f5ecf · report fixture: returned PositionalEncoding · level recorded 2026-09-22
box_include dataset.py ran fingerprinted MIT (permissive) · 3c7815878a239220 · report fixture: signature y:list/1/float, target:list/1/float · returned bool · level recorded 2026-09-24
calc_iou in 17 papers dataset.py ran fingerprinted MIT (permissive) · 76cad4b96bed8a89 · report fixture: signature a:list/1/int, b:list/1/int · returned float · level recorded 2026-09-24
cls_loss_func loss_func.py ran MIT (permissive) · fa2555ecb9baeda4 · report fixture: signature y:Tensor/2/float, output:Tensor/2/float, use_focal:bool/0/bool, weight:NoneType/0/?, reduce:bool/0/bool · returned Tensor · level recorded 2026-09-24
cls_loss_func_ loss_func.py ran MIT (permissive) · 4010b82fd0123b85 · report fixture: signature loss_func:callable/0/?, y:Tensor/2/float, output:Tensor/2/float, use_focal:bool/0/bool, weight:Tensor/1/float, reduce:bool/0/bool · returned Tensor · level recorded 2026-09-24
get_blocked_videos in 7 papers Evaluation/utils.py ran · honoured contract MIT (permissive) · b976a341da79fc62 · report fixture: signature api:str/0/str · returned list · level recorded 2026-09-24
interpolated_prec_rec in 14 papers Evaluation/utils.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted MIT (permissive) here; the stored copy is pointer only · 81aab88321de62c2 · report fixture: signature prec:ndarray/1/float, rec:ndarray/1/float · returned float64 · level recorded 2026-09-22
load_json in 344 papers dataset.py ran · our draft was wrong MIT (permissive) · 6feb659b1cc2c1e8 · report fixture: signature file:str/0/str · returned dict · level recorded 2026-09-24
non_max_suppression in 12 papers iou_utils.py ran MIT (permissive) · 44f4e934798b5b3f · report fixture: signature proposals:list/1/dict, overlapThresh:float/0/float · returned list · level recorded 2026-09-24
regress_loss_func loss_func.py ran fingerprinted MIT (permissive) · a7c0d044f47c77b5 · report fixture: signature y:Tensor/2/float, output:Tensor/2/float · returned Tensor · level recorded 2026-09-24
segment_iou in 15 papers Evaluation/utils.py ran · honoured contract fingerprinted MIT (permissive) here; the stored copy is pointer only · d0744a2fe3151508 · report fixture: signature target_segment:ndarray/1/float, candidate_segments:ndarray/2/float · returned ndarray · level recorded 2026-09-22
check_overlap_proposal iou_utils.py unverified MIT (permissive) · 98763476d52320c5 · report

Tasks

Action LocalizationTemporal Action LocalizationVideo Understanding

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutFocusLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

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