惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
博客园 - 司徒正美
Last Week in AI
Last Week in AI
爱范儿
爱范儿
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
量子位
V
V2EX
博客园 - 叶小钗
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Predetermined change-control plans for AI/ML SaMD — how t...
James Whitfi · 2026-05-07 · via DEV Community

James Whitfield

I’ve spent the last three years defending algorithm updates to notified bodies and answering the same auditor question: “Show me how you control changes to this model.” For Class II software-as-a-medical-device (SaMD) where models will keep evolving, a predetermined change-control plan (PCCP) isn’t optional — it’s the practical way to show auditors you treated change control as governance, not theater.

Below are the concrete patterns we used to build PCCPs and validation artifacts that survive ISO 13485/21 CFR inspections and real-world use. I’ll note where things are specific to a Class II workflow, and where the approach scales up to higher-risk devices.

What a PCCP actually needs to prove

Regulators are not asking you to stop improving models. They want evidence that:

  • You pre-specified what kinds of changes are allowed without a full redesign review.
  • You defined objective acceptance criteria and test artifacts for each change type.
  • You have a controlled, traceable pipeline for making, testing, and deploying changes.
  • You monitor model performance in the field and have CAPA triggers tied to that monitoring.

Link these to the standards auditors will quote: ISO 13485 (change control expectations — see section on change processes) and FDA 21 CFR 820.70 (design changes). If you can map your PCCP artifacts to those clauses, you’re speaking the auditor’s language.

A practical PCCP structure (the pieces we deliver)

Treat the PCCP like a small design control bundle. Ours includes:

  • Scope and change taxonomy
    • What component(s) the PCCP covers (weights, retraining pipeline, pre/post-processing).
    • Change categories: A (parameters/configs), B (retraining on new labeled data), C (architecture changes).
  • Preconditions / guarded inputs
    • Data provenance checks, labeling consistency rules, and minimum sample-size rules.
  • Acceptance criteria (numeric + clinical context)
    • Performance metrics (AUC, sensitivity at fixed specificity, calibration) with pass/fail thresholds.
    • Clinical-impact checks: false-negative reduction target, no clinically meaningful increase in false-positives.
  • Validation artifacts to produce
    • Fixed validation dataset (frozen holdout), independent test set, synthetic stress tests.
    • Reproducible training logs, seed control, container image ID.
  • Deployment controls
    • Canary/rollout plan, rollout percent, rollback criteria.
  • Monitoring & post-market checks
    • Drift detection rules, periodic re-eval cadence, real-world performance thresholds.
  • Governance & traceability
    • Required approvals, CAPA triggers, trace matrix linking risk controls to requirements.

How we make validation reproducible

Auditors will ask to re-run your validation or at least to see that it could be re-run. That means reproducible environments and frozen datasets:

  • Keep a "golden" holdout test set that never touches retraining. If you need to expand it, document why and treat it as a design change.
  • Store container images and a deterministic training script (hash the repo/commit + container ID).
  • Capture random seeds, preprocessing versions, and third-party library versions (don’t rely on "latest").
  • Produce a validation report template that includes: dataset stats, metric results with confidence intervals, failure-mode analysis, and clinical-meaning commentary.

We check these programmatically in CI so the document is generated, not manually assembled.

Risk-staged changes and when to escalate

Not every model tweak needs a full design-review workflow. Use a clear staging rule:

  • Category A (minor): hyperparameter tuning, threshold change within pre-specified range.
    • Controls: automated unit tests, automated metric checks against frozen validation set, engineering sign-off + QA review.
  • Category B (moderate): retraining on new labeled data that meets provenance rules.
    • Controls: full validation report, clinical reviewer sign-off, QA + RA approval, limited rollout.
  • Category C (major): architecture changes, new input modalities, label schema changes.
    • Controls: design history file update, full risk assessment (per ISO 14971), formal change control board (CCB) review.

Document the escalation path in the PCCP and automate it wherever possible.

Operational tooling that helps (CI, monitoring, QMS integration)

You don’t need exotic tools — you need reliable links between engineering and your QMS:

  • CI pipelines that run validation and produce an artifact bundle (report, hashes, container IDs).
  • Model-monitoring that emits drift and performance alerts as events (webhooks).
  • Configured webhooks or API calls that create a change-control record in the QMS when a Category B/C change is proposed.
  • Traceability matrix stored with artifact IDs linking to the Design History File (DHF).

On the tooling side: we run Greenlight Guru for controlled docs and link CI artifacts via a webhook that creates a change record. Whatever QMS you use, ensure it captures the artifact IDs — auditors want the chain of custody.

Post-market and CAPA integration

Define explicit CAPA triggers tied to monitoring metrics:

  • Trigger examples:
    • Population drift metric exceeds threshold for two reporting periods.
    • Sensitivity drop below X for consecutive weeks.
    • Clinician complaint count related to misclassification crosses threshold.
  • When a trigger fires, your PCCP should define:
    • Immediate mitigation (rollback or restrict use).
    • Root-cause workflow (data drift vs label noise vs concept shift).
    • A timeboxed plan for corrective action and re-validation.

Make sure CAPA activities link back to the PCCP change record — that traceability is a frequent auditor question.

My pragmatic rules that saved time in audits

  • Freeze an immutable test set and treat changes to that set as a design change.
  • Automate as many checks as possible — a generated validation report beats a hand-assembled one every time.
  • Keep acceptance criteria clinical, not just statistical. Auditors like seeing clinical rationale.
  • Be explicit about who can approve what. “Engineering OK” is not enough.

Closing (and one question)

A PCCP is as much about the governance steps you pre-agree on as it is about metrics. If you can answer “what would we do if model sensitivity dropped 5% tomorrow?” in a 3-slide packet with reproducible artifacts, inspectors tend to relax.

How are you tying automated model-monitoring events into your change-control/QMS workflows today — webhooks into a change record, manual ticketing, or something else?