Week 1: RAI Foundations for Architects
Objective: Build the mental model for RAI as an architectural discipline β not a compliance checkbox applied at the end.
Time Estimate: 8β10 hours
Deliverable: RAI Architecture Lens β a 1-page reference card mapping each RAI principle to design-time questions
The Core Shiftβ
Traditional software architecture asks: What should this system do, and how fast?
RAI-aware architecture adds: Who could this system harm, how, and what design decision prevents that?
Framework 1: Microsoft RAI Standard v2 β The 6 Principles as Design Constraintsβ
| Principle | What It Eliminates | Design-Time Question |
|---|---|---|
| Fairness | Systems that produce disparate outcomes across demographic groups | What populations does this system serve? How is disparate impact measured? |
| Reliability & Safety | Systems that fail unpredictably or cause harm when they fail | What happens when the model returns a wrong answer? Is there a fallback? |
| Privacy & Security | Systems that expose personal data beyond its intended use | What data does this system access? What is the minimum necessary scope? |
| Inclusiveness | Systems that exclude users or produce lower quality for edge groups | Which user populations are underrepresented in training data? |
| Transparency | Systems where users cannot understand what is AI-generated | Is it clear to users when they are interacting with AI? |
| Accountability | Systems where no human owns the outcome of an AI decision | Who reviews high-stakes outputs? Who owns the audit trail? |
Framework 2: NIST AI RMF 1.0 β Govern, Map, Measure, Manageβ
GOVERN β Establish policies, roles, culture
β
MAP β Identify context, stakeholders, and risks for a specific AI system
β β YOU DESIGN FOR THIS
MEASURE β Analyze and assess identified risks (metrics, evaluations, red teaming)
β β AND THIS
MANAGE β Prioritize, respond, and monitor risks continuously
What "designing for MEASURE" means:
- Build in evaluation hooks β the system must be independently testable
- Choose architectures where component outputs are observable
- Design for A/B testing of safety mitigations
What "designing for MANAGE" means:
- Every AI component needs a monitoring owner in the architecture diagram
- Alerting thresholds must be defined at design time, not after launch
- Audit logs must be in the architecture β incident response requires them
Framework 3: EU AI Act Risk Tiers β Architecture Decisions Change by Tierβ
UNACCEPTABLE RISK β BANNED (Feb 2025)
ββ Social scoring | Real-time biometric surveillance | Subliminal manipulation
β β Architecture decision: Do not build.
HIGH RISK β Strict obligations (Aug 2026 deadline for deployed systems)
ββ HR/hiring | Credit scoring | Medical devices | Critical infrastructure
β β Required: human oversight mechanism, audit logging, accuracy testing,
β data governance documentation, EU AI database registration
LIMITED RISK β Transparency only
ββ Chatbots | Deepfakes
β β Required: AI disclosure to users
MINIMAL RISK β No obligations
ββ Spam filters | Recommendation engines
β Best practice: document anyway for future re-classification
This Week's Resourcesβ
| Resource | Type | Estimated Time |
|---|---|---|
| Microsoft RAI Principles | Reading | 1 hour |
| NIST AI RMF 1.0 β Govern + Map sections | Reading | 2 hours |
| Azure Well-Architected Framework β AI Workloads | Reading | 1.5 hours |
| Microsoft Learn: Responsible AI principles in practice | Course | 2 hours |
| OWASP LLM Top 10 | Reference scan | 1 hour |
Hands-On Exerciseβ
Take an AI system you have previously designed or reviewed. Map it against the four NIST AI RMF functions:
- Govern: Is there a documented policy for this system? Who owns it?
- Map: Are all stakeholders identified β including adversarial actors and autonomous agents?
- Measure: Can the system's fairness, safety, and accuracy be measured independently? Are evaluation hooks built in?
- Manage: Are alerting thresholds defined? Is there an incident response plan?
For each function, score: Strong / Partial / Missing. Write a 1-paragraph explanation for any Missing score.
Week 1 Deliverable: RAI Architecture Lensβ
Build a 1-page reference card you will use for every architecture review going forward:
| RAI Principle | Design-Time Question | Architecture Smell (what absence looks like) |
|---|---|---|
| Fairness | What populations does this serve? How is disparate impact measured? | No evaluation dataset; no bias testing |
| Reliability & Safety | What happens when the model is wrong? Is there a fallback? | No fallback; no monitoring owner |
| Privacy & Security | What is the minimum data scope? Is consent modeled? | Overly broad data access; no consent flow |
| Inclusiveness | Who is underrepresented? How is accessibility handled? | No accessibility review; monoculture test data |
| Transparency | Is AI disclosed to users? Can decisions be explained? | No AI disclosure; no explainability hook |
| Accountability | Who owns each AI decision? What is the escalation path? | No human review gate; no audit log |
Knowledge Checkβ
- What is the difference between RAI as a compliance checklist and RAI as an architectural constraint?
- Which NIST AI RMF function is most directly influenced by architecture decisions β and why?
- Under the EU AI Act, what architecture components are legally required for a High-Risk AI system?
- An architect says: "We'll add the safety filters after the MVP ships." Which RAI principle is most at risk?