Skip to main content ITU
Logo
  • Programmes
    • BSc Programmes
    • BSc in Global Business Informatics
    • BSc in Digital Design and Interactive Technologies
    • BSc in Software Development
    • BSc in Data Science
    • Applying for a BSc programme
    • MSc Programmes
    • MSc in Digital Innovation & Management
    • MSc in Digital Design and Interactive Technologies
    • MSc in Software Design
    • MSc in Data Science
    • MSc in Computer Science
    • MSc in Games
    • Applying for an MSc programme
    • Student Life
    • Practical information for international students
    • Ask a student
    • Women in tech
    • Student organisations at ITU
    • Study start
    • Labs for students
    • Special Educational Support (SPS)
    • Study and Career Guidance
    • Exchange student
    • Become an exchange student
    • Guest Students
    • Who can be a guest student?
    • ITU Summer University
    • Open House
    • Open House - BSc programmes
    • Open House - MSc programmes
  • Professional Education
    • Master in IT Management
    • Master in IT Management
    • Admission and entry requirements
    • Contact
    • Single Subjects
    • About single subjects
    • Admission and entry requirements
    • Contact
    • Short courses | ITU Professional Courses
    • See all short courses
    • Contact
    • Contact
    • Contact us here
  • Research
    • Sections
    • Data Science
    • Data, Systems, and Robotics
    • Digital Business Innovation
    • Digitalization Democracy and Governance
    • Human-Computer Interaction and Design
    • Play Culture and AI
    • Software Engineering
    • Technologies in Practice
    • Theoretical Computer Science
    • Research Centres
    • Centre for Digital Play
    • Center for Climate IT
    • Center for Computing Education Research
    • Centre for Digital Welfare
    • Centre for Information Security and Trust
    • Research Centre for Government IT
    • Danish Institute for IT Program Management
    • Research entities
    • Research centers
    • Sections
    • Research groups
    • Labs
    • ITU Research Portal
    • Find Researcher
    • Find Research
    • Research Ethics and Integrity
    • Good Scientific Practice
    • Technical Reports
    • Technical Reports
    • PhD Programme
    • About the PhD Programme
    • PhD Courses
    • PhD Defences
    • PhD Positions
    • Types of Enrolment
    • PhD Admission Requirements
    • PhD Handbook
    • PhD Support
  • Collaboration
    • Collaboration with students
    • Project collaboration
    • Project Market
    • Student worker
    • Project postings
    • Job and Project bank
    • Employer Branding
    • IT Match Making
    • Hiring an ITU student or graduate
    • Make a post in the job bank
    • Research collaboration
    • Read more about research collaboration at ITU
    • Industrial PhD
    • Hire an Industrial PhD
    • Maritime Hub
    • Innovation and entrepreneurship
    • ITU Business Development
    • ITU NextGen
  • About ITU
    • About ITU
    • Press
    • Vacancies
    • Contact
  • DK
Can AI prevent relapse among drug addicts?
ITU  /  Press  /  News from ITU  /  Can AI prevent relapse among drug addicts?

Can AI prevent relapse among drug addicts?

In his thesis project, ITU student Christopher Bjerre developed a software tool for use in addiction treatment. Using a combination of machine learning algorithms, the tool can predict relapse with great accuracy and thus help rehabilitation staff to prevent it from happening.

Computer Science DepartmentEducationalgorithmsartificial intelligencehealthITU thesis

Written 16 August, 2017 11:45 by Vibeke Arildsen

There are many pitfalls for alcohol and drug addicts enrolled in rehabilitation programmes. A cold beer can seem irresistible on a summer day. Old friends may tempt with a wild night out on the town.

In his thesis project at Software Development at the IT University of Copenhagen, Christopher Bjerre decided to construct a tool that can predict the risk of relapse using data about a drug addict's history. Through a collaboration with the developer behind the medical record system Validi, he gained access to anonymized patient data from a Danish rehab centre.

"Research shows that the longer a client is in treatment, the more likely they are to stay clean. So my goal was to create a tool that helps rehab staff to notice patients at risk of relapse, thus helping the patients to stay drug free," Christopher says.

Christopher was determined to use his software skills to make a positive difference for substance abusers.
He was determined to use his software development skills to make a difference for addicts for deeply personal reasons.

“In my early twenties, I saw from close quarters what substance abuse can do. This was why I was motivated to use my knowledge of software combined with my own experiences related to addiction to make a positive difference for addicts," he says.

Finding relevant data
Christopher started by investigating research on which factors, or ‘predictors’, are most decisive for the risk of relapse among addicts. His own experiences with addiction treatment supplemented the reading.

He then examined what data was available in the medical record system. Emotional factors play a big role, but are to collect data about. However, the system contained information about gender, age, zip code, drug or alcohol use and contact with healthcare professionals – all of which affect the likelihood of relapse.

"For example, a heroin addict must take methadone twice a day at certain times. If a patient starts taking the medicine outside this time frame or stops taking it altogether, this is a strong indication that something is going wrong and that the person is at risk of dropping out of the treatment programme," explains Christopher.

