Skip to main content
eBioMedicine logoLink to eBioMedicine
. 2023 Mar 15;90:104512. doi: 10.1016/j.ebiom.2023.104512

Attention is not all you need: the complicated case of ethically using large language models in healthcare and medicine

Stefan Harrer 1
PMCID: PMC10025985  PMID: 36924620

Summary

Large Language Models (LLMs) are a key component of generative artificial intelligence (AI) applications for creating new content including text, imagery, audio, code, and videos in response to textual instructions. Without human oversight, guidance and responsible design and operation, such generative AI applications will remain a party trick with substantial potential for creating and spreading misinformation or harmful and inaccurate content at unprecedented scale. However, if positioned and developed responsibly as companions to humans augmenting but not replacing their role in decision making, knowledge retrieval and other cognitive processes, they could evolve into highly efficient, trustworthy, assistive tools for information management. This perspective describes how such tools could transform data management workflows in healthcare and medicine, explains how the underlying technology works, provides an assessment of risks and limitations, and proposes an ethical, technical, and cultural framework for responsible design, development, and deployment. It seeks to incentivise users, developers, providers, and regulators of generative AI that utilises LLMs to collectively prepare for the transformational role this technology could play in evidence-based sectors.

Keywords: Generative artificial intelligence, Large language models, Foundation models, AI ethics, Augmented human intelligence, Information management, AI trustworthiness

A linguistic stunt takes over the world

The feat that LLMs allow to perform goes as follows: a human user inputs a ‘prompt’ or an iterative series of successive prompts into an application instructing it to produce a certain piece of output. Such prompts are posed in free-flow language and can be phrases consisting of a few simple words in layman's terms up to whole paragraphs giving detailed instructions to the program in complex language–and everything in between. Prominent examples of such technology are OpenAI's chatbot ChatGPT,1 Google's chatbots LaMDA2 and Bard,3 as well as Stability AI's and OpenAI's imagery generators Stable Diffusion4 and Dall·E.5 Topical possibilities for prompts are endless and can range from the amusing “Describe how to remove a sandwich from a toaster in the style of T.S Eliot” to consumer health related questions such as “What is the best nutrition plan for a diabetic with high blood pressure?” to prompting LLMs with entire problem subsets of the United States Medical Licensing Examination (USMLE). The LLM, in conjunction with other algorithms (a detailed description of the technology is given in the next section), will instantly and automatically generate a response to the prompt that, in case of text-to-text transformation and judging by style, grammar, presentation, and often also content, seems indistinguishable from the output a human counterpart might have produced. For example, Med-PaLM, an LLM custom developed by Google and DeepMind for the medical field recently reported USMLE accuracy results which started to approach performance levels of human clinical experts6 and were replicated by ChatGPT.7 BioGPT, a LLM developed by Microsoft and trained on biomedical data, has achieved human parity in certain tasks of biomedical text generation and mining.8 Similar outcomes have been reported with other state-of-the-art LLMs for standardized tests in law and education. This capability, paired with the conversational ease of human-machine interaction and the sheer limitless scope of prompt complexity and variability which LLMs can handle is an impressive accomplishment. It lets legacy natural language processing systems such as Siri or Alexa look like stone-age technologies and has given rise to an unprecedented investment and attention frenzy in the research community, commercial industry sectors, media, and the public which has been granted access to many generative AI applications under varying degrees of access limitations.

The technology explained

In a seminal piece of work, Google introduced a novel type of neural network algorithm, the Transformer model architecture, in 2017.9 Transformers learn contextual information from sequential data such as, for example, time series data from wearables, videos, textual words in written or spoken language, or other audio signals. Transformer architectures became the basis of LLMs which can contain up to trillions of parameters.10, 11, 12 Introduced for text-to-text conversion they were also, with minor fine-tuning and in combination with further algorithms, adapted for generating other data modalities implementing for example text-to-image, text-to-audio, and text-to-video schemes. Because they are trained on a broad set of data, and because they can perform a variety of tasks without having specifically been trained for them–for example writing a user manual, creating a painting in a particular style, or answering questions–LLMs are also called ‘Foundation Models’. Their application for the creation of new content has made them a key technology in the field of generative AI.

A look inside the ChatGPT engine room illustrates the role which LLMs play as part of generative AI applications. What happens here can, in different flavours, be found in other systems as well. In layman's terms, this is how the ChatGPT algorithm was built and trained1: it first ingested text data scraped off the internet (OpenAI did not disclose the exact training data set) and used that data to find and learn statistical correlations between the relative positions of words. This knowledge enables the model to iteratively predict which words most likely follow when presented with an initially given word or phrase, i.e., the so-called ‘prompt’. A first phase of supervised learning, during which human reviewers assessed the correctness of model responses to a select cohort of actual prompts sourced from user data of OpenAI's earlier GPT-3 model, served as the first fine-tuning round. In a second phase, more human prompts were sampled, and for each of them the model produced a selection of different responses. Human reviewers then ranked the relevance of model responses for each individual prompt, and these rankings fed a reward model that was used to further fine-tune the LLM. In a third reinforcement learning round, this process was repeated at scale with even more prompts and the LLM was fine-tuned to its present state as deployed into ChatGPT. This combined supervised, self-supervised and transfer learning approach using large amounts of unlabelled data is emblematic for Foundation models and extends their capability to learn tasks which they have never particularly been trained for.

