CoChat

Towards Healthy AI: Large Language Models Need Therapists Too

Lin, Baihan, Bouneffouf, Djallel, Cecchi, Guillermo, Varshney, Kush R. · 2023 · arXiv
PreprintCited by 8

The DOI matches its DataCite record.

Abstract

Recent advances in large language models (LLMs) have led to the development of powerful AI chatbots capable of engaging in natural and human-like conversations. However, these chatbots can be potentially harmful, exhibiting manipulative, gaslighting, and narcissistic behaviors. We define Healthy AI to be safe, trustworthy and ethical. To create healthy AI systems, we present the SafeguardGPT framework that uses psychotherapy to correct for these harmful behaviors in AI chatbots. The framework involves four types of AI agents: a Chatbot, a "User," a "Therapist," and a "Critic." We demonstrate the effectiveness of SafeguardGPT through a working example of simulating a social conversation. Our results show that the framework can improve the quality of conversations between AI chatbots and humans. Although there are still several challenges and directions to be addressed in the future, SafeguardGPT provides a promising approach to improving the alignment between AI chatbots and human values. By incorporating psychotherapy and reinforcement learning techniques, the framework enables AI chatbots to learn and adapt to human preferences and values in a safe and ethical way, contributing to the development of a more human-centric and responsible AI.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2304.00416

Cites

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

No references could be resolved yet.

