Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

AI Model Card Safety Testing Disclosures

· 5 min read · Home Tech

In this article
  1. Why Model Cards Exist
  2. Core Safety Testing Elements
  3. How Safety Testing Is Typically Conducted
  4. Common Gaps in Current Disclosures
  5. How to Interpret a Model Card's Safety Section
  6. Regulatory and Industry Standards
  7. Frequently Asked Questions

An AI model card should disclose the specific safety tests performed, the datasets and benchmarks used, the pass/fail criteria, and the date and environment of testing, along with any known limitations or failures. This information lets users judge whether the model is safe for their intended use case and what residual risks remain.

Why Model Cards Exist

Model cards are standardized documents that accompany AI models, originally proposed in a 2019 paper by researchers at Google. They provide structured information about a model's intended use, performance, and limitations. The goal is to increase transparency and accountability in AI deployment, especially as models are shared across organizations and used in applications where failures can have real-world consequences. A model card is not a legal document, but it serves as a practical summary for developers, auditors, and end users.

Core Safety Testing Elements

A thorough safety testing disclosure should cover at least the following areas:

  • Test scope: What types of safety were evaluated (e.g., bias, robustness, toxicity, privacy, security).
  • Datasets and benchmarks: Which specific datasets were used for evaluation, including versions and any preprocessing steps.
  • Metrics and thresholds: The quantitative measures used (e.g., accuracy, false positive rate) and the predefined thresholds for passing.
  • Failure analysis: Known failure modes, edge cases, and any instances where the model performed poorly.
  • Testing environment: The hardware, software, and model version tested, as results can vary across environments.
  • Date and reproducibility: When testing was conducted and whether the process is reproducible by third parties.

Each element helps answer a different question a user might have. For example, knowing the test date is crucial because models are often updated, and safety properties can change with new training data.

How Safety Testing Is Typically Conducted

Safety testing for AI models usually involves a combination of automated and human evaluation. Automated tests might include running the model on adversarial examples, checking for biased outputs across demographic groups, or measuring performance on out-of-distribution data. Human evaluation often involves trained annotators rating outputs for toxicity, helpfulness, or factual accuracy. The specifics depend on the model's modality (text, image, audio) and its intended use. For instance, a text generation model might be tested with a benchmark like RealToxicityPrompts, while a facial recognition model would be tested for demographic parity across skin tones and genders.

Common Gaps in Current Disclosures

Many existing model cards are incomplete or vague. A common problem is that they list safety tests without specifying the exact thresholds or metrics, making it impossible to interpret the results. Another gap is the lack of information about the test data itself—for example, whether the test set was contaminated with training data, which would inflate performance. Additionally, many cards omit the results of human evaluations, even when they were conducted, because they are expensive and harder to quantify. Finally, some model cards are updated infrequently, so the information becomes stale as the model evolves.

How to Interpret a Model Card's Safety Section

When reading a model card, look for specific numbers and clear definitions. For example, instead of saying "the model was tested for bias," a good card will say "the model was evaluated on the WinoBias dataset, achieving a gender bias score of 0.03 (lower is better), which is within our threshold of 0.05." Also check whether the card distinguishes between internal testing (done by the developers) and external audits (done by independent parties). External audits generally carry more weight. If a card does not mention safety testing at all, treat it as a red flag, though its absence does not necessarily mean the model is unsafe—just that the information is not available.

Regulatory and Industry Standards

While there is no universal legal requirement for model cards, several frameworks are emerging. The EU's AI Act, for example, will require certain high-risk AI systems to undergo conformity assessments, which include safety testing documentation. In the US, the NIST AI Risk Management Framework provides voluntary guidelines that include recommendations for documenting testing. Industry groups like the Partnership on AI have also published best practices. These frameworks often align on the core principle: disclose enough information for a competent third party to assess the model's safety, even if they cannot run the tests themselves.

Frequently Asked Questions

Do model cards need to include every single test result?

No, but they should summarize the most important results and point to detailed reports or appendices. Overly lengthy model cards become hard to use, but omitting critical failures is misleading. A good rule of thumb is to include any result that could change a user's decision to deploy the model.

What if a model card says "no safety testing was performed"?

That is a significant limitation. It means the model's behavior under adversarial conditions or in sensitive contexts is unknown. Users should assume higher risk and conduct their own testing before deployment, especially if the model will interact with the public or make consequential decisions.

How often should safety testing be updated?

Whenever the model is retrained or fine-tuned, even slightly. Also, if new safety risks are discovered in the field, the model card should be updated with additional tests. There is no fixed schedule, but a model card that is more than a year old should be treated with caution.

Are there any standardized formats for safety disclosures?

Yes, several templates exist, such as the original Model Cards for Model Reporting framework, the Datasheets for Datasets, and the more recent Model Cards from Hugging Face. These provide a starting point, but they are not yet legally binding. Many organizations customize them to fit their needs.

Can a model card be too transparent about safety failures?

In practice, no. Full disclosure of failures builds trust and helps users avoid misuse. However, some details might be withheld for security reasons, such as specific prompts that trigger harmful outputs, to prevent malicious exploitation. In such cases, the card should note that certain details are redacted and why.