Skip to content

Model Risk Management Mapping (SR 11-7 / NIST AI RMF)

Maps the ai-agent-eval-harness-healthtech reference 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.

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 PrincipleCurrent ImplementationGap Assessment
Model inventoryThe model card (CHAI Applied Model Card format) documents the agent’s purpose, inputs, outputs, foundation models, data sources, performance metrics, and limitationsInventory covers one model; a financial institution would need a model inventory covering all models in use with risk-tier classification
Model documentationArchitecture decision records document design decisions; the model card provides model-level documentation; the data statement documents the datasetsDocumentation is thorough for a single-purpose reference implementation; production would need model validation reports, sensitivity analyses, and limitation assessments for each model
Conceptual soundnessSix-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 assertionArchitecture is well-structured and testable; a financial model would need independent conceptual review by domain experts
Model Risk Management PrincipleCurrent ImplementationGap Assessment
Independent validationEval harness acts as an independent measurement system; the CI gate enforces thresholds without developer override; a deterministic stub client isolates guardrail behaviour from model variabilityEval harness is built by the same author as the system; true independence requires a separate validation team
Outcome analysisTwo 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 semanticsAnalysis covers synthetic data; production would need outcome analysis on real transaction data with statistical significance testing
BenchmarkingLocale-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 analysisConfigurable retrieval similarity threshold tested across several embedder configurations; the LLM provider abstraction enables provider-swap testingLimited sensitivity analysis; financial models would need systematic sensitivity testing across key parameters and stress scenarios
Model Risk Management PrincipleCurrent ImplementationGap Assessment
Governance committeeArchitecture decision records capture the decision trail; the eval harness gates every code change; the regulatory posture requires a decision record for scope changesNo formal governance committee; single-author project; production would need a model governance committee with cross-functional representation
Risk-tier classificationThe regulatory posture classifies the system as general-wellness (not a medical device); the EU AI Act mapping classifies it as minimal-riskClassification is self-assessed for one model; financial institutions need a risk-tier framework covering all models
Change managementDecision records document changes; the eval harness detects regressions on every code change; semantic versioning tracks releasesChange management is repository-level; production would need formal change approval workflows, pre-deployment validation, and rollback procedures
Ongoing monitoringCI eval on every code change; nightly Promptfoo red-team; telemetry spans on every node; cost/latency gates; Langfuse Cloud and Phoenix observability sinksMonitoring covers the reference implementation; production would need continuous model performance monitoring, drift detection, and automated alerting
Model Risk Management PrincipleCurrent ImplementationGap Assessment
Performance trackingDeterministic eval gate with explicit thresholds; eval reports generated on each runTracking is per-run; production would need longitudinal performance dashboards, trend analysis, and automated degradation detection
Threshold monitoringHard CI-enforced gates with published pass/fail semantics on faithfulness and hallucination, plus binary per-case gates on refusal and escalation correctnessThresholds are binary; financial applications would need graduated thresholds (green/amber/red) with escalation procedures
Drift detectionEval harness runs on every code change against a fixed golden corpus; nightly red-team exercises the system; no automated concept drift detectionReference implementation uses manual drift detection (eval regression); production would need automated drift detection, performance baselines, and scheduled re-evaluation
Exception reportingEval regression fails the CI eval job (a signal, not a hard merge gate - no enforced branch protection); known limitations documented in the model cardException handling is a CI signal, not an enforced gate; production would need exception reporting workflows, risk acceptance documentation, and senior management notification

The reference implementation demonstrates model risk management governance patterns that are directly transferable to a regulated model risk management environment:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

Adapting these patterns for a supervised financial institution:

  1. Model governance committee: Cross-functional committee (risk, compliance, IT, business) with authority to approve, restrict, or retire models
  2. 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
  3. Independent model validation: Dedicated validation team independent of model development; validation reports covering conceptual soundness, outcome analysis, sensitivity analysis, and benchmarking
  4. Continuous performance monitoring: Automated drift detection, performance baselines, longitudinal tracking, and automated alerting on degradation
  5. Formal change management: Change approval workflows with pre-deployment validation, rollback procedures, and post-deployment monitoring
  6. Exception management: Documented exception handling with risk acceptance, senior management notification, and remediation plans
  7. 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.

Part of the portfolio of Waldemar Szemat · szemat.pro
GitHub · LinkedIn