On Sequence-to-Sequence Models for Automated Log Parsing
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Context: Log parsing is a critical standard operating procedure in software systems, enabling monitoring, anomaly detection, and failure diagnosis. However, automated log parsing remains challenging due to heterogeneous log formats, distribution shifts between training and deployment data, and the brittleness of rule-based approaches. Objectives: This study aims to systematically evaluate how sequence modelling architecture, representation choice, sequence length, and training data availability influence automated log parsing performance and computational cost. Methods: We conduct a controlled empirical study comparing four sequence modelling architectures: Transformer, Mamba state-space, monodirectional LSTM, and bidirectional LSTM models. In total, 396 models are trained across multiple dataset configurations and evaluated using relative Levenshtein edit distance with statistical significance testing. Results: Transformer achieves the lowest mean relative edit distance (0.111), followed by Mamba (0.145), mono-LSTM (0.186), and bi-LSTM (0.265), where lower values are better. Mamba provides competitive accuracy with substantially lower computational cost. Character-level tokenization generally improves performance, sequence length has negligible practical impact on Transformer accuracy, and both Mamba and Transformer demonstrate stronger sample efficiency than recurrent models. Conclusion: Overall, Transformers reduce parsing error by 23.4%, while Mamba is a strong alternative under data or compute constraints. These results also clarify the roles of representation choice, sequence length, and sample efficiency, providing practical guidance for researchers and practitioners.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 24 of its 60 references that are in the map. First posted on arXiv 7 Feb 2026.
Builds on
24 of 60 references.
Closest ancestors · 2
Same direction, newest first
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 22
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2020Efficient Transformers: A Surveycited by 784
- 2016TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systemscited by 660
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2024xLSTM: Extended Long Short-Term Memorycited by 320
- 2021LogBERT: Log Anomaly Detection via BERTcited by 114
10 more
- 2017Structured Attention Networkscited by 95
- 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 68
- 2018Tools and Benchmarks for Automated Log Parsingcited by 56
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsingcited by 32
- 2020Self-Supervised Log Parsingcited by 23
- 2025ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language Modelscited by 13
- 2020Anomaly Detection in a Large-scale Cloud Platformcited by 7
- 2024Anomaly Detection in Large-Scale Cloud Systems: An Industry Case and Datasetcited by 6
- 2018On Challenges of Cloud Monitoringcited by 4
- 2021On Automatic Parsing of Log Recordscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Merging
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models
- 2026CelerLog: Fast Log Parsing via Dynamic Routing ↗
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correction
- 2024LogEval: A Comprehensive Benchmark Suite for Large Language Models In Log Analysis
- 2026Instruction-Tuned LLMs for Parsing and Mining Unstructured Logs on Leadership HPC Systems
- 2024MambaLRP: Explaining Selective State Space Sequence Models
- 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Model