# US 2023/0066626 A1 · Temporally amortized supersampling using a mixed precision convolutional neural network

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

- Number: US 2023/0066626 A1
- Document ID: US20230066626A1
- Status: Published application
- Kind: A1
- Application number: 17/516,112
- Filed: 2021-11-01
- Published: 2023-03-02
- Earliest claimed: 2021-08-19
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: SungYe Kim; Karthik Vaidyanathan; Gabor Liktor; Manu Mathew Thomas
- Web page: https://patentgrep.com/patent/US20230066626A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 3/4053: based on super-resolution, i.e. the output image resolution being higher than the sensor resolution
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/063: using electronic means
- G06N 3/09: Supervised learning
- G06T 3/18: Image warping, e.g. rearranging pixels individually
- G06T 3/4046: using neural networks
- G06T 15/503: {Blending, e.g. for anti-aliasing}
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06T 2219/2004: Aligning objects, relative positioning of parts
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

One embodiment provides a graphics processor comprising a set of processing resources configured to perform a supersampling operation via a mixed precision convolutional neural network, the set of processing resources including circuitry configured to receive, at an input block of a neural network model, history data, velocity data, and current frame data, pre-process the history data, velocity data, and current frame data to generate pre-processed data, provide the pre-processed data to a feature extraction network of the neural network model, process the pre-processed data at the feature extraction network via one or more encoder stages and one or more decoder stages, and generate an output image via an output block of the neural network model via direct reconstruction or kernel prediction.

## Claims

### Claim 1

A graphics processor comprising:
a set of processing resources configured to perform a supersampling anti-aliasing operation via a mixed precision convolutional neural network, the set of processing resources including circuitry configured to:
receive, at an input block of a neural network model, a set of data including previous frame data, current frame data, and velocity data, wherein the previous frame data includes one or more previously generated output frames, the current frame data includes output of a raster and lighting stage of a render pipeline, and the velocity data includes motion vectors generated by the render pipeline;
pre-process the set of data to generate pre-processed data;
provide first pre-processed data to a feature extraction network of the neural network model and second-processed data to an output block of the neural network model, the first pre-processed data at a first precision and the second pre-processed data at a second precision that is higher than the first precision;
process the pre-processed data at the feature extraction network via one or more encoder stages and one or more decoder stages;
output tensor data from the feature extraction network to the output block; and
generate an output frame via the output block based on the second pre-processed data from the input block and the tensor data output from the feature extraction network, wherein the output frame is an anti-aliased frame.

### Claim 2 (depends on 1)

The graphics processor as in claim 1, wherein to generate the pre-processed data includes to:
warp the previous frame data based on the velocity data to generate warped history data;
align the warped history data with the current frame data to generate aligned history data; and
shuffle the aligned history data and current frame data from a spatial dimension to a channel dimension.

### Claim 3 (depends on 2)

The graphics processor as in claim 2, wherein the channel dimension includes a depth channel or multiple feature map channels.

### Claim 4 (depends on 2)

The graphics processor as in claim 2, wherein to generate an output frame via the output block includes to generate the output frame via one or more convolution layers of the output block.

### Claim 5 (depends on 2)

The graphics processor as in claim 2, wherein to generate an output frame via the output block includes to predict a set of per-pixel kernel values and blend weights, filter the current frame data via the per-pixel kernel values, and blend the aligned history data with filtered current frame data.

### Claim 6 (depends on 2)

The graphics processor as in claim 2, wherein the circuitry is configured to upscale the output of the raster and lighting stage from a first resolution to a second resolution that is higher than the first resolution before the current frame data is provided to the input block of the neural network model.

### Claim 7 (depends on 2)

The graphics processor as in claim 2, wherein to generate the pre-processed data includes to upscale the output of the raster and lighting stage from a first resolution to a second resolution that is higher than the first resolution.

### Claim 8 (depends on 2)

The graphics processor as in claim 2, wherein to generate the pre-processed data additionally includes to apply a convolution and an activation function to shuffled aligned history data and current frame data.

### Claim 9

