How well could AI get to know you?: The use of AI in the inference and prediction of mental health states.

Imagine a world where weather forecasting was never achieved…

A picture of a grey stormcloud above the sea.

Imagine people sweating through their jumpers during unprecedented heatwaves, people shivering in beer gardens on a particularly brisk spring evening, clad only in shorts and sandals. Thousands of perms across the country, ruined! All due to surprise thunderstorms!

Our ability to forecast weather allows us to plan all these things in advance (when it’s accurate!), avoiding those plans that may not work out & confirming those plans that sound just right.

Now imagine if we could forecast other fluctuations…what if we could predict mental health?

Relapse rates in mental health conditions

Mental health conditions are often chronic and relapsing in nature – 50% of people treated for one episode of depression relapse within the first six months of recovery. Similarly, people treated for anxiety have around a 40% chance of relapsing within 2 years of their first episode. With each episode the level of stress needed to trigger another episode lowers, and so as episodes increase, the likelihood of another one increases. Because episodes of poorer mental health can come and go, wouldn’t it be great to see them coming?

Many utilisations of Artificial Intelligence (AI) have been produced in the past decade to try and consistently monitor mental health to establish patterns that let us predict episodes of mental illness and act pre-emptively with interventions. Recent efforts have combined digital phenotyping and supervised machine learning to produce one product to do it all!

Digital phenotyping has been eloquently described as the ‘moment-by-moment quantification of the human phenotype in situ’. Basically, this just means taking continuous measurements of a person’s physiology throughout the day & finding ways to add a value to what we find. The perfect & most convenient way to do this is through passive sensors already existing in our smartphones! This method allows for completely non-intrusive yet continuous collection of the data we need to see how someone is doing.

Passive data

What kind of data are we collecting from people?


Linear acceleration (m/s) of the device collected through the smartphone’s accelerometer, incl. gravitational acceleration = Tracking physical activity.


Angular acceleration collected through the smartphone’s gyroscope = Tracking physical activity.


Device location expressed in latitude and longitude coordinates = Tracking physical activity.


Applications notifications = Tracking level of online interaction.


Application foreground changes = Tracking phone screen activity & online interaction.


Interactions with the screen (keyboard taps, clicks, long clicks, upward and downward scrolls) grouped by application = Tracking phone screen activity and online interaction.


Screen status changes (on, off, locked, unlocked) = Tracking phone screen activity


 

We relied on sensors measuring changes in location to guess how physically activity people were throughout the day, as lower levels of physical activity have been linked to increased severity of depression and anxiety (though not always! I hope we haven’t startled anyone reading from their bed, 5 episodes deep into a new Netflix series – please resume!). Sleep is another reliable predictor of mental health, with quality of sleep being proven to have an affect on quality of mental health. Given the sensors we had access to, we used changes in location and in screen status throughout the day to measure hours of sleep each night, as well as how consistent it was.

The Thrive: Well-Being app has recently began focusing on using digital phenotyping to predict mental health states. Currently, the company is running preliminary studies to help get into the practise of building models with the highest accuracy we can achieve, and right now research efforts are focused on learning how to infer before we can predict.

What do we mean by infer?

Thrive’s app operates based on user’s reports of their mental health. However, the user pool is predominantly working professionals, i.e., very busy people! So users often forget or don’t have the time to keep up to date with these measures. By collecting data passively obtained from sensors in smartphones and pairing this with scores for anxiety, depression, resilience and stress, as well as daily mood ratings, we aim to build an algorithm able to infer these missing self-assessment values and offer intervention at the right time.

What did we do?

To do this, we paired questionnaire scores achieved by participants with phenotypical data passively collected over the span of 8 weeks and built a Random Forest Classifier model to predict the scores a person would have achieved on a given day.

What did we find?

Figure 1: An image depicting the accuracy of our Random Forest Classifier model in predicting a person's GAD-7 score (anxiety) and PHQ-9 score (depression). The image tells us that our model has a higher probability of accurately predicting a GAD-7 score.
Figure 1

