Chapter 12. Future Trends: Graph Learning and LLMs
Introduction to Graph-Enhanced LLMs
This chapter explores the significant intersection of large language models (LLMs) and graph learning. LLMs—such as ChatGPT, Gemini, and Claude—represent a paradigm shift in information processing. Trained on vast textual corpora, they exhibit remarkable proficiency in natural language understanding, text generation, document summarization, and code development. Their capabilities stem from identifying and replicating complex linguistic patterns learned during their extensive training phases.
Despite their power, LLMs possess inherent limitations. Their knowledge base is typically static, reflecting the data available up to their last training date, rendering them unaware of subsequent developments. Furthermore, they are susceptible to generating inaccurate or “hallucinated” responses, particularly when addressing queries that demand highly specific, current, or domain-expert knowledge. A core challenge lies in their processing of linear text sequences, which often hinders their ability to fully comprehend and reason over the complex, interconnected relationships embedded within data.
To mitigate these limitations, the retrieval-augmented generation (RAG) framework was developed. This approach equips the LLM with access to an external, dynamic information repository. When presented with a query, the RAG system first retrieves pertinent data segments from this external source. Subsequently, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access