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
    • Master's reform
    • 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 climate is changing – and so are we

The climate is changing – and so are we

29 October, 2025

With a grant of 3.1 million kroner from the Independent Research Fund Denmark, Associate Professor Vedran Sekara from the IT University of Copenhagen will map how human behaviour and mobility are changing in response to climate change.

Decoding the Brain: Can AI help predict human behaviour?

Decoding the Brain: Can AI help predict human behaviour?

27 October, 2025

What if it were possible to read the brain like a book? Paolo Burelli and his colleagues at the IT University’s brAIn Lab work at the cutting edge of digital technology and neuroscience. On 5 November, Paolo Burelli will present their research at Digital Tech Summit, in a talk titled “Decoding the Brain: How AI Unlocks Human Behavior.”

Professor Portrait: Rasmus Ejlers Møgelberg creates new mathematical worlds

Professor Portrait: Rasmus Ejlers Møgelberg creates new mathematical worlds

20 October, 2025

With a background in mathematics and a passion for the abstract layers of the discipline, Professor Rasmus Ejlers Møgelberg develops theories that enhance the understanding and robustness of modern software. Rasmus Ejlers Møgelberg will deliver his inaugural lecture at the IT University on 24 October.

ITU researchers secure prestigious Villum Experiment grants

ITU researchers secure prestigious Villum Experiment grants

2 October, 2025

Projects in infant cognition, robotics, and privacy-preserving AI receive funding for early-stage research.

Sami Brandt is the first winner of the ITU Research Award

Sami Brandt is the first winner of the ITU Research Award

29 September, 2025

Sami Brandt is the winner of the first-ever ITU Research Award. Please find out more about Sami Brandt and his research in this article.

Cancan Wang wins the 2025 ITU Teaching Award

Cancan Wang wins the 2025 ITU Teaching Award

29 September, 2025

Associate Professor Cancan Wang from the Digitalization, Democracy, and Governance (DDG) section at ITU is this year’s Teaching Award recipient. We spoke with Cancan about her teaching practices and what the award means to her.

Professor portrait: Eva Rotenberg wants to make algorithms simpler – for everyone’s benefit

Professor portrait: Eva Rotenberg wants to make algorithms simpler – for everyone’s benefit

22 September, 2025

On October 3, 2025, at 14:30, Professor Eva Rotenberg will deliver an inaugural lecture in Auditorium 02 at the IT University of Copenhagen. The lecture is titled: “A story of shortest paths.”

Professor portrait: Luca Aiello wants to make the internet a better place

Professor portrait: Luca Aiello wants to make the internet a better place

15 September, 2025

On 24 September 2025 at 14:30, Professor Luca Aiello will give his inaugural lecture in Auditorium 0 at the IT University in Copenhagen.

Professor portrait: Marco Carbone was always going to be a computer scientist

Professor portrait: Marco Carbone was always going to be a computer scientist

4 September, 2025

On 19 September 2025 at 15:00, Professor Marco Carbone will give his inaugural lecture in Auditorium 02 at the IT University in Copenhagen.

Professor portrait: Morten Hjelholt wants to understand the digital welfare state

Professor portrait: Morten Hjelholt wants to understand the digital welfare state

21 August, 2025

On 5 September 2025 at 15:00, Professor and Head of Research Morten Hjelholt will give his inaugural lecture in Auditorium 02 at the IT University in Copenhagen. The lecture is entitled: “Everywhere and Nowhere: The Digital State and Its Citizens”.

25 Years of Games at ITU

25 Years of Games at ITU

15 August, 2025

This year, games research and education at the IT University of Copenhagen celebrates its 25th anniversary. The anniversary will be celebrated at ITU on 26 and 27 August, with talks and an exhibition about the games made by ITU students and alumni.

Jonas Juul receives the H.C. Ørsted Research Talent Award 2025

Jonas Juul receives the H.C. Ørsted Research Talent Award 2025

14 August, 2025

Assistant Professor at the IT University of Copenhagen, Jonas Juul, has received the H.C. Ørsted Research Talent Awards 2025. Jonas Juul receives the prize for his research on social networks, information technology and complex systems’ physics.

ITU receives two Danish Data Science Academy Fellowships

ITU receives two Danish Data Science Academy Fellowships

26 June, 2025

Each year, the DDSA awards a total of 10 PhDs, and 6 postdocs. This year, ITU has secured two – Nils Grünefeld who will undertake a PhD in Machine Learning and Natural Language Processing, and Ola Rønning will begin a postdoc project in Probabilistic Programming.

ITU researcher wants to improve statistics models

ITU researcher wants to improve statistics models

26 June, 2025

Professor Andrzej Wasowski has been granted DKK 6.1 million from the Independent Research Fund Denmark. The grant is given for a project that is looking into how probabilistic models can become more reliable.

ITU researcher receives grant for project on verification of reflective programs

ITU researcher receives grant for project on verification of reflective programs

24 June, 2025

Assistant Professor at the IT University of Copenhagen, Eduard Kamburjan, has received a Sapere Aude grant of almost DKK 6.2 million from Independent Research Fund Denmark. The grant will fund a project that will investigate how to verify reflective programs.

Morten Hjelholt appointed head of research

Morten Hjelholt appointed head of research

20 June, 2025

Professor Morten Hjelholt has served as interim head of research since January and is highlighted for his “commitment, conviction, and a management philosophy”. Starting 1 August, he will take on the position permanently.

ITU researchers want to bring classical music to you

ITU researchers want to bring classical music to you

17 June, 2025

Is it possible to use technology to bring arts and music closer to people? This is one of the purposes of the research project XTREME, which is investigating how mixed reality can be used to bring music and art experiences to audiences that otherwise have some barriers to experience them.

Jonas Juul has been accepted into the Young Academy

Jonas Juul has been accepted into the Young Academy

10 June, 2025

The Young Academy has revealed which talented young researchers have been admitted this year. Among them is Assistant Professor Jonas Juul from the It University of Copenhagen.

Professor portrait: Thomas Binder's research connects to a changing world

Professor portrait: Thomas Binder's research connects to a changing world

2 June, 2025

On 19 June 2025 at 14:30, Professor Thomas Binder will give his inaugural lecture in Auditorium 0 at the IT University of Copenhagen. The lecture is entitled: “What design can do and how it matters”.

Professor portrait: Veronika Cheplygina improves the field of machine learning through meta-research

Professor portrait: Veronika Cheplygina improves the field of machine learning through meta-research

26 May, 2025

On 10 June 2025 at 14:30, Professor Veronika Cheplygina will present her inaugural lecture in Auditorium 0 at the IT University of Copenhagen. The lecture is entitled: “Not real research”.

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/

Fejl i tilmelding