Skip to content
Conference

PathRAG: A Graph-Based Reasoning Approach for Enhancing Retrieval in Software User Manuals

Jul 2026 · International Symposium on Service Oriented Software Engineering · pp. 63-70 · 0 citations · 23 references

Abstract

In modern software systems, large-scale technical manuals and complex user workflows impose a significant cognitive barrier for end-users, particularly children and the elderly. While integrated automated assistants have emerged as a promising service paradigm to abstract these system complexities, traditional Retrieval-Augmented Generation (RAG) and existing GraphRAG architectures heavily focus on relational knowledge, failing to capture the strict conditional execution paths and procedural control-flows necessary for accurate system orchestration. To bridge this gap, we propose PathRAG, a lightweight, service-oriented graph reasoning framework designed to enable adaptive, condition-aware guide services over structured software procedures. Rather than processing manuals as flat textual chunks, PathRAG models software tasks as an explicit Conditional Directed Graph, enabling a single-pass graph traversal service that efficiently navigates non-linear software states. Experiments show that PathRAG achieves high accuracy in graph construction (F1 up to 0.956 for nodes and 0.936 for edges) and strong performance in path reasoning (Average Path F1 of 0.82 on simple and 0.63 on complex cases). Notably, the low average path distance (1.53) suggests that most errors correspond to minor deviations from the ground-truth sequence. Despite promising results, limitations include a small dataset, domain specificity, and reliance on rule-based parsing, which may affect generalization to noisy or multi-document scenarios.

View source

Similar papers

Open access Sep 2026

LLM and MCP driven e-commerce assistant over graph databases

Traditional e-commerce search-and-filter interfaces often lead to high cart abandonment rates due to rigid keyword matching and complex navigation. This paper presents an architecture for conversational e-commerce that integrates large language models (LLMs), Model Context Protocol (MCP) servers, and a Neo4j graph data...

Andrii Baran, I. Spivak, S. Krepych · 0 citations
Preprint Aug 2026

Schema-Agnostic Graph Reasoning Agent for Hybrid Knowledge Graphs

GRA is presented, a Graph Reasoning Agent that explores hybrid knowledge graphs, whose nodes are either textual concepts or relational tables, with seven generic tools, discovering everything domain-specific at run time.

M. Dragić, Ruben Ifrah, Alexandre Rio · 0 citations

A Declarative Framework for Constrained Clique Detection in Heterogeneous Knowledge Graphs via ASP

This work presents a data-driven framework designed to bridge the gap between interactive exploration and formal logic reasoning, which allows researchers to interactively validate complex hypotheses and uncover latent clusters that would be difficult to identify through traditional imperative filtering.

Mario Alviano, Eleonora Bilotta, Pierpaolo Sestito · 0 citations
Aug 2026

Balancing Richness and Reliability: An Explore-Construct-Verify Framework for API Knowledge Graph Construction

This work proposes Explore-Construct-Verify (ECV), a three-stage framework for API KG construction using large language models (LLMs), which preserves LLMs’ ability to discover domain-specific knowledge while enabling efficient post-hoc validation.

Yan-Bang Sun, Qing Huang, Zhen-Chang Xing et al. · 0 citations
Book Open access Aug 2026

Graphectory Viewer: A Tool for Process-Centric Analysis of Agentic Software Trajectories

We present Graphectory Viewer, a web-based tool for interactive, process-centric analysis of software-agent trajectories. Building on the Graphectory representation introduced in our previous work, Graphectory Viewer transforms heterogeneous raw trajectories into phase-aware graphs that connect low-level execution deta...

Charlie Jyu, Shu-Yang Liu, Reyhaneh Jabbarvand · 2 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.