TL;DR
Monitoring server traffic is tricky: normal daily spikes look like false alarms, while subtle, persistent shifts in daily patterns can hide real failures. This paper introduces FENet, a neural network that embeds a classical statistical test for curves directly into a trainable deep learning architecture. It gives us the best of both worlds: the mathematical rigor of classical statistics and the adaptive, data-driven power of supervised learning to catch true structural shifts without crying wolf.
What Problem Does This Paper Address?
Imagine it’s 2:00 AM and a pager goes off because a server had a five-minute traffic burst. Most of the time, an isolated spike is just transient noise, not a system failure. What administrators actually care about are persistent structural changes—when the entire daily rhythm of a server shifts in level, shape, or variability across multiple days.
If you feed raw five-minute metrics into standard time-series detectors, the loud intraday cycles drown out subtle day-to-day shifts. Statisticians solve this by treating each entire day’s trajectory (say, 288 five-minute readings) as a single continuous curve—a functional observation—creating a functional time series.
Historically, detecting change points in these curve sequences meant using unsupervised statistical tests like Functional Cumulative Sum (FCUSUM). While mathematically elegant, these methods rely on rigid statistical thresholds and cannot learn from historical, labeled examples of what actual anomalies look like in a specific server fleet. Meanwhile, modern neural change-point detectors are built for scalar or multivariate points, not infinite-dimensional curves.
Methods
To bridge this gap, the authors propose the Functional Embedding Neural Network (FENet), turning change-point detection into a supervised binary classification problem.
- Functional Embedding Layer (What's New): How do you feed infinite-dimensional functions into a standard neural network? Instead of arbitrary dimension reduction (like PCA, which might accidentally throw away the exact dimension where a break occurs), the authors take a cue from FCUSUM math. For a window of $T$ days, they compute an inner-product matrix $S_X$ capturing the pairwise similarity between every daily curve. They multiply $S_X$ by pre-defined time-weighting vectors ($v_t$) derived from the CUSUM formula, mapping the curves into a clean, finite vector of length $T(T-1)$.
- Deep Neural Network: This embedded vector feeds into a standard Multilayer Perceptron (MLP) or Convolutional Neural Network (CNN) to classify whether a change point occurred in that window.
- Sliding Window Localization: To find multiple change points over a long timeline, FENet slides a $T$-day window across the sequence (similar to classical moving-sum approaches) and thresholds the moving average of the classifier's predictions to pinpoint exact transition days.
Datasets
- Shanghai Big Data Center Operational Metrics: A newly collected real-world dataset tracking 100 servers over 100 days (September–December 2024). It records inbound and outbound network traffic every five minutes (288 points per day = 1 curve), complete with manually annotated ground-truth change points.
- Synthetic Simulations & Additional Public Data: While detailed simulation setups and an additional public real-world dataset are mentioned as being in the paper's appendix and code repository, their specific details are not discussed in the main text.
Key Insights and Ideas
- Classical Statistics Inside Neural Nets: The biggest "aha!" moment is Theorem 1: the authors prove mathematically that a single-hidden-layer FENet with ReLU activations can exactly represent the classical FCUSUM test. Because FCUSUM lives inside FENet's function space as a special case, FENet is theoretically guaranteed (given enough training data) to perform at least as well as the classical test, while retaining the flexibility to learn far more complex patterns.
- ** Curves Tame the Noise:** Treating an entire day as one functional object naturally filters out five-minute recording glitches and isolated bursts, allowing the model to focus purely on day-over-day structural shifts.
- Plug-and-Play Representation: The functional embedding isn't married to one network type; swapping the theoretical MLP backbone for a CNN boosts real-world performance even further.
Key Results
Evaluated on 7-day rolling windows of the server traffic dataset, FENet shines by drastically cutting down false alarms compared to traditional functional methods:
- High Accuracy, Low Crying Wolf: On outbound traffic, FENet (CNN) hits 84.3% accuracy, 0.827 F1, and 0.914 AUC, with FENet (MLP) close behind (81.4% accuracy, 0.886 AUC).
- Beating Unsupervised Baselines: Classical functional methods (FFM and FPCA-based TEV) catch almost every true change (~97–98% True Positive Rate), but at a brutal cost: a False Alarm Rate (FAR) of 65% to 72%, dragging their overall accuracy down to ~56–61%. FENet keeps FAR down to a manageable 12.4%–20.6% while beating the neural baseline (KLCPD) across balanced metrics.
- Resilience & Localization: Under severe class imbalance (1:9 positive-to-negative ratio) and 10% corrupted training labels, FENet (MLP) degrades gracefully, holding onto ~76.6%–77.4% accuracy. In 30-day multi-change-point tests, it cleanly localized real operational shifts—like drops in database collection intensity and weekday-to-weekend access transitions.
Limitations and Future Work
- Univariate Focus: Currently, FENet analyzes one operational metric (e.g., outbound traffic) at a time. Because real server failures often trigger simultaneous shifts across CPU, memory, and network traffic, extending FENet to multivariate functional data is a key next step.
- Regular Sampling Required: The current setup assumes dense, regular five-minute intervals. Adapting the embedding for sparse or irregularly sampled curves remains open for future work.
- Label Dependency: As a supervised method, FENet requires labeled historical examples, and extreme class imbalance or label noise does moderately reduce its sensitivity (True Positive Rate).
Summary updated