Machine learning used to predict relapse
Upon identifying the factors most relevant for the risk of relapse, Christopher collected and purified the data from the medical record system.

He then tested different machine learning algorithms to predict whether an addict would drop out of treatment after a fortuitous period. The choice fell on a method called ‘decision tree learning’, which in tests predicted whether a person risked relapse or not with an accuracy of 89 percent.

More about Christopher's method

In the process of cleaning data from the journal system, one challenge was that the system did not indicate which substance the patient primarily used. As this is an important predictor of the risk of relapse, Christopher used a method called 'naive Bayes classifier' to create a model that classified which type of substance the patient was primarily addicted to (for instance cannabis, opiates or alcohol) based on the text-based records. This model had an accuracy of 87 percent.

In finding the right machine learning algorithm to predict relapse, Christopher was particularly interested in ‘white box’ methods that allowed him to see patterns in the treatment and gave him the chance to study exactly which factors are linked to the risk of relapse.

The choice fell on a method called ‘decision tree learning’, as this could reveal why a patient is at risk of relapse or not, thus helping the clinicians to tailor treatments to individual patients. In cross validation tests, this method achieved an accuracy of 89 percent on data that the algorithm had not be trained on.

An accuracy of 89 percent is a good result. If the method can predict whether an addict will stay in treatment in 9 out of 10 cases, this has great practical value.

Rune Møller Jensen, Associate Professor at ITU

The results impress Christopher’s thesis supervisor, Associate Professor Rune Møller Jensen:

"An accuracy of 89 percent is a good result. If the method can predict whether an addict will stay in treatment in 9 out of 10 cases, this has great practical value. I’m also pleased that Christopher's work meets ITU's goal of allowing students to apply their previous experiences and unique domain knowledge in their studies. Finally, it’s nice to see artificial intelligence being used for good in circumstances where young people's lives are at stake."

Implementation in medical record systems
Although the thesis project has been successfully completed and Christopher now holds an MSc in Software Development, he will continue work on the prediction tool. The developer behind the medical record system Validi has asked him to implement the tool in the system to see if it can help clinicians.

The system can gather a huge amount of data and find patterns that a human might never have discovered, and thus be a valuable aid to clinicians.

Christopher Bjerre, MSc in Software Development

However, Christopher emphasizes that software will always merely be a supplement to the existing treatment in rehab programmes.

"The clinicians know the patients and have extensive experience with addiction that a computer will never be able to replace. However, the system can gather a huge amount of data and find patterns that a human might never have discovered, and thus be a valuable aid to clinicians," he finishes.

Further information

Vibeke Arildsen, Press Officer, phone 2555 0447, email viar@itu.dk

News

"The aim is our trust"

"The aim is our trust"

6 May, 2025

As part of the Danish Science Festival, the IT University and the newspaper Dagbladet Information gathered a number of experts to discuss cyber warfare in Denmark and how prepared we are for it. The Minister of Resilience and Preparedness, Thorsten Schack Pedersen, also participated in the talk.

Professor portrait: Nutan Limaye is pushing the boundaries of complexity theory

Professor portrait: Nutan Limaye is pushing the boundaries of complexity theory

1 May, 2025

On 22 May 2025 at 14:30, Professor Nutan Limaye from the section Theoretical Computer Science will present her inaugural lecture in Auditorium 0 at the IT University of Copenhagen. The lecture is entitled “My reflections on the last two decades and Complexity Theory”.

Professor portrait Anna Vallgårda challenges the design of care technology

Professor portrait Anna Vallgårda challenges the design of care technology

24 April, 2025

On 9 May 2025 at 14:30, Professor Anna Vallgårda will give her inaugural lecture in Auditorium 0 at the IT University of Copenhagen. The lecture is entitled: ”Radical Redesign of Care Technologies”.

Is Denmark prepared for cyberwarfare?

Is Denmark prepared for cyberwarfare?

8 April, 2025

A group of researchers from the IT University of Copenhagen is investigating what Denmark can learn from Ukraine in terms of preparing for cyberwarfare. Cyberwarfare does not just affect governments and companies, but also civilians, and the researchers ask what should be done if we come under attack.

Researchers aim to teach math students critical thinking with data science

Researchers aim to teach math students critical thinking with data science

31 March, 2025

In a new research project at the IT University of Copenhagen and the University of Copenhagen, a group of researchers will investigate how data science can become part of high school mathematics education to provide students with a better foundation for critical thinking and the ability to illuminate and nuance claims they encounter in their daily lives.

ITU researcher secures grant to improve safety of AI systems

ITU researcher secures grant to improve safety of AI systems

19 March, 2025

At Advanced Institute of Science and Technology in Japan, Associate Professor Alessandro Bruni from ITU is currently conducting research on the mathematical foundation for developing verifiably correct machine learning frameworks. The project is supported by the Carlsberg Foundation.

Professor portrait: Vasilis Galis found his way in research on the Athens metro

Professor portrait: Vasilis Galis found his way in research on the Athens metro

13 March, 2025

