Skip to main content
QUICK REVIEW

[Paper Review] Integrating Diverse Knowledge Sources for Online One-shot Learning of Novel Tasks

James R. Kirk, Robert E. Wray|arXiv (Cornell University)|Aug 19, 2022
Topic ModelingComputer Science7 citations
TL;DR

This paper proposes an online one-shot learning framework for embodied agents that integrates diverse knowledge sources—human natural language instructions, environmental interaction, internal search, and GPT-3 responses—within the Soar cognitive architecture. The agent achieves rapid, reliable task learning with minimal human feedback by dynamically combining these sources to infer and generalize task policies in real time.

ABSTRACT

Autonomous agents are able to draw on a wide variety of potential sources of task knowledge; however current approaches invariably focus on only one or two. Here we investigate the challenges and impact of exploiting diverse knowledge sources to learn online, in one-shot, new tasks for a simulated office mobile robot. The resulting agent, developed in the Soar cognitive architecture, uses the following sources of domain and task knowledge: interaction with the environment, task execution and search knowledge, human natural language instruction, and responses retrieved from a large language model (GPT-3). We explore the distinct contributions of these knowledge sources and evaluate the performance of different combinations in terms of learning correct task knowledge and human workload. Results show that an agent's online integration of diverse knowledge sources improves one-shot task learning overall, reducing human feedback needed for rapid and reliable task learning.

Motivation & Objective

  • Address the limitation of current AI systems that rely on only one or two knowledge sources for task learning.
  • Enable online, one-shot learning of novel tasks in a simulated mobile robot using multiple diverse knowledge sources.
  • Reduce human workload by minimizing the need for repeated or detailed instruction through intelligent integration of external knowledge.
  • Develop a generalizable, state-based policy that transfers across similar tasks and objects, avoiding rigid memorization of action sequences.
  • Investigate the synergistic impact of combining LLMs, human input, perception, and internal search for robust and adaptive task learning.

Proposed method

  • The agent uses the Soar cognitive architecture to integrate real-time perception, human natural language instructions, internal search for action planning, and GPT-3-generated responses.
  • GPT-3 is queried via template-based prompting to generate potential goals (e.g., 'put ketchup in fridge') and actions (e.g., 'pick up ketchup'), which are validated by the human instructor.
  • The agent learns procedural rules based on action execution and retrospective analysis, such as 'propose Open(O1) if dishwasher is closed and robot is not holding an object'.
  • Generalized state-based policies are acquired through rule learning, enabling transfer to new objects (e.g., metal-fork) and similar tasks (e.g., clearing different tableware).
  • Rules are dynamically selected based on current task, detected objects, properties (e.g., closed, grabbable), and goals, enabling adaptive action selection without relearning.
  • The system avoids pre-training by integrating knowledge online during task execution, ensuring real-time adaptability and minimal human intervention.

Experimental results

Research questions

  • RQ1How does combining multiple diverse knowledge sources (LLM, human language, perception, search) improve online one-shot task learning in embodied agents?
  • RQ2What is the relative contribution of each knowledge source—especially LLMs—to reducing human workload and improving learning reliability?
  • RQ3Can the agent learn generalized, reusable policies from a single demonstration and multiple knowledge sources, rather than memorizing rigid action sequences?
  • RQ4How does the integration of LLM responses with human feedback mitigate hallucination and improve contextual accuracy in task execution?
  • RQ5To what extent can the agent generalize learned policies to novel objects and similar tasks without additional instruction or learning?

Key findings

  • The integration of diverse knowledge sources significantly improves one-shot task learning performance, enabling rapid and reliable acquisition of new tasks with minimal human feedback.
  • The agent successfully learned to perform the 'tidy kitchen' task by combining human instructions, LLM-generated actions, environmental perception, and internal search, achieving correct task execution without repeated instruction.
  • The agent learned generalized procedural rules (e.g., for opening, closing, picking up, and putting down objects) that apply across multiple objects and scenarios, enabling transfer to new instances like the metal-fork without relearning.
  • Template-based prompting with GPT-3 reduced the risk of hallucination, and human feedback validated and corrected LLM outputs, improving reliability and contextual accuracy.
  • The system reduced the need for detailed human input by offloading planning and action generation to integrated knowledge sources, particularly LLMs and internal search.
  • The agent demonstrated robustness by learning to select appropriate actions (e.g., approach before opening) based on environmental state and goal conditions, even when actions were not immediately executable.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.