Compliance Guide | Healthcare

Are LLM Embeddings PHI? HIPAA Treatment of Embeddings Derived from Patient Records

Embeddings generated from patient records should generally be treated as PHI. They are derived from identifiable health information, are usually stored with identifying metadata, and may not meet Safe Harbor or Expert Determination without documented evidence. The position can be challenged only with a defensible de-identification analysis.

Start with the HIPAA definitions, not the math

Embeddings generated from patient records are derived from identifiable health information, and they are usually stored with identifying metadata. Those two facts, rather than the mathematics of the vectors, are the starting point for the HIPAA analysis.

Why the conservative position is the sensible default

Embeddings of this kind may not meet Safe Harbor or Expert Determination without documented evidence. Until that evidence exists, treating them as PHI is the conservative and sensible default.

Inversion and membership inference: what they change and what they do not

Inversion and membership inference risk should be assessed for the organization's own clinical text and models. This assessment is one of the questions to answer before a pipeline goes live, listed later in this guide.

When the PHI position could be challenged

The position can be challenged only with a defensible de-identification analysis. A claim of Safe Harbor or Expert Determination needs documented evidence behind it.

Where PHI-derived embeddings travel

Embeddings move through several stages, and each stage can involve patient-derived data.

Pipeline stages and what happens at each
StageDescription
Embedding generationClinical notes and claims are sent to an embedding model, often hosted by a third party.
Vector storageVectors are stored with metadata that may link back to a patient or encounter.
RetrievalSemantic search returns source passages that can contain PHI.
Agent tool callsAI agents query the index and pass results to models and downstream tools.

Controls across the embedding pipeline and the agents that query it

Questions to answer before an embedding pipeline goes live

  • Is there a documented position on whether patient-derived embeddings are PHI, with a named approver?
  • Does any pipeline claim Safe Harbor or Expert Determination, and what evidence supports the claim?
  • Does a signed BAA cover every embedding model provider and vector database host that handles patient-derived data?
  • Can retrieval be limited by agent identity and least-privilege permissions?
  • Is every retrieval and tool call logged in a form suitable for audit?
  • How is inversion and membership inference risk assessed for the organization's own clinical text and models?

Map embedding obligations to runtime controls

If your agents query PHI-derived embeddings, review how agent identity, least-privilege access, tool-call policy enforcement, and audit logging apply to your retrieval pipelines.

Talk to an Expert