paper-with-me

Papers

A Schema-Guided Reason-while-Retrieve framework for Reasoning on Scene Graphs with Large-Language-Models (LLMs)

2025-02-05 · Yiye Chen, Harpreet Sawhney, Nicholas Gydé, Yanan Jian, Jack Saunders, Patricio Vela, Ben Lundell

Scene graphs have emerged as a structured and serializable environment representation for grounded spatial reasoning with Large Language Models (LLMs). In this work, we propose SG-RwR, a Schema-Guided Retrieve-while-Reason framework for reasoning and planning with scene graphs. Our approach employs two cooperative, code-writing LLM agents: a (1) Reasoner for task planning and information queries generation, and a (2) Retriever for extracting corresponding graph information following the queries. Two agents collaborate iteratively, enabling sequential reasoning and adaptive attention to graph information. Unlike prior works, both agents are prompted only with the scene graph schema rather than the full graph data, which reduces the hallucination by limiting input tokens, and drives the Reasoner to generate reasoning trace abstractly.Following the trace, the Retriever programmatically query the scene graph data based on the schema understanding, allowing dynamic and global attention on the graph that enhances alignment between reasoning and retrieval. Through experiments in multiple simulation environments, we show that our framework surpasses existing LLM-based approaches in numerical Q\&A and planning tasks, and can benefit from task-level few-shot examples, even in the absence of agent-level demonstrations. Project code will be released.

📄 PDF Abstract BibTeX arXiv:2502.03450

Code (0)

등록된 구현이 없습니다.

Tasks

HallucinationSpatial ReasoningTask Planning

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Stepwise Reasoning Enhancement for LLMs via External Subgraph Generation

2026-06-03 · Xin Zhang, Yang Cao, Baoxing Wu, Kai Song 외 arxiv

Large language models have shown strong performance in natural language generation and downstream reasoning tasks, but they still struggle with logical consistency, factual grounding, and interpretability in complex mult…

Knowledge Graphs

LitE-SQL: A Lightweight and Efficient Text-to-SQL Framework with Vector-based Schema Linking and Execution-Guided Self-Correction

2025-10-10 · Shengmin Piao, Jieun Lee, Sanghyun Park arxiv

The Text-to-SQL task translates natural language questions into SQL queries, enabling intuitive database interaction for non-experts. While recent methods leveraging Large Language Models (LLMs) achieve strong performanc…

Code-on-Graph: Iterative Programmatic Reasoning via Large Language Models on Knowledge Graphs

2026-06-02 · Weiwei Ding, Zixuan Li, Long Bai, Zhuo Chen 외 arxiv

Knowledge Graphs (KGs) are widely used to mitigate the limitations of Large Language Models (LLMs), such as outdated knowledge and hallucinations. Existing LLM-KG integration frameworks typically rely on predefined opera…

Answer GenerationKnowledge Graphs

ACE-SQL: Adaptive Co-Optimization via Empirical Credit Assignment for Text-to-SQL

2026-06-04 · Xiaobing Chen, Ai Jian, Eryu Guo, Zhiqi Pang arxiv

Text-to-SQL maps natural language questions to executable SQL queries. Modern databases often contain large and complex schemas, making schema linking a critical step for accurate SQL generation. Existing methods either …

Reinforcement Learning

The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Models

2024-08-14 · Karime Maamari, Fadhil Abubaker, Daniel Jaroslawicz, Amine Mhedhbi

Schema linking is a crucial step in Text-to-SQL pipelines. Its goal is to retrieve the relevant tables and columns of a target database for a user's query while disregarding irrelevant ones. However, imperfect schema lin…

Natural Language QueriesText to SQLText-To-SQL