Beyond Explicit Edges: Robust Reasoning over Noisy and Sparse Knowledge Graphs
Organizations: Department of Computer Science, Rutgers University, Piscataway, New Jersey, USA.
Abstract
GraphRAG is increasingly adopted for converting unstructured corpora into graph structures to enable multi-hop reasoning. However, standard graph algorithms rely heavily on static connectivity and explicit edges, often failing in real-world scenarios where Knowledge Graphs (KGs) are noisy, sparse, or incomplete. To address this limitation, we introduce INSES (Intelligent Navigation and Similarity Enhanced Search), a dynamic framework designed to reason beyond explicit edges. INSES couples LLM-guided navigation, which prunes noise and steers exploration, with embedding-based similarity expansion to recover hidden links and bridge semantic gaps. Recognizing the computational cost of graph reasoning, we complement INSES with a lightweight router that delegates simple queries to Naïve RAG and escalates complex cases to INSES, balancing efficiency with reasoning depth. Experimental results show that INSES performs favorably compared to established RAG and GraphRAG baselines on multiple benchmarks. In particular, on the MINE benchmark, it exhibits notable robustness and adaptability across KGs constructed by varying methods. Our code and data are publicly available at https://github.com/hanggao-gh/INSES .
Figures & tables
| Method | Entity Nodes Generated by Different Methods |
|---|---|
| KGGEN | [”adult”, ”adulthood”, ”antennae”, ”appearance”, ”appreciation”, ”balance”, ”beauty”, ”biodiversity”, ”birds”, ”body”, ”butterfly”, ”camouflage”, ”caterpillar”, …, ”food”, ”food source” , ”host plants”, ”life cycle”, ”lifespan” , ”plant populations”, ”plants” , …] |
| GraphRAG | [”egg stage”, ”birds”, ”adult butterflies” , ”nectar”, ”insects”, ”pupa”, ”host plants”, ”larva stage”, ”chrysalis”, ”metamorphosis”, ”female butterflies” , ”pollination”, ”reptiles”, ”butterflies” , ”caterpillar”, ”butterfly” , …] |
| OpenIE | [”They”, ”egg to larva”, ”specific host plants”, ”journey filled”, ”third stage”, ”butterfly ’s life cycle”, ”lifespan ranging from few days to weeks”, ”Life Cycle” , ”changes”, ”laid”, ”twigs”, ”Next time”, ”to prepare for stage of its life cycle”, …, ”short lifespan ranging”, ”lifespan ranging from days”, ”prepare for stage of its life cycle”, ”lifespan ranging from days to weeks”, ”life cycle” , …] |
| Baseline methods | Musique | 2Wiki | HotpotQA | ||||
|---|---|---|---|---|---|---|---|
| EM | LLM Judge | EM | LLM Judge | EM | LLM Judge | ||
| LLM only | GLM-4 (Direct) | 0.15 | 0.18 | 0.32 | 0.36 | 0.41 | 0.49 |
| GLM-4 (Few-shot CoT) | 0.24 | 0.27 | 0.38 | 0.46 | 0.51 | 0.57 | |
| Text-based | Naïve RAG (Top-5) | 0.31 | 0.29 | 0.39 | 0.43 | 0.62 | 0.71 |
| Naïve RAG (Top-10) | 0.33 | 0.37 | 0.41 | 0.44 | 0.67 | 0.77 | |
| HyDE | 0.21 | 0.31 | 0.45 | 0.46 | 0.57 | 0.63 | |
| INSES | Musique | 2Wiki | HotpotQA | |||
| EM | LLM Judge | EM | LLM Judge | EM | LLM Judge | |
| GLM-4 (Direct) | 0.15 | 0.18 | 0.32 | 0.36 | 0.41 | 0.49 |
| GPT-4o (Direct) | 0.28 | 0.35 | 0.54 | 0.57 | 0.49 | 0.65 |
| Naïve RAG (Top-5) | 0.31 | 0.29 | 0.39 | 0.43 | 0.62 | 0.71 |
| w/ LLM Navigator | 0.32 | 0.35 | 0.57 | 0.51 | 0.53 | 0.62 |
| w/ LLM Navigator + Similarity Enhance | 0.44 | 0.45 | 0.63 | 0.61 | 0.58 | 0.69 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| LLM Extract Entities Prompt |
|---|
| Your task is to extract several entities from the given query, so they can be used to search a knowledge graph for clues relevant to answering the query. |
| Return only the entities you extract, separated by commas, with no other text. |
| Query: {query} |
| LLM Navigation Prompt |
|---|
| Your task is to provide support for complex queries and multi-hop reasoning in the knowledge graph. Based on the following query, the visited nodes and the selected triplets, as well as the current nodes and their adjacent triplets, select the triplet numbers (separated by commas) from the adjacent triplets of the current nodes that help answer the query. |
| Selection criteria: Select the triplets that are most relevant to the query and most likely to help answer it. |
| Then determine: |
| 1. Based on the visited nodes, the selected triplets, and the triplets you just selected, is this information sufficient to answer the query? |
| 2. If so, answer ”sufficient”; |
| 3. If not, answer ”insufficient”; |
| LLM Answer Question With Retrieved Triplets Prompt |
|---|
| You are a helpful assistant that provides accurate and concise answers based on the provided knowledge graph information. |
| Please answer the following query: {query} |
| The following information is extracted from a knowledge graph, which contains entities, relationships, and relevant text: |
| {context} |
| Your response must be in JSON format with two fields: |
| 1. ”reasoning”: Your step-by-step reasoning process based on the knowledge graph information. Explain how the entities and relationships help answer the query. |
| Dimension | Text RAG | Graph-based RAG |
|---|---|---|
| Data form & indexing | Chunk raw text and retrieve via dense vectors; preserves original wording and details | Extract entities/relations or community structure to build a graph, then retrieve by graph and aggregate subgraphs/communities |
| Retrieval characteristics | Strong at in-place factual recall via semantic similarity; sensitive to type words and relation templates; well-suited to short-chain reasoning | Connects evidence across segments via explicit structure; better for long chains/hierarchical reasoning and thematic/context integration |
| Strengths (tasks) | Single-hop and 2-hop factual QA with rich details; pulling key snippets across documents | Multi-hop ( 3) and long-range reasoning; contextual summarization/thematic synthesis; structured evidence integration |
| Generation trade-offs | Higher context relevance and lower noise; more focused coverage in creative/synthesis tasks | Broader evidence recall and coverage, but more redundancy; typical trade-off: coverage vs. relevance in creative tasks |
| Efficiency & cost | Low build/query cost; shorter prompts | Higher graph construction cost; retrieval/aggregation tends to inflate prompt length, increasing cost (varies by implementation) |
| Implementation variants | Classic dense retrieval with optional reranking, HyDE, hybrid (sparse+dense) retrieval | KG-style triple retrieval, community-based global/local retrieval, mixed nodes (concepts/passages), etc. |
| LLM Router Prompt |
|---|
| You are a strict binary classifier of question complexity for QA routing. Return EXACTLY one token: True or False. No punctuation. No explanation. |
| Definition: |
| - ”True” ONLY if the question is exceptionally complex and strictly requires distinct reasoning hops. |
| - ”False” if it can be answered with 1-2 hops, involves basic aggregations, or if you are unsure. |
| - DEFAULT RULE: When in doubt or if the complexity is borderline, strictly output False. |
| Examples: |
| Iteration | The relevant status of each iteration |
|---|---|
| Query | Who was the spouse of a leading speaker against slavery and publisher of an antislavery newspaper? |
| Entities | [’leading speaker against slavery’, ’antislavery newspaper’ , ’spouse’, ’publisher’] |
| [’Opponent of slavery’, ’Anti-slavery newspaper’ , ’Husband and wife’, ’Newspaper publisher’] | |
| iter=0 | : [’Opponent of slavery’, ’Anti-slavery newspaper’ , ’Husband and wife’, ’Newspaper publisher’]. : [’Thomas spottswood hinde Occupation Opponent of slavery’, ’The north star Is Anti-slavery newspaper’ , ’Enos bronson Was Newspaper publisher’]. : [’Thomas spottswood hinde’, ’The north star’ , ’Enos bronson’] |
| iter=1 | : [’Thomas spottswood hinde’, ’The north star’ , ’Enos bronson’]. : [ ’The north star Published by Frederick douglass’ ]. : [ ’Frederick douglass’ ] |
| iter=2 | : [ ’Frederick douglass’ ]. : [ ’The north star Published by Frederick douglass’ ]. : [ ] |
| Iteration | The relevant status of each iteration |
|---|---|
| Query | Who was the spouse of a leading speaker against slavery and publisher of an antislavery newspaper? |
| Entities | [’leading speaker against slavery’, ’antislavery newspaper’, ’spouse’, ’publisher’] |
| [’Opponent of slavery’, ’Anti-slavery newspaper’, ’Husband and wife’, ’Newspaper publisher’] | |
| iter=0 | : [’Opponent of slavery’, ’Anti-slavery newspaper’, ’Husband and wife’, ’Newspaper publisher’]. : [’Thomas spottswood hinde Occupation Opponent of slavery’, ’The north star Is Anti-slavery newspaper’, ’Enos bronson Was Newspaper publisher’]. : [’Thomas spottswood hinde’, ’The north star’, ’Enos bronson’]. : [’Pro-slavery southerner’, ’Liberty party paper’, ’Husbands and wives’, ’Newspaper of record’] |
| iter=1 | : [’Thomas spottswood hinde’, ’The north star’, ’Enos bronson’, ’Pro-slavery southerner’, ’Liberty party paper’, ’Husbands and wives’, ’Newspaper of record’]. : [’The north star Published by Frederick douglass’]. : [’Frederick douglass’]. : [’Newspaper editor’, ’The toronto star’, ’Opponent of slavery’, ’Federalist party’, ’Husband and wife’, ”Country’s newspaper of record”] |
| iter=2 | : [ ’Frederick douglass’ , ’Newspaper editor’, ’The toronto star’, ’Federalist party’, ”Country’s newspaper of record”]. : [’The north star Published by Frederick douglass’]. : [ ]. : [ ’Frederick douglass memorial and historical association’ , ’Weekly newspaper’, ’Federalists’, ’Newspaper of record’] |
| LLM only (Direct) Prompt |
|---|
| You are a helpful assistant that answers questions based on your own knowledge. |
| Question: {question} |
| Please provide your response in the following JSON format: |
| ”answer”: ”Your final answer” |
| LLM only (Few-shot CoT) Prompt |
|---|
| You are a helpful assistant that answers questions based on your own knowledge. Below are several examples of chain of thought. You can refer to these examples to think about the question and give the correct answer. |
| Your answer must be returned in JSON format with two fields: ”reasoning” and ”answer”. The ”reasoning” field should contain your step-by-step reasoning process, and the ”answer” field should contain the final answer. The ”answer” field should be as concise as possible and should not contain unnecessary explanations. |
| Examples of Chain of Thought: Q: What language is primarily spoken in the country whose capital is Madrid? |
| A: First, the country whose capital is Madrid is Spain. Second, the primary language of Spain is Spanish. The answer is {Spanish}. |
| Q: Who painted The Starry Night and famously cut off part of his ear? |
| A: First, The Starry Night was painted by Vincent van Gogh. Second, the artist who cut off part of his ear is Vincent van Gogh. The answer is {Vincent van Gogh}. |
| Naïve RAG Prompt |
|---|
| You are a helpful assistant that provides accurate and concise answers based on the provided context. |
| Please answer the following query: {query} |
| Context information is below: |
| {context} Your response must be in JSON format with three fields: |
| 1. ”reasoning”: Your step-by-step reasoning process based on the context. |
| 2. ”answer”: The final answer to the query, as concise as possible without unnecessary explanations. |
| LLM as a judge Prompt |
|---|
| You are an expert evaluator. Your task is to determine if the predicted answer is semantically equivalent to the ground truth answer for the given question. |
| Question: {question} |
| Ground Truth Answer: {ground_truth} |
| Predicted Answer: {prediction} |
| Instructions: - Compare the predicted answer and the ground truth answer in the context of the question. |
| - They are considered equivalent if they convey the same meaning, even if the wording is different. |
| LLM as a judge Prompt |
|---|
| You are an evaluator that checks if the Correct Answer can be deduced from the information in the Context.” Context: |
| {context} Correct Answer: |
| {correct_answer} Task: Determine whether the Context contains the information stated in the Correct Answer. Respond with ”1” if yes, and ”0” if no. Do not provide any explanation, just the number. |