← Latest papers
💻 computer science

An Adaptive Balancing and Threshold-Tuning Framework with Hybrid Feature Selection for Liver Disease Classification

This paper proposes an adaptive machine learning framework that integrates Five-Criteria Hybrid Feature Selection with Adaptive Balancing and Threshold Tuning to effectively address class imbalance and feature redundancy in liver disease prediction, achieving high recall and robust performance on the ILPD and LDPD datasets.

Original authors: Ahood Aldalbahi, Samia Dardouri

Published 2026-10-23
📖 5 min read🧠 Deep dive

Original authors: Ahood Aldalbahi, Samia Dardouri

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

Liver disease is a silent threat. It often develops without warning signs, progressing from mild dysfunction to severe failure while a person feels perfectly healthy. By the time symptoms appear, the window for effective treatment may have already closed. This reality makes early detection a matter of life and death, yet diagnosing the condition early is notoriously difficult. Doctors rely on a panel of blood tests to spot trouble, but interpreting these numbers is complex. The values can vary wildly between patients, overlap between healthy and sick individuals, and are often skewed by outliers. Furthermore, medical data is frequently unbalanced; in many datasets, the distribution of sick and healthy patients is uneven, which can trick computer programs into ignoring the very cases they need to find.

For years, researchers have tried to build computer models to help sort through this confusion, using algorithms to find patterns in blood work that humans might miss. However, many of these attempts have stumbled over the messy nature of real-world medical data. They often treat the steps of cleaning the data, choosing which tests to look at, and deciding how to weigh the results as separate tasks. This paper introduces a new approach that weaves these steps together into a single, adaptive system designed specifically to catch sick patients early, even when the data is imperfect.

The researchers began with a well-known collection of medical records from India, containing information on hundreds of patients. They knew this data was flawed: it had missing values, extreme outliers, and a heavy imbalance where liver disease cases outnumbered healthy ones by more than two to one. Instead of forcing the data to fit a standard model, they built a framework that adapts to the data's quirks. The first part of their system acts like a strict editor for the medical tests. It evaluates every available blood marker and engineered combination of markers against five specific criteria: how well it predicts disease, how clearly it separates sick from healthy people, how stable it is when tested on different groups of patients, how much it repeats information already provided by other tests, and how many original lab tests are actually required to calculate it.

This "hybrid feature selection" process, which the authors call 5C-HFS, narrowed the field from a long list of potential indicators down to just five key features. These included a calculated score representing liver stress, the age of the patient, and specific ratios of bilirubin and enzymes. Crucially, these five features were chosen because they could be derived from only seven standard blood tests, keeping the screening practical for real clinics. The system then moved to its second phase, which addresses the problem of imbalance. In many medical datasets, the computer learns to ignore the minority group because it is easier to be right by guessing the majority. The researchers tested six different ways to fix this, including methods that create synthetic examples of sick patients to teach the model better. They found that for this specific dataset, a technique that generates synthetic samples worked best, but they did not stop there. They also adjusted the "decision threshold"—the point at which the computer decides a patient is sick. Instead of using a standard 50-50 cutoff, they lowered the bar to catch more potential cases, prioritizing the detection of sick patients over the risk of a false alarm.

The final result was a computer model based on a powerful algorithm known as CatBoost, trained on this refined and balanced data. When tested on a sealed set of records the model had never seen before, it achieved an AUC of 0.8. More importantly, it successfully identified 91.6 percent of the patients who actually had liver disease. While it did miss some healthy people (a specificity of 50 percent), the trade-off was deliberate: in early screening, missing a sick patient is far more dangerous than flagging a healthy one for further testing. The researchers also tested this adaptive system on a much larger, different dataset from a public repository containing thousands of records. In that case, the system correctly determined that no synthetic data generation was needed and adjusted its threshold accordingly, proving that the framework does not rely on a single fixed rule but adapts to the specific structure of the data it receives.

To ensure doctors could trust the system, the researchers added a layer of explainability. They showed that the model's decisions were driven by the same features a human expert would consider, such as liver stress scores and enzyme levels, rather than obscure mathematical artifacts. They even built a simple prototype interface that takes a patient's lab results and returns a risk probability along with a clear explanation of which factors contributed to that score. The study concludes that while this framework is not a standalone diagnostic tool, it offers a robust, interpretable, and highly sensitive method for early screening. By combining careful feature selection with adaptive balancing and threshold tuning, the system manages to find the sick patients who might otherwise slip through the cracks, offering a promising step toward safer, more effective clinical decision support.

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 →