🗓️ Week 10 - Case Study: Use of LLMs in sensitive contexts

2025/26 Autumn Term

Author

This lecture will mainly focus on a case study: How should the use of large language models (e.g ChatGPT) be handled in sensitive contexts (e.g legal, medical or child protection contexts)?

👨‍🏫 Lecture Slides

Either click on the slide area below or click here to view it in fullscreen. Use your keypad to navigate the slides. You can also find a PDF version on Moodle.

  1. You can download the newspaper case study materials (left-over from last week) by using the link below (.zip archive containing a Jupyter notebook (.ipynb) and a serialized dataframe (.pkl) ):

  2. Today’s main case study will look at the following articles:

UK legal cases

  1. Robert Booth (June 2025). “High Court tells UK lawyers to urgently stop misuse of AI in legal work”. The Guardian – (Booth 2025)
  2. Jamie Grierson (Oct 2025). “Barrister found to have used AI to prepare for hearing after citing fictitious cases”. The Guardian – (Grierson 2025)
  3. Khaled Moyeed (May 2025). “AI, Fake Cases, and the Courts: A Cautionary Tale”. Gunnerscooke LLP (Focus on the UK Ayinde case) – (Khaled Moyeed 2025)
  4. David Allen Green (May 2025). “A close reading of the ‘AI’ fake cases judgment” - Legal blogger’s detailed analysis – (Green 2025)
  5. Hibaq Farah (2023). “Court of appeal judge praises ‘jolly useful’ ChatGPT after asking it for legal summary”. The Guardian – (Hibaq Farah 2023)

US legal cases (for comparison):

  1. Khari Johnson (Sept 2025). “California issues historic fine over lawyer’s ChatGPT fabrications”. CalMatters – (Johnson 2025)
  2. Jared Perlo and Angela Yang (Oct 2025). “These people ditched lawyers for ChatGPT in court”. NBC News – (Perlo and Yang 2025)
  3. David Lat (Feb 2025). “A Major Law Firm’s ChatGPT Fail”. Original Jurisdiction – (Lat 2025)

UAE laws rewriting

  1. Chloe Cornish (Apr 2025). “UAE set to use AI to write laws in world first”. The Financial Times – (Cornish 2025)

Child protection:

  1. Josh Taylor (2024) . “AI ban ordered after child protection worker used ChatGPT in Victorian court case”. The Guardian – (Josh Taylor 2024)

Healthcare:

  1. Josh Taylor. (July 2023). “AMA calls for stronger AI regulations after doctors use ChatGPT to write medical notes” . The Guardian – (Josh Taylor 2023)

  2. If you want to read further on the use of LLMs in the legal system

🎥 Looking for lecture recordings? You can only find those on Moodle.

📟 Communication

  • Post your reflections, questions, and links on Slack.
  • Book office hours if you want to discuss your coursework with either me, Barry or Stuart.

📝 Coursework (to bring to next week’s lecture)

  • Find one or two examples data science/AI applications with ethical issues

    • What kinds of issues are these?
    • Where do they stem from?

Be prepared to discuss your examples with the rest of the class

References

