Rank a Personalized Feed of Community Songs

Last updated: November 29, 2026

Quick Overview

Suno shows users a feed of songs made by other creators. Design the recommendation system that picks which public songs to show each listener, balancing listening quality, creator fairness for new songs, and the fact that millions of new songs arrive every day with no play history.

Suno
ML System Design
Machine Learning Engineer
Suno
November 29, 2026
Machine Learning Engineer
Onsite
ML System Design
Hard

0

0

0 solved


Suno shows users a feed of songs made by other creators. Design the recommendation system that picks which public songs to show each listener, balancing listening quality, creator fairness for new songs, and the fact that millions of new songs arrive every day with no play history.

Discovery keeps listeners and creators coming back, and Suno's catalog grows far faster than any streaming service's. The interviewer looks for a candidate generation plus ranking design, a cold-start plan that uses audio and prompt content, and objectives beyond raw clicks.

What the Interviewer Expects
  • Define the objective (completed listens, likes, follows) and guardrails
  • Multiple candidate sources including content-based for new songs
  • Use audio and prompt/tag embeddings for cold start
  • A ranking model with exploration for fresh songs
  • Diversity and creator fairness constraints at re-ranking
  • Offline metrics plus online A/B with long-term measures
Key Topics to Cover
Recommender systems
Cold start
Audio embeddings
Exploration and bandits
Ranking objectives
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How would you stop the feed from filling with near-duplicate songs from one prompt?
  • How do you detect and down-rank engagement farming?
  • How would you measure whether the feed makes listeners create more?
  • How do you allocate exploration impressions to new songs fairly?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

Serve a ranked feed per listener in under 200 ms. Catalog: hundreds of millions of public songs, millions new per day. Objectives: listener satisfaction (listen past 30 s, full plays, likes, adds to p...

High-Level Design

Offline: compute song embeddings from audio (a music encoder), text (prompt, tags, title, lyrics) and behavior (co-listening), and user embeddings from listening history. Candidate generation pulls ab...


Submit Your Answer
Markdown supported

Related Questions