Accounting for Self-Report Bias Raises Machine Learning Stroke

Bioengineer.org

Source published: Site published:

Original article

A large computer study led by Taofeeq O. Togunwa, Brad J. Kolls, and Alvan-Emeka K. Ukachukwu found that standard tests may underestimate how well artificial intelligence (AI) models can detect heart and blood vessel diseases. Many AI models used in public health rely on large health surveys, such as the National Health and Nutrition Examination Survey (NHANES). These surveys usually record people's medical history through interviews rather than confirmed hospital records. The researchers studied decades of federal health data and found that errors in people's answers can make machine learning models appear less accurate than they really are. They used a statistical method called Monte Carlo probabilistic bias analysis to estimate which people had actually experienced a stroke. When they compared the models with these estimated true medical conditions instead of survey answers, the models performed much better. This suggests that tests based on unverified survey answers may hide the real ability of AI tools to predict disease risk.

The study focused on a basic problem with large health surveys. Programs such as NHANES use short questions to find out whether someone has had a stroke. For example, participants are asked whether a doctor or another healthcare professional has ever told them they had a stroke. Earlier studies comparing these answers with confirmed hospital records and medical documents found that people's reports are not always accurate. The ability of self-reports to correctly identify people who had a stroke, known as sensitivity, ranged from 36 percent to 98 percent. Their ability to correctly identify people who had not had a stroke, known as specificity, ranged from 96 percent to 99.6 percent. Self-reports tend to be less sensitive among older people, people who had milder strokes, and people with less education. Accuracy may also differ across racial and ethnic groups. Even though researchers know about these errors, machine learning studies have often treated survey answers as completely accurate medical records when testing their models.

To measure how much these errors affect model performance, the researchers combined data from nine two-year NHANES cycles, covering 2003 through 2023. They left out the interrupted 2019–2020 cycle because the COVID-19 pandemic caused data collection to be incomplete. The final study included 47,696 adults who were not pregnant, were at least 20 years old, had completed full examinations at mobile examination centers, and had valid answers to the stroke questions. Among them, 1,962 people, or 4.1 percent of the group before survey weighting, reported that a healthcare professional had told them they had previously had a stroke. Because NHANES uses a complex sampling system, the estimated stroke rate after applying survey weights ranged from 2.6 percent to 3.5 percent across the different two-year periods. A comparison of the groups showed clear differences. People who reported having had a stroke were much older, with an average weighted age of 64.7 years, compared with 47.1 years among those who reported no stroke. They were also more likely to take blood pressure medicine, have coronary heart disease or diabetes, have larger waist measurements, and have lower socioeconomic status.

The researchers built their models using twenty common measurements related to health, behavior, blood tests, and social background. They chose these measurements using the Northern Manhattan Study Global Vascular Risk Score framework. The information included age, sex, race and ethnicity, blood pressure, waist size, and body mass index. Blood tests measured glycohemoglobin, creatinine, total cholesterol, high-density lipoprotein cholesterol, and white blood cell counts. Questionnaires provided information about smoking, how often participants drank alcohol, and how much moderate-to-intense recreational physical activity they did. The researchers removed two possible predictors, sleep duration and blood triglyceride levels, because more than half of their values were missing. This happened because of changes in survey methods and restrictions affecting the fasting blood-test group. For the remaining missing information, they used a computer system called HyperImpute to fill in estimated values. It selected suitable methods, including linear models, random forests, and gradient boosting. These estimates were made only within the training groups, preventing information from the test data from leaking into model development. The training group contained 38,156 participants.

The researchers used an automated machine learning system called AutoGluon-Tabular. They selected its highest-quality setting, which combines several models through multiple layers and repeated training on different samples. The system aimed to improve balanced accuracy, which gives equal importance to correctly identifying people with and without strokes. This helped prevent the models from simply predicting that almost everyone had no stroke, since only 4.1 percent of participants reported having had one. The main model was a complex combination of three layers of models, with a PyTorch deep neural network trained on repeated samples playing a major role. The researchers tested it on a separate group of 9,540 people, including 392 who reported a previous stroke. This group made up 20 percent of the full sample and was kept separate from model training. The model achieved an area under the receiver operating characteristic curve (AUC) of 0.790, with a 95 percent confidence interval of 0.769 to 0.810. Its area under the precision-recall curve was 0.128, compared with a baseline stroke rate of 4.1 percent. This was about 3.1 times better than random guessing. Its overall Brier score was 0.041.

