Abstract
Large language models (LLMs) offer promising applications in mental health care to address gaps in treatment and research. By leveraging clinical notes and transcripts as data, LLMs could improve diagnostics, monitoring, prevention, and treatment of mental health conditions. However, several challenges persist, including technical costs, literacy gaps, risk of biases, and inequalities in data representation. In this Viewpoint, we propose a sociocultural–technical approach to address these challenges. We highlight five key areas for development: (1) building a global clinical repository to support LLMs training and testing, (2) designing ethical usage settings, (3) refining diagnostic categories, (4) integrating cultural considerations during development and deployment, and (5) promoting digital inclusivity to ensure equitable access. We emphasise the need for developing representative datasets, interpretable clinical decision support systems, and new roles such as digital navigators. Only through collaborative efforts across all stakeholders, unified by a sociocultural–technical framework, can we clinically deploy LLMs while ensuring equitable access and mitigating risks.
Introduction
WHO has highlighted the urgent need for transformation in mental health care globally. Conditions such as depression, anxiety, and psychosis are the leading causes of disability, affecting 970 million people worldwide with an economic impact of US$1 trillion annually.1 This crisis is deepened by considerable gaps in the detection and treatment of mental health conditions. WHO emphasises how digital technologies could help to meet mental health needs across populations at scale,2 particularly in underserved areas where the availability of mobile technology surpasses that of traditional health care.1 The accelerating enthusiasm for artificial intelligence and large language models (LLMs), exemplified by the widespread adoption of ChatGPT (OpenAI, San Francisco, CA, USA) by the public, has broadened interest in their mental health applications.3 To translate this enthusiasm into tangible innovations, first understanding the actual capabilities of LLMs and then identifying how they can be realistically deployed for research and care is crucial. In this Viewpoint, we adopt a sociocultural–technical lens to highlight opportunities and key challenges of the use of LLMs for mental health and offer recommendations for a framework that can help towards realising these opportunities.
Potential of LLMs for mental health
Mental health conditions are often both identified and treated through language, making them an ideal target for LLMs. Efforts in prevention, early diagnosis, monitoring, and even treatment are all potential areas in which LLMs can augment care and research. However, the mental health implications of LLMs can only be understood in the context of what LLMs can and cannot do. LLMs process unstructured text for both input and output and can be further adapted for medical domains.4 LLMs require extensive training datasets and are best conceived as sophisticated pattern-matching programs: just as autocomplete has been able to predict the next word in text messages for years, LLMs might now be able to write or summarise a clinical note, or predict outcomes based on the content of these notes.5 This broader applicability emerges from the pattern-matching core of LLMs, which require billions of examples and parameters on which to train. Research findings from peer-reviewed and preprint studies suggest that LLMs could assist in clinical tasks, including diagnostic assessments,6 intervention delivery,3 and empathic support.7
Problems
Despite their potential, the clinical deployment of LLMs is hindered by several challenges. Firstly, transparency issues arise from the datasets on which these models are trained, hindering multilingual performance8 and potentially embedding hidden biases.3 Mitigation would require regular monitoring of where data are being sourced from, the data type, how to track the diversity of data sources, and the consideration of inclusion strategies. Furthermore, the technical cost associated with LLMs poses considerable accessibility and implementation barriers, particularly in low-resource settings. These barriers include increasing the need for computing power, dedicated hardware, and growing energy consumptions and carbon footprints,9 all of which risk exacerbating existing global inequalities. Lastly, there is a need for improving literacy on LLMs because the complexity of these models can result in a poor understanding of their operation, and of the strategies required to mitigate misleading outputs. Addressing these challenges is crucial to ensure that LLMs can help to serve mental health needs with effectiveness, fairness, and equity.
Related work
An expanding interest in LLMs has spurred numerous framework proposals, both published and in preprint.10–19 However, during our literature search we identified only one publication directed at mental health18 that was focused on ethical domains. Although ethics is also a core component of our proposed sociocultural–technical framework, creating a global repository of health information on which to train a novel LLM to generate new insights, and ensuring a foundation in digital literacy to ensure inclusivity, presents a different approach. But many approaches are necessary and a growing number of initiatives are working to assess the sociotechnical limitations of LLMs in high-risk settings, such as law and medicine, through the design of benchmarks coproduced by technical and domain experts (eg, AdSolve). Although these initiatives have helped to advance our understanding of LLMs in medical settings, there is still a need for a comprehensive framework, such as that proposed in this Viewpoint, which integrates contributions from clinicians, medical and computer scientists, and individuals with lived experiences of mental health, given that such a framework does not exist at this time.19 Our work addresses these gaps by proposing a sociocultural–technical framework that involves all these stakeholders to identify key opportunities in deploying LLMs for mental health care and research.
Key opportunities
The Wellcome Trust and Google partnered to host a convening of a diverse set of clinical researchers, computer scientists, funding agencies, and lived experience experts to identify key points for advancing research utility and clinical deployment of LLMs. The attendees’ recommendations focus on model-agnostic features, given the rapid evolution of LLM architectures that frequently challenge established notions of model capabilities and optimal learning strategies (figure).
Figure: Proposed sociocultural–technical framework.

