Skip to main content
QUICK REVIEW

[논문 리뷰] Enhancing Zero-Shot Chain-of-Thought Reasoning in Large Language Models through Logic

Xufeng Zhao, Mengdi Li|arXiv (Cornell University)|2023. 09. 23.
Topic ModelingComputer Science인용 수 11
한 줄 요약

LogiCoT은 로지컬 원리를 사용해 제로샷 체인-오브-생각 추론의 각 단계를 검증하고 수정하는 신경상징 프레임워크를 도입하여 다양한 도메인에서 다단계 작업 성능을 향상시킨다.

ABSTRACT

Recent advancements in large language models have showcased their remarkable generalizability across various domains. However, their reasoning abilities still have significant room for improvement, especially when confronted with scenarios requiring multi-step reasoning. Although large language models possess extensive knowledge, their reasoning often fails to effectively utilize this knowledge to establish a coherent thinking paradigm. These models sometimes show hallucinations as their reasoning procedures are unconstrained by logical principles. Aiming at improving the zero-shot chain-of-thought reasoning ability of large language models, we propose LoT (Logical Thoughts), a self-improvement prompting framework that leverages principles rooted in symbolic logic, particularly Reductio ad Absurdum, to systematically verify and rectify the reasoning processes step by step. Experimental evaluations conducted on language tasks in diverse domains, including arithmetic, commonsense, symbolic, causal inference, and social problems, demonstrate the efficacy of enhanced reasoning by logic. The implementation code for LoT can be accessed at: https://github.com/xf-zhao/LoT.

연구 동기 및 목표

  • 로지크-영감을 받은 검증과 수정으로 대형 언어 모델(LLMs)의 제로샷 체인오브생각 추론 개선 동기 부여.
  • 각 추론 단계를 검증하는 것을 적용하는 생각-검증-수정 신경상징 프레임워크 LogiCoT를 제안하고 reductio ad absurdum을 적용해 각 추론 단계를 검증.
  • 각 단계의 검증 및 선택적 수정이 산술, 일반상식, 인과 추론, 심볼릭, 사회적 과제에서 추론을 개선함을 입증

제안 방법

  • 각 추론 단계가 전제 및 이전 단계로부터의 함축 여부를 검증하는 think-verify-revise 루프(LogiCoT) 채택.
  • 중간 단계의 모순을 탐지하기 위한 검증 원칙으로 Reductio ad Absurdum 사용.
  • 두 개의 후검토(E_i 및 E_i^neg)를 도입해 T_i와 그 부정(T_i의 부정)을 평가하고 채택(구성) 여부를 결정하는 검증 전략을 가능하게 함.
  • 검증에 실패한 경우 후행 단계를 제거하고 정당화(E_i^neg)와 함께 개정된 단계 T_i'를 생성.
  • 필요할 때만 추론 체인을 확장하고 검증과 최소하지만 목표가 있는 개정을 혼합.
  • 원하면 LogiCoT를 다수의 검증된 체인에 대한 앙상블 접근과 결합할 수 있음.

실험 결과

연구 질문

  • RQ1LogiCoT가 다양한 도메인과 LLM 규모에서 제로샷 CoT 성능을 개선하는가?
  • RQ2검증을 채택(∼T_i 대 ∼¬T_i 평가)하는 것이 불일치를 구성하는 방식보다 오류 탐지에 더 효과적인가?
  • RQ3LogiCoT 수정이 과제 간 추론의 복잡도와 정확도에 미치는 영향은 무엇인가?

주요 결과

  • LogiCoT는 여러 데이터셋과 모델 크기에 걸쳐 제로샷 CoT 성능을 향상시키며, 더 큰 모델일수록 일관된 이득이 나타난다.
  • 검증 채택(논리적으로 T_i 또는 ¬T_i 고려)이 수학 추론 과제에서 불일치를 구성하는 방식보다 오류 탐지에 우수하다.
  • 수정은 큰 모델에서 종종 보통에서 상당한 정확도 향상을 초래하며, 특정 과제(예: 날짜 이해, 마지막 문자, OddOneOut)에서 현저한 향상을 보임.
  • 정제된 LogiCoT 체인은 기본 CoT 체인보다 약간 더 짧은 경향이 있어 더 간결하고 수정된 추론을 시사한다.
  • 악화와 개선 속도 분석은 더 큰 모델이 LogiCoT 개입의 혜택을 더 받는 반면, 작은 모델은 추가 제약에 더 취약할 수 있음을 시사한다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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