An important finding involved the probability threshold used to decide whether someone should be classified as having had a stroke. Many standard software tools use a default threshold of 0.50. With this setting, the main model correctly identified only 4.6 percent of people who reported a stroke, while correctly identifying 99.2 percent of people who reported no stroke. Its balanced accuracy was 0.519, and its F1 score was 0.075. Since only about one in 24 participants reported a stroke, the model rarely gave anyone a predicted stroke probability above 50 percent. The researchers instead used Youden's J statistic to find a better threshold. They calculated it using predictions made during cross-validation on the training data and selected a threshold of 0.091. At this setting, sensitivity increased to 41.1 percent, while specificity was 88.7 percent. Balanced accuracy rose to 0.649, and the F1 score increased to 0.202. The model identified 161 of the 392 reported stroke cases. However, it also incorrectly flagged 1,038 of the 9,148 people who reported no stroke. This gave it a positive predictive value of 13.4 percent. The results show that using an arbitrary default threshold can hide a model's ability to identify people at risk.

When comparing different models, the researchers found that more complicated computer systems did not offer a clear advantage over simpler methods. Several types of models achieved almost the same results on the test group. A FastAI neural network had an AUC of 0.826, a PyTorch neural network scored 0.825, a random forest scored 0.820, an extra-trees model scored 0.819, and a CatBoost gradient boosting model scored 0.818. A standard logistic regression model, which did not use penalty-based adjustments and was trained on the same standardized measurements, also achieved an AUC of 0.819 on the test group. It performed even better on average during cross-validation, reaching an AUC of 0.832 compared with 0.793 for the complex AutoGluon model. The AutoGluon model had been optimized for balanced accuracy at a chosen threshold, but its ability to separate higher-risk from lower-risk people without relying on a particular threshold was slightly worse than that of some of its individual models. This shows that automated machine learning systems can require much more computing power without improving basic prediction performance compared with traditional statistical methods.

To understand which health and lifestyle measurements influenced the predictions, the researchers used a method called Shapley Additive Explanations (SHAP). They examined 2,000 people from the test group using permutation-based analysis. Age was the most important factor, with an average absolute contribution of 0.019 on the predicted-probability scale. This was almost twice the influence of any other measurement. Race and ethnicity, level of education, and lifetime smoking history formed the next most important group, each with an average absolute contribution of 0.011. Blood pressure medication use and waist size followed at 0.008, while white blood cell count and body mass index each scored 0.007. Looking at individual predictions showed that older age, larger waist size, taking blood pressure medicine, less education, and higher blood creatinine levels generally increased predicted stroke risk. Interestingly, body mass index, total cholesterol, and systolic blood pressure sometimes had negative contributions when the other measurements were kept constant. This happened because the model was adjusting for relationships between measurements that often occur together. It does not mean these factors truly protect people from strokes.

After testing the model against the survey answers, the researchers used a statistical method called probabilistic bias analysis to measure how errors in self-reported medical histories affected the results. They ran 1,000 Monte Carlo simulations. Based on earlier epidemiological research, they randomly selected self-report sensitivity values between 0.36 and 0.98 and specificity values between 0.96 and 0.996. They assumed that reporting errors were nondifferential, meaning that the chance of a reporting error did not depend on the model's predicted risk score. For every person in the test group, the simulation estimated an underlying stroke status that could not be directly observed. The researchers then compared the model's existing predictions with these estimated true medical outcomes. The median AUC increased to 0.874, with a 95 percent simulation interval from 0.830 to 0.911. This was an increase of about 0.08 over the original survey-based AUC of 0.790. The finding shows that incorrect survey labels can make a disease prediction model appear much less capable of separating people with and without the disease.

