Manuscript Offprint

arXiv:2610.18142

FlowCred: Hierarchical Credit Assignment and Functional Coordination for Joint Text-to-Video Post-Training

Mingxuan Zhu, Yanwei Huang, Shiyuan Liu, Xinzhi Zhang, Shujie Li, Yuanxing Zhang, Lu Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Prompt optimization and generator post-training are two complementary ways to improve text-to-video (T2V) generation, and recent systems increasingly train both modules jointly. However, optimizing a prompt policy and a video generator from the same terminal reward creates two ambiguities: prompt quality is confounded with stochastic generation, and the two modules may realize overlapping local improvements. We introduce FLOWCRED, a two-level framework for joint T2V post-training. First, hierarchical credit assignment uses matched prompt–seed rollout grids to separate prompt-level credit from prompt-conditioned generator residuals under shared randomness. Second, functional coordination probes alternative current-policy prompts at states from actual generation trajectories, providing generator-aware evidence for prompt optimization while selectively attenuating generator updates already supported by conditioning changes. Across multiple T2V benchmarks, FLOWCRED consistently improves matched joint-training baselines. On LTX-2.5, FLOWCRED improves a strictly matched joint-training control from 61.47 to 64.46 on T2V-CompBench and from 55.58 to 58.08 on StoryEval, without increasing decoded-video or reward-model-call budgets. Factorial and realized-update analyses show complementary contributions from prompt shaping and generator routing, while human evaluation and transfer across backbones and updater families provide further supporting evidence.

1 Introduction

Text-to-video (T2V) systems increasingly expose two trainable adaptation channels: a language-side prompt policy and the video generator itself. Prompt-side methods improve conditioning while leaving the visual model fixed (Hao et al., 2023; Cao et al., 2023; Ji et al., 2025; Cheng et al., 2025); generator post-training instead changes the diffusion/flow model using reward or preference feedback (Black et al., 2024; Fan et al., 2023; Wallace et al., 2024; Liu et al., 2025a; Xue et al., 2025; 2026). Recent systems optimize both modules jointly (Wang et al., 2026a; Cheng et al., 2026; Liu et al., 2026; Jia et al., 2026). Prompt changes can reorganize entities, relations, and event descriptions before generation, whereas generator updates address residual motion, appearance, and execution errors that conditioning alone cannot remove. When only one module is updated, a terminal reward can be treated as supervision for that module; once both are trainable, the same scalar signal must implicitly serve both attribution and coordination roles. Joint post-training is therefore attractive; once both channels are trainable, however, one terminal score leaves two distinct questions unresolved.

The first is statistical credit. A terminal reward conflates prompt quality with downstream generator randomness: identical prompts can score differently across seeds, while favorable trajectories can mask weaker prompt choices. The reward alone therefore does not identify which variation belongs to prompt choice and which remains after the prompt is fixed. For request uu, prompt action pp, stochastic generator trajectory T\mathcal{T}, and terminal reward RR, let Q(u,p)=E[R∣u,p]Q(u,p) = \mathbb{E}[R \mid u,p] and V(u)=EpQ(u,p)V(u) = \mathbb{E}_p Q(u,p).

∗^{*}This work was conducted during the author’s internship at KlingAI.

Figure

Figure 1: Motivation and positioning of FLOWCRED. The left panel contrasts prompt-only adaptation with shared-reward joint training. Once both modules are trained from a common terminal reward, two distinct issues arise: statistical credit ambiguity between prompt choice and prompt-fixed stochastic variation, and functional overlap between conditioning-side and generator-side local effects. FLOWCRED addresses them with hierarchical credit assignment (Q - V versus R - Q) and functional coordination based on same-state response geometry.

Then

R−V(u)=Q(u,p)−V(u)⏟promptdecision+R−Q(u,p)⏟prompt−fixedtrajectory.(1)R-V(u)=\underbrace{Q(u,p)-V(u)}_{prompt decision}+\underbrace{R-Q(u,p)}_{prompt-fixed trajectory}. \tag{1}

This exposes two sources of terminal variation. The second question is functional coordination: even after statistical credit is separated, changing the prompt at a generator state may induce a response aligned with the same reward-improving direction used by the downstream optimizer. The two modules can therefore duplicate part of the same local improvement. Statistical credit and functional overlap are thus distinct problems.

These two ambiguities require different remedies: variance reduction can make credit estimates cleaner without preventing functional overlap, while coordinating local updates does not by itself determine where terminal variation originated. Treating them separately lets joint post-training distinguish who should receive credit from which module should realize an overlapping improvement.

To address both, we introduce FLOWCRED, named for its joint treatment of credit assignment and coordination across the prompt-to-video generation flow. Figure 1 summarizes the two ambiguities and their corresponding mechanisms. Hierarchical credit assignment uses matched prompt–seed rollouts to separate prompt-level credit from prompt-conditioned generator residuals. Functional coordination probes alternative prompts at actual rollout states and uses same-state response geometry for generator-aware prompt shaping and reliability-gated generator routing.

The two mechanisms have different mathematical status: Eq. 1 is exact for any per-trajectory scalar score, whereas functional coordination is local and first-order. Its prompt term is auxiliary shaping and its generator rule is a minimum-overlap regularizer, not a conserved transfer of gradient mass. To keep the statistical claim separate from optimization heuristics, all affine calibration used to combine reward credit and functional prompt-credit terms is estimated once on disjoint training-only data and then frozen (Appendix D.3).

Our contributions are threefold.

(1) We introduce hierarchical credit assignment with matched prompt–seed rollouts, separating prompt-level credit from prompt-conditioned generator residuals under shared generator randomness. This gives the prompt policy and generator distinct estimators tied to their positions in the stochastic hierarchy.

(2) We develop functional coordination from same-state prompt responses, using local response geometry for generator-aware prompt shaping and reliability-gated routing of the generator reward update. It targets overlap that remains even after statistical credit has been separated.

(3) We evaluate FLOWCRED with controlled joint-training baselines, mechanism audits, repeated runs, human evaluation, and transfer across backbones and updater families. Across four T2V benchmarks, FLOWCRED consistently improves the matched controls without increasing decoded-video or reward-model-call budgets.

References (89)