# US 2017/0293804 A1 · Deep 3d attention long short-term memory for video-based action recognition

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

- Number: US 2017/0293804 A1
- Document ID: US20170293804A1
- Status: Published application
- Kind: A1
- Application number: 15/479,408
- Filed: 2017-04-05
- Published: 2017-10-12
- Earliest claimed: 2016-04-06
- Assignees: NEC Laboratories America, Inc.
- Applicants: NEC Laboratories America, Inc.
- Inventors: Renqiang Min; Yang Gao; Eric Cosatto
- Web page: https://patentgrep.com/patent/US20170293804A1

## CPC

- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/08: Learning methods
- G06F 18/24143: {Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06V 20/40: in video content (extracting overlay text G06V20/62; video retrieval G06F16/70; processing of video elementary streams in video servers H04N21/234; processing of video elementary streams in video clients H04N21/44)
- G08B 13/19695: {Arrangements wherein non-video detectors start video recording or forwarding but do not generate an alarm themselves}
- H04N 5/77: between a recording apparatus and a television camera
- H04N 7/183: {for receiving images from a single remote source}
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 5/045: Explanation of inference; Explainable artificial intelligence [XAI]; Interpretable artificial intelligence
- G06V 20/44: {Event detection}
- G08B 13/19613: {Recognition of a predetermined image pattern or behaviour pattern indicating theft or intrusion}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G08B: SIGNALLING SYSTEMS, e.g. PERSONAL CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method, a computer program product, and a system are provided for video based action recognition. The system includes a processor. One or more frames from one or more video sequences are received. A feature vector for each patch of the one w more frames is generated using a deep convolutional neural network. An attention factor for the feature vectors is generated based on a within-frame attention and a between-frame attention. A target action is identified using a multi-layer deep long short-term memory process applied to the attention factor, said target action representing at least one of the one or more video sequences. An operation of a processor-based machine is controlled to change a state of the processor-based machine, responsive to the at least one of the one or more video sequences including the identified target action

## Claims

### Claim 1

A computer-implemented method for video based action recognition, the method comprising:
receiving, by a processor, one or more frames from one or more video sequences;
generating, by the processor using a deep convolutional neural network, a feature vector for each patch of the one or more frames;
generating, by the processor, an attention factor for the feature vectors based on a within-frame attention and a between-frame attention;
identifying, by the processor, a target action using a multi-layer deep long short-term memory process applied to the attention factor, said target action representing at least one of the one or more video sequences; and
controlling an operation of a processor-based machine to change a state of the processor-based machine, responsive to the at least one of one or more video sequences including the identified target action.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the within-frame attention and the between-frame attention use at least one of a softmax layer and a bidirectional long short-term memory process.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the within-frame attention and the between-frame attention include an attention selected from the group consisting of a hard attention and a soft attention.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprises updating the feature vectors with a domain knowledge infusion of a target action class corresponding to the target action by dot product.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the target action is selected from a group of action classes.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein, the long short-term memory process includes both hidden states and cell states.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the hidden states are in a hidden state dimension.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the multi-layer deep long short-term memory process utilizes a cross-entropy loss function.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the cross-entropy loss function includes a function selected from the group consisting of a last time point cross-entropy loss function, an all-time point cross-entropy loss function, and a max-neighbor cross-entropy loss function.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the within-frame attention includes a multilayer perception feeding into a softmax layer.

### Claim 11

A computer program product for video based action recognition, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
receiving, by a processor, one or more frames from one or more video sequences;
generating, by the processor using a deep convolutional neural network, a feature vector for each patch of the one or more frames;
generating, by the processor, an attention factor for the feature vectors based on a within-frame attention and a between-frame attention;
identifying, by the processor, a target action using a multi-layer deep long short-term memory process applied to the attention factor, said target action representing at least one of the one or more video sequences; and
controlling an operation of a processor-based machine to change a state of the processor-based machine, responsive to the at least one of the one or more video sequences including the identified target action.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the within-frame attention includes a multi layer perceptron feeding into a softmax layer.

### Claim 13 (depends on 11)

The computer program product of claim 11, wherein the within-frame attention and the between-frame attention include an attention selected from the group consisting of a hard attention and a soft attention.

### Claim 14 (depends on 11)

The computer program product of claim 11, further comprises updating the feature vectors with a domain knowledge infusion of a target action class corresponding to the target action by dot product.

### Claim 15 (depends on 11)

The computer program product of claim 11, wherein the target action is selected from a group of action classes.

### Claim 16 (depends on 11)

The computer program product of claim 11, wherein the within-frame attention and the between-frame attention use at least one of a softmax layer and a bidirectional long short-term memory process.

### Claim 17 (depends on 11)

The computer program product of claim 11, wherein the long short-term memory process includes both hidden states and cell states.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the hidden states are in a hidden state dimension.

### Claim 19 (depends on 11)

The computer program product of claim 11, wherein the within-frame attention and the between-frame attention use at least one of a softmax layer and a bidirectional long short-term memory process.

### Claim 20

A system for video based action recognition, the system comprising:
a processor, configured to:
receive one or more frames from one or more video sequences;
generate, using a deep convolutional neural network, a feature vector for each patch of the one or more frames;
generate an attention factor for the feature vectors based on a within-frame attention and a between-frame attention;
identify a target action using a multi-layer deep long short-term memory process applied to the attention factor, said target action representing at least one of the one or more video sequences; and
control an operation of a processor-based machine to change a state of the processor-based machine, responsive to the at least one of the one or more video sequences including the identified target action.
