Model Risk Management Mapping (SR 11-7 / NIST AI RMF)
Maps the
ai-agent-eval-harness-healthtechreference implementation against SR 11-7 “Guidance on Model Risk Management” (Federal Reserve / OCC Bulletin 2011-12, 2011), the supervisory standard for model risk management, complemented by the MEASURE and MANAGE functions of the NIST AI RMF. While this system is not a regulated financial model, the governance patterns it demonstrates — model documentation, eval harness, guardrails, observability — map directly to the model risk management principles these frameworks set out.Read alongside the regulatory posture and the NIST AI RMF mapping.
Applicability
Section titled “Applicability”SR 11-7 applies to banking organizations supervised by the Federal Reserve and the OCC, and it is widely used as a reference for model risk management beyond US banking. This reference implementation is not a regulated financial model, is not operated by a supervised institution, and is not subject to SR 11-7 requirements.
The purpose of this mapping is to demonstrate that the governance patterns in this reference implementation align with model risk management principles that financial regulators worldwide expect. A financial institution evaluating this architecture for internal use (e.g., an AI-assisted customer service chatbot, a document processing pipeline, a compliance monitoring tool) would find these patterns transferable.
Model Risk Management Principles Mapping
Section titled “Model Risk Management Principles Mapping”Model Development and Documentation
Section titled “Model Development and Documentation”| Model Risk Management Principle | Current Implementation | Gap Assessment |
|---|---|---|
| Model inventory | The model card (CHAI Applied Model Card format) documents the agent’s purpose, inputs, outputs, foundation models, data sources, performance metrics, and limitations | Inventory covers one model; a financial institution would need a model inventory covering all models in use with risk-tier classification |
| Model documentation | Architecture decision records document design decisions; the model card provides model-level documentation; the data statement documents the datasets | Documentation is thorough for a single-purpose reference implementation; production would need model validation reports, sensitivity analyses, and limitation assessments for each model |
| Conceptual soundness | Six-node LangGraph StateGraph with explicit node responsibilities (intake, guardrail_pre, retrieve_context, generate_response, guardrail_post, closing); guardrails run before the LLM; citation enforcement on every clinical assertion | Architecture is well-structured and testable; a financial model would need independent conceptual review by domain experts |
Model Validation
Section titled “Model Validation”| Model Risk Management Principle | Current Implementation | Gap Assessment |
|---|---|---|
| Independent validation | Eval harness acts as an independent measurement system; the CI gate enforces thresholds without developer override; a deterministic stub client isolates guardrail behaviour from model variability | Eval harness is built by the same author as the system; true independence requires a separate validation team |
| Outcome analysis | Two lanes, not one. Key-free deterministic gate: 315 of 315 entries pass, refusal and escalation correctness 1.000, and the gate verdict is PASS (measured 2026-08-03). The committed judge-enabled report scores refusal 0.9561 and escalation 0.9781 and also fails, on 88 of 319 entries. Refusal and escalation correctness are enforced as binary per-case gates; faithfulness and hallucination held to CI-enforced gates with published pass/fail semantics | Analysis covers synthetic data; production would need outcome analysis on real transaction data with statistical significance testing |
| Benchmarking | Locale-stratified scoring (en, es-419, pt-BR held to identical thresholds); adversarial benchmarking (Promptfoo OWASP LLM Top 10 plus hand-crafted cases) | Benchmarking covers the defined eval dimensions; financial applications would need industry benchmarks and peer comparison |
| Sensitivity analysis | Configurable retrieval similarity threshold tested across several embedder configurations; the LLM provider abstraction enables provider-swap testing | Limited sensitivity analysis; financial models would need systematic sensitivity testing across key parameters and stress scenarios |
Model Governance
Section titled “Model Governance”| Model Risk Management Principle | Current Implementation | Gap Assessment |
|---|---|---|
| Governance committee | Architecture decision records capture the decision trail; the eval harness gates every code change; the regulatory posture requires a decision record for scope changes | No formal governance committee; single-author project; production would need a model governance committee with cross-functional representation |
| Risk-tier classification | The regulatory posture classifies the system as general-wellness (not a medical device); the EU AI Act mapping classifies it as minimal-risk | Classification is self-assessed for one model; financial institutions need a risk-tier framework covering all models |
| Change management | Decision records document changes; the eval harness detects regressions on every code change; semantic versioning tracks releases | Change management is repository-level; production would need formal change approval workflows, pre-deployment validation, and rollback procedures |
| Ongoing monitoring | CI eval on every code change; nightly Promptfoo red-team; telemetry spans on every node; cost/latency gates; Langfuse Cloud and Phoenix observability sinks | Monitoring covers the reference implementation; production would need continuous model performance monitoring, drift detection, and automated alerting |
Model Performance Monitoring
Section titled “Model Performance Monitoring”| Model Risk Management Principle | Current Implementation | Gap Assessment |
|---|---|---|
| Performance tracking | Deterministic eval gate with explicit thresholds; eval reports generated on each run | Tracking is per-run; production would need longitudinal performance dashboards, trend analysis, and automated degradation detection |
| Threshold monitoring | Hard CI-enforced gates with published pass/fail semantics on faithfulness and hallucination, plus binary per-case gates on refusal and escalation correctness | Thresholds are binary; financial applications would need graduated thresholds (green/amber/red) with escalation procedures |
| Drift detection | Eval harness runs on every code change against a fixed golden corpus; nightly red-team exercises the system; no automated concept drift detection | Reference implementation uses manual drift detection (eval regression); production would need automated drift detection, performance baselines, and scheduled re-evaluation |
| Exception reporting | Eval regression fails the CI eval job (a signal, not a hard merge gate - no enforced branch protection); known limitations documented in the model card | Exception handling is a CI signal, not an enforced gate; production would need exception reporting workflows, risk acceptance documentation, and senior management notification |
Current State
Section titled “Current State”The reference implementation demonstrates model risk management governance patterns that are directly transferable to a regulated model risk management environment:
-
Model documentation: The model card provides comprehensive model documentation in a standardised format (CHAI Applied Model Card), including purpose, limitations, performance metrics, and known risks.
-
Eval harness as measurement system: The eval harness is an independent measurement system that evaluates the agent against curated cases across eight dimensions, with deterministic thresholds enforced in CI. This maps directly to the model validation expectations in SR 11-7.
-
Guardrails as controls: The scope classifier, refusal templates, and escalation router act as deterministic controls that bound model behaviour. In financial applications, analogous controls would limit model outputs to approved actions.
-
Observability as monitoring: Telemetry spans with OpenInference semantic conventions provide real-time monitoring of every model decision, enabling audit trail reconstruction and performance tracking. This maps to the ongoing monitoring expectations in SR 11-7.
-
Decision-record-based change control: Every substantive design decision is documented in an architecture decision record, providing the decision trail that model governance committees require.
-
Transparent limitations: The model card and the regulatory posture document known limitations honestly — near-miss off-corpus handling, sub-acute escalation gaps, probabilistic model behaviour. This transparency is a governance strength.
Production Path
Section titled “Production Path”Adapting these patterns for a supervised financial institution:
- Model governance committee: Cross-functional committee (risk, compliance, IT, business) with authority to approve, restrict, or retire models
- Model inventory and risk-tier framework: Comprehensive inventory of all models with risk-tier classification aligned to supervisory expectations; higher-risk models receive more intensive validation and monitoring
- Independent model validation: Dedicated validation team independent of model development; validation reports covering conceptual soundness, outcome analysis, sensitivity analysis, and benchmarking
- Continuous performance monitoring: Automated drift detection, performance baselines, longitudinal tracking, and automated alerting on degradation
- Formal change management: Change approval workflows with pre-deployment validation, rollback procedures, and post-deployment monitoring
- Exception management: Documented exception handling with risk acceptance, senior management notification, and remediation plans
- Regulatory reporting: Periodic model risk reports to senior management and supervisors; material model changes reported within required timeframes
The governance patterns in this reference implementation — eval contracts, decision-record traceability, guardrails-before-LLM, telemetry instrumentation, honest limitation documentation — provide a strong foundation. They are the procedural and technical building blocks that a supervised entity would assemble into a formal model risk management framework.
See Also
Section titled “See Also”- Regulatory posture — regulatory boundary
- Model card — CHAI Applied Model Card
- NIST AI RMF mapping — NIST AI RMF mapping
- Chile Ley 19.628 mapping — Chile data protection mapping
- Drift detection plan — drift detection plan
- Guardrails design — guardrails design
Part of the portfolio of Waldemar Szemat · szemat.pro
GitHub · LinkedIn