I don't know if this is (still?) true, but I've heard that user-generated playlists are their special algorithmic sauce, at least for "Discover Weekly". It's designed to take songs you're familiar with, look for them in other peoples' playlists, and fill the gaps between songs you already know about with songs that other people have filled the gaps with in their own user-generated playlists, but that you haven't heard yourself.