paper-with-me

Papers

LLMParser: An Exploratory Study on Using Large Language Models for Log Parsing

2024-04-27 · Zeyang Ma, An Ran Chen, Dong Jae Kim, Tse-Hsun Chen, Shaowei Wang

Logs are important in modern software development with runtime information. Log parsing is the first step in many log-based analyses, that involve extracting structured information from unstructured log data. Traditional log parsers face challenges in accurately parsing logs due to the diversity of log formats, which directly impacts the performance of downstream log-analysis tasks. In this paper, we explore the potential of using Large Language Models (LLMs) for log parsing and propose LLMParser, an LLM-based log parser based on generative LLMs and few-shot tuning. We leverage four LLMs, Flan-T5-small, Flan-T5-base, LLaMA-7B, and ChatGLM-6B in LLMParsers. Our evaluation of 16 open-source systems shows that LLMParser achieves statistically significantly higher parsing accuracy than state-of-the-art parsers (a 96% average parsing accuracy). We further conduct a comprehensive empirical analysis on the effect of training size, model size, and pre-training LLM on log parsing accuracy. We find that smaller LLMs may be more effective than more complex LLMs; for instance where Flan-T5-base achieves comparable results as LLaMA-7B with a shorter inference time. We also find that using LLMs pre-trained using logs from other systems does not always improve parsing accuracy. While using pre-trained Flan-T5-base shows an improvement in accuracy, pre-trained LLaMA results in a decrease (decrease by almost 55% in group accuracy). In short, our study provides empirical evidence for using LLMs for log parsing and highlights the limitations and future research direction of LLM-based log parsers.

📄 PDF Abstract BibTeX arXiv:2404.18001

Code (1)

zeyang919/llmparser 공식 구현 pytorch

Tasks

Log Parsing

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…

Similar Papers 제목 키워드 기반

How Far are We from Effective Context Modeling? An Exploratory Study on Semantic Parsing in Context

2020-02-03 · Qian Liu, Bei Chen, Jiaqi Guo, Jian-Guang Lou 외

Recently semantic parsing in context has received considerable attention, which is challenging since there are complex contextual phenomena. Previous works verified their proposed methods in limited scenarios, which moti…

Semantic Parsing

Building a Macedonian Recipe Dataset: Collection, Parsing, and Comparative Analysis

2025-10-15 · Darko Sasanski, Dimitar Peshevski, Riste Stojanov, Dimitar Trajanov arxiv

Computational gastronomy increasingly relies on diverse, high-quality recipe datasets to capture regional culinary traditions. Although there are large-scale collections for major languages, Macedonian recipes remain und…

Code as Representation: A Compilable Parsing Paradigm for Academic Documents

2026-08-18 · Rihui Jin, Jun Wang, chengyuan zhu, Liang Mingyu 외 arxiv

Academic papers are a primary carrier of scientific knowledge, yet most of this knowledge remains locked in PDFs that are optimized for human reading rather than machine use. For Multimodal Large Language Models (MLLMs),…

Enhancing Exploratory Learning through Exploratory Search with the Emergence of Large Language Models

2024-08-09 · Yiming Luo, Patrick Cheong-Iao Pang, Shanton Chang

In the information era, how learners find, evaluate, and effectively use information has become a challenging issue, especially with the added complexity of large language models (LLMs) that have further confused learner…

Information RetrievalRetrieval

Curiosity as Linguistic Intervention: Using LLM Tutoring Dialogues to Influence Exploratory Learning Behavior

2026-06-21 · Gevindu Ganganath, Pasindu Bolonghege, Qianru Lyu, Pradeep Varakantham 외 arxiv

Large Language Models (LLMs) provide a new opportunity to study how language shapes exploratory cognition because conversational strategies can be systematically manipulated at inference time. We introduce CURIOBOT, a fr…