GRU-Based Learning for the Identification of Congestion Protocols in TCP Traffic
Paul Bergeron, Sandhya Aneja · 2025
Read GRU-Based Learning for the Identification of Congestion Protocols in TCP Traffic by Paul Bergeron, Sandhya Aneja (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-13490.txt.
Introduction
Paul Bergeron and Sandhya Aneja identify congestion control protocols in network traffic in a 2025 paper. Networks use varied TCP congestion protocols, including Reno, Cubic, Vegas, and BBR, which react differently to congestion. Telling them apart from observed traffic is useful for network research and management.
Their learning model is based on a gated recurrent unit, a neural network suited to series. Working on the Marist University campus network, a more complex and competitive setting than in current comparisons, they report identification accuracy above ninety-seven percent. They used a faster neural network architecture than prior work while achieving comparably high accuracy. The result suggests sequence learning can reliably fingerprint congestion behavior in real campus traffic.
Catalog record
| CREATOR | Paul Bergeron, Sandhya Aneja |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 14 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2509-13490
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
GRU-Based Learning for the Identification of Congestion Protocols in TCP Traffic Paul Bergeron, Sandhya Aneja Abstract This paper presents the identification of congestion control protocols TCP Reno, TCP Cubic, TCP Vegas, and BBR on the Marist University campus, with an accuracy of 97.04% using a GRU-based learning model. We used a faster neural network architecture on a more complex and competitive network in comparison to existing work and achieved comparably high accuracy. 1 Introduction Existing research has shown the need to identify TCP Congestion Control algorithm (CC) [ 6 ] . However, with the growing Internet, as different organizations are adopting different congestion control algorithms, there is a need to reevaluate how to identify the TCP CC. The TCP CC identification problem is the identification of the congestion control algorithm used by a web server while sending the requested resource, such as a file, a webpage, or a record from the database. In many cases, sending the requested resource by a server involves fetching the resource from other servers by cascading requests again using TCP CC by different servers. Identification of the TCP CC can help network administrators to measure the throughput, delay, loss, and jitter for network performance since the congestion control algorithm largely determines these. The TCP CC identification is valuable not only in measuring network performance, but also helps in other network applications, such as device fingerprinting for device authentication, browser fingerprinting for web services, and web server fingerprinting for cybersecurity. These applications utilize features from network traffic between a device and the web server for fingerprinting purposes. In this paper, we suggest the TCP CC itself as a feature for the network traffic analysis-based applications. We found four algorithms in Ubuntu 20.04 Linux kernel, namely TCP Vegas, TCP Reno, TCP Cubic [ 4 ] , and BBRv1(Bottleneck Bandwidth and Round Trip Time) [ 2 ] , to set up a web server. We chose an RNN-based Gated Recurrent Unit (GRU) architecture by looking into the communications by setting congestion control protocols. We collected the data over 15 days on the Marist University Campus over three times in a day and achieved 97.04% accuracy in identifying the congestion control algorithm. Our contributions in this work are as follows: • We achieve 97.04% accuracy in identifying congestion control algorithms using an RNN-based GRU model. • We identified Congestion control as a representative feature representing size, maximum window size, throughput, smoothed throughput and RTT for network analysis. • We identified that the bottleneck link at Marist Campus is 1Gbps at the Hancock building, and the maximum throughput can be achieved by BBRv1, while the minimum round-trip time can be achieved by TCP Cubic. (a) Size - BBR (b) Size - CUBIC (c) Size - RENO (d) Size - VEGAS (e) RTT - BBR (f) RTT - CUBIC (g) RTT - RENO (h) RTT - VEGAS Figure 1.1 : Size and RTT Variation for BBR, CUBIC, RENO, and VEGAS 2 Motivation TCP CC is governed by the algorithms outlined in RFC 5681, which formalizes the use of slow start, congestion avoidance, fast retransmit, and fast recovery to adjust the sending rate based on packet loss signals [ 1 ] . TCP Reno reduces the congestion window by half upon detecting a packet loss and updates the threshold by window size at that time. Reno increases its window linearly with each acknowledgment (ACK) received, a behavior known as additive increase. TCP Cubic improves Reno by using a cubic function of time since the last window reduction to adjust its window size. Cubic uses more aggressive growth when the network is underutilized and smoother convergence near the saturation point. TCP Vegas estimates the expected throughput based on the minimum RTT and compares it with the actual throughput. Vegas uses two thresholds, \alpha and \beta : if the difference between expected and actual throughput exceeds \beta , it interprets this as a sign of congestion and reduces the window. If the difference is less than \alpha , it increases the window, assuming the network is underutilized. BBR explores the network’s bandwidth and delay characteristics by exponentially increasing the window during a startup phase. Upon reaching a bandwidth plateau, BBR transitions to a drain phase to reduce in-flight data, followed by a cycle of phases including probeBW and probeRTT. BBR aims to maintain the congestion window around three times the bandwidth-delay product to maximize throughput while controlling latency. These protocols differ significantly in how they increase and decrease the congestion window across RTTs. However, for a given protocol, the window adjustment behavior remains consistent across different communication runs. This consistency provides an insight into applying machine learning to effectively identify and classify protocol behavior based on observed patterns in network traffic. Figure 1.1 supports our earlier observations. Subfigures (a), (b), (c), and (d) display the variation in the number of bytes sent (size) per RTT for each of the four protocols. Among them, Figure 1.1 a (BBR) shows the highest throughput, followed by Cubic, Reno, and Vegas. Subfigures (e), (f), (g), and (h) illustrate the RTT variation over the same 47 RTTs. These plots reveal that Cubic and Reno maintain consistently lower RTTs compared to BBR and Vegas. Notably, BBR exhibits significantly higher RTT values, likely due to its aggressive probing behavior and larger in-flight data volume. These experimental results further confirm that each congestion control algorithm follows a distinct mechanism for adjusting the congestion window over time, reinforcing the feasibility of protocol differentiation based on observed traffic patterns. 3 Problem Statement We address the problem of distinguishing among m communication flows, denoted c_{1},c_{2},\ldots,c_{m} , where each flow operates under one of k possible congestion control protocols p_{1},p_{2},\ldots,p_{k} . Consider the i^{\text{th}} communication flow c_{i} , which uses protocol p_{i} and completes n round trips, represented by ct_{1},ct_{2},\ldots,ct_{n} . We hypothesize that if another communication flow c_{j} also uses the same protocol p_{i} , then the sequences of round-trip times for c_{i} and c_{j} will exhibit similar temporal patterns. Furthermore, if b_{x} bytes are transmitted during round trip ct_{x} of c_{i} , as determined by p_{i} , then the number of bytes transmitted during a corresponding round trip ct_{y} of c_{j} will also reflect the same protocol-governed behavior. To learn these patterns, we employ a GRU model with an attention mechanism that captures the temporal dependencies inherent in the behavior of congestion control protocols. GRUs are well-suited for such tasks, as they are designed to capture patterns over time and retain information from earlier inputs that influence later outputs. For example, the characteristic sawtooth pattern of TCP Reno, or the gradual bandwidth ramp-up in BBR, cannot be identified from a single snapshot—they require modeling of temporal evolution. Thus model is required to train to learn a set of input-output pairs (x,y) , where x is a sequence comprising size, maximum window size, throughput, smoothed throughput and RTT, and y is the corresponding congestion control protocol p_{i} . Additionally, GRUs are computationally efficient, less prone to overfitting on small to mid-sized datasets, and maintain competitive performance compared to LSTMs. They also integrate well with attention mechanisms, further enhancing temporal pattern recognition. 4 Literature Review Pahdye and Floyd 2001 presented a tool, TBIT—TCP Behavior Inference Tool