NIST AI RMF Implementation

    Implementing the NIST AI RMF Measure Function for LLMs

    To implement the NIST AI RMF Measure function for LLMs, select metrics for each risk identified in MAP, evaluate the system before deployment using documented test sets, and keep measuring in production with monitoring and dated records. Pre-deployment testing and runtime evidence answer different questions, and neither replaces the other.

    Evidence to retain for ongoing measurement

    • Metric register linking each MAP risk to its indicator, method, owner, and signal source
    • Record of risks not measured, with rationale and approval
    • Test sets, tool details, methodology, results, and uncertainty for each evaluation run
    • Dated re-evaluation reports tied to model, prompt, or policy changes
    • Runtime decision records (allow, redact, block, escalate) with model and policy versions and a defined retention period
    • Measurement review notes showing what changed after feedback (MEASURE 4)

    What MEASURE asks for when the system is an LLM

    The Measure function uses quantitative, qualitative, or mixed-method tools to analyze, assess, benchmark, and monitor AI risk and related impacts. Its stated outcome is that objective, repeatable, or scalable test, evaluation, verification, and validation (TEVV) processes, including metrics and methods, are in place, followed, and documented. The framework is voluntary. This guide does not treat it as a legal requirement.

    The four categories are: 1, appropriate methods and metrics are identified and applied; 2, AI systems are evaluated for trustworthy characteristics; 3, mechanisms for tracking identified AI risks over time are in place; 4, feedback about the efficacy of measurement is gathered and assessed.

    LLMs make this harder than it is for conventional models. Output is non-deterministic, depends on the prompt, and can shift when the model, system prompt, or connected tools change. NIST guidance on adversarial machine learning notes that an evaluation measures vulnerabilities at a particular moment, and that continuous evaluation after deployment can help. A single pre-release test report therefore shows how the system behaved on one day, under one configuration. It does not show production behavior. MEASURE 2.4 addresses this directly: the functionality and behavior of the system and its components, as identified in MAP, are monitored when in production.

    Mapping LLM risks to indicators and signal sources

    Start from the risks enumerated in MAP, beginning with the most significant (MEASURE 1.1). NIST AI 600-1 groups generative AI risks including confabulation, data privacy, harmful bias and homogenization, and value chain and component integration. The table pairs common LLM risks with example indicators and the stage where each signal is usually produced. The NIST material gives no LLM-specific thresholds, so acceptable levels are organization-defined and should be set and documented before evaluation begins.

    • Hallucination (confabulation): Indicator: factual error rate on a representative test set, with uncertainty reported. Method: benchmark and task-specific evaluation, human review of samples. Signal: mostly pre-deployment, with sampled review in production.
    • Data leakage and privacy: Indicator: rate of sensitive data appearing in prompts or outputs. Method: privacy-focused test cases, seeded sensitive strings. Signal: pre-deployment tests plus runtime detection and redaction counts.
    • Prompt injection: Indicator: attack success rate across trials. Method: adversarial testing, including injection through data returned by external tools. Signal: pre-deployment tests plus runtime block and escalation counts.
    • Harmful bias: Indicator: output differences across defined groups or scenarios. Method: bias evaluation on representative inputs. Signal: primarily pre-deployment, re-run after model or prompt changes.
    • Unsafe tool use: Indicator: share of tool calls outside permitted scope. Method: scenario tests of agent and tool behavior. Signal: runtime decisions on individual tool calls, plus pre-deployment scenario results.

    Pre-deployment evaluation versus runtime evidence

    Pre-deployment TEVV answers MEASURE 1 and 2. It tells you how the system performs against defined test sets and attack scenarios, under conditions similar to the deployment setting (MEASURE 2.3). It is the right place to measure validity, bias, and robustness, because those need controlled inputs and known answers.

    Production signals support MEASURE 2.4 and 3. They show what happens with real prompts, real users, and real tool access, including inputs no test set anticipated. NIST AI 600-1 also points to continual improvement of generative AI risk measurement, with documentation and measurement approaches updated at regular cadences. Our reading is that runtime signals complement TEVV rather than replace it. A low count of blocked events says little about hallucination rate, and a strong benchmark score says little about what the system did last Tuesday.

    Record the model, version, and prompt or policy version alongside each measurement. This is a practical convention, not a NIST requirement, but without it a change in a metric cannot be attributed to a change in the system.

    Where runtime enforcement evidence fits

    Runtime policy enforcement produces a specific kind of measurement: a record of what the AI was permitted to do and what it did. When a policy in the execution path allows, redacts, blocks, or escalates an interaction or tool call for human approval, each decision can be recorded with a timestamp and the policy that applied. Read against a defined risk, counts of redacted, blocked, or escalated events become tracked indicators over time, which is the intent of MEASURE 3 and the production monitoring in MEASURE 2.4. Escalation volumes and reviewer outcomes can also feed MEASURE 4, because they show where a metric or policy is too loose or too strict.

    This mapping is our interpretation. NIST does not describe enforcement records, and the evidence must be tied to the metric set documented under MEASURE 1.1 and 2.1 to be meaningful.

    Trussed enforces policy in the execution path across models, agents, tools, and MCP servers, at the level of individual interactions and tool calls. The audit-ready evidence that enforcement generates is mapped to NIST, among other frameworks, and retention and data residency are configurable in a self-managed deployment in the customer cloud. Trussed is not a testing or red-teaming product, and it does not replace validity, bias, or robustness evaluation. It is one source of runtime evidence within a broader measurement program.

    Measure for LLMs: two evidence streams

    MEASURE 1 and 2

    Metrics, test sets, and pre-deployment TEVV, documented.

    MEASURE 2.4

    Functionality and behavior monitored when in production.

    MEASURE 3

    Identified risks tracked over time.

    MEASURE 4

    Feedback on whether measurement is working.

    Review your runtime evidence against MEASURE

    See how enforcement in the execution path produces audit-ready evidence that can sit alongside your evaluation and testing records.

    See How Evidence Is Produced
    Next step

    How does your AI governance program compare?

    See where your program has gaps in less than 2 minutes.