In Development: Smartphones That Can Assess Mood
Researchers at the University of Rochester are developing a new computer program that gauges human feelings through speech, with a prototype app for smartphones already created.
The program doesn’t analyze what a person is saying, but rather how.
“We actually used recordings of actors reading out the date of the month — it really doesn’t matter what they say, it’s how they’re saying it that we’re interested in,” said Wendi Heinzelman, Ph.D., professor of electrical and computer engineering.
The program analyzes 12 features of speech, such as pitch and volume, to identify one of six emotions from a sound recording. Researchers say it achieves 81 percent accuracy, a significant improvement on earlier studies that achieved only about 55 percent accuracy.
The research has already been used to develop a prototype of an app that displays either a happy or sad face after it records and analyzes the user’s voice. It was built by one of Heinzelman’s graduate students, Na Yang, during a summer internship at Microsoft Research.
“The research is still in its early days,” Heinzelman conceded, “but it is easy to envision a more complex app that could use this technology for everything from adjusting the colors displayed on your mobile (phone) to playing music fitting to how you’re feeling after recording your voice.”
Heinzelman and her team are collaborating with Rochester psychologists Drs. Melissa Sturge-Apple and Patrick Davies, who are currently studying the interactions between teenagers and their parents. “A reliable way of categorizing emotions could be very useful in our research,” Sturge-Apple said. “It would mean that a researcher doesn’t have to listen to the conversations and manually input the emotion of different people at different stages.”
Teaching a computer to understand emotions begins with recognizing how humans do it, according to the researchers.
“You might hear someone speak and think ‘oh, he sounds angry.’ But what is it that makes you think that?” said Sturge-Apple.
She explained that emotion affects the way people speak by altering the volume, pitch and even the harmonics of their speech. “We don’t pay attention to these features individually, we have just come to learn what angry sounds like — particularly for people we know,” she added.
But for a computer to categorize emotion it needs to work with measurable quantities. So the researchers established 12 specific features in speech that were measured in each recording at short intervals. The researchers then categorized each of the recordings and used them to teach the computer program what “sad,” “happy,” “fearful,” “disgusted,” or “neutral” sound like.
The system then analyzed new recordings and tried to determine whether the voice in the recording portrayed any of the known emotions. If the computer program was unable to decide between two or more emotions, it just left that recording unclassified.
“We want to be confident that when the computer thinks the recorded speech reflects a particular emotion, it is very likely it is indeed portraying this emotion,” Heinzelman said.
Previous research has shown that emotion classification systems are highly speaker-dependent, meaning they work much better if the system is trained by the same voice it will analyze. “This is not ideal for a situation where you want to be able to just run an experiment on a group of people talking and interacting, like the parents and teenagers we work with,” Sturge-Apple said.
The new results confirm this finding. If the speech-based emotion classification is used on a voice different from the one that trained the system, the accuracy dropped from 81 percent to about 30 percent. The researchers are now looking at ways of minimizing this effect by training the system with a voice in the same age group and of the same gender.
“There are still challenges to be resolved if we want to use this system in an environment resembling a real-life situation, but we do know that the algorithm we developed is more effective than previous attempts,” Heinzelman said.
Source: University of Rochester
Wood, J. (2018). In Development: Smartphones That Can Assess Mood. Psych Central. Retrieved on July 13, 2020, from https://psychcentral.com/news/2012/12/05/in-development-smartphones-that-can-assess-mood/48642.html