Abstract
We consider a setting where users interact with a collection of N items on an online platform. We are given class labels possibly corrupted by noise, and we seek to recover the true class of each item. We postulate a simple probabilistic model of the interactions between users and items, based on the assumption that users interact with classes in different proportions. We then develop a message-passing algorithm that decodes the noisy class labels efficiently. Under suitable assumptions, our method provably recovers all items’ true classes in the large N limit, even when the interaction graph remains sparse. Empirically, we show that our approach is effective on several practical applications, including predicting the location of businesses, the category of consumer goods, and the language of audio content.
Introduction
Metadata is the lifeblood of modern recommendation engines, yet it is frequently riddled with errors. Whether it is a restaurant's location on Yelp or a podcast's language on Spotify, noisy labels provided by third parties or users can degrade system performance. Traditional data cleaning methods—manual curation or feature-based machine learning—often fail to scale or lack sufficient item-level features. This paper introduces a third source of truth: user behavior. By leveraging the bipartite interaction graph between users and items, the authors develop a framework to automatically correct erroneous labels based on the principle that users tend to interact with specific classes of items in consistent proportions.
Methodology
The authors propose a structured probabilistic model where users possess latent "class proportions" modeled via a Dirichlet distribution. For instance, a user might have a high preference for "Tech" content and a lower preference for "Cooking." To perform inference at scale, they derive a Coordinate Ascent Variational Inference (CAVI) algorithm. This iterative message-passing process consists of two primary steps: a User Update, which refines the estimate of a user’s class preferences based on the current labels of items they have interacted with, and an Item Update, which refines an item’s true class estimate based on the preferences of its users.
Theoretical analysis using a Sparse & Biased Interaction Model (SBM) proves that this method achieves "perfect recovery"—finding the true class for every item—with high probability once the number of users reaches $O(N \log N)$. This result indicates that the method is order-optimal, requiring only enough users to ensure sufficient connectivity in the interaction graph.
Experimental Results
The approach was evaluated on synthetic datasets and large-scale real-world applications, including Stack Overflow, Yelp, Amazon, and Spotify Podcasts. On a proprietary Spotify dataset comprising 114,000 podcasts and 43 million users, CAVI achieved a 4.8x reduction in error rate for language identification compared to producer-provided metadata.
In Yelp experiments, the algorithm remained effective even when 80% of initial labels were corrupted. Manual verification of disagreements between the algorithm and the original labels often revealed that the algorithm was correct, highlighting its utility as a data-cleaning tool. Furthermore, the algorithm is highly parallelizable; a reference implementation processed 120 million edges in approximately two minutes per iteration on a standard laptop, consistently outperforming heuristics like the Weighted-vote Relational Neighbor (wvRN).
Discussion and Conclusion
While the model demonstrates significant robustness and scalability, it currently assumes uniform noise across classes and static user preferences. Future work could address class-conditional noise (e.g., mislabeling "Spanish" as "Portuguese") and evolving user interests over time. Additionally, the "cold start" problem remains, as items with no interactions must rely on their initial noisy labels. Despite these limitations, collaborative classification offers a powerful, behavior-driven alternative to traditional metadata management, capable of achieving near-perfect accuracy in sparse, real-world networks.
Reference: Maystre, L., Kumarappan, N., Bütepage, J., & Lalmas, M. (2021). Collaborative Classification from Noisy Labels. Proceedings of the 24th International Conference on Artificial Intelligence and Statistics (AISTATS).
Summary updated