Using internal data in an AI project can expose personal information, confidential business records, or intellectual property through the training process, connected services, logs, or outputs. A technique that reduces one exposure does not secure the entire system or establish that the data use is permitted.
Before selecting a model or privacy control, write down what data is involved, why it is needed, who may access it, which services receive it, and what the system will return. Include model artifacts, embeddings, logs, backups, and generated outputs in that review. Confirm rights, provider terms, retention, and applicable obligations with the appropriate owners.
Start with access and data minimization
Use only the fields and records needed for the defined task. Separate direct identifiers from working data where feasible, restrict access to the people and services that need it, and document where copies may be created. Network isolation and encryption can reduce some exposure paths, but they do not replace key management, endpoint controls, audit, provider review, or output safeguards.
Masking or replacing an identifier is not automatically anonymization. Other fields, rare events, or information available elsewhere may still make a record linkable. Keep any mapping key separate and restricted, and assess whether the transformed data can still be linked to a person or confidential source.
Understand the limits of common techniques
- Federated learning can keep raw training records at their original locations while participants exchange model updates. Those updates may still reveal information about training data. NIST describes attacks on model updates and notes that federated learning alone is not a complete privacy solution. Depending on the design, safeguards such as secure aggregation or a formal privacy mechanism may be needed.
- Differential privacy can quantify a specific privacy guarantee for a defined mechanism, but the guarantee depends on its unit of privacy and parameters, including the privacy budget and any delta value. Repeated releases consume privacy budget, and added protection can reduce the usefulness of outputs. Do not describe a system as differentially private without understanding how the mechanism was implemented and evaluated.
- Synthetic data is generated from a model of source data; it is not automatically free of information about the source. NIST warns that non-differentially-private synthetic data may provide only informal privacy protection and that privacy attacks have recovered original data. Evaluate disclosure risk as well as whether the synthetic data remains useful for the task.
- Homomorphic encryption can support particular computations over encrypted values. It does not by itself govern who may submit queries, how keys are controlled, or what can be inferred from results. Assess the full protocol and operational trust boundaries rather than treating encryption as complete protection.
Illustrative workflow: testing a forecast model
Suppose a team wants to test a forecasting workflow using customer transaction history. It first removes fields that are not needed and creates a restricted test environment. The privacy reviewer checks whether the remaining attributes could identify a customer, and the team evaluates any generated test data for disclosure risk before sharing it with developers. The production dataset remains access-controlled, and the model output is checked for details that should not be exposed.
If an unusual combination of attributes makes a record recognizable, the team stops the test-data release, removes or transforms those attributes, and repeats the review. If an external model provider would receive the data, the team pauses until the provider, endpoint, retention, and use are approved. This is an illustrative process, not a certification of compliance or a guarantee that a control prevents every disclosure.
Review outputs and provider boundaries
Limit model access and tool permissions to the task. Check generated outputs for confidential details, and route uncertain or sensitive responses to a person. Prefer operational logs that record a request ID, source version, outcome, and error category over retaining full raw prompts when those details are not necessary for review.
A privacy control should be assessed against the specific data, implementation, threat model, and intended use. Frameworks and technical safeguards can guide that assessment, but they do not replace contractual review, legal advice, or a security assessment for a particular deployment.