---
name: responsible-ai-guide-108acc90cda2
description: "Resources for trustworthy, fair, and ethical AI research"
metadata:
  openclaw:
    emoji: "⚖️"
    category: "domains"
    subcategory: "ai-ml"
    keywords: ["responsible AI", "AI ethics", "fairness", "trustworthy AI", "AI safety", "bias"]
    source: "https://github.com/AthenaCore/AwesomeResponsibleAI"
---

# Responsible AI Guide

## Overview

A comprehensive collection of resources for building trustworthy, fair, and ethical AI systems. Covers fairness metrics, bias detection and mitigation, explainability methods, privacy-preserving techniques, robustness testing, and governance frameworks. Essential reading for researchers working on AI safety, alignment, and deploying models in high-stakes domains.

## Topic Taxonomy

```
Responsible AI
├── Fairness
│   ├── Bias detection (data, model, outcome)
│   ├── Fairness metrics (demographic parity, equalized odds)
│   ├── Bias mitigation (pre/in/post-processing)
│   └── Intersectional fairness
├── Explainability
│   ├── Feature attribution (SHAP, LIME, IG)
│   ├── Concept-based (TCAV, concept bottleneck)
│   ├── Counterfactual explanations
│   └── Mechanistic interpretability
├── Privacy
│   ├── Differential privacy
│   ├── Federated learning
│   ├── Membership inference attacks
│   └── Machine unlearning
├── Robustness
│   ├── Adversarial attacks/defenses
│   ├── Distribution shift
│   ├── Uncertainty quantification
│   └── Out-of-distribution detection
├── Safety & Alignment
│   ├── RLHF and preference learning
│   ├── Constitutional AI
│   ├── Red teaming
│   └── Guardrails and filters
└── Governance
    ├── Model cards
    ├── Datasheets for datasets
    ├── AI impact assessments
    └── Regulatory compliance (EU AI Act)
```

## Key Tools

| Tool | Category | Purpose |
|------|----------|---------|
| **Fairlearn** | Fairness | Bias assessment + mitigation |
| **AI Fairness 360** | Fairness | IBM fairness toolkit |
| **SHAP** | Explainability | Shapley value explanations |
| **Captum** | Explainability | PyTorch interpretability |
| **Opacus** | Privacy | Differential privacy for PyTorch |
| **ART** | Robustness | Adversarial robustness toolbox |
| **Alibi** | Explainability | ML model explanations |

## Fairness Assessment

```python
from fairlearn.metrics import MetricFrame
from sklearn.metrics import accuracy_score, recall_score

# Assess fairness across demographic groups
metrics = MetricFrame(
    metrics={
        "accuracy": accuracy_score,
        "recall": recall_score,
    },
    y_true=y_test,
    y_pred=y_pred,
    sensitive_features=demographics,
)

print("Overall:")
print(metrics.overall)
print("\nBy group:")
print(metrics.by_group)
print("\nDifference (max - min):")
print(metrics.difference())
```

## Reading Roadmap

```markdown
### Foundations
1. "Fairness and Machine Learning" (Barocas, Hardt, Narayanan)
2. "Datasheets for Datasets" (Gebru et al., 2021)
3. "Model Cards for Model Reporting" (Mitchell et al., 2019)

### Fairness
4. "On Fairness and Calibration" (Pleiss et al., 2017)
5. "Fairness Through Awareness" (Dwork et al., 2012)

### Explainability
6. "A Unified Approach to Interpreting Model Predictions" (SHAP)
7. "Why Should I Trust You?" (LIME, Ribeiro et al., 2016)

### Safety
8. "Constitutional AI" (Bai et al., 2022)
9. "Red Teaming Language Models" (Perez et al., 2022)
10. "Scaling Monosemanticity" (Anthropic, 2024)
```

## Use Cases

1. **Bias auditing**: Check models for demographic biases
2. **Compliance**: EU AI Act and regulatory requirements
3. **Model documentation**: Model cards and impact assessments
4. **Research ethics**: Ethical considerations for AI research
5. **Course material**: Teach responsible AI principles

## References

- [AwesomeResponsibleAI](https://github.com/AthenaCore/AwesomeResponsibleAI)
- [Fairlearn](https://fairlearn.org/)
- [EU AI Act](https://artificialintelligenceact.eu/)


---
Source attribution: wentorai
Original project: https://github.com/wentorai/research-plugins/blob/bf44b3cd617fa94c8a1b254c5d1987142ca3d631/skills/domains/ai-ml/responsible-ai-guide/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Wentor AI

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: wentorai
Original project: https://github.com/wentorai/research-plugins/blob/bf44b3cd617fa94c8a1b254c5d1987142ca3d631/skills/domains/ai-ml/responsible-ai-guide/SKILL.md
Attribution basis: Source repository record

Fields of work: Data & Analytics, Development & Engineering, Education & Research, Legal, Product Management
Roles: Compliance Officer, Data Scientist, ML / AI Engineer, Product Manager, Researcher
Specialties: Specialty not specified
Tools: Ai Fairness 360, Alibi, Art, Captum, Fairlearn, Opacus, Shap
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: f4e30802ee075f03a1fd64ecddecc46da90a979d8b42120fd25c9fd36eac7f7f
