Fast Generation of Optimal Music Playlists using Local Search

We present an algorithm for use in an interactive music system that automatically generates music playlists that fit the music preferences given by a user. To this end, we introduce a formal model, define the problem of automatic playlist generation (APG) and indicate its NP-hardness. We use a local search (LS) procedure based on simulated annealing (SA) to solve the APG problem. In order to employ this LS procedure, we introduce an optimization variant of the APG problem, which includes the definition of penalty functions and a neighborhood structure. To improve upon the performance of the standard SA algorithm, we incorporated three heuristics referred to as song domain reduction, partial constraint voting, and two-level neighborhood structure. In tests, LS performed better than a constraint satisfaction (CS) solution in terms of run time, scalability and playlist quality.

[1]  A. H. Tewfik,et al.  A network flow model for playlist generation , 2001 .

[2]  François Pachet,et al.  A Combinatorial Approach to Content-Based Music Selection , 2000, IEEE Multim..

[3]  Steffen Pauws,et al.  Music playlist generation by adapted simulated annealing , 2008, Inf. Sci..

[4]  Ahmed H. Tewfik,et al.  A network flow model for playlist generation , 2001, IEEE International Conference on Multimedia and Expo, 2001. ICME 2001..

[5]  Steffen Pauws,et al.  User Evaluation of a New Interactive Playlist Generation Concept , 2005, ISMIR.

[6]  Edward P. K. Tsang,et al.  Foundations of constraint satisfaction , 1993, Computation in cognitive science.

[7]  François Pachet,et al.  Scaling up music playlist generation , 2002, Proceedings. IEEE International Conference on Multimedia and Expo.

[8]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[9]  C. D. Gelatt,et al.  Optimization by Simulated Annealing , 1983, Science.

[10]  Yves Crama,et al.  Local Search in Combinatorial Optimization , 2018, Artificial Neural Networks.