An illusion of intelligence: limitations and risks of large language models

As sophisticated as LLM-powered chatbot responses might look, they represent nothing more than the model's extensive statistical knowledge of which words have preceded others in text that it has previously seen. They comprehend none of the language they deal with, neither the prompts they are being fed nor their responses. It is predominantly the power of scale, i.e., the enormous size of training data and model parameters and, in case of models being custom developed for navigating specific subject matter areas such as healthcare and medicine, the targeted curation of training data, that enables LLMs to produce answers which are often correct and convincing. But make no mistake: LLMs do not understand language (or other data modalities) and have therefore been termed ‘stochastic parrots’ in a 2021 academic landmark paper13 which stirred a heatedly debated controversy in the world of AI.14

This leads to three core limitations with respect to the content of LLM-generated data. Firstly, if models have been trained on a vast corpus of internet data with limited filtering (as for example is the case for ChatGPT or stable diffusion), they have ingested facts as much as misinformation, biased content as much as fair content, harmful materials as much as harmless ones. Without a means to assess any of these criteria before answering a prompt, LLMs are at risk—and numerous examples have demonstrated they have fallen to it—of reproducing, amplifying, and disseminating problematic content and misinformation.15 At times a LLM might tell the truth or produce relevant, acceptable, at times surprising, creative, and appealing content. At other times it might produce or argue for the most blatant and dangerous piece of misinformation. Secondly, the model has no means to assess by itself, let alone inform the user, which one it is at any given point in time. It does not know whether the material it produces contains falsehoods, misrepresentations, or inappropriate content or whether it tells the truth. Princeton philosopher Harry Frankfurt's infamous New York Times bestseller ‘On Bullshit’ comes to mind, referenced, and quoted here below:

“Someone who lies and someone who tells the truth are playing on opposite sides, so to speak, in the same game. Each responds to the facts as he understands them, although the response of the one is guided by the authority of the truth, while the response of the other defies that authority and refuses to meet its demands. The bullshitter ignores these demands altogether. He does not reject the authority of the truth, as the liar does, and oppose himself to it. He pays no attention to it at all. By virtue of this, bullshit is a greater enemy of the truth than lies are.”16

Thirdly, LLMs are probabilistic algorithms, i.e., when prompted with the same task or question multiple times, the model will return different responses which might either be different versions of previously wrong or problematic answers, or replacements of wrong answers with improved or correct ones and vice versa or constitute different versions of previous correct replies or combinations thereof. This behaviour poses a reliability and reproducibility problem requiring continuous human oversight of model operation.

Health buyers beware: generative AI is an experimental technology not yet ready for primetime

Despite these issues, LLM-driven generative AI is not smoke in the mirror. On the contrary: the fact that some of the applications currently being in the public domain have been released prematurely overshadows but does not take away from the tremendous potential the technology shows for fundamentally transforming countless industries and professions and particularly so, information management, education, and communication in healthcare and medicine.

LLMs could assist the generation of medical reports or preauthorization letters based on keywords. Documentation constitutes a quarter to half of a doctor's time and a fifth of a nurse's time.17,18 The use of LLMs has been demonstrated to reduce the time clinicians or other healthcare professionals spend on producing documentation content.19,20 Thus, LLMs show promise to change clinical practice by allowing doctors to spend more time with their patients. LLMs could also help medical students to study more efficiently by generating quality practice questions alongside explanations or by breaking down complex concepts at appropriate levels of detail.21 Clinician-patient communication often requires simplifying medical jargon, which LLMs could be a useful assistive tool for. This points to a potentially particularly impactful application of LLMs in the field of clinical trial design where their use could yield improved efficiency of clinical trial matching and clinical trial enrichment processes.22 Electronic health records (EHR) including clinical notes are one of the biggest, fastest-growing and most information-rich data sources in existence yet resist efficient interpretation and knowledge retrieval partly due to a lack of syntactic, structural, and semantic interoperability and standardisation. LLMs could help to overcome these hurdles.23

Generative AI has also gained traction in the life sciences and biomedicine fields and shows substantial potential for making drug discovery and design more efficient: David Baker's work on using LLM-type models for novel biomolecule design24 and biotech start-up Insilico Medicine's promising forays into using generative AI tools for target discovery25 showcase how generative AI could help to massively speed up the conception and design of novel protein structures as part of an AI-native drug development cycle. Married with one of the most exciting AI breakthroughs of our times, DeepMind's AlphaFold system capable of predicting structure and thus biological function of virtually any protein in existence,26 we are potentially looking at one of the most transformative and powerful tools humankind will ever have created to understand and navigate health and life sciences.27

Silicon Valley VC firm Sequoia Capital has recently enthusiastically laid out its positive view onto generative AI.28 At the time of publication of this essay, ChatGPT had successfully passed AWS Cloud Certification29 and Med-PaLM has started to approach human expert level performance on a subset of the USMLE exam.6 Microsoft is reportedly in negotiations with OpenAI about a multi-billion-dollar follow-up investment in integrating ChatGPT into MS Office and has already embedded it in its search engine Bing.30 Digital health AI guru Eric Topol has shared his encouraging views on the role LLM-powered generative AI applications could play in healthcare and medicine.31

