- The birth of hope from the ashes of war
In the first article, we took the reader to the first seed of the idea of the “robot psychiatrist,” that seed that grew in the soil of war and suffering, trying to give hope where hope is scarce. Today, we take a step deeper into the heart of the project, where the question turns into a mechanism, and the idea into a method: How can a computer system, born in a harsh Sudanese environment, diagnose psychological disorders? Can we trust his diagnosis as we trust a human doctor?
When I started working on the project, I was not looking for a static program, but rather for a digital entity that had a cognitive and human sense. Therefore, I identified three basic axes: the goal, the knowledge base, and the development methodology
How does a robot psychiatrist work?
The idea of the robot psychiatrist was born in a time when hope was not an available commodity; I was seeing people around me suffering under the pressures of war and loss, and a strange and simple idea occurred to me: Can a machine listen?
And from here the journey began… from the confusion of the question to the design of an intelligent system that can understand a person, diagnose his psychological disorders, and even support him on the path to treatment.
From an idea to a scientific method
When I started working on the project, I was not looking for a static program, but rather for a digital entity that had a cognitive and human sense. I have identified three main axes of work:
- the goal: Creating an intelligent system that provides an initial diagnosis of the most common psychological conditions, which is easy to use and available to everyone, without the need for a medical background.
- Knowledge base: I drew on clinical psychology resources to formulate a knowledge base covering 39 psychological disorders, which was converted into a logical language within the Prolog environment, so that the system could think in a manner similar to that of a human doctor.
- Development methodology: I used a combination of analytical and logical approaches, along with field experiments and comparison of the system’s results with psychiatrists’ diagnoses, to ensure reliability and accuracy.
The diagnostic process begins with short questions about mood, sleep, appetite, anxiety, and daily habits. After collecting the answers, the system analyzes them according to logical rules
Tests and transformations
The system was not born complete, but went through several testing phases:
- Language test: To ensure that the average user understands the questions easily.
- Performance Test: By simulating realistic symptoms to measure diagnostic logic.
- Comparison test: Reviewing the system results with specialists to reduce the margin of error.
The result was encouraging; The system demonstrated the ability to provide an accurate initial diagnosis in most cases, making it a real step towards artificial psychological intelligence.
How does a robot doctor think?
The diagnostic process begins with short questions about mood, sleep, appetite, anxiety, and daily habits. After collecting the answers, the system analyzes them according to logical rules. If the symptoms are similar between two cases, he asks additional questions to separate them, then presents the result in friendly language that makes the user feel included, not judged.
In a society where psychological stigma remains heavy, I made confidentiality a key focus. The system does not request personal data, and allows the user to express themselves completely freely. In this sense, it represents a safe space for dialogue with oneself, away from fear or embarrassment
Covered mental disorders panel
The system covers a wide range of disorders, including:
- Mood disorders: Depression, bipolar, dysthymia.
- Anxiety disorders: General anxiety, panic, social phobia.
- Psychotic disorders: Schizophrenia, delusional disorder.
- Sleep and eating disorders: In addition to childhood, personality and addiction disorders.
It’s like an interactive counseling library, condensing years of psychological knowledge into a single screen.
Psychological safety and confidentiality
In a society where psychological stigma remains heavy, I made confidentiality a key focus. The system does not request personal data, and allows the user to express themselves completely freely. In this sense, it represents a safe space for dialogue with oneself, away from fear or embarrassment.
Building such a system in a war-weary country is not just a technical achievement
Post diagnosis
My goal was not for the system to stop at diagnosis only, but to expand to provide a program of cognitive behavioral therapy (CBT). Knowledge is not complete without action. Here the system turns into a practical guide that helps the user confront his thoughts and behaviors, step by step, towards recovery.
The robot psychiatrist is not a substitute for the human doctor, but rather a digital friend who tries to bridge the gap between the human being and his pain. Building such a system in a war-torn country is not only a technical achievement, but a cry of hope: even in ashes, knowledge can grow.
The opinions expressed in the article do not necessarily reflect the editorial position of Al Jazeera Network.