They have millions of users and they use aggregated data from all of them to manage the automatic categories.