Amy Guthrie. 2023. “Colombian Judge Uses AI Tool ChatGPT in Court Ruling.” Law.com International. https://www.law.com/international-edition/2023/02/08/colombian-judge-uses-ai-tool-chatgpt-in-court-ruling/?slreturn=20241202-41222.
Booth, Robert. 2025. “High Court Tells UK Lawyers to Stop Misuse of AI After Fake Case-Law Citations.” The Guardian, June. https://www.theguardian.com/technology/2025/jun/06/high-court-tells-uk-lawyers-to-urgently-stop-misuse-of-ai-in-legal-work.
Cornish, Chloe. 2025. UAE Set to Use AI to Write Laws in World First.” Financial Times, April. https://www.ft.com/content/9019cd51-2b55-4175-81a6-eafcf28609c3.
Green, David Allen. 2025. “A Close Reading of the AI Fake Cases Judgment.” The Law and Policy Blog. https://davidallengreen.com/2025/05/a-close-reading-of-the-ai-fake-cases-judgment/.
Grierson, Jamie. 2025. “Barrister Found to Have Used AI to Prepare for Hearing After Citing ‘Fictitious’ Cases.” The Guardian, October. https://www.theguardian.com/technology/2025/oct/16/barrister-found-to-have-used-ai-to-prepare-for-hearing-after-citing-fictitious-cases.
Hibaq Farah. 2023. “Court of Appeal Judge Praises ‘Jolly Useful’ ChatGPT After Asking It for Legal Summary.” The Guardian. https://www.theguardian.com/technology/2023/sep/15/court-of-appeal-judge-praises-jolly-useful-chatgpt-after-asking-it-for-legal-summary.
Johnson, Khari. 2025. “California Issues Historic Fine over Lawyer’s ChatGPT Fabrications.” CalMatters, September. https://calmatters.org/economy/technology/2025/09/chatgpt-lawyer-fine-ai-regulation/.
Josh Taylor. 2023. AMA Calls for Stronger AI Regulations After Doctors Use ChatGPT to Write Medical Notes.” The Guardian. https://www.theguardian.com/technology/2023/jul/27/chatgpt-health-industry-hospitals-ai-regulations-ama.
———. 2024. AI Ban Ordered After Child Protection Worker Used ChatGPT in Victorian Court Case.” The Guardian. https://www.theguardian.com/australia-news/2024/sep/26/victoria-child-protection-chat-gpt-ban-ovic-report-ntwnfb.
Khaled Moyeed. 2025. AI, Fake Cases, and the Courts: A Cautionary Tale for the Legal Profession.” Gunnercooke Llp. https://gunnercooke.com/ai-fake-cases-and-the-courts-a-cautionary-tale-for-the-legal-profession/.
Lat, David. 2025. “A Major Law Firm’s ChatGPT Fail.” Substack newsletter. Original Jurisdiction. https://davidlat.substack.com/p/morgan-and-morgan-order-to-show-cause-for-chatgpt-fail-in-wadsworth-v-walmart.
Leyland Cecco. 2024. “Canada Lawyer Under Fire for Submitting Fake Cases Created by AI Chatbot.” The Guardian. https://www.theguardian.com/world/2024/feb/29/canada-lawyer-chatgpt-fake-cases-ai.
Milmo, Dan. 2023. “Two US Lawyers Fined for Submitting Fake Court Citations from ChatGPT.” The Guardian (London). https://www.theguardian.com/technology/2023/jun/23/two-us-lawyers-fined-submitting-fake-court-citations-chatgpt.
Perlo, Jared, and Angela Yang. 2025. “More People Are Using ChatGPT Like a Lawyer in Court. Some Are Starting to Win.” NBC News. https://www.nbcnews.com/tech/innovation/ai-chatgpt-court-law-legal-lawyer-self-represent-pro-se-attorney-rcna230401.
Pranshu Verma, and Will Oremus. 2023. “How Lawyers Used ChatGPT and Got in Trouble.” The Washington Post. https://www.washingtonpost.com/technology/2023/11/16/chatgpt-lawyer-fired-ai/.
Simon Gibson. 2023. “Cautioning the Legal Sector: AI Is a Tool, Not a Panacea.” Legal Futures. https://www.legalfutures.co.uk/blog/cautioning-the-legal-sector-ai-is-a-tool-not-a-panacea.
Taylor, Luke. 2023. “Colombian Judge Says He Used ChatGPT in Ruling.” The Guardian 2. https://www.theguardian.com/technology/2023/feb/03/colombia-judge-chatgpt-ruling.
Weiser, Benjamin. 2023. “Here’s What Happens When Your Lawyer Uses ChatGPT.” New York Times 27. https://www.nytimes.com/2023/05/27/nyregion/avianca-airline-lawsuit-chatgpt.html.