Fourth Industrial Revolution

Can you tell if this music was composed by artificial intelligence?

A grand piano that has been left by the East River underneath the Brooklyn Bridge is pictured in the Manhattan borough of New York May 31, 2014. According to local media, the piano has been there for a few days puzzling locals as to how it got there and the reason for its placement, perfectly under the bridge.   REUTERS/Carlo Allegri (UNITED STATES - Tags: SOCIETY) - RTR3RO17

DeepBach is capable of replicating many classical works of music. Image: REUTERS/Carlo Allegri

Dom Galeon
Writer, Futurism
Kristin Houser
Writer, Futurism
Share:
Our Impact
What's the World Economic Forum doing to accelerate action on Fourth Industrial Revolution?
The Big Picture
Explore and monitor how Innovation is affecting economies, industries and global issues
A hand holding a looking glass by a lake
Crowdsource Innovation
Get involved with our crowdsourced digital platform to deliver impact at scale
Stay up to date:

Innovation

The algorithm of music

Baroque composer Johann Sebastian Bach is known to have written many chorale cantatas, polyphonic hymns based on Lutheran texts. Each is fairly simple, featuring a single melody accompanied by three harmonies, so Gaetan Hadjeres and Francois Pachet from Sony Computer Science Laboratories in Paris thought it would be interesting to see if a machine could create chorale cantatas indistinguishable from Bach’s.

To find out, they developed a neural network they called DeepBach, and now they have an answer to their question. “After being trained on the chorale harmonizations by Johann Sebastian Bach, our model is capable of generating highly convincing chorales in the style of Bach,” Hadjeres and Pachet told MIT Technology Review.

DeepBach was trained using a data set of 352 Bach cantatas that were transposed to other keys within a predefined vocal range to create a total of 2,503 chorales. Of these, 80 percent were used to train DeepBach and the rest to validate it. After training, DeepBach was able to produce its own harmonies for alto, tenor, and bass in the style of Bach when given a soprano melody.

Most importantly, DeepBach’s compositions even fooled people. The team asked more than 1,600 people — a fourth of whom were professional musicians or music students — to listen to two distinct harmonies of the same melody. The results showed that more than half the listeners attributed DeepBach-generated harmonies to Bach, while music by Bach was correctly identified by 75 percent of the listeners. “We consider this to be a good score knowing the complexity of Bach’s compositions,” said Hadjeres and Pachet.

Loading...

What you can do, AI can do

Artificial intelligence (AI) can get into just about anything, but it’s particularly well-suited to anything mathematical — if there’s math in it, chances are you can develop an algorithm for it. Music is mathematical, and composers like Bach often made music that followed a defined, step-like flow that is almost algorithmic.

Interestingly enough, Bach’s music makes it into “Westworld,” a TV series that exploits the topic of AI. However, music isn’t the only field where AI algorithms have performed considerably well, even outperforming actual people in some cases. There are speech-recognition algorithms that outperformed human experts; psychologist AI that predicted suicidal patients, depressive behavior, and criminality; and there’s even AI dabbling in law.

Don't miss any update on this topic

Create a free account and access your personalized content collection with our latest publications and analyses.

Sign up for free

License and Republishing

World Economic Forum articles may be republished in accordance with the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License, and in accordance with our Terms of Use.

The views expressed in this article are those of the author alone and not the World Economic Forum.

Related topics:
Fourth Industrial RevolutionArts and Culture
Share:
World Economic Forum logo
Global Agenda

The Agenda Weekly

A weekly update of the most important issues driving the global agenda

Subscribe today

You can unsubscribe at any time using the link in our emails. For more details, review our privacy policy.

South Korean nuclear fusion reactor sets new record, and other technology news you need to know

Sebastian Buckup

April 19, 2024

About Us

Events

Media

Partners & Members

  • Join Us

Language Editions

Privacy Policy & Terms of Service

© 2024 World Economic Forum