Research works printed but not linked: 46

  1. Dario Amodei, Chris Olah, Jacob Steinhardt, Paul Christiano, John Schulman, and Dan Mané. 2016. Concrete problems in ai safety. arXiv preprint arXiv:1606.06565. · arXiv
  2. Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. 2022. Constitutional ai: Harmlessness from ai feedback. arXiv preprint arXiv:2212.08073. · arXiv
  3. Vahid Behzadan, Arslan Munir, and Roman V Yampol- skiy. 2018. A psychopathological approach to safety engineering in ai and agi. In Computer Safety, Reli- ability, and Security: SAFECOMP 2018 Workshops, ASSURE, DECSoS, SASSUR, STRIVE, and WAISE, Västerås, Sweden, September 18, 2018, Proceedings 37, pages 513-520. Springer.
  4. Marcel Binz and Eric Schulz. 2023. Using cognitive psychology to understand gpt-3. Proceedings of the National Academy of Sciences, 120(6):e2218523120.
  5. Paul F Christiano, Jan Leike, Tom Brown, Miljan Mar- tic, Shane Legg, and Dario Amodei. 2017. Deep reinforcement learning from human preferences. Ad- vances in neural information processing systems, 30.
  6. Julian Coda-Forno, Kristin Witte, Akshay K. Jagadish, Marcel Binz, Zeynep Akata, and Eric Schulz. April. Inducing anxiety in large language models increases exploration and bias. arXiv:2304.11111. · arXiv
  7. Karthik Dinakar, Jackie Chen, Henry Lieberman, Ros- alind Picard, and Robert Filbin. 2015. Mixed- initiative real-time topic modeling & visualization for crisis counseling. In Proceedings of the 20th in- ternational conference on intelligent user interfaces, pages 417-426.
  8. Amelia Fiske, Peter Henningsen, and Alena Buyx. 2019. Your robot therapist will see you now: ethical implica- tions of embodied artificial intelligence in psychiatry, psychology, and psychotherapy. Journal of medical Internet research, 21(5):e13216.
  9. Demis Hassabis, Dharshan Kumaran, Christopher Summerfield, and Matthew Botvinick. 2017. Neuroscience-inspired artificial intelligence. Neuron, 95(2):245-258.
  10. Zac E Imel, Mark Steyvers, and David C Atkins. 2015. Computational psychotherapy research: Scaling up the evaluation of patient-provider interactions. Psy- chotherapy, 52(1):19.
  11. Anna Jobin, Marcello Ienca, and Effy Vayena. 2019. The global landscape of ai ethics guidelines. Nature Machine Intelligence, 1(9):389-399.
  12. Rebecca L Johnson, Giada Pistilli, Natalia Menédez- González, Leslye Denisse Dias Duran, Enrico Panai, Julija Kalpokiene, and Donald Jay Bertulfo. 2022. The ghost in the machine has an american ac- cent: value conflict in gpt-3. arXiv preprint arXiv:2203.07785. · arXiv
  13. Evgeny Lagutin, Daniil Gavrilov, and Pavel Kalaidin. 2021. Implicit unlikelihood training: Improving neural text generation with reinforcement learning. arXiv preprint arXiv:2101.04229. · arXiv
  14. Kimin Lee, Laura Smith, and Pieter Abbeel. 2021. Pebble: Feedback-efficient interactive reinforcement learning via relabeling experience and unsupervised pre-training. arXiv preprint arXiv:2106.05091. · arXiv
  15. Xingxuan Li, Yutong Li, Linlin Liu, Lidong Bing, and Shafiq Joty. 2022. Is gpt-3 a psychopath? evalu- ating large language models from a psychological perspective. arXiv preprint arXiv:2212.10529. · arXiv
  16. Baihan Lin. 2022a. Computational inference in cogni- tive science: Operational, societal and ethical consid- erations. arXiv preprint arXiv:2210.13526. · arXiv
  17. Baihan Lin. 2022b. Reinforcement learning and bandits for speech and language processing: Tutorial, review and outlook. arXiv preprint arXiv:2210.13623. · arXiv
  18. Baihan Lin. 2022c. Voice2Alliance: automatic speaker diarization and quality assurance of conversational alignment. In INTERSPEECH.
  19. Baihan Lin, Djallel Bouneffouf, and Guillermo Cec- chi. 2019. Split Q Learning: Reinforcement Learn- ing with Two-Stream Rewards. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI-19, pages 6448-6449. International Joint Conferences on Artificial Intelli- gence Organization. · DOI
  20. Baihan Lin, Djallel Bouneffouf, Guillermo Cecchi, and Ravi Tejwani. 2023a. Neural topic modeling of psy- chotherapy sessions. In International Workshop on Health Intelligence. Springer.
  21. Baihan Lin, Guillermo Cecchi, and Djallel Bounef- fouf. 2022. Working alliance transformer for psy- chotherapy dialogue classification. arXiv preprint arXiv:2210.15603. · arXiv
  22. Baihan Lin, Guillermo Cecchi, and Djallel Bouneffouf. 2023b. Deep annotation of therapeutic working al- liance in psychotherapy. In International Workshop on Health Intelligence. Springer.
  23. Baihan Lin, Guillermo Cecchi, and Djallel Bouneffouf. 2023c. Psychotherapy AI companion with reinforce- ment learning recommendations and interpretable policy dynamics. In Proceedings of the Web Confer- ence 2023.
  24. Baihan Lin, Guillermo Cecchi, and Djallel Bounef- fouf. 2023d. SupervisorBot: NLP-Annotated Real- Time Recommendations of Psychotherapy Treatment Strategies with Deep Reinforcement Learning. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence, IJCAI-23. Inter- national Joint Conferences on Artificial Intelligence Organization.
  25. Baihan Lin, Guillermo Cecchi, Djallel Bouneffouf, Jenna Reinen, and Irina Rish. 2021. Models of hu- man behavioral agents in bandits, contextual bandits and rl. In International Workshop on Human Brain and Artificial Intelligence, pages 14-33. Springer.
  26. Baihan Lin, Stefan Zecevic, Djallel Bouneffouf, and Guillermo Cecchi. 2023e. Therapyview: Visualizing therapy sessions with temporal topic modeling and ai-generated arts. arXiv preprint arXiv:2302.10845. · arXiv
  27. Tiago V Maia and Michael J Frank. 2011. From rein- forcement learning models to psychiatric and neuro- logical disorders. Nature neuroscience, 14(2):154- 162.
  28. Gabriele Maurer, Wolfgang Aichhorn, Wilfried Leeb, Brigitte Matschi, and Günter Schiepek. 2011. Real- time monitoring in psychotherapy-methodology and casuistics. Neuropsychiatrie: Klinik, Diag- nostik, Therapie und Rehabilitation: Organ der Gesellschaft Osterreichischer Nervenarzte und Psy- chiater, 25(3):135-141.
  29. John McLeod. 2013. An introduction to counselling. McGraw-hill education (UK).
  30. Grazia Murtarelli, Anne Gregory, and Stefania Romenti. 2021. A conversation-based perspective for shaping ethical human-machine interactions: The particular challenge of chatbots. Journal of Business Research, 129:927-935.
  31. Moin Nadeem, Anna Bethke, and Siva Reddy. 2020. Stereoset: Measuring stereotypical bias in pretrained language models. arXiv preprint arXiv:2004.09456. · arXiv
  32. Alberto Olmo, Sarath Sreedharan, and Subbarao Kamb- hampati. 2021. Gpt3-to-plan: Extracting plans from text using gpt-3. arXiv preprint arXiv:2106.07131. · arXiv
  33. Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instruc- tions with human feedback. Advances in Neural Information Processing Systems, 35:27730-27744.
  34. Ethan Perez, Saffron Huang, Francis Song, Trevor Cai, Roman Ring, John Aslanides, Amelia Glaese, Nat McAleese, and Geoffrey Irving. 2022. Red team- ing language models with language models. arXiv preprint arXiv:2202.03286. · arXiv
  35. Alexandra C Pike and Oliver J Robinson. 2022. Rein- forcement learning in patients with mood and anxiety disorders vs control individuals: A systematic review and meta-analysis. JAMA psychiatry.
  36. Tommy Sandbank, Michal Shmueli-Scheuer, Jonathan Herzig, David Konopnicki, John Richards, and David Piorkowski. 2018. Detecting egregious conversations between customers and virtual agents. In Proceed- ings of the 2018 Conference of the North American Chapter of the Association for Computational Lin- guistics: Human Language Technologies, Volume 1 (Long Papers), pages 1802-1811.
  37. Richard Shiffrin and Melanie Mitchell. 2023. Probing the psychology of ai models. Proceedings of the Na- tional Academy of Sciences, 120(10):e2300963120.
  38. Nisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul F Christiano. 2020. Learn- ing to summarize with human feedback. Advances in Neural Information Processing Systems, 33:3008- 3021.
  39. Kush R. Varshney and Homa Alemzadeh. 2017. On the safety of machine learning: Cyber-physical sys- tems, decision sciences, and data products. Big Data, 5(3):246-255.
  40. James Vincent. 2016. Twitter taught microsoft's ai chat- bot to be a racist asshole in less than a day. The Verge, 24(3):2016.
  41. Laura Weidinger, John Mellor, Maribeth Rauh, Conor Griffin, Jonathan Uesato, Po-Sen Huang, Myra Cheng, Mia Glaese, Borja Balle, Atoosa Kasirzadeh, et al. 2021. Ethical and social risks of harm from language models. arXiv preprint arXiv:2112.04359. · arXiv
  42. Laura Weidinger, Jonathan Uesato, Maribeth Rauh, Conor Griffin, Po-Sen Huang, John Mellor, Amelia Glaese, Myra Cheng, Borja Balle, Atoosa Kasirzadeh, et al. 2022. Taxonomy of risks posed by language models. In 2022 ACM Conference on Fairness, Ac- countability, and Transparency, pages 214-229.
  43. Joseph Weizenbaum. 1966. Eliza-a computer program for the study of natural language communication be- tween man and machine. Communications of the ACM, 9(1):36-45.
  44. Marty J Wolf, K Miller, and Frances S Grodzinsky. 2017. Why we should have seen that coming: comments on microsoft's tay" experiment," and wider implications. Acm Sigcas Computers and Society, 47(3):54-64.
  45. Margot Zanetti, Giulia Iseppi, and Francesco Peluso Cassese. 2019. A "psychopathic" artificial intelli- gence: The possible risks of a deviating ai in educa- tion. Research on Education and Media, 11(1):93- 99.
  46. Simon Zhuang and Dylan Hadfield-Menell. 2020. Con- sequences of misaligned ai. Advances in Neural In- formation Processing Systems, 33:15763-15773.

Cited by

Metadata

Authors
Lin, B., Bouneffouf, D., Cecchi, G., & Varshney, K. R.
Venue
arXiv
Publisher
arXiv
Published
2023
References
0
Type
Preprint

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.