Chain-Aware Encoding for Microservice Trace Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Microservice traces can be structurally anomalous even when every span returns normally -- a payment flow that silently skips a risk check looks fine to any per-span monitor. Sequence models like DeepLog address this by predicting the next event, but they treat each API endpoint as a context-free token: the same endpoint reached through different invocation chains is mapped to the same vocabulary entry, even when its normal behavior differs across contexts. We propose encoding each event as an (endpoint, root-to-span invocation chain) pair instead. This simple change has two consequences: unseen chains are flagged without model inference, and next-event predictions become context-conditional, turning subtle path anomalies into clear outliers. We instantiate this idea in CHAINLSTM, a lightweight dual-task LSTM supporting per-event online detection. On the TrainTicket benchmark, CHAINLSTM achieves 94.3% F1 (+5.3 pp over DeepLog) with comparable latency recall and 99.1% path recall. Case analysis shows that chain-aware encoding shifts median prediction probability on path anomalies from 0.91 to 0.002, suggesting a wider separation margin for threshold-based detection.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 11 Jul 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Noise Floor Audit for Agent Benchmarkscited by 0
- 2026SkillForge: Compositional Skill Synthesis with Verification-in-the-Loop for Generating Formally Verified Dafny Programscited by 0
- 2026CoRe: Coherence and Relational Alignment for Multivariate Time Series Forecastingcited by 0
- 2026Second-Order Problem Solving for Recursive Self-Improvement in Formal Verificationcited by 0
- 2026Second-Order Problem Solving for Recursive Self-Improvement in Formal Verification5 Oct 2026
- 2026CoRe: Coherence and Relational Alignment for Multivariate Time Series Forecasting17 Sep 2026
- 2026SkillForge: Compositional Skill Synthesis with Verification-in-the-Loop for Generating Formally Verified Dafny Programs30 Aug 2026
- 2026Noise Floor Audit for Agent Benchmarks23 Aug 2026