---
title: 'Clarify: Refining Video Grounding Boundaries'
url: https://www.emergentmind.com/topics/clarify-874856f0-abc6-4a77-91a9-6bdd18347b94
type: topic
---

# Clarify: Refining Video Grounding Boundaries

Searching arXiv for the primary paper and closely related WSVG/background papers.
First, locating the primary paper.
Searching for related weakly supervised video grounding papers mentioned in the source material.
EtC (“Expand then Clarify”) is a weakly supervised video grounding framework for mapping a natural-language query $q$ to a temporal segment in an untrimmed video $V$ without access to ground-truth temporal boundaries during training. It addresses the supervision gap between video-level labels and boundary-level prediction by first expanding incomplete pseudo boundaries with multimodal large language model (MLLM) descriptions and then clarifying those expanded boundaries through mutual learning and a proposal-level contrastive objective, with the aim of producing more precise refined boundaries $B^*$ [2312.02483].

## 1. Problem setting and motivation

Weakly supervised video grounding (WSVG) trains on matched video–query pairs but must output start and end times. Early explicit-supervision approaches attempt to bridge this gap by generating pseudo temporal boundaries through data augmentations and teacher–student consistency. The central difficulty identified by EtC is that such augmentations can disrupt temporal continuity in video or alter crucial tokens in text, so noise in imperfect pseudo labels is propagated and amplified during training [2312.02483].

EtC formulates a different response to this problem. Rather than randomly augmenting the original video–text pair, it preserves the original temporal content and introduces additional semantic detail through MLLM-based frame descriptions. The method is organized around two complementary observations stated explicitly in the formulation. First, frames within an initial pseudo boundary $B_{\text{init}}$ are near ground-truth-relevant content and share visual continuity with ground-truth frames. Second, the signals available during refinement are asymmetric: initial boundaries are typically incomplete but relatively clean, whereas expanded boundaries are typically comprehensive but noisier. The framework is therefore designed to exploit both signals rather than choosing one over the other.

A plausible implication is that EtC should be understood less as a pseudo-label generator in the conventional augmentation sense than as a pseudo-boundary refinement pipeline that converts semantic densification into a denoising problem. That interpretation is consistent with the paper’s emphasis on “Expand” followed by “Clarify,” rather than direct relabeling.

## 2. Formalization and architectural structure

The method uses the following notation. A video is $V=\{x_t\}_{t=1}^{T}$ with $T$ frames; a query is $q$, a sequence of $L$ tokens; initial pseudo boundaries are $B_{\text{init}}=[t_s^{\text{init}}, t_e^{\text{init}}]$; expanded pseudo boundaries are $B_{\text{exp}}=[t_s^{\text{exp}}, t_e^{\text{exp}}]$; and refined boundaries are $B^*$. Candidate proposals are $P=\{p_i\}_{i=1}^{N_p}$ with $p_i=[t_s^i,t_e^i]$. Visual features are framewise vectors $f_t \in \mathbb{R}^C$, extracted with I3D on Charades-STA or C3D on ActivityNet Captions; videos are downsampled by $8\times$ and the maximum temporal length is $200$. Text features are $g_q \in \mathbb{R}^C$ from GloVe word2vec with maximum query length $L=20$ [2312.02483].

A transformer fuses video and text. A $[\mathrm{CLS}]$ token is appended to the video features to obtain $h_{\mathrm{cls}}$, and a fully connected head with sigmoid predicts learnable Gaussian pseudo-boundary parameters:
$$
p=\{c,w\}=\sigma(\mathrm{FC}(h_{\mathrm{cls}})) \in (0,1)^2,
$$
where $c$ and $w$ are normalized center and width. Proposal features $v_p$ are pooled from $V$ according to $p$. These proposal features are then consumed by a baseline grounding head, instantiated either with a query reconstruction branch or a multiple-instance learning branch.

The query reconstruction branch, exemplified by CPL, masks about one third of the query tokens and reconstructs the query conditioned on $v_p$ and previously generated tokens:
$$
L_g=-\sum_{i=1}^{L}\log P(q_i \mid v_p, Q[0:i-1]).
$$
The MIL branch instead computes positive and negative video–query matching scores using top-$k$ proposal averaging and applies a margin loss:
$$
L_g=\max(\Delta, M_{\text{neg}}-M_{\text{pos}}).
$$

EtC itself does not introduce additional regression heads. Its architectural intervention is concentrated in the two-stage procedure and in the refinement of the learnable Gaussian boundary parameters through mutual learning and proposal-level contrast.