It is tempting to picture the latest generation of LLMs as quasi-omniscient artificial medical doctors seamlessly tapping into the entirety of digitally documented knowledge and digging up a requested needle from that haystack at the glimpse of a prompt. However desirable, this vision suffers from misinterpretations on several levels. As Topol highlights, the role of AI systems is to augment human intelligence and to assist, not replace human decision making and knowledge retrieval. This becomes nowhere clearer than with LLM-based generative AI applications: the essence of efficient knowledge retrieval is to ask the right questions, and the art of critical thinking rests on one's ability to probe responses by assessing their validity against models of the world. LLMs can perform none of these tasks. They are powerful in-betweeners capable of efficiently and creatively narrowing down the vastness of all possible responses to a prompt to the most likely ones. But they cannot assess whether a prompt was meaningful or whether the model's response made any sense. Humans are needed in the loop to complement these shortcomings of LLMs with their own cognitive capabilities.

LLMs should therefore be treated as imperfect tools which promise to offer a tremendous efficiency gain to many workflows but need strict human supervision and action at both operational interfaces, input and output, using the proverbial garbage-in/garbage-out paradigm as yardstick to assess prompt and response quality, relevance, and appropriateness. It is no surprise that one of the fastest growing entrepreneurial markets in generative AI currently evolves around prompt generation and composition.32 It is intellectually rewarding to see that skilfully asking questions and giving clear instructions now also turns out to be quantifiably commercially rewarding. Generative AI has helped search engines to jump the evolutionary stage to response engines–hence Microsoft's investment into integrating ChatGPT capability into its search engine Bing being a competitive code red alert for Google.

However, concerning reports on dangerous use and misguided hype of several LLM applications in the healthcare and wellness management sector have started to surface. Anecdotal accounts of excited individuals reporting on consulting ChatGPT in health-related matters and taking its feedback at face value regularly show up in social media streams. Meta's botched release of its own self-proclaimed science-specific, LLM-powered chatbot Galactica produced disturbing pamphlets, offering–among other bogus reports skilfully presented as scientific publication including empirical quantitative research results–a detailed justification for the ‘health benefits of eating crushed glass’.33 And even Google's and DeepMind's more cautiously and responsibly built and released Med-PaLM still yields, albeit greatly diminished through careful selection of vetted training data, an extent and likelihood of potential harm which the responses of the chatbot could cause if acted upon without human expert review and guidance that is greater than human benchmarks.31 While one might argue that obvious medical and health related misinformation should be identifiable easily by applying common sense, we should remind ourselves that, in June 2020, the Centers for Disease Control and Prevention felt compelled to issue a public advisory report detailing instructions for safe household cleaning and disinfection for COVID-19 prevention explicitly warning the public to not drink bleach.34 The bottom line remains: uncontained creation and spread of misinformation in healthcare and medical domains can lead to serious harm.

In defence of OpenAI, it never advertised ChatGPT as trustworthy advisor but rather as a crowdsourced technology evaluation and refinement experiment. But context matters, and ethical use and development of AI technology requires to responsibly assess and mitigate risks upon releasing it. This has not happened in the case of ChatGPT,35 and, for that matter and in different ways, also not with several comparably popular applications of generative AI bots for automatically creating imagery, audio data, and code.15 In the wake of an unprecedented hype that likens recent progress in generative AI to the introduction of the internet itself cautious voices are getting louder. Early warners of uncontained and ethically unguided growth of LLMs13 experienced backlash to ethical whistleblowing.14 Other notable authoritative voices at the time of writing include DeepMind's CEO and cofounder Demis Hassabis offering a measured take on the AI revolution that is worthwhile reading,36 AI expert Gary Marcus providing a candid perspective on the risks and limitations of generative AI,37 Insilico's CEO Alex Zhavoronkov pointing out the accuracy limitations of generative AI in biomedicine,38 and Kevin Roose openly exposing the naïve, bordering dangerous mindsets of some of the creators of generative AI by asking them point-blank whether they ‘were worried by unleashing generative AI on the world before it was safe’ and reporting that the answer he got was a concerning ‘no’.15

How to bring generative AI to fruition in healthcare and medicine: an ethical, technical, and cultural call to action

With the Genie out of the bottle, what needs to be done to steer LLM-powered generative AI technology towards becoming a useful and safe tool in the healthcare, medical, and clinical fields? Certainly, hectic brute-force scaling the same deep learning technology with even more training data and more complex neural network models will not get us an inch closer to this goal or to a higher level of artificial intelligence, let alone to artificial general intelligence (AGI) at that. The last thing the field of (generative) Health AI needs at this point is another haphazard release of GPT-4 or any other purely scaled up LLM. The limitations of LLMs are systemic: simply boosting training data sizes and the number of model parameters to create future versions of the same model architectures will not overcome their shortcomings but rather amplify them. Instead, the following ethical, technical, and cultural approaches, should be the focus of responsible (re-)design of generative AI applications using LLMs so that they may become useful and safe tools for clinician and patient users.

AI ethics

