Should Artificial Intelligence within Social Media Play a Role in the Detection of Mental Illness?
One of the most prevalent public health problem is mental illness, with a predominance of people with depression. However, mental illness is still under diagnosed and, in the UK,only 37% of adults suffering from depression get access to treatments.
Artificial intelligence (AI) in mental healthcare has the potential to transform our approach of mental illness, and this blog will focus on the use of AI within social media (SM) as tools to identify individuals with mental illness. SM are influential online platforms, with about 92% of adolescents going online daily and sharing personal content. Based on the general presumption that words may predict our future mental health, AI analyses different information to detect uncommon patterns of expression. For instance, researchers in 2017 trained machine-learning systems to analyze the colors of images posted on Instagram to detect depression. Snapchat also launched a new monitoring feature to detect searches for words related to mental illness and return links for the user to adequate mental health information or services. Last but not least, Facebook developed a suicide algorithm to predict risks of suicide attempt of the users, and then flag the posts in case of risks to alert the team of content moderators.
In this blog, I will argue that even though the use of AI within SM to detect mental illness is an interesting technique that could be further considered, there are still too many concerns to overcome that should prevent the use of this tool. This blog will first consider the expected benefits of AI within SM for mental illness and then explore the legal and ethical concerns.
The expected benefits
While interactions on SM platforms can provide peer support for people with mental illness, the use of machine-learning techniques can be another way to help improving users' mental health. Techniques used by general practice to diagnose mental illness have proven to be relatively ineffective due to the complexity of human beings. By being able to process massive amounts of data, machine-learning techniques can make predictions with a high accuracy rate. Coupled with the large amounts of data on SM, it seems that the use of AI within SM is an adequate tool to diagnose mental illness. For instance, research on AI analysing pictures on Instagram to detect markers of depression achieved a 70% success rate. Even though this technology is in its infancy, it is likely that the detection of mental illness and subsequent interventions for access to mental health information or services can provide real benefits to users.
However, the algorithmic assessment of mental health states on SM raises significant legal and ethical concerns, and this blog will focus in particular on the lack of transparency of these algorithms and the risks for users' privacy.
Transparency
First, the algorithms used by SM companies are generally black boxes of decision-making, either because they are protected as trade secret, or because the vast amount of data processed to infer mental illness make them opaque. It is thus nearly impossible to explain how they reach their conclusions. This opacity raises concerns regarding the  transparency needed to ensure trust of the users and allow further analysis by experts. Currently, it is unlikely that these algorithms would comply with the right to explanation under the GDPR.
Privacy and data protection
Secondly, as shown by the suspension of the Samaritans Radar twitter app in 2015, the greater concern with the use of AI within SM to diagnose mental illness is probably the concern of users' privacy and the protection of their data, especially in the context of mental health.
While healthcare professionals are held to confidentiality standards, companies using AI online to diagnose mental illness are not subject to the same obligations. This practice may circumvent traditional protection of confidentiality, such as with Facebook's communication of a user's information to take him to hospital even though the user said he was well.
Another concern is that mental health state information collected and processed by SM platforms is not covered by the adequate data protection laws that should apply for sensitive personal data. First, it can be difficult to anonymise users' posts, as there can be a lot of context in a picture or a message. Moreover, the existing companies using these services do not obtain an explicit informed consent from the users, who may not be aware of the scanning of their posts and cannot even opt-out. This is in part why Facebook's algorithms to predict suicide risks have been banned in Europe. Within the climate of distrust of SM usage of personal data, a recent survey in the UK has shown that individuals do not seem to be ready to provide consent for such analysis of their data for mental health services, and that to them the benefits would not outweigh the risks to privacy. Another major concern is related to third parties access to this data, such as advertising companies, insurance companies or employers. Being highly sensitive, the disclosure of mental health condition could have a range of negative impacts on those who are identified as having such conditions, with for instance a risk of discrimination or stigmatization.
In conclusion, the profiling of content by SM to detect mental illness is highly problematic because it raises a number of legal and ethical concerns that seem currently difficult to overcome. High scrutiny and future debates are required in view of these new developments. The aim is to strike a balance between, on one hand, the potential benefits of AI to diagnose mental illness and improve access to mental health care resources, and, on the other hand, the protection of privacy and users' trust.

















