JD Health Replaces RAG with Deterministic Engineering Stack for Medical AI

JD Health rebuilt a four-layer engineering stack — model, knowledge, harness, and delivery — replacing probabilistic RAG with deterministic Agentic Search and structured knowledge base LLMwiki to achieve verifiable, auditable medical AI across clinical tasks.

DataFunTalk
DataFunTalk
DataFunTalk
JD Health Replaces RAG with Deterministic Engineering Stack for Medical AI

Problem: Probabilistic AI Falls Short in High-Stakes Healthcare

Medical AI is shifting from answering questions to completing tasks, but in healthcare every output must be deterministically correct. General-purpose LLMs deployed directly suffer from three issues: retrieval results are probabilistically uncontrollable, models excel at answering but not at executing, and generic engineering frameworks cannot meet domain requirements — errors go undetected and unaccounted for.

The bottleneck is not model capability but the lack of determinism in the engineering stack from model to knowledge to engineering to delivery.

Solution: Four-Layer Engineering Stack Reconstruction

JD Health redesigned the entire stack across four layers:

Model Layer: Execution-Grade Medical Code LLM

Upgraded from a reasoning model to an execution-grade medical code LLM. Code becomes the carrier for task execution, producing outputs that are verifiable and traceable.

Knowledge Layer: Deterministic Agentic Search and Structured Knowledge Base (LLMwiki)

Removed probabilistic RAG. Built a deterministic Agentic Search and a structured knowledge base called LLMwiki. Verification follows logical paths, making sources traceable and the verification process auditable.

Harness Layer: Directed Harness (MedWork)

Developed a directed harness named MedWork. It organizes tasks and deliverables, constrains tool calls, and validates key medical logic.

Delivery Layer: Closed-Loop Evaluation, Execution Records, Error Recovery, and Human Review

Established a closed loop with evaluation, execution logging, error recovery, and human review. For long-running tasks, checkpoints and recovery mechanisms are set; critical results undergo professional review.

Deployment and Results

This engineering stack now powers MedWork across multiple clinical tasks: evidence retrieval, medical record summarization, outpatient assistance, recording-assisted diagnosis, AI-MDT (multidisciplinary team), clinical nutrition, medication assistance, imaging, and research.

Four self-developed components — Jingyi Qianxun 3.0, MedCode, LLMwiki, and MedWork — are fully integrated, pushing AI delivery from "high probability of being correct" to "deterministically correct."

JD Health medical AI engineering stack architecture
JD Health medical AI engineering stack architecture
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Healthcare AIMedical AIAgentic SearchRAG AlternativeDeterministic AIEngineering StackLLMwikiMedWork
DataFunTalk
Written by

DataFunTalk

Dedicated to sharing and discussing big data and AI technology applications, aiming to empower a million data scientists. Regularly hosts live tech talks and curates articles on big data, recommendation/search algorithms, advertising algorithms, NLP, intelligent risk control, autonomous driving, and machine learning/deep learning.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.