Parameter Efficient Graph Encoding for Large Language Models
Abstract
How can we best encode structured data into sequential form for use in large language models (LLMs)? In this work, we introduce a parameter-efficient method to explicitly represent structured data for LLMs. Our method, GraphToken, learns an encoding function to extend prompts with explicit structured information. The encoding function in GraphToken uses graph neural networks to effectively transfer the relational inductive biases in the structured data to a LLM. Unlike other work which focuses on limited domains (e.g., knowledge graph representation), our work is the first effort focused on the general encoding of structured data to be used for various reasoning tasks. We show that explicitly representing the graph structure allows significant improvements to graph reasoning tasks. Specifically, we see across the board improvements - up to 73% points - on a wide variety of node, edge and, graph-level tasks on benchmarks for graph reasoning (GraphQA) and molecular property prediction (ChemLLMBench).
BibTeX
@misc{perozzi2025parameter,
author = {Bryan Perozzi and Bahare Fatemi and Dustin Zelle and Syed A Rizvi and Anton Tsitsulin and Sami Abu-El-Haija and Hasan Awais and Mehran Kazemi and David van Dijk and Rami Al-Rfou' and Jonathan Halcrow},
title = {{Parameter Efficient Graph Encoding for Large Language Models}},
year = {2025},
url = {https://openreview.net/forum?id=RbcXV63ZJk},
howpublished = {OpenReview},
note = {Submitted to ICLR 2025},
}Ask Althea to put this paper to the test.
Loading related content...