mlsanityData to 7 Oct 2026

GORAG: Graph-based Online Retrieval Augmented Generation for Dynamic Few-shot Social Media Text Classification

arXiv 2501.02844 ↗First posted 6 Jan 2025cs.CL cs.IR cs.LGcited by 6

On the map: Retrieval-augmented generation → Knowledge-graph and structured-knowledge RAG

Abstract (arXiv)

Text classification is vital for Web for Good applications like hate speech and misinformation detection. However, traditional models (e.g., BERT) often fail in dynamic few-shot settings where labeled data are scarce, and target labels frequently evolve. While Large Language Models (LLMs) show promise in few-shot settings, their performance is often hindered by increased input size in dynamic evolving scenarios. To address these issues, we propose GORAG, a Graph-based Online Retrieval-Augmented Generation framework for dynamic few-shot text classification. GORAG constructs and maintains a weighted graph of keywords and text labels, representing their correlations as edges. To model these correlations, GORAG employs an edge weighting mechanism to prioritize the importance and reliability of extracted information and dynamically retrieves relevant context using a tailored minimum-cost spanning tree for each input. Empirical evaluations show GORAG outperforms existing approaches by providing more comprehensive and precise contextual information. Our code is released at: https://github.com/Wyb0627/GORAG.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Knowledge-graph and structured-knowledge RAG, one of 15 directions in Retrieval-augmented generation. Builds on 31 of its 83 references that are in the map. First posted on arXiv 6 Jan 2025.

Builds on

31 of 83 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Retrieval-Augmented Generation with Graphs (GraphRAG)31 Dec
  2. 2024Graph of Records: Boosting Retrieval Augmented Generation for Long-context Summarization with Graphs14 Oct
  3. 2024Graph Retrieval-Augmented Generation: A Survey15 Aug
  4. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarization24 Apr
  5. 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval31 Jan

Other references · 26

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2018Deep contextualized word representationscited by 2,285
  6. 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,313
  7. 2023LIMA: Less Is More for Alignmentcited by 1,080
  8. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  9. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
  10. 2019Text Classification Algorithms: A Surveycited by 163
  11. 2016Recurrent Neural Network for Text Classification with Multi-Task Learningcited by 144
  12. 2017Bilateral Multi-Perspective Matching for Natural Language Sentencescited by 120
14 more
  1. 2017HDLTex: Hierarchical Deep Learning for Text Classificationcited by 105
  2. 2023Dense X Retrieval: What Retrieval Granularity Should We Use?cited by 88
  3. 2020A Survey on Text Classification: From Shallow to Deep Learningcited by 80
  4. 2018Weakly-Supervised Neural Text Classificationcited by 66
  5. 2024CompAct: Compressing Retrieved Documents Actively for Question Answeringcited by 64
  6. 2023On Early Detection of Hallucinations in Factual Question Answeringcited by 54
  7. 2016TopicRNN: A Recurrent Neural Network with Long-Range Semantic Dependencycited by 27
  8. 2024FoRAG: Factuality-optimized Retrieval Augmented Generation for Web-enhanced Long-form Question Answeringcited by 18
  9. 2024Effective Clustering on Large Attributed Bipartite Graphscited by 7
  10. 2024Hate Speech Detection with Generalizable Target-aware Fairnesscited by 7
  11. 2024Exposing Cross-Platform Coordinated Inauthentic Activity in the Run-Up to the 2024 U.S. Electioncited by 7
  12. 2023Susceptibility to Unreliable Information Sources: Swift Adoption with Minimal Exposurecited by 6
  13. 2023TART: Improved Few-shot Text Classification Using Task-Adaptive Reference Transformationcited by 3
  14. 2024Liberating Seen Classes: Boosting Few-Shot and Zero-Shot Text Classification via Anchor Generation and Classification Reframingcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024DynaGRAG | Exploring the Topology of Information for Advancing Language Understanding and Generation in Graph Retrieval-Augmented Generation
  2. 2025Pseudo-Knowledge Graph: Meta-Path Guided Retrieval and In-Graph Text for RAG-Equipped LLM
  3. 2024Retrieval Augmented Generation for Dynamic Graph Modeling
  4. 2026T-Retriever: Tree-based Hierarchical Retrieval Augmented Generation for Textual Graphs
  5. 2024Bryndza at ClimateActivism 2024: Stance, Target and Hate Event Detection via Retrieval-Augmented GPT-4 and LLaMA
  6. 2025AGRAG: Advanced Graph-based Retrieval-Augmented Generation for LLMs
  7. 2024Zero-Indexing Internet Search Augmented Generation for Large Language Models
  8. 2025ROGRAG: A Robustly Optimized GraphRAG Framework