arXiv Science⌕ Search

arXiv subjects

Pengyu Zhan

Publications and source records attributed to Pengyu Zhan.

2 recordsLinked to original sources

Similar patients make language models predict death less often, not better

Large language models can estimate prognosis from clinical notes without task-specific training, and showing them the notes and outcomes of similar patients, a strategy known as dynamic few-shot prompting, reportedly improves such predictions. This comparison, however, changes the wording of the prompt, the presence of labelled examples and their similarity to the patient at once, and in-context examples can shift a model's answers through the labels they display. Here we show, in a controlled replication across 11 cancer cohorts (14,164 records; 2,282 deaths) from a publicly accessible single-centre database, that similar patients did not help a language model rank patients by their risk of death within 90 days of discharge. With the retriever of the original method, similar examples were equivalent within the pre-specified margin to random ones, and both lowered discrimination relative to the discharge summary alone; a stronger retriever and a larger model reduced this loss but did not reverse it. Examples nonetheless raised accuracy at the default threshold because the zero-shot prompt over-predicted death and examples made that prediction less frequent, and a threshold fitted to zero-shot scores raised accuracy further. The model's answers followed the number of deaths among the examples shown. Evaluations of retrieval-based prompting therefore need random-example and wording-matched controls and threshold-free metrics.

cs.AI↗

ScienceBuddy: Recursive-in-Recursive Self-Improvement for Interactive Scientific Agents

We introduce and release ScienceBuddy, an interactive scientific research workspace that brings continually improving scientific agents into researchers' everyday workflows. ScienceBuddy supports researchers in carrying out scientific tasks while transforming their requests, feedback, and execution evidence into tasks and evaluation rubrics for continual learning. At its core is recursive-in-recursive self-improvement, a paradigm that couples harness evolution with model reinforcement learning: the inner recursion improves the harness with the model fixed, while the outer recursion trains the model under the improved harness. Harness evolution shapes training experience, and model learning creates new opportunities for harness adaptation. We present case studies of researcher interaction, harness refinement, and model learning, with the benchmark cases spanning four scientific task families. By releasing ScienceBuddy as a research product, we make this paradigm available to the scientific community and take a step toward discovery intelligence: scientific AI that advances through sustained collaboration with researchers and evolves alongside the research it supports. Website: http://science-buddy.io

cs.AI↗