[Paper Review] Iris: A Conversational Agent for Complex Tasks
Iris is a conversational agent that enables complex data science tasks by composing simple natural language commands through a domain-specific language and conversational type system. It achieves a 2.6× speedup in predictive modeling tasks compared to non-conversational programming environments, demonstrating dynamic command composition for user-driven, goal-oriented workflows.
Today's conversational agents are restricted to simple standalone commands. In this paper, we present Iris, an agent that draws on human conversational strategies to combine commands, allowing it to perform more complex tasks that it has not been explicitly designed to support: for example, composing one command to "plot a histogram" with another to first "log-transform the data". To enable this complexity, we introduce a domain specific language that transforms commands into automata that Iris can compose, sequence, and execute dynamically by interacting with a user through natural language, as well as a conversational type system that manages what kinds of commands can be combined. We have designed Iris to help users with data science tasks, a domain that requires support for command combination. In evaluation, we find that data scientists complete a predictive modeling task significantly faster (2.6 times speedup) with Iris than a modern non-conversational programming environment. Iris supports the same kinds of commands as today's agents, but empowers users to weave together these commands to accomplish complex goals.
Motivation & Objective
- To address the limitation of current conversational agents that handle only simple, standalone commands.
- To enable users to combine basic commands into complex, multi-step data science workflows through natural language interaction.
- To design a system that dynamically composes and sequences commands based on user intent and conversational context.
- To support complex data science tasks—such as log-transforming data before plotting a histogram—without requiring explicit programming.
- To evaluate whether conversational command composition improves task completion speed and usability in real-world data science workflows.
Proposed method
- Iris uses a domain-specific language (DSL) to translate natural language commands into finite-state automata for programmatic execution.
- The system employs a conversational type system to validate and manage the compatibility of command combinations, ensuring semantic correctness.
- Commands are dynamically composed and sequenced through iterative user interaction, allowing users to build complex workflows step by step.
- The agent supports both standalone commands and composite workflows, enabling users to chain operations like data transformation and visualization.
- The architecture integrates natural language understanding with executable program representations to support flexible, interactive task execution.
- Evaluation is conducted using a real-world predictive modeling task, comparing task completion time with a non-conversational programming environment.
Experimental results
Research questions
- RQ1Can a conversational agent effectively compose multiple simple commands into complex, multi-step data science workflows?
- RQ2How does command composition through natural language interaction affect task completion speed in data science?
- RQ3What mechanisms are required to ensure semantic consistency when combining diverse commands in a conversational setting?
- RQ4To what extent can users achieve complex data science goals without writing code, using only natural language and command composition?
- RQ5How does the performance of a conversational agent with dynamic command composition compare to traditional non-conversational programming environments?
Key findings
- Iris enables users to complete a predictive modeling task 2.6 times faster than with a modern non-conversational programming environment.
- The system successfully supports the composition of commands such as log-transforming data followed by histogram plotting, demonstrating dynamic workflow creation.
- The conversational type system effectively prevents invalid command combinations, maintaining semantic integrity during interaction.
- Users were able to express complex data science goals through natural language without writing code, relying on command composition.
- The domain-specific language and automata-based execution model allow for reliable and extensible command execution in a conversational context.
- The results indicate that conversational agents can significantly improve productivity in data science by supporting flexible, goal-driven command composition.
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.