pith. sign in

arxiv: 2605.18916 · v2 · pith:63VJHMWYnew · submitted 2026-05-18 · 💻 cs.MM · cs.AI· cs.CV· cs.SD· eess.AS

CounterFlow: A Two-Phase Inference-Time Sampling for Counterfactual Video Foley Generation

Pith reviewed 2026-05-20 02:05 UTC · model grok-4.3

classification 💻 cs.MM cs.AIcs.CVcs.SDeess.AS
keywords counterfactual video foleyvideo-to-audio generationflow matchinginference-time samplingsound source replacementtemporal synchronizationtext-audio embeddings
0
0 comments X

The pith

CounterFlow splits inference sampling into two phases so flow-matching video-to-audio models can follow a text prompt that contradicts the visuals while keeping the audio synced to the video.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper addresses counterfactual video foley generation, in which audio must adopt a sound identity that disagrees with the visual content yet remain temporally aligned with a silent video. Existing VT2A models typically default to the visually suggested source when prompt and video conflict. CounterFlow introduces an inference-time dual-phase sampling scheme for pretrained flow-matching models. The first phase conditions on video to establish temporal structure while suppressing the implied source; the second phase removes video conditioning to shape timbre strictly toward the target prompt. This yields measurable gains over naive negative prompting and current baselines, supported by a new metric that scores both prompt adherence and residual source leakage in a text-audio embedding space.

Core claim

CounterFlow is an inference-time dual-phase sampling scheme for pretrained flow-matching VT2A models. Phase 1 builds a video-derived temporal structure while suppressing the visually implied source. Phase 2 drops video conditioning to focus entirely on shaping audio timbre toward the target prompt. This substantially improves counterfactual Video Foley generation compared to naive negative prompting and state-of-the-art baselines.

What carries the argument

Dual-phase sampling in which the first phase uses video conditioning to lock temporal structure while suppressing the implied source and the second phase removes video conditioning to match target timbre.

If this is right

  • Audio can replace an implied sound source in video without breaking synchronization.
  • A text-audio co-embedding metric can quantify both target-prompt evidence and residual visual-source leakage.
  • The method applies directly to existing pretrained flow-matching VT2A models.
  • Demonstrations show improved replacement quality on videos with clear action-to-sound mappings.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The structure-versus-timbre separation may transfer to other conditional audio or video generators facing conflicting inputs.
  • Similar phase-wise conditioning drops could be explored for image-to-audio or text-to-video tasks.
  • The approach might reduce reliance on negative prompting across broader multimodal generation settings.

Load-bearing premise

Separating the sampling into a video-conditioned phase for structure and an unconditioned phase for timbre will let the model follow the target prompt without losing temporal synchronization from the video.

What would settle it

Generate audio for a video showing a guitar being strummed using the prompt 'piano playing'; check whether the output audio exhibits piano timbre while its attack and decay timings align with the visible string movements.

Figures

Figures reproduced from arXiv: 2605.18916 by Gyubin Lee, Juhan Nam, Junwon Lee.

