Conference paper · 2025 · Open access

MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA

Arash Asgari, Amirreza Naziri, Laleh Seyyed-Kalantari

Proceedings of the AAAI Symposium Series, 7(1), 438–447 · Published 23 November 2025 · DOI 10.1609/aaaiss.v7i1.36916

Open PDFView at the publisherCite this paper

In brief

“MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA” is a 2025 conference paper by Arash Asgari and 2 co-authors, published in Proceedings of the AAAI Symposium Series. OpenAlex counts 0 citations as of 24 November 2026. It is open access: the full text is free to read at Proceedings of the AAAI Symposium Series.

Citations
0
References
30
Authors
3

Abstract

Large Language Models (LLMs) are increasingly adopted across domains, including sensitive areas such as healthcare. However, their deployment raises significant safety concerns, particularly with respect to toxicity. In this paper, we evaluate the toxicity of widely used general-purpose LLMs in medical question–answering tasks. We investigate three complementary scenarios: (i) baseline querying, (ii) prompt guidelines designed to mitigate toxic outputs, and (iii) adversarial jailbreak prompting intended to elicit harmful content. To measure toxicity, we apply three established metrics to five LLMs ranging from 2B to 9B parameters, using MedPerturb, a dataset of medical questions systematically perturbed across gender, race, and age. Our results show that while carefully crafted guidelines can reduce toxic outputs and mitigate demographic biases, adversarial instructions are highly effective at bypassing safety mechanisms. Our evaluation reveals that all models exhibit limited resilience to jailbreak attacks, highlighting a critical vulnerability that restricts their safe deployment in clinical contexts. By answering three key questions—(1) what levels of toxicity these models exhibit in standard medical scenarios, (2) how far prompt tuning can reduce toxicity, and (3) how vulnerable they are to jailbreaks, our study provides a structured assessment of the risks and limitations of LLMs in healthcare, and shows the importance of establishing robust guidelines and protections to promote the safe deployment of LLMs in healthcare and to guard against harmful misuse.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Asgari, A., Naziri, A., & Seyyed-Kalantari, L. (2025). MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA. Proceedings of the AAAI Symposium Series, 7(1), 438–447. https://doi.org/10.1609/aaaiss.v7i1.36916

MLA 9

Asgari, Arash, et al. “MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA.” Proceedings of the AAAI Symposium Series, vol. 7, no. 1, 2025, pp. 438–447. https://doi.org/10.1609/aaaiss.v7i1.36916.

Chicago

Asgari, Arash, Amirreza Naziri, and Laleh Seyyed-Kalantari. 2025. “MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA.” Proceedings of the AAAI Symposium Series 7 (1): 438–447. https://doi.org/10.1609/aaaiss.v7i1.36916.

Harvard

Asgari, A., Naziri, A. and Seyyed-Kalantari, L. (2025) ‘MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA’, Proceedings of the AAAI Symposium Series, 7(1), pp. 438–447. doi:10.1609/aaaiss.v7i1.36916.

IEEE

A. Asgari, A. Naziri, and L. Seyyed-Kalantari, “MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA,” Proceedings of the AAAI Symposium Series, vol. 7, no. 1, pp. 438–447, 2025, doi: 10.1609/aaaiss.v7i1.36916.

BibTeX

@inproceedings{asgari2025medperturbing,
  title     = {{MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA}},
  author    = {Asgari, Arash and Naziri, Amirreza and Seyyed-Kalantari, Laleh},
  booktitle = {Proceedings of the AAAI Symposium Series},
  year      = {2025},
  volume    = {7},
  number    = {1},
  pages     = {438--447},
  doi       = {10.1609/aaaiss.v7i1.36916},
  url       = {https://doi.org/10.1609/aaaiss.v7i1.36916}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Topic and keywords

Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning

  • large language models
  • toxicity
  • medical question answering
  • prompt tuning
  • jailbreak attacks
  • adversarial prompting
  • LLM safety
  • demographic bias

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Asgari, A., Naziri, A., & Seyyed-Kalantari, L. (2025). MedPerturbing LLMs: A Comparative Study of Toxicity, Prompt Tuning, and Jailbreaks in Medical QA. Proceedings of the AAAI Symposium Series, 7(1), 438–447. https://doi.org/10.1609/aaaiss.v7i1.36916

How many times has this paper been cited?

0 times, according to OpenAlex on 24 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at Proceedings of the AAAI Symposium Series: sign in and open the PDF from this page.

Who wrote this paper?

Arash Asgari, Amirreza Naziri, Laleh Seyyed-Kalantari.

What is the DOI of this paper?

10.1609/aaaiss.v7i1.36916, permanently at https://doi.org/10.1609/aaaiss.v7i1.36916. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 24 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.