Manuscript Offprint

arXiv:2610.05807

Protocol-Sensitive Evaluation of Log Anomaly Detection: Component Costs and Target-Access Sensitivity on HDFS and BGL

Hang Xiao, Janet Sung, Zhaoyi Li, Gangzhen Qian, Chuhong Xu

Hang Xiao

Fortinet, Inc.

Sunnyvale, USA

xhang@fortinet.com

Janet Sung

Google LLC

Mountain View, USA

janetsung@google.com

Zhaoyi Li

Independent Researcher

Mountain View, USA

lzy9776@gmail.com

Gangzhen Qian

Google LLC

Mountain View, USA

irisqian@google.com

Abstract—Protocol choices can change the conclusions drawn from log anomaly detection benchmarks even when detector settings are fixed. We present a joint empirical study of split construction, representation visibility, and component costs using six fixed count, sequence, and semantic configurations on Hadoop Distributed File System (HDFS) and Blue Gene/L (BGL) logs. Random splits place several configurations near the average-precision ceiling, whereas group-disjoint HDFS and chronological BGL evaluation produce lower scores and different observed orderings. At a fixed BGL cutoff, parser choice spans 0.124 in semantic XGBoost mean average precision while preserving its lead over count XGBoost; the earliest rolling period reverses that ordering. A two-factor cross-system ablation contrasts source-only representations with offline transductive access to unlabeled target templates through the representation corpus and inverse document frequency: HDFS-to-BGL mean average precision moves from 0.191 with source-only access to 0.325 with union-corpus, target-IDF access, and the intermediate conditions reveal direction-dependent interactions in average precision and retrieval at fixed review budgets. Component-level profiling separates parsing and representation costs from classifier training, prediction, and storage. Together, these findings connect detector comparisons to the test population, preprocessing state, visible information, and measured pipeline stages, and identify the protocol fields needed alongside a score to support interpretable comparisons of log anomaly detection accuracy and resource use.

Index Terms—log anomaly detection, dependability, empirical evaluation, evaluation protocol, target access, computational cost

I. INTRODUCTION

During incident response, an operator usually needs a short list of sessions or windows to inspect, not another stream of raw messages. A detector therefore has two practical jobs: rank suspicious activity near the top and keep the review queue manageable. Benchmark results influence both, so the protocol used to obtain a score matters.

Chuhong Xu

Sony Corporate of America

San Jose, USA

chuhong.xu@sony.com

Early log-mining systems turned console messages into event features; the HDFS study by Xu and colleagues introduced the dataset used here [1]. In our HDFS data, most sessions repeat one of a few event-count patterns, so a random split places familiar behavior on both sides of the boundary. He and colleagues organized log anomaly detection as a pipeline of parsing, feature extraction, and detection [2].

Such models are evaluated on the same small group of public logs, yet their scores are hard to compare because the settings differ. DeepLog shifted attention to event order [3] and LogAnomaly added semantic template vectors [4].

We examine three protocol choices that shape benchmark comparisons: split construction, the information available during representation building (target access), and cost accounting. Six configurations with fixed hyperparameters provide a common basis for examining these choices. Sedláček and colleagues compared shuffled and sequential evaluation and preprocessing choices within a unified pipeline [5]. Building on this protocol perspective, our study combines a target-catalog and inverse document frequency (IDF) visibility ablation, tie-aware review-budget metrics, and component-level cost accounting. All six configurations run under one implementation, using a stratified random split, an HDFS holdout keeping sessions with identical event-count vectors together, and a chronological BGL split with a parser snapshot at the cutoff. Further runs vary the BGL parser and cutoff, and two Word2vec corpora cross two IDF sources in both directions.

The study makes three contributions:

  1. It shows how random, group-disjoint, and chronological evaluation change detector comparisons under a common implementation, and characterizes parser and temporal-cutoff sensitivity on BGL.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

  1. It separates parsing, representation construction, classifier training, and prediction costs, and reports serialized classifier sizes to make the resource requirements of the measured stages explicit.

  2. It provides a 2×22 \times 2 target-catalog and IDF visibility ablation with tie-aware precision and recall at fixed review budgets, stating for each cell whether the representation saw unlabeled target artifacts.

Every score below is reported with its split, visible catalog, and measured cost component, so each observation stays tied to the protocol that produced it.

References (31)