Compliance Guide

Can You Fine-Tune an LLM on PHI Without Patient Authorization?

Possibly, but not automatically. A covered entity may be able to fine-tune on PHI without patient authorization when the use fits a permitted purpose such as health care operations, the dataset is limited to what that purpose needs, vendors handling PHI are under business associate agreements, and Security Rule safeguards are in place. Each use case needs its own documented analysis. Uses that fall outside that analysis call for authorization, de-identified data, or a limited data set.

This guide is a framework for compliance teams, not legal advice.

Decision path for fine-tuning on PHI

Work through these five questions in order for each fine-tuning use case.

StepLabelQuestion to answer
1PurposeDoes the use fit treatment, payment, or health care operations?
2Data formIdentifiable PHI, limited data set, or de-identified data?
3ScopeIs the dataset limited to what the purpose needs?
4PartiesIs a business associate agreement in place with each vendor?
5EvidenceCan access and lineage be shown through logs?

Start with the permitted-use question

The first question is whether the use fits treatment, payment, or health care operations. A covered entity may be able to fine-tune on PHI without authorization when the use fits a permitted purpose such as health care operations.

Each use case needs its own documented analysis. That written analysis should state the basis relied on and who will use the model.

Which basis fits which situation

Uses that fall outside the permitted-purpose analysis call for authorization, de-identified data, or a limited data set. The form of the data therefore matters: identifiable PHI, a limited data set, or de-identified data.

Any de-identification or limited data set determination, including any expert report, should be kept with the record for the use case.

Minimum necessary, business associates, and Security Rule safeguards

The dataset should be limited to what the purpose needs, and the record should show how minimum necessary scoping was applied.

Vendors or platforms handling PHI should be under business associate agreements, and Security Rule safeguards should be in place.

Memorization and extraction change the risk picture

Extraction testing results, and the rules governing who can query the model, belong in the evidence kept for each use case. Access and audit logs should also cover training data, checkpoints, and model endpoints.

Runtime controls turn the position into evidence

A written analysis states the position. Runtime controls show that the organization acted consistently with it. Auditors and regulators will ask who accessed the data, under what authority, and whether the stated limits were enforced.

Four control areas that matter most

  • Identity: each pipeline, agent, and labeling tool should have its own identity, not a shared credential, so activity can be attributed.
  • Least privilege: a training job should read only the approved dataset snapshot and fields, and permissions should be tied to the approved purpose.
  • Policy enforcement: tool calls and pipeline steps that copy, export, or send data to external endpoints should be checked against policy, and new tools should pass an approval step before they touch training data.
  • Audit logging: records should show which identity accessed which dataset, when, and what policy decision applied, which supports lineage and incident review.

Evidence to keep for each fine-tuning use case

  • A written purpose analysis stating the basis relied on and who will use the model
  • A record of how minimum necessary scoping was applied to the dataset
  • The de-identification or limited data set determination, including any expert report
  • Business associate agreements for every vendor or platform handling PHI
  • Access and audit logs covering training data, checkpoints, and model endpoints
  • Extraction testing results and the rules governing who can query the model

Document the control layer behind your HIPAA position

Talk through how agent identity, least-privilege access, policy enforcement, and audit logging apply to your fine-tuning pipelines.

Request a Demo