这位急诊医生成为医院首位临床 AI 工程师

面向技术内行
面向技术内行
IEEE Spectrum 是 IEEE 的旗舰出版物——IEEE 是全球最大的致力于工程与应用科学的专业组织。我们的文章、视频和信息图向读者介绍技术、工程和科学领域的发展动态。
创建账户,畅享更多免费内容和权益
保存文章以供稍后阅读需要 IEEE Spectrum 账户
The Institute 的内容仅对会员开放
下载完整 PDF 期号仅限 IEEE 会员
下载本电子书仅限 IEEE 会员
访问《Spectrum》数字版为 IEEE 会员专享
关注主题是 IEEE 会员专享功能
加入全球最大的致力于工程与应用科学的专业组织,即可访问《Spectrum》全部文章、档案、PDF 下载及其他权益。了解 IEEE 更多信息 →
加入全球最大的致力于工程与应用科学的专业组织,即可访问这本电子书以及 IEEE Spectrum 的全部文章、档案、PDF 下载及其他权益。了解 IEEE 更多信息 →
免费访问数千篇文章
创建账号即可获得专享内容和功能:保存文章、下载合集、发表评论——全部免费!如需完整访问权限和权益,请订阅《Spectrum》。
这位急诊科医生成为医院首位临床 AI 工程师
Dinesh Rai 在 Boston Children's 担任提示工程师,其职责很快就超出了最初的范围
Jackie Snow 是驻洛杉矶的自由职业记者。
在自家办公室里,Dinesh Rai 将时间分配在与波士顿儿童医院的工程师和临床医生合作上。
2023 年,波士顿儿童医院发布了一则提示工程师(prompt engineer)招聘启事,Dinesh Rai 决定应聘。他没想到自己会得到这份工作。
当时,提示工程被吹捧为生成式 AI 催生的热门新岗位之一。企业想要的是那些懂得通过仔细斟酌指令措辞、提供示例,以及为系统设定角色或其他上下文,从而从大语言模型(LLM)中引出最佳答案的人。
波士顿儿童医院
罗格斯商学院供应链管理与市场营销科学学士;阿尔伯特·爱因斯坦医学院医学博士
对一家医院来说,这是一个不寻常的职位,但 Rai 有一份不寻常的履历。虽然他接受的是急诊医生训练,但他在进入医学院之前还自学了编程。在完成临床信息学专科培训后——该领域聚焦于临床实践与 IT 系统的交叉——他进入了健康技术领域。
波士顿儿童医院于 2023 年 8 月聘用了他。三年后,Rai 仍在那里工作。然而,提示工程在这份工作中的重要性已大幅下降。
他加入时,人们的预期是写好提示词本身会成为一个职业。“懂得如何正确地给 AI 写提示词,将成为未来的岗位职能,”波士顿儿童医院(Boston Children's)首席创新官 John Brownstein 说。
Brownstein 说,早期医院需要内部专业知识来了解如何开始使用 AI。如今,更好的模型让精心设计的提示词变得不那么重要,因此更艰难的工作是把 AI 构建进实际的医疗系统——并判断它的回答是否可信。Brownstein 说,他们如今关注的问题已经转变:“你如何把这些工具嵌入日常运营?你如何构建智能体来管理你做的几乎每一件事?”
对 Rai 而言,这意味着接受一份比当初把他带到波士顿的那个职位更宽泛的工作。“我现在更像是一名临床 AI 工程师,”他说。
在医学与工程之间
Rai 本科最初学的是商科,2014 年开始自学编程(同年他进入医学院),当时神经网络和图像识别正开始吸引更广泛的关注。在接受医生培训的同时,他一直在做软件开发。例如在医学院期间,他创建了一个名为 Academius 的平台,供学生追踪住院医师面试并整理自己的志愿排序名单。
对 Rai 来说,编程的吸引力在于它的规模。在急诊医学中,他能对眼前这一个个患者产生直接影响。而软件提供了另一种可能:做出某样东西,让成千上万的临床医生用它服务更多的患者。
他 2021—22 年的信息学 fellowship 让全职做这件事的可能性变得真实。2022 年,Rai 加入了医疗 AI 公司 Pieces,在那里他负责推动基于 LLM 的医学摘要进入临床使用。
这意味着他不得不完全暂停行医。Rai 说:“离开临床肯定是个艰难的决定。”但他希望把全部精力投入到技术工作上。此后,他重新激活了自己的行医执照,并希望在未来一年内以某种形式重返临床实践。
在 Boston Children's,他现在每天大约有一半的时间看起来像个工程师:与开发人员合作、写代码,从技术层面推进项目。另一半时间则与临床医生待在一起,弄清楚他们真正需要什么。这种结合已成为这份工作的核心所在。
发掘“clinical doppelgangers”
其中一个名为 clinical doppelgangers 的项目,旨在帮助治疗复杂病例的医生,在医院的历史数据中找出相似的病例。医学指南通常基于大规模人群制定,但在一家收治罕见、复杂疾病的医院里,某个具体的孩子可能并不完全符合已发表研究所代表的人群。
该系统正在开发中,意在让临床医生找出具有相关相似性的既往患者,查看他们的病程轨迹,并了解不同干预措施最终产生了怎样的结果。它并非要取代随机临床试验,而是在医生面对已发表文献几乎无法提供指导的病例时,提供另一种证据来源。
这类项目需要的不仅仅是知道如何向 LLM 提出正确的问题,还需要理解医院数据的含义、临床医生会如何使用答案,以及 AI 系统可能出现哪些问题。
Rai 最近在与一个临床团队和一个开发团队合作的另一个项目中,就遇到了其中一些挑战。当时他们正在决定,在要求 AI 模型识别与某一特定临床结局相关的发现时,该向模型提供患者病历中的多少内容。
更好的模型让精心设计的提示变得没那么重要,因此更艰难的工作是把 AI 融入实际的医疗保健系统。
两个团队最初都倾向于让模型获取更多信息,但理由各不相同。开发人员认为任何一个数据点都可能有用。临床医生则认为模型能够识别出无关的发现并将其忽略。
Rai 认为这两种假设都有问题。从临床角度看,异常的化验结果或生命体征未必与被问及的问题相关。而从技术角度看,不能指望 LLM 识别出这种不相关性。如果系统问模型某一项异常是否重要,模型可能会为它的重要性构建出一套看似合理的解释,即便病历并不支持这种关联。
“这正是双重视角的可贵之处,”Rai 说,“不只是在不同团队之间做翻译,还要在某个从任一视角看都合理的做法建立在不应做出的假设之上时,把它识别出来。”
在医学领域,围绕提示的种种挑战如今比打磨提示本身更重要。模型的输出与底层数据一致吗?它的结果该如何评估?使用它的临床医生能识别出错误吗?
这也意味着要倾听临床医生的经验。对于 Rai 的团队为起草临床记录而构建的平台,在最终定稿之前,将来会使用该工具的临床医生先审阅了一批生成的记录。Rai 说,一个在心脏重症监护室照护复杂病患数周的人,会比事后匆匆浏览病历的人更容易发现错误。
尽管 AI 在医学领域的应用正在激增,一些医疗从业者仍对其使用存有顾虑。“我认为一定程度的怀疑是健康的,我们不会试图说服人们放弃这种怀疑,”他说。团队事先告知临床医生,这是一款生成式 AI 工具,旨在支持他们的判断,而非取代他们自己对病历的审阅。“比起我们只是告诉他们这东西很好,人们看到过它犯错之后反而更信任它。”
原文较长,译文为节选;译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。
查看英文原文(This ER Doctor Became a Hospital’s First Clinical AI Engineer)
FOR THE TECHNOLOGY INSIDER
FOR THE TECHNOLOGY INSIDER
IEEE Spectrum is the flagship publication of the IEEE — the world’s largest professional organization devoted to engineering and applied sciences. Our articles, videos, and infographics inform our readers about developments in technology, engineering, and science.
Enjoy more free content and benefits by creating an account
Saving articles to read later requires an IEEE Spectrum account
The Institute content is only available for members
Downloading full PDF issues is exclusive for IEEE Members
Downloading this e-book is exclusive for IEEE Members
Access to Spectrum 's Digital Edition is exclusive for IEEE Members
Following topics is a feature exclusive for IEEE Members
Join the world’s largest professional organization devoted to engineering and applied sciences and get access to all of Spectrum’s articles, archives, PDF downloads, and other benefits. Learn more about IEEE →
Join the world’s largest professional organization devoted to engineering and applied sciences and get access to this e-book plus all of IEEE Spectrum’s articles, archives, PDF downloads, and other benefits. Learn more about IEEE →
Access Thousands of Articles — Completely Free
Create an account and get exclusive content and features: Save articles, download collections, and post comments — all free! For full access and benefits, subscribe to Spectrum .
This ER Doctor Became a Hospital’s First Clinical AI Engineer
Dinesh Rai’s role as Boston Children’s prompt engineer quickly outgrew its bounds
Jackie Snow is a Los Angeles-based freelance journalist.

In his home office, Dinesh Rai splits his time between working with engineers and clinicians at Boston Children’s Hospital.
When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. He didn’t expect to get the job.
At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI. Companies wanted people who knew how to coax the best answers from large language models (LLMs) by carefully wording instructions, supplying examples, and giving the systems personas or other context.
Boston Children’s Hospital
Bachelor’s degree in supply-chain management and marketing sciences, Rutgers Business School; Doctor of Medicine, Albert Einstein College of Medicine
It was an unusual role for a hospital, but Rai had an unusual résumé. While he was trained as an emergency physician, he had also taught himself to code just before entering medical school. After completing a fellowship in clinical informatics—which focuses on the intersection of clinical practice and IT systems—he moved into health technology.
Boston Children’s brought him on board in August 2023. Three years later, Rai still works there. Prompt engineering, however, has become a much less important part of the job.
When he joined, the expectation was that prompting would become a job in itself. “Knowing how to prompt AI properly was going to be the job function of the future,” says John Brownstein, chief innovation officer at Boston Children’s.
Early on, the hospital needed internal expertise about how to begin using AI, Brownstein says. Now, better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems—and determining whether its answers can be trusted. Brownstein says the questions they focus on these days have shifted: “How do you embed these tools in your day-to-day operations? How do you build agents to manage literally everything that you do?”
For Rai, that has meant embracing a job broader than the role that brought him to Boston. “I’m more like a clinical AI engineer now,” he says.
Between medicine and engineering
Rai originally studied business as an undergraduate and began teaching himself to code in 2014 (the same year he entered medical school), as neural networks and image recognition were starting to attract wider attention. He kept building software while training as a doctor. In medical school, for instance, he created a platform called Academius for students to track residency interviews and assemble their rank lists.
For Rai, the appeal of coding was its scale. In emergency medicine, he could make a direct difference for the individual patient in front of him. Software offered the possibility of building something that thousands of clinicians might use for many more patients.
His 2021–22 informatics fellowship made the possibility of doing that full-time feel real. In 2022, Rai took a job at Pieces, a health care AI company, where he led work to bring LLM-based medical summarization into clinical use.
That meant taking a break from practicing medicine altogether. “Stepping away was definitely a hard decision,” Rai says. But he wanted to give the technology work his full attention. He has since reactivated his medical license and hopes to return to clinical practice in some capacity within the next year.
At Boston Children’s, roughly half his day now looks like an engineer’s: working with developers, writing code, and advancing projects from the technical side. The other half is spent with clinicians, figuring out what they actually need. That combination has become the point of the job.
Uncovering “clinical doppelgangers”
One project, called clinical doppelgangers, is designed to help doctors treating complicated patients find similar cases buried in the hospital’s historical data. Medical guidelines are generally based on large populations, but at a hospital that handles rare and complex diseases, an individual child may not fit neatly into the populations represented in published studies.
The system is being developed to let clinicians identify previous patients with relevant similarities, examine their trajectories, and see how different interventions turned out. It is not meant to replace randomized clinical trials. Instead, it could provide another source of evidence when a physician is facing a case for which the published literature offers little guidance.
Projects like that require more than knowing how to ask an LLM the right question. They require understanding what hospital data means, how a clinician will use an answer, and how an AI system can go wrong.
Rai recently encountered some of those challenges while working on another project with a clinical team and a development team. They were deciding how much of a patient’s medical record to give an AI model when asking it to identify findings relevant to a particular clinical outcome.
Better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems.
Both groups initially favored giving the model access to more information, but for different reasons. The developers assumed any data point could be useful. The clinicians assumed the model would recognize irrelevant findings and ignore them.
Rai saw a problem with both assumptions. Clinically, an abnormal lab result or vital sign is not necessarily relevant to the question being asked. And from a technical perspective, an LLM cannot be counted on to recognize that irrelevance. If the system asks the model whether a given abnormality matters, it may construct a plausible explanation for why it does, even when the record does not support the connection.
“That’s where the dual perspective has been valuable,” Rai says, “not just translating between teams, but recognizing when an approach that looks reasonable from either perspective rests on assumptions we shouldn’t make.”
In medicine, the challenges surrounding the prompt are now more important than polishing the prompt itself. Is the model’s output consistent with the underlying data? How should its results be evaluated? Will the clinician using it be able to recognize a mistake?
That also means listening to clinicians’ experience. For the platform Rai’s team built to draft clinical notes, the clinicians who would go on to use the tool reviewed a batch of generated notes before anything was finalized. Someone who had cared for a complicated patient in the cardiac intensive care unit for weeks would catch an error far more easily than someone skimming the chart afterward, Rai says.
Although AI adoption in medicine is surging, some health care professionals still have concerns about its use. “I think some skepticism is healthy, and we don’t try to talk people out of it,” he says. The team told clinicians up front that it was a generative AI tool meant to support their judgment, not replace their own review of the chart. “People trust it more when they’ve seen its mistakes than when we just tell them it’s good.”
The evolution of Rai’s role reflects how quickly AI-focused jobs can change, so Rai is wary of telling people interested in careers like his to master any particular tool. For people who want hands-on engineering jobs, fundamental programming skills still matter. Some understanding of machine learning is useful, as is experience building and testing systems. But not every clinician who wants to work with AI needs to become a database architect or take a deep dive into algorithms.
What Rai considers indispensable is domain knowledge. In the medical field, that means understanding how health care workflows operate, how electronic health record data is created, what that data actually represents, and where care breaks down.
That may be the more durable lesson from a career that briefly carried one of AI’s buzziest job titles.
“The value isn’t just knowing how to get an answer from a model,” Rai says. “It’s knowing what context it needs and whether that context supports the answer we’re asking it to give.”
Related Articles Around the Web
原文为英文,正文由自动抓取并保留原文。
原文发布于 IEEE Spectrum AI(This ER Doctor Became a Hospital’s First Clinical AI Engineer),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。