The Ethics of Spotify’s Machine Learning Algorithm for the Personalization of Song Recommendations
Shray Dewan
1
Search
Home
Library
Data Ethics
01
02
03
04
Table of Contents
Executive Summary
Context & Problem
Ethical Analysis
Guidelines
2
2:00 min
6:00 min
6:00 min
6:00 min
Executive Summary
01
3
Search
Home
Library
Data Ethics
1 Executive Summary
4
1 Executive Summary (cont’d)
5
Context & Problem
02
6
Search
Home
Library
Data Ethics
2.1 Music Streaming Industry
7
2.2 Spotify
8
2.2 Spotify
9
2.3 Spotify’s Algorithm: Breakdown
10
2.3 Spotify’s Algorithm: Variables
11
Collaborative Filtering (Exploitation) | Collaborative Filtering (Exploration) | Content-Based Filtering |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.3 Spotify’s Algorithm: Example
Original Playlist
Order by
12
# | Title | Album | Date | Duration | |
1 | | The Predatory Wasp of… Sufjan Stevens | Illinois | Jul 3, 2022 | 5:23 |
2 | | Are You Even Real? James Blake | Are You Even Real? | Aug 4, 2022 | 3:52 |
3 | | GINGER BROCKHAMPTON | GINGER | Sep 7, 2022 | 3:54 |
4 | | Baby Boy Kevin Abstract | ARIZONA BABY | Jul 2, 2022 | 3:32 |
5 | | Reach Out Sufjan Stevens, Angelo De Augustine | A Beginner’s Mind | Oct 1, 2022 | 3:43 |
2.3 Spotify’s Algorithm: Example
Original Playlist
Order by
13
(-60, 0)
(0,1)
(0,1)
(0,1)
(0,1)
(0,100)
(47, 53)
MED
(0.29, 0.75)
LOW-MED
(0.31, 0.71)
MED
(-14.30, -5.14)
LOW-MED
(0.11, 0.40)
LOW
(0.20, 0.43)
LOW
(72, 170)
MED
2.3 Spotify’s Algorithm: Example
Enhanced Songs
Order by
14
# | Title | Album | Date | Duration | |
1 | | PDLIF Bon Iver | PDLIF | May 11, 2023 | 2:57 |
2 | | Fangs Matt Champion | Fangs | May 11, 2023 | 3:54 |
3 | | NO HALO BROCKHAMPTON | GINGER | May 11, 2023 | 4:20 |
4 | | iMi Bon Iver | i,i | May 11, 2023 | 3:16 |
5 | | Mile High (feat. Travis…) James Blake, Travis Scott, Metro Boo… | Assume Form | May 11, 2023 | 3:14 |
2.3 Spotify’s Algorithm: Example
Enhanced Songs: Why
Order by
15
# | Title | Possible Recommendation Reason | Prev. Liked | |
1 | | PDLIF Bon Iver | Liked songs by artist in past | |
2 | | Fangs Matt Champion | Matt Champion is a member of BROCKHAMPTON, like Kevin Abstract | |
3 | | NO HALO BROCKHAMPTON | Had a different GINGER song in original playlist | |
4 | | iMi Bon Iver | Liked songs by artist in past | |
5 | | Mile High (feat. Travis…) James Blake, Travis Scott, Metro Boo… | Had James Blake song in original playlist | |
2.3 Spotify’s Algorithm: Example
Enhanced Songs: Why
Order by
16
2.3 Spotify’s Algorithm: Example
Enhanced Songs: Why
Order by
17
2.4 Problems with Algorithm
18
Ethical Analysis
03
19
Search
Home
Library
Data Ethics
3.1 Privacy
20
3.1 Privacy (cont’d)
“Pole applied his program to every regular female shopper in Target’s national database and soon had a list of tens of thousands of women who were most likely pregnant. If they could entice those women or their husbands to visit Target and buy baby-related products, the company’s cue-routine-reward calculators could kick in and start pushing them to buy groceries, bathing suits, toys and clothing, as well.”1
1 Charles Duhigg, “How Companies Learn Your Secrets,” New York Times, February 16, 2012, https://www.nytimes.com/2012/02/19/magazine/shopping-habits.html.
21
3.1 Privacy (cont’d)
22
3.2 Classification
2 Geoffrey C. Bowker, and Susan Leigh Star, “Introduction: To Classify is Human,” in Sorting Things Out: Classification and Its Consequences (The MIT Press, 2000), 10-1.
23
3.2 Classification (cont’d)
24
3.2 Classification (cont’d)
25
3.3 Music “Echo Chambers”
3 C. Thi Nguyen, “How Twitter Gamifies Communication,” Forthcoming in Applied Epistemology, ed. Jennifer Lackey (OUP): 31.
26
3.3 Music “Echo Chambers” (cont’d)
27
3.3 Music “Echo Chambers” (cont’d)
28
3.4 Gamification for Artists
4 Nguyen, “How Twitter Gamifies Communication,” 3.
29
3.4 Gamification for Artists
30
3.4 Gamification for Artists
31
3.4 Gamification for Artists
5 Nguyen, “How Twitter Gamifies Communication,” 21.
32
3.4 Gamification for Artists
33
3.5 Transparency over Accountability
5 Mike Ananny and Crawford, Kate, “Seeing without knowing: Limitations of the transparency ideal and its application to algorithmic accountability,” new media & society 20, no. 3 (2018): 978.
34
3.6 Ethical Questions Summary
35
Guidelines
04
36
Search
Home
Library
Data Ethics
4.1 Privacy
37
4.2 Music “Echo Chambers”
38
4.3 Gamification for Artists
39
References
05
40
Search
Home
Library
Data Ethics
5.1 References
Ananny, Mike, and Crawford, Kate. “Seeing without knowing: Limitations of the transparency ideal and its application to algorithmic accountability.” new media & society 20, no. 3 (2018): 973-89.
Bowker, Geoffrey C., and Susan Leigh Star. “Introduction: To Classify is Human.” In Sorting Things Out: Classification and Its Consequences, 1-28. The MIT Press, 2000.
Duhigg, Charles. “How Companies Learn Your Secrets.” New York Times, February 16, 2012. https://www.nytimes.com/2012/02/19/magazine/shopping-habits.html.
krn6. “The End of an Era: The Death of the Album and Its Unintended Effects.” Gnovis Journal, February 28, 2014.
Marius, Hucker. “Uncovering How the Spotify Algorithm Works.” Towards Data Science, November 23, 2021.
Michell, Tay. “Spotify's Algorithm: Helping Or Hurting Musicians?” Arts Management & Technology Laboratory, April 28, 2022.
Nguyen, C. Thi. “How Twitter Gamifies Communication.” Forthcoming in Applied Epistemology, ed. Jennifer Lackey (OUP): 1-40.
Platinga, Bo. “What do Spotify’s audio features tell us about this year’s Eurovision Song Contest?” Medium, April 28, 2018.
Spotify for Developers. “Get Track's Audio Analysis.” Accessed May 11, 2023. https://developer.spotify.com/documentation/web-api/reference/get-audio-analysis.
Tirumala, Sameer. “APIs Zero to Hero: ft. Spotify.” Medium, September 27, 2022.
Wall Street Journal, “Spotify Breaks Down the Mapping Tech Behind Its Algorithm.” April 17, 2023.
41