TL;DR
MEEP (Multi-Domain End-to-End Platform) is a new open-source framework designed to bridge the gap between natural human conversation and structured data for training task-oriented dialog agents. By using a unique "push-button" interface for human agents, MEEP collects executable session logs that capture not just what an agent says, but the specific API calls and data manipulations they perform to solve a user's request.
What Problem Does This Paper Address?
Building task-oriented dialog systems (like those used for ride-hailing or customer support) has traditionally relied on rigid, hand-constructed pipelines involving "slots" and "fillers." While researchers want to move toward flexible, end-to-end neural models, they face a data bottleneck.
Naturally occurring dialogs (like call center logs) often lack the "ground truth" of what the agent was actually doing behind the scenes—which buttons they clicked or which databases they queried. Conversely, existing Wizard-of-Oz (WOZ) platforms, where a human "wizard" pretends to be an AI, often allow free-text responses that are difficult for machine learning models to replicate without massive amounts of data and complex annotations. MEEP aims to solve this by providing a platform that constrains the agent's actions to a series of clicks while maintaining enough flexibility to handle complex, real-world tasks.
Methods
The core of MEEP is its specialized WOZ interface. While the user can type freely, the human agent is restricted to a "push-button" environment:
- Utterance Templates: Agents select from a growing list of sentence templates.
- Parameter Filling: Agents fill template slots by clicking on specific words in the user's chat history or results from API calls.
- API Control: Agents trigger API calls (like Google Maps or Distance Matrix) by clicking parameters.
Every action taken by the human agent is recorded as a sequence of clicks, which MEEP stores as fully executable Python code. This allows for perfect replay of sessions and provides a clear supervision signal for training.
The authors tested three types of automatic agents:
- BERT-based: Formulates action, query, and parameter prediction as a sequence labeling task.
- GPT-based: Fine-tunes GPT-2 to generate the next agent action in a plain-text format.
- Hand-built: A rule-based system derived from patterns observed in the collected data.
Datasets
The authors focused on the domain of trip destination specification (e.g., ordering a ride to a specific landmark or a type of restaurant).
They collected a corpus of 490 dialogs, totaling approximately 10,000 human agent clicks. This dataset was split into training, development, and test sets to evaluate how well the automated agents could mimic human decision-making.
Key Insights and Ideas
- Structure without Sacrifice: The "push-button" constraint for agents is the paper's most clever insight. It forces the data into a machine-readable format at the point of collection, eliminating the need for expensive post-hoc annotation. Surprisingly, human agents found this interface sufficient to satisfy complex user goals.
- Executable Logs as Ground Truth: By saving logs as executable code, the researchers ensure that the training data is grounded in actual system actions, not just surface-level text.
- Data is the Bottleneck: The learning curves clearly show that performance improves as more dialogs are added. The authors noted a 2% absolute gain in accuracy just by increasing the training set by 20%, suggesting that the platform's primary value is in its ability to scale data collection.
Key Results
The agents were evaluated both intrinsically (how well they predicted the next "click") and extrinsically (success rate in live dialogs with real users).
- Intrinsic Performance: The best-trained neural model (BERT-based with agent embeddings) achieved 70% click-level accuracy. Interestingly, even human predictors only reached 68% accuracy when trying to guess another human's next click, highlighting that there are often multiple "correct" ways to handle a dialog turn.
- Extrinsic Success: In live tests, the hand-built agent performed best (90.1% success rate), significantly outperforming the BERT-based (65.2%) and GPT-based (57.4%) models. This indicates that while neural models are learning, they still struggle with the long-term consistency required to complete a task compared to robust rules.
Limitations and Future Work
The main limitation identified is the scale of data. While 490 dialogs is a start, the learning curves suggest that thousands more are needed for neural agents to rival hand-built systems. Additionally, neural agents occasionally make "severe" mistakes that cause them to veer off track, a common issue in end-to-end systems without explicit state tracking.
Future work involves extending MEEP to support interactions between human users and automatic agents, as well as "self-play" scenarios where automatic agents explore APIs and communication strategies together to improve their performance.
Summary updated