A global repository of clinical, biological, and lifestyle data across diverse cultures is used for training and evaluation of large language models. The deployment ecosystem ensures ethical use through data protection, governance, and fairness-building measures. This ecosystem is founded on initiatives for digital literacy and global access to internet and computational resources, with the goal of increasing equitable access.
Building a global clinical repository
Building safe and useful LLMs will require a global and multimodal biobank of psychiatric texts (eg, journal articles, text books, and websites), research, patient notes, clinical measures, personal outcome metrics, biomarker data, behavioural signatures, and clinical corpora. Efforts at this foundational level are crucial to design models that can engender trust, reduce bias, and minimise risk while reducing downstream harms. Assuming that an independent non-profit governance structure is established that defines and implements appropriate protections and safeguards against data misuse, this repository could also serve as a transparent resource for training, testing, and benchmarking LLMs for mental health. Specifically, given the sensitive nature of mental health data, the biobank should prioritise strong policies on data usage and protection, a federated database system, and robust cybersecurity protocols. Applying a sociocultural–technical lens, this biobank should be supported with concomitant educational activities to help researchers and clinicians identify cases of optimal use for these data and training in its clinical role. Having shared training and educational resources will also support the implementation of LLMs in low-resource settings with limited technical expertise.
Designing ecosystems to encourage the ethical usage of LLMs
LLMs are tools that will be able to affect clinical care only if placed in the hands of stakeholders that can optimally and responsibly use them. Although past efforts at learning health-care systems in mental health have not transformed the field,20 LLMs present an ideal opportunity to create more impactful systems in which the technology and cases of clinical use develop synergistically. LLMs can be used as tools to help facilitate communication and shared decision making between patients and clinicians. For example, LLMs are already being used to help make clinical notes more accessible to patients, and patients could use LLMs to help them practise therapy skills, challenge negative assumptions, or even for reality testing in which users can assess the relative objectivity of some thoughts. These applications and their model training should safeguard sensitive patient information by anonymisation and adhering to established privacy standards, including the US Health Insurance Portability and Accountability Act. Designing more powerful and representative LLMs for clinical use will require increasingly massive clinical datasets, juxtaposing the benefits of large-scale training with privacy considerations. A promising solution is federated learning, which allows LLMs to learn and be aligned from decentralised datasets without direct sharing,21 safeguarding data privacy and security. The design and deployment of these LLM-based systems should be guided by the consideration of available computational resources and assessments of the effect of their full lifecycle, including environmental impacts.9 Facilitating conversations and existing care presents initial tangible targets for LLMs to improve outcomes now while larger efforts aimed at changes in approach develop complementarily.
Challenging diagnostic categories
The ability of LLMs to synthesise massive amounts of disparate data presents unique opportunities for advancing prevention and psychiatric nosology. Given that there are no well established biomarkers for any mental illness, and that even the gold standard for diagnostics, the Diagnostic and Statistical Manual of Mental Disorders-5, has variable inter-rater reliability,22 the challenge of training LLMs cuts directly into one of psychiatry’s more intractable challenges. Early warning signs and linguistic markers23 identified by LLMs indicate their potential for more meaningful clinical stratification and nosology, reflecting the continuum between wellbeing and illnesses.24 Despite their potential insights, the sociocultural–technical lens emphasises the need for LLMs to be developed within interpretable clinical-decision support systems. Computerised diagnosis programs have existed for over 50 years and serve as a reminder that the right information alone does not guarantee the right clinical outcome.20 Although a new generation of LLM-powered novel diagnostics will not transform care overnight, approaching them as adjunct tools within the broader context of patient care will help ensure that LLMs are effectively integrated into health-care practices.
Upholding diversity and transparency
Cultural and linguistic characteristics strongly influence expressions related to mental health, posing challenges for LLMs built on English text8,23 and western values. Model training often relies on a non-transparent selection of datasets25 that potentially contain hidden biases, also making the estimation and comparison of clinical performance challenging. This factor is fundamental because initial findings from preprint papers suggest that LLMs have been shown to offer less comprehensive, less consistent, and less verifiable answers to health-care queries in other languages compared with queries in English,8 and provide less empathic support to Black patients.26 The use of a transparent list of diverse, multilingual, and representative datasets is a first step towards health equity. Transparency would help to ensure the monitoring of where data are being sourced from, open debate on how to track diversity of data, and inclusion strategies for those less likely to contribute. A second step is to design LLMs that can flexibly align between and within cultural contexts, because symptoms considered pathological in one setting might be seen as normal if not valued in another.27 Addressing the challenge of data and value alignment with diverse cohorts will require transparency, public engagement, and the contributions of domain experts, including individuals with lived experiences. Open dialogue with these stakeholders will help to monitor whether LLMs align with societal values and respect the diverse needs of seekers of mental health care.
Promoting digital inclusivity and literacy
Although the learning health-care system model can help to ensure optimal development and use, the foundation of any technology-enabled system should rest within equitable access. LLMs rely on vast training datasets and biases existing in those datasets will be amplified if attention is not paid to inclusivity at all stages of development and implementation. Although access to the internet is becoming more common, it is still stratified by race, gender, education, and income. Less visible but equally important, digital literacy and skills remain poorly measured and rarely supported in a mental health context. Beyond the fundamental need for LLMs to be trained on diverse datasets to ensure reduced bias, bringing LLMs to diverse communities requires truly embracing the duality of the sociocultural–technical lens. Promoting digital inclusivity across different linguistic and cultural contexts will require directed efforts, including the support of new roles, such as the digital navigator.28 These individuals are community members with special training in digital equity, digital health, and digital engagement who will help to ensure all people can use new models of care delivery.
Conclusion
The integration of LLMs into mental health care presents important challenges, yet the opportunities they offer in enhancing research and care delivery are substantial. We provide model-agnostic guidelines to help design clinical LLMs for the mental health domain. Key recommendations included establishing a global clinical repository for the training and testing of LLMs, establishing ethical frameworks, refining diagnostic constructs, incorporating cultural considerations, and ensuring digital inclusivity. Beyond these key opportunities, the consideration of the sociopolitical context in which the deployment of LLMs will occur is also crucial. Governmental policies will greatly shape how LLMs are accessed across different regions and their ethical governance. For example, accountability should be enshrined in policy, establishing the differential responsibility of developing and deploying organisations in implementing safeguards, addressing adverse outcomes, and evaluating alignment with public health goals. Given their complexity, these topics are beyond the scope of this Viewpoint and require further consideration with support by governmental and health-system stakeholders. Through concerted efforts in addressing these challenges, we can harness LLMs to help clinicians, researchers, and individuals with lived experiences to improve mental health outcomes globally.
Search strategy and selection criteria.
We included articles identified through searches of arXiv and PubMed using the search string query: (“large language model”[Title/Abstract] OR “transformer”[Title/Abstract]) AND (“mental health”[Title/Abstract] OR “medicine”[Title/Abstract] OR “psychiatry”[Title/Abstract]). Only papers published from Jan 1, 2017, to July 1, 2024, and written in English were reviewed. Additional relevant articles were included from the convening reading materials and as part of the review process, finalising the reference list based on pertinence to the scope of this Viewpoint.
Acknowledgments
The Wellcome Trust supported the meeting in which the ideas of the Viewpoint were discussed. MM was supported by the National Institute of Mental Health (NIMH) award K23MH134068. The content of this Viewpoint is solely the responsibility of the authors and does not necessarily represent the official views of the NIMH or the Wellcome Trust.
Declaration of interests
TC is a cofounder of and holds equity in digital mental health company HealthRhythms, reports grants from US National Institutes of Health and US National Science Foundation, and reports honoraria from Dartmouth College and Addiction Health Services Research for giving talks on her research and commercial efforts on digital mental health. JT has received research support from Otsuka. All other authors declare no competing interests.
Footnotes
For more on AdSolve see https://adsolve.github.io/
For more on the Wellcome Trust see https://wellcome.org/
Contributor Information
Matteo Malgaroli, Department of Psychiatry, New York University School of Medicine, New York, NY, USA.
Katharina Schultebraucks, Department of Psychiatry, New York University School of Medicine, New York, NY, USA.
Keris Jan Myrick, Partnerships and Innovation, Inseparable, Los Angeles, CA, USA.
Alexandre Andrade Loch, Laboratorio de Neurociencias (LIM 27), Instituto de Psiquiatria, Hospital das Clinicas HCFMUSP, Faculdade de Medicina, Universidade de Sao Paulo, Sao Paulo, Brazil.
Laura Ospina-Pinillos, Department of Psychiatry and Mental Health, Faculty of Medicine, Pontificia Universidad Javeriana, Bogota, Colombia.
Tanzeem Choudhury, Department of Information Science, Jacobs Technion–Cornell Institute, Cornell Tech, New York, NY, USA.
Roman Kotov, Department of Psychiatry, Stony Brooks University, Stony Brooks, NY, USA.
Munmun De Choudhury, School of Interactive Computing, College of Computing, Georgia Institute of Technology, Atlanta, GA, USA.
John Torous, Department of Psychiatry, Beth Israel Deaconess Medical Center, Harvard Medical School, Boston, MA, USA.
References
- 1.WHO. World mental health report: transforming mental health for all. World Health Organization, 2022. [Google Scholar]
- 2.Torous J, Jän Myrick K, Rauseo-Ricupero N, Firth J. Digital mental health and COVID-19: using technology today to accelerate the curve on access and quality tomorrow. JMIR Ment Health 2020; 7: e18848. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Malgaroli M, McDuff D. An overview of diagnostics and therapeutics using large language models. J Trauma Stress 2024; 37: 754–60. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Singhal K, Azizi S, Tu T, et al. Large language models encode clinical knowledge. Nature 2023; 620: 172–80. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Jiang LY, Liu XC, Nejatian NP, et al. Health system-scale language models are all-purpose prediction engines. Nature 2023; 619: 357–62. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Galatzer-Levy IR, McDuff D, Natarajan V, Karthikesalingam A, Malgaroli M. The capability of large language models to measure psychiatric functioning. arXiv 2023; published online Aug 3. 10.48550/arXiv.2308.01834 (preprint). [DOI] [Google Scholar]
- 7.Sharma A, Lin IW, Miner AS, Atkins DC, Althoff T. Human–AI collaboration enables more empathic conversations in text-based peer-to-peer mental health support. Nat Mach Intell 2023; 5: 46–57. [Google Scholar]
- 8.Jin Y, Chandra M, Verma G, Hu Y, Choudhury MD, Kumar S. Better to ask in English: cross-lingual evaluation of large language models for healthcare queries. arXiv 2023; published online Oct 19. 10.48550/arXiv.2310.13132 (preprint). [DOI] [Google Scholar]
- 9.Luccioni AS, Jernite Y, Strubell E. Power hungry processing: watts driving the cost of AI deployment? arXiv 2023; published online Nov 28. 10.48550/arXiv.2311.16863 (preprint). [DOI] [Google Scholar]
- 10.Denecke K. Framework for guiding the development of high-quality conversational agents in healthcare. Healthcare 2023; 11: 1061. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Abbasian M, Khatibi E, Azimi I, et al. Foundation metrics for evaluating effectiveness of healthcare conversations powered by generative AI. NPJ Digit Med 2024; 7: 82. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Shlobin NA, Rosseau G. Opportunities and considerations for the incorporation of artificial intelligence into global neurosurgery: a generative pretrained transformer chatbot-based approach. World Neurosurg 2024; 186: e398–412. [DOI] [PubMed] [Google Scholar]
- 13.Liu C, Zhang B, Peng G. A systematic review of information quality of artificial intelligence based conversational agents in healthcare. In: Streitz N, Konomi S, eds. Distributed, ambient and pervasive interactions: 9th international conference, DAPI 2021, held as part of the 23rd HCI international conference, HCII 2021, virtual event, July 24–29, 2021, proceedings 23. Springer, 2021: 331–47 [Google Scholar]
- 14.Ding H, Simmich J, Vaezipour A, Andrews N, Russell T. Evaluation framework for conversational agents with artificial intelligence in health interventions: a systematic scoping review. J Am Med Inform Assoc 2024; 31: 746–61. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Martinengo L, Lin X, Jabir AI, et al. Conversational agents in health care: expert interviews to inform the definition, classification, and conceptual framework. J Med Internet Res 2023; 25: e50767. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Denecke K, May R. Developing a technical-oriented taxonomy to define archetypes of conversational agents in health care: literature review and cluster analysis. J Med Internet Res 2023; 25: e41583. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Xue J, Zhang B, Zhao Y, et al. Evaluation of the current state of chatbots for digital health: scoping review. J Med Internet Res 2023; 25: e47217. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Coghlan S, Leins K, Sheldrick S, Cheong M, Gooding P, D’Alfonso S. To chat or bot to chat: ethical issues with using chatbots in mental health. Digit Health 2023; 9: 20552076231183542. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Hua Y, Xia W, Bates DW, et al. Standardizing and scaffolding healthcare AI-chatbot evaluation. medRxiv 2024; published online Sept 3. 10.1101/2024.07.21.24310774 (preprint). [DOI] [Google Scholar]
- 20.Budrionis A, Bellika JG. The learning healthcare system: where are we now? A systematic review. J Biomed Inform 2016; 64: 87–92. [DOI] [PubMed] [Google Scholar]
- 21.Ye R, Wang W, Chai J, et al. OpenFedLLM: training large language models on decentralized private data via federated learning. arXiv 2024; published online Feb 10. 10.48550/arXiv.2402.06954 (preprint). [DOI] [Google Scholar]
- 22.Regier DA, Narrow WE, Clarke DE, et al. DSM-5 field trials in the United States and Canada, part II: test-retest reliability of selected categorical diagnoses. Am J Psychiatry 2013; 170: 59–70. [DOI] [PubMed] [Google Scholar]
- 23.Malgaroli M, Hull TD, Zech JM, Althoff T. Natural language processing for mental health interventions: a systematic review and research framework. Transl Psychiatry 2023; 13: 309. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Kotov R, Cicero DC, Conway CC, et al. The Hierarchical Taxonomy of Psychopathology (HiTOP) in psychiatric practice and research. Psychol Med 2022; 52: 1666–78. [DOI] [PubMed] [Google Scholar]
- 25.Le Scao T, Fan A, Akiki C, et al. Bloom: a 176b-parameter open-access multilingual language model. arXiv 2022; published online Nov 9. 10.48550/arXiv.2211.05100 (preprint). [DOI] [Google Scholar]
- 26.Gabriel S, Puri I, Xu X, Malgaroli M, Ghassemi M. Can AI relate: testing large language model response for mental health support. arXiv 2024; published online May 20. 10.48550/arXiv.2405.12021 (preprint). [DOI] [Google Scholar]
- 27.Ugar ET, Malele N. Designing AI for mental health diagnosis: challenges from sub-Saharan African value-laden judgements on mental health disorders. J Med Ethics 2024; 50: 592–95. [DOI] [PubMed] [Google Scholar]
- 28.Perret S, Alon N, Carpenter-Song E, et al. Standardising the role of a digital navigator in behavioural health: a systematic review.Lancet Digit Health 2023; 5: e925–32. [DOI] [PubMed] [Google Scholar]
