# US 2026/0065071 A1 · Systems and methods for attribution in machine learning

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

- Number: US 2026/0065071 A1
- Document ID: US20260065071A1
- Status: Published application
- Kind: A1
- Application number: 19/303,418
- Filed: 2025-08-19
- Published: 2026-03-05
- Earliest claimed: 2024-08-29
- Assignees: Fujitsu Limited; B.G. Negev Technologies and Applications Ltd.
- Applicants: Fujitsu Limited; B.G. Negev Technologies and Applications Ltd.
- Inventors: Jonathan BROKMAN; Omer HOFMAN; Roman VAINSHTEIN; Amit GILONI; Toshiya SHIMIZU; Inderjeet SINGH; Oren RACHMIL; Alon ZOLFI; Asaf SHABTAI; Yuki FUJISHIMA; Hisashi KOJIMA
- Web page: https://patentgrep.com/patent/US20260065071A1

## CPC

- G06N 3/096: Transfer learning
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- G06N 5/045: Explanation of inference; Explainable artificial intelligence [XAI]; Interpretable artificial intelligence
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computer-implemented method of training a machine learning attribution model configured to provide data attribution to an output generation of a generative artificial intelligence (AI) model, comprising: determining changes in the generative AI model during a training process; aggregating the changes into an attribution table; and training the attribution model comprising inputting data from the attribution table into the attribution model.

## Claims

### Claim 1

A computer-implemented method of training a machine learning attribution model configured to provide data attribution to an output generation of a generative artificial intelligence (AI) model, comprising:
determining changes in the generative AI model during a training process;
aggregating the changes into an attribution table; and
training the attribution model comprising inputting data from the attribution table into the attribution model.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the training process is a fine-tuning process.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein determining the changes comprises determining the changes in internal representations in the generative AI model whilst training data is input into and processed by the generative AI model during the training process.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein determining the changes in internal representations of the generative AI model during the training process comprises, at the same time as performing the training process:
inputting prompt concepts into the generative AI model configured to cause the generative AI model to generate output generations; and
determining the changes in internal representations of the prompt concepts.

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, wherein the generative AI model is a diffusion model.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the diffusion model is an image-to-text diffusion model.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the training process comprises inputting fine-tuning data as the training data into the diffusion model, the fine-tuning data comprising image-concept pairs, each image-concept pair comprising a fine-tuning image and an associated concept comprising a text description related to the visual content of the image.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein determining the changes in internal representations of the diffusion model during the training process comprises, at the same time as performing the training process:
inputting prompt concepts into the diffusion model configured to cause the diffusion model to generate output generated images; and
determining the changes in internal representations of the prompt concepts.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the internal representation comprises a vector representation of the prompt concept in a cross-attention layer of the diffusion model.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein the internal representation comprises the value tensor of the cross-attention layer.

### Claim 11 (depends on 8)

The computer-implemented method of any one of claim 8, wherein the data attribution table comprises a data structure associating, for each output generated image generated by the prompt concept, an attribution score providing a numerical quantification of the contribution of each fine-tuning image to the output generated image, wherein the attribution score is based on the determined changes in the internal representation of the prompt concept.

### Claim 12 (depends on 11)

The computer-implemented method of the claim 11, wherein the rows of the data attribution table relate to the fine-tuning images, and the columns of the data attribution table relate to the output generated images.

### Claim 13 (depends on 12)

The computer-implemented method of the claim 12, wherein the data attribution table is such that the fine-tuning images are ordered and grouped by the concept taken from the associated concept of the particular image-concept pair, and wherein the output generated images are ordered and grouped by the prompt concept.

### Claim 14 (depends on 11)

The computer-implemented method of any one of claim 11, wherein the training the attribution model further comprises:
inputting, into the data attribution model, image pairs from the data attribution table, the image pairs comprising a fine-tuning image and an output generated image, and for each image pair;
creating, in an image embedding space, a fine-tuning image embedding of the fine-tuning image;
creating, in the image embedding space, an output generated image embedding of the output generated image;
performing a comparison of the fine-tuning image embedding to the output generated image embedding; and
determining, based on the comparison, a predicted attribution score providing a predicted numerical quantification of the contribution of the fine-tuning image to the output generated image.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising training the attribution model to distinguish between conceptually similar and conceptually distinct pairs of image pairs, comprising for a pair of image pairs:
determining a first predicted attribution score for a first image pair, the first image pair being a positive image pair comprising a fine-tuning image and an output generated image which are conceptually similar; and
determining a second predicted attribution score for a second image pair, the second image pair being a negative image pair comprising a fine-tuning image and an output generated image which are conceptually different.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, further comprising, for all pairs of image pairs in the data attribution table:
adjusting network weights of the attribution model based on minimizing a loss function, the loss function being:
=
L
1
(
P
ap
,
GT
ap
)
+
L
1
(
P
ap
,
GT
np
)
+
1
B
⁢
∑
i
=
1
B
max
⁢
(
P
npi
+
m
i
-
P
api
,
0
)
where:
L1 is the L1 loss function, the mean absolute error;
Pap is the predicted attribution score of the positive image pair;
P1p is the predicted attribution score of the negative image pair;
GTap is the attribution score from the data attribution table of the positive image pair;
GTnp is the attribution score from the data attribution table of the negative image pair;
B is the number of fine-tuning images in the data attribution table;
Pnpi is the ith entry of Pap
Papi is the ith entry of Pnp
mi is the margin derived from the difference between the attribution score of the positive image pair and the attribution score of the negative image pair mi=GTapi−GTnpi.

### Claim 17 (depends on 14)

The computer-implemented method of any one of claim 14, wherein proximity in the image embedding space corresponds to conceptual similarity.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, wherein the predicted attribution is determined based on the shifted cosine similarity between the fine-tune image embeddings and the output generated image embeddings in the image embedding space.

### Claim 19 (depends on 1)

A computer implemented method of performing data attribution using an attribution model trained in accordance with claim 1, comprising:
selecting a generated output as generated by the generative AI model;
inputting the generated output into the data attribution model; and
outputting, from the data attribution model, a data attribution score relating to at least one training input on which the generative AI model was trained, the data attribution score providing a numerical quantification of the contribution of the at least one training input to the generated output.

### Claim 20

A computer program which, when run on a computer, causes the computer to carry out a method of training a machine learning attribution model configured to provide data attribution to an output generation of a generative artificial intelligence (AI) model, comprising:
determining changes in the generative AI model during a training process;
aggregating the changes into an attribution table; and
training the attribution model comprising inputting data from the attribution table into the attribution model.
