arXiv

From Global to Local: Learning Context-Aware Graph Representations for Document Classification and Summarization

Title: Bridging the Global and Local: Context-Aware Graph Representations for Document Summarization and Classification

Abstract:

Current natural language processing (NLP) models typically encode documents as linear sequences of tokens. While this approach preserves sequential order, it often struggles to model long-range dependencies and the overarching structure of a document, a limitation that is particularly pronounced in lengthy texts. To address this, we introduce a data-driven technique for the automatic generation of graph-based document representations. Drawing on the foundational work of Bugue and de Melo (2025), our method utilizes a dynamic sliding-window attention mechanism to effectively capture both local and mid-range semantic connections between sentences, as well as structural relationships inherent within the documents. Experiments demonstrate that Graph Attention Networks (GATs) trained on these learned graphs deliver competitive performance in document classification tasks, all while consuming fewer computational resources than prior methods. Additionally, we provide an exploratory assessment of this graph construction approach for extractive document summarization, outlining both its promising capabilities and existing constraints. The codebase for this project is publicly available on GitHub.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...