# US 2025/0165863 A1 · Systems and methods for machine unlearning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0165863 A1
- Document ID: US20250165863A1
- Status: Published application
- Kind: A1
- Application number: 18/947,994
- Filed: 2024-11-14
- Published: 2025-05-22
- Earliest claimed: 2023-11-16
- Applicants: Jpmorgan Chase Bank, N.A.
- Inventors: Jialei SHI; Konstantinos GOURGOULIAS; Sean MORAN; Najah GHALYAN; John BUFORD; Leandro RIOS
- Web page: https://patentgrep.com/patent/US20250165863A1

## CPC

- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method may include: receiving a set of retain samples comprising retain features to retain in a pretrained machine learning model, and a set of forget samples comprising forget features to remove from the pretrained machine learning model; providing the set of retain samples to the pretrained machine learning model resulting in a retain output and the set of forget samples to the pretrained machine learning model, resulting in a forget output; generating a set of retain weights and a set of forget weights based on the retain output and the forget output; freezing the set of retain weights; setting each forget weight to an initial state; executing a training epoch using the pretrained machine learning model and the retain samples that retrains the forget weights using the retain samples; combining the retrained forget weights with the retained weights to form an unlearned machine learning model.

## Claims

### Claim 1

A method comprising:
receiving, by a computer program executed by a computer processor, a set of retain samples comprising a plurality of retain features to retain in a pretrained machine learning model, and a set of forget samples comprising a plurality of forget features to remove from the pretrained machine learning model;
providing, by the computer program, the set of retain samples to the pretrained machine learning model, wherein the pretrained machine learning model generates a retain output;
providing, by the computer program, the set of forget samples to the pretrained machine learning model, wherein the pretrained machine learning model generates a forget output;
generating, by the computer program and using an influence function, a set of retain weights and a set of forget weights based on the retain output and the forget output;
freezing, by the computer program, the set of retain weights;
setting, by the computer program, each forget weight to an initial state;
executing, by the computer program, a training epoch using the pretrained machine learning model and the retain samples, wherein the training epoch retrains the forget weights using the retain samples;
combining, by the computer program, the retrained forget weights with the retained weights to form an unlearned machine learning model; and
deploying the unlearned machine learning model.

### Claim 2 (depends on 1)

The method of claim 1, wherein the retain weights are identified as contributing to the retain output; and the forget weights are identified as contributing to the forget output.

### Claim 3 (depends on 1)

The method of claim 1, wherein the influence function computes a computational efficient estimation using Stochastic Estimation, a Conjugate Gradient Method, Hessian-vector products, or a Fisher Information Matrix.

### Claim 4 (depends on 1)

The method of claim 1, wherein a number of forget weights to be set to the initial state is based on a threshold hyperparameter.

### Claim 5 (depends on 4)

The method of claim 4, wherein the threshold hyperparameter is selected based on a heuristic, a statistical metric, or a grid search.

### Claim 6 (depends on 4)

The method of claim 4, wherein the threshold hyperparameter is selected to maximize or minimize a statistical measure between weight pairs.

### Claim 7 (depends on 6)

The method of claim 6, where the statistical measure comprises a Kullback-Leibler divergence, a mean squared error, or a root mean squared error.

### Claim 8 (depends on 1)

The method of claim 1, wherein the initial state comprises a value of 0.

### Claim 9 (depends on 1)

The method of claim 1, wherein the initial state comprises a pretraining state for the pretrained machine learning model.

### Claim 10 (depends on 1)

The method of claim 1, wherein the initial state comprises a normal distribution.

### Claim 11

A non-transitory computer readable storage medium, including instructions stored thereon, which when read and executed by one or more computer processors, cause the one or more computer processors to perform steps comprising:
receiving a set of retain samples comprising a plurality of retain features to retain in a pretrained machine learning model, and a set of forget samples comprising a plurality of forget features to remove from the pretrained machine learning model;
providing the set of retain samples to the pretrained machine learning model, wherein the pretrained machine learning model generates a retain output;
providing the set of forget samples to the pretrained machine learning model, wherein the pretrained machine learning model generates a forget output;
generating, using an influence function, a set of retain weights and a set of forget weights based on the retain output and the forget output;
freezing the set of retain weights;
setting each forget weight to an initial state;
executing a training epoch using the pretrained machine learning model and the retain samples, wherein the training epoch retrains the forget weights using the retain samples;
combining the retrained forget weights with the retained weights to form an unlearned machine learning model; and
deploying the unlearned machine learning model.

### Claim 12 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the retain weights are identified as contributing to the retain output; and the forget weights are identified as contributing to the forget output.

### Claim 13 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the influence function computes a computational efficient estimation using Stochastic Estimation, a Conjugate Gradient Method, Hessian-vector products, or a Fisher Information Matrix.

### Claim 14 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein a number of forget weights to be set to the initial state is based on a threshold hyperparameter.

### Claim 15 (depends on 14)

The non-transitory computer readable storage medium of claim 14, wherein the threshold hyperparameter is selected based on a heuristic, a statistical metric, or a grid search.

### Claim 16 (depends on 14)

The non-transitory computer readable storage medium of claim 14, wherein the threshold hyperparameter is selected to maximize or minimize a statistical measure between weight pairs.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium of claim 16, where the statistical measure comprises a Kullback-Leibler divergence, a mean squared error, or a root mean squared error.

### Claim 18 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the initial state comprises a value of 0.

### Claim 19 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the initial state comprises a pretraining state for the pretrained machine learning model.

### Claim 20 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the initial state comprises a normal distribution.