## 3. Expand: boundary expansion by MLLM-enriched descriptions

In the Expand stage, a baseline WSVG model first produces $B_{\text{init}}$. EtC then uses BLIP-2 to generate multiple detailed descriptions for frames inside the initial region. The training procedure precomputes descriptions for each frame using $5$ prompts, generating $n_p=5$ descriptions per frame and storing them in a per-frame dictionary. During training, $n_f=5$ frames are randomly sampled within the current initial region, and one description is sampled from their descriptions to form an expanded description $d$ [2312.02483].

This design is motivated by video continuity: frames adjacent to relevant content are visually similar, so framewise language can expose objects, actions, and context omitted by the original query. The immediate effect is expansive rather than corrective. The richer text drives re-localization toward a broader temporal region $B_{\text{exp}}$ that more comprehensively covers the event but may include irrelevant content. The paper characterizes this as a shift from “incomplete yet clean” boundaries to “comprehensive yet noisy” ones.

The Expand stage is therefore intentionally permissive. It does not attempt to produce the final boundary directly. Instead, it supplies the second stage with a semantically enriched but potentially over-inclusive proposal. The paper’s ablations further report that BLIP-2 outperforms alternatives such as LLaVA for this task, which is consistent with the framework’s dependence on frame-level descriptions that remain useful under later denoising [2312.02483].

A plausible implication is that Expand is best viewed as semantic recall maximization: it sacrifices precision to reduce the risk of omitting relevant temporal content that the weakly supervised baseline failed to capture initially.

## 4. Clarify: mutual learning and proposal-level contrastive refinement

The Clarify stage explicitly optimizes the balance between the two boundary sources. Let the original-query branch output $p_o=\{c_o,w_o\}$ and the expanded-description branch output $p_n=\{c_n,w_n\}$. Mutual learning enforces consistency between the two parameterizations with stop-gradient:
$$
L_m=\mathrm{MSE}(p_o,\phi(p_n))+\mathrm{MSE}(p_n,\phi(p_o)),
$$
where $\phi(\cdot)$ truncates the input gradient [2312.02483].

The role of stop-gradient is not incidental. It prevents degenerate collapse and allows each branch to move toward the other’s current estimate without jointly over-constraining both. In the paper’s interpretation, this stabilizes training and lets the cleaner branch regularize the noisier branch while allowing the noisier branch to broaden the cleaner one.

Clarify then adds a proposal-level contrastive loss (PCL) based on two alignment signals. The first is query–description matching (QDM), where $S_t^{\mathrm{QDM}}$ scores similarity between the original query and the MLLM description for frame $t$, computed with a text model such as BERT. The second is query–frame matching (QFM), where $S_t^{\mathrm{QFM}}$ measures how well the MLLM says frame content matches the query. For a boundary $p=\{c,w\}$ with $\mathrm{sta}=c-w/2$ and $\mathrm{end}=c+w/2$, and a temporal margin $T_w=0.25$, EtC defines inside and outside averages:
$$
S_{\text{in}}(p)=\frac{1}{\mathrm{end}-\mathrm{sta}}\sum_{t=\mathrm{sta}}^{\mathrm{end}} S_t,
$$
$$
S_{\text{out}}^{-}(p)=\frac{1}{\mathrm{sta}-(\mathrm{sta}-T_w)}\sum_{t=\mathrm{sta}-T_w}^{\mathrm{sta}} S_t,
$$
$$
S_{\text{out}}^{+}(p)=\frac{1}{(\mathrm{end}+T_w)-\mathrm{end}}\sum_{t=\mathrm{end}}^{\mathrm{end}+T_w} S_t.
$$
The hinge-style contrastive objective with margin $\delta=0.15$ is
$$
L_c(p;S)=\max(S_{\text{out}}^{-}(p)-S_{\text{in}}(p),\delta)+\max(S_{\text{out}}^{+}(p)-S_{\text{in}}(p),\delta).
$$
This loss is applied twice, once with $S=S^{\mathrm{QDM}}$ and once with $S=S^{\mathrm{QFM}}$, giving
$$
L_{\mathrm{PCL}}=L_c+L_E.
$$

The full Clarify objective for the two branches is
$$
L_{\text{total}}=L_{go}+L_{gn}+\alpha L_m+\beta(L_c+L_E).
$$
The balancing coefficients are dataset-specific: on Charades-STA, $\alpha=0.5$ and $\beta=0.1$; on ActivityNet Captions, $\alpha=0.25$ and $\beta=0.05$.

