Abstract
As Large Language Models (LLMs) transition from static text generators to interactive agents, traditional evaluation metrics are increasingly insufficient. This paper introduces BotEval, an open-source, highly customizable toolkit designed to facilitate live, multi-turn human-bot interactions. By providing a modular web interface and a comprehensive administrative dashboard, BotEval enables researchers to move beyond "bystander" evaluations and capture the nuances of real-world interaction. The framework integrates seamlessly with crowdsourcing platforms and decouples model hosting from evaluation logic, offering a scalable solution for assessing complex tasks such as negotiation and moderation.
Introduction
The rapid evolution of Natural Language Processing (NLP) has produced sophisticated agents capable of nuanced tasks like counseling, conflict resolution, and moderation. However, evaluation methodologies have largely remained static. Most current benchmarks rely on "static evaluation," where human judges score pre-generated transcripts or single-turn responses.
This "bystander" approach fails to capture the dynamic nature of conversation. A model may appear polite in a static transcript yet prove frustratingly unhelpful in a live, multi-turn dialogue. Furthermore, research indicates that an evaluator’s perspective—whether they are interacting with the bot (1st person) or observing a recording (3rd person)—significantly alters their perception of the model’s performance. To address these gaps, we present BotEval, a tool designed to simplify the setup, management, and scaling of interactive "human-in-the-loop" evaluations.
The BotEval Architecture
BotEval is built as a web application utilizing a standard client-server architecture, prioritizing modularity and ease of deployment.
Frontend Design
The user interface is built with Bootstrap and Jinja2, featuring a responsive design divided into three functional panes:
- Conversation Pane: Facilitates live chat. It supports "stubs"—initial conversation fragments—to test specific scenarios or edge cases.
- Instruction Pane: Displays dynamic guidelines to the human evaluator, ensuring they understand the specific goals of the interaction.
- Survey Pane: Collects quantitative and qualitative feedback (e.g., Likert-scale ratings) triggered after a predefined number of turns.
Backend and Bot Integration
The backend is powered by Python and Flask, with SQLAlchemy and SQLite managing the data layer. A key architectural decision in BotEval is treating bots as separate RESTful APIs. This decoupling allows researchers to host resource-intensive models on GPU-optimized servers while the evaluation toolkit runs on a lightweight web server. This prevents latency issues that could negatively impact the human evaluator's experience. Switching between models (e.g., comparing a local model to an OpenAI endpoint) is as simple as updating a URL in a YAML configuration file.
Administrative Dashboard
To support non-technical researchers, BotEval includes a GUI-based administrative dashboard. This dashboard allows users to launch tasks, monitor worker progress in real-time, and manage crowdsourcing qualifications. Researchers can block unreliable workers or issue bonuses directly through the interface, significantly reducing the operational friction of large-scale human evaluations.
Key Insights: Interactivity and Perspective
Our research with BotEval highlights two critical factors in LLM evaluation:
- Interactivity as a Requirement: Rankings between dialogue models can shift dramatically when evaluated on multi-turn interactions versus single-turn responses. Static benchmarks may fail to predict how a model behaves over the course of a long conversation.
- The Impact of Point-of-View (POV): In a case study focused on conversational moderation, we found that evaluators acting as the "moderated user" perceived bots as more effective and respectful than third-party bystanders. This suggests that the evaluator's role is a variable that must be controlled and reported in NLP research.
Results and Comparative Analysis
BotEval was compared against over 15 existing annotation tools, including Mephisto, doccano, and Argilla. It emerged as the only tool that natively supports human-bot interaction, crowdsource integration, and multi-human/multi-bot support simultaneously.
In a practical application, we used BotEval to evaluate various Instruction-Tuned Language Models (ITLMs) on moderation tasks. The results showed that prompt-engineered models using a "Socratic method" for conflict resolution outperformed specialized prosocial dialogue models. The administrative dashboard allowed for rapid iteration, enabling researchers to refine worker instructions based on real-time feedback.
Limitations and Future Work
While BotEval provides a robust framework, some limitations remain. Currently, updating the "Dialogue Manager" logic requires a system restart, which can disrupt active evaluation sessions. Additionally, while the API-based bot integration is flexible, researchers must still manage the uptime and deployment of their bot servers independently.
Future development will focus on expanding the template library to include multi-modal interactions (image and video) and complex multi-agent scenarios, where multiple humans and bots can interact within the same environment.
Summary updated