Get Free Synopsis PDF
We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.
This project builds a music recommendation system that suggests songs based on a user's listening history, skip behavior, and audio feature similarity. Implicit-feedback collaborative filtering using alternating least squares is trained on play-count and skip data, complemented by audio-feature-based similarity using tempo, energy, and danceability attributes to recommend songs with similar sonic characteristics. A React-based player interface displays personalized playlists generated from the recommendation engine.
Problem Statement
Music streaming users with access to millions of tracks often struggle to discover new songs aligned with their taste, and relying solely on manual search leads to limited catalog exploration. A behavior-driven recommendation engine combining listening patterns and audio characteristics can surface relevant new music more effectively.
Plays and skips, not star ratings
Nobody rates songs out of five. What you have is behaviour: how many times a song was played, whether it was skipped in the first 30 seconds, whether it was replayed. That is called implicit feedback, and the main idea of this project is turning those signals into a confidence score. A song played 40 times is a strong yes. A song skipped every time is a soft no. A song never played tells you almost nothing.
Check your audio feature source early
Many older tutorials pull tempo, energy and danceability from Spotify's Web API. In November 2024 Spotify announced that new apps can no longer use its audio features and recommendations endpoints, so don't plan your project around them. Use a public dataset that already includes these features (several Spotify track datasets on Kaggle do), or extract your own features such as tempo and MFCCs from audio previews with the librosa library.
Suggested build order
- Listening data: a public Last.fm listening history dataset, or logs from your own React player used by friends for a few weeks.
- Build a user-song matrix where each cell is a confidence value from plays, replays and skips. Write the formula down; examiners will ask about it.
- Train ALS for implicit feedback (the Python implicit library is a common choice) to get user and song vectors.
- Compute audio similarity between songs with cosine similarity on normalised features.
- Final playlist score: mostly ALS, plus a share of audio similarity to the songs the user played this week. Audio similarity also helps new songs that nobody has played yet.
Evaluating without real users
Hide each user's most recent listening sessions, recommend 20 songs, and measure how many hidden songs appear (precision@20 and MAP). Compare three versions: most popular songs, ALS only, and ALS plus audio. Also check diversity, for example how many different artists appear in a playlist, because a playlist with one artist ten times will score well and still feel bad.
Objectives
Prepare implicit listening behavior data including play counts and skip rates
Train an alternating least squares model for implicit-feedback collaborative filtering
Incorporate audio feature similarity for sonic-characteristic based recommendations
Build a playlist interface displaying personalized song recommendations
Evaluate recommendation quality using implicit-feedback ranking metrics
Modules
Behavior Data Preparation Module
Processes implicit listening signals such as play counts, skip rates, and replay frequency per user-song pair.
Implicit Collaborative Filtering Module
Trains an alternating least squares model to learn user and song latent factors from implicit feedback.
Audio Similarity Module
Computes similarity between songs based on audio features like tempo, energy, and danceability.
Playlist Generation Module
Combines collaborative and audio-similarity scores to generate personalized playlists.
Evaluation Module
Assesses recommendation quality using ranking metrics such as mean average precision on held-out listening sessions.
Expected Output
The system generates personalized music playlists by combining implicit listening-behavior patterns with audio-feature similarity, achieving solid ranking metrics on held-out listening data. It demonstrates how implicit feedback can be leveraged effectively when explicit ratings are unavailable.
Future Scope
Future work includes incorporating contextual signals like time of day and activity type, and experimenting with sequence-aware models that account for the order of songs within a listening session.