# Graph Neural Networks for Text Classification: A Survey

텍스트 분류를 위한 그래프 신경망: 서베이

Kunze Wang, Yihao Ding, Soyeon Caren Han · arXiv · 2023년 4월 23일

- **연구 문제** 텍스트 분류는 단어와 문서, 코퍼스 전체의 관계를 기존 순차 모델로 충분히 다루기 어렵습니다.
- **연구 방법** GNN 기반 텍스트 분류 방법을 코퍼스 수준 그래프와 문서 수준 그래프로 나누어 그래프 구성, 노드 표현, 학습 설정을 비교합니다.
- **주요 결과** 코퍼스 수준 GNN은 주제 분류 벤치마크에서 대체로 강한 결과를 보였으나, 감성 분석 MR에서는 같은 우위가 나타나지 않았습니다.

## 텍스트 분류에 그래프 신경망을 적용하는 이유

텍스트 분류는 미리 정의된 레이블을 주어진 텍스트 시퀀스에 할당하는 자연어 처리 과제입니다. 기존의 N-gram이나 TF-IDF 표현에 전통적 기계학습 모델을 얹는 방식과 CNN, RNN, 어텐션 기반 모델은 단어와 문서 사이의 복잡한 관계나 문맥을 충분히 다루지 못한다고 설명됩니다. 이 서베이는 이러한 한계를 그래프 구조로 표현하고 GNN으로 학습하는 접근을 정리합니다. 그래프는 단어와 문서, 코퍼스 전체의 전역 정보를 함께 담을 수 있는 표현으로 소개됩니다.

논문은 GNN 기반 텍스트 분류를 코퍼스 수준 그래프와 문서 수준 그래프로 나누어 정리합니다. 코퍼스 수준 그래프는 전체 코퍼스를 하나 또는 여러 그래프로 표현하고, 문서 수준 그래프는 문서마다 하나의 그래프를 만듭니다. 두 방식은 그래프 구성, 노드 초기화, 간선 정의, 학습 설정이라는 기준으로 비교됩니다.

## 그래프 구성과 GNN 기본 계산

GNN은 그래프 구조, 노드 표현, 간선 표현을 함께 모델링하는 통합 프레임워크입니다. 원문은 층 l의 노드 표현 H(l)을 인접 행렬 A와 이전 층의 노드 표현 H(l-1)에서 필터 F로 계산하는 일반 형식을 제시합니다. 가장 많이 쓰이는 필터는 정규화된 대칭 인접 행렬 Ã = D^(-1/2) A D^(-1/2)를 사용하여 H(l) = φ(Ã H(l-1) W)로 정의되며, 여기서 D는 차수 행렬이고 W는 가중치 행렬입니다.

