Abstract
Human intelligence thrives on the concept of cognitive synergy, where collaboration and information integration among different cognitive processes yield superior outcomes compared to individual cognitive processes in isolation. Although Large Language Models (LLMs) have demonstrated promising performance as general task-solving agents, they still struggle with tasks that require intensive domain knowledge and complex reasoning. In this work, we propose Solo Performance Prompting (SPP), which transforms a single LLM into a cognitive synergist by engaging in multi-turn self-collaboration with multiple personas. A cognitive synergist refers to an intelligent agent that collaborates with multiple minds, combining their individual strengths and knowledge, to enhance problem-solving and overall performance in complex tasks. By dynamically identifying and simulating different personas based on task inputs, SPP unleashes the potential of cognitive synergy in LLMs. We have discovered that assigning multiple, fine-grained personas in LLMs elicits better problem-solving abilities compared to using a single or fixed number of personas. We evaluate SPP on three challenging tasks: Trivia Creative Writing, Codenames Collaborative, and Logic Grid Puzzle, encompassing both knowledge-intensive and reasoning-intensive types. Unlike previous works, such as Chain-of-Thought, that solely enhance the reasoning abilities in LLMs, SPP effectively elicits internal knowledge acquisition abilities, reduces hallucination, and maintains strong reasoning capabilities. Code, data, and prompts can be found at: https://github.com/MikeWangWZHL/Solo-Performance-Prompting.git.
Introduction
While state-of-the-art Large Language Models (LLMs) like GPT-4 are impressive generalists, they face two persistent hurdles: factual hallucinations and complex multi-step reasoning. Existing solutions like Chain-of-Thought (CoT) prompting primarily target logical reasoning but do not necessarily improve factual accuracy. Conversely, multi-agent systems that employ multiple LLM instances can solve complex problems but are computationally expensive and often rely on static, pre-defined roles.
This paper introduces Solo Performance Prompting (SPP), a technique that allows a single LLM to simulate a "meeting of the minds" within itself. By prompting the model to identify, simulate, and collaborate with multiple distinct personas, SPP transforms the LLM into a "cognitive synergist" capable of integrating diverse perspectives to solve complex tasks more effectively than a single persona could.
Solo Performance Prompting (SPP)
SPP is a zero-shot prompting strategy that follows a three-step internal workflow designed to elicit cognitive synergy:
- Persona Identification: Given a task input, the LLM identifies a group of "participants" (personas) that would be useful for the specific problem. For example, a task involving music and history might trigger the identification of a "Music Expert" and a "Historian."
- Brainstorming: Each identified persona provides initial knowledge or suggestions based on their specific domain expertise.
- Multi-Persona Iterative Collaboration: An "AI Assistant" persona acts as a coordinator, drafting a solution and soliciting feedback from the other personas. The model iterates on the answer until the simulated experts are satisfied.
This approach differs from standard prompting (direct answer) and CoT (linear steps) by introducing a non-linear, multi-perspective feedback loop within a single inference session.
Experimental Setup
The researchers evaluated SPP on three challenging benchmarks:
- Trivia Creative Writing: A task requiring the model to write a coherent story incorporating answers to $N$ trivia questions. This tests the ability to integrate diverse facts without hallucinating.
- Codenames Collaborative: Based on the popular board game, this requires the LLM to play both the "Spymaster" (giving hints) and the "Guesser" (interpreting them), testing "Theory of Mind" and creative reasoning.
- Logic Grid Puzzle: A reasoning-intensive task from BigBench where the model must deduce attributes based on complex clues.
Key Insights and Results
SPP demonstrates significant performance gains, particularly in reducing hallucinations and improving reasoning stability. By forcing the model to brainstorm as specialized "experts" before drafting, SPP activates an internal self-correction mechanism.
Major Findings:
- Cognitive Synergy as an Emergent Property: SPP's effectiveness is highly dependent on model scale. While it works remarkably well with GPT-4, smaller models like GPT-3.5-turbo or Llama2-13b suffer from "early termination"—they identify personas but fail to simulate the actual dialogue. This suggests that the ability to "collaborate with oneself" is a high-level capability that emerges at scale.
- Dynamic vs. Fixed Personas: Allowing the LLM to dynamically choose fine-grained personas (e.g., "Jay Chou Fan") is significantly more effective than assigning fixed, generic personas. Specificity helps the model "unlock" more relevant training data.
- Performance Gains: In Trivia Creative Writing, SPP outperformed standard prompting by up to 10.0%. In Logic Grid Puzzles, it achieved a massive 18.5% relative gain. Notably, in Codenames, iterative self-refinement without personas actually led to a performance drop, suggesting that the perspective of the persona is the critical ingredient.
Conclusion
Solo Performance Prompting demonstrates that a single LLM can effectively simulate multi-persona collaboration to enhance its own problem-solving capabilities. While SPP consumes more tokens than standard prompting, the resulting reduction in hallucinations and improvement in complex reasoning make it a powerful tool for high-stakes tasks. Future work may explore integrating these cognitive synergists with external tools to further ground their expert personas in verifiable facts.
Summary updated