Automatic metrics for generated music measure the wrong thing. Distribution scores such as Fréchet Audio Distance check whether generated clips have the right overall sound. Spectral distances check whether samples line up with a reference. Neither checks whether the music hangs together over time. A drum track with the right timbre but random timing can score well, and a jazz line full of deliberate chromatic detours can score badly. We propose a reference-free coherence score built from two predictors trained on real music. One predicts each moment of a recording from what came before. The other predicts it from what comes after. The two are trained to be mutual inverses, in the style of time-reversal symmetry regularization from dynamical-systems modeling. The score flags moments that neither the past nor the future accounts for. It treats moments that are surprising going forward but resolved by what follows, such as a suspension resolving or an enclosure landing on its target note, as coherent rather than as errors.
The second use matters as much as the metric itself. Learned aesthetic judges for music are now good: a SongEval-trained predictor reaches 0.912 Pearson correlation with expert ratings. These judges can still be gamed when a generator is optimized against them. Our score is label-free and its signal is independent of any aesthetic judge, so we test whether it slows reward hacking during best-of-N selection and reward fine-tuning. Stated in two sentences: real music is predictable from both directions in a structured way, and generated music that drifts off that structure shows up as moments no direction can explain. Measuring this gives a temporal coherence signal that both static distribution metrics and gameable reward models miss.
Core Claim
We make three claims, each falsifiable. First, a forward predictor and a backward predictor are trained on frame-level audio embeddings of real music and constrained to be consistent inverses. Their joint residual on a generated track correlates with expert ratings of coherence and structural clarity. It does so better than Kernel Audio Distance, Fréchet Audio Distance, and, crucially, better than forward-only predictive surprise. Second, the forward-backward consistency residual is a separate quantity that flags embedding sequences lying off the manifold of real music. On those sequences the predictors' residuals cannot be trusted, which is the same role T-symmetry consistency plays as an out-of-distribution detector in offline reinforcement learning. Third, used as a guard during optimization against a learned aesthetic judge, the score keeps held-out judgments improving for longer before they turn downward.
Where This Sits
The mechanism comes from time-reversal symmetry work in dynamics. Time-Reversal Symmetric ODE Network adds a loss that makes a learned flow consistent with its time reversal. Its multi-step error on nonlinear oscillators falls from 50.81 to 13.78, and on damped systems from 1.28 to 0.12, because the penalty is soft. Consistent Dynamic Mode Decomposition learns separate forward and backward linear operators constrained to satisfy $AB=I$. This suppresses noise-driven bias and gives roughly five times lower reconstruction error under heavy noise. The offline RL methods TSRL and TELS train coupled forward and reverse latent dynamics. They use the consistency between them to decide which states and actions are trustworthy, reaching 100.9 versus 50.9 normalized score on a 10k-transition Hopper dataset.
We reuse the coupled forward/reverse design and its use as a reliability signal. We drop the physics-style reversing operator, which negates momentum and keeps position. Music has no momentum coordinate, and it is plainly irreversible: notes decay, reverb tails, cadences close. The tension between rigid symmetry and dissipation is exactly where the rigid Hamiltonian baseline fails, with an error of 38.13 on noisy oscillators. Separate forward and backward models with a soft inverse constraint allow the arrow of time to stay asymmetric while still requiring the two directions to agree on the underlying states.
The gap on the evaluation side is well documented, and that documentation motivates the work. Fréchet Audio Distance fits Gaussians to clip embeddings. It reached 0.52 correlation with listener ratings, against 0.39 for signal-to-distortion ratio, but it ignores order within a clip. KAD replaces the Gaussian with a kernel two-sample test and reaches 0.93 Spearman on sound-event data. It is still a statistic over static embeddings. On the FreeSound Loop benchmark, texture-matched but rhythmically incoherent loops score well under distribution metrics while listeners reject them. Hung's jazz study found that experts preferred melody models that statistical metrics ranked lower, because stylistic chromatic enclosures look like outliers. That study is symbolic; we test whether the effect carries over to audio.
The benchmarks that make the project measurable come from SongEval and CMI-RewardBench. SongEval provides 2,399 full songs rated by 16 experts on coherence, memorability, phrasing naturalness, structural clarity, and musicality. CMI-RewardBench provides 4,027 expert preference pairs and warns that optimizing against its reward model invites reward hacking. Both show that structure only becomes visible over windows of 30 to 120 seconds, which fixes the context length our predictors need.
The closest adjacent work leaves our question open. SteerMusic documents that forward-backward diffusion inversion leaks musical structure. It responds by avoiding inversion altogether, and it measures melodic preservation for editing, not coherence of free generation. GROW aligns flow-matching speech models to perceptual rewards without any temporal-consistency constraint. Temporal Cycle-Consistency Learning and Time Reversal as Self-Supervision use forward-backward agreement only as a pretraining signal for visual features. SyMetric is a constraint on our design. It showed that reconstruction error can be cheated while bidirectional training stabilizes rollouts, extending valid prediction from 11 to 267 steps. However, it needs ground-truth phase-space coordinates, which music does not have. Our score is designed to need none.
Research Program
Let $z_1,\dots,z_T$ be a song's sequence of frame embeddings, taken from a frozen music encoder such as MERT at roughly one-second hops. A forward model $f$ reads the past context $z_{\le t}$ and predicts $z_{t+1}$. A backward model $g$ reads the future context $z_{>t}$ and predicts $z_t$. Both are small transformers with up to two minutes of context. They are trained on real music from MTG-Jamendo and FMA with
$$\mathcal{L} = \sum_t \lVert z_{t+1}-f(z_{\le t})\rVert^2 + \lVert z_t-g(z_{>t})\rVert^2 + \lambda\,\lVert g(\hat z_{t+1}, z_{>t+1}) - z_t\rVert^2 .$$
Here $\hat z_{t+1}=f(z_{\le t})$ is the forward prediction substituted into the backward model's input, and $\lambda$ weights the consistency term. The consistency term is the nonlinear analogue of the CDMD inverse constraint and of TSRL's T-symmetry loss. We follow TRS-ODEN and anneal $\lambda$, so the constraint is soft where music is genuinely dissipative.
At evaluation time we compute three quantities per step:
- The forward residual $r_f(t)$ and the backward residual $r_b(t)$, each normalized by its 95th percentile on held-out real music.
- An "unexplained" score $u(t)=\min(r_f(t), r_b(t))$. It is large only when neither direction accounts for the moment.
- The consistency residual $c(t)$, the third term of $\mathcal{L}$ evaluated on generated audio.
The song-level coherence score is the fraction of steps with $u(t)>1$, computed among steps where $c(t)$ falls within the real-data range. The fraction of steps with out-of-range $c(t)$ is reported separately as an off-manifold rate. Keeping the two numbers apart is the design choice we expect to matter most. If a generator drifts somewhere the predictors have never seen, small residuals there mean nothing, and $c(t)$ is how we detect that case.
The analysis program has two parts. The first is to understand what the asymmetry between $r_f$ and $r_b$ captures on real music: whether backward-explained surprises concentrate at cadences, fills, and section boundaries. That is the musical claim behind using a minimum rather than forward surprise alone. The second is to test whether the consistency term actually makes the residuals more reliable under distribution shift, or merely regularizes the predictors.
Baselines
The naive reference point is the do-nothing evaluator: Fréchet Audio Distance on clip embeddings computed per song. Its reported correlation with listener quality ratings is 0.52 in the original FAD paper, on enhancement data rather than song aesthetics.
The strongest label-free metric is KAD, reported at 0.93 Spearman with human judgment on DCASE 2023 and Clotho v2. We run KAD with the same MERT embeddings our predictors use, and also with its best reported extractor. To give it a fair temporal chance, we also compute it on matched 30-second windows. Beating it means higher Spearman correlation on SongEval's Coherence and Structure dimensions over a held-out test split.
The strongest supervised competitor is the UTMOS-style SongEval predictor, reported at 0.912 Pearson with human averages against 0.61 to 0.66 for Audiobox-Aesthetic in SongEval. On CMI-Pref musicality pairs, the reference is CMI-RM's 78.20% accuracy against Gemini 3 Pro's 65.80% in CMI-RewardBench. I found no per-dimension SongEval correlation on Lacuna for the Coherence or Structure dimensions specifically. We will retrain the predictor on our train split, so that it and our score are compared on identical held-out songs. We do not expect a label-free score to beat 0.912. Success against this baseline means two things. First, our score adds significant explained variance on top of the predictor for coherence and structure in a partial-correlation test. Second, under optimization pressure the predictor degrades where our score does not.
The ablation that isolates the key ingredient is a ladder of four models with identical architecture, data, and tuning budget:
- forward-only surprise ($r_f$ alone);
- backward-only surprise;
- independent forward and backward models with no consistency term, combined by the same minimum;
- the full model.
The full model must beat the independent pair. Otherwise the time-reversal consistency term is not earning its place.
Why not just…?
Why not just use forward predictive surprise, like a music language model's perplexity? This is the most serious threat. It is cheaper, and it may capture much of what we measure. Our argument against it is that forward surprise confuses incoherence with resolved novelty. The evidence that metrics penalize stylistic surprise (Hung) suggests exactly that failure, but it was shown on symbolic data. The ablation ladder and the controlled "resolved surprise" test below settle the question. If forward-only surprise matches the full model on SongEval, the paper's claim reduces to "temporal predictability is a good metric," and we will report that.
Why not just compute KAD on short windows to make it temporal? Windowed distribution distances check that each window sounds like real music. They do not check that consecutive windows belong together. A track assembled from individually plausible but unrelated segments passes, which is the FSLD failure (Hung et al.) scaled up to song length. We include windowed KAD as a baseline and test it on spliced tracks built from segments of different real songs.
Why not just use a SongEval-trained judge and a KL penalty to the base generator? For measurement on in-distribution generators, the supervised judge will likely win, and we say so. Its weaknesses are entangled dimensions (CMI-RM's two heads correlate at roughly 0.85 SRCC), expensive labels, and documented vulnerability to being gamed. A KL penalty limits how far the generator moves but not which direction it moves. The reward-hacking experiment compares the KL penalty alone, the KL penalty plus our guard, and the KL penalty plus a forward-surprise guard, all at matched KL budgets.
Why not plain cycle consistency without a learned backward model? SteerMusic shows that naive forward-backward inversion through a generator leaks structure. Rigid reversal assumptions break on dissipative signals, as the 38.13 versus 0.36 error gap in TRS-ODEN shows. Our design keeps a separate learned backward model precisely so that irreversibility is allowed.
Proposed Experiments
The first experiment is correlation on SongEval. We split the 2,399 songs by generator and by song, and report Spearman and Pearson correlations of every score with each of the five expert dimensions. We predict the largest gains on Coherence and Structure and the smallest on vocal Naturalness, which is a timbral property our score should not see. A uniform gain across all five dimensions would suggest the score is tracking generic quality rather than temporal structure. We repeat the evaluation as pairwise accuracy on CMI-Pref musicality pairs, using clips up to 120 seconds.
The second experiment is a pair of controlled tests that separate our score from forward surprise. In one test we create unresolved surprises by splicing in segments from other songs. In the other we create resolved surprises by inserting held-out real passages that contain cadential suspensions or fills, keeping the surrounding song unchanged. The full model should penalize splices while scoring real resolved surprises close to the unedited songs. Forward-only surprise should penalize both. On FSLD we time-jitter real loops while preserving their spectra. Distribution metrics should barely move while our score rises sharply.
The third experiment is reward-hacking resistance. We take an open generator represented in SongEval, such as DiffRhythm or YuE. We run best-of-N selection with N from 1 to 256 and a short reward fine-tuning run against the retrained SongEval judge. As held-out judges we track CMI-RM and a blind expert listening panel on a fixed prompt set. The decisive result is the N, or the fine-tuning step, at which held-out judgments peak and begin to fall. Adding our score as a rejection filter or penalty should push that peak later. A rising off-manifold rate in $c(t)$ should precede the decline under the unguarded objective. If the off-manifold rate does not lead the decline, the second core claim fails.
Compute is modest. The predictors operate on precomputed embeddings, and the roughly doubled training cost of bidirectional passes reported for TRS-ODEN applies only to these small models, not to the generator.
References
- Time-Reversal Symmetric ODE Network
- Consistent Dynamic Mode Decomposition
- Look Beneath the Surface: Exploiting Fundamental Symmetry for Sample-Efficient Offline RL
- Sample Efficient Offline RL via T-Symmetry Enforced Latent State-Stitching
- Fréchet Audio Distance: A Reference-Free Metric for Evaluating Music Enhancement Algorithms
- KAD: No More FAD! An Effective and Efficient Evaluation Metric for Audio Generation
- A Benchmarking Initiative for Audio-domain Music Generation using the FreeSound Loop Dataset
- Improving Automatic Jazz Melody Generation by Transfer Learning Techniques
- SongEval: A Benchmark Dataset for Song Aesthetics Evaluation
- CMI-RewardBench: Evaluating Music Reward Models with Compositional Multimodal Instruction
- SteerMusic: Enhanced Musical Consistency for Zero-shot Text-Guided and Personalized Music Editing
- GROW: Group-Relative Advantage-Weighted On-Policy Reinforcement Learning of Autoregressive-Diffusion Text-to-Speech model
- Temporal Cycle-Consistency Learning
- Time Reversal as Self-Supervision
- SyMetric: Measuring the Quality of Learnt Hamiltonian Dynamics Inferred from Vision