# Utility Function is All You Need: LLM-based Congestion Control

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

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 7 of its 30 references that are in the map.
- First posted on arXiv 11 Mar 2026.

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

- [Chain-of-Thought Prompting Elicits Reasoning in Large Language Models](https://mlsanity.com/paper/2201.11903/) (2022)
- [EvoPrompting: Language Models for Code-Level Neural Architecture Search](https://mlsanity.com/paper/2302.14838/) (2023)
- [Learning to Harness Bandwidth with Multipath Congestion Control and Scheduling](https://mlsanity.com/paper/2105.14271/) (2021)
- [Congestion Control System Optimization with Large Language Models](https://mlsanity.com/paper/2508.16074/) (2025)
- [Hercules: Heterogeneous Requirements Congestion Control Protocol](https://mlsanity.com/paper/2403.00590/) (2024)
- [Adapting Large Language Models for Improving TCP Fairness over WiFi](https://mlsanity.com/paper/2412.18200/) (2024)
- [Unleashing Automated Congestion Control Customization in the Wild](https://mlsanity.com/paper/2505.12492/) (2025)

## Abstract (arXiv)

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 cannot 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%-142%, depending on the scenario.
