Skip to main content
QUICK REVIEW

[논문 리뷰] Aligning with Logic: Measuring, Evaluating and Improving Logical Preference Consistency in Large Language Models

Yinhong Liu, Zhijiang Guo|arXiv (Cornell University)|2024. 10. 03.
Semantic Web and OntologiesComputer Science인용 수 3
한 줄 요약

이 논문은 전이성, 교환법칙, 부정 불변성의 세 가지 핵심 성질을 사용하여 대규모 언어 모델(LM)의 논리적 일관성을 측정하고 향상시키는 통합 프레임워크를 제안한다. 노이즈가 많은 쌍별 선호도 주석을 순위 집계를 통해 정제하고 논리적 외삽을 통해 추가 비교를 추론함으로써, 인간의 선호도와의 일치를 희생시키지 않고도 LLM의 내부 일관성을 향상시킨다. 이는 논리적 의존도가 높은 알고리즘에서 성능 향상과 모델의 내구성과의 강한 상관관계를 이끌어낸다.

ABSTRACT

Large Language Models (LLMs) are expected to be predictable and trustworthy to support reliable decision-making systems. Yet current LLMs often show inconsistencies in their judgments. In this work, we examine logical preference consistency as a foundational requirement for building more dependable LLM systems, ensuring stable and coherent decision-making while minimizing erratic or contradictory outputs. To quantify the logical preference consistency, we propose a universal evaluation framework based on three fundamental properties: transitivity, commutativity and negation invariance. Through extensive experimentation across diverse LLMs, we demonstrate that these properties serve as strong indicators of judgment robustness. Furthermore, we introduce a data refinement and augmentation technique, REPAIR, that enhances logical consistency while maintaining alignment with human preferences. Finally, we show that improving consistency leads to better performance in LLM-driven logic-based algorithms, reinforcing stability and coherence in decision-making systems.

연구 동기 및 목표

  • 결정 부문에서의 신뢰성과 신뢰도를 떨어뜨리는 논리적 일관성의 체계적 평가 및 향상 부족 문제를 해결하기 위해.
  • 특히 전이성, 교환법칙, 부정 불변성을 포함한 논리적 일관성을 모델의 내구성과 신뢰도의 핵심 지표로 설정하기 위해.
  • 훈련 시점에 인간 선호도와의 일치를 해치지 않으면서도 논리적 일관성을 향상시키는 데이터 정제 및 증강 기법을 개발하기 위해.
  • 더 높은 논리적 일관성이 논리 기반의 후행 알고리즘(예: 선호도 순위 집계)에서 성능 향상과 효율성 향상에 기여함을 입증하기 위해.

제안 방법

  • 전이성, 교환법칙, 부정 불변성의 세 가지 기본 지표를 사용하여 논리적 일관성을 정량화하는 일반적인 수학적 프레임워크를 제안한다.
  • 노이즈가 많고 희소한 쌍별 비교에서 부분적 또는 전체 순서가 정해진 선호도 순위를 추정하기 위해 순위 집계 방법(예: 보르다 수, 케멘티-영 방법)을 적용한다.
  • 추정된 순위를 바탕으로 기존의 쌍별 비교 데이터를 논리적으로 외삽하고 보완하여, 새로운 일관성 있는 훈련 예제를 생성한다.
  • 정제되고 보완된 데이터로 LLM을 피나이닝하여 내부 논리적 일관성을 향상시키되, 인간 선호도와의 일치를 유지한다.
  • 위치 편향을 줄이기 위해 캘리브레이션된 결과와 원시 결과를 사용하여 SummEval에서 통제 실험을 수행해 일관성을 평가한다.
  • 논리적 연산자로 LLM을 통합하여 정렬 기반 선호도 순위 집계 알고리즘을 구현하고, 개선된 일관성으로 인한 성능 향상을 평가한다.
Figure 1: Three types of logical inconsistencies are observed in real-world pairwise annotations (top row): Transitivity, Commutativity, and Negation Invariance. By refining the data for self-consistency using rank estimation, we can train LLMs with enhanced logical consistency, improving their perf
Figure 1: Three types of logical inconsistencies are observed in real-world pairwise annotations (top row): Transitivity, Commutativity, and Negation Invariance. By refining the data for self-consistency using rank estimation, we can train LLMs with enhanced logical consistency, improving their perf

실험 결과

연구 질문

  • RQ1최신의 LLM은 전이성, 교환법칙, 부정 불변성에서 얼마나 심각한 논리적 일관성 결여를 보이는가?
  • RQ2논리적 일관성은 전체 모델의 내구성과 신뢰도에 대한 신뢰할 수 있는 지표가 될 수 있는가?
  • RQ3순위 집계를 통한 데이터 정제가 인간 선호도와의 일치를 해치지 않으면서도 LLM의 논리적 일관성을 향상시킬 수 있는가?
  • RQ4향상된 논리적 일관성은 논리적 의존도가 높은 후행 알고리즘의 성능과 효율성에 어떤 영향을 미치는가?

주요 결과

  • Phi-3-mini는 인간 평가 정확도가 약간 낮음에도 불구하고 전이성에서 뛰어난 성능을 보여 GPT-3.5-turbo를 능가함.
  • 교환법칙 수준이 높은 모델일수록 校정 후 성능 향상이 더 두드러지며, 위치 보정에 의존도가 낮고 계산 비용도 낮음.
  • 데이터 정제 및 증강 프레임워크는 Llama 3, Gemma, Phi-3를 포함한 다양한 LLM에서 논리적 일관성을 크게 향상시켰고, 인간 선호도와의 일치도 저하되지 않음.
  • 정제된 데이터로 훈련된 LLM은 정렬 기반 선호도 집계 알고리즘에서 논리적 연산자로 사용되었을 때 더 높은 성능과 더 낮은 계산 요구량을 달성함.
  • 논리적 일관성과 전체 모델의 내구성 사이에 강한 상관관계가 관찰되어, 일관성이 신뢰도의 핵심 지표임을 검증함.
Figure 2: Example of relation graphs illustrating transitivity, where items are represented as nodes, and directed edges indicate pairwise preferential relations. Red dashed cycles in the graph highlight violations of transitivity. The cycle in (d), spanning 4 items, cannot be captured by $s_{tran}(
Figure 2: Example of relation graphs illustrating transitivity, where items are represented as nodes, and directed edges indicate pairwise preferential relations. Red dashed cycles in the graph highlight violations of transitivity. The cycle in (d), spanning 4 items, cannot be captured by $s_{tran}(

이 논문 읽기

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

누빈트에서 이 논문 읽기

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