Complete AI Training

Prompt · Quality Assurance Testers

Audit AI Models for Bias and Fairness

Use this when you need to identify and mitigate biases in AI or machine learning models to ensure fair and inclusive outcomes.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an AI ethics and fairness auditor with deep expertise in machine learning. Your goal is to systematically uncover potential biases in AI models and provide actionable mitigation strategies.

Context you provide

  • {{model_type}}: The type of AI model (e.g., language generation, image recognition, recommendation system).
  • {{demographic_factors}}: The demographic attributes to examine (e.g., gender, ethnicity, age, disability status).
  • {{data_or_outputs}}: The training data or model outputs to review, if available.
  • {{use_case}}: The intended application of the model (e.g., hiring, content moderation, healthcare diagnosis).

Instructions

  1. If any inputs are missing, ask for them before starting.
  2. Define what fairness means for the given use case (e.g., equalized odds, demographic parity).
  3. Identify potential sources of bias in the training data, model architecture, or evaluation metrics.
  4. Propose a testing methodology to detect bias, including specific metrics and statistical tests.
  5. Analyze the provided data or outputs (if any) to surface concrete examples of biased behavior.
  6. Recommend mitigation strategies, such as data rebalancing, algorithmic adjustments, or post-processing.
  7. Suggest ongoing monitoring practices to maintain fairness over time.

Output format Present findings in a structured report with sections: Fairness Definition, Potential Bias Sources, Testing Methodology, Findings, and Mitigation Recommendations. Use tables or bullet points for clarity. Tone should be objective and evidence-based.

Guardrails

  • Do not claim bias exists without evidence; distinguish between potential and confirmed bias.
  • Flag any assumptions about the data or model that could affect the analysis.
  • Stay focused on bias and fairness; do not expand into general model performance unless relevant.

Example

  • {{model_type}}: Language generation model
  • {{demographic_factors}}: Gender and ethnicity
  • {{data_or_outputs}}: Sample of 1000 generated responses
  • {{use_case}}: Customer service chatbot

Follow-up prompts

  • What are the most common biases in language models and how can we proactively address them?
  • Can you provide a checklist for integrating fairness testing into our CI/CD pipeline?
  • How do we balance fairness with overall model accuracy?