IP Library › Granted Patent US 11,538,143
Granted Patent B2
US 11,538,143 · App. 16/662,659 · Granted Dec 27, 2022

Fully convolutional transformer based generative adversarial networks

Inventors: Dongjin Song (Princeton, NJ); Yuncong Chen (Plainsboro, NJ); Haifeng Chen (West Windsor, NJ); Xinyang Feng (New York, NY)
G06T7/0002G06K9/6215G06N3/0454G06N3/084G06N5/046G06N20/10G06N20/20G06T2207/20081G06T2207/20084
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,538,143
App. No.
16/662,659
Granted
Dec 27, 2022
Kind
B2
Abstract

Systems and methods for detecting anomaly in video data are provided. The system includes a generator that receives past video frames and extracts spatio-temporal features of the past video frames and generates frames. The generator includes fully convolutional transformer based generative adversarial networks (FCT-GANs). The system includes an image discriminator that discriminates generated frames and real frames. The system also includes a video discriminator that discriminates generated video and real video. The generator trains a fully convolutional transformer network (FCTN) model and determines an anomaly score of at least one test video based on a prediction residual map from the FCTN model.

Claims (53)

1. A system for detecting anomaly in video data, comprising:

a generator to receive past video frames and to extract spatio-temporal features of the past video frames and generate at least one frame, wherein the generator includes fully convolutional transformer based generative adversarial networks (FCT-GANs);

an image discriminator configured to discriminate at least one generated frame and at least one real frame of the past video frames; and

a video discriminator configured to discriminate at least one generated video and at least one real video, wherein the at least one real video includes, the past video frames and at least one future frame,

Wherein the generator is further configured to train a fully convolutional transformer network (FCTN) model and determine an anomaly score of at least one test video based on a prediction residual map from the FCTN model.

2. The system as recited in claim 1 , wherein the system is further configured to:

pre-process the past video frames to obtain an optical flow of each past, video frame.

3. The system as recited in claim 1 , wherein, when training the FCTN model, the generator is further configured to:

train the FCTN model based on a generative adversarial network (GAN) protocol.

4. The system as recited in claim 1 , wherein the image discriminator and the video discriminator are further configured to add adversarial loss on both the at least one generated frame and the at least one generated video.

5. The system as recited in claim 1 , wherein the generator farther comprises at least one convolutional transformer.

6. The system as recited in claim 5 , wherein the convolutional transformer is further configured to:

transform at least one feature map to multi-head via a convolutional operation.

7. The system as recited in claim 6 , wherein the convolutional transformer is further configured to:

for each head of the multi-head, apply a global average pooling to aggregate over spatial dimension and concatenate a positional encoding (PE) vector.

8. The system as recited in claim 6 , wherein the convolutional transformer is further configured to:

compare a similarity between at least one query feature vector and at least one memory vector to generate attention weights by a softmax function.

9. The system as recited in claim 8 , wherein the convolutional transformer is further configured to:

determine at least one attended feature map as a weighted average of the at least one feature map at different time steps; and

determine a final attended map as a concatenation over all heads.

10. The system as recited in claim 9 , wherein the convolutional transformer is further configured to:

determine an attended feature map as a weighted average of the at least one query feature vector and the at least one attended feature map via a spatial selection gate.

11. A method for detecting anomaly in video data, comprising:

receiving, at a generator, past video frames, Wherein the generator includes fully convolutional transformer based generative adversarial networks (FCT-GANs)

extracting, by the generator, spatio-temporal features of the past video frames and generating at least one frame;

discriminating, by an image discriminator, at least one generated frame and at least one real frame of the past video frames;

discriminating, by a video discriminator, at least one generated video and at least one real video, wherein the at least one real video includes the past video frames and at least one future frame;

training a fully convolutional transformer network (FCTN) model; and

determining an anomaly score of at least one test video based on a prediction residual map from the FCTN model.

12. The method as recited in claim 11 , further comprising:

pre-processing the past video frames to obtain an optical flow of each past video frame.

13. The method as recited in claim 11 , further comprising:

training the FCTN model based on a generative adversarial network (GANs) protocol.

14. The method as recited in claim 11 , further comprising:

adding adversarial loss on both the at least one generated frame and the at least one generated video.

15. The method as recited in claim 11 , wherein the generator further comprises at least one convolutional transformer, further comprising:

transforming at least one feature map to multi-head via a convolutional operation.

16. The method as recited in claim 15 , further comprising;

for each head of the multi-head, applying a global average pooling to aggregate over spatial dimension and concatenate a positional encoding (PE) vector.

17. The method as recited in claim 15 , further comprising:

comparing a similarity between at least one query feature vector and at least one memory vector to generate attention weights by a softmax function.

18. The method as recited in claim 17 , further comprising:

determining at least one attended feature map as a weighted average of the at least one feature map at different time steps; and

determining a final attended map as a concatenation over heads.

19. The method as recited in claim 18 , further comprising:

determining an attended feature map as a weighted average of the at least one query feature vector and the at least one attended feature map via a spatial selection gate.

20. A computer program product for detecting anomaly in video data, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to perform the method comprising:

receiving, at a generator, past video frames, wherein the generator includes fill r convolutional transformer based generative adversarial networks (FCT-GANs);

extracting, by the generator, spatio-temporal features of the past video frames and generating at least one frame;

discriminating, by an image discriminator, at least one generated frame and at least one real frame of the past video frames;

discriminating, by a video discriminator, at least one generated video and at least one real video, wherein the at least one real video includes the past video frames and at least one future frame;

training a fully convolutional transformer network (FCTN) model; and

determining an anomaly score of at least one test video based on a prediction residual map from the model.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 11, 2022
From: NEC LABORATORIES AMERICA, INC.
To: NEC CORPORATION
Reel/Frame 059561/0743 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 24, 2019
From: SONG, DONGJIN; CHEN, YUNCONG; CHEN, HAIFENG; FENG, XINYANG
To: NEC LABORATORIES AMERICA, INC.
Reel/Frame 050817/0537 →
Continuity (2)
Provisional Application 62751024 · Oct 26, 2018
Related Publication 20200134804A1 · Apr 30, 2020
Cited By (1)
US 12,608,601