# US 2025/0061703 A1 · Distributed neural network processing

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

- Number: US 2025/0061703 A1
- Document ID: US20250061703A1
- Status: Published application
- Kind: A1
- Application number: 18/724,364
- Filed: 2022-12-27
- Published: 2025-02-20
- Earliest claimed: 2021-12-27
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: Menno Lindwer; lennart Bamberg
- Web page: https://patentgrep.com/patent/US20250061703A1

## CPC

- G06N 3/063: using electronic means
- G06V 10/95: {structured as a network, e.g. client-server architectures}
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06V 10/7715: {Feature extraction, e.g. by transforming the feature space, e.g. multi-dimensional scaling [MDS]; Mappings, e.g. subspace methods}
- G06V 10/82: using neural networks
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/172: the region being a picture, frame or field
- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/08: Learning methods
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A data processing system comprises a first data processing device and a second data processing device. The first data processing device comprises a data stream source and a first neural network processor to execute a first sub-network of a neural network. The second data processing device comprises a second neural network processor to execute a second sub-network of the neural network. The first neural network processor is configured to process a data stream received from the data stream source and to provide a processed data stream to the second neural network processor. The second neural network processor is configured to further process the processed data stream and to provide a further processed data stream.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A data processing system comprising a first data processing device to execute part of a neural network by performing operations comprising:
generating a data stream via a data stream source associated with the first data processing device;
executing, by at least one first neural network processor of the first data processing device, a first sub-network of the neural network to process the data stream and to provide a processed data stream; and
transmitting, by the first data processing device, the processed data stream to a second data processing device via a data communication channel, wherein a second sub-network of the neural network is executed by at least one second neural network processor of the second data processing device to further process the processed data stream and to provide a further processed data stream.

### Claim 22 (depends on 21)

The data processing system of claim 21, wherein the data stream comprises a sequence of image frames.

### Claim 23 (depends on 21)

The data processing system of claim 21, wherein the data stream is received by the first sub-network as successive static images and the processed data stream is rendered as successive feature maps associated with the successive static images.

### Claim 24 (depends on 21)

The data processing system of claim 21, the operations comprising:
computing, by the first data processing device, a stream of feature map frames for a feature map at an output of the first sub-network; and
performing, by the first data processing device, temporal compression by transmitting information about a feature map value of a feature map element of a particular feature map frame of the stream of feature map frames only in response to determining that a difference between the feature map value and an associated feature map value of the feature map element in a previous feature map frame of the stream of feature map frames meets or exceeds a threshold.

### Claim 25 (depends on 24)

The data processing system of claim 24, wherein the previous feature map frame is an immediately preceding feature map frame relative to the particular feature map frame.

### Claim 26 (depends on 24)

The data processing system of claim 24, wherein the previous feature map frame is a most recent feature map frame for which information for the feature map element was transmitted by the first data processing device.

### Claim 27 (depends on 24)

The data processing system of claim 24, wherein the information transmitted by the first data processing device is indicative of the difference between the feature map value and the associated feature map value of the feature map element in the previous feature map frame.

### Claim 28 (depends on 21)

The data processing system of claim 21, wherein the data stream comprises a first stream of frames and the first data processing device further generates a second stream of frames via the data stream source, wherein the neural network is a first neural network, wherein still scene information is extracted by processing the first stream of frames via the first sub-network and the second sub-network of the first neural network, and wherein spatio-temporal modeling information is extracted by processing the second stream of frames via a first sub-network of a second neural network and a second sub-network of the second neural network, the first sub-network of the second neural network being processed by the first data processing device and the second sub-network of the second neural network being processed by the second data processing device.

### Claim 29 (depends on 21)

The data processing system of claim 21, wherein the first data processing device is positioned at a location to be monitored, and the second data processing device is positioned remote from the location.

### Claim 30

