mlsanityData to 7 Oct 2026

Efficient Hierarchical Transformers for Representing Log Data

arXiv 2408.16803 ↗First posted 29 Aug 2024cs.LG cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Transformers have gained widespread acclaim for their versatility in handling diverse data structures, yet their application to log data remains underexplored. Log data, characterized by its hierarchical, dictionary-like structure, poses unique challenges when processed using conventional transformer models. Traditional methods often rely on manually crafted templates for parsing logs, a process that is labor-intensive and lacks generalizability. Additionally, the linear treatment of log sequences by standard transformers neglects the rich, nested relationships within log entries, leading to suboptimal representations and excessive memory usage. To address these issues, we introduce HLogformer, a novel hierarchical transformer framework specifically designed for log data. HLogformer leverages the hierarchical structure of log entries to significantly reduce memory costs and enhance representation learning. Unlike traditional models that treat log data as flat sequences, our framework processes log entries in a manner that respects their inherent hierarchical organization. This approach ensures comprehensive encoding of both fine-grained details and broader contextual relationships. Our contributions are threefold: First, HLogformer is the first framework to design a dynamic hierarchical transformer tailored for dictionary-like log data. Second, it dramatically reduces memory costs associated with processing extensive log sequences. Third, comprehensive experiments demonstrate that HLogformer more effectively encodes hierarchical contextual information, proving to be highly effective for downstream tasks such as synthetic anomaly detection and product recommendation.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 18 of its 28 references that are in the map. First posted on arXiv 29 Aug 2024.

Builds on

18 of 28 references.

References · 18

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2017Graph Attention Networkscited by 8,854
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  8. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  9. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  10. 2020Reformer: The Efficient Transformercited by 1,658
  11. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  12. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
6 more
  1. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  2. 2020TabTransformer: Tabular Data Modeling Using Contextual Embeddingscited by 398
  3. 2023Adapting Language Models to Compress Contextscited by 350
  4. 2019Hierarchical Transformers for Long Document Classificationcited by 103
  5. 2021Hierarchical Transformers Are More Efficient Language Modelscited by 99
  6. 2021Scalable Vision Transformers with Hierarchical Poolingcited by 84

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 2.

3 papers.