# US 2025/0148369 A1 · Introducing jitter to train and/or assess the stability of a machine learning model

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

- Number: US 2025/0148369 A1
- Document ID: US20250148369A1
- Status: Published application
- Kind: A1
- Application number: 18/932,951
- Filed: 2024-10-31
- Published: 2025-05-08
- Earliest claimed: 2023-11-07
- Assignees: Senseonics, Incorporated
- Applicants: Senseonics, Incorporated
- Inventors: Chad Michael Hicks
- Web page: https://patentgrep.com/patent/US20250148369A1

## CPC

- G06N 20/00: Machine learning
- G06N 7/00: Computing arrangements based on specific mathematical models
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems, apparatuses, and methods for training and/or assessing the stability of a machine learning (ML) model. Training and/or assessing the stability may include, for each input sample n of N input samples, for each perturbation q of Q perturbations: determining a perturbed input sample nq by perturbing the input sample n and using the ML model to obtain a perturbed output yqn based on the perturbed input sample nq. Training and/or assessing the stability may include, for each input sample n of the N input samples, aggregating the perturbed outputs yqn to obtain an aggregate perturbed output yn of the Q perturbations for the input sample n. Training the ML model may include updating one or more parameters of the ML model based on at least the aggregate perturbed outputs yn. Assessing the stability may include aggregating the aggregate perturbed outputs yn (or relative output variations ynrel).

## Claims

### Claim 1

A method comprising:
for each input sample n of N input samples:
for each perturbation q of Q perturbations:
determining a perturbed input sample nq by perturbing the input sample n; and
using a machine learning (ML) model to obtain a perturbed output yqn based on the perturbed input sample nq; and
aggregating the perturbed outputs yqn of the Q perturbations to obtain an aggregate perturbed output yn of the Q perturbations for the input sample n;
wherein N is an integer greater than 1, and Q is an integer greater than or equal to 1.

### Claim 2 (depends on 1)

The method of claim 1, further comprising adjusting the ML model based on the aggregate perturbed outputs yn for the N input samples.

### Claim 3 (depends on 2)

The method of claim 2, wherein adjusting the ML model based on the aggregate perturbed outputs yn for the N input samples comprises:
determining, for each input sample n of the N input samples, a gradient and a Hessian of the aggregate perturbed output yn of the Q perturbations for the input sample n; and
adjusting the ML model based on the gradients and Hessians.

### Claim 4 (depends on 3)

The method of claim 3, wherein adjusting the ML model based on the gradients and Hessians comprises for each input sample n of the N input samples:
combining the gradient and the Hessian of the aggregate perturbed output yn of the Q perturbations for the input sample n with a gradient and Hessian, respectively, of a performance-based loss function to create an overall loss function;
using an optimization algorithm to determine parameters of the ML model the minimize the overall loss function; and
adjusting the ML model to have the determined parameters of the ML model.

### Claim 5 (depends on 3)

The method of claim 3, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a mean yn of the perturbed outputs yqn of the Q perturbations.

### Claim 6 (depends on 3)

The method of claim 3, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a standard deviation of the perturbed outputs yqn of the Q perturbations for the input sample n, and the aggregate perturbed output yn of the Q perturbations for the input sample n is the standard deviation.

### Claim 7 (depends on 3)

The method of claim 3, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a variance of the perturbed outputs yqn of the Q perturbations for the input sample n, and the aggregate perturbed output yn of the Q perturbations for the input sample n is the variance.

### Claim 8 (depends on 7)

The method of claim 7, wherein the variance v of the perturbed outputs yqn of the Q perturbations for the input sample n is calculated as
∑
(
y
qn
-
y
n
_
)
2
Q
-
1
.

### Claim 9 (depends on 8)

The method of claim 8, wherein the gradient of the aggregate perturbed output yn of the Q perturbations for the input sample n is calculated as
∂
v
∂
y
qn
=
2
⁢
∑
q
⁢
(
y
qn
-
y
n
_
)
Q
-
1
.

### Claim 10 (depends on 8)

The method of claim 8, wherein the gradient of the aggregate perturbed output yn of the Q perturbations for the input sample n is calculated as
∂
v
∂
y
qn
=
2
⁢
∑
q
⁢
(
❘
"\[LeftBracketingBar]"
y
qn
-
y
n
_
❘
"\[RightBracketingBar]"
)
Q
-
1
.

### Claim 11 (depends on 8)

The method of claim 8, wherein the gradient of the aggregate perturbed output yn of the Q perturbations for the input sample n is calculated in polar coordinates, and the phase information is discarded.

### Claim 12 (depends on 9)

The method of claim 9, wherein the Hessian of the aggregate perturbed output yn of the Q perturbations for the input sample n is calculated as
∂
2
v
∂
2
y
qn
=
2
⁢
Q
Q
-
1
.

### Claim 13 (depends on 1)

