Skip to main content
QUICK REVIEW

[논문 리뷰] Evaluating Cognitive Maps and Planning in Large Language Models with CogEval

Ida Momennejad, Hosein Hasanbeig|arXiv (Cornell University)|2023. 09. 25.
Topic ModelingComputer Science인용 수 22
한 줄 요약

이 논문은 CogEval를 소개한다. 이는 인지과학에 영감을 받은 LLM의 인지 지도와 계획 능력을 평가하는 프로토콜이며, 여덟 가지 모델에 걸쳐 체계적으로 적용되어 제한된 출현적 계획과 특정 실패 모드를 드러낸다.

ABSTRACT

Recently an influx of studies claim emergent cognitive abilities in large language models (LLMs). Yet, most rely on anecdotes, overlook contamination of training sets, or lack systematic Evaluation involving multiple tasks, control conditions, multiple iterations, and statistical robustness tests. Here we make two major contributions. First, we propose CogEval, a cognitive science-inspired protocol for the systematic evaluation of cognitive capacities in Large Language Models. The CogEval protocol can be followed for the evaluation of various abilities. Second, here we follow CogEval to systematically evaluate cognitive maps and planning ability across eight LLMs (OpenAI GPT-4, GPT-3.5-turbo-175B, davinci-003-175B, Google Bard, Cohere-xlarge-52.4B, Anthropic Claude-1-52B, LLaMA-13B, and Alpaca-7B). We base our task prompts on human experiments, which offer both established construct validity for evaluating planning, and are absent from LLM training sets. We find that, while LLMs show apparent competence in a few planning tasks with simpler structures, systematic evaluation reveals striking failure modes in planning tasks, including hallucinations of invalid trajectories and getting trapped in loops. These findings do not support the idea of emergent out-of-the-box planning ability in LLMs. This could be because LLMs do not understand the latent relational structures underlying planning problems, known as cognitive maps, and fail at unrolling goal-directed trajectories based on the underlying structure. Implications for application and future directions are discussed.

연구 동기 및 목표

  • CogEval를 LLM의 일반적인 프로토콜로 도입하여 언어 능력을 넘어 인지 능력을 견고하게 평가하는 것을 제시한다.
  • 인지 맵과 계획을 인간 실험에서 영감을 받은 과제를 프롬프트에 맞게 적용하여 조작화하고 구성 타당성을 보장한다.
  • 통계 분석을 통해 다중 작업 구조, 도메인 및 환경에 걸친 강건성을 평가한다.
  • 여덟 가지 LLM 간 및 다양한 온도와 작업 조건 간의 성능을 비교한다.
  • 향후 개발 및 응용을 위한 계획의 실패 모드를 식별한다.

제안 방법

  • 네 가지 최선의 관행으로 CogEval를 제안한다: 잠재 능력을 정의하고, 구성 타당성을 보장하며, 다중 작업과 반복을 사용하고, 강건성을 위한 작업 조건을 다양하게 설정한다.
  • 인지 맵과 계획을 인간 인지 실험에서 영감을 받은 프롬프트를 통해 인지 맵과 계획을 조작화하며 서로 다른 그래프 구조와 도메인을 포괄한다.
  • GPT-4, GPT-3.5-turbo, Bard, Claude-1, LLaMA, Cohere, Alpaca 등을 포함한 10개의 LLM을 서로 다른 온도에서 평가하고, OpenAI 모델의 경우 프롬프트당 30회 반복한다.
  • 그래프 구조, 도메인, 조건, LLM, 온도의 함수로 성능을 모형화하기 위해 로지스틱 회귀 분석을 적용하고 상호작용 항을 포함한다.
  • 실험 2에서 GPT-4 성능에 대한 간단한 Chain of Thought(CoT) 프롬프트(BFS/DFS 지시)의 영향을 테스트한다.
  • 에지 환각, 루프형 경로, 최단 경로 계획의 난이도 등 실패 모드를 분석하며 특히 조밀한 커뮤니티 그래프에서 주의한다.

실험 결과

연구 질문

  • RQ1LLM이 인간-실험에서 영감을 받은 과제로 평가될 때 바람직한 인지 지도 이해력과 계획 능력을 갖추고 있는가?
  • RQ2그래프 구조, 작업 도메인, 계획 조건이 모델 전반에 걸친 LLM 성능에 어떤 영향을 미치는가?
  • RQ3간단한 Chain-of-Thought 프롬프트가 LLM의 계획 실패를 완화할 수 있는가, 특히 GPT-4에서?
  • RQ4인지 맵 기반 과제에 LLM이 도전받을 때 주요 실패 모드는 무엇인가?
  • RQ5환경 구조의 변화와 작업 요구에 대한 LLM의 계획 능력은 얼마나 강건한가?

주요 결과

  • LLMs는 경로 기억만으로 충분한 더 간단한 과제에서만 겉으로는 능력이 있어 보인다.
  • 그래프 구조, 도메인 및 작업 조건에 따라 모델 간 성능이 크게 달라진다.
  • 온도 효과는 실험 1에서 강건하지 않았지만, 온도와의 상호작용은 실험 2에서 중요했다.
  • Chain-of-Thought 프롬프트(BFS/DFS 지시)는 일부 커뮤니티 그래프 과제에서 GPT-4의 선택적 개선을 제공한다.
  • 일반적인 실패 모드로는 에지 환각, 루프형 경로, 조밀한 그래프에서 최단 경로 찾기의 어려움이 포함된다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.