ClinSeek-35B-A3B, arm C: multi-round ClinSeekAgent trajectories, epoch 2
Qwen/Qwen3.5-35B-A3B with full-parameter fine-tuning on 2,628 multi-round ClinSeekAgent trajectories (53 more for validation). In each round the agent reasons, retrieves patient-specific evidence from the raw EHR with tools, and it repeats rounds until it answers.
This is arm C of a two-arm comparison of training data. Arm S (Letian2003/ClinSeek-35B-A3B-armS-singlepass-ep2) uses the same questions, teacher, tools, system prompt and training recipe but a different retrieval protocol. Both arms re-run the SFT recipe of the ClinSeekAgent paper (arXiv 2605.20176) on 8 × H200. This is not the official UCSC-VLAA/ClinSeek-35B-A3B release.
| Item | Value |
|---|---|
| Base model | Qwen/Qwen3.5-35B-A3B |
| Training data | multi-round ClinSeekAgent trajectories, 2,628 train / 53 validation (not released) |
| Checkpoint | end of epoch 2 of 3: global_step_164 |
| Architecture | Qwen3_5MoeForConditionalGeneration, bf16 |
| Training | full-parameter SFT, 8 × H200, ClinSeekAgent paper recipe |
| Evaluation | not evaluated in this release |
| Code | https://github.com/UCSC-VLAA/ClinSeekAgent |
| Paper | https://arxiv.org/abs/2605.20176 |
Training data
Multi-round ClinSeekAgent trajectories. These are the trajectories and the split of the ClinSeekAgent paper.
The questions are the AgentEHR-Bench training split: 3,000 questions over six task families (diagnoses (CCS), procedures (CCS), laboratory tests, microbiology tests, prescriptions and transfers). The teacher is GPT-5.6 Sol (reasoning effort high). It runs ClinSeekAgent with the 16 EHR-only ehr.* tools under the strict temporal runtime policy, so it sees only events up to each case's prediction time. Before each action round, the teacher writes its reasoning with a forced ehr.think call.
Complete trajectories (end with ehr.finish) | 2,947 |
| ≤ 52K tokens (Qwen3.5 chat template) | 2,681 |
| Split (random, the paper's split) | 2,628 train / 53 validation |
| Reasoning rounds per trajectory | mean 9.0, max 16 |
| Training tokens (train split) | 57.4 M; median 19.3K, max 51.9K per trajectory |
Formatting for training.
- The think-only turns and their tool responses are removed.
- Their text becomes the native
<think>…</think>block of the next assistant turn, so the student reasons in its thinking channel instead of callingehr.think. - The teacher-only reasoning-protocol block is stripped from the system prompt.
- Provider reasoning summaries are discarded.
- Tool calls use the Qwen3.5 native tool-call format, with dotted tool names (
ehr.load_ehr, …). - The loss is computed on assistant tokens only: think blocks, tool calls and the final answer.
The trajectories are not released. They contain records from MIMIC-IV, which is PhysioNet credentialed-access data.
Evaluation overlap. No training question was excluded, as in the paper. The AgentEHR-Bench training split is not fully disjoint from the benchmark's evaluation splits. Counted over all 3,000 training questions, before the length filter:
common: 10 shared question ids, 58 shared patients;rare: 10 shared question ids, 47 shared patients;sample: no shared question ids and no shared patients.
The trained subset can contain fewer of them. Check for overlap before evaluating on common or rare.
Training recipe
This is the ClinSeekAgent paper recipe (scripts/train_sft.sh in the repository). The one change is the hardware layout: 8 GPUs instead of 2. The global batch, schedule and data are unchanged.
| Component | Configuration |
|---|---|
| Method | full-parameter supervised fine-tuning, verl + Megatron-core 0.16.1 + mbridge |
| Hardware | 1 node, 8 × H200 |
| Parallelism | tensor 2, expert 8 (expert-tensor 1), pipeline 1, context 1 → data parallel 4 |
| Batch | global 32 sequences per optimizer step, micro batch 1 per GPU, no padding |
| Steps | 82 per epoch (drop_last), 246 total over 3 epochs |
| Maximum sequence length | 52,000 tokens (the data is pre-filtered to ≤ 52K) |
| Optimizer | Adam (β1 = 0.9, β2 = 0.999), fp32 master weights and states kept on the GPU (the paper's 2-GPU run offloads them to the CPU) |
| Learning rate | 2e-5, 10 warmup steps, cosine decay to 2e-6 |
| Weight decay / gradient clipping | 0.1 / 1.0 |
| Precision | bfloat16 parameters and activations, bf16 gradient reduction |
| MoE losses | aux-loss coefficient 0.01 and z-loss 0.001 as configured; with this mbridge version the router's load-balancing type is none, so only the z-loss is active (same code as the paper) |
| Activation recomputation | full, uniform, 1 layer |
| Loss | assistant tokens only |
| Validation | every 25 steps and at the last step |
| Seed | 42 |
| Software | torch 2.10.0 (CUDA 13.0), transformers 5.4.0, Transformer Engine 2.12, flash-attn 2.8.3, mbridge 4cfd6f5 |
Training metrics
From the training log of run armC_B_r3 (one node, 8 × H200). The run finished all 246 steps.
train loss is the mean token-level cross-entropy of that step's 32 sequences, on assistant tokens only. It is noisy from step to step. val loss is the mean over 32 trajectories drawn from the validation split. verl evaluates every 25 steps and at the last step.
| step | epoch | train loss | val loss | note |
|---|---|---|---|---|
| 25 | 0.30 | 0.3565 | 0.3731 | |
| 50 | 0.61 | 0.3362 | 0.3420 | |
| 75 | 0.91 | 0.3166 | 0.3259 | |
| 100 | 1.22 | 0.2316 | 0.3307 | |
| 125 | 1.52 | 0.2073 | 0.3247 | |
| 150 | 1.83 | 0.2273 | 0.3170 | |
| 164 | 2.00 | 0.2261 | – | released checkpoint (end of epoch 2) |
| 175 | 2.13 | 0.1303 | 0.3290 | after the released checkpoint |
| 200 | 2.44 | 0.1313 | 0.3307 | after the released checkpoint |
| 225 | 2.74 | 0.1298 | 0.3316 | after the released checkpoint |
| 246 | 3.00 | 0.1308 | 0.3304 | after the released checkpoint; end of epoch 3 |
- Mean train loss per epoch (unweighted mean over steps): epoch 1: 0.3765, epoch 2: 0.2252, epoch 3: 0.1332.
- Tokens processed up to the released checkpoint: 0.115 B.
- Median step time: 51 s.
- Wall time of the whole run, including model load, validation and 3 saves: 3.74 h.
Checkpoint
This is the end of epoch 2 of 3, global_step_164 (82 steps per epoch). The paper's released model is also its end-of-epoch-2 checkpoint.
- Architecture:
Qwen3_5MoeForConditionalGeneration, unchanged. The tensor names, shapes and dtypes are identical toQwen/Qwen3.5-35B-A3B: bfloat16, plus the base's fp32A_log/linear_attn.normtensors. 14 safetensors shards, 71.9 GB. - Weights: the trainer's own Hugging Face export of the language model and vision tower (mbridge).
- MTP head: the multi-token-prediction head (
mtp.*) was not built or trained by this training stack. It is copied unchanged from the base model. It can still be used for speculative decoding, possibly with a lower acceptance rate. - Vision tower: training was text-only, so the vision tower is effectively the base's.
- Verification before upload: 35/35 required checks passed. They cover index ↔ shard consistency, tensor names / shapes / dtypes against the base, that every tensor is finite, the change relative to the base, the MTP head being equal to the base, and a transformers load plus a greedy generation that opens a
<think>block and then emits a tool call. Relative L2 change of the 693 language-model tensors versus the base: median 0.0115, max 0.0479.
Usage
This is an agent model. It expects the ClinSeekAgent EHR tools and a multi-turn tool loop. The ClinSeekAgent repository provides the EHR MCP server, tool schemas, prompts, the benchmark runners and scoring.
Serving with vLLM:
vllm serve Letian2003/ClinSeek-35B-A3B-armC-multiround-ep2 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder
The paper's evaluation also passed --max-model-len 196608 --language-model-only (vLLM 0.28.1). It used thinking with a 4,096-token budget, temperature 0, at most 8,192 output tokens per call and tool results truncated to 100,000 characters.
The model was trained with an EHR-only tool space (no web browsing). Do not add an instruction to call ehr.think: the model reasons in its thinking block instead.
Loading with transformers:
import torch
from transformers import AutoModelForImageTextToText, AutoTokenizer
model_id = "Letian2003/ClinSeek-35B-A3B-armC-multiround-ep2"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")
Limitations and data use
- License and data use. The model was trained on trajectories over MIMIC-IV patient records. MIMIC-IV is PhysioNet credentialed-access data, and the trajectories contain record content returned by the tools. The weights are therefore treated as a derivative of MIMIC-IV and are released for research use under the terms of the PhysioNet credentialed health data use agreement (
license: other,physionet-credentialed-derivative). Do not try to extract or reconstruct patient-level information from the model. The base modelQwen/Qwen3.5-35B-A3Bis licensed under Apache-2.0. The base model'sLICENSEfile is included. - It was trained on AgentEHR-Bench task families only. Performance on other clinical tasks is not established, and this checkpoint has not been evaluated.
- It is a research model, not a medical device. Its outputs must not be used for clinical diagnosis, treatment, triage or patient management.
Citation
@misc{wu2026clinseekagent,
title = {ClinSeekAgent: Automating Multimodal Evidence Seeking for Agentic Clinical Reasoning},
author = {Wu, Juncheng and Zhang, Letian and Wang, Yuhan and Tu, Haoqin and Chen, Hardy and Wang, Zijun and Xie, Cihang and He, Yufan and Zhao, Can and Xu, Daguang and Tang, Yucheng and Zhou, Yuyin},
year = {2026},
eprint = {2605.20176},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2605.20176}
}
Please also cite AgentEHR-Bench, MIMIC-IV and Qwen3.5 where applicable.