Can AI copy your company data or reproduce your product?
Yes, models can repeat some training material. They can also learn capabilities that compete with your product without copying its files. Keeping your IP does not remove either risk. Separate the permitted use, retained copies and model behavior before you license.
Can an AI model copy our company data or reproduce our product?
Yes. A model can reproduce some training material, sometimes word for word. It may also learn enough to perform part of the work your product sells, without reproducing the original files. Neither outcome is inevitable for every collection, but neither can be ruled out by saying that AI generates new answers.
Carlini and colleagues extracted hundreds of training examples from GPT-2. That establishes a real failure mode, not the probability that a particular lab will expose your archive. Your decision needs two answers. What may the buyer do under the license, and what technical evidence supports its safeguards?
Keeping your IP is not a technical safeguard
A license grants agreed usage rights rather than transferring all the rights you hold. Retaining those rights does not prevent a model from learning or disclosing information. Nor does owning the files establish that you control every customer record, contractor contribution or third-party work inside them.
Ask separately about training, evaluation, retrieval, redistribution and competing uses. Define what happens to raw files, processed copies, model weights and outputs after the term ends. An NDA can restrict disclosure, but it does not create missing rights or make extraction technically impossible. These are negotiation questions, not a legal opinion about a particular contract.
Seven different concerns need different controls
| Concern | What can happen | What to check |
|---|---|---|
| Raw-file retention | The buyer keeps an archive, backup or processed copy. | Access controls, retention periods and deletion evidence. |
| Onward disclosure | Files or derived datasets reach affiliates, contractors or other buyers. | Recipient categories, sublicensing and resale limits. |
| Memorization and extraction | A user elicits text learned during training. | Training safeguards and extraction tests. |
| Retrieval | An application fetches a passage from a connected repository. | Repository permissions and allowed display. |
| Hallucination | The model invents a plausible company fact or mixes real and false details. | Source checks before calling an answer a leak. |
| Competitive capability | The model performs a task customers currently pay you to do. | Which tasks and markets the license permits. |
| Rights and ownership | The contract grants broader uses than you intended. | The actual grant, exclusions and surviving rights. |
A ban on selling your dataset does not by itself answer whether a buyer may offer a model that learned from it. A filter that stops copied paragraphs does not answer who can download the source files.
Training and retrieval expose information in different ways
Training changes a model’s numerical parameters. Standard language-model training rewards predicting the next piece of text from the preceding context. Models learn useful patterns, but they can also learn particular sequences. The trained model is not a searchable folder of your documents. That does not mean the documents cannot be reconstructed through its answers.
At inference, the model generates an answer using its existing parameters and the information supplied for that request. Retrieval-augmented generation, or RAG, searches an external collection and puts selected passages into that context. AWS’s RAG explainer describes this process without retraining the model. An application can therefore quote a document it never trained on.
RAG can coexist with training. Ask whether retrieved passages, prompts and logs are stored or later used for training. “Not used for training” is not the same as “not retained” or “not shown to other users.” Retrieval needs its own access and display controls.
What extraction research does and does not prove
Carlini et al. demonstrated recovery of text, code and contact information from GPT-2. Some strings appeared in only one training document, although they could repeat within that document. Do not equate one file with one exposure.
Nasr et al.’s 2023 study extracted training text from an aligned ChatGPT model using an attack that defeated its usual chat behavior. This is evidence against treating alignment, including reinforcement learning from human feedback, as a universal barrier to regurgitation. It is not a claim that the same attack works on every current model.
A plausible answer is not proof of extraction. Compare it with the source and establish whether the information could have come from the prompt, retrieval, public material or another source. Stanford’s 2025 explainer also shows that predictable text can match a training passage even when that particular passage was not learned. No single similarity score settles provenance.
Reduce exposure before training starts
- Exclude material whose disclosure would be unacceptable, such as credentials, an unreleased formula or the complete content of a paid product. Offer a narrower collection if it still serves the buyer’s task.
- Remove unnecessary fields and sensitive context, not just names. An anonymous record can still disclose a business secret. Validate the prepared export and its metadata.
- Remove exact and near-duplicate passages within the collection. Ask how the lab checks overlap with its other sources and controls repeated training exposure. Keep required attribution attached.
Lee et al.’s ACL 2022 experiments found that deduplication reduced copied output substantially, roughly tenfold in their unprompted-generation setup. That result concerns specific datasets, models and measurements. Deduplication does not remove every sensitive fact or guarantee that a remaining example will not be extracted.
Goldfish loss and differential privacy solve narrower problems
Goldfish loss changes training, not the files you deliver. Hans et al. omit selected tokens from the prediction loss while still feeding the text into the model. Their hash-based method consistently omits the same targets when a passage repeats. This reduces the model’s incentive to learn a complete verbatim chain.
Their experiments reduced long exact reproductions with limited impact on the tested benchmarks. The paper gives no formal privacy guarantee. Its appendix reports remaining semantic similarity and its attacks still detect training-set membership. Shorter passages, paraphrases and learned knowledge remain concerns. Matching language-model performance can also require more training input. Goldfish loss is a research method to ask about, not a practice we assume every lab uses.
Differentially private training takes a different approach. Abadi et al.’s DP-SGD limits each training example’s influence and adds calibrated noise. The guarantee bounds how much the trained model’s output distribution can change when a defined protected unit is added or removed. It is not a promise that a certain phrase can never appear.
Ask what the unit is, what privacy budget applies and which training stages it covers. Protecting one text segment is different from protecting all records about one person or one company. Facts repeated across many units can still be learned. NIST’s deployment guide explains the accuracy and compute tradeoffs, including difficulty learning rare patterns.
VaultGemma’s 2025 report gives a concrete example of sequence-level DP from pretraining, alongside a performance gap against its non-private comparison. The authors found no memorization in their stated extraction test, not proof against every possible attack. DP applied only during fine-tuning does not retroactively protect the pretraining data. Training DP also does not protect a raw document supplied through retrieval at inference.
Output controls are another layer, not erasure
Post-training can teach refusals. A hosted application can check outputs for source matches, limit long continuations, restrict retrieval and rate-limit repeated probes. These controls can reduce exposure, but paraphrases or new prompts may evade them. Stanford’s unlearning experiments found that tested methods could suppress a familiar prompt yet fail on variants.
Ask whether model weights will be distributed. A hosted output filter does not accompany an independently run copy of the weights. Deleting the source archive also does not automatically undo training. File deletion, changes to a trained model and restrictions on future model use need separate commitments.
What evidence should we ask the lab to provide?
Ask for an evaluation plan tied to your collection and the proposed release, not a blanket assurance that the model “does not memorize.” Agree what failure would stop release, trigger a fix or require excluding material.
- Test continuation from source prefixes, ordinary questions and varied adversarial prompts. Cover repetitive templates, distinctive passages and the languages and formats you supply.
- Measure exact and near-exact copying. Review factual disclosures and paraphrases separately. Synthetic test strings can help, but do not stand in for representative material. Do not insert real secrets just to test the model.
- Where feasible, compare the base model, the post-trained model and the final application. Check retrieval access separately. Record model version, query budget, prompt families, match thresholds and failures.
- Retest after relevant training or deployment changes. No recovered examples means none were found under that test, not that the true risk is zero.
Could a model compete without copying a single page?
Yes. Consider a fictional company selling troubleshooting courses. A lab might train on selected problem-and-resolution pairs and produce a useful troubleshooting assistant. The assistant need not reproduce the course videos, copy a page or receive the company’s trademarks to replace part of what customers buy.
Conversely, learning from the records does not automatically recreate the company’s software, integrations, staff, certifications or service quality. Judge the actual task and buyer plan. Identify what makes customers pay, decide which knowledge must stay out, and negotiate any use restrictions you need. If competitive substitution would be unacceptable even without copied output, fewer verbatim matches will not make the deal acceptable.
Sources
- Carlini et al., Extracting Training Data from Large Language Models (USENIX Security 2021)
- Lee et al., Deduplicating Training Data Makes Language Models Better (ACL 2022)
- Hans et al., Be like a Goldfish, Don’t Memorize! (NeurIPS 2024), sections 6.3 and C.1
- Abadi et al., Deep Learning with Differential Privacy (CCS 2016)
- Nasr et al., Scalable Extraction of Training Data from (Production) Language Models (2023 preprint)
- VaultGemma Team, VaultGemma technical report (2025), sections 5 and 8
- NIST, How to deploy machine learning with differential privacy (December 21, 2021)
- Stanford AI Lab, Demystifying Verbatim Memorization in Large Language Models (April 28, 2025)
- AWS, What is Retrieval-Augmented Generation?
Frequently asked questions
- Does keeping our IP stop a model from repeating the data?
- No. Keeping your rights and controlling model behavior are different matters. Define permitted uses, retained copies and safeguards separately. Do not license material whose exposure would be unacceptable just because ownership stays with you.
- Does deleting our files remove them from a trained model?
- Not automatically. Deleting raw and processed copies does not undo the parameter changes made during training. Ask separately about file deletion, continued model use and any promised unlearning or retraining, including how it will be verified.
- Is RAG safer than training for confidential documents?
- It changes the risk rather than removing it. Retrieval can leave model parameters unchanged, but the application can still disclose retrieved text. Check repository permissions, displayed passages, stored prompts and logs, and any later training use.
- Does a clean extraction test prove our data cannot leak?
- No. It shows that the tested attacks did not recover the measured content under the stated conditions. Ask for exact-copy and near-copy checks, factual-disclosure review, varied prompts and testing of the final application.
Describe the collection and what must not be exposed or replicated. Kepler can help assess a narrower scope and reviews and anonymizes at our cost. Do not send confidential files. The lab pays you directly. Our percentage fee is due only after you are paid, with no upfront fee.
Get a free assessment