"Imagine if, at the end of a conversation, you could rewind it and see the moments when the people around you felt the most anxious," said Tuka Alhanai, graduate student at Massachusetts Institute of Technology (MIT) in the US.
"Our work is a step in this direction, suggesting that we may not be that far away from a world where people can have an AI social coach right in their pocket," said Alhanai.
Using deep-learning techniques, the system can also provide a "sentiment score" for specific five-second intervals within a conversation.
"As far as we know, this is the first experiment that collects both physical data and speech data in a passive but robust way, even while subjects are having natural, unstructured interactions," said Mohammad Ghassemi, PhD candidate at MIT.
Also Read
Te system was developed with privacy strongly in mind: The algorithm runs locally on a user's device as a way of protecting personal information, researchers said.
Many emotion-detection studies show participants "happy" and "sad" videos, or ask them to artificially act out specific emotive states.
However, in an effort to elicit more organic emotions, the team instead asked subjects to tell a happy or sad story of their own choosing.
The system also captured audio data and text transcripts to analyse the speaker's tone, pitch, energy and vocabulary.
After capturing 31 different conversations of several minutes each, the team trained two algorithms on the data: One classified the overall nature of a conversation as either happy or sad, while the second classified each five-second block of every conversation as positive, negative, or neutral.
"The system picks up on how, for example, the sentiment in the text transcription was more abstract than the raw accelerometer data," said Alhanai.
Disclaimer: No Business Standard Journalist was involved in creation of this content