PIPEDA and AI training data in a business sale
PIPEDA s. 7.2(1) lets parties to a prospective business transaction use and disclose personal information without the individual’s knowledge or consent if, among other conditions, they have an agreement requiring the recipient to use it solely for purposes related to the transaction, to protect it with appropriate safeguards, and to return or destroy it if the deal does not proceed.
When an AI company is sold, its training data can come under privacy law if personal information is inside it. PIPEDA s. 7.2(1) lets parties to a prospective business transaction use and disclose personal information without the knowledge or consent of the individual if the organizations have entered into an agreement of the kind the section describes and the information is necessary to determine whether to proceed with the transaction and, if so, to complete it. This guide covers what the Office of the Privacy Commissioner of Canada (OPC) says about personal information in training data, the OPC and PIPEDA material on purposes and retention, the business-transaction section before and after closing, and records a buyer can ask to see for each dataset.
It covers PIPEDA and the OPC’s guidance only. Ask a lawyer whether a provincial privacy law applies instead of, or as well as, PIPEDA to the data in your deal. For who owns datasets and models after a sale, see data, model and IP transfers in an AI business sale, and for the wider review of a target, see due diligence on an AI business.
Why training data is the privacy question in an AI sale
The OPC says generative AI is a subset of machine learning in which systems are trained on massive information sets, often including personal information, to generate content. It adds that generative AI tools do not occupy a space outside of current legislative frameworks, and that organizations developing, providing or using them are obligated to ensure their activities comply with applicable privacy laws and regulations in Canada.
The OPC treats an organization that refines a foundation model for a specific purpose, such as by further training it on a dataset proprietary to the organization, as included in its category of organizations using generative AI. So a small company that fine-tunes a model on its own customer records is not outside the guidance.
The first of the OPC’s principles is legal authority and consent. It says organizations should know and document their legal authority for collection, use, disclosure and deletion of personal information that occurs as part of the training, development, deployment, operation or decommissioning of a generative AI system. Where consent is the legal authority, the OPC says it should be valid and meaningful.
The OPC’s document says many of the considerations listed will be required for an organization to comply with applicable privacy law. It also says the principles do not exhaustively reflect all compliance requirements under privacy and other laws, and do not bind any specific investigations or adjudications. The OPC also says that inferring information about an identifiable individual, such as outputs about a person from a generative AI system, will be considered a collection of personal information and would require legal authority.
Purposes identified at collection, and new purposes like model training
The OPC’s guidance on identifying purposes tells organizations to identify and document their purposes for collecting personal information, and to tell their customers why the organization needs the information before or at the time of collection. It also says to define purposes as clearly and narrowly as possible so people understand how their information will be used or disclosed. It says to keep a record of all identified purposes and consents obtained.
The OPC’s guidance says to obtain consent again should you identify a new purpose. The PIPEDA principles schedule says that when personal information that has been collected is to be used for a purpose not previously identified, the new purpose shall be identified prior to use, and that unless the new purpose is required by law, the consent of the individual is required before the information can be used for that purpose; PIPEDA s. 7(2) separately lists circumstances in which an organization may use personal information without the knowledge or consent of the individual. The schedule adds that organizations using personal information for a new purpose shall document this purpose.
The OPC’s generative AI principles say to avoid function creep, and to use personal information only for purposes identified at the time of collection or, where permissible, for purposes consistent with the purpose for collection. For developers and providers, the OPC also says to inform organizations using a system, and individuals interacting with it, about the primary purposes and any secondary purpose, such as where personal information collected from prompts is used for further training or refining of an AI model. The OPC’s principles on limiting use, disclosure and retention say to obtain fresh consent if you intend to use or disclose personal information for a new purpose.
For a buyer, this means looking at the purposes a dataset was collected for before asking whether it can train a model. Ask the seller to show the purposes and consents on record for each dataset.
Scraped data and appropriate purposes
PIPEDA s. 5(3) says an organization may collect, use or disclose personal information only for purposes that a reasonable person would consider are appropriate in the circumstances. The OPC’s generative AI principles say that any collection, use or disclosure of personal information associated with a generative AI system should be for appropriate purposes, and that in many Canadian jurisdictions this means purposes a reasonable person would consider appropriate in the circumstances.
The OPC’s principles define data scraping in a footnote as the automated extraction of data generally from one or more websites. The OPC says such scraping is common practice when training generative AI systems. It also says privacy authorities from countries around the world have recently called on organizations to exercise great caution before scraping “publicly accessible” personal information, which is still subject to data protection and privacy laws in most jurisdictions. It adds that organizations should avoid indiscriminate collection of personal information based on assertions about the breadth of potential purposes for a generative AI system.
The joint findings on Clearview AI by the Privacy Commissioner of Canada and provincial privacy commissioners (the offices) describe Clearview as scraping images of faces and associated data from publicly accessible online sources, including social media, and storing that information in its database. The offices determined that Clearview collected, used and disclosed the personal information of individuals in Canada for inappropriate purposes, which cannot be rendered appropriate via consent, and that it collected images in an unreasonable manner, via indiscriminate scraping of publicly accessible websites.
On s. 5(3), the findings say the courts have determined that the OPC is required to engage in a “balancing of interests” between the individual’s right to privacy and the commercial needs of the organization concerned. In the offices’ view, a reasonable person would not consider Clearview’s purpose to be appropriate, reasonable or legitimate in the circumstances, within the meaning of subsection 5(3) of PIPEDA. The offices did not opine on whether any contractual violations occurred, but said that to the extent Clearview scraped personal information in contravention of platforms’ contractual terms, it would be relevant as a further factor in considering the inappropriateness of Clearview’s purposes.
Ask a lawyer how the Clearview findings bear on any other scraped dataset. If a target’s training data was scraped, ask the seller where it came from and what the sources’ terms said.
Retention and destruction: what PIPEDA expects of datasets
The PIPEDA principles schedule says personal information shall be retained only as long as necessary for the fulfilment of the purposes, and that an organization may be subject to legislative requirements with respect to retention periods. It says organizations should develop guidelines and implement procedures for retention, and that these guidelines should include minimum and maximum retention periods. Personal information that is no longer required to fulfil the identified purposes should be destroyed, erased or made anonymous.
The OPC’s principle on limiting use, disclosure and retention says to keep personal information only as long as it is needed to serve its purposes. It says to put guidelines and procedures in place for retaining and destroying personal information. It says to dispose of personal information that does not have a specific purpose or no longer fulfills its intended purpose, and, if information is to be retained purely for statistical purposes, to employ effective techniques that would render it anonymous. It also says to know what personal information you have, where it is, and what you are doing with it.
For generative AI, the OPC says all parties should establish and abide by appropriate retention schedules for personal information, including that contained within training data, system prompts and outputs. The schedules should both limit retention for information that is no longer required and ensure information is retained long enough for individuals to exercise their right to access, particularly where a decision has been made about them. The PIPEDA principles schedule says personal information that has been used to make a decision about an individual shall be retained long enough to allow the individual access to it after the decision has been made.
The OPC also says to use anonymized, synthetic or de-identified data rather than personal information where personal information is not required to fulfil the identified appropriate purposes. It says the collection and use of personal information for training AI tools should be limited to what is necessary for the purpose, using anonymized or de-identified data where possible. For developers and providers, it says to use, where possible and appropriate, a filter or other process to remove personal information from datasets in advance of using them for training.
Sharing datasets with a buyer before closing
Under PIPEDA s. 7.2(1), organizations that are parties to a prospective business transaction may use and disclose personal information without the knowledge or consent of the individual if the organizations have entered into an agreement that requires the organization receiving the information to meet the section’s terms. Among them, the agreement must require the recipient to use and disclose the information solely for purposes related to the transaction and to protect it by security safeguards appropriate to the sensitivity of the information. It must also require the recipient, if the transaction does not proceed, to return the information to the organization that disclosed it, or destroy it, within a reasonable time.
Section 7.2(1) has a second part: the personal information must be necessary to determine whether to proceed with the transaction and, if the determination is made to proceed, to complete it.
Under s. 7.2(4), subsections (1) and (2) do not apply to a business transaction of which the primary purpose or result is the purchase, sale or other acquisition or disposition, or lease, of personal information. Whether a deal for a dataset falls on that side of the line is a question for a lawyer.
After closing: continuing to use the data
Under PIPEDA s. 7.2(2), if the business transaction is completed, organizations that are parties to the transaction may use and disclose personal information that was disclosed under subsection (1) without the knowledge or consent of the individual, in addition to the circumstances set out in subsections 7(2) and (3), for the purpose of clause 4.3 of Schedule 1. The agreement must require each of them to use and disclose the information under its control solely for the purposes for which it was collected, or permitted to be used or disclosed, before the transaction was completed, to protect it by security safeguards appropriate to its sensitivity, and to give effect to any withdrawal of consent made under clause 4.3.8 of Schedule 1.
The personal information must also be necessary for carrying on the business or activity that was the object of the transaction. One of the parties must notify the individual, within a reasonable time after the transaction is completed, that the transaction has been completed and that their personal information has been disclosed under subsection (1).
For training data, the practical point sits in the agreement’s wording: s. 7.2(2) ties use after closing to the purposes for which the information was collected or permitted to be used or disclosed before the transaction was completed. Whether using inherited data to train a new model fits within those purposes depends on what those purposes were, so ask a lawyer to read the purposes against the buyer’s plans.
PIPEDA s. 7.2: before and after closing
| Stage | The agreement must require | The information must be |
|---|---|---|
| Before closing (s. 7.2(1)) | Use and disclosure solely for purposes related to the transaction; security safeguards appropriate to the sensitivity; return or destruction within a reasonable time if the transaction does not proceed | Necessary to determine whether to proceed with the transaction and, if so, to complete it |
| After closing (s. 7.2(2)) | Use and disclosure solely for the purposes for which the information was collected, permitted to be used or disclosed before completion, with security safeguards appropriate to the sensitivity; giving effect to any withdrawal of consent under clause 4.3.8 of Schedule 1 | Necessary for carrying on the business or activity that was the object of the transaction |
The government’s voluntary code for generative AI developers
Innovation, Science and Economic Development Canada (ISED) has published a voluntary code for developers and managers of advanced generative AI systems. The code says it does not in any way change existing legal obligations that organizations may have, for example under PIPEDA.
Among the measures the code lists, which include additional measures for systems made widely available for use, the code includes publishing a description of the types of training data used to develop the system. It also includes assessing and curating datasets used for training to manage data quality and potential biases. The OPC’s principles go further on documentation: they say developers and providers should maintain and publish documentation about the datasets, including the sources, the legal authority for collection and use, any licensing agreements or other restrictions on acceptable uses, and any modification, filtering or other curation practices.
The OPC says, for developers, that fairness when developing a generative AI system means evaluating training datasets to ensure they do not replicate, entrench or amplify historical or present biases, or introduce new ones. It also says developers and providers should ensure personal information used to train their models is as accurate as necessary for the purposes.
Records a buyer can ask for on each dataset
The duties above point to a short set of records a buyer can ask the seller to produce for each dataset used to train a model. Each item below rests on a rule described earlier in this guide.
- The sources of the dataset, which the OPC says developers and providers should document and publish.
- The legal authority for collecting and using it, which the OPC says organizations should know and document.
- The purposes identified at collection, and the record of purposes and consents obtained, which the OPC says to keep.
- Any new purpose, such as training, and its documentation, because the PIPEDA principles schedule says organizations using personal information for a new purpose shall document it.
- Any licensing agreements or other restrictions on the acceptable uses of the dataset, which the OPC says should be documented.
- The retention schedule and the retention and destruction procedures, which the OPC says to establish and put in place.
- Any modification, filtering or other curation applied, which the OPC says developers and providers should document.
Where a record does not exist, the buyer’s lawyer is the person to say what that means for the deal. For the general data-room routine, see the data room preparation checklist, and for the privacy terms in a seller’s own records, see PIPEDA.
Questions to ask before you buy
- Which datasets were used to train or refine each model, and does any of them contain personal information?
- For each dataset, what were the purposes when the information was collected, and what consents are on record?
- Was any of the data scraped, and if so, from where and under what terms?
- Which retention schedule does the target keep for its training data, prompts and outputs, and is it followed?
- Is there a written agreement for sharing personal information during due diligence, and what does it say about return or destruction if the deal does not close?
- After closing, do the buyer’s plans for the data fit the purposes it was collected for, and who will notify the individuals?
- Does the target publish documentation about its datasets, and does it match what the seller shows you?
Questions people ask
Short answers; each links to the full page.
- Which privacy law applies to employee information shared during due diligence?
- PIPEDA’s employee-information rule covers only federal works, undertakings and businesses, so other sellers should check provincial privacy law. Where PIPEDA applies, parties to a prospective sale may share personal information without the individual’s knowledge or consent if their agreement limits use, requires safeguards and return or destruction if the deal fails, and the information is necessary. Full answer
- What IT and data-security questions can a buyer ask before acquiring a small business?
- Ask about backups and recovery, a written incident response plan, who holds administrator and cloud-account access, patching, and how outside IT providers handle sensitive data. The Canadian Centre for Cyber Security’s baseline controls give a question list; they are recommendations, not a pass-or-fail test. Full answer
- Do I have to tell customers their personal information went to the buyer when I sell my business?
- Under PIPEDA s.7.2(2), the parties to a completed business transaction may use and disclose customer information without the customer’s knowledge or consent if conditions (a), (b) and (c) are met. Condition (c) is that one of the parties notifies the individual, within a reasonable time after completion, that the transaction is complete and their information was disclosed. Full answer
Related reading
14 pages on the same subject, grouped by topic.
Legal
Due diligence
Sources
Every requirement and figure referenced in this guide traces to a primary source. Links were last confirmed on the dates shown.
- 01Office of the Privacy Commissioner of CanadaRegulatorPrinciples for responsible, trustworthy and privacy-protective generative AI technologies
- 02Office of the Privacy Commissioner of CanadaRegulatorPIPEDA Fair Information Principle 2 – Identifying Purposes
- 03Government of Canada (Department of Justice)GovernmentPersonal Information Protection and Electronic Documents Act, S.C. 2000, c. 5
- 04Office of the Privacy Commissioner of CanadaRegulatorPIPEDA Fair Information Principle 5 – Limiting Use, Disclosure, and Retention
- 05Government of Canada (Justice Laws Website)GovernmentPersonal Information Protection and Electronic Documents Act — prospective business transactions
- 06Office of the Privacy Commissioner of CanadaRegulatorPIPEDA Findings #2021-001: Joint investigation of Clearview AI, Inc. by the Office of the Privacy Commissioner of Canada and provincial commissioners
- 07Innovation, Science and Economic Development CanadaGovernmentVoluntary Code of Conduct on the Responsible Development and Management of Advanced Generative AI Systems
Deavo is an advertising and listings platform, not a brokerage, law firm or valuation firm. This page is general information, not legal, tax, accounting or valuation advice, and rules differ by province. Confirm anything you rely on with a qualified professional before you act on it.