The field of AI ethics is built on several key principles for the responsible design and application of AI technology. In a seminal 2021 report The World Health Organisation has translated these principles into guidance for the ethical use and governance of AI in health.39 This WHO framework allows to identify the specific ethical risks that arise from incorporating LLMs into generative AI systems in healthcare and medicine. The following section discusses insights from this assessment, explains key risk factors, and suggests possible pathways for risk mitigation. Table 1 summarises the findings.

  • (1)

    Accountability: Frameworks for ethical release and use of generative AI applications are needed. This starts with broadly educating users on the capabilities and risks of the technology and on the responsibilities and sensitivities involved in using it and should lead to the implementation of broadly understood and accepted conduct of use codices. At this point, the field navigates through a legally blurry state where good actors try to do the right thing, but bad actors seem to get away with following an ‘ask for forgiveness, not for permission’ paradigm, and the nature and capabilities of LLMs are misunderstood by many of its users. Some communities, such as for example, the education and academic publishing ones, have responded by issuing bans of the technology in their sectors.40, 41, 42 Trying to pull the emergency break is an understandable first reaction in the face of a little understood threat. But a ban cannot and should not be a solution to dealing with LLMs. Several lawsuits have been launched and are currently under way which promise to bring some legal clarity to accountability, rights and responsibilities of users and developers.43,44 The AI ethics community has begun to home in on generative AI45 and on regulating it through a checks and balances system as a matter of urgency.46 A rift seems to deepen between smaller start- and scaleup creators of generative AI willing to take higher risks when releasing it and BigTech corporations who–bound by high levels of public, regulatory and reputational scrutiny–double down on and promote their responsible and trustworthy AI programs in line with releasing LLM applications.3

  • (2)

    Fairness: Measures to mitigate model biases need to be put in place. In an ethically responsible AI development environment, this task is an essential part of the entire MLOps cycle. Bias can creep into AI applications in many ways and at several development stages. The most blatant neglect of addressing bias has already happened for many generative AI applications currently in public deployment by either scraping training data of the internet unseen or by curating training data using questionable methods35 or with insufficient attention to sources for potential bias or misinformation. Med-PaLM is one noteworthy laudable exception in this respect, but ChatGPT and Stable Diffusion are not. For them fighting bias has become as much of a retrospective as a prospective issue: human ethics panels with deciding power need to review current model implementations to identify and eliminate sources of bias and misinformation. This is a hard task when dealing with models that have already been trained using biased or incorrect data. The question of how to make an AI system ‘unlearn’ problematic content is a complex research topic.47 Furthermore, such ethics panels need to continuously audit the performance of already deployed models, report and weed out any problematic content they produce. This requires model developers and providers to work with human experts in the user community on identifying and documenting any errors or biased outputs which the deployed models might produce. Such information could be used for fact-checking and retraining models as well as for educating the user community on limits and risks of using the models. Note that constantly auditing LLM outputs is needed because, due to their probabilistic nature, it cannot simply be assumed that an LLM that has previously produced a correct or appropriate output to a prompt will automatically do so again when repeatedly given the same prompt. A large-scale citizen-science project recently kicked off by Gary Marcus and Ernest Davis aims to establish an error database for ChatGPT,48 and pressure needs to be put on developers and providers of models to engage in such activities proactively and continuously.

  • (3)

    Data privacy and selection: Legal and ethical frameworks for selecting and managing training data are needed. Heated debates and, as of a few weeks ago also the first high-profile lawsuit49 have ensued in the software engineering, creative, publishing, and arts sectors around copyright issues related to works being created by LLMs which had been trained on human artists' work without obtaining their explicit consent to approve that use of their data. In the healthcare and medical sector, debates on training data and AI generated materials will not be confined to data ownership and copyright issues but touch on liability and consent issues as well. Electronic health records range among the most highly restricted and sensitive data sources and require to be treated as such, and creating potentially harmful health advice has further reaching implications than infringing an artist's copyrights. Furthermore, as explained earlier, in evidence-driven domains such as healthcare and medicine the act of choosing and accessing suitable training data to develop generative AI applications has not only legal and ethical but also model performance related implications. At the time of writing, the legal lay of the land for managing data ingested into and produced by LLMs is complex and awaits the creation of clarifying legal precedence. James Vincent has published a comprehensive overview of the issues at hand and the powers at work.50

  • (4)

    Transparency: LLMs bridge prompts with responses without being inherently capable of showing the logic behind their work. This task is left to the human operator who will only be able to do a reliable job if the model provides insights into its data sources and labels AI-generated content as such. Some of the core reasons for Galactica's swift downfall was the fact that it made up scientific references and cited those in its responses.51 A non-excusable cardinal sin in the world of academia and research. One of the greatest threats caused by undetectable generative AI content is that if malicious, it could contaminate knowledgebases at scale. Turbocharged by the power of automated chatbots, camouflaged generative AI content could become a dangerous source of misinformation permanently leaving its toxic mark on knowledgebases.52 One can only imagine how misinformation broadly disseminated and hiding under the cloak of scientific truth could influence debates on such hotly contented topics as for example vaccination rules. OpenAI is reportedly planning to introduce a ‘Watermark’ feature labelling content created by ChatGPT as such. The efficiency of this effort is in doubt.53 DetectGPT is an experimental AI tool currently under development at Stanford University that allows to automatically detect whether a text sample has been created by a human or by a chatbot using an LLM. The program was reportedly able to correctly determine authorship for 95% of test cases across five popular LLMs, but more work is needed to bolster DetectGPT's resistance to various evasion strategies.54 Other, rather exotic but nevertheless potentially valid approaches to marking data with so-called ‘radioactive’ samples which would allow to retrospectively detect its traces in LLM outputs that have used such contaminated data as training data are being explored by reputable developers.55 Hugging Face and project BLOOM follow a radically transparent approach to developing generative AI technology.56 Integrating humans in the generative AI MLOps cycle brings its own ethical challenges: the detection of harmful content can expose human data annotators to mental health risks, and the immense amount of data that has to be reviewed at scale could lead to exploitative working conditions akin to those seen at assembly lines in the early stages of the industrial revolution.35 In evidence-based sectors such as healthcare and medicine data need to be curated by highly skilled clinical domain experts which results in often-underestimated invisible clinical labour cost. As generative AI systems will become more prolific, the workload and accountability aspect of data curation by humans will have to be addressed to avoid bottle necks and to keep human experts incentivised to partake in data selection and review.57

  • (5)

    Explainability: Closely tied to transparency and a complex area of research within the field of AI,58 a maximum level of explainability should be a key design feature of generative AI systems as it provides an important datapoint to the human user and operator whose role it is to validate the correctness and soundness of the AI's work. Transparent and explainable generative AI systems could be assigned a truthfulness index which would serve as an important measure for assessing the trustworthiness of an LLM when assisting clinicians and patients. The awareness for the importance of such indices however has just emerged in the field of AI in 2022, and at the time of writing only one index called TruthfulQA exists.59 Research into truthfulness indices for generative AI solutions should be at the core of every LLM development program in healthcare and medicine. Having said this, numerous programs to build, test, and apply frameworks and tools for developing trustworthy AI systems are established in the field. For example, IBM's ‘AI 360 Toolkit’ offers industry-grade tools to assess and improve fairness, explainability and robustness of AI systems.60 Google has introduced similar tools as part of its AI Principles program: the Model Remediation Library, Learning Interpretability Tool and Know Your Data Catalogue allow to identify bias, to improve fairness of models, to backtrack errors from model outputs to training data, and to scrutinise data with respect to its origin content and labels.61 Microsoft's One Engineering System develops tools with similar capabilities.62 Such frameworks are applicable to LLM technology, and it will be imperative to integrate them in the MLOps cycle for developing trustworthy generative AI applications in healthcare and medicine.

  • Explainability is not the sole yardstick to determine the clinical usefulness of an insight which an AI system has produced: while a high level of explainability is desirable, it is possible to use agnostic learning on high-dimensional data to produce clinically useful conclusions without being able to fully explain how the underlying AI system reached them.63 Such cases illustrate the paramount need for human expert validation and review of AI generated insights before they are translated into actions. But they also highlight the fact that AI technology can assist humans with selecting endpoints in AI-driven clinical interventions which they might not have considered without enlisting the help of AI.

  • (6)

    Value and purpose alignment: Generative AI shines a special light on AI's so-called Alignment Problem64: it describes the ethical and existential risks that emerge when machines do not follow or violate the values and purpose of their human creators and users. The constellation from which an alignment problem can arise requires a human value system to be in place on one hand, and a clearly defined purpose of what an AI system is supposed to be doing and why on the other hand. To then solve an alignment problem requires the ability to program values into an AI system and to control its adherence to them. All these aspects need to be at the forefront of developing LLM-driven generative AI applications in healthcare and medicine. Releasing them into the wild without declaring the values they are intended to follow, without defining a purpose as to what they should accomplish, and without explaining how these are implemented in the AI system and how model users and creators can monitor and enforce that the system adheres to them, AI technology is naïve at best and dangerous at worst. Value and purpose frameworks will depend on application sectors, users, and developer communities but they should always be declared and implemented in any AI system as a first step of responsible AI development. The medical community has a strong set of values as set out in the Hippocratic Oath, and the ‘do no harm’ imperative should be at the center of all exploration and application of generative AI for assisting in the management of health and wellness. OpenAI, in an effort to counteract toxic use of GPT-3, has made first steps to address the alignment issue by introducing a custom-designed LLM called InstructGPT which is reportedly better in capturing the intentions of human users and taking them into account when producing an output.65

