Faithful and efficient sample-based model explanations

US12423614B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12423614-B2
Application numberUS-202117334889-A
CountryUS
Kind codeB2
Filing dateMay 31, 2021
Priority dateMay 31, 2021
Publication dateSep 23, 2025
Grant dateSep 23, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Hessian matrix-free sample-based techniques for model explanations that are faithful to the model are provided. In one aspect, a method for explaining a machine learning model {circumflex over (θ)} (e.g., for natural language processing) is provided. The method includes: training the machine learning model {circumflex over (θ)} with training data D; obtaining a decision of the machine learning model {circumflex over (θ)}; and explaining the decision of the machine learning model {circumflex over (θ)} using training examples from the training data D.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for explaining a machine learning model {circumflex over (θ)}, the method comprising: training the machine learning model {circumflex over (θ)} with training data D; obtaining a decision of the machine learning model {circumflex over (θ)}; computing a set of faithful variants {{circumflex over (θ)} i } of the machine learning model {circumflex over (θ)} using the training data D by: randomly selecting batches B of the training data D; calculating, for each batch B i a gradient g (B i |{circumflex over (θ)}); and computing the set of faithful variants {{circumflex over (θ)} i } of the machine learning model {circumflex over (θ)} using the gradient g(B i |{circumflex over (θ)}) for each batch B i as {circumflex over (θ)} i ={circumflex over (θ)}+η i g(B i |{circumflex over (θ)}), wherein η i is an i-specific weighting parameter; and explaining the decision of the machine learning model {circumflex over (θ)} using a set of training examples from the set of faithful variants {{circumflex over (θ)} i } such that the decision is explained by a sum of influences of the set of faithful variants {{circumflex over (θ)} i }. 2. The method of claim 1 , wherein the machine learning model {circumflex over (θ)} is used for natural language processing. 3. The method of claim 1 , wherein explaining the decision of the machine learning model {circumflex over (θ)} comprises: explaining a test example z′ with the training examples from the set of faithful variants {{circumflex over (θ)} i }. 4. The method of claim 3 , further comprising: calculating importance scores for the training examples from the set of faithful variants {{circumflex over (θ)} i }; ranking the importance scores to create a ranked list of the training examples; and providing the ranked list of the training examples as an explanation of the test example z′. 5. The method of claim 4 , wherein calculating the importance scores for the training examples comprises: calculating an importance score TracInF (z,z′) for a training example z; and repeating the calculating for all of the training examples. 6. The method of claim 5 , wherein the importance score TracInF (z,z′) is calculated as a sum of a product of two loss L functions, one for the training example z, and another for the test example z′. 7. The method of claim 5 , further comprising: calculating the importance score TracInF (z,z′) as: TracInF ⁡ ( z , z ′ ) = ∑ i ∇ θ ^ + δ i L ( θ ^ + δ i , z ) ⁢ ∇ θ ^ + δ i L ( θ ^ + δ i , z ′ ) , wherein δ i =η i g(z i |{circumflex over (θ)}) for loss function L, wherein z i is a given training example, and wherein η i is an i-specific weighting parameter. 8. A method for explaining a machine learning model {circumflex over (θ)}, the method comprising: training the machine learning model {circumflex over (θ)} with training data D; obtaining a decision of the machine learning model {circumflex over (θ)} on a test example z′; explaining the decision of the machine learning model {circumflex over (θ)} using training examples from randomly selected batches of the training data D; calculating individual importance scores TracInF (z,z′) for the training examples of the randomly selected batches, respectively, as: TracInF ⁡ ( z , z ′ ) = ∑ i ∇ θ ^ + δ i L ( θ ^ + δ i , z ) ⁢ ∇ θ ^

Assignees

Inventors

Classifications

  • Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30) · CPC title

  • Weakly supervised learning, e.g. semi-supervised or self-supervised learning · CPC title

  • Adversarial learning · CPC title

  • Auto-encoder networks; Encoder-decoder networks · CPC title

  • Natural language analysis (semantic analysis of natural language G06F40/30) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12423614B2 cover?
Hessian matrix-free sample-based techniques for model explanations that are faithful to the model are provided. In one aspect, a method for explaining a machine learning model {circumflex over (θ)} (e.g., for natural language processing) is provided. The method includes: training the machine learning model {circumflex over (θ)} with training data D; obtaining a decision of the machine learning …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06N20/00. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 23 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).