Assessing Language Model Deployment with Risk Cards

Leon Derczynski, Hannah Rose Kirk, Vidhisha Balachandran, Sachin Kumar, Yulia Tsvetkov, M. R. Leiser, Saif MohammadarXiv 2023

Abstract

This paper introduces RiskCards, a framework for structured assessment and documentation of risks associated with an application of language models. As with all language, text generated by language models can be harmful, or used to bring about harm. Automating language generation adds both an element of scale and also more subtle or emergent undesirable tendencies to the generated text. Prior work establishes a wide variety of language model harms to many different actors: existing taxonomies identify categories of harms posed by language models; benchmarks establish automated tests of these harms; and documentation standards for models, tasks and datasets encourage transparent reporting. However, there is no risk-centric framework for documenting the complexity of a landscape in which some risks are shared across models and contexts, while others are specific, and where certain conditions may be required for risks to manifest as harms. RiskCards address this methodological gap by providing a generic framework for assessing the use of a given language model in a given scenario. Each RiskCard makes clear the routes for the risk to manifest harm, their placement in harm taxonomies, and example prompt-output pairs. While RiskCards are designed to be open-source, dynamic and participatory, we present a "starter set" of RiskCards taken from a broad literature survey, each of which details a concrete risk presentation. Language model RiskCards initiate a community knowledge base which permits the mapping of risks and harms to a specific model or its application scenario, ultimately contributing to a better, safer and shared understanding of the risk landscape.

The Missing Middle Layer in AI Safety

As Large Language Models (LLMs) transition from research environments to production, understanding their safety profile becomes a critical engineering and ethical requirement. Current safety tools generally fall into three categories: broad taxonomies, model-centric documentation (Model Cards), and static benchmarks. However, the authors argue that these are insufficient for real-world deployment. Taxonomies are often too abstract to account for context-specific risks, Model Cards focus on the artifact rather than the application, and benchmarks struggle to keep pace with evolving linguistic and social harms.

RiskCards are proposed as a "middle layer" that connects potential hazards to materialized harms through specific deployment conditions. This framework allows developers and auditors to document how specific model behaviors might manifest as concrete harms within a particular scenario, such as a medical chatbot versus a creative writing tool.

The RiskCard Framework

The RiskCard framework is built on four core principles: it is risk-centric (independent of specific models), participatory (designed for community contribution), dynamic (evolvable as models scale), and qualitative (prioritizing human-led evaluation over automated metrics).

Each RiskCard follows a structured template containing:

  1. Categorization: Mapping the risk to established taxonomies, such as those by Shelby et al. or Weidinger et al.
  2. Harm Dimensions: Identifying affected actors (providers, developers, consumers, or external groups) and the nature of the harm (e.g., Representational, Allocative, Legal).
  3. Actions Required for Harm: Detailing the specific context or "elicitation" steps needed for the risk to surface.
  4. Sample Prompt & Output: Concrete examples of model failure modes.
The framework maps risks to established taxonomies of harm, such as those by Shelby et al. and Weidinger et al.

A Starter Set of Risks

To seed the framework, the authors conducted an inductive survey of existing literature, identifying and de-duplicating approximately 80 distinct risks. These range from "quack medicine advice" and "deadnaming" to technical vulnerabilities like "prompt extraction." To illustrate these risks, the authors probed several models, including OpenAI’s text-davinci-003 and Eleuther’s GPT-NeoX-20B.

An example RiskCard for Hate Speech, detailing the categorization, harm types, and the specific actions required for the harm to manifest.

Key Conceptual Insights

  • Hazard vs. Harm vs. Risk: The paper clarifies that a hazard is a potential source of trouble, a harm is the negative outcome, and risk is the likelihood and impact of that transition. RiskCards focus on the "routes" between these states.
  • The Contextual Shift: Model behavior that is harmful in one scenario (e.g., generating fake political claims) might be a desired feature in another (e.g., writing a fictional novel). RiskCards capture this nuance by focusing on the deployment scenario.
  • Human-Led Probing: The authors advocate for manual, qualitative "probing" over purely quantitative safety scores, arguing that human judgment is necessary to understand subtle linguistic and social failures.

Limitations and Future Work

While RiskCards provide a robust structure, the authors acknowledge the high burden of manual assessment, which may be difficult for resource-constrained teams. Additionally, documenting elicitation methods (sample prompts) carries a dual-use risk, potentially providing a guide for malicious actors. Future work focuses on maintaining the sustainability of this open-source repository and developing better support protocols for human auditors who may face psychological strain while probing for harmful content.

Summary updated

BibTeX
@misc{derczynski2023assessing,
  author = {Leon Derczynski and Hannah Rose Kirk and Vidhisha Balachandran and Sachin Kumar and Yulia Tsvetkov and M. R. Leiser and Saif Mohammad},
  title = {{Assessing Language Model Deployment with Risk Cards}},
  year = {2023},
  eprint = {2303.18190},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.18190},
}
Figure