The method of claim 1, further comprising aggregating the aggregate perturbed outputs yn for the N input samples to determine an estimate of the stability of the ML model.

### Claim 14 (depends on 13)

The method of claim 13, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a mean yn of the perturbed outputs yqn of the Q perturbations for the input sample n.

### Claim 15 (depends on 13)

The method of claim 13, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a standard deviation of the perturbed outputs yqn of the Q perturbations for the input sample n, and the aggregate perturbed output yn of the Q perturbations for the input sample n is the standard deviation of the perturbed outputs yqn of the Q perturbations for the input sample n.

### Claim 16 (depends on 13)

The method of claim 13, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a variance v of the perturbed outputs yqn of the Q perturbations for the input sample n, and the aggregate perturbed output yn of the Q perturbations for the input sample n is the variance v of the perturbed outputs yqn of the Q perturbations for the input sample n.

### Claim 17 (depends on 16)

The method of claim 16, wherein the variance v of the perturbed outputs yqn of the Q perturbations for the input sample n is calculated as
∑
(
y
qn
-
y
n
_
)
2
Q
-
1
.

### Claim 18 (depends on 13)

The method of claim 13, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a maximum output of the perturbed outputs yqn of the Q perturbations for the input sample n, and the aggregate perturbed output yn of the Q perturbations for the input sample n is the maximum output of the perturbed outputs yqn of the Q perturbations for the input sample n.

### Claim 19 (depends on 13)

The method of claim 13, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a minimum output of the perturbed outputs yqn of the Q perturbations for the input sample n, and the aggregate perturbed output yn of the Q perturbations for the input sample n is the minimum output of the perturbed outputs yqn of the Q perturbations for the input sample n.

### Claim 20 (depends on 13)

The method of claim 13, wherein aggregating the perturbed outputs yqn of the Q perturbations for the input sample n comprises determining a median of the perturbed outputs yqn of the Q perturbations for the input sample n.

### Claim 21 (depends on 1)

The method of claim 1, further comprising, for each input sample n of the N input samples, determining a relative perturbed output ynrel based on the aggregate perturbed output yn of the Q perturbations for the input sample n.

### Claim 22 (depends on 21)

The method of claim 21, wherein the relative perturbed output ynrel is determined as yn/Δy, where Δy is the difference between the largest output of the ML model and the smallest output of the ML model.

### Claim 23 (depends on 21)

The method of claim 21, further comprising aggregating the relative perturbed outputs to determine an estimate of the stability of the ML model.

### Claim 24 (depends on 1)

The method of claim 1, wherein perturbing the input sample n to determine the perturbed input sample nq comprises, for each feature m of M features of the input sample n:
determining a perturbation within an input sample feature perturbation range sm for the feature m; and
applying the perturbation on the feature m of the input sample n to obtain a perturbed input sample feature mq;
wherein the perturbed input sample nq comprises the perturbed input sample features mq, and M is an integer greater than or equal to 1.

### Claim 25 (depends on 24)

The method of claim 24, wherein the perturbation within the input sample feature perturbation range sm for the feature m is determined using a sampling scheme.

### Claim 26 (depends on 24)

The method of claim 24, further comprising determining the input sample feature perturbation range sm for the feature m.

### Claim 27 (depends on 26)

The method of claim 26, wherein determining the input sample feature perturbation range sm for the feature m comprises multiplying a feature value range Δm for the feature m of the input sample by a fractional perturbation size S.

### Claim 28

An apparatus configured to:
for each input sample n of N input samples:
for each perturbation q of Q perturbations:
determine a perturbed input sample nq by perturbing the input sample n; and
use a machine learning (ML) model to obtain a perturbed output yqn based on the perturbed input sample nq; and
aggregate the perturbed outputs yqn of the Q perturbations to obtain an aggregate perturbed output yn of the Q perturbations for the input sample n;
wherein N is an integer greater than 1, and Q is an integer greater than or equal to 1.

### Claim 29 (depends on 28)

The apparatus of claim 28, wherein the apparatus is further configured to adjust the ML model based on the aggregate perturbed outputs yn for the N input samples.

### Claim 30 (depends on 28)

The apparatus of claim 28, wherein the apparatus is further configured to aggregate the aggregate perturbed outputs yn for the N input samples to determine an estimate of the stability of the ML model.

### Claim 31 (depends on 28)

The apparatus of claim 28, wherein the apparatus is further configured to, for each input sample n of the N input samples, determine a relative perturbed output ynrel based on the aggregate perturbed output yn of the Q perturbations for the input sample n.

### Claim 32 (depends on 31)

The apparatus of claim 31, wherein the apparatus is further configured to aggregate the relative perturbed outputs to determine an estimate of the stability of the ML model.

### Claim 33 (depends on 28)

The apparatus of claim 28, wherein the apparatus comprises processing circuitry and a memory, the memory includes instructions executable by the processing circuitry, whereby the apparatus is operative to perform the running, determining, and aggregating.
