paper-with-me

홈 › Papers

Graph Language Models

2024-01-13 · Moritz Plenz, Anette Frank

While Language Models (LMs) are the workhorses of NLP, their interplay with structured knowledge graphs (KGs) is still actively researched. Current methods for encoding such graphs typically either (i) linearize them for embedding with LMs -- which underutilize structural information, or (ii) use Graph Neural Networks (GNNs) to preserve the graph structure -- but GNNs cannot represent text features as well as pretrained LMs. In our work we introduce a novel LM type, the Graph Language Model (GLM), that integrates the strengths of both approaches and mitigates their weaknesses. The GLM parameters are initialized from a pretrained LM to enhance understanding of individual graph concepts and triplets. Simultaneously, we design the GLM's architecture to incorporate graph biases, thereby promoting effective knowledge distribution within the graph. This enables GLMs to process graphs, texts, and interleaved inputs of both. Empirical evaluations on relation classification tasks show that GLM embeddings surpass both LM- and GNN-based baselines in supervised and zero-shot setting, demonstrating their versatility.

📄 PDF Abstract BibTeX arXiv:2401.07105

Code (1)

heidelberg-nlp/graphlanguagemodels 공식 구현 pytorch

Tasks

Knowledge GraphsLanguage ModelingLanguage ModellingRelation Classification

Methods 이 논문이 사용한 방법론

GLM GLM is a bilingual (English and Chinese) pre-trained transformer-based language model that follow the traditional architecture of decoder-only autoregressive language…

Similar Papers 제목 키워드 기반

GraphextQA: A Benchmark for Evaluating Graph-Enhanced Large Language Models

2023-10-12 · Yuanchun Shen, Ruotong Liao, Zhen Han, Yunpu Ma 외

While multi-modal models have successfully integrated information from image, video, and audio modalities, integrating graph modality into large language models (LLMs) remains unexplored. This discrepancy largely stems f…

Answer GenerationHallucinationLanguage ModelingLanguage Modelling+2

A natural language interface to a graph-based bibliographic information retrieval system

2016-12-10 · Yongjun Zhu, Erjia Yan, Il-Yeol Song

With the ever-increasing scientific literature, there is a need on a natural language interface to bibliographic information retrieval systems to retrieve related information effectively. In this paper, we propose a natu…

Information Retrievalnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+2

Can Language Models Solve Graph Problems in Natural Language?

2023-05-17 · NeurIPS 2023 11 · Heng Wang, Shangbin Feng, Tianxing He, Zhaoxuan Tan 외

Large language models (LLMs) are increasingly adopted for a variety of tasks with implicit graphical structures, such as planning in robotics, multi-hop question answering or knowledge probing, structured commonsense rea…

In-Context LearningKnowledge ProbingMulti-hop Question AnsweringQuestion Answering

GraphText: Graph Reasoning in Text Space

2023-10-02 · Jianan Zhao, Le Zhuo, Yikang Shen, Meng Qu 외

Large Language Models (LLMs) have gained the ability to assimilate human knowledge and facilitate natural language interactions with both humans and other LLMs. However, despite their impressive achievements, LLMs have n…

In-Context LearningText Generation

Language is All a Graph Needs

2023-08-14 · Ruosong Ye, Caiqi Zhang, Runhui Wang, Shuyuan Xu 외

The emergence of large-scale pre-trained language models has revolutionized various AI research domains. Transformers-based Large Language Models (LLMs) have gradually replaced CNNs and RNNs to unify fields of computer v…

AllGraph LearningLanguage ModelingLanguage Modelling