Papers › Unifying Event Detection and Captioning as Sequence Generation via Pre-Training

Unifying Event Detection and Captioning as Sequence Generation via Pre-Training

18 Jul 2022arXiv:2207.08625archive 2025-07-28

Qi Zhang, Yuqing Song, Qin Jin

Dense video captioning aims to generate corresponding text descriptions for a series of events in the untrimmed video, which can be divided into two sub-tasks, event detection and event captioning. Unlike previous works that tackle the two sub-tasks separately, recent works have focused on enhancing the inter-task association between the two sub-tasks. However, designing inter-task interactions for event detection and captioning is not trivial due to the large differences in their task specific solutions. Besides, previous event detection methods normally ignore temporal dependencies between events, leading to event redundancy or inconsistency problems. To tackle above the two defects, in this paper, we define event detection as a sequence generation task and propose a unified pre-training and fine-tuning framework to naturally enhance the inter-task association between event detection and captioning. Since the model predicts each event with previous events as context, the inter-dependency between events is fully exploited and thus our model can detect more diverse and consistent events in the video. Experiments on the ActivityNet dataset show that our model outperforms the state-of-the-art methods, and can be further boosted when pre-trained on extra large-scale video-text data. Code is available at \url{https://github.com/QiQAng/UEDVC}.

PaperPDFCodeCode 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="2207.08625")

Code

Syntology Ran 7 of 13 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 5 ran with no contract checked.

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

qiqang/uedvc officialmentioned in paperpytorch 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; 0 honoured the contract we drafted; 6 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.

2ran · our draft was wrong
5ran
6unverified

Licence: 13 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 QiQAng/UEDVC. “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.

Embedder QiQAng/UEDVC/modules/transformer.py official repository ran no licence file found · pointer only · b3dcd70203b0bd3e · report
FeedForward QiQAng/UEDVC/modules/transformer.py official repository ran no licence file found · pointer only · 64ff27ba3fec6464 · report
MultiHeadAttention QiQAng/UEDVC/modules/transformer.py official repository ran no licence file found · pointer only · e2fd5904ba4c6794 · report
PositionalEncoder QiQAng/UEDVC/modules/transformer.py official repository ran no licence file found · pointer only · 37d512fc00346438 · report
RegionFeatureRegression QiQAng/UEDVC/modules/transformer.py official repository ran no licence file found · pointer only · d0bf032356afceda · report
attention QiQAng/UEDVC/modules/transformer.py official repository ran · our draft was wrong no licence file found · pointer only · 354006a4908f58bd · report
gelu QiQAng/UEDVC/modules/transformer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 8c106eab341fc5d3 · report
CrossEncoder QiQAng/UEDVC/modules/transformer.py official repository unverified no licence file found · pointer only · 7005f3fee84ccb6c · report
Encoder QiQAng/UEDVC/modules/transformer.py official repository unverified no licence file found · pointer only · 39d02e6420121420 · report
EncoderLayer QiQAng/UEDVC/modules/transformer.py official repository unverified no licence file found · pointer only · 398df3796e4acf81 · report
EntEncoder QiQAng/UEDVC/modules/transformer.py official repository unverified no licence file found · pointer only · 9ae51dc146c8a544 · report
Transformer QiQAng/UEDVC/modules/transformer.py official repository unverified no licence file found · pointer only · c0f22ddc77e0c3f4 · report
VISEncoder QiQAng/UEDVC/modules/transformer.py official repository unverified no licence file found · pointer only · c810df21e2565eea · report

Tasks

Dense Video CaptioningEvent DetectionVideo Captioning

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