[Paper Review] TWEAC: Transformer with Extendable QA Agent Classifiers
TWEAC proposes a meta-question answering system that dynamically selects from a diverse ensemble of specialized QA agents using a scalable, extensible Transformer-based classifier. It achieves 94% accuracy in identifying the correct QA agent with only 1,000 training examples per agent and scales robustly to over 100 agents without full retraining, enabling efficient, accurate, and extensible QA routing in open-domain settings.
Question answering systems should help users to access knowledge on a broad range of topics and to answer a wide array of different questions. Most systems fall short of this expectation as they are only specialized in one particular setting, e.g., answering factual questions with Wikipedia data. To overcome this limitation, we propose composing multiple QA agents within a meta-QA system. We argue that there exist a wide range of specialized QA agents in literature. Thus, we address the central research question of how to effectively and efficiently identify suitable QA agents for any given question. We study both supervised and unsupervised approaches to address this challenge, showing that TWEAC -- Transformer with Extendable Agent Classifiers -- achieves the best performance overall with 94% accuracy. We provide extensive insights on the scalability of TWEAC, demonstrating that it scales robustly to over 100 QA agents with each providing just 1000 examples of questions they can answer. Our code and data is available: https://github.com/UKPLab/TWEAC-qa-agent-selection
Motivation & Objective
- To address the limitation of existing QA systems that are restricted to narrow domains or data sources.
- To enable a meta-QA system that can route questions to the most suitable specialized QA agent from a diverse ensemble.
- To design a system that is extensible, scalable, and sample-efficient, even with limited training data per agent.
- To evaluate the performance of agent selection under realistic and large-scale conditions with hundreds of QA agents.
- To explore strategies for extending the model with new agents without full retraining, ensuring practical deployment.
Proposed method
- TWEAC employs a Transformer-based classifier that is fine-tuned to predict the most relevant QA agent for a given question.
- The model is trained on question embeddings derived from sentence encoders and BM25 features to capture semantic and lexical relevance.
- A half-and-half sampling strategy enables incremental extension of the model with new QA agents using only a fraction of the full dataset, avoiding full retraining.
- The system treats QA agents as black boxes, focusing solely on question-to-agent mapping without modifying internal agent architectures.
- The method supports both supervised and unsupervised agent selection, with TWEAC outperforming similarity-based baselines.
- The model is evaluated on two large-scale datasets: 171 Reddit subreddits and 200 StackExchange forums, simulating real-world diversity.
Experimental results
Research questions
- RQ1How can a meta-QA system effectively and efficiently identify the most suitable QA agent for a given question among a large ensemble of specialized agents?
- RQ2To what extent can a QA agent selection model remain accurate and scalable when extending to over 100 agents with minimal training data per agent?
- RQ3Can a fine-tuned Transformer model achieve high accuracy in agent selection while enabling incremental updates without full retraining?
- RQ4How do overlapping topics between QA agents affect model performance, and can human performance serve as a benchmark for model errors?
- RQ5What training strategy enables the best trade-off between accuracy and training efficiency when extending the agent set?
Key findings
- TWEAC achieves 94% accuracy in identifying the correct QA agent, outperforming all baselines in both the Reddit and StackExchange evaluation settings.
- The model maintains high performance with only 1,000 labeled examples per QA agent, demonstrating strong sample efficiency.
- TWEAC scales robustly to over 100 QA agents, with performance decreasing only slightly as the number of agents increases.
- The half-and-half sampling strategy enables efficient incremental training with constant training time, reducing the need for full retraining when adding new agents.
- A significant portion of errors (10%) are due to only 0.5% of unique agent pairs, primarily caused by topic overlap between forums such as English Language Learner and English.
- Human annotators achieve only 43% and 55% accuracy in distinguishing between correct and incorrect agent predictions for failed cases, indicating that such errors are inherently ambiguous and not easily avoidable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.