scimeatlas

Research map / Multi-agent systems and games / LLM agents

PairCoder: Pair Programming-Inspired Two-Agent Collaboration for Code Generation

Junhao Chen, Xiang Li, Yibin Xu, Yuehan Cui, Fangsheng Weng, Hao Zhao, Fei Ma, Qi Tian

ACL 2026Multi-agent systems and games › LLM agentsapproach: LLM multi-agent decision makingopen problems in this approach6 citations (OpenAlex)

Tsinghua University · Peking University · Tongji University · BAAI · Guangdong Laboratory of Artificial Intelligence and Digital Economy

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
8improved
1no clear effect
2hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use PairCoder Driver/Navigator pairing instead of single-model inferenceLlama-3-8B · HumanEval pass@1pass@1 (%): 62.2 -> 74.8Improved
Use PairCoder instead of single-model inferenceGPT-3.5-turbo · HumanEval pass@1pass@1 (%): 69.5 -> 81.2Improved
Use PairCoder instead of single-model inferenceGPT-4 · HumanEval pass@1pass@1 (%): 86.6 -> 91.0Improved
Use PairCoder rather than ReflexionGPT-4 · HumanEval pass@1pass@1 (%): 91.0 vs 91.0No clear effect
Use PairCoder rather than AgentCoderWizardCoder-34B · HumanEval pass@1pass@1 (%): 80.3 (AgentCoder) vs 78.8Hurt
Use PairCoder as generation module inside Self-Collaboration (ablation)GPT-4 · HumanEval pass@1pass@1 (%): 90.2 -> 93.9Improved
Use PairCoder as generation module inside MetaGPT (ablation)GPT-4 · HumanEval pass@1pass@1 (%): 88.9 -> 91.8Improved
Use PairCoder vs multi-agent baselines on token costGPT-3.5-turbo · HumanEval token costtokens per task: 1,382 -> 832 (vs Self-Collaboration)Improved
Switch roles after two consecutive error detections (ablation)PairCoder · HumanEval pass@1accuracyImproved
Raise error-switch threshold to ten rounds (ablation)PairCoder · HumanEval pass@1accuracyHurt
Pair heterogeneous LLMs (general dialogue Navigator, code-specialized Driver)PairCoder · HumanEval pass@1pass@1 (%)Mixed
Pair two instances of the same modelPairCoder · HumanEval pass@1pass@1 (%): e.g. 86.6 -> 91.03 (GPT-4)Improved

Later papers that compared with this method

2 later accepted papers report PairCoder as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in LLM multi-agent decision making

How can teams of LLM agents decide and coordinate better than one agent, at a cost and risk worth paying?

All 4 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy