Software - Depretect

The Problem Image

Introduction

Aiming to improve the quality of life for patients suffering from depression, our team developed DEPRETECT. This AI-powered application can prove to be immensely valuable for the detection and monitoring of depression and its associated therapy. This application offers users a chatbot that engages them in conversations about their daily life .The chatbot uses questions from a well-known questionnaire in the field of depression detection and therapy, called QIDS-SR (Quick Inventory of Depressive Symptomatology). It screens for depression and assesses severity of depressive symptoms in clinical and research settings. The user's responses are then assessed using artificial intelligence techniques for natural language processing to determine if they may be experiencing symptoms of depression.

Our app has been submitted for review in the Google Play Store. Currently, you can download it following the instructions in the readme file in the corresponding gitlab repository. The instructions are also attached here..

The source code is hosted on the dedicated repository on iGEM's GitLab. It is documented and made available under an OSI-approved open source license (MIT license).

Therapy and Diagnosis

DEPRETECT could be used both for therapy monitoring and diagnosis. Our application enables the user to send his conversation with the chatbot to an expert. If this is done on a regular basis, then in this way a mental health expert could monitor through these dialogues the efficiency of the therapy. In terms of diagnosis, our app provides an estimation of the mental health of the user. However, as it is not fully reliable, It's important to note that our primary goal is not to replace mental health professionals but to complement their work and encourage users to seek expert assistance. To achieve this, the app allows users to share their chatbot conversations with a mental health exper, through a friendly e-mail interface. In addition to this, to encourage users to seek expert assistance, DEPRETECT recommends mental health experts in the area around the user.

Depretect and nutrition

DEPRETECT provides guidance on dietary choices that may contribute to improved mental health. Following one of our team's objectives to explore the connection between nutrition and depressive symptoms, our application, provides the user with dietary advice. Furthermore, after some conversations with experts, we realized that people who suffer from depression do not really take the time to think what they eat. As a result, our mobile app helps users to track their eating habits.

Some technical details

The heart of our application is a neural network architecture, using LSTMs, in order to classify the texts of the user as depressive or not. After thorough examination of the bibliography, we gathered data from multiple datasets that are used academically for this purpose.

We tried several neural architectures, some simpler and some more complex. We trained several FCNN architectures, that were not so effective. We also tried to use models with positional encodings and attention mechanism. However, they proved to be computationally “heavy” for our mobile application. The current architecture that we are using combines relatively high accuracy and computational efficiency.

Being more specific, we tokenize the inputs and then we convert tokens into dense vectors using word embeddings (Embedding layer). Then we stack LSTM layers in order to capture sequential information. To prevent overfitting we apply dropout after each lstm layer. After that, we apply fully connected dense layers. The last layer has a single neuron with a sigmoid activation function for binary classification.

In order to develop and train the model, we used tensorflow. Then we used tensorflow lite in order to load our model to the Flutter application (Dart) we had created.

Privacy Policy

There will be sure concerns about privacy. We fully understand this! As a result we engineered our application in a way that the users do not have any doubts about their personal data safety. We secured the users' data by developing a local database in order to store their answers, instead of storing them to the cloud. In addition to this, despite the difficulties we faced and the practices that are more commonly used, we deployed our neural network locally and did not use any cloud platforms, so that the leak of personal data is impossible. Here you can also find the Privacy Policy statement of our app.

So, combining our probiotic with the DEPRETECT digital solution we offer a comprehensive set of tools for the surveillance of patients suffering from depression.