Table 1.

Ethics framework for the responsible use, design, and governance of Large Language Models and generative AI applications in health and medicine.

Framework for the ethical use, design, and governance of Large Language Model (LLM)-based generative AI in health and medicinea
AI ethics principles Human autonomy Human well-being, safety Transparency, explainability Responsibility, accountability Inclusiveness, equity Responsiveness, sustainability
Definition for health and medicine applications as per WHO guidance39
  • •

    Humans remain in control of health-care systems and medical decisions

  • •

    Providers have information necessary to make safe, effective use of AI systems

  • •

    People understand the role AI systems play in their care

  • •

    Data privacy and confidentiality is protected through valid informed consent

  • •

    Designers of AI satisfy regulatory requirements for safety, accuracy and efficacy for well-defined use cases or indications

  • •

    Measures of quality control in practice and quality improvement in the use of AI over time are available

  • •

    Use of AI does not result in mental or physical harm that could be avoided by use of an alternative practice or approach

  • •

    AI is understandable to developers, medical professionals, patients, users and regulators

  • •

    Sufficient information is published or documented before the design or deployment of AI, and such information facilitates meaningful public consultation and debate on how the AI is designed and how it should or should not be used

  • •

    AI is explainable according to the capacity of those to whom it is explained

  • •

    Clear, transparent specification of the tasks that the AI can perform and the conditions under which it can achieve the desired performance are available

  • •

    Human stakeholders ensure that the AI can perform those tasks and that it is used under appropriate conditions and by appropriately trained people

  • •

    Patients and clinicians evaluate AI in development and deployment

  • •

    Regulatory principles are applied upstream and downstream of the algorithm by establishing points of human supervision

  • •

    If something goes wrong with an AI system, there is accountability

  • •

    Appropriate mechanisms are available for questioning and for redress for individuals and groups that are adversely affected by decisions based on AI

  • •

    AI is designed and shared to encourage the widest possible appropriate, equitable use and access, irrespective of age, sex, gender, income, race, ethnicity, sexual orientation, ability or other characteristics protected under human rights codes

  • •

    AI is available for use not only in contexts and for needs in high-income settings but also in lower/middle income countries

  • •

    AI does not encode biases to the disadvantage of identifiable groups

  • •

    AI minimizes inevitable disparities in power that arise between providers and patients, between policy-makers and people, and between companies and governments that create and deploy AI and those that use it

  • •

    AI is monitored and evaluated to identify disproportionate effects on specific groups of people

  • •

    Designers, developers and users continuously, systematically and transparently assess AI during use to determine whether it responds adequately and appropriately and according to communicated expectations and requirements

  • •

    AI is consistent with wider promotion of the sustainability of health systems, environments and workplaces

  • •

    AI is designed to minimize its environmental consequences and increase energy efficiency

  • •

    Governments and companies address anticipated disruptions in the workplace, including training for healthcare workers to adapt to the use of AI, and potential job losses due to use of automated systems

