Back to list

LingSante: From Reasoning to Real-World Workflows, Pushing the Frontier of Open Medical Intelligence

inclusionaiNovember 22, 202612 min read

Long-horizon reasoning and tool use continue to push the capability frontier of large language models (LLMs), creating new possibilities for accessible healthcare and health services. However, real-world medical tasks present a different class of challenge: incomplete health information, significant patient heterogeneity, and strict constraints of compliance and operation. Under these conditions, models must verify evidence across scenarios, deliver professional judgments, and independently complete multi-stage workflows. This indeed requires a fundamental capability to unify medical reasoning with workflow execution, grounded in medical knowledge, professional standards, planning, tool use, and verification.

Therefore, we focus on how to natively build medical reasoning and workflow execution into the training paradigm of LLMs, while preserving general capabilities with strong cross-task performance. To this end, three dimensions are considered: complex medical reasoning, long-horizon medical tasks, and medical professional behavior alignment. We use evidence-based medical reasoning as the foundational constraint, real-environment long-horizon tasks as the core support, and professional behavior with execution efficiency as quality safeguards. On top of this, we apply adaptive fusion of multi-expert signals to effectively supervise the model’s cross-task performance.

Following this framework, we introduce LingSante-3.1-Flash. Built on top of Ling-3.1-flash, the model has 560B total parameters, with about 25B activated per token, and supports up to 1M tokens of context. It uses a Hybrid-linear MoE architecture with 63 KDA layers and 9 Gated MLA layers. Each MoE layer includes 512 routed experts and 1 shared expert, with 8 routed experts activated for each token.

LingSante-3.1-Flash performance overview

01 Complex Medical Reasoning: Extending Knowledge Understanding and Decision-Making

Complex medical reasoning requires more than accurate knowledge understanding. It demands the ability to identify the key factors behind clinical decisions, validate supporting evidence, and resolve potential conflicts across evidence sources. To support this, we build a medical evidence–reasoning alignment framework that enables high-quality data synthesis for complex reasoning tasks.

Specifically, the framework begins by selecting source data with joint consideration of task goals, reasoning structure, and evidence constraints. It then constructs medical reasoning or task-execution trajectories grounded in domain expert knowledge, and uses a multi-agent optimization system to refine task content and problem constraints at a fine-grained level. Finally, every sample is checked for medical correctness and task consistency. Together, this pipeline makes it possible to scale data generation without sacrificing quality, supporting training across multiple stages of model development. With this foundation, LingSante-3.1-Flash achieves state-of-the-art results among open-source models on complex medical reasoning tasks.

Sleep Analysis: Turning Clinical Metrics into Auditable Computation

Medical analysis requires more than generating outputs. It demands that professional concepts be translated into explicit, verifiable computational rules. In the YASA codebase, LingSante-3.1-Flash performs stage-wise analysis of heart rate and heart rate variability across sleep stages, producing stage-specific metrics while preserving heartbeat timestamps for traceability back to the original signals. When data are insufficient within a given interval, the system retains the record and leaves the relevant metrics blank, preventing missing data from being misread as physiological absence.

02 Long-Horizon Medical Tasks: Broad Scenario Coverage and Deep Execution Chains

Long-horizon medical tasks are fundamentally different from those in general domains. They often involve multiple interconnected sub-scenarios, such as evidence retrieval, case analysis, metric computation, and system operations, and require the model to coordinate them within a single workflow. This means the model must do more than call the right tools: it must adapt across scenarios, maintain state over time, revise plans as new information arrives, and verify results throughout multi-turn interactions. As a result, training must capture both the breadth of real tool-use scenarios and the depth of long execution chains.

To build these tasks, we construct interactive environments in three ways. Real MCP connects to live services, preserving native interface constraints and real-world business feedback. Mock MCP recreates tool behavior in code, making it possible to scale task coverage efficiently. World Models further supplement rare or hard-to-sample edge cases that are difficult to capture reliably in real environments. In parallel, we expand task forms along three dimensions: business scenarios, tool compositions, and operational constraints. At the workspace level, we reconstruct realistic working environments under two settings—a streamlined version and an information-redundant version—so the model must actively filter, prioritize, and integrate the information it needs.

For verification, we sample multiple trajectories for each task, compare them across runs to identify common solutions as well as missing steps, and then calibrate scoring with task-level validators. Together, this pipeline enables the scalable synthesis of high-quality long-horizon interactive tasks and remains fully compatible with hybrid harness training.

Medical Workflow Tasks: From Input Materials to Reproducible Deliverables

Medical workflows require more than final conclusions. They also involve continuous data verification, step-by-step analysis, and the delivery of auditable, reproducible outputs. In this demonstration, the model first checks whether the baseline and follow-up images belong to the same patient and whether lesion regions are correctly matched one-to-one. It then generates risk scores for each prediction target, verifies the completeness of the results, and finally delivers both a scoring table and a reproducible analysis script.

Medical Simulation: Turning Professional Principles into Interactive Experiments

Medical task outputs can also take the form of interactive experimental tools. From natural-language instructions, LingSante-3.1-Flash builds a respiratory mechanics simulation with parameter controls, dynamic visualization, and runtime validation, and delivers it as an HTML file that can be opened directly in a browser. The resulting tool enables side-by-side comparison of pressure, flow, and volume under normal breathing and increased airway resistance.

