{"id":{"repo_id":"ohiolink","oai_identifier":"oai:etd.ohiolink.edu:miami1776965967544542"},"canonical_url":"https://search.ndltd.org/etd/ohiolink/oai:etd.ohiolink.edu:miami1776965967544542","repository":{"repo_id":"ohiolink","name":"OhioLINK","base_url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai"},"display":{"title":"Robust and Interpretable Safety Defenses for Generative AI: Post-Hoc Multimodal Filtering for Text-to-Image Models and Inference-Time Jailbreak Defense for Large Language Models","abstract":"Generative AI systems face two structurally distinct safety threats: adversarial prompts that cause text-to-image models to synthesize harmful content, and jailbreak attacks that coerce large language models into violating their alignment constraints. Existing defenses are fragile under adversarial pressure, depend on built-in alignment, and lack interpretability. This thesis presents two com plementary defenses. AvantiGuard is a post-hoc multimodal safety filter that combines NSFW focused LoRA fine-tuning of BLIP-2 with YOLOv5-driven human-region localization, producing human-readable justifications for every decision. It achieves state-of-the-art F1 scores across four adversarial benchmarks, outperforming Azure Content Moderation, the OpenAI Moderation API, NudeNet, LatentGuard, and the Stable Diffusion Safety Checker. Prompt Self-Defense is a training-free, model-agnostic jailbreak defense that wraps prompts with mandatory risk reasoning at inference time. Across six LLMs and six attack strategies, it reduces average Attack Success Rate to 0.7% and achieves 0.000 ASR under the NeuroStrike neuron-level attack, the only defense to do so. Mechanistic analysis confirms the defense builds an independent internal safety pathway, explaining its robustness at the neuron level.","abstract_html":"Generative AI systems face two structurally distinct safety threats: adversarial prompts that cause text-to-image models to synthesize harmful content, and jailbreak attacks that coerce large language models into violating their alignment constraints. Existing defenses are fragile under adversarial pressure, depend on built-in alignment, and lack interpretability. This thesis presents two com plementary defenses. AvantiGuard is a post-hoc multimodal safety filter that combines NSFW focused LoRA fine-tuning of BLIP-2 with YOLOv5-driven human-region localization, producing human-readable justifications for every decision. It achieves state-of-the-art F1 scores across four adversarial benchmarks, outperforming Azure Content Moderation, the OpenAI Moderation API, NudeNet, LatentGuard, and the Stable Diffusion Safety Checker. Prompt Self-Defense is a training-free, model-agnostic jailbreak defense that wraps prompts with mandatory risk reasoning at inference time. Across six LLMs and six attack strategies, it reduces average Attack Success Rate to 0.7% and achieves 0.000 ASR under the NeuroStrike neuron-level attack, the only defense to do so. Mechanistic analysis confirms the defense builds an independent internal safety pathway, explaining its robustness at the neuron level.","abstract_has_math":false,"creators":["Aljadayah, Aibak"],"institution":"Miami University","degree_name":"Master of Science in Computer Science","degree_level":"masters","degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Khamaiseh, Samer"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-05-07","date_published":"2026-05-07","updated_at":"2026-11-27T05:03:07Z","subjects":["Artificial Intelligence","AI security, LLM Security, AI Safety, LLM Safety, Prompt Level Defense, Stable Diffusion safety, AI Ethics"],"languages":["English"],"rights":["restricted--full text unavailable until 2028-05-01","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://rave.ohiolink.edu/etdc/view?acc_num=miami1776965967544542","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"http://rave.ohiolink.edu/etdc/view?acc_num=miami1776965967544542","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aohiolink%3Aoai%3Aetd.ohiolink.edu%3Amiami1776965967544542","prefix":"oai_dc"},"source_record":{"url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aetd.ohiolink.edu%3Amiami1776965967544542","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Khamaiseh, Samer"]},{"key":"dc:creator","label":"Author","values":["Aljadayah, Aibak"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-05-07"]},{"key":"dc:publisher","label":"Institution","values":["Miami University / OhioLINK"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Miami University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Artificial Intelligence","AI security, LLM Security, AI Safety, LLM Safety, Prompt Level Defense, Stable Diffusion safety, AI Ethics"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:rights","label":"Dc Rights","values":["restricted--full text unavailable until 2028-05-01","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://rave.ohiolink.edu/etdc/view?acc_num=miami1776965967544542"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Generative AI systems face two structurally distinct safety threats: adversarial prompts that cause text-to-image models to synthesize harmful content, and jailbreak attacks that coerce large language models into violating their alignment constraints. Existing defenses are fragile under adversarial pressure, depend on built-in alignment, and lack interpretability. This thesis presents two com plementary defenses. AvantiGuard is a post-hoc multimodal safety filter that combines NSFW focused LoRA fine-tuning of BLIP-2 with YOLOv5-driven human-region localization, producing human-readable justifications for every decision. It achieves state-of-the-art F1 scores across four adversarial benchmarks, outperforming Azure Content Moderation, the OpenAI Moderation API, NudeNet, LatentGuard, and the Stable Diffusion Safety Checker. Prompt Self-Defense is a training-free, model-agnostic jailbreak defense that wraps prompts with mandatory risk reasoning at inference time. Across six LLMs and six attack strategies, it reduces average Attack Success Rate to 0.7% and achieves 0.000 ASR under the NeuroStrike neuron-level attack, the only defense to do so. Mechanistic analysis confirms the defense builds an independent internal safety pathway, explaining its robustness at the neuron level."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf","p.121","2.96 MB"]},{"key":"dc:title","label":"Title","values":["Robust and Interpretable Safety Defenses for Generative AI: Post-Hoc Multimodal Filtering for Text-to-Image Models and Inference-Time Jailbreak Defense for Large Language Models"]}]}],"canonical_facts":{"dc:contributor.advisor":["Khamaiseh, Samer"],"dc:creator":["Aljadayah, Aibak"],"dc:date":["2026-05-07"],"dc:description":["Generative AI systems face two structurally distinct safety threats: adversarial prompts that cause text-to-image models to synthesize harmful content, and jailbreak attacks that coerce large language models into violating their alignment constraints. Existing defenses are fragile under adversarial pressure, depend on built-in alignment, and lack interpretability. This thesis presents two com plementary defenses. AvantiGuard is a post-hoc multimodal safety filter that combines NSFW focused LoRA fine-tuning of BLIP-2 with YOLOv5-driven human-region localization, producing human-readable justifications for every decision. It achieves state-of-the-art F1 scores across four adversarial benchmarks, outperforming Azure Content Moderation, the OpenAI Moderation API, NudeNet, LatentGuard, and the Stable Diffusion Safety Checker. Prompt Self-Defense is a training-free, model-agnostic jailbreak defense that wraps prompts with mandatory risk reasoning at inference time. Across six LLMs and six attack strategies, it reduces average Attack Success Rate to 0.7% and achieves 0.000 ASR under the NeuroStrike neuron-level attack, the only defense to do so. Mechanistic analysis confirms the defense builds an independent internal safety pathway, explaining its robustness at the neuron level."],"dc:format":["application/pdf","p.121","2.96 MB"],"dc:identifier":["http://rave.ohiolink.edu/etdc/view?acc_num=miami1776965967544542"],"dc:language":["English"],"dc:publisher":["Miami University / OhioLINK"],"dc:rights":["restricted--full text unavailable until 2028-05-01","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."],"dc:subject":["Artificial Intelligence","AI security, LLM Security, AI Safety, LLM Safety, Prompt Level Defense, Stable Diffusion safety, AI Ethics"],"dc:title":["Robust and Interpretable Safety Defenses for Generative AI: Post-Hoc Multimodal Filtering for Text-to-Image Models and Inference-Time Jailbreak Defense for Large Language Models"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["masters"],"thesis:degree_name":["Master of Science in Computer Science"],"thesis:institution_name":["Miami University"]},"updated_at":"2026-11-27T05:03:07Z"}