Abstract
Standard Large Language Model (LLM) alignment techniques, such as RLHF, often optimize for a single reward signal, which can lead to sub-optimal conversational dynamics. Models may become excessively verbose or over-clarify to maximize a helpfulness metric, creating a "Prisoner’s Dilemma" where efficiency is sacrificed. We introduce GTAlign, a novel framework that treats LLM-user interactions as strategic games. By incorporating a Game-Theoretic Reasoning Chain and optimizing for a "social welfare" reward using the Cobb-Douglas function, GTAlign produces responses that are more efficient and helpful. Our results demonstrate significant gains in reasoning efficiency (31%) and social welfare (up to 10.5% on out-of-domain tasks) compared to traditional baselines.
Introduction: The Alignment Dilemma
Current alignment focuses on maximizing user satisfaction, but often ignores the trade-offs between user welfare (e.g., speed, accuracy) and LLM welfare (e.g., compute cost, risk avoidance). This lack of strategic reasoning leads models to default to rigid, repetitive patterns.
As shown in the Core Game Matrix, a model might choose a low-effort direct answer to avoid risk, resulting in a Nash Equilibrium where both parties receive low payoffs. GTAlign aims to shift this dynamic toward an "Ideal Interaction" where the model may sacrifice immediate gain (e.g., by asking a clarifying question) to achieve a higher joint payoff in the long term.
Methodology: Strategic Reasoning and Welfare Modeling
GTAlign introduces three primary innovations to move beyond simple behavioral imitation:
1. Game-Theoretic Reasoning Chain
Instead of generating a direct response, the model follows a structured internal process:
<thinking>: Qualitative analysis of user intent and objectives.<payoff>: Construction of a JSON-formatted payoff matrix estimating utilities for both the user and the LLM across different actions.<analysis>: Solving the matrix to find the Pareto frontier and selecting the action that maximizes social welfare.<response>: The final output delivered to the user.
2. Social Welfare Reward
During training, the authors use the Cobb-Douglas function ($W_{mutual} = \sqrt{U \cdot L}$) to aggregate User Welfare ($U$) and LLM Welfare ($L$). This non-linear function enforces fairness; if either the user or the model receives zero utility, the total welfare collapses, preventing the model from becoming a "yes-man" at its own expense or becoming overly selfish.
3. Inference-Time Steering
Because the model's decision is grounded in an explicit payoff matrix, developers can "steer" the model without retraining. For example, injecting a "token cost penalty" into the payoff matrix at runtime can cause the model to shift from verbose reasoning to concise answers.
Key Results and Insights
GTAlign was tested using Qwen2.5-3B as the base model and outperformed significantly larger baselines across diverse tasks including Math, Ambig-QA, and safety-critical prompts.
- Efficiency: On the Math dataset, GTAlign improved reasoning efficiency (Answer Score per Token) by 31%.
- Social Welfare: Across in-distribution tasks, it achieved a 7.2% gain in social welfare, rising to 10.5% on Out-of-Domain (OOD) tasks.
- Behavioral Accuracy: In safety and ambiguity tasks, the model achieved over 93% accuracy in choosing the rational strategic action (e.g., refusing a harmful prompt vs. clarifying a vague one).
- Human Preference: A user study showed an 11.3% improvement in human satisfaction compared to standard Supervised Fine-Tuning (SFT).
Conclusion
GTAlign demonstrates that LLMs can be taught to "cooperate" by sacrificing short-term rewards for long-term mutual benefit. By forcing the model to output a JSON payoff matrix, the framework also provides inherent interpretability, making the model's strategic decisions auditable. Future work will explore multi-agent scaling and the integration of external solvers for more complex strategic scenarios.
Summary updated