The bias analysis also suggested that the model's apparent accuracy and usefulness for identifying stroke cases had been underestimated. When the researchers compared predictions with the estimated true medical outcomes at the threshold selected using Youden's J statistic, median sensitivity increased from 41.1 percent to 55.1 percent. Precision, also called positive predictive value, increased from 13.4 percent to 18.0 percent. The F1 score rose from 0.202 to 0.270. Specificity remained almost unchanged, moving from 88.7 percent to 89.2 percent. The area under the precision-recall curve also increased from 0.128 to 0.197. Importantly, the simulations estimated that the true stroke rate in the population was 4.2 percent. This was close to the observed survey rate of 4.1 percent, supporting the consistency of the chosen simulation settings. The reduction in apparent model performance was greatest in simulations where the randomly selected self-report sensitivity was lowest. This agrees with the idea that poor memory of past diagnoses makes it harder to distinguish between people with and without a disease.

The researchers also tested whether the mathematical assumptions used to estimate hidden stroke cases might have artificially improved the results. In their main analysis, they used an isotonic estimation method to reverse the effects of reporting errors. When this method produced negative estimates of the underlying stroke probability, they set those values to zero. This happened for a median of 46.0 percent of the people in the lowest risk groups in the test sample. To check whether this adjustment affected the results, they repeated the analysis using direct maximum likelihood estimation without setting negative estimates to zero. With this alternative method, the median corrected AUC was 0.847. This was still clearly higher than the original score of 0.790, although the simulation interval, from 0.777 to 0.907, extended slightly below the original score. The researchers also tested calibration curves created using cross-fitting within the test group. This produced a median AUC of 0.878. These additional tests showed that the improvement remained across different mathematical methods for estimating the underlying disease risk.

Despite these important findings, the researchers described several limits to their study. The biggest limitation is that NHANES is a cross-sectional survey. It allows researchers to study strokes that people have already had, but it cannot reliably predict new strokes that happen in the future. Survey interviews also cannot establish exactly when a past stroke occurred in relation to the physical examinations. This means that blood test results and other health measurements may show changes caused by the stroke, medical treatment, or later lifestyle changes rather than factors that existed before the stroke. The Monte Carlo analysis also assumed that reporting errors were nondifferential. In real life, people's ability to remember and report a diagnosis can vary with age, education, and stroke severity. The model's probability estimates were also not well calibrated. Its calibration slope was 0.669, and its calibration intercept was negative 0.281. This means that although the model could rank people by relative risk, its predicted probabilities were too high in the most extreme risk groups compared with the estimated true rates. Finally, the positive predictive value of 13.4 percent means that the model would produce many false alarms if used on its own to screen patients. It is therefore not suitable as an independent clinical screening tool.

Overall, the study offers an important lesson for medical researchers, data scientists, and developers of digital health tools that use public health survey data. Testing disease prediction models against self-reported health information can introduce major errors. These errors cannot be fixed simply by collecting more data or building larger and more complex neural networks. When reporting errors are nondifferential, standard performance measures make models look worse because their predictions are compared with inaccurate labels. However, when reporting errors are related to the factors used by the model, standard measures can make its performance look better than it really is. The authors argue that researchers should stop relying only on unadjusted performance measures when studying health outcomes based on self-reports. Instead, they should also report ranges of possible results that account for uncertainty caused by incorrect reporting. This would help healthcare systems and policymakers judge AI tools against more realistic estimates of actual disease, rather than errors caused by people's imperfect memories.

Subject of Research: A statistical analysis of how incorrect health survey answers affect machine learning models that classify strokes using NHANES data

Article Title: Measuring the effect of self-report bias on machine learning stroke classification using NHANES and Monte Carlo probabilistic bias analysis

Article References: Togunwa, T. O., Kolls, B. J., & Ukachukwu, A.-E. K. (2026). Quantifying self report bias in machine learning stroke classification from NHANES using Monte Carlo probabilistic bias analysis. Discover Informatics, 1(1), Article 48. https://doi.org/10.1007/s44564-026-00048-5

Image Credits: AI Generated

DOI: 10.1007/s44564-026-00048-5

Keywords: Machine Learning, Stroke Classification, NHANES, Probabilistic Bias Analysis, Incorrect Outcome Classification, Monte Carlo Simulation, Epidemiology, AutoGluon, SHAP Analysis, Logistic Regression, Youden Index, Area Under the ROC Curve, Self-Report Bias, Health Surveys, HyperImpute, Model Discrimination, Clinical Prediction