Reward and Behavioral Measures of LLM Coordination in Dining Philosophers
summary
The gist
The gist The group relative policy optimization (GRPO) fine-tuning on rollouts from the task itself did not close the gap between frontier closed-source models and Qwen3-14B at five philosophers,
In short
The study investigated if fine-tuning large language models using Group Relative Policy Optimization (GRPO) could improve their ability to coordinate as multiple agents solving the dining philosophers problem. Results showed that training methodology, specifically the reward formula's degeneracy, was the bottleneck; naive fine-tuning did not close the performance gap between frontier models and Qwen3-14B. The key takeaway is that better coordination requires modifying reward shaping and checkpoint selection strategies to prevent models from collapsing into no-action states.
Key concepts
- Dining Philosophers Problem
- This is a test where multiple AI agents must share limited resources (forks) to complete a task. Each agent needs two adjacent forks to eat, but if everyone picks up one simultaneously, the group can get stuck in a deadlock where no one can proceed.
- Reward Formula Degeneracy
- The scoring system used for training has a flaw: it allows any episode that ends without deadlock, meals, or 'think' calls to score a perfect 1.0 reward. This means models are incentivized to stop taking any action rather than actually achieving progress, creating a barrier to learning effective coordination.
- GRPO Fine-tuning
- This is the specific training method used where models learn by sampling interactions from the task itself (rollouts). The researchers found that even this advanced fine-tuning did not fix the coordination gap, suggesting that the fundamental training recipe or reward structure is more important than simply adding more training steps.
Terminology used across episodes
This episode discusses
- Reward and Behavioral Measures of LLM Coordination in Dining Philosophers · Paper Radio
- Constitutional AI: Harmlessness from AI Feedback
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- The Llama 3 Herd of Models · Paper Radio
- Mistral 7B
- Proximal Policy Optimization Algorithms
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- Voyager: An Open-Ended Embodied Agent with Large Language Models
- Qwen3 Technical Report
The paper
Reward and Behavioral Measures of LLM Coordination in Dining Philosophers · Read on arXiv
Najmul Hasan Prashanth BusiReddyGari
University of North Carolina at Pembroke
Does high reward indicate productive coordination among language-model agents sharing resources? We examine this question in dining philosophers, where instances of the same model must acquire shared forks to eat. We evaluate seven model conditions across 630 episodes at five, ten, and fifteen philosophers, measuring scalar reward, deadlock, and meal throughput. At five philosophers, Mistral-Small 24B receives mean reward 0.827 while producing no meals. The reward decomposition explains this mismatch: avoiding deadlock earns a bonus without requiring meal production. To assess a policy trained with this reward, we compare the final checkpoint from a single Qwen3-14B group relative policy optimization (GRPO) training run with its base model. At five philosophers, the trained model has lower throughput (0.008 versus 0.020) and a higher deadlock rate in point estimates. Differences in mean episode reward are not statistically significant at any evaluated philosopher count. These findings show that the evaluated reward can assign high scores without task progress and support reporting behavioral measures alongside reward when comparing models and evaluating fine-tuned policies.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "Reward and Behavioral Measures of LLM Coordination in Dining Philosophers".
Jane: Here's the gist of the paper. The gist The group relative policy optimization (GRPO) fine-tuning on rollouts from the task itself did not close the gap between frontier closed-source models and Qwen3-14B at five philosophers, indicating that training methodology is a bottleneck for multi-agent coordination Coordination Gap and Model Performance The study measures how well current large language models coordinate as multiple agents sharing a common resource using the dining philosophers problem as a clean testbed Frontier closed-source systems reach mean reward 0.45 to 0.87 at five philosophers, while Mistral-Small 24B reaches 0.83 Qwen3-14B reaches 0.13 The coordination gap is large and statistically significant, with Welch’s t-test on per-episode reward at five philosophers giving p = 0.66 and a Hedges’ g of −0.11 Deadlock rates run from 0.10 to 0.53 on the frontier and from 0.87 to 0.90 for Qwen3-14B variants GRPO Fine-tuning Results Naive GRPO fine-tuning does not close the gap, as a Welch’s t-test on per-episode reward at five philosophers gives t = −0.44, p = 0.66, with Hedges’ g = −0.11 The numerical sign is negative, but the test cannot distinguish the trained model from its base at any of the philosopher counts evaluated Training reward trajectories show that both 8B and 14B runs peaked at step nine and then declined, so the default saved checkpoint at step-15 is strictly worse on the training distribution than the peak The four-term reward admits a degenerate maximum where a model that takes no admissible action yields a maximum reward of 1.0 Reward Formula Degeneracy and Checkpoint Discipline The reward formula admits a degenerate maximum where any episode that ends without deadlock, without any meals, and without any think calls yields r = α = 1.0 This property is exemplified by DeepSeek-R1-Distill-Qwen-7B which emits no parseable tool calls under the serving stack and scores reward 1.0 across all configurations The bottleneck for an open-weight 14B model on multi-agent coordination is not training compute but training methodology, specifically reward shaping that does not collapse to a no-action maximum Furthermore, the default ART configuration writes the final adapter to disk after the last training step, which was past their training-reward peak by that point Scaling and Surprising Results The gap holds at every problem scale tested, as Figure 6 and Table 2 extend the comparison to N ∈ N = 5, 10, and 15 philosophers Two surprises emerge: first, GPT-5.4’s reward rises sharply with N (0.45, 0.67, 0.97), while Claude’s stays flat near 0.87 to 0.93 second, Mistral-Small 24B reaches 0.99 at N = 10 and N = 15, surpassing every frontier closed-source system at those scales Future Interventions Three places to intervene are identified: reward shaping that pairs the no-deadlock term with a meals-occurred indicator prevents the formula from collapsing to a no-action maximum Checkpoint selection over training reward or a held-out validation distribution prevents the saved adapter from being strictly worse than several earlier ones Curriculum across philosopher counts targets a third axis for future work Capacity alone does not produce coordinated multi-agent behavior at the open-weight 14B scale Mistral-Small 24B matches the frontier on dining philosophers (0.83 at N = 5); the smaller Qwen3-14B does not (0.13), and GRPO fine-tuning on rollouts from the task itself did not move that number in either direction (p = 0.66, Hedges’ g = −0.11 at N = 5) The limiting factor is not a few additional training steps but the default training recipe How it works The dining philosophers task requires N philosophers to sit around a circular table, each needing both adjacent forks to eat, succeeding only when every agent eats without deadlocking Each philosopher is exposed as an LLM agent with six tools: pick-up-left, pick-up-right, put-down-left, put-down-right, eat, and think Episodes proceed in rounds where every philosopher takes one action in a randomly shuffled order until all rounds complete or a deadlock is detected Task and Reward Definition The episode is scored with a four-component scalar reward, r = α · rnd + β · rthru − γ · rfair − δ · ridle, where rnd indicates the absence of deadlock at termination, rthru is the total number of meals divided by the upper bound rounds × N, rfair is the variance of meals per philosopher (a fairness penalty), and ridle is the fraction of action attempts that were no-op think calls The formula admits a degenerate maximum where any episode yielding no deadlock, no meals, and no think calls yields r = 1.0 Training Methodology The training is performed via Group Relative Policy Optimization (GRPO) Shao et al.
2024: as implemented in OpenPipe ART Training uses a LoRA adapter Hu et al.
2022: of rank 8 on the base model, with rollouts collected at N = 5 philosophers and 5 rounds per episode Each training step samples two rollout groups of three episodes each, takes two epochs over the collected trajectories, and applies a single Adam Kingma and Ba
2015: update Evaluation Setup For the main experiment, each of the seven models is evaluated on 30 independent episodes at each of N ∈ N = 5, 10, 15 philosophers with 5 rounds per episode, giving a total of 630 episodes The evaluation uses four A100 GPUs serving the four open-source models in parallel Per-episode reward distributions are strongly bimodal, meaning every model’s mean is a mixing weight between a near-1.0 success regime and a near-0.0 deadlock regime Serving Details Open-source models are served locally through vLLM with the appropriate tool-call parser, while closed-source models are queried through OpenRouter’s tool-calling API Every model in the paper sees the same eight prompt artifacts: one system prompt, one per-turn human message template, and six tool descriptions defined once in the shared environment file The reward formula is never shown to the model; it is computed by the environment after each episode terminates and enters training only as a GRPO advantage signal Bimodality Observation Per-episode reward distributions are strongly bimodal, meaning every model’s episodes pile up near reward 1.0 (success) or near reward 0.
Title and authors: Jane: So what they summarize in this paper is how they tested the coordination ability of these LLMs using the dining philosophers problem, focusing on measuring performance across different model sizes and agent counts.
Tom: They lay out the methodology pretty clearly: five agents sit around a table, each needs two forks, and success means everyone eats without causing a deadlock >
Lu: The task is simple enough to evaluate quickly because it exposes a clean four-component reward: no-deadlock, throughput, fairness penalty for meals per philosopher, and idle time from no-op think calls >
Meng: That reward formula itself is what they focus on because it has this weird property—a degenerate maximum where any episode that ends without deadlock, without any meals, and without any think calls yields a reward of one point zero >
Tom: That’s the part I find most intriguing from a practical standpoint because it suggests the system gets rewarded for just not doing anything productive at all >
Jane: Exactly; it shows that if you don't get stuck in a deadlock, but you also don't actually manage to get any meals in, the model still scores a perfect reward of one point zero >
Lu: And they emphasize that this degenerate maximum is a key point because it suggests the bottleneck isn't just about computation time, but really about how we define progress and what we want to incentivize >
Meng: So they are saying that if you don't fix that reward definition, you're going to keep running into coordination issues no matter how big your model gets >
Tom: That makes sense. It’s not just a failure of the model’s reasoning ability; it’s a failure in the objective function they are optimizing for >
Jane: And that ties directly into what we talked about earlier: the paper points out that this reward formula itself is the bottleneck for an open-weight 14B model on multi-agent coordination >
Lu: They then point out that there's a specific configuration, like DeepSeek-R1-Distill-Qwen3B, which scores a reward of one point zero across all configurations because it emits no parseable tool calls under the serving stack >
Meng: So they are highlighting that if your training process leads to a model that just stops trying to use tools or reasoning when things get hard, you're guaranteed a low score on this specific metric >
The paper's summary: Tom: Now let’s look at the suggestions they make for improving this setup. They suggest three main areas to intervene in their training methodology that are beyond just fine-tuning the policy.
Jane: First is reward shaping, which they want to pair the no-deadlock term with an indicator that meals actually occurred so it stops that formula from collapsing into that no-action maximum we talked about >
Lu: That’s a crucial fix because it directly addresses the degeneracy and pushes the model toward achieving actual progress instead of just avoiding failure >
Meng: I agree. And second, checkpoint discipline overhaul; they suggest moving away from saving based on the last step to using a best-of-k checkpoint over training reward or a held-out validation distribution >
Tom: That’s practical advice for deployment: don't trust the default saving mechanism if it’s not explicitly tied to performance metrics you care about >
Jane: And third, they suggest curriculum across problem scales, which means training them on different numbers of philosophers, N=five ten and fifteen to target a different learning regime for coordination >
Lu: Curriculum across those scales is ambitious because it tries to find a universal training strategy that works regardless of the number of agents involved >
Meng: I think if you can solve the reward shaping and checkpoint discipline issues, then curriculum across scales becomes a much more meaningful experiment for testing generalization >
The paper's improvements: Tom: So to wrap up on this paper, the big picture is that capacity alone doesn't produce coordinated multi-agent behavior at the open-weight 14B scale, and the limiting factor isn't just a few more training steps >
Jane: It points squarely at the default training recipe as the real bottleneck for improving coordination in these systems >
Lu: They show that even with GRPO fine-tuning on rollouts from the task itself, they couldn't move Qwen3-14B's score much because of these underlying methodological limitations >
Meng: So we need to focus on fixing the reward shaping and checkpoint discipline before we can expect better results in this area >
Tom: Exactly; the path forward involves making sure the training objective actually matches what we want to achieve—meaning actual progress, not just avoiding failure or idling >
Jane: It’s a pretty sobering look at where we are right now, but it gives us concrete steps on how to fix the methodology when building these complex AI systems >
Lu: I think the paper's contribution is showing that for coordination tasks like this, the structure of the reward function is just as important as the model's raw training data or compute budget >
Meng: It’s about designing a system where progress is explicitly rewarded, which changes how we approach RL in these scenarios >
Tom: That seems to be it. A necessary shift from just optimizing for avoiding deadlocks to actively optimizing for achieving meals and throughput >
Tom: We've covered the Dining Philosophers paper today. It’s clear that simply scaling up model size isn't the only thing that helps us get better multi-agent coordination results.
Jane: That’s right, the paper shows we need to look much deeper into the training process, specifically how we shape our goals and save our models.
Lu: The structure of the reward function itself seems to be a key piece here; it dictates what kind of behavior the AI will prioritize when learning coordination >
Meng: And from an engineering standpoint, we need to stop relying on default checkpoint saving methods that don't actually align with what matters for performance >
Tom: We’re talking about shifting from just optimizing for avoiding deadlocks to actively optimizing for achieving meals and throughput in the training objective.
Jane: That’s a pretty sobering look at where we are right now, but it gives us concrete steps on how to fix the methodology when building these complex AI systems.
Lu: I think the paper's contribution is showing that for coordination tasks like this, the structure of the reward function is just as important as the model's raw training data or compute budget.
Meng: It’s about designing a system where progress is explicitly rewarded, which changes how we approach RL in these scenarios.
Tom: That seems to be it; a necessary shift from just optimizing for avoiding deadlocks to actively optimizing for achieving meals and throughput.
Conclusion: ---: Conclusion ---
Tom: So to wrap up on "Reward and Behavioral Measures of LLM Coordination in Dining Philosophers," we’ve seen that capacity alone doesn't produce coordinated multi-agent behavior at the open-weight 14B scale, and the limiting factor isn't just a few more training steps.
Jane: It points squarely at the default training recipe as the real bottleneck for improving coordination in these systems.
Lu: They show that even with Group Relative Policy Optimization fine-tuning on rollouts from the task, they couldn't move Qwen3-14B's score much because of these underlying methodological limitations.
Meng: So we need to focus on fixing the reward shaping and checkpoint discipline before we can expect better results in this area.
Tom: Exactly. The path forward involves making sure the training objective actually matches what we want to achieve—meaning actual progress, not just avoiding failure or idling.
Jane: It’s a pretty sobering look at where we are right now, but it gives us concrete steps on how to fix the methodology when building these complex AI systems.
Lu: I think the paper's contribution is showing that for coordination tasks like this, the structure of the reward function is just as important as the model's raw training data or compute budget.
Meng: It’s about designing a system where progress is explicitly rewarded, which changes how we approach reinforcement learning in these scenarios.
Tom: That seems to be it. A necessary shift from just optimizing for avoiding deadlocks to actively optimizing for achieving meals and throughput.
More episodes
- The day in conversation for 2026-10-22
- Daily Summary for 2026-10-22
- 2605.08646-PAAC: Privacy-Aware Agentic Device-Cloud Collaboration
- 2605.10299-Nearly Optimal Algorithms for Adversarial Kernelized Bandits
- 2605.12025-Approximation Theory of Laplacian-Based Neural Operators for Reaction-Diffusion System
- 2605.15706-Differentiable Mixture-of-Agents Incentivizes Swarm Intelligence of Large Language Models
- 2605.16170-BAPR: Bayesian amnesic piecewise-robust reinforcement learning for non-stationary continuous control
- 2605.16311-SignMuon: Communication-Efficient Distributed Muon Optimization
- 2605.17429-Radial-Angular Geometry for Reliable Update Diagnosis in Noisy-Label Learning
- 2605.18170-Buffer-Parameterized Machine Learning Surrogate Models for Cross-Technology Signal Integrity Analysis and Optimization