LLM-focused risk factors
  • •

    AI is used without human-in-the-loop oversight for checking correctness and appropriateness of AI-generated data

  • •

    Patient data and EHR data are used to develop AI without data owner consent

  • •

    Care models use AI without disclosing how and when

  • •

    AI is released broadly without regulatory oversight or user education

  • •

    AI produces misinformation or inappropriate content resulting in physical or mental harm to patients or clinicians

  • •

    AI is operated without offering quality or truthfulness control mechanisms in place

  • •

    AI is released without educating stakeholders about its limitations or by misrepresenting the AI's lack of language and content comprehension

  • •

    AI is designed and released without describing or disclosing training and testing data sources

  • •

    AI-generated content is not clearly recognisable and marked as such at all times

  • •

    AI is used as autonomous, ‘omniscient’ tool

  • •

    Training and validation data are not curated properly allowing the AI to ingest illegal or inappropriate content or misinformation

  • •

    AI is designed and deployed without sufficient clinician and patient input

  • •

    AI is used without regulatory oversight and without human control of quality, truth-fulness or appropriateness of in-or output

  • •

    No accountability mechanisms are in place for holding human designers and providers of AI accountable in case of adverse outcomes resulting from AI use or release

  • •

    Datasets for training and validating AI are selected prioritising data accessibility and availability over bias mitigation, or data is procured without any or with insufficient human due diligence and oversight by subject matter experts in the field of use

  • •

    AI design and development are dominated by stakeholders with access to large compute-power resources limiting the diversity of developer and user community

  • •

    There is no assessment of potential bias in outcomes and impact of care decisions which are influenced by the use of AI

  • •

    The probabilistic nature of AI is neglected or overseen and no continuous audit of AI-generated content is performed after deployment and during use of AI

  • •

    Size of datasets and complexity of AI model architectures cause large carbon footprint for training at scale

  • •

    Human labour costs for data selection, procurement and engineering are underestimated or misrepresented leading to unfair or unhealthy working conditions

LLM-focused risk mitigation pathways
  • •

    As a matter of regulatory approval, design and deploy AI as an assistive tool, augmenting the capabilities of human decision makers and not replacing them

  • •

    As a matter of regulatory approval, design AI systems to regularly produce easily accessible and quantifiable performance, usage and impact metrics explaining when and how AI is used to assist decision making and allowing to detect potential bias, either present at deployment of AI or evolving during ongoing use of AI in operational environment

  • •

    Study the value system of the target user group for a specific AI application, and design and develop the AI to adhere to these values accordingly

  • •

    As a matter of regulatory approval and machine learning best practices, declare the purpose of designing and using a specific AI system at the outset of any conceptual or development work, including the selection and curation of training or validation data and the integration of the AI system into clinical or non-clinical workflows or care models

  • •

    As a matter of regulatory approval and as a requirement of best-practice product release, designers, developers and providers of AI will disclose sources of all training and validation data

  • •

    As a matter of regulatory approval, design AI systems to clearly and transparently label any AI-generated content as such

  • •

    As a matter of regulatory approval and machine learning best-practices, humans ongoingly audit AI systems including the data they ingest and generate against defined quality, safety, and performance standards and ensure adherence to responsible AI conduct of use codices, data privacy and security policies including appropriate and valid consent frameworks

  • •

    Maintain databases for collecting, documenting and sharing the results of AI audits and insights, educate users about capabilities, limitations and risks for specific AI use cases and applications, and improve AI performance and trustworthiness through periodically retraining and redeploying updated algorithms

  • •

    Apply fair-work and safe-work standards when employing human developers of AI along the MLOps Cycle with a special focus on rewarding human subject matter experts and on assessing and mitigating risks for physical and mental harm that might arise for data engineers and reviewers of AI operations and performance