Figure 1
Figure 1. Figure 1: CounterFlow steers the sampling trajectory of a pretrained VT2A backbone at inference time without additional training. Phase 1 establishes a video-aligned temporal structure through decomposed guidance, while Phase 2 removes video conditioning and employs negative text prompting to refine the counterfactual sound identity within the established structure. Method FAD↓ IS↑ ∆FLAM↑ (+)Ratio↑ CLAP↑ DeSync↓ CAF… view at source ↗
Figure 2
Figure 2. Figure 2: FLAM visualization for a counterfactual video foley gen [PITH_FULL_IMAGE:figures/full_fig_p003_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: Transition-step sweep on CounterFlow. replacement-temporal alignment trade-off [PITH_FULL_IMAGE:figures/full_fig_p004_3.png] view at source ↗
read the original abstract

We investigate Counterfactual Video Foley Generation, which aims to adopt a sound-source identity that contradicts the visual evidence while remaining temporally synchronized to a silent video. Existing Video&Text-to-Audio (VT2A) models struggle with this, often remaining anchored to the visually implied sound source when video and text contents disagree. We present ConterFlow, an inference-time dual-phase sampling scheme for pretrained flow-matching VT2A models. Phase 1 builds a video-derived temporal structure while suppressing the visually implied source; Phase 2 drops video conditioning to focus entirely on shaping audio timbre toward the target prompt. ConterFlow substantially improves counterfactual Video Foley generation compared to naive negative prompting and state-of-the-art baselines. To evaluate replacement quality, we propose a metric leveraging a text-audio co-embedding space to measure both target-prompt evidence and residual visually implied source leakage. Video demonstrations and code are available at https://gyubin-lee.github.io/counterflow-demo/

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 2 minor

Summary. The paper introduces CounterFlow, a two-phase inference-time sampling procedure for pretrained flow-matching video-to-audio models to enable counterfactual Foley generation. In Phase 1, video conditioning is used to establish temporal structure while suppressing the visually implied sound source via negative prompting or similar; in Phase 2, video conditioning is removed so that the sampler focuses on matching the target text prompt's timbre. The authors claim this yields substantially better prompt adherence and reduced source leakage than naive negative prompting or existing baselines, and they introduce a text-audio co-embedding metric to quantify both target-prompt evidence and residual visual-source leakage.

Significance. If the central claim holds, the work offers a practical, training-free way to improve controllability in VT2A models for counterfactual scenarios, which is a recognized limitation of current systems. The proposed co-embedding metric could also serve as a useful evaluation tool. However, the absence of concrete quantitative numbers, error bars, or ablation details in the provided abstract makes it difficult to gauge the practical magnitude of the improvement or its robustness across diverse video-prompt conflicts.

major comments (2)
  1. [Method (two-phase sampling description)] The central claim that Phase 1 fixes a temporally synchronized latent trajectory that survives Phase 2 (video conditioning removal) is not obviously guaranteed by the described procedure. Flow-matching models continue to follow the unconditional score in Phase 2; without an explicit alignment loss, classifier-free guidance schedule that preserves timing, or empirical verification of onset/duration fidelity after conditioning dropout, modest drift could produce timbre-matched but temporally misaligned audio. This directly undermines both the counterfactual Foley goal and the proposed co-embedding metric. Please provide the precise conditioning schedule, any auxiliary losses, and quantitative synchronization metrics (e.g., onset F1 or temporal IoU) comparing Phase-1-only vs. full CounterFlow outputs.
  2. [Experiments / Results] The abstract states that CounterFlow 'substantially improves' performance over baselines, yet no numerical results, dataset sizes, or statistical tests are referenced. Without these, it is impossible to assess whether the improvement is load-bearing or merely qualitative. Please report the main quantitative table (including the co-embedding metric scores, any perceptual metrics, and comparisons to negative prompting and SOTA baselines) with confidence intervals or significance tests.
minor comments (2)
  1. [Method] Clarify the exact form of video conditioning used in Phase 1 (e.g., whether it is the same cross-attention mechanism as the base VT2A model) and how source suppression is implemented without introducing new trainable parameters.
  2. [Abstract / Conclusion] The link to video demonstrations and code is welcome; please ensure the released code reproduces the exact two-phase schedule described in the paper.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for their constructive and detailed feedback. The comments highlight important aspects of methodological clarity and the need for stronger quantitative support, which we address below. We have revised the manuscript to incorporate additional details and results.

read point-by-point responses
  1. Referee: [Method (two-phase sampling description)] The central claim that Phase 1 fixes a temporally synchronized latent trajectory that survives Phase 2 (video conditioning removal) is not obviously guaranteed by the described procedure. Flow-matching models continue to follow the unconditional score in Phase 2; without an explicit alignment loss, classifier-free guidance schedule that preserves timing, or empirical verification of onset/duration fidelity after conditioning dropout, modest drift could produce timbre-matched but temporally misaligned audio. This directly undermines both the counterfactual Foley goal and the proposed co-embedding metric. Please provide the precise conditioning schedule, any auxiliary losses, and quantitative synchronization metrics (e.g., onset F1 or temporal IoU) comparing Phase-1-only vs. full CounterFlow outputs.

    Authors: We appreciate the referee's careful analysis of the two-phase procedure and the valid concern about possible temporal drift in Phase 2. In flow-matching, the intermediate latent produced at the conclusion of Phase 1 encodes the video-derived temporal structure; because the subsequent integration follows a continuous ODE trajectory, this structure is largely retained even after video conditioning is removed. We have revised Section 3.2 to specify the exact conditioning schedule: video conditioning (with negative prompting to suppress the visual source) is applied at full strength for the first 50% of the sampling trajectory and is then dropped entirely for the remaining steps, with no auxiliary losses or modified guidance schedules employed. To directly address the request for empirical verification, we have added new quantitative synchronization results (onset F1 and temporal IoU) comparing Phase-1-only outputs against the full CounterFlow pipeline; these metrics indicate that temporal fidelity remains high after conditioning removal while timbre alignment improves substantially. revision: yes

  2. Referee: [Experiments / Results] The abstract states that CounterFlow 'substantially improves' performance over baselines, yet no numerical results, dataset sizes, or statistical tests are referenced. Without these, it is impossible to assess whether the improvement is load-bearing or merely qualitative. Please report the main quantitative table (including the co-embedding metric scores, any perceptual metrics, and comparisons to negative prompting and SOTA baselines) with confidence intervals or significance tests.

    Authors: We agree that the abstract's qualitative phrasing leaves the magnitude of improvement unclear and that explicit numbers strengthen the presentation. The body of the manuscript (Section 4) already contains the main evaluation on a set of 500 video-prompt pairs constructed to contain strong visual-textual conflicts. We have now expanded the results section to include a consolidated quantitative table reporting the co-embedding metric (target-prompt evidence and residual source leakage), additional perceptual metrics from a user study, and direct comparisons against negative prompting and existing baselines. The revised table also incorporates confidence intervals and statistical significance tests (paired t-tests) to allow readers to evaluate the robustness of the reported gains. revision: yes

Circularity Check

0 steps flagged

No circularity: two-phase sampling is a direct procedural proposal on pretrained models

full rationale

The paper introduces ConterFlow as an inference-time dual-phase sampling scheme applied to existing pretrained flow-matching VT2A models. Phase 1 uses video conditioning with source suppression to establish temporal structure; Phase 2 removes video conditioning to steer timbre via the target prompt. No parameters are fitted to the target counterfactual task, no self-citation chain justifies a uniqueness theorem, and no derived quantity is renamed or predicted from its own inputs. The central claim (improved counterfactual Foley) is evaluated via a new co-embedding metric and external baselines, keeping the derivation self-contained.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 0 invented entities

The central claim relies on the effectiveness of the two-phase sampling without additional training, assuming the base models have the necessary capabilities.

axioms (1)
  • domain assumption Pretrained flow-matching VT2A models can be guided at inference time to suppress visual source identity while maintaining temporal structure.
    This is invoked in the description of Phase 1.

pith-pipeline@v0.9.0 · 5708 in / 1208 out tokens · 55348 ms · 2026-05-20T02:05:11.760341+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

What do these tags mean?
matches
The paper's claim is directly supported by a theorem in the formal canon.
supports
The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
extends
The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
uses
The paper appears to rely on the theorem as machinery.
contradicts
The paper's claim conflicts with a theorem or certificate in the canon.
unclear
Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.