Computers crack the code of pop-song success

It helps to be “happy” and “female.”

  • By Karen Kaplan Los Angeles Times (TNS)
  • Wednesday, May 16, 2018 7:14pm
  • Life

By Karen Kaplan / Los Angeles Times

LOS ANGELES — If you find it hard to predict which songs are destined for pop-chart success and which will flop, try asking a computer.

After analyzing the attributes of more than half a million songs released over a period of 30 years, a computer algorithm was able to sort the successful songs from also-rans with an accuracy of up to 86 percent.

A team of mathematicians from UC Irvine described how — and why — it accomplished this feat in a study published in Wednesday’s edition of the journal Royal Society Open Science.

ADVERTISEMENT
0 seconds of 0 secondsVolume 0%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
00:00
 

“There is something magical about music,” wrote the team, which was led by students Myra Interiano, Kamyar Kazemi and Lijia Wang. “Scientists have been trying to disentangle the magic and explain what it is that makes us love some music, hate other music and just listen to music.”

For the purposes of the study, the UCI team considered a song a “success” if it made it onto the Top 100 Singles Chart in the United Kingdom between January 1985 and July 2015. They compared these successes with all other songs that were released in the U.K. during that time period.

To quantify the acoustic properties of these 500,000 or so songs, Interiano and her colleagues relied on crowd-sourced data from two projects of the MetaBrainz Foundation — MusicBrainz and AcousticBrainz.

This data classified songs according to 12 acoustic properties, including whether they are sung by a man or woman, are happy or sad, and are acoustic or electronic, among other attributes. Songs are also categorized according to their mood and genre, such as hip-hop, blues, country and house music.

Less than 4 percent of songs in the entire sample found their way onto the Top 100 Singles Chart. To see what set these songs apart, they employed a machine learning method known as the “random forest” algorithm to crunch through all the data.

Sure enough, some noteworthy patterns emerged.

“Successful songs are happier, brighter, more party-like, more danceable and less sad than most songs,” the team wrote.

That may sound like an obvious recipe for pop-music success. But it actually went against the dominant musical trends.

Over the decades, songs exhibited “a clear downward trend in ‘happiness’ and ‘brightness,’ as well as a slight upward trend in ‘sadness,’” the study authors reported. “The public seems to prefer happier songs, even though more and more unhappy songs are being released each year.”

That observation matched up with previous studies of song lyrics that found they contained fewer “positive emotions” and made more references to loneliness and social isolation as the years went by.

“It is interesting that, in this particular instance, acoustic characteristics of songs indicate similar patterns to those uncovered in lyrics,” the researchers wrote.

In addition, the successful songs in a given year tended to be less “male” than other songs released at the same time, according to the study.

To test the strength of their algorithm, they asked it to assess 1,052 songs that were released in 2014 and predict which of them charted and which of them were also-rans.

When the algorithm used song data from 2009 to 2013 as a guide, it was able to make the correct guess 75 percent of the time, the researchers reported.

The accuracy got even better when the researchers included a non-acoustic variable — the “superstar” factor.

An artist was deemed a superstar if he or she had a song on the charts in the previous five years. In a given year, somewhere between one-half and two-thirds of successful songs were from superstar artists. That compared with no more than 2 percent of songs in the larger pool that didn’t make the charts.

When the purely acoustic data were combined with the superstar data, the algorithm correctly identified successful songs 85 percent of the time. The accuracy improved to 86 percent when the algorithm trained itself on songs going back to 2004.

Even with this success rate, there are still limits on what computers can do, the team cautioned.

“We can see that, in general, successful songs are, for example, ‘happier,’ more ‘party-like,’ less ‘relaxed’ and more ‘female’ than most,” they concluded. But “this does not necessarily allow us to naively predict that a particular ‘happy, party-like, not relaxed’ song sung by a female is going to succeed.”

Talk to us

> Give us your news tips.

> Send us a letter to the editor.

> More Herald contact information.

More in Life

Kyle Parker paddles his canoe along the Snohomish River next to Langus Riverfront Park on Thursday, May 8, 2025 in Everett, Washington. (Olivia Vanni / The Herald)
Tip to Tip: Kyle Parker begins his canoe journey across the country

The 24-year-old canoe fanatic started in Neah Bay and is making his way up the Skykomish River.

Photo courtesy of Historic Everett Theatre
The Elvis Challenge takes place Saturday at the Historic Everett Theatre.
A&E Calendar for May 8

Send calendar submissions to features@heraldnet.com. To ensure your item is seen by… Continue reading

Photo provided by Subaru U.S. Media Center
Subaru Adds Bronze And Onyx Trims to 2025 Ascent

Three-Row Family SUV Delivers Equal Parts Safety And Comfort

The 2025 Hyundai Santa Fe Hybrid SUV (Provided by Hyundai).
2025 Hyundai Santa Fe Hybrid evokes outdoor adventure

Boxy styling leaves lots of room for gear. A refined ride ensures comfort around town.

The 2025 Toyota Sienna minivan in the top-level Platinum grade (Provided by Toyota).
2025 Toyota Sienna maintains reputation for fuel efficiency

Every model in the minivan’s lineup has a hybrid powertrain.

An autumn-themed display at Wagner Jewelers in Marysville. (Olivia Vanni / The Herald)
Shine bright with Snohomish County’s top jewelry finds

Three dazzling shops where elegance, craft, and sparkle come together.

The 2025 Lexus TX 350 is a three-row luxury SUV. It’s offered in Base, Premium, Luxury, and F Sport Handling grades (Provided by Lexus).
2025 Lexus TX 350 welcomes new F Sport Handling model

Unique exterior highlights, a glass roof and sport-tuned suspension are among the attractions.

Hybrid Touring Photo Provided by Subaru U.S. Media Center
2025 Subaru Forester Hybrid Increases Fuel Economy And Range

Sixth-Generation Model Receives Complete Refresh

Image from Pexels.com
Top 3 Cannabis Shops You’ll Love in Snohomish County

Looking for quality products and good energy? Let’s discover the top spots.

Image from Canva.com
Chic & unique: The top 3 boutiques in Snohomish County you need to visit

From trendy finds to timeless pieces, discover the hidden gems that are redefining local fashion.

Image from Canva.com
Find your next favorite read in Snohomish County

Explore three of the finest bookshops where stories and community come together

Image from Canva.com
Say “I Do” to these stunning wedding venues

From rustic barns to elegant halls, discover where love stories in Snohomish County begin.

Support local journalism

If you value local news, make a gift now to support the trusted journalism you get in The Daily Herald. Donations processed in this system are not tax deductible.