Sharded Machine Forgetting for User Data Deletion in the Ad Ranking Model Training Pipeline
This paper proposes a SISA-based sharded forgetting framework for advertising ranking models that partitions data into time-segmented shards to enable efficient, localized retraining upon user deletion requests, achieving a 95.2% reduction in computational cost and rapid model updates while maintaining high accuracy and effectively removing deleted user data from the model's influence.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the digital age, online advertising relies on a constant stream of personal data. Every time a user clicks a banner or watches a video, that action is recorded and fed into complex computer systems designed to predict what that person might want to see next. These systems, known as ranking models, are trained on massive datasets containing billions of these interactions. However, as privacy laws have tightened around the world, users now have the right to ask for their data to be deleted. This creates a difficult engineering problem. Simply erasing a user's name from a database does not erase the knowledge the computer model has already learned from their behavior. To truly respect a deletion request, the model itself must be retrained without that specific person's data. The traditional way to do this is to wipe the entire model and start over from scratch, a process that is incredibly slow, expensive, and disruptive to the services people use every day.
Researchers Que Yang, Yukun Du, and Yuang Hu have proposed a new way to handle this challenge, specifically for the systems that decide which ads to show. Instead of rebuilding the entire brain of the advertising system every time a single user asks to be forgotten, they developed a method that breaks the training process into smaller, manageable pieces. Imagine the training data as a massive library of books. In the old approach, if one book needed to be removed, the entire library would be closed, and every single book would be re-read and re-cataloged. The new method, which the authors call "sharded machine forgetting," divides the library into thirty-two separate sections. Each section is trained independently. When a user requests deletion, the system identifies exactly which section contains that user's data and only re-trains that specific section, leaving the other thirty-one sections untouched. This allows the system to update itself quickly and efficiently without shutting down the service.
The researchers tested this approach using real-world data from two sources: a massive collection of forty million ad clicks and a dataset of twenty-five million movie ratings from over one hundred sixty thousand users. They simulated deletion requests at a rate of five hundredths of a percent of users per day, a realistic scenario for a large platform. The results showed a dramatic improvement in efficiency. In the traditional method of full retraining, updating the model for a batch of deletion requests took six point four hours of computing power on specialized graphics processors. With the new sharded method, that same task required only zero point three one hours, a reduction in effort of ninety-five point two percent. Furthermore, the time it took to go from a user's request to a fully updated model dropped from seven days down to just three point two hours. This speed is critical for meeting legal requirements that often mandate a response within a month.
Beyond speed and cost, the researchers had to ensure that the new method did not hurt the quality of the ads shown to users. They measured this using a standard score called the Area Under the Curve, which indicates how well the model predicts what a user will click on. The fully retrained model achieved a score of zero point seven eight five three. The new sharded method scored zero point seven eight two one. While this is a tiny decrease, it represents a very small trade-off for the massive gain in efficiency. The researchers also used a statistical test to confirm that the predictions for users who did not request deletion remained virtually identical to the old system. The difference in predicted scores was so small that it fell well within a range of plus or minus zero point zero zero two, proving that the vast majority of users would not notice any change in the ads they see.
Perhaps the most important test was whether the method actually removed the user's data from the model's memory. To check this, the team used a technique called a membership inference attack, which tries to guess if a specific person was part of the training data. If the model still "remembers" a deleted user, this attack would succeed more often than chance. For the users who were deleted using the new sharded method, the attack succeeded only zero point one one percent of the time. This is nearly identical to the zero point one percent success rate for people who were never in the training data at all. In contrast, a different, older method of trying to forget data, which involves mathematically pushing the model to unlearn information, failed significantly, with the attack succeeding one point nine percent of the time. This suggests that the new sharded approach effectively removes the user's influence, whereas the older method leaves a detectable trace.
The study also explored how changing the number of sections affected the system. They tested configurations with eight, sixteen, thirty-two, and sixty-four sections. They found that while increasing the number of sections further reduced the cost of retraining, it also caused the prediction accuracy to drop more noticeably. With sixty-four sections, the loss in accuracy was nearly six times greater than with thirty-two sections. The researchers concluded that thirty-two sections offered the best balance, providing a massive reduction in cost and time while keeping the drop in accuracy to a negligible level. This work demonstrates that it is possible to build advertising systems that respect user privacy without sacrificing performance or incurring prohibitive costs. By breaking the problem into smaller, independent pieces, the researchers have shown a practical path forward for the industry to comply with data deletion laws while keeping services running smoothly.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.