Adaptive Proposal Generation Network for Temporal Sentence Localization in Videos

Daizong Liu, Xiaoye Qu, Jianfeng Dong, Pan Zhou

Abstract

Temporal Sentence Localization in Videos (TSLV) is a challenging task that requires identifying the precise start and end boundaries of a video segment described by a natural language query. Existing methods typically follow either a computationally expensive top-down approach with dense pre-defined proposals or a faster but less accurate bottom-up approach based on frame-wise predictions. We present the Adaptive Proposal Generation Network (APGN), which bridges this gap by adaptively generating a sparse set of high-quality proposals and refining them using a Graph Convolutional Network (GCN). APGN achieves state-of-the-art performance on three major benchmarks (ActivityNet Captions, TACoS, and Charades-STA) while operating significantly faster than previous top-down models.

Introduction

The goal of Temporal Sentence Localization in Videos (TSLV) is to retrieve a specific segment from an untrimmed video that corresponds to a given natural language description. This task requires a deep understanding of both visual content and linguistic semantics, as well as the ability to model temporal relationships.

Historically, research has diverged into two main frameworks. Top-down frameworks utilize a "sliding window" strategy, generating thousands of candidate segments (proposals) and ranking them against the query. While these methods benefit from segment-level context, they suffer from high redundancy and computational cost. Conversely, bottom-up frameworks predict the probability of each frame being a boundary. These are highly efficient but often lack the global context necessary for accurate localization, as they treat frames in isolation.

Comparison of TSLV frameworks: (a) task example, (b) top-down approach with dense proposals, and (c) bottom-up approach with frame-wise probabilities.

The Adaptive Proposal Generation Network (APGN) addresses the "missing middle" by combining the strengths of both approaches. It adaptively generates a small, relevant set of proposals and employs a graph-based reasoning module to capture inter-proposal relationships.

Methodology

The APGN architecture is composed of four primary stages designed to move from raw features to precise temporal boundaries.

The APGN architecture: (a) Query-guided video feature generation, (b) Adaptive proposal generation, (c) Proposal consolidation via GCN, and (d) Final localization.

1. Feature Encoding and Interaction

The model first extracts visual features using standard encoders (e.g., C3D or I3D) and processes the query text using a Bi-GRU. A co-attention mechanism is then applied to fuse these modalities into a joint video-query representation, ensuring that the visual features are conditioned on the linguistic context.

2. Adaptive Proposal Generation

Unlike traditional top-down methods that use fixed windows, APGN generates proposals dynamically. It first performs a foreground-background classification to identify frames likely to belong to the target segment. For each identified "foreground" frame, the model regresses the distance to the start and end boundaries. This results in a sparse set of high-quality proposals, significantly reducing the search space and computational overhead.

3. Proposal Consolidation

To handle overlaps and refine boundaries, the generated proposals are treated as nodes in a Graph Convolutional Network (GCN). This allows the model to reason about the relationships between different candidates. To distinguish between similar actions occurring at different times (e.g., "the first hop" vs. "the second hop"), sine and cosine positional embeddings are integrated into the proposal features.

4. Localization Head

The final stage involves a localization head that predicts a confidence score and a boundary offset for each refined proposal. This ensures that the final output is both accurate in its timing and reliable in its ranking.

Experiments and Results

APGN was evaluated on three benchmark datasets: ActivityNet Captions, TACoS, and Charades-STA.

Performance and Efficiency

APGN established new state-of-the-art results across all metrics. On the ActivityNet Captions dataset, it achieved a 48.92% R@1 (IoU=0.5), outperforming the previous leading top-down method, 2DTAN (44.51%).

Crucially, APGN offers a massive improvement in efficiency. It processes 146.67 videos per second (VPS), making it nearly 84 times faster than 2DTAN (1.75 VPS). Furthermore, the model is more parameter-efficient, utilizing only 91M parameters compared to 2DTAN's 363M.

Key Insights

  • Adaptive Filtering: By focusing only on foreground frames, APGN effectively ignores noise in long videos, leading to both better accuracy and higher speed.
  • Relational Reasoning: The GCN module allows the model to consolidate evidence from multiple overlapping proposals, leading to more robust boundary predictions.
  • Temporal Awareness: Positional encodings are critical for disambiguating repetitive actions, a common failure point in earlier TSLV models.

Discussion and Future Work

While APGN provides a robust framework, the authors noted that increasing the depth of the GCN beyond two layers leads to "over-smoothing," where node features become indistinguishable. Future work may explore more advanced graph architectures to allow for deeper reasoning. Additionally, the model currently relies on pre-extracted visual features, meaning its performance is partially bounded by the quality of these frozen encoders.

Conclusion

The Adaptive Proposal Generation Network (APGN) represents a significant advancement in video grounding. By replacing exhaustive proposal generation with an adaptive, graph-refined approach, it achieves a superior balance of accuracy and speed. Its ability to be integrated as a "plug-and-play" module into other architectures further demonstrates its versatility and potential for future research in temporal localization.

Summary updated

BibTeX
@inproceedings{liu2021adaptive,
  author = {Daizong Liu and Xiaoye Qu and Jianfeng Dong and Pan Zhou},
  title = {{Adaptive Proposal Generation Network for Temporal Sentence Localization in Videos}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.732},
}
Figure