From the data we have collected so far, we can see that the model is better able to predict a participant’s GAD-7 score, regarding their levels of anxiety, than their PHQ-9 score regarding the severity of their depression.

What does this tell us?

Well firstly, it tells us that this method of monitoring mental health is viable and can be used to identify when a person may need help. Being able to monitor when treatment is needed using such an everyday device allows for continuous long-term treatment. However, the difference in the accuracy for predicting depression over anxiety may suggest that the physiological markers we focused for both disorders aren’t equally relevant. For example, people with depression can experience insomnia as well as hypersomnia, whereas people with anxiety are more likely to experience shorter sleep cycles with more disruption. Perhaps the sleep variable needs to be weighted differently in our model for each condition.

What’s next?

In future research, it might be important to consider how our methods of measuring certain markers may lead to inaccuracy. For instance, we relied on the location of a person’s phone to make assumptions about their activity – but of course not everyone travels everywhere with their phone on their person. Even the small difference between carrying a phone in your pocket or in a bag can give us different results.

References

Burcusa, S. L., Iacono, W. G. (2007). Risk for recurrence in Depression. Clinical Psychology Review, 27(8), 959–985. https://doi.org/10.1016/j.cpr.2007.02.005
Carek, P. J., Laibstain, S. E., & Carek, S. M. (2011). Exercise for the Treatment of Depression and Anxiety. The International Journal of Psychiatry in Medicine, 41(1), 15–28. https://doi.org/10.2190/PM.41.1.c
Moriarty, A.S., Paton, L.W., Snell, K.I.E. (2021) The development and validation of a prognostic model to PREDICT Relapse of depression in adult patients in primary care: protocol for the PREDICTR study. Diagn Progn Res 5, 12. https://doi.org/10.1186/s41512-021-00101-x
Nutt, D., Wilson, S., & Paterson, L. (2008). Sleep disorders as core symptoms of depression. Dialogues in clinical neuroscience, 10(3), 329–336. https://doi.org/10.31887/DCNS.2008.10.3/dnutt.
Sheikh, M., Qassem, M., & Kyriacou, P. A. (2021). Wearable, environmental, and smartphone-based passive sensing for Mental Health Monitoring. Frontiers in Digital Health, 3. https://doi.org/10.3389/fdgth.2021.662811.
Silva, L. R., Seguro, C. S., de Oliveira, C. G., Santos, P. O., de Oliveira, J. C., de Souza Filho, L. F., de Paula Júnior, C. A., Gentil, P., & Rebelo, A. C. (2020). Physical inactivity is associated with increased levels of anxiety, depression, and stress in Brazilians during the COVID-19 pandemic: A cross-sectional study. Frontiers in Psychiatry, 11. https://doi.org/10.3389/fpsyt.2020.565291.
Staner, L. (2003). Sleep and anxiety disorders. Dialogues in clinical neuroscience, 5(3), 249–258. https://doi.org/10.31887/DCNS.2003.5.3/lstaner.
Torous, J., Kiang, M. V., Lorme, J., & Onnela, J. P. (2016). New tools for new research in psychiatry: a scalable and customizable platform to empower data driven smartphone research. JMIR mental health, 3(2), e5165.
van Berkel, N., D’Alfonso, S., Kurnia Susanto, R. et al. AWARE-Light: a smartphone tool for experience sampling and digital phenotyping. Pers Ubiquit Comput (2022).
Yonkers, K., A., Bruce, S., E., Dyck, I., R., Keller, M., B. (2003). Chronicity, relapse, and illness-course of panic disorder, social phobia, and generalized anxiety disorder: findings in men and women from 8 years of follow-up. Depress Anxiety 2003; 17:173179.

