Papers › Temporal Alignment Networks for Long-term Video

Temporal Alignment Networks for Long-term Video

6 Apr 2022CVPR 2022 1arXiv:2204.02968archive 2025-07-28

Tengda Han, Weidi Xie, Andrew Zisserman

The objective of this paper is a temporal alignment network that ingests long term video sequences, and associated text sentences, in order to: (1) determine if a sentence is alignable with the video; and (2) if it is alignable, then determine its alignment. The challenge is to train such networks from large-scale datasets, such as HowTo100M, where the associated text sentences have significant noise, and are only weakly aligned when relevant. Apart from proposing the alignment network, we also make four contributions: (i) we describe a novel co-training method that enables to denoise and train on raw instructional videos without using manual annotation, despite the considerable noise; (ii) to benchmark the alignment performance, we manually curate a 10-hour subset of HowTo100M, totalling 80 videos, with sparse temporal descriptions. Our proposed model, trained on HowTo100M, outperforms strong baselines (CLIP, MIL-NCE) on this alignment dataset by a significant margin; (iii) we apply the trained model in the zero-shot settings to multiple downstream video understanding tasks and achieve state-of-the-art results, including text-video retrieval on YouCook2, and weakly supervised video action segmentation on Breakfast-Action; (iv) we use the automatically aligned HowTo100M annotations for end-to-end finetuning of the backbone model, and obtain improved performance on downstream action recognition tasks.

PaperPDFConference PDFCodeCode Syntology ranMethod as code

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 13 code samples harvested from 1 repository linked to this paper: 7 ran (of which 6 constructed an object rather than computing a result; 7 with no instrument failure: 1 honoured, 0 violated, 6 with no contract checked; 0 where Syntology's instrument failed) · 6 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: community (archive-listed): 13 samples from 1 repository, 7 ran (7 with no instrument failure; 0 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 on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

tengdahan/temporalalignnet mentioned on GitHubpytorchSyntology: 13 samples, 7 ran (0 instrument-failed) · 6 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

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

1ran · honoured contract
6ran
6unverified

Licence: 0 of the 13 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 tengdahan/temporalalignnet. “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.

tengdahan/temporalalignnet community (archive-listed) 13 samples, 7 ran (0 instrument-failed) · 6 unverified
InceptionBlock model/tan_model.py ran · metamorphic tier: deterministic MIT (permissive) · 0df2b78f603a930b · report fixture: returned InceptionBlock · level recorded 2026-09-22
MaxPool3dTFPadding model/tan_model.py ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 8506495852b4f8b4 · report fixture: returned MaxPool3dTFPadding · level recorded 2026-09-22
ResidualAttentionBlock_Step model/tan_model.py ran · metamorphic tier: deterministic MIT (permissive) · a2c95b29cc4457e1 · report fixture: returned ResidualAttentionBlock_Step · level recorded 2026-09-22
STConv3D model/tan_model.py ran · metamorphic tier: deterministic MIT (permissive) · 305b2476d6ded39a · report fixture: returned STConv3D · level recorded 2026-09-22
SelfGating model/tan_model.py ran · metamorphic tier: deterministic MIT (permissive) · 570b0eeb1de9556e · report fixture: returned SelfGating · level recorded 2026-09-22
TemporalEncoder in 6 papers model/tan_model.py ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · ef0ab5fa8216c1c7 · report fixture: returned TemporalEncoder · level recorded 2026-09-22
get_position_embedding_sine model/tan_model.py ran · honoured contract fingerprinted MIT (permissive) · 86899fbb16005e41 · report fixture: signature feature_dim:int/0/int, num_features:int/0/int, temperature:int/0/int · returned Tensor · level recorded 2026-09-22
S3D model/tan_model.py unverified MIT (permissive) · 56dbdac6a6137e13 · report
Sentence_Embedding model/tan_model.py unverified MIT (permissive) · 0933997ffa263669 · report
TemporalAligner model/tan_model.py unverified MIT (permissive) · 87987b3797775fe6 · report
Word2VecModel model/tan_model.py unverified MIT (permissive) · 9afb254f1519d81b · report
get_word2vec_text_module model/tan_model.py unverified MIT (permissive) · 8ada3a5d70324060 · report
load_milnce model/tan_model.py unverified MIT (permissive) · 24e2a428251d5383 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for Temporal Alignment Network (graph method: Temporal Alignment Network). 14 bricks; individually on a fixture: 8 ran (of which 6 constructed an object rather than computing a result; 8 with no instrument failure: 1 honoured, 0 violated, 7 with no contract checked; 0 where Syntology's instrument failed) · 6 unverified. The assembly has not been run end-to-end.

  1. TemporalAligner entry · level 0 · unverified · 87987b3797775fe6
  2. TemporalEncoder model · level 1 · ran · ef0ab5fa8216c1c7
  3. Word2VecModel helper · level 0 · unverified · 9afb254f1519d81b
  4. get_position_embedding_sine helper · level 1 · ran · honoured contract · 86899fbb16005e41
  5. ResidualAttentionBlock_Step model · level 1 · ran · a2c95b29cc4457e1
  6. get_word2vec_text_module helper · level 0 · unverified · 8ada3a5d70324060
  7. QuickGELU helper · level 1 · ran · 8c5c4de012c0aab9
  8. load_milnce helper · level 0 · unverified · 24e2a428251d5383
  9. S3D helper · level 0 · unverified · 56dbdac6a6137e13
  10. InceptionBlock helper · level 1 · ran · 0df2b78f603a930b
  11. MaxPool3dTFPadding helper · level 1 · ran · 8506495852b4f8b4
  12. STConv3D helper · level 1 · ran · 305b2476d6ded39a
  13. SelfGating helper · level 1 · ran · 570b0eeb1de9556e
  14. Sentence_Embedding helper · level 0 · unverified · 0933997ffa263669

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2204.02968") returns these assemblies with each brick's role and wiring (how to connect).

Tasks

Action RecognitionAction SegmentationRetrievalSentenceVideo RetrievalVideo Understanding

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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