A data processing system comprising a first data processing device to execute part of a neural network by performing operations comprising:
receiving, by the first data processing device, a processed data stream from a second data processing device via a data communications channel, wherein the second data processing device generates a data stream via a data stream source associated with the second data processing device and executes, by at least one second neural network processor of the second data processing device, a first sub-network of the neural network to process the data stream and to provide the processed data stream; and
executing, by at least one first neural network processor of the first data processing device, a second sub-network of the neural network to further process the processed data stream and to provide a further processed data stream.

### Claim 31 (depends on 30)

The data processing system of claim 30, wherein the second data processing device is one of a plurality of second data processing devices, the operations comprising:
merging, by the first data processing device and via the second sub-network, a plurality of processed data streams from the plurality of second data processing devices to generate the further processed data stream.

### Claim 32 (depends on 30)

The data processing system of claim 30, wherein the data stream comprises a first stream of frames and the second data processing device further generates a second stream of frames via the data stream source, wherein the neural network is a first neural network, wherein still scene information is extracted by processing the first stream of frames via the first sub-network and the second sub-network of the first neural network, and wherein spatio-temporal modeling information is extracted by processing the second stream of frames via a first sub-network of a second neural network and a second sub-network of the second neural network, the first sub-network of the second neural network being processed by the second data processing device and the second sub-network of the second neural network being processed by the first data processing device.

### Claim 33 (depends on 30)

The data processing system of claim 30, the operations comprising:
transmitting, by the second data processing device, the further processed data stream to a third data processing device via a further data communication channel, wherein a third sub-network of the neural network is executed by at least one third neural network processor of the third data processing device to further process the further processed data stream and to provide a still further processed data stream.

### Claim 34 (depends on 33)

The data processing system of claim 33, wherein the first data processing device is a local server, the second data processing device is a mobile device, and the third data processing device is a remote server.

### Claim 35 (depends on 33)

The data processing system of claim 33, wherein the first data processing device is a remote server, the first data processing device is a first client device associated with the remote server, and the third data processing device is a second client device associated with the remote server.

### Claim 36 (depends on 30)

The data processing system of claim 30, wherein the data stream is received by the first sub-network as successive static images and the processed data stream is rendered as successive feature maps associated with the successive static images, the operations comprising:
detecting, by the first data processing device and via one or more layers of the second sub-network, information about dynamic features in the processed data stream using the successive feature maps; and
providing the detected information within the further processed data stream.

### Claim 37 (depends on 30)

The data processing system of claim 30, the operations comprising:
detecting, by the first data processing device, a predetermined event based at least partially on the further processed data stream;
in response to detecting the predetermined event, issuing, by the first data processing device, a data stream request to the second data processing device; and
receiving, by the first data processing device, additional data from the data stream, the additional data being transmitted to the first data processing device by the second data processing device in response to the data stream request and in addition to the processed data stream.

### Claim 38 (depends on 37)

The data processing system of claim 37, wherein the second data processing device buffers a most recent portion of the data stream in a data stream buffer and obtains the additional data from the most recent portion in the data stream buffer.

### Claim 39

A method comprising:
generating a data stream via a data stream source associated with a first data processing device;
executing, by at least one first neural network processor of the first data processing device, a first sub-network of a neural network to process the data stream and to provide a processed data stream; and
transmitting, by the first data processing device, the processed data stream to a second data processing device via a data communication channel, wherein a second sub-network of the neural network is executed by at least one second neural network processor of the second data processing device to further process the processed data stream and to provide a further processed data stream.

### Claim 40 (depends on 39)

The method of claim 39, comprising:
computing, by the first data processing device, a stream of feature map frames for a feature map at an output of the first sub-network; and
performing, by the first data processing device, temporal compression by transmitting information about a feature map value of a feature map element of a particular feature map frame of the stream of feature map frames only in response to determining that a difference between the feature map value and an associated feature map value of the feature map element in a previous feature map frame of the stream of feature map frames meets or exceeds a threshold.