On 28 March 2025 at 14:30, Professor Vasilis Galis from the section Technologies in Practice will present his inaugural lecture in Auditorium 0 at the IT University of Copenhagen. The lecture is entitled “Research against dead time”.

ITU researcher investigates elections in Greenland

ITU researcher investigates elections in Greenland

11 March, 2025

On 11 March 2025, the election for Inatsisartut (Greenland's parliament) will take place. For several years, researchers from ITU, led by Professor Carsten Schürmann and Center for Information Security and Trust, have been investigating election and the possibility of internet elections in Greenland, and the election today is no exception.

IRFD funded ITU project to develop theoretical foundation for probabilistic session types

IRFD funded ITU project to develop theoretical foundation for probabilistic session types

6 March, 2025

The increasing technological complexity makes probabilistic understanding and management of critical computing systems a necessity. A new research project, led by Associate Professor Marco Carbone, aims to develop the foundation for probabilistic session types to that end.

Urban highways are barriers to social connections

Urban highways are barriers to social connections

5 March, 2025

Researchers from IT University of Copenhagen have proved that urban highways limit social connections in the 50 largest cities in the US. It is the first ever quantitative evaluation of the barrier effect of urban highways in reducing social connections across neighborhoods.

New research to find efficient strategies for prevention of epidemics

New research to find efficient strategies for prevention of epidemics

26 February, 2025

Assistant Professor at ITU, Jonas Juul, receives a Novo Nordisk Foundation Data Science Investigator grant of DKK 6.5 million for a project that aims to improve statistical methods for predicting outbreaks of infections.

Within Limits – an exhibition on computation and constraint

Within Limits – an exhibition on computation and constraint

24 February, 2025

On 7 March, join Artist Jacob Remin, Associate Professor James Maguire and Postdoc Frauke Mennes from the Center for Climate IT at ITU for the launch of Within Limits – an art installation that questions and reimagines the scalar logics inherent in computational worlds.

ITU students and alumni win awards at Copenhagen Gaming Week

ITU students and alumni win awards at Copenhagen Gaming Week

21 February, 2025

ITU was represented with games developed by both students and alumni from the university at Copenhagen Gaming Week and ‘Spilprisen’ that took place last week. Students from the MSc Games won the award for ’Best Student Game’, while alumni from the same study programme won for ‘Best Debut’.

New research project to find a more inclusive way to develop algorithms

New research project to find a more inclusive way to develop algorithms

10 February, 2025

Associate Professor Veronika Cheplygina has received a Novo Nordisk Data Science Investigator Grant of almost DKK 11 million. The grant will fund research on how more inclusive teaching and research environments may lead to better algorithms for medical imaging.

Thesis on digital divide in prisons wins award

Thesis on digital divide in prisons wins award

31 January, 2025

Three students from ITU have won the Danish Institute for Human Rights' Thesis Award for their thesis "The Digital Divide in Prisons". The thesis examines how the digital divide between inmates in Danish prisons and the surrounding society can be bridged.

New ITU research analyses attacks on Large Language Models

New ITU research analyses attacks on Large Language Models

16 January, 2025

What are the intentions and profile of someone trying to use LLMs for malicious purposes? And how do they do it? In a new study, researchers from ITU define so-called “red teaming” of LLMs to enable better security in the future.

Jakob Grue Simonsen named new prorector at IT University in Copenhagen

Jakob Grue Simonsen named new prorector at IT University in Copenhagen

22 November, 2024

Jakob Grue Simonsen, who comes from a position as head of department at the Department of Computer Science, University of Copenhagen, will focus on well-being and collaboration when he takes over as prorector at ITU on 1 January 2025.

IT University of Copenhagen reveals two new members of management

IT University of Copenhagen reveals two new members of management

18 November, 2024

At IT University of Copenhagen, future head of education, Luís Cruz-Filipe (L), and future head of research, Morten Hjelholt (R), will become part of the university management when both take up their positions on 1 February and 1 January 2025 respectively.

Video: Is artificial intelligence the key to human consciousness?

Video: Is artificial intelligence the key to human consciousness?

12 November, 2024

"Our future is going to look like science fiction." Associate professor at IT University of Copenhagen, Paolo Burelli, uses artificial intelligence to approach a better understanding of the human brain and consciousness.

ITU researcher awarded Villum Synergy grant for qualitative data project

ITU researcher awarded Villum Synergy grant for qualitative data project

15 October, 2024

Associate Professor at IT University of Copenhagen, Anna Rogers, and Associate Professor Hjalmar Carlsen at University of Copenhagen have received a Villum Synergy grant from Villum Fonden to develop a new tool for conducting large-scale, high-quality qualitative interviews.

Contact us

Phone
+45 7218 5000
E-mail
itu@itu.dk

All contact information

Web Accessibility Statement

Find us

IT University of Copenhagen
Rued Langgaards Vej 7
DK-2300 Copenhagen S
Denmark
How to get here

Follow us

ITU Student /
Privacy /
EAN-nr. 5798000417878/
CVR-nr. 29 05 77 53 /
P-nummer 1005162959

This page is printed from https://itu.dk/404