State-of-the-art text-to-music models increasingly rely on scaling model capacity, data, and compute, while still learning musical structure directly from dense audio. Yet melody, rhythm, harmony, and structure can be represented compactly in symbolic form. We introduce MIDI-REPA, a representation-alignment framework that derives MIDI supervision from automatic music transcription (AMT) to align intermediate representations of a flow-matching DiT. Building on the 122M-parameter FluxAudio-S baseline from the 2026 ICME Academic Text-To-Music Challenge, we investigate what, where, and when to align. Aligning a MuScriptor-derived piano roll with an early DiT layer throughout the full flow trajectory performs the best. Without additional training data or techniques, MIDI-REPA remains competitive on the ATTM objective metrics while remaining trainable on a single RTX 3090 in about 31 hours. Our results highlight symbolic supervision as a simple and inexpensive learning signal for improving text-to-music generation. We release our transcription pipeline, JamendoMIDI, training code, and audio samples at https://midi-repa.vaclis.net.
Figures & tables
Figure 1: MIDI-REPA framework. Symbolic targets extracted by an AMT system supervise intermediate audio representations through a lightweight projection head and cosine-similarity alignment loss, jointly with the denoising objective. Our design study examines (a) what symbolic target to align, (b) where to apply alignment in the backbone, and (c) when to activate it along the flow-matching trajectory.
Teacher
FAD ↓
CLAP ↑
MuScriptor cube
0.5117±0.0042
0.2665±0.0030
MuScriptor roll
0.5040±0.0030
0.2603±0.0026
Basic Pitch roll
0.5363±0.0036
0.2396±0.0029
Baseline
0.5275±0.0021
0.2220±0.0021
Table 1: What to align: Symbolic targets at L4 on SDD. Bold and underline indicate the best and second-best results; gray indicates performance worse than the baseline.
Layer
FoG-A
Rank
Layer
FoG-A
Rank
L0
1.1206
2
L6
0.0917
4
L1
0.0869
5
L7
0.0552
7
L2
0.0412
8
L8
0.0365
10
L3
0.0244
12
L9
2.4628
1
L4
0.0779
6
L10
0.0280
11
L5
0.0982
3
L11
0.0389
9
Table 2: Baseline FoG-A over 512 training windows and five noise levels. Bold: top three contributions; these are not alignment-performance ranks.
Layer
FAD ↓
CLAP ↑
L0
0.5289±0.0032
0.2431±0.0016
L2
0.4947±0.0037
0.2686±0.0015
L4
0.5040±0.0030
0.2603±0.0026
L5
0.5202±0.0036
0.2588±0.0014
L8
0.4980±0.0033
0.2587±0.0015
L9
0.5211±0.0045
0.2457±0.0023
Table 3: Where to align: Alignment layer with MuScriptor roll on SDD. L0/L2 are joint blocks; the remaining layers are fused blocks.
System
Params
A100-eq GPU-H
FAD ↓
CLAP ↑
CCS ↑
Rank
Submission e07
402M
148.9
0.417
0.261
0.867
2
Submission e01
189M
25.1
0.577
0.338
0.863
3
Submission e05
499M
20.0
0.487
0.305
0.800
4
Submission e08
450M
190.3
0.495
0.295
0.804
4
Submission p05
2.4B
60.0
0.514
0.306
0.800
6
Submission p00
502M
48.0
0.557
0.311
0.796
7
Table 4: ATTM objective comparison on 80 in-domain prompts. Borda ranks are recomputed over the 17 official systems plus Ours; only the six official finalists and the FluxAudio-S baseline are shown. Training cost follows ATTM’s peak-FP16-throughput normalization.
Figure 2: Extrapolated final outputs from different timesteps along the baseline generation trajectory for the prompt “Atmospheric music featuring a soothing vibraphone, enhanced with gentle piano and ambient synth pads, evokes a calm, reflective mood with soft, resonant tones and a spacious, dreamy texture.” Musical structure becomes largely established around t=0.88 – 0.80 .
Alignment interval t
FAD ↓
CLAP ↑
t∈[0,1]
0.4947±0.0037
0.2686±0.0015
t∈[0.88,1]
0.5440±0.0042
0.2858±0.0018
t∈[0.84,1]
0.5201±0.0038
0.2686±0.0036
t∈[0.80,1]
0.5200±0.0033
0.2641±0.0031
t∈[0,0.8]
0.5205±0.0029
0.2683±0.0016
t∈[0,0.2]
0.5828±0.0035
0.2581±0.0024
Table 5: When to align: timestep interval with MuScriptor roll at L2 on SDD. Generation proceeds from t=1 (noise) to t=0 (music).
Text-to-music generation turns natural-language descriptions into audio or symbolic scores, with control over style, instruments, mood, lyrics, and structure.