← Latest papers
💬 NLP

Controlling Distributional Bias in Multi-Round LLM Generation via KL-Optimized Fine-Tuning

This paper proposes a novel fine-tuning framework combining Steering Token Calibration with a hybrid KL-divergence and Kahneman-Tversky optimization objective to effectively control and align the output distributions of Large Language Models across multiple rounds, addressing the limitations of existing methods in generating statistically representative content regarding attributes like gender, race, and sentiment.

Original authors: Yanbei Jiang, Amr Keleg, Ryandito Diandaru, Jey Han Lau, Lea Frermann, Biaoyan Fang, Fajri Koto

Published 2026-04-08
📖 4 min read☕ Coffee break read

Original authors: Yanbei Jiang, Amr Keleg, Ryandito Diandaru, Jey Han Lau, Lea Frermann, Biaoyan Fang, Fajri Koto

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very talented, but slightly stubborn, storyteller named "LLM." You ask this storyteller to write 100 short stories about a specific job, like a "Nurse in the UK."

The Problem: The Stubborn Storyteller
In the real world, nursing is a mix of men and women. But if you ask your LLM storyteller to write 100 stories independently, it might accidentally write 90 stories about female nurses and only 10 about male nurses. It's not because the model is "evil"; it's because it has learned from the internet that "nurse" usually equals "woman."

If you ask it again for 100 stories about "Construction Workers," it might write 99 stories about men and 1 about a woman, even though you wanted a balanced mix.

The problem is that current AI models are great at telling one good story, but they are terrible at managing the big picture when asked to tell many stories. They tend to get stuck in a "rut," repeating the same stereotypes over and over, rather than reflecting the true diversity of the real world or a specific goal you set for them.

The Solution: The "Traffic Cop" and the "Editor"
The researchers in this paper came up with a clever two-part training method to fix this. Think of it as giving the AI a new set of tools: a Traffic Cop and a Strict Editor.

1. The Traffic Cop (Steering Tokens & KL Loss)

First, they teach the AI to use a special "secret code" or Traffic Cop token before it starts writing the story.

  • How it works: Before writing a story about a nurse, the AI must first pick a token. Let's say it picks Token "A" for "Male" or Token "B" for "Female."
  • The Goal: The researchers train the AI so that if you want 70% male nurses and 30% female nurses, the Traffic Cop picks Token "A" 70 times out of 100 and Token "B" 30 times out of 100.
  • The Analogy: Imagine a casino dealer. If you want the cards to be dealt in a specific ratio (e.g., 70% red, 30% black), the dealer (the Traffic Cop) is trained to shuffle and deal exactly that way, regardless of what the players usually expect.

2. The Strict Editor (Semantic Alignment & KTO)

Here is the tricky part. Just because the AI picked the "Male" token doesn't mean the story it writes afterwards will actually be about a man. It might pick the token by accident and then write a story about a woman anyway.

  • The Fix: They add a "Strict Editor" (using a technique called KTO). This editor checks: "Did you pick the 'Male' token? Great! Now, does the story you wrote actually describe a man?"
  • The Goal: If the AI picks "Male" but writes about a woman, the Editor gives it a big "F" (a penalty). If it picks "Male" and writes about a man, it gets an "A" (a reward).
  • The Analogy: Think of a chef who is told to make a "Spicy" dish. The Traffic Cop ensures they pick the "Spicy" label 50% of the time. The Strict Editor tastes the food to make sure it actually tastes spicy. If the chef picks the label but serves a bland soup, the Editor sends it back to the kitchen.

The Result: A Perfectly Balanced Menu
By combining the Traffic Cop (who controls the frequency of the choices) and the Strict Editor (who ensures the content matches the choice), the researchers created an AI that can:

  1. Mirror Reality: If you ask for real-world statistics (e.g., "Write stories about construction workers based on US census data"), the AI will generate a mix that matches the real numbers perfectly.
  2. Enforce Fairness: If you want a perfectly balanced mix (50/50) to avoid bias, the AI can do that too, even if the real world isn't balanced.

Why This Matters
Previously, if you wanted an AI to be fair or statistically accurate over many generations, you had to hope for the best or try to trick it with complex prompts (which usually failed). This new method is like giving the AI a dial that you can turn to set the exact percentage of men, women, or different sentiments you want to see in its output, without breaking its ability to tell a good story.

It's the difference between asking a chaotic crowd to "be diverse" (which usually results in a mess) and hiring a professional event planner who knows exactly how many people of each type to invite to make the party perfect.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →