Macaw: An Extensible Conversational Information Seeking Platform

Hamed Zamani, Nick CraswellSIGIR 2019 · OpenReview

Abstract

Conversational information seeking (CIS) has been recognized as a major emerging research area in information retrieval. Such research will require data and tools to allow the implementation and study of conversational systems. This paper introduces Macaw, an open-source framework with a modular architecture for CIS research. Macaw supports multi-turn, multi-modal, and mixed-initiative interactions, and enables research for tasks such as document retrieval, question answering, recommendation, and structured data exploration. It has a modular design to encourage the study of new CIS algorithms, which can be evaluated in batch mode. It can also integrate with a user interface, which allows user studies and data collection in an interactive mode, where the back end can be fully algorithmic or a wizard of oz setup. Macaw is distributed under the MIT License.

Introduction

While Conversational Information Seeking (CIS)—the study of how users interact with systems like Alexa or Siri to find information—is a rapidly expanding research field, a significant "tooling gap" persists. Researchers have access to static datasets like CoQA or TREC CAsT, but they often lack a unified, extensible platform to build and evaluate interactive systems. Developing a conversational agent from scratch is a massive undertaking, requiring complex handling of dialogue state, multi-modal inputs (voice, text, clicks), and backend retrieval logic.

Macaw addresses this challenge by providing a "plug-and-play" environment. It allows researchers to focus on specific algorithms, such as a new retrieval model or a response selection strategy, without the burden of building the underlying infrastructure from the ground up.

System Architecture and Modularity

The core of Macaw is its modular architecture, which follows a design philosophy similar to Model-View-Controller (MVC). This design ensures that the system is both flexible and extensible. Key components include:

  • The Message Object: Every interaction, whether from the user or the system, is treated as a Message object. A conversation is represented as a list of these objects, maintaining the dialogue history.
  • Actions: These are independent modules that satisfy user needs, such as a "Search" action or a "QA" action. Macaw runs all active actions in parallel, allowing for ensemble-style responses.
  • Output Selection: This component decides which response (or combination of responses) from the various actions should be sent back to the user.
The modular architecture of Macaw, illustrating the separation between UI-specific and model-specific components.

By running multiple retrieval and QA algorithms in parallel, Macaw enables sophisticated interactions. For instance, the system can fetch documents via a traditional search engine like Indri while simultaneously attempting to extract a direct answer using a neural model like DrQA.

Multi-Modal Interaction and Deployment

To bridge the gap between laboratory research and real-world application, Macaw supports text, speech, images, and clicks. A strategic feature of the platform is its integration with the Telegram Bot API. This allows researchers to deploy their experimental models to real users on mobile devices instantly, facilitating more realistic user behavior studies.

Example interactions with Macaw via the Telegram Bot API, showing multi-turn search and question answering.

Beyond fully automated modes, Macaw includes dedicated support for Wizard of Oz (WoZ) studies. In this setup, a human "intermediary" (the Wizard) can intercept messages and provide responses. This is essential for collecting high-quality data on human-to-human information-seeking patterns, which can then be used to train more natural automated systems.

Evaluation and Capabilities

Macaw is designed to be compatible with several major CIS benchmarks for evaluation and training, including TREC CAsT, CoQA, QuAC, and Qulac. The platform's functional capabilities have been demonstrated through the successful integration of diverse components: Indri for document retrieval, the Bing Web Search API for live results, and DrQA for machine reading comprehension.

The system also includes built-in handling for multi-turn conversations, such as co-reference resolution and query rewriting. These features are necessary for maintaining context, ensuring the system understands that a follow-up question like "Who is he?" refers to a person mentioned in a previous turn.

Conclusion and Future Work

Macaw provides a robust foundation for CIS research, but several areas remain for future development. Currently, the system lacks a built-in mechanism for asking clarifying questions (e.g., disambiguating between different meanings of a query). Additionally, while the architecture supports it, specific modules for conversational recommendation and improved interactions with structured data (like knowledge graphs) are slated for future releases. By releasing Macaw under the MIT License, the authors aim to foster a community-driven approach to solving these complex challenges in conversational search.

Summary updated

BibTeX
@inproceedings{zamani2019macaw,
  author = {Hamed Zamani and Nick Craswell},
  title = {{Macaw: An Extensible Conversational Information Seeking Platform}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2019},
  url = {https://openreview.net/forum?id=OdvaFbVHKb},
}
Figure