Leakage-Controlled Structure-Preserving Augmentation and Template-Aware Evaluation for Bangla Symptom-Based Disease Prediction

Sabah Nushra, Shovan Samanta Turzo, Moinul Hossain, Md Kishor MorolarXiv 2026

This paper tackles a common but often overlooked problem in medical machine learning: how do we know if a model is actually "learning" disease patterns or just memorizing a small, repetitive dataset? Focusing on Bangla symptom-based disease prediction, the authors introduce a rigorous evaluation framework and a specialized data augmentation technique to separate genuine generalization from simple template matching.

TL;DR

The authors propose a leakage-controlled evaluation pipeline and an asymmetric Bernoulli augmentation method for low-resource disease prediction. While simple models like Naive Bayes are surprisingly strong, boosted-tree models (like LightGBM) see massive accuracy gains—up to 28 percentage points—when trained on "jittered" synthetic symptom profiles.

What Problem Does This Paper Address?

In many low-resource settings, medical datasets are small and structured as simple binary matrices (e.g., "Does the patient have a cough? Yes/No"). The public Bangla disease-symptom benchmark is a prime example: it contains only 725 unique profiles for 85 different diseases.

The authors identify three major pitfalls in previous research on this data:

  1. Data Leakage: If you augment data before splitting it into training and testing sets, the model might see "descendants" of the test data during training, leading to inflated scores.
  2. Template Proximity: Many disease profiles are nearly identical, differing by only one or two symptoms. If the test set is full of these "near-duplicates," high accuracy might just mean the model is a good lookup table, not a good diagnostic tool.
  3. Hyperparameter Confounding: It’s hard to tell if an improvement comes from data augmentation or just better tuning.

Methods

The researchers implemented a "split-first" pipeline to ensure zero data leakage (see Figure 1).

Fig. 1. Experimental pipeline. Real profiles are deduplicated and split before any augmentation. Parent-grouped cross-validation, augmentation, and model fitting use only the training partition. The reserved real test partition bypasses model development and is used only once, for final evaluation.

Asymmetric Bernoulli Perturbation

Instead of standard oversampling, they used a "structure-preserving" augmentation. For every real profile, they generated 50 "children" by:

  • Retaining existing symptoms with 90% probability.
  • Activating absent symptoms with a very low (0.5%) probability.

This creates local variations that act as a form of regularization, teaching the model that a disease profile can still be valid even if one symptom is missing or a "noisy" one is added.

The "Purged" Challenge

To test true generalization, they created a 1-bit-purged challenge. They removed any training examples that were within a Hamming distance of 1 (differing by only one symptom) from the test examples. This forces the model to predict diseases based on broader patterns rather than near-identical matches.

Datasets

The study uses a curated Bangla disease–symptom benchmark containing:

  • 725 unique profiles (after deduplicating the original 757).
  • 85 disease labels.
  • 172 binary symptom indicators.

Key Insights and Ideas

  • The "Lookup Table" Trap: A staggering 91% of held-out test instances are within just one symptom bit of the training data (Figure 2). This explains why a simple "Nearest Neighbor" algorithm can achieve ~95% accuracy without any complex "learning" at all.
  • Boosted Trees are Augmentation-Hungry: Models like XGBoost and LightGBM performed poorly on the raw, sparse data but saw dramatic improvements with Bernoulli augmentation. This suggests these models struggle with the "sparsity" of small medical datasets but excel once the feature space is "filled in" with synthetic variations.
  • Naive Bayes is the Baseline to Beat: Bernoulli Naive Bayes (BNB) achieved the highest overall accuracy (97.50%). Because BNB is inherently probabilistic and handles binary features well, it is naturally resistant to the sparsity that plagues more complex models.

Key Results

The main results (summarized in Table I/Figure 6) show the impact of tuning and augmentation across different model families.

Table showing accuracy gains across models. Note the massive jumps for CatBoost, XGBoost, and LightGBM.
  • LightGBM jumped from 66.81% to 95.26% accuracy (+28.45 pp) with augmentation.
  • XGBoost improved by 18.10 pp.
  • Robustness: The authors also tested how models handle "noisy" input. As shown in Figure 4, accuracy drops significantly if more than 30-40% of symptoms are missing, though BNB and Ensembles remain the most resilient.
Fig. 4. Robustness of Bernoulli-tuned models to missing symptoms on seed 42. Curves give mean accuracy over 50 independent corruption draws, and bands give 95% empirical intervals across the draws.

Limitations and Future Work

The authors are careful to note that benchmark accuracy $\neq$ clinical effectiveness.

  • Static Profiles: The data consists of curated "textbook" profiles, not messy, longitudinal patient records.
  • Missing Context: The current models don't account for symptom severity, duration, or patient demographics (age, gender).
  • Future Directions: The authors suggest moving toward "correlation-aware" generators that understand which symptoms usually appear together (e.g., fever and chills) rather than flipping bits independently. They also emphasize the need for external validation on real-world clinical datasets.

Summary updated

Abstract

Bangla symptom-based disease prediction is commonly evaluated on a small, imbalanced structured benchmark containing many profiles that differ by only one or two symptoms. We test whether train-only asymmetric Bernoulli perturbation improves classification using 725 unique profiles spanning 85 diseases and 172 binary symptoms. Experiments use ten repeated real-profile holdouts and parent-grouped inner cross-validation. The 2 x 2 design separates augmentation from hyperparameter tuning, with exact duplication, random oversampling, class weighting, and SMOTEN as balancing controls. For Bernoulli Naive Bayes (BNB), the gain over tuned raw training does not withstand Holm correction, although BNB attains the highest mean accuracy (97.50%). The boosted-tree models benefit substantially: XGBoost, LightGBM, and CatBoost improve by 18.10, 28.45, and 10.09 percentage points, respectively. A Hamming-distance audit places 91.0% of standard held-out profiles within one symptom bit of the training data. Accuracy decreases on a same-disease 1-bit-purged challenge; nevertheless, XGBoost and LightGBM retain large augmentation gains. We also evaluate robustness to missing and spurious symptoms and the faithfulness of BNB explanations. Overall, Bernoulli perturbation is useful for some model families, but benchmark accuracy should be interpreted together with template proximity.
BibTeX
@misc{nushra2026leakage,
  author = {Sabah Nushra and Shovan Samanta Turzo and Moinul Hossain and Md Kishor Morol},
  title = {{Leakage-Controlled Structure-Preserving Augmentation and Template-Aware Evaluation for Bangla Symptom-Based Disease Prediction}},
  year = {2026},
  eprint = {2610.41733},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.41733},
}
Figure