HERO: Hierarchical Embedding-Refinement for Open-Vocabulary Temporal Sentence Grounding in Videos

Tingting Han, Xinsong Tao, Yufei Yin, Min Tan, Sicheng Zhao, Zhou Yu

TL;DR

Current video grounding models suffer from severe "vocabulary brittleness," failing to localize video segments if a query uses an unseen synonym like "human" instead of "person." To solve this, the authors introduce the Open-Vocabulary Temporal Sentence Grounding (OV-TSGV) task alongside two new benchmarks, and propose HERO, a hierarchical embedding-refinement framework that dramatically improves generalization to novel linguistic expressions.

What Problem Does This Paper Address?

Temporal Sentence Grounding in Videos (TSGV) is the task of localizing a specific segment within a video based on a natural language query. While deep learning models have gotten quite good at this, they suffer from a major flaw: they operate under a closed-vocabulary assumption. They essentially memorize training patterns and overfit to specific keywords.

If you change a simple word in a query to an unseen but semantically identical synonym (e.g., changing "person holding a box" to "human holding a box"), existing state-of-the-art models frequently experience localization failures.

Figure 1. (a) Grounding visualization under open-vocabulary set- tings. (b) (c) Performance comparison on standard benchmarks (Charades-STA and ActivityNet Captions) and the proposed open- vocabulary datasets (Charades-OV, ActivityNet-OV).

Furthermore, the authors reveal that existing "out-of-distribution" (OOD) datasets don't actually evaluate vocabulary shifts properly—over 85% of the sentences in their test sets consist entirely of words already seen during training. This paper formalizes the Open-Vocabulary TSGV (OV-TSGV) task, where models must successfully ground video segments using queries containing completely novel objects, actions, or paraphrases.

Methods

To tackle the challenges of open-vocabulary grounding, the authors propose HERO (Hierarchical Embedding-Refinement for Open-Vocabulary grounding), a unified parallel framework designed as a plug-and-play enhancement for existing TSGV architectures.

HERO consists of two primary components:

  1. Hierarchical Embedding Module (HEM): Instead of relying solely on final token-level text encodings, HEM extracts linguistic features across multiple layers of a Transformer encoder. This captures multi-granularity semantics ranging from low-level literal tokens to high-level conceptual abstractions, allowing the model to recognize semantic equivalence across varied phrasings.
  2. Cross-modal Filtering and Refinement Engine (CFRE): This engine processes the hierarchical features in parallel using two submodules:
  3. Semantic-Guided Visual Filter (SGVF): Uses cross-attention to dynamically filter out background noise and irrelevant video frames based on textual cues.
  4. Contrastive Masked Text Refiner (CMTR): Randomly masks a subset of tokens in the query and uses contrastive learning (minimizing KL divergence) to force the model to maintain consistent video-text alignment scores regardless of text perturbations or missing keywords.

Datasets

The paper evaluates models on standard datasets and introduces two new open-vocabulary benchmarks:

  • Standard Benchmarks: Charades-STA and ActivityNet Captions.
  • Distribution-Shift Benchmarks: Charades-CD and ActivityNet-CD.
  • New Open-Vocabulary Benchmarks: Charades-OV and ActivityNet-OV. These were constructed by taking the test splits of the CD datasets and using a large language model (LLM), followed by manual verification, to rewrite every single test query so that it contains at least one novel concept completely absent from the training vocabulary.
Figure 2. Distribution of sentences in the test set based on the number of words not present in the training vocabulary.

Key Insights and Ideas

  • The Illusion of OOD Benchmarks: A key "aha" moment is the realization that existing debiasing benchmarks fail to test vocabulary generalization. For instance, 96.06% of test sentences in Charades-CD contain zero novel words. True open-vocabulary evaluation requires strict lexical divergence.
  • Intermediate Layers Matter: Token embeddings are brittle. By extracting representations from intermediate Transformer layers (layers 2, 4, and 6), HERO captures what words mean rather than just how they are literally expressed.
  • Robustness via Perturbation: By forcing the model to yield identical cross-modal relevance scores for both complete and masked/corrupted queries, the contrastive text refiner prevents the model from over-relying on specific keyword shortcuts.

Key Results

HERO achieves a new state-of-the-art across both open-vocabulary and standard closed-vocabulary settings:

  • Open-Vocabulary Performance: On Charades-OV, HERO achieves 64.74% [email protected] and 27.20% [email protected], outperforming the strong EMB baseline (61.54% / 25.99%). On ActivityNet-OV, HERO hits 42.78% [email protected], outperforming previous methods by significant margins.
  • Standard Closed-Vocabulary Performance: Even when evaluated on the standard Charades-STA dataset, HERO sets a new benchmark with 61.05% [email protected] and 41.29% [email protected], proving that open-vocabulary design principles also boost standard performance.

Limitations and Future Work

While HERO demonstrates robust generalization, it still relies on frozen, pre-trained visual features (like I3D), which might limit its ability to align highly specific, fine-grained novel visual objects with text.

The authors note that promising future directions include exploring few-shot adaptation, continual learning to handle evolving vocabularies over time, and expanding the framework to broader multimodal grounding tasks under open-world conditions.

Summary updated

BibTeX
@inproceedings{han2026hero,
  author = {Tingting Han and Xinsong Tao and Yufei Yin and Min Tan and Sicheng Zhao and Zhou Yu},
  title = {{HERO: Hierarchical Embedding-Refinement for Open-Vocabulary Temporal Sentence Grounding in Videos}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=TljiIwR92q},
}
Figure