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

This paper introduces GenCC, a framework that leverages large language models to automatically design optimized congestion control utility functions, achieving performance improvements of 37% to 142% over state-of-the-art protocols by utilizing generative code evolution or mathematical chain-of-thought strategies.

Neta Rozen-Schiff, Liron Schiff, Stefan Schmid

Published Thu, 12 Ma
📖 5 min read🧠 Deep dive

Imagine the internet as a massive, global highway system. For decades, the rule of the road has been "first come, first served," but with a catch: if the highway gets too crowded, everyone slows down together to prevent a total gridlock. This is how traditional Congestion Control works. It's like a traffic cop who tells every driver to slow down equally when traffic gets heavy, hoping everyone gets to their destination eventually.

However, the modern internet isn't just about one type of traffic anymore. It's a chaotic mix of:

  • Video calls (which need to be smooth and lag-free, like a limousine).
  • 4K movie streams (which need huge amounts of data but can tolerate a slight delay, like a cargo truck).
  • IoT sensors (which send tiny bits of data but need to be reliable, like a bicycle messenger).

The problem is that the old "one-size-fits-all" traffic rules don't work well when a limousine, a cargo truck, and a bicycle are all fighting for space on the same road. The current "smart" traffic systems try to solve this by using complex mathematical formulas (called Utility Functions) to decide who gets how much road space. But writing these formulas is incredibly hard. It's like trying to write a single rulebook that perfectly satisfies a Formula 1 racer, a delivery driver, and a tourist, all while the road conditions change from rain to snow to a festival.

The New Solution: GenCC and the "AI Architect"

This paper introduces GenCC, a new framework that uses Large Language Models (LLMs)—the same kind of AI that writes code and answers questions—to act as an AI Architect for these traffic rules.

Instead of human researchers spending years trying to tweak a mathematical formula by hand, GenCC asks the AI: "Here is a specific road scenario with a video stream and a sensor. Please write the perfect traffic rule (code) to make sure everyone gets where they need to go efficiently."

How It Works: The "Try, Test, and Improve" Loop

The researchers didn't just ask the AI once and hope for the best. They built a cycle that works like a video game level designer:

  1. The Prompt (The Brief): They tell the AI the specific problem (e.g., "We have a slow satellite connection and a fast video call").
  2. The Generation (The Draft): The AI writes a new piece of code (a new traffic rule).
  3. The Testbed (The Simulation): They run this new rule in a realistic digital highway simulator. They see what happens: Did the video call freeze? Did the sensor get stuck?
  4. The Feedback (The Coach):
    • Zero-Shot: The AI guesses once based on the prompt.
    • One-Shot: The AI looks at an existing "good" rule and tries to copy it.
    • Evolutionary (The Best Approach): The AI looks at the worst part of the previous attempt (e.g., "The video call was still lagging") and tries to fix just that in the next version. It's like a coach saying, "Your defense was great, but your offense is weak. Let's practice offense."
    • Math-CoT (Chain of Thought): The AI is asked to "think step-by-step" about the math before writing the code, ensuring the logic is sound.

The Results: Smarter Traffic, Faster Roads

The researchers tested this on real-world scenarios, including:

  • Broadband: Your home internet.
  • Cellular: 5G mobile networks.
  • Satellite: Slow, high-delay connections (like Starlink or old satellite dishes).

The findings were surprising:

  • The AI got it right: In many cases, the AI-generated rules were 37% to 142% better than the best human-designed rules currently in use.
  • Less is more: Surprisingly, giving the AI a "reference example" of a good rule (One-Shot) actually made it worse at solving new problems. It was like giving a chef a recipe for soup and asking them to make a cake; they got stuck trying to copy the soup. It was better to just give them the ingredients and let them figure it out (Zero-Shot) or let them iterate based on mistakes (Evolutionary).
  • Thinking helps: When the AI was forced to explain its math logic before writing the code (Math-CoT), it produced much more stable and effective rules.

The Big Picture

Think of this paper as the moment we stopped trying to manually tune every radio station on a car and instead gave the car a self-driving AI that learns the perfect settings for every road it drives on.

GenCC proves that we don't need to be the world's best mathematicians to solve internet congestion anymore. We just need to build a system that lets AI write the code, test it, learn from its mistakes, and write it again until it's perfect. This means faster video calls, smoother gaming, and a more reliable internet for everyone, regardless of whether they are on a fiber line or a satellite dish.