When the Right to Erasure Applies
GDPR Article 17 gives individuals the right to obtain erasure of their personal data without undue delay when one of six grounds applies. The most common grounds for an AI product are: the personal data is no longer necessary for the purpose for which it was collected, the individual withdraws consent and there is no other lawful basis for processing, or the individual objects to processing based on legitimate interests and the organisation has no overriding grounds. The right is not absolute. It does not apply where processing is necessary for compliance with a legal obligation, for the establishment, exercise, or defence of legal claims, or for archiving purposes in the public interest. For AI products, the relevant exceptions are narrow. A backup retention policy does not automatically exempt data from erasure. A legitimate interest claim does not survive simply because deletion is inconvenient. The default position is that a valid erasure request must be acted on, and the burden of demonstrating an exception falls on the data controller, not the individual making the request.
The Database Deletion Problem
Erasure from relational databases is the most straightforward component of right to erasure compliance. The technical steps are identifiable: find all tables containing the user's personal data, delete or anonymise the relevant records, cascade deletions through foreign key relationships, purge soft-delete records from backup cycles within a reasonable window, and confirm deletion to the user. The implementation challenge is completeness. Personal data in a SaaS product tends to scatter across more tables than developers initially expect. User records, audit logs, event tables, analytics tables, email logs, support ticket records, billing records, and exported files all potentially contain personal data that must be addressed by an erasure request. Building a data map that traces where personal data flows within your product is a prerequisite for implementing reliable erasure. Without a data map, deletion requests will always be partially incomplete, which is a compliance risk.
Vector Databases and Prompt Logs
The hardest erasure problems in AI products involve vector stores and prompt logs. If your RAG system has indexed documents uploaded by or about a specific individual, you need to be able to identify and delete those vectors by user identifier. Most vector databases support filtered deletion by metadata field, which means you need to have stored a user identifier as document metadata from the moment you indexed the content. If you indexed documents without user-level metadata, retrospective deletion becomes very difficult. Prompt logs present a similar challenge. If your AI product logs conversation history for evaluation, debugging, or fine-tuning purposes, those logs may contain personal information the user included in their prompts. You need to be able to retrieve and delete all prompt logs associated with a specific user identifier. Log retention policies should define how long prompt logs are kept and include automated deletion at the end of the retention period. An erasure request should trigger immediate deletion of all logs attributable to the requesting user, not just waiting for the next scheduled purge.
Fine-Tuned Models and Training Data Deletion
The most technically intractable erasure problem in AI is the right to erasure applied to data that has been used to train or fine-tune a model. If a user's personal data was included in a fine-tuning dataset, deleting it from your systems does not remove the learned patterns from the model weights. Technically, it is currently not possible to surgically remove the influence of a specific training example from a trained model without retraining the model from scratch or from a checkpoint that predates inclusion of that data. The ICO has acknowledged this technical reality in its guidance on AI and data protection. The practical compliance position is that you should document the limitation, demonstrate that personal data cannot be extracted from the model in identifiable form, ensure the model does not reproduce personal data from training in its outputs, and delete the training data from your source systems. If you intend to fine-tune on personal data, conducting a DPIA before you start is strongly advisable, and your data retention policy for training data should be agreed before fine-tuning begins.
Building Erasure Into Your Architecture
The key to making right to erasure manageable is treating it as an architecture requirement from the first sprint rather than a compliance retrofit. Every table or collection that stores personal data should have a clear user identifier that enables filtering. Vector store document indexing should include a user or customer identifier in document metadata. Prompt logs should be keyed by user ID. Backup and archive cycles should have defined retention limits. Deletion request workflows should be defined in your product requirements, not added in response to a user complaint. A data map documenting every location where personal data is stored should be maintained as a living document updated whenever new data flows are introduced. When SpeedMVPs scopes AI products, data flow and erasure architecture are considered during discovery, ensuring the product is built with user data keyed and tracked in ways that make deletion requests technically executable.
Responding to Erasure Requests: Process and Timelines
Under UK GDPR and EU GDPR, organisations must respond to erasure requests without undue delay and within one month of receiving the request. The month can be extended by two further months in cases of complexity or multiple requests, but the individual must be informed of the extension within the first month. The response must either confirm that erasure has been completed or explain which exception applies and why. ICO enforcement of response timelines has been increasing, with fines and enforcement notices issued for failures to respond to data subject requests in time. Building an erasure request workflow into your product, even if it is initially handled manually by your team, is essential. As volume grows, automate the workflow. The response should be documented internally with a record of what data was deleted, what was retained and on what legal basis, and when the deletion occurred. This documentation is your evidence in the event of an ICO investigation.