![Table 1: Commonly used notations in Graph Neural Networks](https://refivu.com/papers/f19b9da2-72aa-46a1-a0bc-7dd436867b5c/figures/figure-87e85cf91a56999a4906d6b321f14252.png?thumb=512)

**Table 1** . Commonly used notations in Graph Neural Networks

[원문](https://arxiv.org/abs/2304.11534v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kunze Wang, Yihao Ding, Soyeon Caren Han · Graph Neural Networks for Text Classification: A Survey · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

텍스트 분류에서는 그래프가 명시적으로 주어지지 않는 경우가 많아 설계자가 노드와 간선을 직접 정의해야 합니다. 노드 초기화에서는 GloVe, Word2vec, FastText 같은 단어 임베딩, BERT나 ELMo 같은 문맥 표현, TF-IDF 기반 문서 벡터, one-hot 표현이 쓰입니다. 간선은 PMI, TF-IDF, 연속 단어 관계 등으로 정의됩니다.

![Table 2: Models Detailed Comparison on whether using extern al resources, how to construct the edge and node input, and wh ether transductive learning or induc…](https://refivu.com/papers/f19b9da2-72aa-46a1-a0bc-7dd436867b5c/figures/figure-b9bd2e1383035a87069d040aeadd2fee.png?thumb=512)

**Table 2** . Models Detailed Comparison on whether using extern al resources, how to construct the edge and node input, and wh ether transductive learning or inductive learning. GloVe and Wor d2vec are pretrained if not specified. “emb sim” is short for “embedding similarity”, “dep graph” is short “dependency graph”.

[원문](https://arxiv.org/abs/2304.11534v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kunze Wang, Yihao Ding, Soyeon Caren Han · Graph Neural Networks for Text Classification: A Survey · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

## 코퍼스 수준 그래프 방법

코퍼스 수준 방법은 문서 노드와 단어 노드를 함께 포함하는 그래프를 만듭니다. 대표 모델인 TextGCN은 학습 문서 노드, 테스트 문서 노드, 단어 노드로 그래프를 구성하고, 문서와 단어 사이 간선은 TF-IDF, 단어와 단어 사이 간선은 PMI로 정의합니다. 원문은 TextGCN이 텍스트 분류를 노드 분류 문제로 다룬 최초의 연구로 제시하며, 두 층 GCN과 소프트맥스 출력으로 예측합니다.

이후 SGC는 GCN 층의 비선형 활성화 함수를 제거하고 전파를 단순화합니다. S2GC는 자기 루프와 마르코프 확산 커널을 사용해 과평활화 문제를 다루고, NMGC는 여러 홉의 이웃 정보를 min 풀링으로 결합합니다. BertGCN은 TextGCN의 문서 노드 초기화를 BERT의 CLS 출력으로 바꾸고, 두 모델의 출력을 보간하여 함께 학습합니다. 이러한 방법들은 같은 그래프 구성 위에서 전파 방식이나 초기 표현을 달리한 변형으로 읽을 수 있습니다.

## 문서 수준 그래프 방법

문서 수준 방법은 문서마다 하나의 그래프를 만들어 그래프 분류 모델처럼 다룹니다. 가장 단순한 형태는 슬라이딩 윈도우 안의 연속 단어를 연결하는 것입니다. Text-Level-GNN은 작은 윈도우로 그래프를 구성하고 메시지 전달 메커니즘을 사용하며, TextING은 MPAD에서 마스터 노드를 제거하고 소프트 어텐션 READOUT과 max·mean 풀링을 함께 사용합니다. 이 방법들은 문서별 그래프를 사용하므로 새 문서에 대해 귀납적으로 적용하기 쉽습니다.

다른 방식은 PMI를 단어 간선으로 사용하여 문서 안의 전역 공기 정보를 반영하거나, 연속 단어 간선과 PMI를 함께 사용합니다. 저자들은 문서 수준 GNN이 연속 단어를 연결하는 점에서 CNN과 비슷하게 기능한다고 해석합니다.

## 벤치마크 비교와 적용 범위

실험 비교는 20NG, R8, R52, Ohsumed, MR 같은 데이터셋에서 정확도를 기준으로 수행됩니다. Ohsumed는 MEDLINE 초록을 23개 심혈관 질환 범주로 분류하는 데이터셋이고, R8과 R52는 Reuters 21587의 8개와 52개 주제 부분집합입니다. 20NG는 20개 뉴스그룹 데이터셋이며, MR은 긍정과 부정 리뷰가 동일하게 분포된 이진 감성 분류 데이터셋입니다.

![Table 3: Commonly Used Text Classification Datasets by GNN- based models](https://refivu.com/papers/f19b9da2-72aa-46a1-a0bc-7dd436867b5c/figures/figure-ee9f15c5a01ee269ccbc36e00115bbaf.png?thumb=512)

**Table 3** . Commonly Used Text Classification Datasets by GNN- based models

[원문](https://arxiv.org/abs/2304.11534v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kunze Wang, Yihao Ding, Soyeon Caren Han · Graph Neural Networks for Text Classification: A Survey · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

원문은 GloVe를 외부 자원으로 사용하는 동일 설정에서 TG-Transformer와 TensorGCN 같은 코퍼스 수준 모델이 TextING과 TextSSL 같은 문서 수준 모델보다 대체로 높다고 보고합니다. 이 우위는 주제 분류 데이터셋에만 해당하며, MR 같은 감성 분석에서는 해당하지 않는다고 설명됩니다. 저자들은 감성 분석이 단어 순서를 분석해야 하는데 대부분의 코퍼스 수준 모델은 이를 다루기 어렵다고 해석합니다.

![Table 4: Performance Table. - indicates unavailability. \* r efers to replication from HyperGAT \[ 25\]](https://refivu.com/papers/f19b9da2-72aa-46a1-a0bc-7dd436867b5c/figures/figure-51a518ce0280d419e9fc75ff6abcc28a.png?thumb=512)

**Table 4** . Performance Table. - indicates unavailability. \* r efers to replication from HyperGAT \[ 25\].

[원문](https://arxiv.org/abs/2304.11534v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kunze Wang, Yihao Ding, Soyeon Caren Han · Graph Neural Networks for Text Classification: A Survey · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.

## 한계와 남은 과제

코퍼스 수준 GNN은 전역 구조를 잘 포착하지만 대부분 transductive 학습 방식이라 실제 적용에 제약이 있다고 설명됩니다. 전체 코퍼스를 그래프로 만들면 큰 데이터셋에서 많은 메모리가 필요하다는 점도 한계로 제시됩니다. 문서 수준 GNN은 귀납적 적용이 쉽지만 더 복잡한 그래프 모델을 사용하는 경우가 많고 단어 수가 많을 때 메모리 문제가 발생할 수 있습니다.

원문은 pre-training 모델과 프롬프트 학습의 발전을 고려하여 GNN을 pre-training 모델과 결합하는 방향, 간선을 정적 값에서 동적 하이퍼엣지로 확장하는 방향, 귀납적 코퍼스 수준 GNN의 확장성을 향후 과제로 제시합니다.

## 논문 정보

- **저자**: Kunze Wang, Yihao Ding, Soyeon Caren Han
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2023년 4월 23일
- **등록일**: 2026년 11월 6일
- **수정일**: 2024년 7월 5일
- **버전**: v3
- **arXiv**: 2304.11534
- **DOI**: 10.1007/s10462-024-10808-0
- **분류**: cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2304.11534v3) · [원문 PDF ↗](https://arxiv.org/pdf/2304.11534v3)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Text Classification is the most essential and fundamental problem in Natural Language Processing. While numerous recent text classification models applied the sequential deep learning technique, graph neural network-based models can directly deal with complex structured text data and exploit global information. Many real text classification applications can be naturally cast into a graph, which captures words, documents, and corpus global features. In this survey, we bring the coverage of methods up to 2023, including corpus-level and document-level graph neural networks. We discuss each of these methods in detail, dealing with the graph construction mechanisms and the graph-based learning process. As well as the technological survey, we look at issues behind and future directions addressed in text classification using graph neural networks. We also cover datasets, evaluation metrics, and experiment design and present a summary of published performance on the publicly available benchmarks. Note that we present a comprehensive comparison between different techniques and identify the pros and cons of various evaluation metrics in this survey.

## 원문 인용

Kunze Wang, Yihao Ding, Soyeon Caren Han (2023). Graph Neural Networks for Text Classification: A Survey. arXiv:2304.11534v3. https://doi.org/10.1007/s10462-024-10808-0

**BibTeX**

```
@article{wang2023graph,
  title = {{Graph Neural Networks for Text Classification: A Survey}},
  author = {Kunze Wang and Yihao Ding and Soyeon Caren Han},
  year = {2023},
  eprint = {2304.11534},
  archivePrefix = {arXiv},
  doi = {10.1007/s10462-024-10808-0},
  url = {https://arxiv.org/abs/2304.11534v3}
}
```

## 이 논문의 용어

- [accuracy](https://refivu.com/terms/1995c0cd6282-accuracy)
- [Macro-F1](https://refivu.com/terms/bac7d2670b4d-macro-f1)
- [TF-IDF](https://refivu.com/terms/b8fd079027e3-tf-idf)
- [Graph Neural Networks](https://refivu.com/terms/0650d076a410-graph-neural-networks)
- [Graph Convolutional Network](https://refivu.com/terms/8c589506f1df-graph-convolutional-network)
- [Micro-F1](https://refivu.com/terms/984be90cfb2a-micro-f1)
- [PMI](https://refivu.com/terms/4391587254aa-pmi)
- [SGC](https://refivu.com/terms/35cec5cf5e28-sgc)
- [Gated Graph Neural Networks](https://refivu.com/terms/98e0a9100937-gated-graph-neural-networks)
- [Text classiﬁcation](https://refivu.com/terms/6cc868aade44-text-classification)
- [20NG](https://refivu.com/terms/29f7d92cbd06-20ng)
- [Ohsumed](https://refivu.com/terms/f6a5ffc1bb9c-ohsumed)
- [R8](https://refivu.com/terms/c163110f1766-r8)

## 다른 논문 해설

- [A Survey of Graph Neural Networks for Social Recommender Systems](https://refivu.com/papers/c1848045-eac7-443a-a4b7-d8a38a3de17b-a-survey-of-graph-neural-networks-for-social.md)
- [Quantitative Evaluation of Explainable Graph Neural Networks for Molecular Property Prediction](https://refivu.com/papers/20cb843d-4977-43df-ad02-d20eab7a80e9-quantitative-evaluation-of-explainable-graph-neural-networks.md)
- [Federated Social Recommendation with Graph Neural Network](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd-federated-social-recommendation-with-graph-neural-network.md)
- ["Garbage In, Garbage Out" Revisited: What Do Machine Learning Application Papers Report About Human-Labeled Training Data?](https://refivu.com/papers/b9d2a096-4057-4a0d-af3f-1dcc32054d7a-garbage-in-garbage-out-revisited-what-do-machine.md)
- [Challenges and Opportunities in Deep Reinforcement Learning with Graph Neural Networks: A Comprehensive review of Algorithms and Applications](https://refivu.com/papers/fbcd0f94-4c97-409e-8dab-d3350288ed10-challenges-and-opportunities-in-deep-reinforcement-learning.md)
- [Graph Neural Network-based EEG Classification: A Survey](https://refivu.com/papers/ac995659-e04f-4f01-bdd2-432defb435e2-graph-neural-network-based-eeg-classification-a-survey.md)
- [Quori: A Community-Informed Design of a Socially Interactive Humanoid Robot](https://refivu.com/papers/18fcede1-f0d4-42cb-add3-56f1a741232f-quori-a-community-informed-design-of-a-socially.md)
- [A Dependable Hybrid Machine Learning Model for Network Intrusion Detection](https://refivu.com/papers/ed6bed44-96ef-4320-bbfe-461ed585a922-a-dependable-hybrid-machine-learning-model-for-network.md)
- [Learning Generalized Spatial-Temporal Deep Feature Representation for No-Reference Video Quality Assessment](https://refivu.com/papers/1290a37a-949e-4f2c-8055-4e248cabee19-learning-generalized-spatial-temporal-deep-feature.md)
- [DRLinFluids -- An open-source python platform of coupling Deep Reinforcement Learning and OpenFOAM](https://refivu.com/papers/6f2a0c5b-dcb1-4c26-a81e-bf180699192a-drlinfluids-an-open-source-python-platform-of-coupling.md)
- [Why Does Surprisal From Larger Transformer-Based Language Models Provide a Poorer Fit to Human Reading Times?](https://refivu.com/papers/9ff34e61-4b51-4fd6-9353-f3db08a5c625-why-does-surprisal-from-larger-transformer-based-language.md)
- [Designing Robot Identity: The Role of Voice, Clothing, and Task on Robot Gender Perception](https://refivu.com/papers/c3ba4963-ae78-4187-ae5d-f3fa6b987061-designing-robot-identity-the-role-of-voice-clothing.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/f19b9da2-72aa-46a1-a0bc-7dd436867b5c-graph-neural-networks-for-text-classification-a-survey)
