Assessing Language Model Deployment with Risk Cards

Leon Derczynski, Hannah Rose Kirk, Vidhisha Balachandran, Sachin Kumar, Yulia Tsvetkov +2 more
3/31/2023
cs.CL

No official code found. Best implementation: leondz/lm_risk_cards (35 stars, last commit 2024-05-27).

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.

View on arXivView PDF

Code Implementations(1)

Risks and targets for assessing LLMs & LLM vulnerabilities

359PythonDec 13, 20222 years ago
llmllm-securityred-teamingsecurityvulnerability

Similar Papers

Cite this paper

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

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.18190.svg)](https://codeofpaper.com/paper/2303.18190)

Discussion