Voting Inside Self-Found Boundaries: Weakly Supervised Audio-Visual Parsing at Native Frame Rate

Weakly supervised audio-visual video parsing asks a model to say what happens in a video, when it happens, and whether it is heard, seen, or both. The model is trained only on tags such as "dog, speech" attached to a whole clip. Every current system for this task slices video into one-second blocks and classifies each block independently. That throws away timing information before learning begins. It also produces predictions that flicker from block to block, and it does nothing to keep a two-hundred-millisecond cough or gunshot from being averaged into its silent surroundings. We propose to keep audio and video at their native frame rates and let each modality find its own change points without any boundary labels. Within each interval between change points, the model takes a vote that respects how short the event class tends to be. The voted intervals then serve as the training targets for the next round. The model's own boundary-respecting votes take the place of the strongly annotated pretraining that the best current method relies on.

The opportunity matters because the two halves of the idea have each been shown to work, but only under conditions this setting forbids. Voting inside detected boundaries removed most over-segmentation in fully supervised, video-only action segmentation. Keeping full temporal resolution beat downsample-then-upsample designs for frame-precise localization. Neither has been tried when boundaries are unlabeled, when two modalities can disagree in time, or when the events of interest are brief sounds that plain majority voting is known to erase.

Core Claim

Our claim is narrower than "add voting to audio-visual parsing." Under clip-level labels, smoothing helps only if two conditions hold. The interval boundaries must come from each modality separately, so that an off-screen bark does not inherit visual boundaries. The vote must be duration-aware rather than a simple majority. When both hold, feeding voted intervals back as pseudo-labels should close much of the gap to methods that pretrain on strongly labeled data, with the largest gains on short acoustic events and on event-level metrics. Under the same budget, a post-hoc smoothing filter, a smoothness loss, or shared audio-visual boundaries should each fall short.

Where the Pieces Come From

The method borrows from three lines of work, each in a different role.

Two papers supply the temporal backbone. MS-TCN runs stacks of dilated one-dimensional convolutions (filters that skip steps, so receptive fields grow exponentially with depth while the sequence length never shrinks) at the native frame rate. Temporal Preservation Networks showed that this design beats deconvolution-based recovery of resolution on THUMOS'14: 49.5% versus 44.4% frame-level mAP. Both are fully supervised and video-only. We reuse the architecture and change the supervision and the modalities.

The voting mechanism comes from ASRF (Alleviating Over-segmentation Errors by Detecting Action Boundaries). ASRF trains a class-agnostic boundary head, cuts the video at boundary peaks, and takes a majority vote over frame predictions inside each interval, which raised segmental F1 on Breakfast by 16.1%. ASRF trains its boundary head on ground-truth transitions. We have none, so our boundaries must be discovered. ASRF also notes the failure mode we have to design around: if most frames in an interval are wrong, the vote locks in the error. BDRC-Net plays a related role by aggregating discriminative snippets to suppress false positives, again under full supervision.

The duration-aware vote borrows from the weak-label audio literature. Kong et al. showed that ranking frame activations and weighting them with a decaying exponential (global weighted rank pooling) sits between max pooling, which underestimates duration, and average pooling, which dilutes events across silence. A Closer Look at Weak Label Learning for Audio Events supplies the constraint that motivates this choice: impulsive classes such as "Cough" lost up to 90% of their performance when the surrounding context was enlarged, while "Siren" was unaffected. A plain majority vote over an interval amounts to that same dilution, so the vote must be designed so that it cannot erase a short, confident burst.

The motivating gap is in audio-visual parsing itself. HAN defined the task and the LLP benchmark, using attentive multiple-instance pooling over one-second snippets. VPLAN added CLIP-derived visual pseudo-labels but left audio without pseudo-labels. TEn-CATS learns multi-scale temporal neighborhoods on a snippet graph, yet its event-level audio-visual score lags some baselines. UWAV produces temporally coherent pseudo-labels, but only after pretraining on the strongly labeled UnAV data. All four work on a one-second grid, and none votes within intervals. CMBS gates one modality's timeline with the other's background estimate, which AVHBench-style asynchrony would turn against legitimate single-modality events. This is why our boundaries are found per modality and never imposed across modalities.

Research Program

The model has one dilated temporal network per modality, each with stride one. Audio runs at 10 frames per second from frame-level log-mel features; video runs at 8 frames per second from per-frame visual features. Both features are re-extracted, because the standard LLP features are one-second vectors. Each network has two heads. A class head emits per-frame scores for each event category. A boundary head emits a class-agnostic change probability.

The boundary head is trained without boundary labels. Its target is a self-supervised change signal: the dissimilarity between the network's features in short windows before and after each frame, smoothed and normalized within the clip. We combine this with a contrastive term that keeps features within a hypothesized interval close and features across it apart. Audio and visual boundaries are kept separate. The other modality enters only through an agreement weight that slightly boosts a boundary when both modalities change together. It never deletes a boundary.

Clip-level training uses rank-weighted pooling of frame scores. Rank-weighted pooling means sorting a class's frame scores from highest to lowest and summing them with weights $w_r=d_c^{\,r}$, where $r$ is the rank and $d_c\in(0,1)$ is a decay factor learned per class $c$. A small $d_c$ lets a single strong frame decide; a value near one approaches averaging. The model is also trained with HAN's per-modality guided loss.

