Less is More: Making Smaller Language Models Competent Subgraph Retrievers for Multi-hop KGQA

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Huang, Wenyu, Zhou, Guancheng, Wang, Hongru, Vougiouklis, Pavlos, Lapata, Mirella, Pan, Jeff Z.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913538077884416
author Huang, Wenyu
Zhou, Guancheng
Wang, Hongru
Vougiouklis, Pavlos
Lapata, Mirella
Pan, Jeff Z.
author_facet Huang, Wenyu
Zhou, Guancheng
Wang, Hongru
Vougiouklis, Pavlos
Lapata, Mirella
Pan, Jeff Z.
contents Retrieval-Augmented Generation (RAG) is widely used to inject external non-parametric knowledge into large language models (LLMs). Recent works suggest that Knowledge Graphs (KGs) contain valuable external knowledge for LLMs. Retrieving information from KGs differs from extracting it from document sets. Most existing approaches seek to directly retrieve relevant subgraphs, thereby eliminating the need for extensive SPARQL annotations, traditionally required by semantic parsing methods. In this paper, we model the subgraph retrieval task as a conditional generation task handled by small language models. Specifically, we define a subgraph identifier as a sequence of relations, each represented as a special token stored in the language models. Our base generative subgraph retrieval model, consisting of only 220M parameters, achieves competitive retrieval performance compared to state-of-the-art models relying on 7B parameters, demonstrating that small language models are capable of performing the subgraph retrieval task. Furthermore, our largest 3B model, when plugged with an LLM reader, sets new SOTA end-to-end performance on both the WebQSP and CWQ benchmarks. Our model and data will be made available online: https://github.com/hwy9855/GSR.
format Preprint
id arxiv_https___arxiv_org_abs_2410_06121
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Less is More: Making Smaller Language Models Competent Subgraph Retrievers for Multi-hop KGQA
Huang, Wenyu
Zhou, Guancheng
Wang, Hongru
Vougiouklis, Pavlos
Lapata, Mirella
Pan, Jeff Z.
Computation and Language
Retrieval-Augmented Generation (RAG) is widely used to inject external non-parametric knowledge into large language models (LLMs). Recent works suggest that Knowledge Graphs (KGs) contain valuable external knowledge for LLMs. Retrieving information from KGs differs from extracting it from document sets. Most existing approaches seek to directly retrieve relevant subgraphs, thereby eliminating the need for extensive SPARQL annotations, traditionally required by semantic parsing methods. In this paper, we model the subgraph retrieval task as a conditional generation task handled by small language models. Specifically, we define a subgraph identifier as a sequence of relations, each represented as a special token stored in the language models. Our base generative subgraph retrieval model, consisting of only 220M parameters, achieves competitive retrieval performance compared to state-of-the-art models relying on 7B parameters, demonstrating that small language models are capable of performing the subgraph retrieval task. Furthermore, our largest 3B model, when plugged with an LLM reader, sets new SOTA end-to-end performance on both the WebQSP and CWQ benchmarks. Our model and data will be made available online: https://github.com/hwy9855/GSR.
title Less is More: Making Smaller Language Models Competent Subgraph Retrievers for Multi-hop KGQA
topic Computation and Language
url https://arxiv.org/abs/2410.06121