Papers › Graph Convolutional Networks for Text Classification

Graph Convolutional Networks for Text Classification

15 Sep 2018arXiv:1809.05679archive 2025-07-28

Liang Yao, Chengsheng Mao, Yuan Luo

Text classification is an important and classical problem in natural language processing. There have been a number of studies that applied convolutional neural networks (convolution on regular grid, e.g., sequence) to classification. However, only a limited number of studies have explored the more flexible graph convolutional neural networks (convolution on non-grid, e.g., arbitrary graph) for the task. In this work, we propose to use graph convolutional networks for text classification. We build a single text graph for a corpus based on word co-occurrence and document word relations, then learn a Text Graph Convolutional Network (Text GCN) for the corpus. Our Text GCN is initialized with one-hot representation for word and document, it then jointly learns the embeddings for both words and documents, as supervised by the known class labels for documents. Our experimental results on multiple benchmark datasets demonstrate that a vanilla Text GCN without any external word embeddings or knowledge outperforms state-of-the-art methods for text classification. On the other hand, Text GCN also learns predictive word and document embeddings. In addition, experimental results show that the improvement of Text GCN over state-of-the-art comparison methods become more prominent as we lower the percentage of training data, suggesting the robustness of Text GCN to less training data in text classification.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1809.05679")

Code

Syntology Ran 6 of 16 code samples harvested from 5 repositories linked to this paper; 10 have no recorded run. Of those that ran: 2 ran · honoured contract; 4 ran · our draft was wrong.

By repository: community (archive-listed): 16 samples from 5 repositories, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yao8839836/text_gcn officialmentioned in papertf report
FoxerLee/TGCN mentioned on GitHubtf report
chengsen/pytorch_textgcn mentioned on GitHubpytorch report
codeKgu/text-gcn mentioned on GitHubpytorchMIT report
koreyou/text-gcn-chainer mentioned on GitHubpytorchCC0-1.0 report
plkmo/Bible_Text_GCN mentioned on GitHubpytorch report
ydtydr/hyla mentioned on GitHubpytorch report
yongbowin/Bible_Text_GCN_annotation mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 6 ran; 2 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
4ran · our draft was wrong
10unverified

Licence: 6 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 5 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

cal_pmi chengsen/pytorch_textgcn/build_graph.py community (archive-listed) ran · honoured contract no licence file found · pointer only · a5ebdf6ac2def3a0 · report
count_pmi chengsen/pytorch_textgcn/build_graph.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 23cb6c93ee0a7878 · report
get_window chengsen/pytorch_textgcn/build_graph.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · a7642b4d294d07a6 · report
load_pickle dtriepke/Graph_Convolutional_Network/model_train.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · d760f5d1c4f85eb6 · report
load_state plkmo/Bible_Text_GCN/text_GCN.py community (archive-listed) ran · honoured contract no licence file found · pointer only · 1d30b9a0ccf5a53d · report
remove_less_word chengsen/pytorch_textgcn/data_processor.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 11c600e5158c8de1 · report
build_edges codeKgu/text-gcn/build_graph.py community (archive-listed) unverified MIT (permissive) · d7c52fad2776eea6 · report
calc_pmi koreyou/text-gcn-chainer/graphs.py community (archive-listed) unverified CC0-1.0 (permissive) · b362ca4a14ece361 · report
clean_doc codeKgu/text-gcn/prep_data.py community (archive-listed) unverified MIT (permissive) · d3fab161b1ada8bb · report
clean_doc_ap codeKgu/text-gcn/prep_data.py community (archive-listed) unverified MIT (permissive) · 609ed2882449335b · report
clean_documents codeKgu/text-gcn/prep_data.py community (archive-listed) unverified MIT (permissive) · eef3ad654b28192f · report
create_act codeKgu/text-gcn/model_text_gnn.py community (archive-listed) unverified MIT (permissive) · f71177416c3999b7 · report
create_text_adjacency_matrix koreyou/text-gcn-chainer/graphs.py community (archive-listed) unverified CC0-1.0 (permissive) · 8439106958ba7d2c · report
get_vocab codeKgu/text-gcn/build_graph.py community (archive-listed) unverified MIT (permissive) · f0aeffa095b44a3a · report
normalize_text koreyou/text-gcn-chainer/nlp_utils.py community (archive-listed) unverified CC0-1.0 (permissive) · 2950d6b582fe43a8 · report
proc_filepath codeKgu/text-gcn/utils.py community (archive-listed) unverified MIT (permissive) · ca704301382f623d · report

Tasks

General ClassificationSentiment AnalysisText Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Sentiment Analysis MR Text GCN Accuracy 76.74 #14 of 19 Archive leaderboard report
Text Classification 20NEWS Text GCN Accuracy 86.34 #10 of 16 Archive leaderboard report
Text Classification Ohsumed Text GCN Accuracy 68.36 #6 of 10 Archive leaderboard report
Text Classification R52 Text GCN Accuracy 93.56 #7 of 8 Archive leaderboard report
Text Classification R8 Text GCN Accuracy 97.07 #17 of 21 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

GCN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections