Closing the Loop on Automated Feature Engineering: A Heart-Failure Pilot
This paper presents a pilot study of the Nimblemind Multi-Agent System (nMAS), which employs a recursive self-improvement loop to automatically generate and validate evidence-based features from heart-failure literature, successfully improving risk prediction models for patient mortality across multiple datasets while ensuring clinical interpretability and data privacy.
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
Every time a doctor tries to predict how a patient with heart failure might fare in the coming year, they face a mountain of scattered information. The clues are hidden in diagnosis codes, lists of medications, lab results, and imaging reports. Turning this messy collection of records into a clear picture of risk usually requires a data scientist to spend weeks manually selecting and organizing variables, a process that is slow, prone to human error, and often leaves no record of why a specific piece of data was chosen. This is the bottleneck that a new study from Nimblemind AI and Rutgers University seeks to solve. They asked a simple but difficult question: can a computer system read the medical literature, find the specific clues that experts have already identified, and automatically build them into a prediction model that works for a specific hospital's own patients? The goal is not just to make a faster computer, but to create a system that is transparent, letting a doctor see exactly which sentence from a research paper led to a specific piece of evidence in the model.
The researchers tested a system called the Nimblemind Multi-Agent System, which operates like a team of specialized assistants working together. One part of the system reads published medical abstracts to find potential clues, such as a specific blood test or a medication, that might predict death within a year of a heart failure diagnosis. Another part builds these clues into the patient records. The most critical step is a "gatekeeper" that tests each new clue against the hospital's own data. A clue is only kept if it actually improves the model's ability to predict outcomes for that specific group of patients. This process repeats in a loop, where the system learns from its previous successes and failures, proposing new combinations and refining its rules until it finds the best set of predictors. Crucially, every feature the system accepts carries a digital receipt: the exact sentence from the research paper, the measurement used, and the direction of the effect, allowing a clinician to verify the logic before the model is ever used.
The team ran this system through four different tests to see if it could improve upon standard prediction models. They began with a synthetic group of 10,000 patient records, then moved to a large, public database of over 31,000 patients, and finally tested it on a real-world cohort of nearly 26,000 patients from a health system in New Jersey. In every case, the system was tasked with predicting whether a patient would die within 365 days of their first heart failure diagnosis. The results showed that the loop consistently improved the model's accuracy. In the real-world health system test, the system raised the model's ability to distinguish between high-risk and low-risk patients from a baseline score of 0.708 to 0.755. This improvement was not a fluke; it held up across multiple runs and different types of statistical models. The features that the system kept were ones that cardiologists would immediately recognize, such as kidney function tests, markers of heart stress, and indicators of iron or liver health.
What makes this approach distinct is how it handles the evidence. Unlike other methods that might guess which variables are important based on patterns in the data alone, this system ties every single feature back to a published sentence. For example, in one test, the system accepted a feature for kidney function because a specific study reported a 12 percent higher mortality rate for every ten-unit drop in that measure. The system then built that exact rule into the model. This transparency means that when a doctor looks at the model, they are not trusting a black box; they are looking at a collection of verified, literature-backed facts. The study also explored whether the system could write the mathematical weights of the model directly from the text of the research papers, bypassing the need to fit the numbers to local patients. While this "written weight" approach worked well when the hospital had very few patients, it was less accurate than the traditional method when more data was available.
The study did not claim to have solved heart failure prediction entirely, nor did it suggest that this system should replace a doctor's judgment. The researchers noted that the system is currently best suited as a tool to support clinical review, helping to organize evidence and suggest risk factors that might otherwise be missed. The improvements, while statistically significant, were modest in absolute terms, raising the accuracy score by a few points. However, the ability to recover most of the predictive power of a full laboratory panel using only features derived from the literature suggests that the system is efficient at finding the most important signals. In the end, the study demonstrates that a computer can read the medical literature, build a model that works for a specific hospital, and provide a clear, auditable trail of evidence for every piece of data it uses, closing the loop between published research and daily clinical practice.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.