paperbot · PL 论文追踪

全部论文 待读 收藏

P2 LogFold: Compressing Logs with Structured Tokens and Hybrid Encoding

LogFold:利用结构化 token 与混合编码压缩日志
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 1/10 · 该论文研究日志压缩,属于软件工程/开发者工具方向,与用户关注的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接关联。引用 1 inbox
Shiwen Shan, Yintong Huo, Hongzhan Zhong, Zhining Wang, Yuxin Su, Zibin Zheng
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 LogFold,通过挖掘结构化 token 的冗余模式并采用类型感知混合编码,显著提升日志压缩率。

日志对故障诊断与回溯研究很重要,但日志量随系统规模快速增长,亟需高效压缩。现有通用与日志专用压缩器性能次优:忽略复杂 token 内部冗余,且缺乏按 token 类型的细粒度编码。本文发现结构化 token 的新冗余模式,提出类型感知编码策略,并实现 LogFold:token 分析器划分结构化、非结构化与静态 token;处理器基于分隔符骨架挖掘重复模式;混合编码器按类型定制表示;打包器生成归档。在 16 个公开日志数据集上,LogFold 平均压缩率较 SOTA 提升 11.11%,压缩速度 9.842 MB/s;消融与敏感性分析验证组件重要性和鲁棒性。

问题
日志数据快速增长,长期留存需要高效压缩;现有通用和日志专用压缩器因忽略复杂 token 内部冗余且未按 token 类型细粒度编码,性能次优。
方法
揭示结构化 token 的冗余模式,设计类型感知编码策略,并实现含 token 分析、模式挖掘、混合编码与打包四组件的 LogFold。
评估
在 16 个公开日志数据集上与最先进基线比较,平均压缩率提升 11.11%,压缩速度 9.842 MB/s,并通过消融和敏感性分析验证组件重要性与鲁棒性。
原文摘要(Abstract)

Logs are essential for diagnosing failures and conducting retrospective studies, leading many software organizations to retain log messages for a long time. Nevertheless, the volume of generated log data grows rapidly as software systems grow, necessitating an effective compression method. Apart from general-purpose compressors (e.g., Gzip, Bzip2), many recent studies developed log-specific compression algorithms, but they offer suboptimal performance because of (1) overlooking redundancies within certain complex tokens, and (2) lacking a fine-grained encoding strategy for diverse token types. This work uncovers a new redundancy pattern in structured tokens and proposes a new type-aware encoding strategy to improve log compression. Building on this insight, we introduce LogFold, a novel log compression method consisting of four components: a token analyzer to classifies tokens as structured, unstructured, or static types; a processor that mines recurring patterns within structured tokens based on their delimiter skeletons; a hybrid encoder that tailors data representation according to token types; and a packer that compresses the output into an archive file. Extensive experiments on 16 public log datasets demonstrate that LogFold surpasses state-of-the-art baselines, achieving average compression ratio improvements by 11.11%, with a compression speed of 9.842 MB/s. Ablation studies further indicate the importance of each component. We also conduct sensitivity analyses to verify LogFold’s robustness and stability across various internal settings.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2603-20618,
  title = {LogFold: Compressing Logs with Structured Tokens and Hybrid Encoding},
  author = {Shiwen Shan and Yintong Huo and Hongzhan Zhong and Zhining Wang and Yuxin Su and Zibin Zheng},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3787801}
}