A method comprising:
receiving, at an input block of a neural network model, a set of data including previous frame data, current frame data, and velocity data, wherein the previous frame data includes one or more previously generated output frames, the current frame data includes output of a raster and lighting stage of a render pipeline, and the velocity data includes motion vectors generated by the render pipeline;
pre-processing the set of data to generate pre-processed data;
providing first pre-processed data to a feature extraction network of the neural network model and second-processed data to an output block of the neural network model, the first pre-processed data at a first precision and the second pre-processed data at a second precision that is higher than the first precision;
processing the pre-processed data at the feature extraction network via one or more encoder stages and one or more decoder stages;
outputting tensor data from the feature extraction network to the output block; and
generating an output frame via the output block based on the second pre-processed data from the input block and the tensor data output from the feature extraction network, wherein the output frame is an anti-aliased frame.

### Claim 10 (depends on 9)

The method as in claim 9, wherein generating the pre-processed data includes:
warping the previous frame data based on the velocity data to generate warped history data;
aligning the warped history data with the current frame data to generate aligned history data; and
shuffling the aligned history data and current frame data from a spatial dimension to a channel dimension.

### Claim 11 (depends on 10)

The method as in claim 10, wherein the channel dimension includes a depth channel or multiple feature map channels and generating pre-processed data additionally includes applying a convolution and an activation function to shuffled aligned history data and current frame data.

### Claim 12 (depends on 10)

The method as in claim 10, wherein generating an output frame via the output block includes generating the output frame via one or more convolution layers of the output block.

### Claim 13 (depends on 10)

The method as in claim 10, wherein generating an output frame via the output block includes to predict a set of per-pixel kernel values and blend weights, filter the current frame data via the per-pixel kernel values, and blend the aligned history data with filtered current frame data.

### Claim 14 (depends on 10)

The method as in claim 10, further comprising upscaling the output of the raster and lighting stage from a first resolution to a second resolution that is higher than the first resolution before the current frame data is provided to the input block of the neural network model.

### Claim 15 (depends on 10)

The method as in claim 10, wherein generating the pre-processed data includes upscaling the output of the raster and lighting stage from a first resolution to a second resolution that is higher than the first resolution.

### Claim 16

A data processing system comprising:
a memory device; and
a graphics processor coupled with the memory device, the graphics processor comprising a set of processing resources configured to perform a supersampling anti-aliasing operation via a mixed precision convolutional neural network, the set of processing resources including circuitry configured to:
receive, at an input block of a neural network model, a set of data including previous frame data, current frame data, and velocity data, wherein the previous frame data includes one or more previously generated output frames, the current frame data includes output of a raster and lighting stage of a render pipeline, and the velocity data includes motion vectors generated by the render pipeline;
pre-process the set of data to generate pre-processed data;
provide first pre-processed data to a feature extraction network of the neural network model and second-processed data to an output block of the neural network model, the first pre-processed data at a first precision and the second pre-processed data at a second precision that is higher than the first precision;
process the pre-processed data at the feature extraction network via one or more encoder stages and one or more decoder stages;
output tensor data from the feature extraction network to the output block; and
generate an output frame via the output block based on the second pre-processed data from the input block and the tensor data output from the feature extraction network, wherein the output frame is an anti-aliased frame.

### Claim 17 (depends on 16)

The data processing system as in claim 16, wherein to generate the pre-processed data includes to:
upscale the output of the raster and lighting stage from a first resolution to a second resolution that is higher than the first resolution;
warp the previous frame data based on the velocity data to generate warped history data;
align the warped history data with the current frame data to generate aligned history data; and
shuffle the aligned history data and current frame data from a spatial dimension to a channel dimension.

### Claim 18 (depends on 17)

The data processing system as in claim 17, wherein the channel dimension includes a depth channel or multiple feature map channels.

### Claim 19 (depends on 17)

The data processing system as in claim 17, wherein to generate the output frame via the output block includes to generate the output frame via one or more convolution layers of the output block.

### Claim 20 (depends on 17)

The data processing system as in claim 17, wherein to generate the output frame via the output block includes to predict a set of per-pixel kernel values and blend weights, filter the current frame data via the per-pixel kernel values, and blend the aligned history data with filtered current frame data.
