Skip to content
Mental Health, Science

Researchers design machine learning models to better predict adolescent suicide and self-harm risk: study

UNSW Sydney 3 mins read
Many Australian adolescents are struggling with mental health and better risk assessment methods are needed. Photo: Godong/Getty Images.

Artificial intelligence can help to identify risk factors for suicide and self-harm, according to new research from UNSW Sydney.

Among adolescents in Australia, suicide is the leading cause of death and self-harm affects 18 per cent of those aged 14-17. These behaviours have sadly become more common in this age group over the last decade.

Clinicians assess suicide and self-harm risk when a young person enters a health care setting, like a hospital, with potential suicidal or self-harming behaviour. Current risk assessment methods such as looking at past attempts can be unreliable, not taking into account the many other potential risk factors. Also, adolescents outside these healthcare settings fly under the radar.

Artificial intelligence (AI) is becoming more widely used in mental health to identify at-risk individuals. Machine learning (ML) models can process vast amounts of patient data, identifying potential risk factors and measuring how they can predict behaviours like suicide and self-harm.

Researchers from UNSW, the Ingham Institute for Applied Medical Research and South Western Sydney Local Health District (SWSLHD) have developed ML models to predict the risk of suicide and self-harm attempts in adolescents. These models were more accurate than a standard approach, with previous suicide and self-harm attempts as the only risk factor.

The findings are published today in Psychiatry Research.

“Sometimes we need to digest and process a lot of information that would be beyond the ability of the clinician,” says senior author Dr Daniel Lin, who is a psychiatrist and mental health researcher affiliated with UNSW, the Ingham Institute and SWSLHD.

“That’s the reason we are tapping into machine learning algorithms.”

High prevalence of suicide and self-harm

The researchers used data from the Longitudinal Study of Australian Children, which has been collecting a range of data from children across the nation since 2004. Their analysis included 2809 of the study participants, split into a 14-15 years age group and a 16-17 years age group. The data came from questionnaires completed by the children, their carers and their school teachers.

Among the 2809 participants, 10.5 per cent reported an act of self-harm and 5.2 per cent reported attempting suicide at least once in the past 12 months.

“These behaviours are definitely under-reported, so the actual proportions are higher,” Dr Lin says.

Identifying risk factors

The researchers identified more than 4000 potential risk factors from the data, relating to areas like mental health, physical health, relationships with others, and the school and home environment. They used a random forest classification algorithm (an advanced ML technique) to identify which risk factors at age 14-15 were most predictive of suicide and self-harm attempts at age 16-17.

For suicide and self-harm, the most important risk factors were depressed feelings, emotional and behavioural difficulties, self-perceptions, and school and family dynamics. There were also unique factors specific to either suicide or self-harm.

“A unique predictor of suicide was lack of self-efficacy, when someone feels a lack of control over their environment and their future. And a unique predictor of self-harm was lack of emotional regulation,” Dr Lin says.

“It was surprising to us to see that previous attempts were not among the top risk factors.”

Another unexpected finding was the importance of school and family dynamics in predicting suicide and self-harm attempts. According to Dr Lin, there is a stereotype that people self-harm or die by suicide because of intrinsic poor mental health.

“We found that the young person’s environment plays a bigger role than we thought. This is a good thing from the standpoint of prevention, because we now know that there’s more we can do for these individuals,” Dr Lin says.

“Parental support and school support is very important… We need to figure out how as a society we can support parenting and school education, to protect our younger generation.”

Implications for clinical practice

The researchers created ML models based on the top identified risk factors to predict suicide and self-harm in the study participants. These models were able to predict the behaviours more accurately than the standard approach, which only considers the person’s history of previous attempts.

According to Dr Lin, ML models like this could support clinicians to assess suicide and self-harm risk in adolescent patients.

“Based on patient information the ML algorithm could calculate a score for each person, and that could be integrated into the electronic medical records system. The clinician could quickly retrieve that information to confirm or tweak their assessment,” Dr Lin says.

However, more research is needed before these ML models can be integrated into clinical care. The models need to be applied to real-life clinical datasets (which will contain less detailed patient information), to validate whether they are still effective at predicting suicide and self-harm attempts. Also, the researchers are seeking to understand how multiple risk factors interact to influence behaviour.

“As researchers, we will try to continue to generate more information and more evidence,” Dr Lin says.

“This is the way to convince stakeholders – clinicians, families, patients and the community – that these data-driven approaches are valuable.”


In an emergency call triple zero – 000.

For help and support, call: 

  • Parent Line NSW 1300 130 052
  • Beyond Blue 1300 224 636
  • NSW Mental Health Line 1800 011 511
  • Lifeline Australia 13 11 14
  • Kids Helpline 1800 551 800

Contact details:

Maddie Massy-Westropp, News & Content Coordinator, UNSW Medicine & Health,, +61 2 9348 1936 


More from this category

  • Medical Health Aged Care, Science
  • 19/04/2024
  • 15:00
Monash University

Large-scale genetic study finds new link between Irritable Bowel Syndrome and the cardiovascular system

New research published today in the journal Cellular and Molecular Gastroenterology and Hepatology sheds light on disease mechanisms common to irritable bowel syndrome (IBS) and cardiovascular diseases (CVD). Led by Dr Leticia Camargo Tavares, a Postdoctoral Fellow at the Hypertension Research Laboratory within Monash University’s School of Biological Sciences, the study reveals novel insights into the genetic underpinnings of IBS, offering potential avenues for therapeutic intervention. IBS is one of the most prevalent gastrointestinal disorders globally, affecting up to 10 per cent of the population, with a disproportionate impact on women. It is characterised by a complex range of symptoms…

  • Education Training, Science
  • 17/04/2024
  • 12:33
Charles Darwin University

Program to show students you don’t need to be Einstein to study STEM

A new generation of thinkers and innovators will get a taste of what it’s like to study Science, Technology, Engineering and Mathematics (STEM) alongside…

  • Contains:
  • Mental Health
  • 17/04/2024
  • 11:04
Lifeline Hunter


Local man rides 1800km solo from Wilson's Promontory to Newcastle NSW to raise funds for local Lifeline Hunter centre. On the 5th April a local man from Wallsend, Ian Kidd, embarked on an 1800km solo bike ride from the southernmost part of the Australian mainland in Victoria, Wilson’s Promontory, to Newcastle along the East coast of Australia. He aims to raise much-needed funds for his local Lifeline centre as well as create a greater awareness of mental health issues in the Hunter. "As I embark on this journey, I realise it's more than just a personal challenge. It's a testament…

Media Outreach made fast, easy, simple.

Feature your press release on Medianet's News Hub every time you distribute with Medianet. Pay per release or save with a subscription.