The paper notes that a proposal-level InfoNCE formulation is possible in principle, but the reported experiments found the hinge-style objective more stable and efficient. This suggests that Clarify is designed around local boundary correction rather than large negative-set discrimination.

## 5. Optimization procedure, inference path, and empirical performance

Training proceeds in a fixed sequence. Framewise BLIP-2 descriptions are precomputed. For each video–query pair, the model performs a forward pass through the original-query branch and the expanded-description branch, computes the baseline grounding losses $L_{go}$ and $L_{gn}$, applies mutual learning, computes the QDM and QFM sequences, evaluates the proposal-level contrastive losses for both branches, and backpropagates $L_{\text{total}}$. Optimization uses Adam with learning rate $4\times 10^{-4}$ and an inverse square-root scheduler. The baseline is warmed up for $7$ epochs on Charades-STA and $3$ epochs on ActivityNet Captions, and training continues for $30$ epochs. The Clarify process always uses the top-1 pseudo boundary from the base model [2312.02483].

Inference is considerably simpler. Only the original query $q$ and video $V$ are used. The trained baseline outputs the top-1 boundary $B^*$. No MLLM descriptions are needed at test time, and no NMS is required under the top-1 setting.

The reported empirical results show improvements both in ablation studies and in comparison with the prior state of the art.

| Dataset | Base $\rightarrow$ Final EtC | State-of-the-art comparison |
|---|---|---|
| Charades-STA | $67.57/49.37/22.26 \rightarrow 69.84/53.39/25.84$ | surpasses UGS by $+0.68/+1.21/+1.90$ |
| ActivityNet Captions | $80.34/56.18/32.23 \rightarrow 83.93/61.31/37.01$ | exceeds UGS by $+1.83/+3.24/+0.10$ |

On ActivityNet Captions, component ablations isolate the contributions of the two refinement mechanisms. Starting from the replicated CPL base at $80.34/56.18/32.23$ for $R@1@\{0.1,0.3,0.5\}$, adding mutual learning gives $83.07/60.87/35.05$, adding PCL gives $81.03/57.70/34.16$, and the final EtC model reaches $83.93/61.31/37.01$ [2312.02483].

The reliability analysis further reports a reduction in completely wrong pseudo boundaries ($\mathrm{IoU}=0$), from $23.55\%$ to $17.89\%$ on Charades-STA and from $12.77\%$ to $6.32\%$ on ActivityNet Captions. The paper interprets this as effective noise mitigation. It also reports that PCL contributes more when the initial pseudo boundaries are lower quality, which is consistent with Clarify’s stated role as a denoising mechanism.

## 6. Position within WSVG research, adaptability, and limitations

EtC is positioned against explicit-supervision pseudo-boundary methods that rely on random augmentations. Its novelty lies in preserving temporal integrity and enriching semantics through MLLM-generated descriptions before denoising them with learnable refinement. In that sense, its contribution is not merely the use of an MLLM, but the specific coupling of semantic expansion with a refinement objective that contrasts inside-boundary and outside-boundary alignment signals [2312.02483].

The framework is designed to be adaptable to multiple baseline localizers. The paper explicitly discusses compatibility with CNM and CPL and notes more limited integration with RSTPN because RSTPN uses fixed proposals. This boundary-parameter-centric design also explains why EtC does not directly improve rank-5 recall: it refines the most confident boundary rather than introducing multi-boundary selection or NMS-like reasoning.

The stated limitations are correspondingly concrete. The method depends on expanded-boundary quality; if MLLM descriptions mischaracterize frames, the expanded boundaries can drift. It is sensitive to hyperparameters such as $\alpha$, $\beta$, $T_w$, and $\delta$. It incurs additional preprocessing and training cost because BLIP-2, BERT-based QDM scoring, and MLLM-based QFM scoring must all be computed. Its focus remains top-1 boundary refinement, leaving multi-boundary reasoning as future work. The paper also suggests further study of PCL integration with manual proposal generators or diffusion-based localizers.

A plausible broader implication is that EtC exemplifies a general pattern in weak supervision: semantic enrichment can improve recall only if accompanied by a mechanism that explicitly models the difference between useful expansion and harmful over-inclusion. Within EtC, that mechanism is the Clarify stage, and the empirical results indicate that this stage is not auxiliary but structurally central to the method’s performance.

Source: https://www.emergentmind.com/topics/clarify-874856f0-abc6-4a77-91a9-6bdd18347b94