NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mixture of Prompt Experts for Generalizable and Interpretable Question Answering

Chenglei Si, Weijia Shi, Chen Zhao, Luke Zettlemoyer, Jordan L. Boyd-Graber · OpenReview

Abstract

One of the ultimate quests of question answering (QA) is to deploy a system that can answer any type of question from the users, and refrain from answering when it does not know the answer. While recent advancements in scaling large language models (LLMs) brought significant improvements on various QA datasets, it remains difficult for a single model to generalize across question types that require distinct reasoning abilities. In this paper, we first provide empirical evidence that state-of-the-art LLMs such as Codex suffer from poor generalizability on question types beyond those seen in the prompt. To address this, we propose a Mixture-of-Reasoning-Experts (MoRE) system that ensembles multiple specialized LLMs. By strategically selecting the best specialized model for each given question, our MoRE system significantly outperforms any single specialized model on a collection of 12 QA datasets from four reasoning types. Moreover, the attribution and agreement among specialized expert models offer greater interpretability, allowing for better selective question answering.

Introduction

Large language models (LLMs) have demonstrated remarkable capabilities as general-purpose reasoners. However, they often encounter a "performance cliff" when faced with diverse question types that require specialized reasoning—such as multi-step mathematics versus factual retrieval. A prompt optimized for one domain often fails to generalize to another. Furthermore, LLMs typically act as "black boxes," making it difficult for users to determine when an output is reliable.

To address these challenges, we introduce the MoRE framework. MoRE ensembles specialized LLM "experts," each prompted for a specific reasoning category. By leveraging inter-expert agreement and confidence signals, MoRE achieves higher generalizability than single models and provides an interpretable mechanism for selective prediction—knowing when to abstain from answering.

The MoRE Framework

The core idea of MoRE is to move away from a single generalist prompt toward a panel of specialized experts. We implement four distinct experts using the same backbone model (Codex), each with a tailored prompting strategy:

  • Factual Expert: Employs retrieval-augmented prompting, fetching relevant Wikipedia passages to ground its answers.
  • Multihop Expert: Uses Chain-of-Thought (CoT) prompting to decompose complex, multi-step questions.
  • Math Expert: Utilizes CoT prompting specifically optimized for multi-step numerical calculations.
  • Commonsense Expert: Uses "generated knowledge" prompting to elicit implicit background facts before answering.
Overview of the MoRE framework: A question is processed by four specialized experts, whose predictions and confidence scores are evaluated by an Answer Selector to produce a final answer or abstain.

The Answer Selector

Rather than pre-assigning a question to a specific expert, MoRE runs all four experts for every query. A Random Forest (RF) classifier acts as a router to select the best final answer. This selector considers three primary features:

  1. Expert Confidence: The log-probability of the generated answer string.
  2. Inter-Expert Agreement: A novel signal that checks if different specialized experts arrived at the same answer. Agreement between diverse experts (e.g., Math and Factual) serves as a strong indicator of correctness.
  3. Selective Prediction: If the top answer's predicted reliability score falls below a specific threshold, the system chooses to Abstain rather than provide a potentially incorrect answer.

Experimental Evaluation

We evaluated MoRE across 12 diverse QA datasets categorized into four reasoning types: Factual (NQ, TriviaQA, SQuAD), Multihop (HotpotQA, BeerQA3+, MuSiQue), Math (GSM8K, SVAMP, MultiArith), and Commonsense (CSQA, CSQA2.0, QASC).

Key Results

MoRE significantly outperforms both standard few-shot baselines and individual specialized experts. As shown in the results table below, the MoRE - RF Router achieves a macro-average accuracy of 57.6%, compared to 49.6% for the best single expert (Commonsense) and 44.3% for a specific few-shot baseline.

Performance comparison of MoRE against single experts and baselines across 12 datasets. MoRE (RF Router) consistently achieves the highest macro-average accuracy.

Beyond raw accuracy, MoRE excels at selective prediction. By using agreement features, the MoRE calibrator achieved an Area Under Curve (AUC) of 28.3 (lower is better), significantly outperforming the standard "MaxProb" baseline (34.8). This indicates that the system is much better at identifying its own errors.

Interpretability and Human Calibration

A key advantage of the mixture-of-experts approach is interpretability. By presenting the "internal deliberations" of the experts to users, MoRE helps humans better calibrate their trust in the system. In a human study, annotators using the MoRE interface—which displays expert predictions and confidence scores—were 10.5% more accurate at judging system correctness and made these decisions 12% faster than those seeing only a final answer.

Conclusion

MoRE demonstrates that ensembling specialized prompts is a powerful strategy for building generalizable and reliable QA systems. By treating LLMs as a panel of experts rather than a single oracle, we can leverage inter-expert agreement to improve accuracy and provide a clear signal for when to abstain. While MoRE currently incurs a higher inference cost, it provides a robust foundation for more transparent and trustworthy AI systems.

Summary updated

BibTeX
@inproceedings{si2023mixture,
  author = {Chenglei Si and Weijia Shi and Chen Zhao and Luke Zettlemoyer and Jordan L. Boyd-Graber},
  title = {{Mixture of Prompt Experts for Generalizable and Interpretable Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.552},
}
Figure