Subject to a combination of existing regulatory frameworks, good machine learning practice, and regulatory and technical suggestions at the time of writing
  • •

    Develop and apply methods for programming values into AI systems, and integrate frameworks for monitoring adherence of AI systems to encoded values

  • •

    Explore technologies for ‘untraining’ AI algorithms in order to help models ‘forget’ toxic or inappropriate content or misinformation they might have been exposed to

  • •

    Explore technologies for automatically detecting content generated by AI

  • •

    Explore technologies for embedding cognitive models-of-the-world in AI systems to guide them towards language comprehension and to support models with self-guided detection of harmful or inappropriate content

  • •

    Explore technologies for developing truthfulness indices for AI systems

  • •

    Explore avenues for building use case-specific evidence-based AI applications that rely on smaller training data and less complex model architectures supporting sustainable creation of AI systems by reducing the carbon footprint of model training and testing

  • •

    Establish legal precedence to define the circumstances under which data may be used for training AI, and as part of this establish, communicate and enforce copyright, liability and accountability frameworks that govern the connection between data used for training and developing AI systems, the data such AI systems then generate, and the impact of decisions humans make using such data

Subject to ongoing and future exploratory technical research and legal proceedings at the time of writing
Governance approaches AI ethics committees with executive decision powers integrated into AI product design, development, deployment, and auditing processes
targeted education and collaborative agency of all stakeholders: developers, providers, medical professionals, patients, users, and regulators
secure sandbox environments for safe, consumer-centric research, development, prototyping, and validation of AI applications for clinical environments

The proposed framework is based on the AI ethics principles and their projection onto AI systems in health as defined by The World Health Organisation 2021 Guidance on Ethics and Governance of Artificial Intelligence for Health39 (first and second row), employs these principles to identify key risk factors specific to using Large Language Models as part of generative AI applications in healthcare and medicine (third row), and suggests possible risk mitigation pathways (fourth row). Governance approaches which could support the effective implementation of this framework are provided in the bottom row. Note that this proposed framework does not override the full scope of criteria for assessing and addressing the risks of using AI technology in health as laid out in39 but seeks to extract and highlight those aspects that carry particular relevance and urgency with respect to the role of LLMs and generative AI in health. The framework is intended to be a basis and trigger for discussion and further refinement towards its broader uptake and integration into best-practices processes aiming to translate innovation in LLM-driven generative AI into products that ethically deliver value and minimise risks for those who use them.

a

Within this table the term ‘AI’ is used to describe Large Language Models (LLMs) as part of generative AI systems.

AI technology

Besides these ethical design features, there are also conceptional opportunities for technically altering the architecture of generative AI systems using LLMs to put them on the path to language comprehension and suitability for deployment in healthcare and medicine applications. The most fundamental and challenging one is to develop and integrate so-called ‘models of the world’. A contested and debated area of research at the intersection of AI and cognitive neuroscience,66,67 there are several approaches to how such models of the world could be designed and operated. Ultimately, humans develop, refine, and continuously apply them to understand and manipulate the world: they enable us to plan, reason, learn and have common sense. In the world of AI research, these cognitive abilities are currently–and have been for a while–overshadowed by the dominance of one of them: (deep) learning. To develop artificial, truly intelligent systems the field needs to not exclude but go beyond learning and take a more nuanced approach to researching and developing all aspects of intelligence. Generative AI technology and LLMs constitute both, a showcase of how turbocharging one narrow aspect of AI can yield an extremely promising and powerful tool but ultimately dumb system, and a call to action and unique opportunity for mitigating this outcome by diversifying the field of AI research. Analytical methods from the field of cognitive psychology have been used to shed light on the working principles of LLMs, pointing out their cognitive limitations but possibly also opening avenues for linking cognitive models of the world into them.68 Meta has recently taken a first exciting step into this direction in form of their CICERO chatbot.69 Capable of mastering the complex strategy game Diplomacy, the underlying LLM architecture veers away from the pure scaling-up trajectory and instead reflects attempts to incorporate cognitive capabilities beyond learning, notably bringing reasoning and planning into the game (figuratively and literally). A promising differentiation from the pure scaling strategy70 which still seems to be the mainstream trajectory of LLM research and evolution judging by the buzz pre-empting an expected impending release of OpenAI's next-generation, even higher-parameter LLM GPT-4.

