亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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
出处
期刊: [Association for Computing Machinery]
卷期号:1 (FSE): 137-160 被引量:51
标识
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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小马甲应助sophy采纳,获得10
1秒前
简单秋烟发布了新的文献求助10
2秒前
威武的碧玉完成签到,获得积分10
2秒前
anugraphics发布了新的文献求助30
3秒前
YuuuY完成签到 ,获得积分10
5秒前
20秒前
柔弱向梦发布了新的文献求助10
24秒前
细腻的语柳完成签到,获得积分10
26秒前
耍酷的手套完成签到,获得积分10
28秒前
文静的丹彤完成签到,获得积分10
29秒前
zcgy918完成签到 ,获得积分10
42秒前
希望天下0贩的0应助露露采纳,获得10
56秒前
自由的小熊猫完成签到,获得积分10
58秒前
外向的小海豚完成签到,获得积分10
1分钟前
1分钟前
露露发布了新的文献求助10
1分钟前
路aa完成签到 ,获得积分10
1分钟前
露露完成签到,获得积分10
1分钟前
钱来完成签到,获得积分10
1分钟前
自信犀牛完成签到 ,获得积分10
1分钟前
1分钟前
飘逸小之完成签到,获得积分10
1分钟前
1分钟前
sophy发布了新的文献求助10
1分钟前
1分钟前
FG发布了新的文献求助10
1分钟前
渡人舟应助科研通管家采纳,获得10
1分钟前
1分钟前
桐桐应助科研通管家采纳,获得10
1分钟前
1分钟前
可爱南风发布了新的文献求助10
1分钟前
FG完成签到,获得积分10
2分钟前
dyt完成签到,获得积分10
2分钟前
chilin完成签到,获得积分10
2分钟前
2分钟前
单薄涵梅完成签到,获得积分10
2分钟前
Lucas应助可爱南风采纳,获得10
2分钟前
李爱国应助QQQ采纳,获得10
2分钟前
2分钟前
深情的从丹完成签到,获得积分10
2分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Navigating Normative Orders. Interdisciplinary Perspectives 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7759372
求助须知:如何正确求助?哪些是违规求助? 9304952
关于积分的说明 20283898
捐赠科研通 7343490
什么是DOI,文献DOI怎么找? 3312541
关于科研通互助平台的介绍 2463109
邀请新用户注册赠送积分活动 2326551