LLaSA: Large Language and Structured Data Assistant

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xu, Yao, He, Shizhu, Chen, Jiabei, Xiangrong, Zeng, Wang, Bingning, Liu, Guang, Zhao, Jun, Liu, Kang
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910819757850624
author Xu, Yao
He, Shizhu
Chen, Jiabei
Xiangrong, Zeng
Wang, Bingning
Liu, Guang
Zhao, Jun
Liu, Kang
author_facet Xu, Yao
He, Shizhu
Chen, Jiabei
Xiangrong, Zeng
Wang, Bingning
Liu, Guang
Zhao, Jun
Liu, Kang
contents Structured data, such as tables, graphs, and databases, play a critical role in plentiful NLP tasks such as question answering and dialogue system. Recently, inspired by Vision-Language Models, Graph Neutral Networks (GNNs) have been introduced as an additional modality into the input of Large Language Models (LLMs) to improve their performance on Structured Knowledge Grounding (SKG) tasks. However, those GNN-enhanced LLMs have the following limitations: (1) They employ diverse GNNs to model varying types of structured data, rendering them unable to uniformly process various forms of structured data. (2) The pretraining of GNNs is coupled with specific LLMs, which prevents GNNs from fully aligning with the textual space and limits their adaptability to other LLMs. To address these issues, we propose \textbf{L}arge \textbf{L}anguage and \textbf{S}tructured Data \textbf{A}ssistant (LLaSA), a general framework for enhancing LLMs' ability to handle structured data. Specifically, we represent various types of structured data in a unified hypergraph format, and use self-supervised learning to pretrain a hypergraph encoder, and a G-Former compressing encoded hypergraph representations with cross-attention. The compressed hypergraph representations are appended to the serialized inputs during training and inference stages of LLMs. Experimental results on multiple SKG tasks show that our pretrained hypergraph encoder can adapt to various LLMs and enhance their ability to process different types of structured data. Besides, LLaSA, with LoRA fine-tuning, outperforms previous SOTA method using full parameters tuning.
format Preprint
id arxiv_https___arxiv_org_abs_2411_14460
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLaSA: Large Language and Structured Data Assistant
Xu, Yao
He, Shizhu
Chen, Jiabei
Xiangrong, Zeng
Wang, Bingning
Liu, Guang
Zhao, Jun
Liu, Kang
Computation and Language
Artificial Intelligence
Machine Learning
Structured data, such as tables, graphs, and databases, play a critical role in plentiful NLP tasks such as question answering and dialogue system. Recently, inspired by Vision-Language Models, Graph Neutral Networks (GNNs) have been introduced as an additional modality into the input of Large Language Models (LLMs) to improve their performance on Structured Knowledge Grounding (SKG) tasks. However, those GNN-enhanced LLMs have the following limitations: (1) They employ diverse GNNs to model varying types of structured data, rendering them unable to uniformly process various forms of structured data. (2) The pretraining of GNNs is coupled with specific LLMs, which prevents GNNs from fully aligning with the textual space and limits their adaptability to other LLMs. To address these issues, we propose \textbf{L}arge \textbf{L}anguage and \textbf{S}tructured Data \textbf{A}ssistant (LLaSA), a general framework for enhancing LLMs' ability to handle structured data. Specifically, we represent various types of structured data in a unified hypergraph format, and use self-supervised learning to pretrain a hypergraph encoder, and a G-Former compressing encoded hypergraph representations with cross-attention. The compressed hypergraph representations are appended to the serialized inputs during training and inference stages of LLMs. Experimental results on multiple SKG tasks show that our pretrained hypergraph encoder can adapt to various LLMs and enhance their ability to process different types of structured data. Besides, LLaSA, with LoRA fine-tuning, outperforms previous SOTA method using full parameters tuning.
title LLaSA: Large Language and Structured Data Assistant
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2411.14460