← Latest papers
💻 computer science

AlamX: A Privacy-Preserving Local AI Framework for Symptom-Based Disease Prediction and Conversational Clinical Triage

AlamX is a privacy-preserving, fully local clinical intelligence platform that combines a Random Forest-based symptom and vital triage system with a locally executed biomedical LLM to provide accurate, uncertainty-aware disease predictions and conversational health guidance without transmitting sensitive user data to remote servers.

Original authors: Hamid Alam, Shubham Kumar, Rahat Kr Pradhan, Saksham Pradhan, Rohit Subba, S D Mohana

Published 2026-09-09
📖 6 min read🧠 Deep dive

Original authors: Hamid Alam, Shubham Kumar, Rahat Kr Pradhan, Saksham Pradhan, Rohit Subba, S D Mohana

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the modern world, checking a symptom often means turning to a screen. A person feels a rash, a headache, or a strange pain, and they type it into an app or a website. These digital tools promise to offer a quick answer, a possible name for what is wrong. But to get that answer, the user usually has to send their personal health details across the internet to a remote server. This creates a difficult choice: to get help, one must surrender privacy. The data that makes a diagnosis accurate is also the data that makes a person most vulnerable if it is intercepted or leaked. Furthermore, most of these tools act like a single-lane road. They take a list of symptoms and spit out one disease name, acting as if the answer is certain, even when the signs are vague. They often ignore other clues a person might have, like their heart rate or how well they slept, treating the complaint in isolation from the rest of the body.

A team of researchers at the Sikkim Manipal Institute of Technology in India has built a different kind of tool to solve this problem. They call it AlamX. Instead of sending health data to a distant server, AlamX lives entirely on the user's own computer or device. It is a complete system that runs locally, meaning no information leaves the machine. The researchers designed it to take a list of symptoms, compare them against a vast library of medical patterns, and offer a diagnosis that includes a measure of how sure the system is. It also listens to the user's questions in a natural conversation, using a specialized artificial intelligence that understands medical terms but never needs to connect to the internet to think. The goal was not just to make a smart program, but to make a private one that respects the user's data while still providing useful medical guidance.

The system works by asking the user to select from a standardized list of 132 possible symptoms, such as a skin rash, a fever, or swollen joints. Once the user makes their choices, the software converts these selections into a simple code and runs them through a decision-making engine. This engine, trained on thousands of examples, looks for patterns that match 41 different diseases. Unlike many other tools that simply guess one answer, AlamX provides a primary prediction along with a percentage that shows how confident it is in that guess. It also lists other possible conditions that share similar symptoms, giving the user a clearer picture of the possibilities. If the user is unsure, they can ask the system questions in plain language. The system answers by looking at the specific symptoms and health data the user just entered, all without ever transmitting that information to a cloud server.

To make this work on a personal device, the researchers had to overcome several hurdles. They needed a way to handle the fact that some diseases are much rarer than others in the training data, which can trick a computer into ignoring the rare ones. They used a technique to balance the data so the system learns to recognize both common and uncommon conditions. They also built a "health score" that combines the user's daily steps, heart rate, and sleep patterns with their symptoms, creating a single number that tracks their overall well-being over time. This score updates continuously, offering a view of the user's health that changes as they do, rather than just a snapshot of a single moment.

The results of building this system show that the diagnostic engine produces a confusion matrix with a dominant diagonal across all 41 classes, indicating that predictions concentrate on the true class, though specific accuracy values have not yet been reported. In a specific test case, a user selected two symptoms: a skin rash and itching. The system responded with a primary prediction of a fungal infection, stating it was 71 percent confident. It did not stop there; it also suggested a drug reaction as a secondary possibility with 27 percent confidence. This behavior is crucial because it acknowledges that two symptoms can point to more than one thing, and it tells the user exactly how much the system knows and how much it is guessing.

The researchers also integrated a large language model, a type of artificial intelligence trained specifically on medical texts, to handle the conversation. This model runs locally on the user's machine, meaning it can answer questions about the diagnosis or explain what a symptom might mean without sending a single word of the user's health history to an external provider. The entire system, from the database that stores the user's history to the intelligence that answers questions, resides on the device itself. This design ensures that even if the internet goes down, the tool still works, and no one else ever sees the data.

While the system shows great promise, the authors are careful to note its limits. The tool is designed to help people decide when to seek care, not to replace a doctor. It works with a fixed list of 41 diseases and relies on the user to input their symptoms and vital signs manually. The researchers did not test the system on real-world patients in a hospital setting, so its performance in a live clinical environment is still unknown. They also noted that the system currently treats symptoms as simple on-or-off switches, rather than accounting for how severe or long-lasting a symptom might be. Despite these limitations, the work demonstrates a significant shift in how health technology can be built. It proves that a system can be accurate, aware of its own uncertainty, and capable of conversation, all while keeping the user's private data completely safe on their own device.

The broader lesson from this project is that privacy and utility do not have to be enemies. For years, the assumption has been that to get the best medical advice from an app, one must give up control of personal data to a central server. AlamX challenges that idea by showing that powerful analysis can happen right where the data is created. The system does not need to be a magic box that knows everything; it is a practical tool that respects the user's boundaries. By keeping the processing local, it removes the risk of data breaches and allows people in remote areas or with limited internet access to get immediate, informed guidance. The researchers have built a framework that could be expanded in the future to include more diseases and more detailed health tracking, but the core achievement is already clear: a private, local, and intelligent assistant for health is not just a theoretical idea, but a working reality.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →