KISS algorithm for AI music Detection

Me: I propose a simple algorithm for AI detection.

def is_created_by_ai(audio: Audio) -> bool:
    return audio.time_created >= datetime(2023, 1, 1)

My colleague: That may work, but is not resistent enough to adversarial attacks.

Me: Then it’s enough to have all audio files produced before that date and check against them as well. 

My colleague: That may work, but is not resistent enough to adversarial attacks. Someone may cut a 30 second version!

Me: That will only add one order of magnitude of time complexity for the check against the collection.

My colleague: That may work, but the adversarial attacker may create a real piece of new non-ai music!

Me: Ok, I surrender. That was accounted for in the originally proposed algorithm though.

published: 2023-05-25
last modified: 2023-06-03

https://vit.baisa.cz/notes/blog/ai-music-detection-algorithm/