Utility Function is All You Need: LLM-based Congestion Control
Neta Rozen-Schiff, Liron Schiff, Stefan Schmid · 2026
Read Utility Function is All You Need: LLM-based Congestion Control by Neta Rozen-Schiff, Liron Schiff, Stefan Schmid (2026) 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-2603-10357.txt.
Introduction
Neta Rozen-Schiff, Liron Schiff, and Stefan Schmid present GenCC, a framework that uses large language models to write congestion control utility functions for networks. Senders cannot coordinate directly, so they tune rates from latency and loss signals guided by such functions, a design task that once took years of analysis. GenCC pairs model code generation with a realistic network testbed. Guided by code evolution or mathematical chain-of-thought, the models produced protocols close to optimal, beating leading congestion control methods by wide margins in several scenarios.
Catalog record
| CREATOR | Neta Rozen-Schiff, Liron Schiff, Stefan Schmid |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 23192 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.10357
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Utility Function is All You Need: LLM-based Congestion Control Neta Rozen-Schiff, Liron Schiff, Stefan Schmid Abstract Congestion is a critical and challenging problem in communication networks. Congestion control protocols allow network applications to tune their sending rate in a way that optimizes their performance and the network utilization. In the common distributed setting, the applications can’t collaborate with each other directly but instead obtain similar estimations about the state of the network using latency and loss measurements. These measurements can be fed into analytical functions, referred to by utility functions, whose gradients help each and all distributed senders to converge to a desired state. The above process becomes extremely complicated when each application has different optimization goals and requirements. Crafting these utilization functions has been a research subject for over a decade, with small incremental changes requiring rigorous mathematical analysis as well as real-world experiments. In this work, we present GenCC, a framework leveraging the code generation capabilities of large language models (LLMs) coupled with realistic network testbed, to design congestion control utility functions. Using GenCC, we analyze the impact of different guidance strategies on the performance of the generated protocols, considering application-specific requirements and network capacity. Our results show that LLMs, guided by either a generative code evolution strategy or mathematical chain-of-thought (CoT), can obtain close to optimal results, improving state-of-the-art congestion control protocols by 37 % 37\% - 142 % 142\% , depending on the scenario. I Introduction Today, Internet access is possible in almost any corner of the world, but a reliable and high-bandwidth connection is not available to everyone even in developed countries—a reality that many readers may be experiencing firsthand when participating in remote conference calls. While some users benefit from high-capacity fiber links, others contend with the limitations of broadband or cellular asymmetric access. The rapid expansion of the Internet, its massive user base, and the increasing reliance on broadband connectivity have therefore made congestion one of the most critical challenges in networking [ 18 , 7 ] . Congestion arises when the traffic demand on a network link exceeds its available capacity. Efficiently reconciling such disparities by optimizing bandwidth allocation across shared bottlenecks has been a central challenge for congestion control (CC) research for decades [ 5 , 28 , 10 , 14 , 11 ] . Many classic CC solutions struggle to meet the growing demands of modern network applications [ 32 ] . Moreover, these applications increasingly combine multiple functionalities—including control, telemetry, video, and audio, each imposing distinct and sometimes conflicting performance requirements on the network. For example, in interactive video services, the control channel typically requires low bandwidth and low latency, whereas 4 K video streams demand high bandwidth while tolerating moderate latency [ 25 ] . To address these challenges, recent CC protocols such as Proteus [ 21 ] and Hercules [ 26 ] use an online learning approach which models the network as a repeated multi-user game. In this game, the users repeatedly decide on their sending rates which are expected to converge to an optimal equilibrium state. While these protocols can achieve high performance, they rely on carefully engineered utility functions and nontrivial parameter tuning, which limits adaptability in dynamic and heterogeneous network environments [ 23 , 30 ] . Moreover, these designs assume that a single utility function remains appropriate across varying network conditions—an assumption that does not hold in practice [ 7 ] . Large language models (LLMs) have demonstrated strong capabilities in code generation [ 6 , 3 ] , opening new opportunities to revisit the design space of CC and to explore more flexible, automated approaches for utility-function generation. We design GenCC, a framework leveraging these opportunities by implementing different strategies of LLM-piplines coupled with network testbed which can experiment and measure the quality of the generated functions. Our pipelines use different guidance strategies ranging from simple zero-shot prompting to mathematical chain-of-thought (CoT) [ 33 ] . Moreover, we evaluate the impact of an evolutionary process that leverages the network testbed to provide feedback to the LLM, guiding it to generate improved functions. In summary, our key contributions are fourfold: • We leverage the mathematical framework and architecture of utility-based congestion control protocols, together with the mathematical reasoning and coding capabilities of LLMs, to design enhanced and improved CC protocols. • We explore different LLM guidance strategies and compare their impact on the performance of the generated protocols. • We implement GenCC, an infrastructure that uses LLMs and a realistic testbed to generate CC protocols for specific scenarios involving connections with heterogeneous requirements. GenCC can also be used as a benchmark for different LLM models. • We evaluate the GenCC-generated CC protocols on live broadband and inter-cloud traffic, achieving up to a 2.4× throughput improvement over the state-of-the-art. As a contribution to the research community, to ensure reproducibility and to facilitate follow-up work, we will release all our code as open source. II Background and Goals Recent research has shifted toward improving Quality of Service (QoS) for heterogeneous traffic, based on the observation that “the era of friendly TCPs has been broken down” [ 24 ] , as emerging applications increasingly prioritize performance objectives beyond fairness. To this end, two state-of-the-art control protocols were developed Proteus [ 21 ] and Hercules [ 26 ] , both are based on an online learning approach which minimizes a priori assumptions about the network and has been shown to robustly achieve high performance across a wide range of challenging environments. Fig. 1 : GenCC’s cyclic pipeline Utility function is all we need. In the online learning approach, time is partitioned into discrete intervals. During each interval t , a connection transmits at a constant sending rate r_{t} (its current strategy) and receives feedback from the receiver in the form of selective acknowledgments (SACKs). These acknowledgments are used to compute performance statistics such as loss rate and latency (RTT). The resulting statistics, together with r_{t} are provided as inputs to a utility function in order to calculate r_{t+1} (the next interval’s strategy) based on the change in utility, i.e., its gradient [ 11 , 10 ] . This iterative procedure, executed concurrently by all senders, can be viewed as a form of multivariate gradient descent. Consequently, the definition of the utility function determines the scenarios in which equilibrium is achieved, the rate of convergence, and the guaranties that can be established. These guaranties may include network-wide properties (e.g., fairness and utilization) [ 11 ] as well as satisfaction of per-connection requirements [ 26 ] . However, these guaranties are achieved through parameter tuning to specific scenarios and traffic patterns. Can a single utility function fit all network scenarios? Most CC protocols use a fixed utility function [ 14 , 24 , 11 , 13 , 21 ] . Recent work shows that this is often suboptimal, and that adapting utility-function parameters to the network context can significantly improve performance. Network context includes application objectives (e.g., latency or video quality), temporal load variations, and deployment scenarios such as 5G versus LTE [ 7 ] . Motivated by the importance of network context—and by evidence that even modest changes to utility-function parameters can yield significant performance gains—GenCC goes beyond