AI-generated music has become common on music streaming platforms, and listeners often cannot distinguish it from music made by humans. AI-music detection is therefore needed, but detectors trained on a fixed set of generators often fail on unseen generators. As new generators emerge frequently, updating a universal detector, a single model for all generators, typically requires substantial training data and computation, while risking performance degradation on previously learned generators. We therefore introduce IncrementDET, a detector that learns each new generator by a process called enrollment. For each generator, IncrementDET trains one linear classifier, which we call a needle, to separate samples of that generator from a fixed set of human reference tracks. Enrolling a new generator adds one needle while the previously constructed needles remain unchanged. A Sidak correction keeps the overall false-positive rate at its target as needles are added. To compare detectors under these conditions, we define the task of continual AI-generated music detection and introduce a benchmark in which generators arrive one at a time. The benchmark measures the accuracy of a detector before and after each update and the cost of each update. For this benchmark, we also construct EvoMusicFake-17K, a dataset of instrumental music from six recent generators and four human music platforms. Compared with SpecTTTra, a state-of-the-art universal detector, IncrementDET learns a new generator more accurately from only a few samples, generalizes better to unseen generators and better preserves detection performance on previously learned generators, at a substantially lower update cost. The structure of IncrementDET can also be applied to the detection of generated images and video, where new generators are released just as frequently.
Figures & tables
Figure 1: A schematic of our work. Top: the universal detector SpecTTTra is updated by experience replay with 300 tracks of the new generator. Bottom: IncrementDET passes only 25 tracks of the new generator through a frozen encoder and adds one linear classifier (a needle), leaving earlier needles unchanged. Each row shows the time of one update and the TPR at 5% FPR on the new generator, averaged over twelve generators ( Tab. 5 ), so IncrementDET is more accurate with fewer tracks and far less compute.
Figure 2: Overview of IncrementDET. Top: the generators in their order of arrival, with DiffRhythm 1 arriving and the earlier generators already enrolled. Purple arrows show enrollment. The N tracks of the new generator are preprocessed and encoded by the frozen MuQ encoder, a needle is trained against human reference tracks from Hfit and calibrated on Hcal , and it is added to the archive without changing earlier needles. Blue arrows show a test. A test track is scored by every needle in the archive, and the decision panel flags it as AI-generated if any needle exceeds its threshold and names the generator whose needle gives the largest standardized score.
Generator
Version
Family
MusicGen [ 12 ]
medium
Autoregressive LM
AudioLDM2 [ 33 ]
music
Latent diffusion
MusicLDM [ 8 ]
–
Latent diffusion
Mustango [ 36 ]
–
Latent diffusion
Stable Audio Open [ 17 ]
1.0
Diffusion transf.
InspireMusic [ 52 ]
1.5B-Long
Tokens + FM
Table 1: Generators, in the order in which they arrive. LM: language model. FM: flow matching. Transf.: transformer.
SpecTTTra
IncrementDET
Held out
EER
@5
@1
EER
@5
@1
MusicGen
23.0
58.0
41.5
2.5
99.0
95.5
AudioLDM2
12.0
80.0
63.5
1.1
99.0
99.0
MusicLDM
35.5
15.5
1.5
6.5
90.0
66.0
Mustango
24.0
42.0
22.5
0.5
100.0
99.5
Stable Audio Open
11.6
75.5
49.5
2.2
98.5
96.5
Table 2: Detection without updates (leave-one-generator-out). EER and TPR at 5% and 1% FPR, in percent.
Figure 3: Continual comparison in the order of Tab. 1 , TPR at 5% FPR. (a) After each update, mean over all generators seen so far. (b) Before each update, on the generator that is about to arrive. (c) Panel (a) against cumulative update cost.
Method
Stored
@5
@1
Pre
SpecTTTra
No update
0
24.0±5.2
14.5
17.3
Fine-tuning
0
30.0±3.0
17.3
17.8
EWC
0
37.8±6.4
20.5
20.1
Replay
550
74.5±2.1
53.1
24.8
Retraining
3,300
81.4±1.0
56.0
27.4
Table 3: Continual comparison, last step, mean ( ± SD) over five orders. @5, @1: \textscPost(T) as TPR at 5% , 1% FPR. Pre: mean of \textscPre(t) over t=2,…,T , as TPR at 5% FPR. Stored: tracks of earlier generators kept for updates.
Method
Stored
@5
@1
FPR
New
Old
Attr.
One classifier
Retrained
3,300
95.7
77.7
5.2
82.3
97.1
×
Replay
550
92.9
73.9
6.0
80.0
96.3
×
Fine-tuned
0
84.4
66.0
5.6
86.3
96.0
×
Class means
0
9.3
4.8
5.1
5.0
5.7
✓
IncrementDET
0
97.2
90.8
3.5
93.2
99.2
✓
Table 4: IncrementDET and one classifier on the same frozen MuQ features. @5, @1, FPR: last step of the continual comparison, mean over five orders, where FPR is measured on Htest at the 5% target. New, Old: TPR at 5% FPR when a new generator arrives with 25 tracks, on that generator and on the other eleven, mean over twelve generators. Stored: tracks of earlier generators kept for updates. Attr.: attributes a detected track to its generator.
IncrementDET
Fine-tune
Replay
N
New
Old
New
Old
New
Old
0
68.0
99.4
40.6
94.8
40.6
94.8
25
93.2
99.2
84.6
43.1
58.5
91.3
50
96.7
99.2
89.7
45.6
71.4
92.0
100
97.3
99.2
93.7
48.4
81.4
91.0
300
98.4
99.2
96.2
50.6
90.8
90.7
Table 5: Enrollment with N samples. TPR at 5% FPR in percent, mean over the twelve held-out generators. New: the held-out generator. Old: the other eleven generators. N=0 is the model before the update. For SpecTTTra, it comes from a separate inference run and differs slightly from Tab. 2 .
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Generator
Version
Source
Released
License or terms
MusicGen [ 12 ]
medium
FMC
2023-06
Code MIT, weights CC BY-NC 4.0
AudioLDM2 [ 33 ]
music checkpoint
FMC
2023-08
CC BY-NC-SA 4.0
MusicLDM [ 8 ]
–
FMC
2023-08
CC BY-NC-SA 4.0
Mustango [ 36 ]
–
FMC
2023-11
Code MIT, weights Apache 2.0
Stable Audio Open [ 17 ]
1.0
FMC
2024-06
Stability AI Community License
InspireMusic [ 52 ]
1.5B-Long
Ours
2025-01
Code Apache 2.0
Appendix
Table S1: Generators in their order of arrival. Released: public release of the version that we use (year and month), which can be later than the first release of the generator. FMC: FakeMusicCaps. SAI CL: Stability AI Community License.
Generated
Human
Split
per gen.
Jam.
FMA
Pix.
MTAT
Total
Fitting ( Hfit )
800
4,125
2,440
2,000
235
8,800
Model selection
–
1,159
686
296
59
2,200
Calibration ( Hcal )
–
1,053
623
270
54
2,000
Test ( Htest )
200
933
553
460
54
2,000
Held-out ( Hnew )
–
other sources
815
Appendix
Table S2: Data splits. Generated: tracks per generator. Human: tracks per source. Jam.: Jamendo; Pix.: Pixabay; MTAT: MagnaTagATune. The held-out set Hnew comes from ccMixter ( 365 ) and the Internet Archive netlabels collection ( 450 ).
Encoder
Within
Across
Gap
Spearman ρ
MuQ [ 56 ]
0.460
0.202
+0.26
−0.92
MERT [ 32 ]
0.294
0.109
+0.19
−0.88
wav2vec 2.0 [ 4 ]
0.220
0.098
+0.12
−0.77
XLS-R [ 3 ]
0.243
0.117
+0.13
−0.92
EnCodec [ 16 ]
0.123
0.079
+0.04
−0.47
Appendix
Table S3: Geometry of needle directions: cosine similarity within and across families (mean over layers), and Spearman ρ between similarity and transfer EER.
Detector
R
1
2
3
4
Mean
SpecTTTra, no update
29.8
25.6
14.8
22.5
27.5
24.0
SpecTTTra, fine-tuning
28.5
27.7
35.9
29.7
28.2
30.0
SpecTTTra, RegO
29.5
27.3
31.6
34.0
26.0
29.7
SpecTTTra, EWC
29.1
38.5
47.2
41.6
32.5
37.8
SpecTTTra, replay
72.2
76.5
76.5
75.4
71.9
74.5
SpecTTTra, retraining
81.4
81.7
79.9
81.2
83.0
81.4
Appendix
Table S4: TPR at 5% FPR on all twelve generators after the last step, per generator order. R: the order of Tab. 1 . 1–4: random orders.
Detector
Update
@5
@1
Pre
MuQ + linear classifier
Fine-tuning
85.6±0.4
67.4
59.7
RegO
83.9±1.0
64.3
58.6
RAWM
44.7±3.5
31.8
40.4
SpecTTTra
Fine-tuning
30.0±3.0
17.3
17.8
RegO
29.7±2.9
17.1
17.3
IncrementDET
–
97.2±0.0
90.8
57.2
Appendix
Table S5: Continual-learning methods for speech deepfake detection, last step of the continual comparison, mean ( ± SD) over the five orders. No method stores tracks of earlier generators.
Experiment
Against
TPR@5
TPR@1
Continual
ST retraining
+15.8[13.2,18.2]
+33.3[27.3,42.3]
ST replay
+25.0[22.1,28.4]
+41.8[34.4,54.4]
MuQ retraining
+1.5[−0.2,2.9]
+13.0[6.0,19.8]
Held-out
ST
+27.5[24.6,30.5]
+33.0[28.1,37.5]
N=25
Fine-tuning
+8.7[6.0,11.1]
–
N=700
Fine-tuning
+1.6[−0.3,2.4]
–
Appendix
Table S6 : Differences between IncrementDET and other detectors with 95% bootstrap confidence intervals, in percentage points. Continual: last step of the order of Tab. 1 . Held-out: mean over the twelve rounds of the leave-one-generator-out comparison. N : new generator enrolled with N tracks, mean over the twelve rounds ( Tab. 5 ). ST: SpecTTTra. MuQ: one linear classifier on the MuQ features ( Tab. 4 ).
Fitting
Calibration
@5
@1
EER
FPR
MTAT
Held-out
Mixed
Mixed
97.2
90.8
1.9
3.5
0.0
6.9
Jamendo
Mixed
97.1
89.9
2.5
4.3
16.7
5.8
FMA
Mixed
96.0
87.5
2.8
3.8
24.1
2.9
Jamendo
Jamendo
96.4
89.4
2.8
6.9
70.4
7.7
FMA
FMA
98.9
93.5
2.8
11.2
74.1
8.7
Appendix
Table S7: Human data for training and calibrating the needles, last step of the continual comparison. TPR and EER are means over the twelve generators. FPR at the 5% target on Htest (all sources and MagnaTagATune only) and on Hnew . All values in percent.
MP3 (kbit/s)
Resample
Shelf (dB)
Clean
128
64
11 kHz
+6
−6
EER
IncrementDET
1.9
9.2
9.2
14.3
2.1
2.0
Retrain
9.3
21.5
21.5
24.5
9.8
9.7
Replay
13.5
26.0
25.8
29.6
14.1
14.1
EWC
29.7
30.4
30.4
37.3
30.8
30.3
Appendix
Table S8: Robustness of the models of the last step of the continual comparison. Top: EER, mean over the twelve generators. Bottom: false-positive rate on human test tracks at the 5% target, with thresholds set on the clean calibration set. All values in percent.
Clean
MP3
Resample
Low +6
High −6
IncrementDET
96.6
93.2
84.1
96.6
96.8
Retrain
84.1
49.4
44.8
83.5
82.8
Replay
74.2
34.0
32.1
70.5
72.4
EWC
28.8
26.4
18.3
28.2
28.4
Fine-tune
28.7
23.3
22.7
28.0
29.0
No update
30.5
14.0
18.8
27.6
27.4
Appendix
Table S9: Robustness of the models of the last step of the continual comparison. Mean TPR at 5% FPR over the twelve generators, with thresholds set on degraded human tracks. MP3 at 128 kbit/s. All values in percent.