genuinote / README.md
Boazcohen's picture
Genuinote 0.1.0: model, config, card, self-test samples
7211884 verified
|
Raw History Blame Contribute Delete
5.31 kB
metadata
license: apache-2.0
library_name: onnx
pipeline_tag: audio-classification
tags:
  - ai-music-detection
  - synthetic-music
  - suno
  - udio
  - deepfake-detection
  - onnx
  - music
datasets:
  - humair025/suno-audio
  - webshart/suno-various-94k
  - blanchon/udio_dataset
  - rkstgr/mtg-jamendo
  - philgzl/fma-medium

Genuinote

A small model that estimates whether a song was generated by an AI music service (Suno, Udio and similar) from the audio alone. It's built to scan your own music library on a CPU: pip install genuinote.

  • Input: 10 s of mono audio at 32 kHz (float32 in [-1, 1]), shape [batch, 320000], named audio.
  • Output: logit, one per clip. Above 0 leans AI-generated.
  • Song verdict: average the logits of 4 clips spread over 10-90 % of the song, then compare with the thresholds in config.json: likely (about 0.5 % of human songs in validation score above it) and possible (about 2 %).
  • Size and speed: 1.9 M parameters, 11.7 MB ONNX, about 0.1 s of model time per song on a desktop CPU. The STFT is a fixed convolution inside the graph, so it runs anywhere ONNX Runtime does, including the browser (demo).

Results

Held-out test songs, split by creator or artist so no one appears in both training and test:

Songs Flagged likely AI Likely or possibly AI
Suno v3 (539) 100% 100%
Suno v4.5 to v5.5, 2026 (633) 99.4% 99.7%
Udio (613) 99.8% 100%
ACE-Step 1.5 (never seen in training) (800) 78.5% 95.8%
Human: Jamendo (Creative Commons) (962) 0.0% 0.0%
Human: Free Music Archive (1,399) 0.5% 2.5%
Human: commercial CD clips (GTZAN, 10 genres) (999) 1.2% 8.2%

On the commercial clips, classical (3 % likely AI, 22 % likely or possibly) and reggae (5 % / 27 %) were misjudged most; the other eight genres stayed at 0-1 % likely AI. GTZAN was used only for this check, never for training.

Codec robustness (the same test songs re-encoded before scoring, share flagged likely AI):

Re-encoded as Suno v3 Suno v4.5-v5.5 Udio ACE-Step Human (Jamendo + FMA)
unchanged 100 % 99.3 % 100 % 77.3 % 0.0 %
Opus 96k 100 % 99.3 % 100 % 81.3 % 0.0 %
MP3 128k 100 % 99.3 % 100 % 78.0 % 0.0 %
AAC 128k 100 % 99.3 % 100 % 76.0 % 0.0 %
22 kHz (no highs) 100 % 99.3 % 100 % 57.3 % 0.0 %
MP3 64k 95.3 % 85.3 % 92.7 % 22.0 % 0.0 %

(150 test songs per source.) Low-bitrate files hide some of what it listens for, so expect more misses on 64k MP3s.

Limits

  • A statistical guess, not proof. Don't use it to accuse an artist.
  • Generators: trained on Suno v3 through v5.5 and Udio. ACE-Step was kept out of training entirely to measure an unseen generator. New generators and versions can slip past.
  • Human music in training is Creative Commons music (Jamendo, Free Music Archive). Commercially mastered pop, classical and older recordings are under-represented, and the most likely to be misjudged. The public-domain US Marine Band recording used by the self-test scores 46, just under the possible line (50).
  • Partly-AI songs (AI vocals on a human backing track, or the reverse) aren't covered.

Training

A small CNN on a log-power spectrogram (1024-point STFT, hop 512) with per-clip normalisation, trained for 12 epochs on 80 k clips (2 random 10 s clips per song) on one Colab L4 GPU. Every training clip went through a random MP3, AAC or Opus re-encode, both classes alike, and a random spectral tilt was applied during training, so file format and mastering EQ can't decide the answer. Sampling balanced the classes and the sources within each class. The training code and a Colab notebook are in train/.

Source Label License Songs used
humair025/suno-audio AI (Suno v3) MIT 6,000
webshart/suno-various-94k originals AI (Suno v4.5-v5.5) see card 7,000
blanchon/udio_dataset AI (Udio) CC0 6,000
webshart/suno-various-94k covers AI (ACE-Step 1.5), test only see card 800
MTG-Jamendo via rkstgr/mtg-jamendo human CC (per track) 12,000
FMA medium via philgzl/fma-medium human CC (per track) 14,000

Files

  • model.onnx: the model (fp32).
  • config.json: sample rate, clip length, crop positions, thresholds, and the test results above.
  • samples/ai.mp3: 60 s from an Udio song in the test split ("Atmospheric Resonance", from blanchon/udio_dataset, CC0).
  • samples/human.mp3: 60 s of Scott Joplin's "Sunflower Slow Drag" performed by the United States Marine Band (public domain, via Wikimedia Commons).

License

Weights: Apache-2.0. Code: MIT. The training data keeps its own licenses.