SAIF: A Comprehensive Framework for Evaluating the Risks of Generative AI in the Public Sector

Kyeongryul Lee, Heehyeon Kim, Joyce Jiyoung WhangarXiv 2025 · arXiv · OpenReview

Abstract

The rapid adoption of generative AI in the public sector, encompassing diverse applications ranging from automated public assistance to welfare services and immigration processes, highlights its transformative potential while underscoring the pressing need for thorough risk assessments. Despite its growing presence, evaluations of risks associated with AI-driven systems in the public sector remain insufficiently explored. Building upon an established taxonomy of AI risks derived from diverse government policies and corporate guidelines, we investigate the critical risks posed by generative AI in the public sector while extending the scope to account for its multimodal capabilities. In addition, we propose a Systematic dAta generatIon Framework for evaluating the risks of generative AI (SAIF). SAIF involves four key stages: breaking down risks, designing scenarios, applying jailbreak methods, and exploring prompt types. It ensures the systematic and consistent generation of prompt data, facilitating a comprehensive evaluation while providing a solid foundation for mitigating the risks. Furthermore, SAIF is designed to accommodate emerging jailbreak methods and evolving prompt types, thereby enabling effective responses to unforeseen risk scenarios. We believe that this study can play a crucial role in fostering the safe and responsible integration of generative AI into the public sector.

Introduction

As governments worldwide integrate Generative AI into critical infrastructure—from the U.S. Department of Homeland Security’s "Emma" chatbot to Canada’s automated housing permit systems—the potential for high-impact failure increases. Unlike general consumer AI, public sector AI must navigate strict regulatory compliance, maintain high levels of societal trust, and avoid biased decision-making in sensitive areas like welfare, immigration, and public health.

Existing evaluation datasets often fail to address these niche public sector requirements and frequently overlook multimodal risks involving images and videos. To bridge this gap, we introduce SAIF (Systematic dAta generatIon Framework), a structured pipeline designed to stress-test AI models against specific public sector risks through adversarial "red-teaming."

The SAIF Framework

SAIF provides a scalable, four-stage pipeline to generate adversarial prompt data that mimics real-world public sector scenarios. This systematic approach ensures that safety testing is both consistent and comprehensive across different models and modalities.

The SAIF data generation pipeline, illustrating the transition from risk taxonomy to specific adversarial prompts across text, image, and video modalities.

1. Breaking Down Risks

The framework begins with a taxonomy of AI risks—System Misuse, Content Safety, Societal, and Legal—derived from 8 government policies and 16 corporate guidelines. These are decomposed into specific subtopics relevant to government work, such as "unintentional discrimination" or "regulatory compliance failures."

2. Designing Scenarios

Context-specific scenarios are created for different modalities. For instance, a medical education scenario might be used to test if a model will generate overly graphic or harmful imagery of a surgical procedure or injury.

3. Applying Jailbreaks

To test model resilience, SAIF applies known adversarial techniques designed to bypass safety filters:

  • Prefix Injection: Forcing the model to start with a compliant phrase like "Of course, here is..."
  • Refusal Suppression: Explicitly prohibiting the model from using phrases like "I cannot help with that."
  • Disguised Intent: Wrapping a harmful request within a joke or a seemingly harmless context.

4. Exploring Prompt Types

The framework varies instruction styles using techniques like Chain-of-Thought (CoT), Role-Playing, and Expert Prompting to determine if specific structures make a model more susceptible to outputting risky content.

Multimodal Risk Evaluation

A key contribution of SAIF is its focus on the multimodal frontier. Risks are not limited to text; an AI might refuse to write a hateful paragraph but inadvertently generate a sexually suggestive image or a misleading video for a public health campaign.

The end-to-end SAIF evaluation workflow, showing multimodal prompt generation, model execution (LLMs/LMMs), and risk assessment via Likert scales.

In qualitative testing, SAIF demonstrated that combining public sector scenarios with jailbreak methods like Refusal Suppression is highly effective at identifying "blind spots." For example, a prompt designed for medical students was manipulated to force a Large Multimodal Model (LMM) to generate a graphic, "sea of red" image of an arterial rupture, successfully bypassing standard safety filters that would normally block such content.

Conclusion and Future Work

SAIF offers a standardized "stress test" for models being considered by government agencies, ensuring consistency across various LLMs (like GPT-4) and LMMs (like Gemini). While current evaluations rely on human-in-the-loop annotators using Likert scales, future work aims to automate this process.

Planned enhancements include the integration of Knowledge Graphs (KGs) to automatically discover more diverse and nuanced subtopics by leveraging structured relationships between public sector risks. Additionally, we aim to improve the framework's ability to handle complex, multi-step compositional reasoning tasks, better reflecting the complicated legal and administrative workflows inherent in the public sector.

Summary updated

Abstract

The rapid adoption of generative AI in the public sector, encompassing diverse applications ranging from automated public assistance to welfare services and immigration processes, highlights its transformative potential while underscoring the pressing need for thorough risk assessments. Despite its growing presence, evaluations of risks associated with AI-driven systems in the public sector remain insufficiently explored. Building upon an established taxonomy of AI risks derived from diverse government policies and corporate guidelines, we investigate the critical risks posed by generative AI in the public sector while extending the scope to account for its multimodal capabilities. In addition, we propose a Systematic dAta generatIon Framework for evaluating the risks of generative AI (SAIF). SAIF involves four key stages: breaking down risks, designing scenarios, applying jailbreak methods, and exploring prompt types. It ensures the systematic and consistent generation of prompt data, facilitating a comprehensive evaluation while providing a solid foundation for mitigating the risks. Furthermore, SAIF is designed to accommodate emerging jailbreak methods and evolving prompt types, thereby enabling effective responses to unforeseen risk scenarios. We believe that this study can play a crucial role in fostering the safe and responsible integration of generative AI into the public sector.
BibTeX
@misc{lee2025saif,
  author = {Kyeongryul Lee and Heehyeon Kim and Joyce Jiyoung Whang},
  title = {{SAIF: A Comprehensive Framework for Evaluating the Risks of Generative AI in the Public Sector}},
  year = {2025},
  eprint = {2501.08814},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.08814},
}
Figure