Detect Uploads That Copy Protected Recordings at Scale
Last updated: November 29, 2026
Quick Overview
Users can upload audio to extend, cover or remix it. Design an ML system that detects when an upload is a copy or close derivative of a protected recording (including pitch-shifted, sped-up or re-recorded versions) before it is used, with low latency and few false blocks.
Suno
November 29, 20260
0
0 solved
Users can upload audio to extend, cover or remix it. Design an ML system that detects when an upload is a copy or close derivative of a protected recording (including pitch-shifted, sped-up or re-recorded versions) before it is used, with low latency and few false blocks.
Suno has public content safeguards and label licensing relationships, and upload-based features make copy detection a real engineering problem. The interviewer checks retrieval design (fingerprints plus learned embeddings), robustness to transformations, thresholds, and the human appeal loop.
What the Interviewer Expects
- Two tiers: exact fingerprinting and learned similarity embeddings
- Robustness to pitch, tempo, noise and re-recording via augmentation
- Approximate nearest neighbor index over a large reference catalog
- Segment-level matching with temporal consistency
- Threshold choice from precision targets and an appeal path
- Monitoring for drift and adversarial uploads
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How would you detect a cover that keeps the melody but changes every instrument?
- How do you update the index when a rights holder adds a million tracks?
- How would you evaluate recall without labels for every upload?
- How should the generated outputs, not just uploads, be checked?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Input: an uploaded clip (seconds to minutes). Output within about 2 s: allow, block, or send to review, with the matched reference and time offsets. Reference catalog: tens of millions of recordings f...
High-Level Design
Upload goes to a safety service. Stage 1: classic landmark fingerprinting (spectral peak pairs hashed with time deltas) looked up in a hash index catches exact and lightly processed copies quickly. St...