Another technical approach to changing the nature of LLM development is to explore ways for improving model usability and performance for evidence-based knowledge domains such as healthcare and medicine by designing smaller models and training them on smaller data rather than throwing ever more data at ever more complex models. Google's Med-PaLM in contrast to OpenAI's ChatGPT is a good example taking this alternative pathway. Other examples include Microsoft's BioBERT,71 PubMedBERT,72 and BioGPT.8 We have seen this development in the field of deep learning before where a drive away from the infamous ‘big data’ paradigm and the introduction of transfer learning and data engineering has produced a generation of smaller yet impactful AI models.73 ChatGPT uses a downsized version of the earlier GPT-3 LLM, but this is more of a proxy effect as a larger initial neural network trained on big data was needed before smaller offspring neural networks could be created from it. Especially for applications of generative AI tools in healthcare and medicine, developers will run into the ‘big data’ problem, i.e., will have to face the fact that while theoretically electronic health records are a multimodal bottomless ocean of big data poised to be analysed using deep learning models,74 when it comes to getting access to such data, they very much are not. Whereas it was at least irresponsible in the case of non-medical LLMs to scrape training data off the internet sight unseen, it might be illegal or outright impossible to do this for medical LLMs in the healthcare domain.

Healthcare does move slowly but inevitably from a provider-centric monopolised to a patient-centric democratized state where patients gain more and more power over what happens with their data.75,76 While this works in favour of developing LLMs in healthcare and medicine, health data accessibility, quality and maturity on the ground differs vastly between different geographies, jurisdictions and subdomains which will require a strategy for generative health AI developers to work with lesser data. Another welcome side effect of switching to smaller models and datasets would be an increased diversity of the LLM developer community: at the moment, the scale-up strategy for crunching out ever more complex LLMs requires massive compute power at a level that only big tech enterprises or start-ups backed by them can sustainably afford. Moving to less compute power hungry model architectures and training regimes would not only reduce the carbon footprint of training such models,39 but make it sustainable for smaller entities, and desirably so also for medical or clinical institutions to participate meaningfully in the responsible and evidence-based creation of LLMs. This would boost the diversity of the generative health AI developer community, thus improving its ability to counteract bias and misinformation13,31 and helping to balance an increasingly commercialisation-heavy approach to bringing LLM-driven services to market with ethically and ecologically oriented ones.77

A culture of collaboration should drive future strategy

Besides ethical and technical approaches to transforming LLM powered chatbots into useful and trustworthy tools for human users in healthcare and medicine, there is also a cultural aspect to be considered. The often-heralded Silicon Valley paradigm of “move fast and break things” does not apply to healthcare and medicine. This makes Health AI a fault line of innovation where different cultures of conceiving, developing, and deploying new technologies tend to clash. Successfully overcoming trust and acceptance hurdles for innovation transfer requires close collaboration and communication between all involved stakeholder groups: clinician and patient users, technology developers and regulators. To make generative AI systems and LLMs useful decision support and knowledge retrieval services for clinicians and patients means taking the time to collectively assess the opportunity and risk landscape and to develop research, trialling, implementation, and auditing standards following the technical and ethical themes laid out above (Table 1). In the past and more than once, I have had a front row seat at the intersection of industrial AI research and clinical healthcare sectors that allowed me to witness the rejection spiral which high-potential AI technology can be drawn into when not developed and deployed in lockstep with target clinical and patient adopter communities. There often are no second opportunities to get things right after releasing AI technology prematurely or hastily in the healthtech sector: user and regulator trust are easy to lose and very hard to regain.

Translating this knowledge into a sustainable and realistic strategy and timeline for bringing LLM-based generative AI technology to fruition in healthcare points to a two-stage agenda: in a first phase, covering the immediate and mid-term future, focusing on the ethical approaches laid out above will allow to establish and improve the safety, trustworthiness, and usefulness of already released models for selected Health AI applications and for those currently under development. We will see more nuanced and risk-conscious experimentation with research-grade generative AI systems accompanied by increased scrutiny of regulatory bodies, and first commercial product offerings that are targeted and regulated for very specific niche applications in health data management such as summarising or creating reports. In a second phase, reaching into the long-term future, exploring technical model-of-the-world as well as scale-down instead of scale-up approaches might create generative AI models which understand the data they handle, be it text, audio, or imagery. It is at this point that LLMs might become intelligent and trustworthy artificial companions to clinicians and patients opening a wide spectrum of possible applications in managing health and wellness from Software as a Medical Device systems in the clinical diagnostics and prognostics space to digital personal health coaches in consumer health and non-clinical sectors. I am extremely excited about this moon-shot goal and inspired by thinking about the transformative role generative AI and LLMs could one day play in healthcare and medicine. But I am also acutely aware that we are by no means there yet and that, despite the prevailing hype, LLM-powered generative AI may only gain the trust and endorsement of clinicians and patients if the research and development community aims for equal levels of ethical and technical integrity as it progresses this transformative technology to market maturity.

Contributors

SH is responsible for all parts of the presented study including conceptualisation, investigation, methodology, project administration, resources, validation, visualisation, editing, writing, reviewing, and revising the original draft as well as the published manuscript.

Declaration of interests

SH is an inventor on granted US Patent 11,250,219 B2 ‘Cognitive Natural Language Generation with Style Model’.

Acknowledgements

SH conducted this study as an employee of the Digital Health Cooperative Research Centre (DHCRC) and accepts responsibility to submit for publication.

Footnotes

Appendix A

Supplementary data related to this article can be found at https://doi.org/10.1016/j.ebiom.2023.104512.

Appendix A. Supplementary data

Supplemental Material
mmc1.pdf (150.7KB, pdf)

References

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplemental Material
mmc1.pdf (150.7KB, pdf)

Articles from eBioMedicine are provided here courtesy of Elsevier

RESOURCES