The voting step reuses the same rule at interval level. For each interval $I$ between consecutive boundaries, class $c$ is declared present when the rank-weighted score of its frames in $I$, using the learned $d_c$, exceeds a threshold. All frames of $I$ then take that label. For classes with long typical durations, this behaves like a majority vote and removes flicker. For impulsive classes, a short confident peak survives because the vote is effectively close to taking the maximum. After each training round, the voted intervals, intersected with the clip's tags, become frame-level pseudo-labels for both modalities. We weight them by vote margin rather than flipping them, following UWAV's argument against hard label flipping. Then we retrain. Two or three rounds are planned, and we will report how the number of rounds affects error lock-in.

Baselines

The naive reference point is HAN run on the same re-extracted features, pooled to one second, with no voting and no self-training. We report the published LLP numbers for HAN alongside our rerun: 60.1% audio, 52.9% visual, and 48.9% joint audio-visual segment-level F-score. Any method that cannot beat our rerun on short-event classes adds nothing.

The strongest competitor that obeys the same supervision constraint is VPLAN, which reports 65.5% visual and 62.4% audio-visual segment-level F-score on LLP. TEn-CATS reports a 5.1% Event@AV gain over CoLeaF, but no absolute value for that metric appears in our sources. We will rerun both from released code on our features, with the same number of training epochs and the same hyperparameter-search budget as our method. Beating them means a higher segment-level and event-level audio-visual F-score averaged over three seeds, plus a clear margin on the short-event subset described below.

UWAV is reported at 70.0 visual and 65.9 Type@AV. It is not a same-condition competitor, because it pretrains on strongly labeled UnAV data. We treat it as an upper reference and report what fraction of the gap from VPLAN to UWAV we close without strong labels.

Three further baselines are matched on backbone and budget. The first is a fixed-window median filter with per-class window lengths tuned on validation data, which is the standard post-processing for sound event detection. The second adds a temporal smoothness loss, either MS-TCN's truncated mean squared error or the foreground continuity loss of Cross-Attentional Audio-Visual Fusion. The third keeps our full system but splits it at native rate into fixed one-second intervals in place of discovered boundaries.

The ablations isolate the key ingredients one at a time. We replace per-modality boundaries with shared ones. We replace the rank-weighted vote with a plain majority. We apply voting only at test time and drop the self-training loop. Finally, we use the one-second grid with everything else unchanged, which isolates the effect of resolution.

Why not just…?

Why not just median-filter HAN's outputs? This is the most serious threat to the inference-time part of the method, and we treat it as one. A filter tuned per class may match our segment-level F1 on long events. The filter has two limits. It cannot move a boundary, only blur one. It also does not change what the network learns, whereas our votes become training targets. The decisive comparison is the test-time-only voting ablation against the tuned median filter. If the two tie and self-training adds nothing beyond that, the contribution reduces to "use better post-processing," and we will report it that way.

Why not just add a smoothness loss? Smoothness losses penalize all frame-to-frame changes, including real onsets. The foreground continuity loss still over-extended visual actions whenever audio outlasted them. MS-TCN's smoothing loss gained up to 5% F1, much less than ASRF's 16.1% from boundary-based voting under the same supervised setting. That gap suggests explicit intervals beat soft penalties, but it does not prove it holds under weak labels, so the matched comparison will settle the question.

Why not just use one-second snippets, since LLP is labeled per second? This objection is fair. On LLP's one-second ground truth, finer resolution can only help through better feature evidence, not through finer scoring. We therefore report both the one-second-grid ablation and evaluations that score sub-second boundaries, described below. If the one-second variant matches our method on LLP, resolution matters only for those finer evaluations, and we will say so.

Why not just pretrain on strongly labeled data as UWAV does? That route gives up the premise of weak supervision. Our measure of success is how much of the gap to UWAV we close without strong labels, not whether we exceed it.

Proposed Experiments

The primary benchmark is LLP. We report segment-level and event-level F-scores for audio, visual, audio-visual, Type@AV, and Event@AV. We also report a short-event subset, defined as LLP test events lasting at most two seconds in the second-level annotations.

A secondary benchmark is AVE in its weakly supervised setting. Reference numbers there are 76.0% accuracy for CMBS, and 77.1% snippet-level accuracy reported by the cross-attentional fusion paper; we will verify on rerun which of its settings that figure corresponds to.

Two evaluations test sub-second precision. The first is DCASE 2018 Task 4, which has weak training labels and strongly labeled evaluation data. We run only the audio branch and use event-based F1 with an onset collar. The joint DenseNet framework of Kao et al. reports gains over prior work of 8.1% on the development set and 0.5% on the evaluation set, but no absolute event-based F1 for that method appears in our sources, so we will rerun it. The second is a new annotation of 200 LLP test videos with onsets and offsets at 100-millisecond precision, labeled separately for audio and visual events. On this set we report boundary error in milliseconds and event F1 at tight tolerances.

Two checks decide the claim. First, on short audio events the rank-weighted vote must beat the plain majority vote and the tuned median filter, while matching them on long events; this would directly answer the dilution effect reported by Shah et al. Second, on asynchronous LLP clips, where the audio and visual labels differ in time, per-modality boundaries must beat shared boundaries on audio-only events. If both checks fail, the mechanism is not doing what we claim, whatever the aggregate scores show. We will also report how often the voting step locks in errors: the fraction of intervals in which a correct minority of frames was overwritten, tracked across self-training rounds.