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)|Oct 3, 2024
Semantic Web and OntologiesComputer Science被引用数 3
ひとこと要約

本稿では、推移性、可換性、否定不変性の3つの基本的性質を用いて、大規模言語モデル(LLMs)における論理的整合性を測定・向上する包括的フレームワークを提案する。ノイズの多いペアワイズ評価注釈をランク集約によって精錬し、論理的外挿を用いて追加の比較を生成することで、人間の好みとの整合性を損なわずに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.

研究の動機と目的

  • 意思決定における信頼性と信頼性を損なう、LLMsにおける論理的整合性の体系的評価と向上の欠如に対処すること。
  • 特に推移性、可換性、否定不変性を含む論理的整合性を、モデルの頑健性と信頼性の重要な指標として確立すること。
  • 人間の好みとの整合性を損なわせることなく、訓練時に論理的整合性を向上させるデータ精錬および拡張技術を開発すること。
  • 高い論理的整合性が、好みの順序付け集約などの論理駆動型下流アルゴリズムにおける性能と効率を向上させることを実証すること。

提案手法

  • 推移性、可換性、否定不変性の3つの基本的代理指標を用いて、論理的整合性を定量化する一般的な数学的フレームワークを提案する。
  • Borda法やKemeny-Young法などのランク集約法を適用し、ノイズが多く、疎なペアワイズ比較から部分的または完全順序の評価順位を推定する。
  • 推定された順位をもとに、論理的に外挿し、元のペアワイズ比較データを拡張し、新たな一貫性のある学習例を生成する。
  • 精錬および拡張されたデータで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最先端のLLMsは、推移性、可換性、否定不変性の観点でどの程度論理的整合性の欠如を示しているか?
  • RQ2論理的整合性は、全体的なモデルの頑健性と信頼性を信頼できる指標として機能するか?
  • RQ3ランク集約によるデータ精錬は、人間の好みとの整合性を損なわせることなく、LLMsにおける論理的整合性を向上させることができるか?
  • RQ4向上した論理的整合性は、論理に依存する下流アルゴリズムの性能と効率にどのように影響を与えるか?

主な発見

  • Phi-3-miniは、人間の判断精度がわずかに低いにもかかわらず、推移性が強いことからGPT-3.5-turboよりも順位付け性能で優れていた。
  • 可換性が高いモデルはキャリブレーションによる性能向上が顕著で、位置補正への依存が低く、計算コストも低い傾向にあった。
  • データ精錬および拡張フレームワークは、Llama 3、Gemma、Phi-3を含む多様なLLMsにおいて論理的整合性を顕著に向上させたが、人間の好みとの整合性は損なわれなかった。
  • 精錬済みデータで訓練された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}(

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。