Authors: Ian Marsh (RISE)
Venue: Network Traffic Measurement and Analysis Conference (TMA), submitted
Year: 2020
Topic: Big data and analytics
Paper (PDF) · Project page · CheesePi measurement platform
Summary
Network measurements are long, not wide. A probe can log thousands of delay and loss samples a minute, but each sample has only a handful of columns. The interesting things are often implicit: the load on a server, interference on a home WiFi link, or the way a network delay and a server delay push each other up. Networking researchers usually look at such data through many 2D plots and summary statistics. Other fields, image processing and genomics in particular, use dimensionality reduction to project all the columns at once onto a picture a person can read.
This paper asks whether those techniques help with network data. It compares four of them on one dataset:
- PCA (principal component analysis): linear, no parameters, the standard choice.
- Kernel PCA: PCA after a non-linear kernel mapping.
- LDA (linear discriminant analysis): linear, but uses class labels to separate groups.
- t-SNE (t-distributed stochastic neighbour embedding): non-linear, places similar points close together on a 2D map.

The dataset: the "Fight of the Century"
On 2 May 2015 Floyd Mayweather fought Manny Pacquiao in Las Vegas. It was the most-viewed pay-per-view boxing match to date, streamed around the world. Four CheesePi Raspberry Pi probes in Sweden measured three streaming sites for 24 hours around the fight:
| Site | Role | Server location | CDN |
|---|---|---|---|
| Philstar (philstar.com) | Philippine news portal | Arizona, USA | Own servers |
| Showtime (sho.com) | US cable network (broadcaster) | Amsterdam, NL | Akamai |
| Sky (sky.com) | UK entertainment network | Amsterdam, NL | Akamai |
The probes recorded network delay (ping), web-server response time (httping), packet loss and hop count (traceroute). Two probes sat on the Swedish academic network (SUNET), two in a student residence, each pair with one on Ethernet and one on WiFi. That gave about 691,000 measurements with five features.

The mean delays alone tell part of the story. Philstar, hosted on its own servers in Arizona, was 12 hops away with a network delay of 196 ± 36 ms and a server delay of 418 ± 128 ms, and lost 3% of packets. The two Akamai-served sites in Amsterdam were 8–9 hops away, with network delays of 2–29 ms and no loss. WiFi raised both the mean and the spread of every delay.
Coupled delays
A busy network slows the server's replies, and a busy server makes the network look slow. From outside the two are hard to tell apart. The PCA biplot below shows how the network (ping) and server (httping) delays to the Philippine site are related: the server contributes the larger share of the delay and most of its variance.

Results
All four methods separated the three sites. t-SNE (perplexity 20) gave the cleanest picture: one tight cluster per site, with a few points bleeding between Showtime and Sky. Those two share a CDN and a city, so the overlap is plausible rather than an error. PCA separated Philstar clearly but left Showtime and Sky close together.


Cost differed a lot, measured in R:
- PCA was 70–580 times faster than the other three and needed 94–228 times less memory.
- Kernel PCA used a lot of memory but saved computation through the kernel trick.
- LDA and t-SNE were heavy on CPU and memory. t-SNE needed R's vector heap raised to 100 GB to finish.
Discussion
- Parameters matter. PCA has none, which is a real advantage. Kernel PCA needs a kernel, and a poor choice can give misleading pictures. LDA needs the number of components. t-SNE needs a perplexity (5–50 is typical; 20 worked here) and several run options, all of which change the picture.
- Labels matter. PCA and kernel PCA are unsupervised. LDA uses class labels, here the access type (Ethernet or WiFi) and environment (home or work). With categorical data like that, the supervised methods are worth trying.
- Pictures are subjective. t-SNE is usually run several times and the clearest map chosen. We ran each method once to keep the comparison fair.
- The recommendation: start with PCA. It is fast, deterministic and good enough to show the main structure. Use t-SNE when you need a clearer picture of clusters and can afford the compute.
Future work
- Run t-SNE with the faster Barnes–Hut or FFT-accelerated variants, or on a GPU, and sweep the perplexity systematically.
- Add newer methods. UMAP (2018) keeps more of the global structure than t-SNE and runs faster. Autoencoders learn non-linear projections that can be reused on new data.
- Feed the reduced features into anomaly detection, so that a shift in the clusters raises an alarm during a live event.
- Test on larger and wider datasets, such as RIPE Atlas or the EU's MONROE mobile broadband testbed.
The EU perspective
Large live-streamed events are a recurring stress test for Europe's networks. Two EU rules now shape this kind of measurement:
- Open Internet Regulation (EU) 2015/2120 gives users the right to an open internet and asks national regulators to monitor service quality. BEREC publishes a common methodology and the open-source measurement tool BEREC NetNeutrality Reference (NNR). Crowdsourced probes like CheesePi are the kind of evidence this framework relies on. See CheesePi: Research, Results, and the Regulator.
- GDPR applies whenever measurements can be tied to a household. Dimensionality reduction helps here as well: aggregated, projected features carry less personal information than raw traces.
The proposed Digital Networks Act (2025) and the debate about whether large streaming platforms should help pay for network capacity also turn on measurements like these: how much traffic a single event creates, and where it is served from. In this dataset, Akamai-served streams from Amsterdam were an order of magnitude closer than a self-hosted server in Arizona.
References
- I. T. Jolliffe, Principal Component Analysis, Springer, 2002.
- L. van der Maaten and G. Hinton, "Visualizing data using t-SNE," Journal of Machine Learning Research 9, 2008.
- B. Schölkopf, A. Smola and K.-R. Müller, "Nonlinear component analysis as a kernel eigenvalue problem," Neural Computation 10(5), 1998.
- L. McInnes, J. Healy and J. Melville, "UMAP: Uniform Manifold Approximation and Projection for dimension reduction," arXiv:1802.03426, 2018.
- B. Abrahao and R. Kleinberg, "On the internet delay space dimensionality," ACM IMC, 2008.
- L. McNamara and I. Marsh, CheesePi: a Raspberry Pi based measurement platform, ANRW, 2015.
- Regulation (EU) 2015/2120 on open internet access; BEREC Guidelines on the Implementation of the Open Internet Regulation, BoR (22) 81, 2022.
Citation
Ian Marsh, Dimensionality reduction in (large) measurement datasets, TMA 2020 (submitted). Paper.
BibTeX
@inproceedings{marsh2020dimensionality,
title = {Dimensionality reduction in (large) measurement datasets},
author = {Ian Marsh},
booktitle = {Network Traffic Measurement and Analysis Conference (TMA), submitted},
year = {2020}
}
More in Big data and analytics: 12 years of traffic flow data →