← Latest papers
💻 computer science

EchoMed Agent: A Foundation Model–Based Agentic Framework for Echocardiographic Left Ventricular Segmentation and Functional Assessment

EchoMed Agent is a foundation model-based agentic framework that combines a low-rank adapted MedSAM2 video segmentation model with a GPT-5.2 tool-routing interface and a lightweight axis-regression module to achieve accurate, few-shot adaptable left ventricular segmentation and ejection fraction estimation across different clinical sites.

Original authors: Leshan Sun, Juan Farina, Songlin Zhao, Shuoyang Wei, Yuzhen Ding, Reza Arsanjani, Win-Kuang Shen, Wei Liu

Published 2026-10-19
📖 6 min read🧠 Deep dive

Original authors: Leshan Sun, Juan Farina, Songlin Zhao, Shuoyang Wei, Yuzhen Ding, Reza Arsanjani, Win-Kuang Shen, Wei Liu

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

Heart disease remains the leading cause of death worldwide, and doctors rely heavily on a specific type of ultrasound to understand how well a patient's heart is pumping. This imaging technique, known as echocardiography, produces moving pictures of the heart's chambers as they squeeze and relax. From these videos, physicians calculate a crucial number called the ejection fraction, which represents the percentage of blood the heart pushes out with each beat. This measurement is vital for diagnosing heart failure, deciding on treatments, and predicting a patient's future health. However, getting this number is a difficult, manual task. A doctor must watch the video, identify the exact moments when the heart is fullest and emptiest, and then carefully trace the outline of the left ventricle, the main pumping chamber, on the screen. This process is slow, prone to human error, and can yield different results depending on which doctor is looking.

For years, scientists have tried to build computers that can do this tracing automatically. While some progress has been made, these computer programs often struggle when they move from the hospital where they were trained to a different hospital with slightly different equipment or patients. They also lack the ability to understand a doctor's natural questions, such as "what is the ejection fraction?" or "show me the moment the heart is fullest." They require complex commands and cannot easily adapt to new settings without massive amounts of new data. A new study published in npj Cardiovascular Health introduces a system called EchoMed Agent, designed to overcome these hurdles by combining advanced image recognition with a conversational interface that doctors can use like a colleague.

The researchers, based at Mayo Clinic Arizona and Lehigh University, built a system that acts as an intelligent assistant for heart imaging. At its core is a powerful computer model trained to recognize objects in images and videos, which they adapted specifically for the unique, grainy appearance of heart ultrasound. Unlike older systems that needed thousands of labeled examples from a new hospital to learn, this system uses a technique that allows it to learn from just a handful of examples. In their tests, the team showed the system only twenty annotated heart videos from their own institution. Despite this tiny amount of new data, the system learned to trace the heart's outline with remarkable accuracy, matching the performance of much larger systems that had been trained on thousands of cases.

Once the system traces the heart, it does not stop there. It automatically identifies the specific moments in the video cycle when the heart is fully expanded and when it is fully contracted. It then measures the area of the heart at these moments and calculates the volume of blood inside, finally deriving the ejection fraction percentage. The entire process is wrapped in a natural language interface. A doctor can upload a video, draw a simple box around the heart on the screen to guide the computer, and then simply ask, "What is the ejection fraction?" or "Find the end-diastolic phase." The system understands the request, performs the calculations, and returns a clear, structured report with the numbers and the specific frames used, all without the doctor needing to write code or understand the underlying math.

The results of the study suggest that this approach works well in real-world conditions. When tested on a set of 98 heart studies from Mayo Clinic, the system achieved a high level of agreement with human experts in tracing the heart's shape. More importantly, its estimate of the ejection fraction was very close to the human-measured value, with a median error of just over four percentage points. This level of accuracy was reached even though the system had only seen twenty examples from that specific hospital before being tested. In comparison, a similar system that was not adapted to the local hospital data performed noticeably worse, with larger errors and less consistency. The study also showed that the system could handle different types of heart function, from normal pumping to severely reduced pumping, maintaining its accuracy across the board.

A key finding of the research is that the system does not need to be retrained from scratch for every new hospital. By using a method that tweaks only a tiny fraction of its internal settings, the system can adapt to new environments quickly and efficiently. This suggests that hospitals with limited resources or small archives of labeled data could still benefit from advanced automated analysis. The researchers noted that the system's performance remained stable across different random trials, indicating that the results are reliable and not just a lucky outcome. While the system is not perfect and can still struggle in rare cases where the heart's movement is highly abnormal or the image quality is poor, it represents a significant step forward in making automated heart analysis practical and accessible.

The study also highlights the importance of how these tools interact with doctors. Previous attempts at automation often failed because they required physicians to interact with them through complex technical menus or structured data inputs. By using a conversational agent that understands natural language, the researchers created a workflow that feels intuitive. The system can clarify ambiguous requests, such as when a doctor asks about "pumping efficiency," by confirming they mean ejection fraction before proceeding. It also knows its limits, politely declining requests for analyses it cannot perform, such as measuring the strain on the heart muscle, rather than guessing or providing incorrect data. This careful design ensures that the tool remains a helpful assistant rather than a source of confusion.

Ultimately, this work demonstrates that advanced artificial intelligence can be made practical for everyday clinical use without requiring massive datasets or complex technical setups. The EchoMed Agent successfully bridges the gap between powerful computer vision models and the daily needs of cardiologists. It offers a path toward faster, more consistent heart assessments that could help doctors make better decisions for their patients. The study suggests that with just a small amount of local data, hospitals can deploy these sophisticated tools to improve the accuracy and speed of heart failure diagnosis, potentially changing how cardiac care is delivered in the future.

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 →