Skip to content

EMNLP papers

Search EMNLP papers by title, author, or track. Open a paper’s abstract to read more.

Explore the EMNLP analysis

Search results

1–20 of 291

  • EMNLP · Main

    CRU-Reason: Knowledge Graph-Grounded and Interpretable Clinical Prediction with Clinical Rationale Units

    Zihang Liu, Linhao Luo, Zhangchi Qiu, Shigeng Chen, Haishuai Wang

    Abstract

    Healthcare prediction using electronic health records (EHRs) is a cornerstone of modern clinical decision support. Conventional machine learning (ML) models achieve strong predictive performance but rarely provide knowledge-grounded, human-readable explanations. Large language models (LLMs) incorporated with medical knowledge graphs (KGs) offer advanced reasoning and explainability with encoded clinical facts, yet existing approaches typically perform monolithic reasoning over entire patient records, mixing task-irrelevant context and obscuring disease-specific attribution. To bridge these gaps, we propose CRU-Reason, a novel framework that integrates ML models, medical KGs, and LLMs through Clinical Rationale Units (CRUs) for knowledge-grounded and interpretable healthcare prediction. CRU is a localized structure that explicitly captures clinically meaningful communities among EHR concepts, thereby enabling LLMs to perform disease-centered, fine-grained reasoning. Experiments on two public clinical datasets demonstrate that CRU-Reason improves over the strongest evaluated EHR-prediction baselines by an average of +9.4% across drug recommendation and diagnosis prediction, while exhibiting improved rationale quality and cross-dataset robustness.

    Abstract source
  • EMNLP · Main

    Gold vs. Translation: Are We Measuring Language, Knowledge, or Locality in Translated Benchmarks?

    Klaudia-Doris Thellmann, Bernhard Stadler, Dan Saattrup Smart, Michael Färber, Jens Lehmann

    Abstract

    Translated versions of English-origin benchmarks such as MMLU are widely used to evaluate large language models in non-English languages, yet it remains unclear whether they measure the same constructs as natively created benchmarks. We frame this as a proxy validity question and compare DeepL-translated MMLU proxies against six native benchmarks in seven pairings across five Nordic and Baltic languages, evaluating 29 models on each pairing. Beyond ranking agreement, we test incremental proxy validity: does the translated score add predictive value for native performance after controlling for model size and language proficiency? Proxy validity varies substantially across benchmark pairings. Applying the same robustness criteria to all seven pairings, we find four robust effects, two marginal effects, and one null result. The strongest evidence occurs for curriculum-overlap benchmarks such as Skolprov (\Delta R^2=.128, 95% CI [.038,.253]), whereas translated MMLU provides no significant incremental value for Sweden-specific factual knowledge in SwedishFacts (p=.242). Because SwedishFacts is also the only open-ended benchmark, we cannot fully separate the effects of local content and response format. Overall, the results indicate a clear pattern: translated benchmarks provide a better proxy when their source content overlaps with the native evaluation target, while locally anchored knowledge is less reliably captured.

    Abstract source
  • EMNLP · Main

    From Reasoning to Generalization: Knowledge-Augmented LLMs for the ARC Benchmark

    Chao Lei, Krista A. Ehinger, Nir Lipovetzky, Yanchuan Chang

    Abstract

    Despite extensive research on reasoning-oriented LLMs, core cognitive faculties of human intelligence, such as abstract reasoning and generalization, remain underexplored. To address this, we evaluate recent reasoning-oriented LLMs on the Abstraction and Reasoning Corpus (ARC) benchmark, which explicitly demands both faculties. We formulate ARC as a program synthesis task and propose nine candidate solvers. Experimental results show that repeated-sampling planning-aided code generation (RSPC) achieves the highest test accuracy and demonstrates consistent generalization across most LLMs. To further improve performance, we introduce Knowledge Augmentation for Abstract Reasoning (KAAR), which encodes core knowledge priors within an ontology that classifies priors into three hierarchical levels based on their dependencies. KAAR progressively expands LLM reasoning capacity by gradually augmenting priors at each level, and invokes RSPC to generate candidate solutions after each augmentation stage. Empirical results show that KAAR maintains strong generalization and consistently outperforms non-augmented RSPC across all evaluated LLMs, achieving around 5% absolute gains and up to 64.52% relative improvement.

    Abstract source
  • EMNLP · Main

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

    Songze Li, Zhiqiang Liu, Zhaoyan Gong, Zhongpu Bo, Zhengke Gui, Lei Liang, Huajun Chen, Wen Zhang

    Abstract

    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-consistent responses. However, the representational differences between unstructured and structured knowledge make LLMs inherently struggle to maintain logic consistency, leading to Logic Drift challenges in structured knowledge reasoning tasks such as Knowledge Graph Question Answering (KGQA). Existing methods address this limitation by designing complex workflows embedded in prompts to guide LLM reasoning. Nevertheless, these approaches only provide input-level guidance and fail to fundamentally address the Logic Drift in LLM outputs. Additionally, their inflexible reasoning workflows cannot adapt to different tasks and knowledge graphs. To enhance LLMs’ logic consistency in structured knowledge reasoning, we specifically target the logits output from the autoregressive generation process. We propose the Logits-to-Logic framework, which incorporates logits strengthening and logits filtering as core modules to correct logical defects in LLM outputs. Extensive experiments show that our approach significantly improves LLMs’ logic consistency in structured knowledge reasoning and achieves state-of-the-art performance on multiple KGQA benchmarks.

    Abstract source
  • EMNLP · Main

    TKG-Thinker: Towards Dynamic Reasoning over Temporal Knowledge Graphs via Agentic Reinforcement Learning

    Zihao Jiang, Miao Peng, Zhenyan Shan, Wenjie Xu, Ben Liu, Gong Chen, Ziqi Gao, Min Peng

    Abstract

    Temporal knowledge graph question answering (TKGQA) aims to answer time-sensitive questions by leveraging temporal knowledge bases. While Large Language Models (LLMs) demonstrate significant potential in TKGQA, current prompting strategies constrain their efficacy in two primary ways. First, they are prone to reasoning hallucinations under complex temporal constraints. Second, static prompting limits model autonomy and generalization, as it lacks optimization through dynamic interaction with temporal knowledge graph (TKG) environments. To address these limitations, we propose TKG-Thinker, a novel agent equipped with autonomous planning and adaptive retrieval capabilities for reasoning over TKGs. Specifically, TKG-Thinker performs in-depth temporal reasoning through dynamic multi-turn interactions with TKGs via a dual-training strategy. We first apply Supervised Fine-Tuning (SFT) with chain of thought data to instill core planning capabilities, followed by a Reinforcement Learning (RL) stage that leverages multi-dimensional rewards to refine reasoning policies under intricate temporal constraints. Experimental results on benchmark datasets with three open-source LLMs show that TKG-Thinker achieves state-of-the-art performance and exhibits strong generalization across complex TKGQA settings.

    Abstract source
  • EMNLP · Main

    Mitigating Model Merging Conflicts via Knowledge-Aware Task Vector Purification

    Bang An, Yibo Yang, Philip Torr, Bernard Ghanem

    Abstract

    Model merging aims to integrate task-specific abilities from individually fine-tuned models into a single model without extra training. In model merging methods, the task vector has become a fundamental building block, as it can encapsulate the information from fine-tuning. However, the merged model often suffers from performance degradation due to conflicts caused by task-irrelevant redundancy in task vectors. To address these challenges, we propose \textbf{P}urified T\textbf{A}sk \textbf{VE}ctors (PAVE) in knowledge-aware subspace. Concretely, we sample training examples from each task, and feed them into their fine-tuned models to acquire covariance matrices before linear layers. We then perform a context-oriented singular value decomposition, which accentuates the weight components most relevant to the target knowledge. As a result, we split fine-tuned model weights into task-relevant and redundant components in the knowledge-aware subspace, and purify the task vector by pruning redundant components. To induce fair pruning efforts across models, we further introduce a spectral rank allocation strategy by optimizing a normalized activated pruning error. The task vector purification by our method as a plug-and-play scheme is applicable across various task vector-based merging methods to improve their performance. In experiments, we demonstrate the effectiveness of PAVE across diverse merging methods, tasks, and model architectures.

    Abstract source
  • EMNLP · Main

    Medical Bilingualism: Cross-Ontology Graph Retrieval for Incommensurable Knowledge Bases

    Zixuan Wang, Ke Lu, Zihan Wang, Junwei Lei, Junhao Dong, Jinyu Guo, Chaomeng Chen

    Abstract

    Graph-based Retrieval-Augmented Generation (GraphRAG) can fail in interdisciplinary medicine where evidence comes from incommensurable knowledge systems, e.g., Traditional Chinese Medicine (TCM) and Western Medicine (WM). Similarity-driven retrieval in a shared latent space may over-unify heterogeneous concepts, causing semantic collapse (spurious alignments, provenance-blind mixing, and broken multi-hop chains). We propose Xonto-RAG, a cross-ontology GraphRAG framework that avoids ontological unification by constructing a dual-ontology graph with typed bridges induced via LLM-assisted verify-and-vote. A query-aware Relational Graph Attention Network (RGAT) then assembles compact, provenance-tracked multi-hop evidence subgraphs for grounded generation. Across TCM–WM benchmarks, Xonto-RAG outperforms strong RAG/GraphRAG baselines, seeing up to +22.2% accuracy on MLEC-QA TCWM (vs. OG-RAG), 77.0% accuracy with a 7B backbone, and 85.1% faithfulness on MLEC-TCM, while reducing semantic-collapse failures and yielding interpretable reasoning chains.

    Abstract source
  • EMNLP · Main

    Why Is This Joke Offensive? Interpreting Offensiveness in Chinese Dark Humor Through Knowledge and Rhetoric

    Jiecheng Jiang, Herun Wan, Zihang Fu, Hai-Tao Yu, Min-Yen Kan, Jiaying Wu

    Abstract

    Offensive dark humor presents a high-context safety challenge: its harmful meaning is often absent from surface wording and emerges only after recovering background knowledge and rhetorical transformation. To explore this problem, we introduce HellHumor-CN, a benchmark of 2,168 Chinese jokes annotated for three subtasks: (1) offense detection, (2) sensitive topic prediction, and (3) target identification. We further propose HumorLens, a knowledge-grounded and rhetoric-aware multi-agent framework that retrieves relevant background information and analyzes three common mechanisms in dark humor: mockery, irony, and pun. Experiments show that toxic content detectors and strong LLMs struggle with Chinese dark humor, especially on topic and target interpretation. HumorLens consistently improves performance across multiple models, suggesting that background grounding and mechanism-specific analysis help identify implicit offensive meanings. Further analyses reveal persistent challenges, including visually implied harm, coded sexual innuendo, lexical oversensitivity, and abstract target grounding.

    Abstract source
  • EMNLP · Main

    Beyond Retrieval: Structuring Evolving and Inconsistent External Knowledge with Proposition Relations for RAG

    Noriki Nishida, Fei Cheng, Yuji Matsumoto

    Abstract

    Real-world knowledge bases evolve over time and accumulate outdated statements, contradictions, and misinformation. LLMs have been reported to be vulnerable to such inconsistent contexts. In this paper, we propose Proposition-Structured RAG (ProStruct-RAG), a framework that continuously structures evolving and inconsistent external knowledge bases using timestamped propositions and inter-proposition relations. ProStruct-RAG represents a document collection as a graph whose nodes are propositions and whose edges capture temporal updates, contradictions, and support relations, retrieves query-relevant knowledge as a relational structure, and uses it for answer generation in RAG. Experiments on multiple open-book temporal QA benchmarks show that ProStruct-RAG outperforms baselines that do not use inter-proposition relations, suggesting that RAG over evolving and inconsistent knowledge benefits from organizing external knowledge before retrieval, rather than relying solely on inference-time reasoning. We release our code and Asteria, a new fictional temporal QA dataset designed to mitigate data contamination.

    Abstract source
  • EMNLP · Main

    FBV-KGQA: Forward-Backward Verification for Knowledge Graph Question Answering

    Jiaqi Wu, Jiakang Li, Zhenxuan Ma, Li Wang

    Abstract

    Large language models (LLMs) have shown strong reasoning capabilities in knowledge graph question answering (KGQA), yet their predictions are not always supported by explicit and verifiable reasoning paths. Existing methods often retrieve or generate plausible candidate paths, but path plausibility alone does not establish that a prediction actually depends on the retrieved evidence. To address this issue, we propose FBV-KGQA, a forward-backward verification framework for reliable and interpretable KGQA. FBV-KGQA first derives executable reasoning paths through relation-level planning and evaluates their forward support for candidate answers. It then identifies critical entity and relation pivots and applies schema-constrained counterfactual perturbations to assess their influence on model predictions. Reverse questions are subsequently constructed from candidate answers to verify whether they can be consistently traced back to the original question entity. Finally, an adaptive selection strategy integrates forward support, counterfactual effects, and backward consistency. Experiments on WebQSP and CWQ show competitive performance against representative KGQA baselines, while human evaluation indicates improved traceability, clarity, and usefulness of the resulting reasoning paths.

    Abstract source
  • EMNLP · Main

    Is Knowledge Distillation Actually Greener? A Case Study in Machine Translation

    Joseph Attieh, Timothee Mickus, Anne-Laure Ligozat, Aurélie Névéol, Jörg Tiedemann

    Abstract

    Knowledge distillation (KD) is a technique to compress a larger teacher system into a smaller student. In machine translation, KD is commonly evaluated through translation quality and inference efficiency, without jointly accounting for the environmental costs of producing and deploying the distilled system. We evaluate representative KD methods both on bespoke MT models and LLMs, by considering both translation quality and computational cost, using the Machine Learning Life Cycle Assessment tool, which accounts for costs throughout the KD model life cycle. Our key finding is that the deployment volume required to amortize KD is serving-dependent and can shift by several orders of magnitude under batching. We include actionable guidance for selecting, developing, and evaluating KD methods under quality and compute-induced constraints.

    Abstract source
  • EMNLP · Main

    StruProKGR: A Structural and Probabilistic Framework for Sparse Knowledge Graph Reasoning

    Yucan Guo, Saiping Guan, Miao Su, Jiyao Wei, Xiaolong Jin, Jiafeng Guo, Xueqi Cheng

    Abstract

    Sparse Knowledge Graphs (KGs) are commonly encountered in real-world applications, where knowledge is often incomplete or limited. Sparse KG reasoning, the task of inferring missing knowledge over sparse KGs, is inherently challenging due to the scarcity of knowledge and the difficulty of capturing relational patterns in sparse scenarios. Among all sparse KG reasoning methods, path-based ones have attracted plenty of attention due to their interpretability. Existing path-based methods typically rely on computationally intensive random walks to collect paths, producing paths of variable quality. Additionally, these methods fail to leverage the structured nature of graphs by treating paths independently. To address these shortcomings, we propose a Structural and Probabilistic framework named StruProKGR, tailored for efficient and interpretable reasoning on sparse KGs. StruProKGR utilizes a distance-guided path collection mechanism to significantly reduce computational costs while exploring more relevant paths. It further enhances the reasoning process by incorporating structural information through probabilistic path aggregation, which prioritizes paths that reinforce each other. Extensive experiments on five sparse KG reasoning benchmarks reveal that StruProKGR surpasses existing path-based methods in both effectiveness and efficiency, providing an effective, efficient, and interpretable solution for sparse KG reasoning.

    Abstract source
  • EMNLP · Main

    TATK: Triple-Aware Top-K Learning with Knowledge-Grounded Verification for LLM-based Sequential Recommendation

    Yuchen Guan, Jiaye Liu, Yifei Han, Zhenxi Zhang, Yixuan Weng, Bin Li

    Abstract

    LLM-based sequential recommenders usually cast next-item prediction as text generation, but this interface is poorly matched to full-catalog top-K ranking. We propose TATK, a Triple-Aware framework that couples Top-K Learning (TKL) with Knowledge-Grounded Verification (KGV) for LLM-based sequential recommendation. Top-K Learning combines context-aware metadata-KG prompt grounding with position-aware top-K rewards, aligning training with ranking utility; Knowledge-Grounded Verification then applies structure-aware reranking over the top-M candidates after a single LLM forward pass, using the same metadata-derived item graph. We evaluate TATK on Musical Instruments, CDs and Vinyl, and Video Games from Amazon Reviews 2023 under a matched R²ec-style full-catalog protocol. Experiments use Gemma-2-2B-It and Qwen2.5-3B-Instruct backbones, compare against sequential, generative, KG-augmented, and reasoning-enhanced baselines, and include component, reward-shape, sequence-perturbation, reranking, relation-quality, and candidate-pool diagnostics. TATK improves over the matched R²ec reproduction on all 36 reported metrics. On NDCG@10, it improves Qwen by 8.05%, 4.26%, and 3.78% on the three datasets, and improves Gemma by 27.03%, 10.52%, and 10.23%, while keeping inference within 1.17× of Base RecPO latency. The diagnostics show that structural evidence is most useful for recoverable top-M candidates with reliable KG support, and should be gated when metadata relations are sparse or noisy.

    Abstract source
  • EMNLP · Main

    Dual-Prompt-Driven Textual Knowledge Graph Generation With Heterogeneous Information Embedding for CTR Prediction

    Xiling Feng, Han Liu, Yinghui Pan, Zhiwu Xu

    Abstract

    In click-through rate prediction tasks, learning high-quality feature embeddings from multi-field categorical data is an essential task. Early approaches typically need to transform categorical features into one-hot encoded vectors for producing embeddings. This transformation often results in loss of semantic information. In the era of large language models, it has become necessary to transform multi-field categorical data into text to achieve embedding of semantic information. Moreover, semantic information of each categorical feature can be useful to model the relationships among categories for enhancing the embedding quality. To address this point, in this paper, we propose an approach of dual-prompt-driven textual knowledge graph generation with heterogeneous information embedding for enhancing the representation of multi-field categorical data. Specifically, we design two prompt templates to transform multi-field categorical data into a textual knowledge graph for problem reformulation, and propose a heterogeneous information embedding approach that works by jointly representing the generated text and knowledge graph in the setting of cross-attention gated modality fusion with feature alignment. The experimental results indicate that our approach outperforms those baselines of click-through rate prediction. The results also indicate that each module of our approach is useful for improving the performance.

    Abstract source
  • EMNLP · Main

    Let Them Steal: Trapping Large Language Model Extraction Attacks with Knowledge Honeypot

    Yuyang Dai, Yushun Dong

    Abstract

    Large language models deployed as commercial APIs are vulnerable to model extraction attacks, while existing defenses either act too late or degrade utility for legitimate users. We propose Knowledge Trap, a defense that redirects extraction attacks toward low-transferability knowledge through a Honeypot Knowledge Graph (HKG) and breadcrumb-guided exploration. Instead of blocking queries or perturbing outputs, Knowledge Trap consumes the attacker’s limited query budget on knowledge with negligible downstream utility while preserving benign-user performance. Experiments in medical and financial domains show that Knowledge Trap reduces surrogate Agreement by 6.2% on average without degrading legitimate-user accuracy, outperforming existing defenses that impose measurable user impact. These results suggest that defending knowledge-space traversal is a practical direction for mitigating LLM extraction attacks.

    Abstract source
  • EMNLP · Main

    DuoPRAG: Rank-Disentangled and Gated Knowledge-Reasoning Fusion

    Nakhyun Choi, Cheoneum Park, Seung-hoon Na

    Abstract

    We rethink parametric retrieval-augmented generation with DuoPRAG, which integrates knowledge and reasoning capabilities through rank-disentangled and gated Low-Rank Adaptation (LoRA) composition. Existing parametric RAG methods encode document knowledge into LoRA parameters while leaving reasoning to be supplied through lexical chain-of-thought (CoT) prompting. This introduces three failure modes in outputs and contradicts the prompt-independent inference that parametric RAG aims to achieve. DuoPRAG parameterizes knowledge and reasoning into disentangled LoRA adapters, fused through a learnable mask and rank-specific gates. We achieve state-of-the-art performance on multi-hop QA benchmarks, outperforming the strongest parametric RAG baseline while preserving the parametric inference framework. Our results demonstrate that jointly parameterizing knowledge and reasoning is a natural and effective extension of the parametric RAG paradigm. Our code is available at https://github.com/naknak-choi/DuoPRAG.

    Abstract source
  • EMNLP · Main

    Time is Not a Label: Continuous Phase Rotation for Temporal Knowledge Graphs and Agentic Memory

    Weixian Waylon Li, Jiaxin Zhang, Xianan Jim Yang, Tiejun Ma, Steven Y. Guo

    Abstract

    Structured memory representations such as knowledge graphs are central to autonomous agents and other long-lived systems. However, most existing approaches model time as discrete metadata, either sorting by recency (burying old-yet-permanent knowledge), simply overwriting outdated facts, or requiring an expensive LLM call at every ingestion step, leaving them unable to distinguish persistent facts from evolving ones. To address this, we introduce RoMem, a drop-in temporal knowledge graph module for structured memory systems, applicable to agentic memory and beyond. A pretrained Semantic Speed Gate maps each relation’s text embedding to a volatility score, learning from data that evolving relations (e.g., “president of”) should rotate fast while persistent ones (e.g., “born in”) should remain stable. Combined with continuous phase rotation, this enables geometric shadowing: obsolete facts are rotated out of phase in complex vector space, so temporally correct facts naturally outrank contradictions without deletion. On temporal knowledge graph completion, RoMem achieves state-of-the-art results on ICEWS05-15 (72.6 MRR). Applied to agentic memory, it delivers 2-3x MRR and answer accuracy on temporal reasoning (MultiTQ), dominates hybrid benchmark (LoCoMo), preserves static memory with zero degradation (DMR-MSC), and generalises zero-shot to unseen financial domains (FinTMMBench).

    Abstract source
  • EMNLP · Main

    Peak-Then-Collapse and the Four Interface Channels of Knowledge-Graph Tool Use

    Tianda Sun, Dimitar Kazakov

    Abstract

    We test the standard RLVR tool-use recipe (GRPO on Qwen2.5-7B-Instruct) on a deliberately minimal knowledge-graph tool API: four Freebase navigation verbs over Complex WebQuestions. Under a self-verifiable retrieval reward, the policy’s correct-via-tool rate climbs from 3.8 to 9.6 over 250 steps, then collapses to 0 within a single 50-step window, a peak-then-collapse pattern replicated across four seeds. Across seven reward designs, we find four recurring failure modes: adding denser or more targeted proxy rewards shifts the failure mode rather than eliminating it. We argue that a key difference from Python interpreters, web search, and JSON APIs is interface feedback. Their failures often leak natural-language signal the model saw in pretraining. A Python traceback names the failing line; an empty Freebase result [] does not. Stripping away that surface exposes a degradation regime that same-family reward redesigns do not fix. A direct oracle ablation rules out relation selection: injecting gold relations at every retrieval call lifts exact-match accuracy by only +0.20 pp, and 95.4 of retrieval-dependent errors are retrieval-composition failures rather than answer-extraction failures. As a mitigation, one-iteration self-distillation reaches 40 EM at 7B; the best 14B model we train reaches 40.2 (a gap within sampling noise) and initialisation barely matters, so within the 7B–14B range tested the ~40 ceiling appears interface-bound rather than capacity-bound.Paper Type: Long

    Abstract source
  • EMNLP · Main

    Validator-Guided Decoding for Multi-Hop Knowledge Editing

    Shanbao Qiao, Xuebing Liu, Seung-Hoon Na

    Abstract

    Knowledge editing aims to update specific factual knowledge in large language models without full retraining. Although existing editors can often modify local factual associations, edited models still struggle to apply updated knowledge in multi-hop reasoning. In this work, we study this problem through the lens of the generate-verification gap: a model may fail to directly generate the correct updated answer, while a verifier conditioned on the edit facts can still judge whether a proposed answer is compatible with the updated knowledge. Motivated by this observation, we propose \textbf{V}alidator-\textbf{G}uided \textbf{D}ecoding (\textbf{VGD}), a test-time method that uses edit facts as verification memory to improve answer generation after knowledge editing. VGD employs a trained validator as an external correctness signal over candidate answers, allowing the model to retain reliable outputs while selectively revising uncertain or inconsistent predictions. It is editor-agnostic and can be applied to base models or on top of existing editors without modifying the editor or further updating the edited model. Experiments on multi-hop benchmarks show that VGD improves hop-level consistency and final-answer accuracy, generally outperforming ICL and CoT baselines. Our code will be available at https://github.com/JoveReCode/VGD.

    Abstract source
  • EMNLP · Main

    PathSoft: Hybrid Soft Prompting with Ranked Reasoning Paths for Knowledge Graph Question Answering

    Yan Teng, Xiaoding Zhou, Jinshuo Zhang, Ying Lian, Guoqiang Chen, Hongjiao Guan, Weiyu Zhang, Wenpeng Lu

    Abstract

    Large language models (LLMs) have demonstrated strong reasoning abilities, but hallucinations and unverifiable intermediate reasoning steps remain key challenges. In knowledge graph question answering (KGQA), entity-relation paths from knowledge graphs (KGs) provide structured and verifiable evidence for grounded reasoning. However, existing KG-enhanced LLM methods commonly linearize all retrieved reasoning paths into textual prompts, introducing noise and underexploiting their ordered structure. To address these limitations, we propose PathSoft, a hybrid soft prompting framework that combines textual path evidence with soft prompts. PathSoft first employs PathMLP to select reliable reasoning paths, and then uses PathSoftAdapter to convert the selected paths into continuous soft prompts while preserving their ordered path structure. Finally, the resulting soft prompt tokens are combined with the textual prompt at the embedding layer of the frozen LLM, enabling it to exploit both readable path evidence and path structure information. Experiments on WebQSP and CWQ show that PathSoft outperforms existing KGQA baselines. The code is available at https://github.com/tengyan1786-blip/PathSoft.

    Abstract source