Please use this identifier to cite or link to this item: https://hdl.handle.net/10216/170535
Full metadata record
DC FieldValueLanguage
dc.creatorJorge G. Barbosa
dc.creatorJoão Reis
dc.creatorMiguel Areias
dc.date.accessioned2026-01-24T00:12:10Z-
dc.date.available2026-01-24T00:12:10Z-
dc.date.issued2025-09-15
dc.identifier.othersigarra:747065
dc.identifier.urihttps://hdl.handle.net/10216/170535-
dc.description.abstractLog analysis is fundamental to modern software observability systems, playing a key role in improving system reliability. Recently, there has been a growing adoption of Large Language Models (LLMs) for log anomaly detection, due to their ability to learn complex patterns. In this work, we propose a model-agnostic framework that allows seamless plug-and-play integration of different LLMs, making it easy to experiment with and select the model that fits specific needs. These models are first fine-tuned on normal log data, learning their patterns. During inference, the model predicts the most probable next tokens based on the preceding context in each sequence. Anomaly detection is performed using Top-K predictions, where sequences are flagged as anomalous if the actual log entry does not appear among the K most probable next tokens, with K determined using the validation dataset. The proposed framework is evaluated on three widely-used benchmark datasetsHDFS, BGL, and Thunderbirdwhere it consistently achieves competitive results, outperforming state-of-the-art methods in multiple scenarios. These results highlight the effectiveness of LLM-based log analysis and the importance of flexibility when selecting models for specific operational contexts. (c) 2025 Elsevier B.V., All rights reserved.
dc.language.isoeng
dc.relation.ispartofProgress in Artificial Intelligence
dc.rightsrestrictedAccess
dc.titleLarge Language Model Framework for Log Sequence Anomaly Detection
dc.typeArtigo em Livro de Atas de Conferência Internacional
dc.contributor.uportoFaculdade de Engenharia
dc.contributor.uportoFaculdade de Ciências
dc.identifier.doi10.1007/978-3-032-05176-9_25
dc.identifier.authenticusP-01A-4B7
Appears in Collections:FCUP - Artigo em Livro de Atas de Conferência Internacional
FEUP - Artigo em Livro de Atas de Conferência Internacional

Files in This Item:
File Description SizeFormat 
747065.pdf
  Restricted Access
Documento600.44 kBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.