paper-with-me

홈 › Papers

Can LLMs perform structured graph reasoning?

2024-02-02 · Palaash Agrawal, Shavak Vasania, Cheston Tan

Pretrained Large Language Models (LLMs) have demonstrated various reasoning capabilities through language-based prompts alone, particularly in unstructured task settings (tasks purely based on language semantics). However, LLMs often struggle with structured tasks, because of the inherent incompatibility of input representation. Reducing structured tasks to uni-dimensional language semantics often renders the problem trivial. Keeping the trade-off between LLM compatibility and structure complexity in mind, we design various graph reasoning tasks as a proxy to semi-structured tasks in this paper, in order to test the ability to navigate through representations beyond plain text in various LLMs. Particularly, we design 10 distinct problems of graph traversal, each representing increasing levels of complexity, and benchmark 5 different instruct-finetuned LLMs (GPT-4, GPT-3.5, Claude-2, Llama-2 and Palm-2) on the aforementioned tasks. Further, we analyse the performance of models across various settings such as varying sizes of graphs as well as different forms of k-shot prompting. We highlight various limitations, biases and properties of LLMs through this benchmarking process, such as an inverse relation to the average degrees of freedom of traversal per node in graphs, the overall negative impact of k-shot prompting on graph reasoning tasks, and a positive response bias which prevents LLMs from identifying the absence of a valid solution. Finally, we introduce a new prompting technique specially designed for graph traversal tasks (PathCompare), which demonstrates a notable increase in the performance of LLMs in comparison to standard prompting techniques such as Chain-of-Thought (CoT).

📄 PDF Abstract BibTeX arXiv:2402.01805

Code (1)

palaashagrawal/llmgraphtraversal 공식 구현

Tasks

BenchmarkingNavigatevalid

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Weight Decay 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
15 Ways to Contact How can i speak to someone at Delta Airlines 설명 없음
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

From Chains to Graphs: Self-Structured Reasoning for General-Domain LLMs

2026-01-07 · Yingjian Chen, Haoran Liu, Yinhong Liu, Sherry T. Tong 외 arxiv

Large Language Models (LLMs) show strong reasoning ability in open-domain question answering, yet their reasoning processes are typically linear and often logically inconsistent. In contrast, real-world reasoning require…

Open-Domain Question Answering

Let Your Graph Do the Talking: Encoding Structured Data for LLMs

2024-02-08 · Bryan Perozzi, Bahare Fatemi, Dustin Zelle, Anton Tsitsulin 외

How can we best encode structured data into sequential form for use in large language models (LLMs)? In this work, we introduce a parameter-efficient method to explicitly represent structured data for LLMs. Our method, G…

Last Layer Logits to Logic: Empowering LLMs with Logic-Consistent Structured Knowledge Reasoning

2025-11-11 · Songze Li, Zhiqiang Liu, Zhaoyan Gong, Xiaoke Guo 외 arxiv

Large Language Models (LLMs) achieve excellent performance in natural language reasoning tasks through pre-training on vast unstructured text, enabling them to understand the logic in natural language and generate logic-…

Graph Question AnsweringKnowledge Graphs

Graph-constrained Reasoning: Faithful Reasoning on Knowledge Graphs with Large Language Models

2024-10-16 · Linhao Luo, Zicheng Zhao, Chen Gong, Gholamreza Haffari 외

Large language models (LLMs) have demonstrated impressive reasoning abilities, but they still struggle with faithful reasoning due to knowledge gaps and hallucinations. To address these issues, knowledge graphs (KGs) hav…

HallucinationKnowledge Graphs

Scene Graph Thinking: Reinforcing Structured Visual Reasoning for Multimodal Large Language Models

2026-07-07 · Zhiwei Yang, Yuanchen Wu, Nan Zhang, Yucong Meng 외 arxiv

Multimodal Large Language Models (MLLMs) have demonstrated strong perception and reasoning capabilities. However, most existing models focus on isolated objects and neglect structured relationships for efficient target n…

Visual Reasoning