Scientists try to teach a robot when it is appropriate to LAUGH

No laughing matter! Scientists try to teach a robot when it is appropriate to express mirth – and decide whether to let out a polite chuckle or a hearty hoot

  • Scientists in Japan have created a robot that can laugh during conversation
  • ‘Erica’ is powered by artificial intelligence, that can detect when a person laughs
  • She can then decide if a ‘social’ or’mirthful’ laugh is appropriate in response
  • Volunteers who watched her conversations said she displayed human-likeness 

Robots are famously cold, hard and unfeeling, so they may not be the greatest audience for your favourite knock-knock joke.

However, scientists in Japan are looking to change their reputation, by teaching them when and how to laugh using artificial intelligence (AI).

The researchers created an android, named ‘Erica’, which they trained to detect laughter in conversation, then decide whether to laugh in response and what kind of laughter would be best.

Her conversations and chuckles were then watched by volunteers, who decided that her responses demonstrated empathy and human-likeness.

Lead author Dr Koji Inoue, from Kyoto University, said: ‘We think that one of the important functions of conversational AI is empathy.

‘Conversation is, of course, multimodal, not just responding correctly. 

‘So we decided that one way a robot can empathise with users is to share their laughter, which you cannot do with a text-based chatbot.’

Researchers created  ‘Erica’ – a robot trained to detect laughter in conversation, then decide whether to laugh in response and what kind of laughter would be best (stock image)

Her conversations and chuckles were then watched by volunteers, who decided that her responses demonstrated empathy and human-likeness. Pictured: An example of a conversation between Erica and a person

The aim of the research, published today in Frontiers in Robotics and AI, was to develop an AI that can understand the human nuances of humour.

While it would be possible to train an algorithm to recognise laughter, or read out a joke, these abilities would not enable it to replicate natural conversation.

The researchers first developed a ‘shared-laughter’ model for Erica to run, which would allow her to respond to human laughter as an empathetic response.

This model asks three successive questions in order for the robot to appropriately respond to a conversational cue.

First is ‘Did the user laugh?’, then ‘Will Erica laugh in response? and finally, if she responds yes to both, ‘Which type of laughter is proper?’.

The types of laughter Erica would choose from are a ‘social laugh’, a polite chuckle to fill conversation when humour is not involved, or a ‘mirthful laugh’ for funny situations.

The shared-laughter model asks three successive questions in order for the robot to appropriately respond to a conversational cue. First is ‘Did the user laugh?’, then ‘Will Erica laugh in response? and finally, if she responds yes to both, ‘Which type of laughter is proper?’

To teach the AI to use the shared-laughter model effectively, the researchers gathered data by sending the robot speed dating.

Erica, who was remotely operated by four female amateur actors, had over 80 dialogues with male university students.

The laughter that appeared during the conversations was then categorised as solo, social or mirthful.

This was then used to train Erica’s neural network how to decide when it is appropriate to laugh, and which type of laughter to use.

Dr Inoue said: ‘Our biggest challenge in this work was identifying the actual cases of shared laughter, which isn’t easy, because as you know, most laughter is actually not shared at all.

‘We had to carefully categorise exactly which laughs we could use for our analysis and not just assume that any laugh can be responded to.’

To teach the AI to use the shared-laughter model effectively, the researchers gathered data by sending the robot speed dating. Erica, who was remotely operated by four female amateur actors, had over 80 dialogues with male university students

Next, Erica’s newly developed sense of humour was put to the test by sitting her down for some conversations with a human being.

Four short dialogues were written up that each inspired a different response from the robot while running her shared-laughter model.

For the first she would only utter social laughter, in the second and third only mirthful laughter and in the fourth she would use both types of laughter combined.

As well as the shared-laughter model developed while speed dating, the team also created two other baseline models to run as comparison.

One where she would never laugh during the conversation, and one where she would utter a social laugh whenever the person laughed, regardless of context. 

HOW DOES ERICA KNOW WHEN TO LAUGH? 

The robot, named Erica, runs a specially designed ‘shared-laughter’ model.

The model asks three successive questions in order for the robot to appropriately respond to a conversational cue.

First is ‘Did the user laugh?’, then ‘Will Erica laugh in response? and finally, if she responds yes to both, ‘Which type of laughter is proper?’.

The types of laughter Erica would choose from are a ‘social laugh’, when humour is not involved, or a ‘mirthful laugh’ for funny situations.

She was trained how to answer the questions using data from speed dating conversations, where the types of laughter were annotated as solo, social or mirthful.

Erica then took part in each of the four dialogues while running the shared laughter model and both baseline models.

These were recorded and listened to by over 130 people, who evaluated the interactions based on empathy, naturalness, human-likeness and understanding.

The shared-laughter model, where Erica asked herself the three questions to decide her laughter response, performed better than either baseline.

‘The most significant result of this paper is that we have shown how we can combine all three of these tasks into one robot,’ Dr Inoue said.

‘We believe that this type of combined system is necessary for proper laughing behaviour, not simply just detecting a laugh and responding to it.’

Erica is limited to social and mirthful laughter, and there are many other styles she should be trained on before she can hold natural, human-like conversation.

Dr Inoue said:  ‘There are many other laughing functions and types which need to be considered, and this is not an easy task. 

‘We haven’t even attempted to model unshared laughs even though they are the most common.

‘Robots should actually have a distinct character, and we think that they can show this through their conversational behaviours, such as laughing, eye gaze, gestures and speaking style.

‘We do not think this is an easy problem at all, and it may well take more than 10 to 20 years before we can finally have a casual chat with a robot like we would with a friend.’

HOW ARTIFICIAL INTELLIGENCES LEARN USING NEURAL NETWORKS

AI systems rely on artificial neural networks (ANNs), which try to simulate the way the brain works in order to learn.

ANNs can be trained to recognise patterns in information – including speech, text data, or visual images – and are the basis for a large number of the developments in AI over recent years.

Conventional AI uses input to ‘teach’ an algorithm about a particular subject by feeding it massive amounts of information.   

AI systems rely on artificial neural networks (ANNs), which try to simulate the way the brain works in order to learn. ANNs can be trained to recognise patterns in information – including speech, text data, or visual images

Practical applications include Google’s language translation services, Facebook’s facial recognition software and Snapchat’s image altering live filters.

The process of inputting this data can be extremely time consuming, and is limited to one type of knowledge. 

A new breed of ANNs called Adversarial Neural Networks pits the wits of two AI bots against each other, which allows them to learn from each other. 

This approach is designed to speed up the process of learning, as well as refining the output created by AI systems. 

Source: Read Full Article

Previous post These stunning Highland locations show why the Queen loved Scotland so much
Next post Brave new Wolds: The best places to stay in the cool Cotswolds