COTCAgent: Preventive Consultation via Probabilistic Chain-of-Thought Completion
Zihan Deng1 Xiaozhen Zhong2 Chuanzhi Xu3 School of Computing and Data Science, The University of Hong Kong 2 Shenzhen Institute for Advanced Study, University of Electronic Science and Technology of China 3 School of Computer Science, The University of Sydney [email protected], [email protected], [email protected]
arXiv:2605.15016v1 [cs.CL] 14 May 2026
1
Abstract As large language models empower healthcare, intelligent clinical decision support has developed rapidly. Longitudinal electronic health records (EHR) provide essential temporal evidence for accurate clinical diagnosis and analysis. However, current large language models have critical flaws in longitudinal EHR reasoning. First, lacking fine-grained statistical reasoning, they often hallucinate clinical trends and metrics when quantitative evidence is textually implied, biasing diagnostic inference. Second, non-uniform time series and scarce labels in longitudinal EHR hinder models from capturing long-range temporal dependencies, limiting reliable clinical reasoning. To address the above limitations, this work presents the Probabilistic Chain-of-Thought Completion Agent (COTCAgent), a hierarchical reasoning framework for longitudinal electronic health records. It consists of three core modules. The Temporal-Statistics Adapter (TSA) converts analytical plans into executable code for standardized trend output. The Chain-of-Thought Completion (COTC) layer leverages a symptom–trend–disease knowledge base with weighted scoring to evaluate disease risk, while the bounded completion module acquires structured evidence through standardized inquiries and iterative scoring constraints to ensure rigorous reasoning. By decoupling statistical computation, feature matching and language generation, the framework eliminates reliance on complex multi-modal inputs and enables efficient longitudinal record analysis with lower computational overhead. Experimental results show that COTCAgent powered by Baichuan-M2 achieves 90.47% Top-1 accuracy on the self-built dataset and 70.41% on HealthBench, outperforming existing medical agents and mainstream large language models. The code is available at https://github.com/FrankDengAI/COTCAgent/.
1
Introduction
Sequential diagnosis is a defining challenge of clinical medicine: physicians must fuse irregular labs, incomplete histories, and evolving hypotheses under uncertainty [1, 2]. Language models are increasingly used for public-health surveillance, multimodal monitoring, physiological interpretation, and turn-taking workflows [3–7]. Recent sequential-diagnostic benchmarks emphasize coordinated questioning [7], and interactive probing can surface context that static prompts omit while improving user trust when deployed responsibly [8, 9]. The open problem is not merely “more tokens,” but whether model outputs remain tethered to verifiable computations on the underlying time series. Historically, medical LLMs were evaluated on templated intakes or multiple-choice items that rarely mirror chart review [10–12]. Long-context advances change what fits in context [13], yet they do not, by themselves, guarantee faithful numeric reasoning. Tool-augmented and multi-agent stacks partially Preprint.
address this by delegating arithmetic, retrieval, and orchestration to external modules [14–18]. Even so, longitudinal agents still risk hallucinated trend statements and rationales that are hard to audit post hoc [5]. We ask how to obtain ranked differential hypotheses while preserving an inspectable trail from raw series to predicates, energies, and any follow-up questions. In this paper, we propose Probabilistic Chain-of-Thought Completion Agent(COTCAgent) (Section 3, Algorithm 1) to answer the question with three coupled layers. Temporal-Statistics Adapter(TSA) maps natural-language requests to compact statistical plans and executable code, emitting typed trend predicates (slopes, change points, residuals) instead of prose-only numerics. COTC matches symptoms and predicates against a Symptom–Trend–Disease knowledge base, forms IDF-weighted Gibbs energies, and softmax-normalizes them into a transparent ranking surrogate— distinct from fully calibrated probabilistic graphical models when population priors are absent [19]. Completion enumerates high-priority knowledge gaps, renders concise clarification questions, parses user replies back into discrete evidence, and re-scores with the same energy until mass, entropy, or round caps bind. We deliberately trade some conversational generality for traceability across code paths, knowledge base (KB) rows, and dialog turns. Our main contributions can be summarized as: 1. Systems integration: A traceable pipeline coupling executable trend statistics (TSA), structured knowledge-base scoring (COTC), and bounded multi-turn completion for longitudinal consultation (Algorithm 1). 2. Applied reasoning mechanism: IDF-weighted Gibbs energies with dual thresholds (T , θ), softmax ranking, and entropy-guided gap priority (Eq. 7), emphasizing interpretability over generative-path enumeration. 3. Empirical characterization: Controlled ablations, knowledge-base sensitivity analysis, and multi-backbone benchmarks (TimeCAP/Google/DirPred/KARE, frontier readers, o4-mini, Qwen3Next-80B-A3B) under shared decoding, with round-by-round accuracy attribution (Table 3 and Appendix H).
2
Related Work
The healthcare LLM literature evolved from narrowly structured SOAP-style prompts [10] toward dynamic temporal modeling that better mirrors unstructured, longitudinal chart data [12]. Long-context positional encodings, token-compression hacks, and subquadratic sequence models reviewed by [13] provide the representational scaffolding. Contemporaneous longitudinal EHR studies—notably [2]— quantify how context length interacts with clinically salient quirks (duplicate carry-forward diagnoses, irregular inter-event spacing, increasing label difficulty over the life-course). Translating representation capacity into bedside utility still requires tooling. Retrieval-oriented agent benchmarks [14] stress KB-mediated planning loops. Tool-augmented mathematical agents [15] harden numeric reasoning. Course-style tool curricula [17] further temper brittle hand prompts. Communicative multi-agent stacks [16] widen orchestration primitives, and large-scale API mastery training [18] expands the action surface available at decode time. Cooperative sequential diagnostics [7] crystallize multi-turn medical play atop these layers. Chronic gaps persist around faithful numeric computation, hallucination containment, personalization under shift, and auditable rationales bridging raw series to conversational updates [5]—motivating our explicitly layered stack. Symbolic structure offers a complementary remedy. Surveys [20] unify neuro-symbolic hybrids for biomedical KG pathways. Parameter-efficient bridges such as BioBRIDGE [21] connect foundation models to curated graphs. Constraint-aware parsers like NSSC [22] tighten entity linking under oncology noise. TrustKG-style templates [23] foreground clinician-facing integration. Broader taxonomy and limitations of neural-symbolic reasoning are synthesized by [24]. Reward-guided KG exploration is also emerging [25], stressing that brittle supervision can degrade transfer even when intermediate path judgments look strong—an argument for deterministic scoring layers atop transparent predicates, as pursued here. Probabilistic graphical models provide principled semantics for symptom dependencies when priors exist [19]. Surveys of biomedical KG–language-model hybrids [20] catalog how symbolic structure is wired into LMs. Community-retrieval predictors exemplify operational graph widening for ranking [26]. COTCAgent targets settings where calibrated priors are missing but longitudinal trend narratives abound: lightweight energy scores steer hypothesis ranking, missing evidence is 2
COTCAgent
COTC Module
TSA Module
Questions:How was my physical condition in the first half of the year?
Symptom/TrendDisease Database
…
?
Jan.
Sep.
Nov.
Time series EMR
Systematic analysis plan Difficulty classification
EMR integration
1. Identify conceptual variables 2. Convert data into Time Series format 3. Identify and address issues of missing and insufficient data 4. Apply appropriate statistical tests based on user intent
Complete COT Code generation and analysis
def analyze(df, query): # 1. Identify conceptual variables vars = get_vars(query, df.columns) # 2. Transform data data = df[df[vars['time']] > cutoff] dropna(subset=vars['key’]) merge(rel_df, on=vars['id’]) groupby(vars['cat']).mean() # 3. Address missing if len(data) < min_size: return {“err”: “Insufficient data”}…
Indicator Trend Summary
?Proactive consultation
1. Blood creatinine (Scr) increased from 65 μ mol/L to 185 μ mol/L (CKD3 phase) 2. Urea nitrogen (BUN) increased from 5.8 to 10.2 mmol/L 3. Urinary protein increased from 0.12 to 0.8g/24h (positive for sexual activity) 4. Hemoglobin Hb125 decreased by 102g/L 5. Uric acid 380 increased to 450 μ mol/L
Potential disease risk warning
Based on the changes in your blood creatinine, urine protein, hemoglobin and other indicators over the past six months, you may have chronic kidney disease. In addition, after chatting with you, we learned that your slight increase in uric acid is due to sleeping late and is not related to this underlying disease.
Figure 1: Overall architecture of COTCAgent: TSA produces trend predicates from longitudinal signals; COTC scores diseases and drives targeted completion. enumerated as explicit KB gaps, and short user answers fill those gaps before softmax re-normalization rather than exhaustive path finding across the entire ontology.
3
COTCAgent
3.1
Structural Overview
COTCAgent is a longitudinal consultation stack scoped to trend-based disease risk prediction and differential diagnosis given longitudinal labs, vitals, and symptoms. It does not handle medication safety, prognosis estimation, or preventive care scheduling. The TSA module turns irregular EHR series into short trend narratives; the COTC module matches those cues against a Symptom–Trend– Disease KB covering 9,948 diseases primarily in internal medicine (cardiovascular, respiratory, metabolic, infectious, and neurological conditions). When ranking remains ambiguous, the system asks one focused clarification and re-scores—it is not a free-form chatbot. Figure 1 sketches the flow. Architectural invariants. We deliberately isolate three stochastic surfaces: (i) Executable stats consume raw series (t, yt ) under explicit likelihoods so slope and breakpoint claims are regressions, not free-text guesses; (ii) Discrete matching consumes only predicates that survive tokenization (Severe→severe-trend proposition, anchored windows from TSA outputs); (iii) Natural language is confined to paraphrasing pre-specified gaps and parsing short answers back into those predicates. This separation is what makes failures legible—when M throws, the downstream COTC layer receives an explicit uncertainty flag instead of hallucinated numeric claims, and when the KB misses, Algorithm 1 exits through the low-coverage branch rather than fabricating edges. 3.2
TSA Module
The TSA block parses a clinical question, builds a small analytic plan, and emits code for the relevant estimators. Concretely, the transformation from natural language to executable analysis follows a structured decomposition: M:Q→Φ→Λ→C (1) where Q is the original query, Φ represents the parsed semantic structure capturing the clinical intent, Λ denotes the selected formal statistical model, and C constitutes the generated executable script. This mapping is query-dependent rather than universal. For trend-related requests, the module typically instantiates mixed-effects models to capture population-level patterns while accounting for individual variation: yij = β0 + β1 tij + ui + ϵij ,
ui ∼ N (0, σu2 ),
ϵij ∼ N (0, σϵ2 )
(2)
where yij represents the j-th measurement of a biomarker for patient i at time tij , β1 captures the population-level trend slope, and ui models individual random effects. Meanwhile, queries 3
concerning abrupt changes route to Bayesian change-point detection: P (τ | y) ∝ P (y | τ )P (τ ) =
τ hY
T ih Y i f1 (yt ) f2 (yt ) P (τ ),
t=1
τ ∈ {1, . . . , T − 1}
(3)
t=τ +1
where τ denotes the candidate change-point index and (f1 , f2 ) represent the pre- and post-change likelihood models, enabling quantitative assessment of temporal discontinuities in clinical trajectories. Labs are aligned to a common timeline; missing draws use K=5 Rubin-style stacks before fitting. Panels with many analytes project through Z = WT Y when diagnostics call for dimension reduction; optional GP heads report posterior mean f¯∗ =kT∗ (K+σn2 I)−1 y (Appendix A). Slopes, residuals, anomaly flags, and cohort contrasts are summarized into short phrases compatible with Eq. 5 (Figure 1). Anomaly detection uses population-level z-scoring against age/sex-matched cohort statistics from the KB (|z| > 2.5 threshold), not personalized baselines. Other estimators in Appendix A follow the same interface. The mapping M does not instantiate every model in Appendix A for every query. Instead, a lightweight router (rules over parsed intent Φ plus an LLM-based planner with JSON schema fallbacks) chooses a small subset of standard tools—e.g., mixed-effects trend tests for “stable slope” queries, structural change heuristics for “sudden worsening,” or robust smoothers when data are sparse. Failed fits automatically downgrade to simpler diagnostics and flag uncertainty in the TSA narrative so COTC never receives overconfident trend claims. Full routing pseudocode and failure modes are documented in Appendix E. Typed summaries as a contract. Each TSA artifact is a tuple (span, estimand, value, qual) where estimand is drawn from a finite schema (slope, change-point posterior mass, smooth trend residual, cohort z-score). Downgrades append UNSTABLE/SPARSE flags so the energy model in Eq. 5 can downweight predicates or route them to “soft” ϕ channels. This is a lightweight instance of probabilistic numerics thinking: the LM planner proposes which estimand to run, but the returned object is always the output of a named routine with documented failure modes, which blocks a common failure mode of “LLM says p=0.03” without a likelihood. 3.3 3.3.1
COTC module Symptom/Trend-Disease Database
Scarce public longitudinal EHR with gold labels motivated a Symptom–Trend–Disease knowledge base(KB) compiled from public medical text (Medscape/WebMD, NICE/CDC-linked guidelines, PubMed abstracts, patient education). Ingest de-identifies records and excludes MIMIC; LLMs only propose tuples or rephrase relations, never evaluation text. Ten percent of diseases (and dependent edges) are held out for checks; clinicians review those tuples plus 5% random samples (Table 7, Appendix D). The KB lists 23,456 entities (9,948 diseases; 8,673 symptoms; 4,835 trends). Sixteen clinicians ran a three-phase edge protocol (blinded ratings, κ<0.6 adjudication, temporal plausibility), yielding aggregate κ=0.87 and 94% of augmented pairs passing rules plus sign-off. Source tallies, rubric, and augmentation model IDs are in Appendix D. Edges carry coarse temporal qualifiers; typical rows link ∼15 symptoms and 3–8 trends (see Appendix I for KB statistics visualization). The LLM (GPT-4o) is prompted with structured templates to suggest symptom-disease edges, then proposals are filtered through three rule-based constraints: (i) anatomical consistency, (ii) temporal plausibility, (iii) severity bounds. PII is stripped before LLM calls; augmentation is versioned without recycling evaluation prompts. When no KB frame matches TSA tokens, COTC falls back with a low-KB-coverage flag (Algorithm 1). The COTC module is shown in Figure 2. 3.3.2
Calculation of Symptom-Specific Weight
In clinical reasoning, the diagnostic value of symptoms varies dramatically based on their epidemiological specificity. Common presentations such as fever or fatigue appear across numerous disease entities and therefore possess limited discriminative power for differential diagnosis. Conversely, rare pathognomonic indicators—such as Koplik's spots for measles or specific electrocardiographic 4
Indicator Trend Summary
Symptom/TrendDisease Database D3
D1
D2
Step2: Search for the complete thought chain of the disease
Cholesterol
Risk-symptom (RS) Matching Degree Calculation Risk1(95%) Risk2(72%) Risk3(55%)
: Disease : Symptom
Step1: Calculate RS
COT Complete Module Step3: Reverse inquiry for non-corresponding symptoms
Blood creatinie
?
?
Urea nitroge
Urinary protein Hemoglobin
Step4: Search for the second highest risk, if not matched
?
lymphocyte
Uric acid
Figure 2: COTC module wiring: TSA narratives and structured cues feed the KB matcher, producing ranked diagnoses, explicit gaps, and optional follow-up turns (Algorithm 1). patterns—provide strong diagnostic evidence when present. This fundamental principle of clinical medicine mirrors the information-theoretic concept of inverse frequency weighting in information retrieval. To quantitatively encode this clinical intuition within our knowledge-based framework, we adapt the Inverse Document Frequency (IDF) concept from information retrieval to the medical domain, introducing Inverse Disease Frequency (IDF) weighting for symptoms. This weighting scheme operates solely on the binary disease-symptom relationships encoded in our knowledge base, requiring no additional population prevalence data or continuous likelihood models that are often unavailable for rare conditions. Formally, the IDF weight for symptom sj is defined as: |D| + 1 IDF wj = log |{di ∈ D : sj ∈ Sdi }| + 1
(4)
where |D| counts diseases in the knowledge base and the denominator counts those with sj ∈ Sdi ; the +1 offsets mirror Laplace smoothing and avoid undefined logs at zero counts. This logarithmic formulation assigns monotonically higher weights to symptoms appearing in fewer diseases, thereby capturing their increased discriminative power for narrowing the differential diagnosis. The logarithmic scaling serves dual purposes: it ensures numerical stability when symptoms range from ubiquitous to extremely rare, and it maintains interpretable relative differences between weight magnitudes across the symptom spectrum. IDF as a discriminative sufficient statistic (KB-only). When population prevalences and continuous likelihoods for symptoms are unavailable, wjIDF plays the role of a surrogate log-odds weight: it rewards findings that shrink the active disease set quickly, analogously to BM25’s inverse document frequency in retrieval. Pairing log wjIDF with log ϕ in Eq. 5 mirrors a log-linear expert system in which each positive finding contributes additively on the log scale; every such term is auditable back to a KB row, unlike latent chain-of-thought chains. We emphasize this is still not a generative symptom model, co-occurrence beyond ϕ is intentionally under-modeled, but it gives a principled reason for why rare pattern matches should move mass faster than “fever” hits. This design prioritizes interpretability over expressiveness: IDF ignores symptom interdependencies, demographic context, and test reliability factors that would require richer data or expert-elicited dependencies. 3.3.3
Calculation of disease-weighted matching score
Given evidence Sp (symptoms and TSA predicates), we score each candidate disease di with an additive Gibbs energy Ri ; without population prevalence we do not claim a calibrated clinical posterior and instead softmax-normalize over the active candidate set (cf. [19].1 Positive terms 1 Implicit uniform support prior can bias toward rare diseases when patterns are ambiguous.
5
Algorithm 1 Probabilistic CoT completion with targeted questions Require: KB K, TSA summary t, evidence Sp , thresholds θ, T , max rounds Rmax 1: Initialize CoT log L ← ∅ 2: for r = 1 to Rmax do 3: Compute {Ri }, {P̃ (di | Sp )} with Eqs. 5–6; filter Ri < T 4: if maxi P̃ (di | Sp ) ≥ θ or H below band then 5: return ranked diseases, L 6: end if 7: U ← T OP G APS(K, Sp , t) ▷ Eq. 7; arity-capped gaps 8: if U = ∅ then 9: return ranked diseases, L 10: end if 11: q ← R ENDER Q UESTION(U) ▷ template + constrained LLM paraphrase 12: a ← U SERT URN(q); Sp ← Sp ∪ PARSE(a); L ← L ∪ {(q, a)} 13: end for 14: return best-effort ranking, L (mark uncertainty if maxi P̃ (di | Sp ) < θ)
add log wjIDF + log ϕ(sj , di ) for sj ∈ Sdi ∩ Sp with clinician-set ϕ ∈ [0.5, 1]; missing symptoms contribute log(1 − γwjIDF ), γ ∈ [0, 1]. Energy gate T precedes softmax; mass gate θ and entropy H follow it; low H means a peaked P̃ (H is diagnostic, not calibrated uncertainty). Ri =
X
X
log wjIDF + log ϕ(sj , di ) +
sj ∈(Sdi ∩Sp )
log(1 − γ · wjIDF ) ,
(5)
sj ∈(Sdi \Sp )
exp(Ri ) . P̃ (di | Sp ) = P ℓ exp(Rℓ )
(6)
Among top-k survivors Dk , missing slots g receive mass-weighted priority (entropy proxy; T OP G APS is arity-capped): H=−
N X i=1
P̃ (di | Sp ) log P̃ (di | Sp ),
π(g) =
X
P̃ (di | Sp ) · 1{g ∈ req(di ) \ Sp } · ψ(g, di ).
di ∈Dk
(7) with req(di ) the requirement set and ψ up-weighting pathognomonic or TSA-aligned predicates. 3.3.4
Probabilistic CoT completion and consultation loop
CoT completion instantiates the above priorities: T OP G APS implements Eq. 7, R ENDER Q UESTION fills slots with template-anchored language, and PARSE maps answers into discrete evidence so the same Ri objective is applied after every turn. Stopping fires when (i) maxi P̃ (di | Sp ) ≥ θ, (ii) H drops below a validation-estimated band tied to τH , (iii) Rmax binds, or (iv) U = ∅. If no KB frame aligns with TSA tokens, the loop exits with an explicit low-coverage flag. Appendix C walks through patient_0077. Figure 2 sketches how TSA summaries, matcher outputs, and the dialog steps connect. Offline, we precompute wjIDF for all symptoms (Eq. 4). Online, for each patient Sp we compute Ri (Eq. 5), convert to P̃ (Eq. 6), filter by Ri ≥ T with T ≈0.3, sort, and pass survivors into Algorithm 1. Algorithm–equation correspondence. Algorithm 1 operationalizes the scoring framework defined in §3.3. Line 4 computes disease energies Ri via Eq. 5 (summation over IDF-weighted symptom matches and penalty terms), then applies Eq. 6 to obtain normalized pseudo-posteriors P̃ (di | Sp ). The filter Ri < T implements the energy gate; Line 5’s threshold maxi P̃ (di | Sp ) ≥ θ is the mass gate. Line 8 invokes Eq. 7 to prioritize missing slots by their expected information gain. All hyperparameters (T, θ, τH , Rmax , γ) are fixed at validation-time and remain constant across experiments. 6
Table 1: Longitudinal medical record benchmark (mean±std over five runs).Boldface marks the best mean in each metric row. Method
Reader / Mode
Accuracy (%)
F1-Score (%)
Top-2 Acc. (%)
Disease Recall (%)
TimeCAP Google agt. KARE DirPred Gemini 2.5 Pro Claude 3.7 Sonnet o4-mini + tools Qwen3-Next-80B-A3B COTCAgent (Ours)
GPT-4o GPT-4o GPT-4o GPT-4o single-pass single-pass OpenAI single-pass Baichuan-M2
78.31±1.84 80.47±1.62 83.76±1.41 88.27±1.73 86.08±1.39 86.94±1.28 87.51±1.19 85.14±1.56 90.47±1.04
74.18±2.07 76.84±1.91 80.05±1.67 85.06±2.13 82.71±1.74 83.55±1.58 84.12±1.49 81.87±1.81 86.74±1.36
83.06±1.71 85.19±1.58 89.43±1.27 83.98±1.64 88.61±1.31 89.38±1.18 89.82±1.14 87.51±1.42 92.18±1.07
69.43±2.24 72.08±2.13 83.24±1.86 70.87±2.16 79.31±1.97 80.16±1.81 80.74±1.73 77.62±2.04 82.91±1.67
4
Experiments and analysis
This section jointly reports benchmarks, mechanistic interpretations, ablations, and takeaways relative to Sections 3–4 of the manuscript (TSA predicates, Gibbs energies, softmax ranking, Algorithm 1). We focus on patterns that recur across setups rather than overstating isolated point estimates. 4.1
Main results
Benchmarks and data sources. Longitudinal risk uses synthesized vignettes on cleared public catalogs (Appendix D). Conversational suites follow MedQA’s exam protocol [27], HealthBench rubrics [28] (12 themes, aggregate accuracy), DiSCQ discharge queries [29], and Time-MMD multimodal temporal tests [30]. All tasks are top-k disease prediction (not NLG scoring); prompts and caps are matched across backbones (Appendix F.2). Baselines. TimeCAP [31] contextualizes trajectories in text but omits programmatic trend–KB fusion. Google’s public recipe chains tools without our IDF-weighted KB or gap-to-question routing. KARE [26] adds graph-community retrieval without TSA code branches. DirPred [32] clusters temporal risks without interactive questioning. Decoding parity is in Appendix F.2. 4.1.1
Medical record risk prediction
Table 1 tests programmatic TSA predicates plus KB scoring (Appendix E), not trivia MCQA: log wIDF and ϕ in Eq. 5 curb invented slopes versus prompt-only stacks. Accuracy and trade-offs. COTCAgent leads accuracy/F1/top-2 (90.47%/86.74%/92.18%); top-2 beats DirPred (92.18% vs. 83.98%) despite DirPred’s strong top-1 (88.27%)—DirPred lacks explicit symptom/trend predicates, so mass thins after energy gate T (Eq. 6). KARE leads recall (83.24%); we reach 82.91% with better top-1. Frontier readers and o4-mini match on accuracy but lag tail metrics where typed evidence helps. Agent stacks (TimeCAP–DirPred) still trail strongest readers and o4-mini on tail-heavy metrics absent typed trends plus an IDF-regularized Gibbs layer; CIs narrow slightly when structure is fixed. Paired tests (5 runs) favor COTCAgent over KARE (p=0.04) and DirPred (p<0.01) longitudinally; HealthBench deltas are smaller with overlapping CIs. 4.1.2
Conversational risk prediction
We compare COTCAgent against established agentic pipelines under unified prompts (Appendix F.2). The softmax construction (Eqs. 5–6) is intentionally interpretable ranking machinery: conversational turns inflate Sp with parsed slots, reshaping masses without spawning free-form rationales disconnected from KB rows. Across these suites, open-ended tracks remain harder than static MedQA because each turn intertwines lexical ambiguity with longitudinal consistency checks. Baichuan-M2 + COTCAgent reaches 70.41% on HealthBench (+9.8 vs. TimeCAP, +7.5 vs. Google agents, +8.7 vs. DirPred, +0.8 vs. KARE, +2.2 vs. vendor tool loop; see Appendix G for complete results). The same architectural lift appears on GPT-4o, Gemini 2.5 Pro, and Claude 3.7 Sonnet, while Qwen3-Next-80B-A3B shows smaller 7
absolute deltas—consistent with the intuition that weaker planners emit noisier TSA narratives whose predicates fail to ignite high-weight edges in Eq. 5. Interpretation versus KARE. KARE closes most of the HealthBench gap by aggressive graph widening; our stack instead sharpens softmax peaks when predicates match held-out conversational cues. Narrow wins over KARE should therefore not be read as dominance of ontology coverage—they arise where structured trends and KB gaps coincide. These improvements do not certify clinically helpful dialogue; they only certify automatic scoring under shared decoding. d ŝ ŵ Ğ W