まれなログ形式の解析を増強データで改善
TAILOR: Template-Preserving Augmentation for Long-Tailed Log Parsing
この論文をやさしく読む
ひとことで言うと
出現が5回未満のログ形式を、形式を保ったメッセージ増強で解析しやすくする方法である。
何に役立つ?
まれでも重要な運用事象のログ解析を改善する用途が考えられる。実証はLoghub-2.0での比較である。
この研究の面白いところ
まれな形式はテンプレートの約20%なのにメッセージの0.01%未満で、全体の評価値に隠れていた。
どこまで分かった?
19%の精度改善は対象ベンチマークと比較手法における値である。実運用での異常検知改善は要旨に示されていない。
v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。
アブストラクトの日本語訳
ログ解析は、構造化されていないシステムログを定型パターンへ変換し、デバッグ、監視、異常検知を支える。実際のログ集合は頻度の偏りが強く、少数の頻出パターンが大部分を占める一方、多くの珍しいパターンは数回しか現れない。この偏りのため、ベンチマークの評価値は頻出パターンに支配されて楽観的になり、運用上重要でも珍しい事象での低性能が隠れやすい。本論文は、出現回数が5回未満の「まれなログ群」の多さと影響を調べる。 広く使われるLoghub-2.0での実証分析では、まれな群は全テンプレートの約20%を占めるが、ログメッセージの0.01%未満だった。例がわずかしかないため、評価したすべての解析器でこれらの群の性能が大幅に下がった。そこで、テンプレートを保つデータ増強により、まれな群のテンプレート推定を改善するTAILORを提案する。推定前にテンプレートと整合するログメッセージを増やし、追加の構造的証拠から固定語と変動する値を区別しやすくする。実験では、最も強い比較手法よりまれな群の解析精度が19%高まり、データ集合全体でも競争力のある性能を維持した。この増強法は異なるLLM基盤モデルにまたがって一般化し、既存のLLM型解析器の中核構造を変えずに一貫して改善した。
v1の要旨から自動生成。本文の精読・人による確認は未実施。
- 初稿
- 2026-09-21(UTC)
- 最新改訂
- 2026-09-21 · v1
- 査読・掲載
- 査読状況未確認
更新履歴
- v1 2026-09-21 この版を読む
取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。
原文の要旨
Log parsing is essential for system log analysis because it supports tasks such as debugging, monitoring, and anomaly detection by transforming unstructured log messages into structured log templates. However, real-world log datasets exhibit highly imbalanced, long-tailed distributions, where a small number of frequent templates dominate while many rare templates appear only a few times. This imbalance causes evaluation results to be overly optimistic by allowing frequent templates to dominate benchmark metrics, while poor performance on rare yet operationally important events remains largely hidden. In this paper, we investigate the prevalence and impact of rare log groups, defined as log groups with fewer than five instances. Our empirical study on the widely used Loghub-2.0 benchmark shows that rare log groups account for nearly 20% of all templates but less than 0.01% of log messages. Because they contain only a handful of instances, all evaluated parsers experience substantial performance degradation on these groups. To address this challenge, we propose TAILOR, a log parsing framework that improves template inference for rare log groups through template-preserving augmentation. TAILOR enriches rare log groups with template- consistent log messages before template inference. The additional structural evidence helps distinguish static tokens from dynamic variables. Our experimental results show that TAILOR improves parsing accuracy on rare log groups by 19% over the strongest baseline while maintaining competitive performance on complete datasets. We further show that the proposed augmentation strategy generalizes across different LLM backbones and consistently improves existing LLM-based parsers without modifying their core architectures.
arXiv ID: 2609.25261 / 要約の誤りについて