Towards Problem Solving Agents that Communicate and Learn

Anjali Narayan-Chen, Colin Graber, Mayukh Das, Md. Rakibul Islam, Soham Dan, Sriraam Natarajan, Janardhan Rao Doppa, Julia Hockenmaier, Martha Palmer, Dan Roth

Abstract

Traditional AI agents often struggle with the ambiguity and evolving vocabulary of natural language instructions. This paper presents COG, an agent architecture designed for symmetric communication. COG does not merely follow instructions; it actively identifies missing information and learns new concepts through interactive dialogue. By combining neural semantic parsing with hierarchical planning and a novel "lifting" mechanism, the agent can ground ambiguous commands and generalize new vocabulary to future tasks.

Introduction

Most contemporary task-execution agents operate on a "one-shot" basis, attempting to map human commands directly to pre-defined logical forms. However, real-world interactions are frequently marred by ambiguity or out-of-vocabulary terms. To be truly effective, agents must engage in grounded, back-and-forth communication. This research addresses the need for agents that can recognize their own knowledge gaps and expand their capabilities by asking for definitions on the fly.

The COG Agent Architecture

The COG architecture is composed of five specialized modules that facilitate the transition from natural language to physical action.

The COG Agent Architecture consists of five modules: Language Comprehension, Problem Solving, Memory, Language Production, and a Dialogue Mediator.
  1. Language Comprehension (LC): Employs a neural sequence-to-sequence model with an attention-based copying mechanism. This allows the agent to identify unknown words and treat them as new predicates.
  2. Problem Solving (PS): Uses a Hierarchical Task Network (HTN) planner to decompose high-level goals into primitive actions.
  3. Memory (M): Stores "lifted" representations—generalized rules for shapes and relations using variables.
  4. Language Production (LP): A template-based system for generating clarification questions or plan confirmations.
  5. Dialogue Mediator (DM): A finite state machine that manages conversation flow and tracks task state.

Learning and Generalization

A core innovation of COG is its "lifting" process. When an agent encounters an unknown term, it prompts the user for a definition. Once a specific example is provided and grounded, the agent "lifts" the specific dimensions into variables.

An example of the COG agent learning a new concept ('Foo') through dialogue, parsing the definition, and 'lifting' it into a generalized rule.

This mechanism allows the agent to generalize from a single instance. For example, after learning to build a specific "balloon," the agent can subsequently construct balloons of any size by applying the learned relational rules to new parameters.

Experimental Evaluation

The system was evaluated in a 2D Blocks World across three tasks: standard grounding (Task 1), handling missing information (Task 2), and learning new shapes (Task 3).

# of Shapes Task 1 (Complete) Task 2 (Missing Info)
1 Shape 100% 100%
2 Shapes 64% 52%

While the agent achieved perfect accuracy for single-shape tasks, performance declined for multi-shape configurations. This drop was largely attributed to the semantic parser's difficulty with multi-sentence coreference—specifically, linking mentions of shapes across different instructions. In Task 3, the agent successfully learned concepts like "Box" and "L-shape," though it struggled when dimensions involved complex functional relationships.

Discussion and Future Work

The primary bottleneck in the current COG architecture is the semantic parser; errors in the initial parse are often unrecoverable. Additionally, the lifting logic remains somewhat rigid for complex parameter sharing. Future research will explore more natural language generation, Inductive Logic Programming (ILP) for complex hypothesis formation, and improved coreference resolution for multi-step instructions. By treating dialogue as a functional component of problem-solving, COG represents a significant step toward more flexible and communicative AI agents.

Summary updated

BibTeX
@inproceedings{narayanchen2017towards,
  author = {Anjali Narayan-Chen and Colin Graber and Mayukh Das and Md. Rakibul Islam and Soham Dan and Sriraam Natarajan and Janardhan Rao Doppa and Julia Hockenmaier and Martha Palmer and Dan Roth},
  title = {{Towards Problem Solving Agents that Communicate and Learn}},
  booktitle = {RoboNLP @ ACL},
  year = {2017},
  doi = {10.18653/v1/w17-2812},
}
Figure