Improving Knowledge Extraction from LLMs for Task Learning through Agent Analysis

James R. Kirk, Robert E. Wray, Peter Lindes, John E. Laird
6/11/2023
11 citations
cs.AIcs.HCcs.RO

No official code found. Best implementation: Center-for-Integrated-Cognition/STARS (4 stars, Java, last commit 2023-12-20).

Abstract

Large language models (LLMs) offer significant promise as a knowledge source for task learning. Prompt engineering has been shown to be effective for eliciting knowledge from an LLM, but alone it is insufficient for acquiring relevant, situationally grounded knowledge for an embodied agent learning novel tasks.

Show full abstract

We describe a cognitive-agent approach, STARS, that extends and complements prompt engineering, mitigating its limitations and thus enabling an agent to acquire new task knowledge matched to its native language capabilities, embodiment, environment, and user preferences. The STARS approach is to increase the response space of LLMs and deploy general strategies, embedded within the autonomous agent, to evaluate, repair, and select among candidate responses produced by the LLM. We describe the approach and experiments that show how an agent, by retrieving and evaluating a breadth of responses from the LLM, can achieve 77-94% task completion in one-shot learning without user oversight. The approach achieves 100% task completion when human oversight (such as an indication of preference) is provided. Further, the type of oversight largely shifts from explicit, natural language instruction to simple confirmation/discomfirmation of high-quality responses that have been vetted by the agent before presentation to a user.

View on arXivView PDF

Code Implementations(1)

Code for our AAAI 2024 submission, "Improving Knowledge Extraction from LLMs for Task Learning through Agent Analysis"

40Java, Jupyter Notebook2 years ago

Similar Papers

Cite this paper

@article{kirk2023improving,
  title  = {Improving Knowledge Extraction from LLMs for Task Learning through Agent Analysis},
  author = {James R. Kirk and Robert E. Wray and Peter Lindes and John E. Laird},
  year   = {2023},
  eprint = {2306.06770},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.06770v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.06770.svg)](https://codeofpaper.com/paper/2306.06770)

Discussion