清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

LILAC: Log Parsing using LLMs with Adaptive Parsing Cache

解析 丁香花 计算机科学 隐藏物 程序设计语言 人工智能 并行计算 生物 植物
作者
Zhihan Jiang,Jinyang Liu,Zhuangbin Chen,Yichen Li,Junjie Huang,Yintong Huo,Pinjia He,Jiazhen Gu,Michael R. Lyu
标识
DOI:10.1145/3643733
摘要

Log parsing transforms log messages into structured formats, serving as the prerequisite step for various log analysis tasks. Although a variety of log parsing approaches have been proposed, their performance on complicated log data remains compromised due to the use of human-crafted rules or learning-based models with limited training data. The recent emergence of powerful large language models (LLMs) demonstrates their vast pre-trained knowledge related to code and logging, making it promising to apply LLMs for log parsing. However, their lack of specialized log parsing capabilities currently hinders their parsing accuracy. Moreover, the inherent inconsistent answers, as well as the substantial overhead, prevent the practical adoption of LLM-based log parsing. To address these challenges, we propose LILAC, the first practical Log parsIng framework using LLMs with Adaptive parsing Cache. To facilitate accurate and robust log parsing, LILAC leverages the in-context learning (ICL) capability of the LLM by performing a hierarchical candidate sampling algorithm and selecting high-quality demonstrations. Furthermore, LILAC incorporates a novel component, an adaptive parsing cache, to store and refine the templates generated by the LLM. It helps mitigate LLM's inefficiency issue by enabling rapid retrieval of previously processed log templates. In this process, LILAC adaptively updates the templates within the parsing cache to ensure the consistency of parsed results. The extensive evaluation on public large-scale datasets shows that LILAC outperforms state-of-the-art methods by 69.5% in terms of the average F1 score of template accuracy. In addition, LILAC reduces the query times to LLMs by several orders of magnitude, achieving a comparable efficiency to the fastest baseline.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
温柔冰岚完成签到 ,获得积分10
8秒前
34秒前
35秒前
17发布了新的文献求助10
40秒前
48秒前
镜湖医庄发布了新的文献求助10
52秒前
无花果应助jjjjjj采纳,获得10
1分钟前
1分钟前
研友_nxw2xL完成签到,获得积分10
1分钟前
muriel完成签到,获得积分0
1分钟前
如歌完成签到,获得积分10
1分钟前
1分钟前
耍酷秋发布了新的文献求助10
2分钟前
耍酷秋完成签到,获得积分10
2分钟前
mogekkko发布了新的文献求助10
2分钟前
范白容完成签到 ,获得积分0
2分钟前
3分钟前
蝎子莱莱xth完成签到,获得积分10
3分钟前
氢锂钠钾铷铯钫完成签到,获得积分10
3分钟前
Square完成签到,获得积分10
3分钟前
科研通AI2S应助科研通管家采纳,获得10
3分钟前
科研通AI2S应助科研通管家采纳,获得10
3分钟前
silence完成签到 ,获得积分10
4分钟前
欢呼亦绿完成签到,获得积分10
4分钟前
huanghe完成签到,获得积分10
4分钟前
4分钟前
4分钟前
陈槊诸完成签到 ,获得积分10
4分钟前
jjjjjj发布了新的文献求助10
4分钟前
ZYP完成签到,获得积分10
4分钟前
5分钟前
小蘑菇应助科研通管家采纳,获得10
5分钟前
一盏壶完成签到,获得积分10
5分钟前
5分钟前
jjjjjj完成签到,获得积分10
6分钟前
VelesAlexei完成签到,获得积分10
6分钟前
浮游应助boboo采纳,获得10
6分钟前
6分钟前
自然亦凝完成签到,获得积分10
7分钟前
木子26年要毕业完成签到 ,获得积分10
7分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Social Work Ethics Casebook: Cases and Commentary (revised 2nd ed.).. Frederic G. Reamer 1070
Alloy Phase Diagrams 1000
Introduction to Early Childhood Education 1000
2025-2031年中国兽用抗生素行业发展深度调研与未来趋势报告 1000
List of 1,091 Public Pension Profiles by Region 891
Synthesis and properties of compounds of the type A (III) B2 (VI) X4 (VI), A (III) B4 (V) X7 (VI), and A3 (III) B4 (V) X9 (VI) 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5422680
求助须知:如何正确求助?哪些是违规求助? 4537529
关于积分的说明 14157704
捐赠科研通 4454277
什么是DOI,文献DOI怎么找? 2443282
邀请新用户注册赠送积分活动 1434550
关于科研通互助平台的介绍 1411725