Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
60 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
8 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Can Graph Descriptive Order Affect Solving Graph Problems with LLMs? (2402.07140v4)

Published 11 Feb 2024 in cs.AI

Abstract: LLMs have achieved significant success in reasoning tasks, including mathematical reasoning and logical deduction. Among these reasoning tasks, graph problems stand out due to their complexity and unique structural characteristics, attracting considerable attention from researchers. Previous studies have explored LLMs' graph reasoning abilities through various techniques, such as different encoding methods for graph structures and the use of carefully designed prompts. However, a critical factor has been mostly overlooked: the prompt sequential order in which graph descriptions are presented to the models. In this study, we present the first comprehensive analysis of how the order of graph descriptions impacts LLM performance. Specifically, we comprehensively evaluate four graph description orders across six graph problems using six mainstream LLMs. The results reveal that: (1) ordered graph descriptions significantly improve LLMs' comprehension of graph structures; (2) the robustness of LLMs to graph description order varies across different tasks; and (3) the impact of graph order on performance is closely related to the inherent characteristics of tasks. This study provides a critical advancement in the application of LLMs for solving graph-related problems, paving the way for future research to optimize model performance through strategic graph description ordering.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Yuyao Ge (5 papers)
  2. Shenghua Liu (33 papers)
  3. Lingrui Mei (20 papers)
  4. Lizhe Chen (4 papers)
  5. Xueqi Cheng (274 papers)
  6. Wenjie Feng (19 papers)
  7. Baolong Bi (23 papers)
  8. Yiwei Wang (119 papers)
X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets