2023年,当 Boston Children's Hospital 发布了一则提示词工程师的招聘启事时,Dinesh Rai 决定投递简历。他本以为自己不会获得这份工作。
当时,提示词工程正被外界视为生成式AI催生的热门新职业之一。企业需要懂得如何通过精心措辞指令、提供示例、赋予系统人格或其他上下文信息,从而引导大语言模型(LLMs)给出最佳答案的人才。
Dinesh Rai
雇主:
Boston Children's Hospital
职务:
Clinical AI Engineer
教育背景:
供应链管理市场营销科学学士学位,Rutgers Business School;医学博士学位,Albert Einstein College of Medicine
对一家医院来说,这是一个不寻常的岗位,但 Rai 的简历同样不寻常。他受过急诊科医生的专业训练,但在进入医学院之前,他还自学了编程。完成专注于临床实践与IT系统交叉领域的临床信息学进修项目后,他转向了医疗科技领域。
Boston Children's 于2023年8月将其招入团队。三年后,Rai 仍在那里工作。不过,提示词工程在其中的重要性已大大降低。
他入职时,人们期望提示词将成为一项独立的工作。Boston Children's 首席创新官 John Brownstein 表示:"懂得如何正确地向AI发出提示,将成为未来的核心工作职能。"
布朗斯坦表示,医院早期需要内部专家来了解如何开始使用 AI。如今,更好的模型使得精心设计的提示词不再那么重要,因此更难的工作是将 AI 嵌入实际的医疗系统——并判断其回答是否可信。布朗斯坦说,他们如今关注的问题已经转变:"如何将这些工具融入日常运营?如何构建智能体来管理你实际做的所有事情?"
对 Rai 来说,这意味着他拥抱了一份比将他带到波士顿的那个角色更广阔的工作。"我现在更像一名临床 AI 工程师,"他说。
介于医学与工程之间
Rai 本科阶段原本学习的是商业,2014 年(同年他进入医学院)开始自学编程,彼时神经网络和图像识别正开始吸引更多关注。在攻读医学学位期间,他一直在开发软件。例如,在医学院期间,他创建了一个名为 Academius 的平台,供学生追踪住院医师面试并编制排名列表。
对 Rai 而言,编程的吸引力在于其规模。在急诊医学中,他可以为眼前那位患者带来直接改变。而软件则提供了可能性,去构建某种让成千上万的临床医生能够为更多患者服务的工具。
他 2021–22 年的信息学研修项目让全职从事这一领域的可能性变得切实可行。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工具,旨在辅助他们的判断,而非取代他们对病历的审阅。"当人们亲眼见过它的错误后,比单纯告诉他们它表现良好时,会更信任它。"
不断演变的职业
Rai角色的演变反映出AI相关职位的更迭速度之快,因此Rai不愿建议那些对他这类职业感兴趣的人去精通某款特定工具。对于想要从事动手工程类工作的人而言,基础编程技能依然重要。对机器学习的些许了解会有帮助,构建和测试系统的经验同样如此。但并非每个希望与AI协作的临床医生都需要成为数据库架构师或深入钻研算法。
Rai认为不可或缺的是领域知识。在医疗领域,这意味着理解医疗保健工作流程如何运作、电子健康记录数据如何生成、这些数据实际上代表什么,以及医疗护理在哪些环节会出现断裂。
这或许才是这份曾短暂拥有AI领域最炙手可热头衔之一的职业中,更为持久的经验。
"价值不仅仅在于知道如何从模型中获取答案,"Rai 说,"而在于了解它需要什么上下文,以及这些上下文是否支撑我们要求它给出的答案。"
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
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.
Dinesh Rai
Employer:
Boston Children’s Hospital
Occupation:
Clinical AI Engineer
Education:
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.”
After the prompt
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.”
An evolving career
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.”
Auto-fetched and translated by AI Atlas. All rights belong to the original author.