Deep search and research tasks often require models to connect multi-hop relationships and reason over specialized knowledge. To support this, we construct questions around these challenging settings, remove redundant search steps during task creation, and verify dependency relationships across evidence sources. During training, we optimize for more than answer correctness alone: we also account for tool-use frequency and generation cost, which helps reduce ineffective retrieval and overly long reasoning chains.

For tasks that require broader evidence coverage, we further introduce multi-agent search. A core agent decomposes the task, coordinates subtasks, aggregates evidence, and checks the final conclusion. We train this system with Contribution-aware Joint RL, which assigns rewards according to each agent’s contribution while balancing answer quality against execution cost. Compared with multi-agent RL optimizing only for accuracy, this method not only improves accuracy, but also reduces total search steps by more than 20%, delivering stronger final performance than a single-agent setup within the same time budget.

Contribution-aware Joint RL performance comparison

Evidence-Based Retrieval: Cross-Guideline Comparison and Applicability Verification

Complex multimorbidity questions require synthesizing recommendations across multiple guidelines rather than simply concatenating search results. Focusing on the coexistence of type 2 diabetes, chronic kidney disease, and heart failure, LingSante-3.1-Flash retrieves and examines the ADA, KDIGO, and Chinese domestic guidelines, systematically checking target populations, renal function stratification criteria, and recommendation grades. It then produces a source-grounded comparative analysis that highlights both consensus and divergence across recommendations.

03 Professional Behavior Alignment: Context Adaptation and Actionable Recommendations

To handle the complexity and incomplete information common in real-world medical tasks, models need more than medical knowledge alone. They must also adapt to clinical context and provide recommendations that are both professional and actionable—what we refer to as professional behavior. For example, when danger signals are present, the model should promptly recommend seeking medical care; when key information is missing, it should ask targeted follow-up questions; and when a conclusion is not yet well supported, it should proactively call the appropriate tools.

To support this, we build a professional behavior matrix by aligning real-world medical query types with medical behavioral guidelines. This allows us to scale the synthesis of Query–Rubric pairs that reflect authentic clinical scenarios. Both the query taxonomy and the behavioral guidelines are annotated and reviewed by physician teams across multiple dimensions, including clinical context, triggering evidence, safety boundaries, and expected behaviors, with an annotation agreement rate of 99.62%. During alignment training, the matrix converts professional behavior requirements into learnable reward signals for the model. On top of this, we combine online user feedback with offline evaluation, using automated analysis to identify recurring issues and uncover gaps in rubric coverage. These insights then guide the next round of data generation and training, forming a matrix-driven closed loop for continuous improvement.

Across both open-source and internally developed benchmarks for medical professional behavior, LingSante-3.1-Flash ranks second overall, behind only GPT-6 Astra, highlighting its strong performance in medical professionalism and behavior.

Medical behavior benchmark results

From Listening to Action: Turning Clinical Judgment into Practical Help

LingSante aims to turn clinical judgment into guidance people can understand and act on. It identifies the details that matter in how people describe their health concerns and helps them communicate those concerns clearly. It explains the reasoning behind its assessment and the risks and trade-offs involved, so users can make sense of their options. It then recommends steps users can take right away, taking into account the urgency of the situation and their individual circumstances. Our goal is to make this kind of practical support accessible to more people when they face a health concern.

Interactive Consultation: Adapting Judgments and Recommendations as New Information Arrives

Professional behavior shows up in every response the model gives as new information becomes available. In a simulated case involving headache with unilateral weakness, LingSante-3.1-Flash detects danger signals, revises its assessment and recommendations based on examination results, and organizes the multi-turn interaction into a structured medical record. The workspace brings together the supporting materials, reports, and follow-up plans, so the basis for each judgment and the corresponding action recommendations can be reviewed item by item.

Comprehensive Evaluation: From Medical Reasoning to Agent Tasks

The LingSante evaluation suite includes 13 reasoning and safety-alignment tasks and 19 agent evaluation tasks, covering medical knowledge and reasoning, healthcare workflows, safety and ethics, deep retrieval, professional work tasks, general tool use, and coding. We evaluate LingSante-3.1-Flash under this benchmark suite.

LingSante-3.1-Flash benchmark comparison

Limitations and Future Directions

Looking ahead, real-world medical services will place even greater demands on models in medical reasoning, long-horizon task execution, and robustness across complex workflows. In the next stage, we will continue expanding our evaluation framework around scenarios such as longitudinal health management, professional clinical workflows, and medical research. We also plan to incorporate factors such as patient-level variation, language, culture, regulatory requirements, and local medical resource accessibility, so we can better assess how models adapt across populations and care settings.

At the same time, we want to be clear about the current boundaries of this work. A substantial gap still remains between strong offline benchmark performance and real clinical deployment. The current system still has room to improve in supporting complex workflows, maintaining stability over long-horizon interactions, and adapting to local contexts. Privacy protection, regulatory compliance, and professional review processes will also need continued validation in real deployment settings. Model outputs must therefore not be used as the sole basis for diagnosis, prescribing, or treatment, and should never replace the professional judgment of licensed physicians.

We will continue working with clinical experts, academic researchers, and the open-source community to improve task design and evaluation frameworks, advance model capabilities, and progressively share related data, methods, and technical outcomes. We hope these efforts can help support the safe, careful, and practical development of medical agents in the real world.

Quick Start

ReleaseHealthcare