Hacker News new | ask | show | jobs
by user-on1 3183 days ago
so there's going to be a huge database of songs on my mobile!!! i don't think anybody asked for it... sounds like trickery... this is going to take up some storage space now...

anyone know how many gb or mb this occupies in my phone... can v jus clear this data...

2 comments

The phone is just storing song fingerprints, probably no more than a few megs for every song ever recorded. It would be great to extract the data and release it for public use.
This was my thought as well. Hopefully someone extracts this database for anyone to hack on.
I doubt it, that would be a good chunk of data for what I see as a fairly small feature.

More likely (this is a guess, nobody outside google really knows at this point), they will use federated machine learning to figure out that something is "a song", then perhaps clean up and isolate the actual "song" part of it and send that over to a google server for processing.

But again it was just announced, so nobody really knows how this works, where the data is or goes, and what tradeoffs were made.

They announced, in the talk, that this is all done locally on the phone. The phone will have a database of, iirc, 10,000 songs locally.

[edit] typos

Ah! Then I'm sure they have some way of making the data needed much smaller than I thought it could be!
They only need to store (and occasionally update) the kernel parameters for the trained deep neural net. Very small indeed.
how small, what technology is that?
I don't do neural nets, but if I had to crudely estimate... 10,000 songs (the outputs) * 16 layers * 16 parameters per node * 4 for the bytes per float = 10MB + a DB of song/artist names.

I'm probably underestimating the parameters per node, and overestimating the size of the layers closer to the input. Further, it's more likely structured as an LSTM than a convolutional network, since sound is a streaming source.