12333005

Efficient Transformer for Content-Aware Anomaly Detection in Event Sequences

PublishedJune 17, 2025
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
20 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method for implementing a self-attentive encoder-decoder transformer framework for anomaly detection in event sequences, the method comprising: feeding event content information into a content-awareness layer to generate event representations; inputting, into an encoder, event sequences of two hierarchies to capture long-term and short-term patterns and to generate feature maps; adding, in the decoder, a special sequence token at a beginning of an input sequence under detection; during a training stage, applying a one-class objective to bound the decoded special sequence token with a reconstruction loss for sequence forecasting using the generated feature maps from the encoder; and during a testing stage, labeling any event representation whose decoded special sequence token lies outside a hypersphere as an anomaly.

2

2. The method of claim 1, wherein the decoder embeds the event sequences into a latent space where anomalies are distinguishable.

3

3. The method of claim 1, wherein the special sequence token represents event sequence status.

4

4. The method of claim 1, wherein the encoder includes attention blocks, 1-D convolutional filters with activation functions, and MaxPool layers to downsample the inputted event sequences of the two hierarchies.

5

5. The method of claim 1, wherein the decoder includes a masked self-attention layer to preserve an auto-regressive property.

6

6. The method of claim 1, wherein the decoder performs a one-time interference to predict all events.

7

7. The method of claim 1, wherein the input sequence under detection of the decoder includes padded zeroes inferred by a one forward procedure.

8

8. A non-transitory computer-readable storage medium comprising a computer-readable program for implementing a self-attentive encoder-decoder transformer framework for anomaly detection in event sequences, wherein the computer-readable program when executed on a computer causes the computer to perform the steps of: feeding event content information into a content-awareness layer to generate event representations; inputting, into an encoder, event sequences of two hierarchies to capture long-term and short-term patterns and to generate feature maps; adding, in the decoder, a special sequence token at a beginning of an input sequence under detection; during a training stage, applying a one-class objective to bound the decoded special sequence token with a reconstruction loss for sequence forecasting using the generated feature maps from the encoder; and during a testing stage, labeling any event representation whose decoded special sequence token lies outside a hypersphere as an anomaly.

9

9. The non-transitory computer-readable storage medium of claim 8, wherein the decoder embeds the event sequences into a latent space where anomalies are distinguishable.

10

10. The non-transitory computer-readable storage medium of claim 8, wherein the special sequence token represents event sequence status.

11

11. The non-transitory computer-readable storage medium of claim 8, wherein the encoder includes attention blocks, 1-D convolutional filters with activation functions, and MaxPool layers to downsample the inputted event sequences of the two hierarchies.

12

12. The non-transitory computer-readable storage medium of claim 8, wherein the decoder includes a masked self-attention layer to preserve an auto-regressive property.

13

13. The non-transitory computer-readable storage medium of claim 8, wherein the decoder performs a one-time interference to predict all events.

14

14. The non-transitory computer-readable storage medium of claim 8, wherein the input sequence under detection of the decoder includes padded zeroes inferred by a one forward procedure.

15

15. A system for implementing a self-attentive encoder-decoder transformer framework for anomaly detection in event sequences, the system comprising: a memory; and one or more processors in communication with the memory configured to: feed event content information into a content-awareness layer to generate event representations; input, into an encoder, event sequences of two hierarchies to capture long-term and short-term patterns and to generate feature maps; add, in the decoder, a special sequence token at a beginning of an input sequence under detection; during a training stage, apply a one-class objective to bound the decoded special sequence token with a reconstruction loss for sequence forecasting using the generated feature maps from the encoder; and during a testing stage, label any event representation whose decoded special sequence token lies outside a hypersphere as an anomaly.

16

16. The system of claim 15, wherein the decoder embeds the event sequences into a latent space where anomalies are distinguishable.

17

17. The system of claim 15, wherein the special sequence token represents event sequence status.

18

18. The system of claim 15, wherein the encoder includes attention blocks, 1-D convolutional filters with activation functions, and MaxPool layers to downsample the inputted event sequences of the two hierarchies.

19

19. The system of claim 15, wherein the decoder includes a masked self-attention layer to preserve an auto-regressive property.

20

20. The system of claim 15, wherein the decoder performs a one-time interference to predict all events.

Patent Metadata

Filing Date

Unknown

Publication Date

June 17, 2025

Inventors

Yanchi Liu
Xuchao Zhang
Haifeng Chen
Wei Cheng
Shengming Zhang

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “EFFICIENT TRANSFORMER FOR CONTENT-AWARE ANOMALY DETECTION IN EVENT SEQUENCES” (12333005). https://patentable.app/patents/12333005

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.

EFFICIENT TRANSFORMER FOR CONTENT-AWARE ANOMALY DETECTION IN EVENT SEQUENCES — Yanchi Liu | Patentable