Steven Feng, Aaron Li and Jesse Hoey develop virtual assistants with personality to help individuals with mental illness

Tuesday, September 17, 2019

Researchers at the Cheriton School of Computer Science have pioneered a new method that could be used to develop more natural automated virtual assistants to help people suffering from mental illness. 

Called SMERTI (pronounced smarty), the new method enables virtual assistants to use natural language and emotional cues that change depending on the relationship and situations in which they are used. The result allows for the development of virtual assistants that better connect with people they are used to help.

photo of Steven Feng“Certain personalities or emotions within a virtual assistant appeal more to certain individuals,” said Steven Feng, an undergraduate student at the Cheriton School of Computer Science. “Enabling virtual assistants, based on the situation, to tweak the words or sentences used to match the personalities could lead to on-demand chatbots available to talk to people with mental illness and cognitive disabilities whenever they require.

“There is an increasing number of people who require mental health therapy, but there are not enough therapists to deal with these cases. Being able to automate some aspects of treatment will be beneficial as it would reduce wait time and make the process more affordable. But the emotional aspects of mental health are a major challenge for virtual assistants.” 

SMERTI represents a number of artificial intelligence software tools working together, including similarity masking, entity replacement and text infilling. SMERTI’s job is to take a text response from a virtual assistant that has a certain personality and adjust it, so it fits the current situation.

For example, it would take the advice of “It is sunny outside; I know you hate to, but you must wear sunscreen” to “It is rainy outside; I know you hate to, but you must bring an umbrella.”

To evaluate SMERTI, the computer scientists presented eight fellow researchers with original pieces of text that were written by humans, along with various modifications from multiple tools, including SMERTI. The respondents were then asked to blind review the sentences and rate them on a scale of one to five based on fluency, sentiment preservation, and content exchange — how well the new text substitutes the words replaced. 

“Based on the respondents’ ratings of the various systems it was found that SMERTI outperformed all the baseline models especially in terms of fluency and overall replacement of the text to fit the new semantics,” said Jesse Hoey, an associate professor at the Cheriton School of Computer Science.

“What we were mainly focused on was the fluency and semantic exchange aspects to show that the task is possible and measure the emotional preservation, which was decently high. The next step is to research how to preserve personality or persona rather than just emotion, which is more complicated.” 

The researchers are now working on a system to generate the personality-flavoured text in the first place, which, when combined with SMERTI, will result in virtual assistants that have a more consistent personality. Consistent personality is a key component of future virtual assistants for mental health support.


The study, Keep Calm and Switch On! Preserving Sentiment and Fluency in Semantic Text Exchange, conducted by undergraduate CS student Steven Feng, research assistant Aaron Li and Professor Jesse Hoey will be presented at the 2019 Conference on Empirical Methods in Natural Language Processing, November 3–7, 2019 in Hong Kong.

  1. 2024 (22)
    1. March (13)
    2. February (1)
    3. January (8)
  2. 2023 (70)
    1. December (6)
    2. November (7)
    3. October (7)
    4. September (2)
    5. August (3)
    6. July (7)
    7. June (8)
    8. May (9)
    9. April (6)
    10. March (7)
    11. February (4)
    12. January (4)
  3. 2022 (63)
    1. December (2)
    2. November (7)
    3. October (6)
    4. September (6)
    5. August (1)
    6. July (3)
    7. June (7)
    8. May (8)
    9. April (7)
    10. March (6)
    11. February (6)
    12. January (4)
  4. 2021 (64)
  5. 2020 (73)
  6. 2019 (90)
  7. 2018 (82)
  8. 2017 (50)
  9. 2016 (27)
  10. 2015 (41)
  11. 2014 (32)
  12. 2013 (46)
  13. 2012 (17)
  14. 2011 (20)