Device and method for training a normalizing flow

US11961275B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11961275-B2
Application numberUS-202117402936-A
CountryUS
Kind codeB2
Filing dateAug 16, 2021
Priority dateSep 4, 2020
Publication dateApr 16, 2024
Grant dateApr 16, 2024

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.

A computer-implemented method for training a normalizing flow. The normalizing flow predicts a first density value based on a first input image. The first density value characterizes a likelihood of the first input image to occur. The first density value is predicted based on an intermediate output of a first convolutional layer of the normalizing flow. The intermediate output is determined based on a plurality of weights of the first convolutional layer. The method for training includes: determining a second input image; determining an output, wherein the output is determined by providing the second input image to the normalizing flow and providing an output of the normalizing flow as output; determining a second density value based on the output tensor and on the plurality of weights; determining a natural gradient of the plurality of weights with respect to the second density value; adapting the weights according to the natural gradient.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method for training a normalizing flow, wherein the normalizing flow is configured to predict a first density value based on a first input image, wherein the first density value characterizes a likelihood of the first input image to occur, wherein the first density value is predicted based on an intermediate output of a first convolutional layer of the normalizing flow, and wherein the intermediate output is determined based on a plurality of weights of the first convolutional layer, the method for training comprising the following steps: determining a second input image; determining an output tensor, wherein the output is determined by providing the second input image to the normalizing flow and providing an output of the normalizing flow as the output tensor; determining a second density value based on the output tensor and on the plurality of weights; determining a natural gradient of the plurality of weights with respect to the second density value; and adapting the plurality of weights according to the natural gradient; wherein the natural gradient is determined according to the formula: ∇ w (l) =δ l *( w (l) * T h (l) ) T +w (l) ·H l ·W l , wherein ∇ w (l) is the natural gradient, δ l is an error signal for the first convolutional layer, w (l) is the plurality of weights, H l is a height of a layer input of the first convolutional layer, W l is a width of the layer input, * denotes a convolution operation and * T denotes a transposed convolution operation. 2. A computer-implemented method for training an image classifier, wherein the image classifier is configured to determine an output signal characterizing a classification of a first input image, the method comprising the following steps: determining a training dataset, wherein the training dataset includes a plurality of second input images; training a normalizing flow using the training dataset, wherein the normalizing flow is configured to predict a first density value based on an input image, wherein the first density value characterizes a likelihood of the input image to occur, wherein the first density value is predicted based on an intermediate output of a first convolutional layer of the normalizing flow, and wherein the intermediate output is determined based on a plurality of weights of the first convolutional layer, the training of the normalizing flow including, for each second image of the second input images: determining an output tensor, wherein the output is determined by providing the second input image to the normalizing flow and providing an output of the normalizing flow as the output tensor, determining a second density value based on the output tensor and on the plurality of weights, determining a natural gradient of the plurality of weights with respect to the second density value, and adapting the plurality of weights according to the natural gradient; providing the trained normalizing flow to the image classifier; providing the image classifier as a trained image classifier; wherein the natural gradient is determined according to the formula: ∇ w (l) =δ l *( w (l) * T h (l) ) T +w (l) ·H l ·W l , wherein ∇ w (l) is the natural gradient, δ l is an error signal for the first convolutional layer, w (l) is the plurality of weights, H l is a height of a layer input of the first convolutional layer, W l is a width of the layer input, * denotes a convolution operation and * T denotes a transposed convolution operation. 3. The method according to claim 2 , wherein the training dataset further includes for each of the second input images a corresponding desired output signal, wherein the desired output signal characterizes a classification of the corresponding second input image, and the method further comprises the following steps: splitting the training dataset into a plurality of subsets, wherein each subset includes the second input images that correspond with the desired output signals that characterize the same class; training a respective normalizing flow for each of the subsets, wherein each respective normalizing flow corresponds to the class characterized by the corresponding output signals of the second input images the normalizing flow is trained with; and providing the trained normalizing flows to the image classifier. 4. A computer-implemented method for classifying a first input image using an image classifier, wherein the image classifier provides an output signal characterizing a classification of the first input image, the method comprising the following steps of: training the image classifier, the training of the imaging classifier including: determining a training dataset, wherein the training dataset includes a plurality of second input images; training a normalizing flow using the training dataset, wherein the normalizing flow is configured to predict a first density value based on an input image, wherein the first density value characterizes a likelihood of the input image to occur, wherein the first density value is predicted based on an intermediate output of a first convolutional layer of the normalizing flow, and wherein the intermediate output is determined based on a plurality of weights of the first convolutional layer, the training of the normalizing flow including, for each second image of the second input images: determining an output tensor, wherein the output is determined by providing the second input image to the normalizing flow and providing an output of the normalizing flow as the output tensor, determining a second density value based on the output tensor and on the plurality of weights, determining a natural gradient of the plurality of weights with respect to the second density value, and adapting the plurality of weights according to the natural gradient; providing the trained normalizing flow to the image classifier; providing the image classifier as a trained image classifier; predicting a first density value for the first input image using the trained normalizing flow from the image classifier; providing the output signal such that the output signal characterizes a first class when the first density value is below than a predefined threshold; providing the output signal such that the output signal characterizes a second class when the first density value is equal to the predefined threshold or above the predefined threshold; wherein the natural gradient is determined according to the formula: ∇ w (l) =δ l *( w (l) * T h (l) ) T +w (l) ·H l ·W l , wherein ∇ w (l) is the natural gradient, δ l is an error signal for the first convolutional layer, w (l) is the plurality of weights, H l is a height of a layer input of the first convolutional layer, W l is a width of the layer input, * denotes a convolution operation and * T denotes a transposed convolution operation. 5. The method as recited in claim 4 , wherein a device is operated based on the output signal. 6. A computer-implemented method for classifying a first input image using an image classifier, wherein the image classifier provides an output signal characterizing a classification of the first input image, the method comprising the following steps: training the image classifier wherein the image classifier is configured to determine an output signal characterizing a classification of a first input image, the image classifier being trained by performing the following steps: determining a training dataset, wherein the training dataset includes a plurality of second input images, and wherein the training dataset further includes for each of the second input images a corresponding desired output signal, wherein the desi

Assignees

Inventors

Classifications

  • Convolutional networks [CNN, ConvNet] · CPC title

  • Generative networks · CPC title

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

  • Supervised learning · CPC title

  • G06V10/32Primary

    Normalisation of the pattern dimensions · 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 US11961275B2 cover?
A computer-implemented method for training a normalizing flow. The normalizing flow predicts a first density value based on a first input image. The first density value characterizes a likelihood of the first input image to occur. The first density value is predicted based on an intermediate output of a first convolutional layer of the normalizing flow. The intermediate output is determined bas…
Who is the assignee on this patent?
Bosch Gmbh Robert
What technology area does this patent fall under?
Primary CPC classification G06V10/32. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 16 2024 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 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).