124 Replies to “How well could AI get to know you?: The use of AI in the inference and prediction of mental health states.”

  1. Unquestionably believe that that you said. Your favourite justification appeared
    to be on the net the easiest factor to be aware of.
    I say to you, I definitely get irked whilst other
    folks consider concerns that they just do not understand about.
    You managed to hit the nail upon the top as neatly as defined out the whole thing with no need side-effects ,
    other folks can take a signal. Will probably be again to get
    more. Thanks

    Also visit my site; bokep indo

  2. I’m amazed, I have to admit. Rarely do I encounter a blog that’s both educative and entertaining,
    and without a doubt, you have hit the nail on the head.

    The issue is something that not enough people are speaking intelligently about.
    Now i’m very happy that I stumbled across this during
    my hunt for something relating to this.

    Stop by my web page :: bokep viral

  3. Hey I know this is off topic but I was wondering if you
    knew of any widgets I could add to my blog that automatically tweet
    my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was
    hoping maybe you would have some experience with something like this.

    Please let me know if you run into anything. I truly enjoy
    reading your blog and I look forward to your new updates.

    My blog post – OBCTOP SITUS JUDI SCAM

  4. Hi there! Do you know if they make any plugins to assist with Search Engine
    Optimization? I’m trying to get my blog to rank
    for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Appreciate it!

    Here is my site … Keluaran Sdy

  5. Hey there, You’ve done an incredible job. I will definitely digg it and personally recommend to my
    friends. I am confident they’ll be benefited from this
    website.

    Feel free to surf to my web blog; sex

  6. Oh my goodness! Awesome article dude! Thank you so much, However I am experiencing difficulties with your RSS.
    I don’t know why I can’t join it. Is there anyone else having similar RSS problems?

    Anyone that knows the solution will you kindly respond?

    Thanks!!

    Here is my website … Result Sydney Lotto

  7. You’re so interesting! I do not suppose I’ve read something
    like this before. So nice to find another person with a few genuine thoughts on this issue.
    Seriously.. thanks for starting this up. This website is
    one thing that’s needed on the web, someone with some originality!

    My blog – phim sex nung lon

  8. Howdy I am so grateful I found your blog, I really found you by accident,
    while I was searching on Digg for something else, Regardless
    I am here now and would just like to say thanks for a incredible post and a all round
    entertaining blog (I also love the theme/design), I don’t
    have time to browse it all at the moment but I have saved
    it and also added in your RSS feeds, so when I have time
    I will be back to read a great deal more, Please do keep up
    the awesome work.

    Here is my site: sex nung lon

  9. Heya are using WordPress for your site platform? I’m new to the blog world but I’m trying to get
    started and set up my own. Do you require any coding expertise to make your own blog?

    Any help would be really appreciated!

    Look at my website: PENIPU

  10. Hi there would you mind letting me know which web host you’re working with?
    I’ve loaded your blog in 3 completely different internet browsers and I must say this blog loads a lot quicker then most.
    Can you recommend a good internet hosting provider at a fair price?
    Kudos, I appreciate it!

    Also visit my homepage: PENIPU

  11. After going over a few of the articles on your web page, I really appreciate your
    technique of writing a blog. I saved it to my bookmark
    webpage list and will be checking back soon. Please visit
    my website as well and let me know what you think.

    my site; kawi777

  12. Hmm it seems like your website ate my first comment (it
    was extremely long) so I guess I’ll just sum it
    up what I wrote and say, I’m thoroughly enjoying your blog.
    I too am an aspiring blog writer but I’m still new to everything.
    Do you have any recommendations for rookie blog writers?
    I’d genuinely appreciate it.

    Here is my blog … PENIPU

  13. Hi are using WordPress for your site platform?
    I’m new to the blog world but I’m trying to get started and create my own. Do you require any html coding expertise to make your own blog?
    Any help would be really appreciated!

    my homepage – PENIPU

  14. It’s actually a great and helpful piece of info.

    I’m glad that you just shared this useful info with us.
    Please keep us up to date like this. Thank you for sharing.

    Take a look at my page sex

  15. Write more, thats all I have to say. Literally, it seems as though you
    relied on the video to make your point. You obviously know what youre talking about, why throw away your intelligence on just posting videos to
    your site when you could be giving us something informative
    to read?

    Have a look at my blog post – mua ban can sa

Leave a Reply

Your email address will not be published. Required fields are marked *

*