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.
| Stage | Description |
|---|---|
| Embedding generation | Clinical notes and claims are sent to an embedding model, often hosted by a third party. |
| Vector storage | Vectors are stored with metadata that may link back to a patient or encounter. |
| Retrieval | Semantic search returns source passages that can contain PHI. |
| Agent tool calls | AI 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?