Live data from Hacker News

Show HN: I trained an AI model on 120M+ songs from iTunes

maroofy.com

341–350 of 444 posts

Re: Show HN: I trained an AI model on 120M+ songs from iTunes

#342
Possibly an unpopular opinion (which is ironic), but I think this could do with taking popularity into account. The vast majority of music out there is generic landfill at best, and just outright bad at worst. I think once you've done the first pass and got the sonically similar songs there should be some kind of filter which prioritises tracks with higher listener counts which would inject some 'wisdom of crowds' into the decision making. It would be a pretty cool feature to then be able to have this setting on a slider with obscure at one end and popular at the other.

Re: Show HN: I trained an AI model on 120M+ songs from iTunes

#344
Finding sources for input data is something I struggle with when building deep learning models. Out of curiosity, how did you go about programmatically accessing the music files for all 120M+ songs, in order to create your embedding vector? I can't imagine iTunes has an API which would let a person do that.

Re: Show HN: I trained an AI model on 120M+ songs from iTunes

#345
post #24

This is very interesting, but unfortunately I haven't had the greatest luck in finding new songs I would enjoy listening to. It absolutely finds similar sounding tracks, but it doesn't distinguish which part of the song made it enjoyable. There's no tempo consistency or genre consistency or even main instrument/vocal timbre consistency between recommendations. I think locking one or more of those dimensions would all…

I agree with everyone's criticisms that it seems to identify similar tempo and melodic riff, irrespective of genre. But to me this is a feature, not a bug. I could see this or something like it opening my eyes to music I would never possibly have found on my own. I really like it! Spotify on the other hand seems to want to send me to the same group of artists and tracks I've listened to before, following some Collatz…

It’s a pretty cool idea and gets to a philosophical question really quick “what do people mean when they say they like similar music?”

Era? Artist? Genre? Sound? Tempo?

Personally I spend my time finding similar-era music because I like to hear how sounds evolved.

Re: Show HN: I trained an AI model on 120M+ songs from iTunes

#346
post #234

Earlier quoted context omitted.

Discogs is great, it just doesn't concern it self with how the music sounds...

Which is unfortunate because it has (on a tiny number of releases) instruments and vocal tags. It's just so unreliable. AllMusic is another decent source for tags, but not instruments. It's the age-old problem with ML/AI: data quality. Garbage in, garbage out. If only we could crowd-sourcev listeners and get them to tag music from a list of available moods, instruments etc. Oh wait .. that's exactly the feature that…

User tagging isn't a panacea either, because people tag inconsistently, and people who tag a lot are probably not very representative.

For an extreme example of that, see the boorus. Some machine learning people have become interested in those, since they are huge dataset of extensively tagged material ... or maybe it's the booru people who have become more interested in machine learning. Either way, I'm sure they're great, if you're into waifu anime, porn, or waifu anime porn. Both types, country AND western, as they said in the Blues Brothers movie. Any tag remotely subjective (such as "beautiful", God help you) is going to be extremely coloured by the tastes of an extreme fringe.

At least, relying on fanatics to do the work for them, I assume they've got a handle on simple spam on the boorus. Commercial recommender service tagging systems don't have that luxury, and that's probably why they end up eventually removing them.

Re: Show HN: I trained an AI model on 120M+ songs from iTunes

#347

Finding sources for input data is something I struggle with when building deep learning models. Out of curiosity, how did you go about programmatically accessing the music files for all 120M+ songs, in order to create your embedding vector? I can't imagine iTunes has an API which would let a person do that.

Good reminder of the value of Adversarial Interoperability https://www.eff.org/deeplinks/2019/10/adversarial-interopera...

Re: Show HN: I trained an AI model on 120M+ songs from iTunes

#348
post #33
post #24

This is very interesting, but unfortunately I haven't had the greatest luck in finding new songs I would enjoy listening to. It absolutely finds similar sounding tracks, but it doesn't distinguish which part of the song made it enjoyable. There's no tempo consistency or genre consistency or even main instrument/vocal timbre consistency between recommendations. I think locking one or more of those dimensions would all…

Hey thanks for the feedback! I definitely have a lot of improvement to do on the model, it currently performs better for some styles/genres of music than others. But the model architecture I'm using is kinda outdated as well, gotta iterate on it more to improve it further! I'm also thinking of letting users upvote/downvote results, which can also help improve quality on the ranking side.

I don't know if someone already said this, but as an amateur music producer i would love to upload my songs and discover similarities. Thanks for this Amazing tool

Re: Show HN: I trained an AI model on 120M+ songs from iTunes

#350
There might be an interesting open source / self hosting angle to this. Some folks have a large library of music stored locally. Platforms like Roon can give you recommendations on top of this, but are expensive and include a lot of other features.

You could provide discovery services to these users in exchange for model updates and feedback. Couple thoughts on this:

- there are modern techniques to update an ML model at many edge locations, then combine the learnings without violating user privacy. One common application is type-ahead models.

- People who have large local music collections tend to care about music, and would take the time to provide high quality labels for you.

- computers used as media servers often have unused compute cycles because music playback is not that intense and most folks don’t have music on 24/7. You could harness these to reduce training costs for your model

- These libraries would give you access to the long tail of the music catalog, including many things that aren’t on iTunes or other streaming services

- This would also put you in a position to run an open music catalog. Your embedding index would be a key differentiator from existing options.

Post reply on HN