# Beyond Bot Labels: Retrospective Consequence-Grounded Ranking of Attributed Cache Harm in E-Commerce Logs

arXiv: https://arxiv.org/abs/2611.18027 · HTML: https://mlsanity.com/paper/2611.18027/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 7 of its 44 references that are in the map.
- Submitted 13 Nov 2026.

## Builds on (most cited first, 7 of 7)

- [LSTM-based Encoder-Decoder for Multi-sensor Anomaly Detection](https://mlsanity.com/paper/1607.00148/) (2016)
- [Simplistic Collection and Labeling Practices Limit the Utility of Benchmark Datasets for Twitter Bot Detection](https://mlsanity.com/paper/2301.07015/) (2023)
- [Somesite I Used To Crawl: Awareness, Agency and Efficacy in Protecting Content Creators From AI Crawlers](https://mlsanity.com/paper/2411.15091/) (2024)
- [FP-Agent: Fingerprinting AI Browsing Agents](https://mlsanity.com/paper/2605.01247/) (2026)
- [Non-Intrusive Graph-Based Bot Detection for E-Commerce Using Inductive Graph Neural Networks](https://mlsanity.com/paper/2601.22579/) (2026)
- [Botcha: Detecting Malicious Non-Human Traffic in the Wild](https://mlsanity.com/paper/2103.01428/) (2021)
- [Understanding Application-Level Caching in Web Applications: A Comprehensive Introduction and Survey of State-of-the-Art](https://mlsanity.com/paper/2011.00477/) (2020)

## Abstract (arXiv)

Web caches reduce origin load and latency, but automated traffic can either warm them or evict objects shoppers reuse, lowering the cache hit ratio (CHR). Existing bot defenses generally infer automation from User-Agent (UA) strings or behavior rather than identify sessions that impose cross-session cache harm. We instead formulate the task as ranking sessions by eviction damage and propose consequence-grounded session ranking. A single chronological replay attributes each eviction-induced miss by a protected shopping session (a victim) to the session whose insertion last evicted the object. A behavioral model predicts the target from session behavior alone. Selected sessions bypass the cache but remain origin-served. In a controlled check of 539 non-victim sessions selected across harm levels, attribution order tracks victim-hit changes after removal (Spearman correlation 0.80). On a 12.7-million-request real trace, the top 1% of sessions carry 48.8% of attributed harm. Sessions without bot tags contribute 49.1% of this tier's harm. At the 20% request-volume target, the default conditional CHR difference reaches 93% of the UA baseline, which selects 47 times as many sessions. Six training seeds show little variation. This comparison conditions on the victims that remain, so we also report victim bypass. Local replay and retraining on a second store reproduce harm concentration and a top tier dominated by sessions without bot tags. These results establish attributed cross-session harm as an outcome-based target for retrospective cache audits and selective intervention design.
