# Hierarchical Interpretation of Neural Text Classification

신경망 텍스트 분류의 계층적 해석

Hanqi Yan, Lin Gui, Yulan He · arXiv · 2022년 2월 20일

- **연구 문제** 기존 텍스트 분류 해석은 단어나 구절 중심이어서 문서 수준의 계층적 의미 합성을 충분히 설명하기 어렵습니다.
- **연구 방법** HINT는 라벨 관련 문맥 표현과 라벨 독립적 주제 표현을 문장 단위로 분리해 학습하고, 주제 유사도 그래프로 문서 표현을 집계합니다.
- **주요 결과** HINT는 세 데이터셋에서 기준선과 견줄 만한 정확도를 보였고, ERASER와 인간 평가에서 해석 충실도와 이해도에서 비교 기준선보다 높은 결과를 보고합니다.

## 단어 수준 해석의 한계와 문제 설정

기존 텍스트 분류 해석 연구는 입력 단어나 구절이 예측에 중요한지를 찾는 데 주로 집중합니다. 그러나 신경망은 단어 의미를 계층적으로 합성하므로, 단어나 구절만으로는 문서 라벨이 어떻게 만들어지는지 충분히 설명하기 어렵습니다. 이 논문은 해석의 기본 단위를 단어가 아니라 라벨과 연관된 주제로 옮기는 HINT를 제안합니다. HINT는 단어, 문장, 문서 수준의 해석을 자동으로 생성하며, 학습에는 문서와 클래스 라벨만 사용합니다. 원문은 리뷰 데이터와 뉴스 데이터에서 분류 성능이 기존 분류기와 비슷하면서 해석이 모델 예측에 더 충실하고 사람이 더 잘 이해한다고 보고합니다. 해석의 충실도와 이해도는 주로 비교 실험과 인간 평가로 확인됩니다.

![Figure 1: A hierarchical explanation example generated by our proposed method, HINT, on an IMDB review. Upper: a review document. Middle: the left part shows t…](https://refivu.com/papers/c6e879d1-d4d1-4d98-9a7e-024a03adb042/figures/figure-f956d50e7b83109ede9e154c92502f8e.png?thumb=512)

**Figure 1** : A hierarchical explanation example generated by our proposed method, HINT, on an IMDB review. Upper: a review document. Middle: the left part shows the word- level interpretation including the label-relevant and the topic-related words, while the right part shows the sentence-level interpretation where the topic and class label for each sentence is presented, e.g., Sentence 4 is about the topic ‘ Inconsistent plot’ with a negative polarity.Lower: The document-level interpretation shows the topic partition for the 6 sentences in the review. The size of a word cloud indicates its relative importance in the document. The red and green colour bar above each word cloud indicates the sentiment of the corresponding topic. It is clear that the negative polarity of the review is mainly due to the general negative comments of awful movie and more concretely the complaint about the theactors’ performance and the inconsistent plot. The word-, sentence- and document-level interpretations are generated automatically by our model.

[원문](https://arxiv.org/abs/2202.09792v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hanqi Yan, Lin Gui, Yulan He · Hierarchical Interpretation of Neural Text Classification · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 문맥 표현과 주제 표현의 이중 학습

HINT는 각 문장에 대해 두 개의 표현을 학습합니다. 문맥 표현 모듈은 biLSTM과 두 층 MLP 어텐션으로 문장의 라벨 관련 문맥 표현 si를 만듭니다. 주제 표현 모듈은 단어별 주제 기반 가중치 βij를 베이지안 추론으로 얻고, 이를 이용해 문장 표현 ri를 만든 뒤 오토인코더로 주제 분포 zi를 학습합니다. 두 표현을 구분하기 위해 재구성 표현 r′i와 문맥 표현 si의 내적을 줄이는 직교 정규화 항과, 주제 표현의 중복을 줄이는 정규화 항을 사용합니다. 문서 수준에서는 문장을 노드로 하는 그래프를 만들고, 문장 주제 벡터의 내적으로 정의한 정규화 유사도를 간선 가중치로 사용합니다. 그래프 어텐션 네트워크로 노드를 갱신한 뒤 문서 표현을 평균하여 분류합니다.

이 구조에서 단어 해석은 문맥 어텐션과 주제 가중치에서, 문장 해석은 주제 표현과 분류기 출력에서 생성됩니다.

![Table 1: Notations used in the article](https://refivu.com/papers/c6e879d1-d4d1-4d98-9a7e-024a03adb042/figures/figure-46f8915b8bf838b83ea87a10a74f5079.png?thumb=512)

**Table 1** : Notations used in the article.

[원문](https://arxiv.org/abs/2202.09792v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hanqi Yan, Lin Gui, Yulan He · Hierarchical Interpretation of Neural Text Classification · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Table 8: Ablation study results showing the effects of different input for topic learning reconstruction, regularization term and GAT layers. Best accuracy and…](https://refivu.com/papers/c6e879d1-d4d1-4d98-9a7e-024a03adb042/figures/figure-5894a8fbd5f4e2bea90d367de0c71bce.png?thumb=512)

**Table 8** : Ablation study results showing the effects of different input for topic learning reconstruction, regularization term and GAT layers. Best accuracy and interpretability are marked in bold, the second best interpretablity is marked with underline . H INT achieves the overall best results on most metrics.

[원문](https://arxiv.org/abs/2202.09792v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hanqi Yan, Lin Gui, Yulan He · Hierarchical Interpretation of Neural Text Classification · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.

## 분류 정확도와 해석 평가 설정

분류 정확도는 IMDB, Yelp, Guardian News 세 데이터셋에서 CNN, LSTM, HAN, BERT, Scholar, VMASK 등과 비교됩니다. HINT는 IMDB에서 89.11, Yelp에서 98.42, Guardian에서 95.38의 정확도를 보고합니다. 해석의 충실도는 ERASER Movie Reviews에서 IMDB로 학습한 모델을 평가하는 Completeness와 Sufficiency로 측정됩니다. Completeness는 중요 단어를 제거했을 때 예측 확률이 얼마나 바뀌는지, Sufficiency는 중요 단어만 남겼을 때 예측 확률이 얼마나 유지되는지를 봅니다. 인간 평가는 Correctness, Faithfulness, Informativeness의 세 기준으로 100개 샘플에 대해 수행되었으며 평가자 간 Kappa는 0.37입니다.

이 평가 결과는 해당 데이터와 평가 프로토콜에서의 근거이며, 모든 과제에 대한 일반 보증으로 읽을 수 없습니다.

![Table 2: Datasets Statistics. Guardian News has the largest average document length and the most imbalanced class distribution](https://refivu.com/papers/c6e879d1-d4d1-4d98-9a7e-024a03adb042/figures/figure-810c32c8162676b096f91c55af235cee.png?thumb=512)

**Table 2** : Datasets Statistics. Guardian News has the largest average document length and the most imbalanced class distribution.

[원문](https://arxiv.org/abs/2202.09792v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hanqi Yan, Lin Gui, Yulan He · Hierarchical Interpretation of Neural Text Classification · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

## 분류 결과와 해석 평가 결과

정확도 비교에서 HINT는 세 데이터셋 모두에서 보고된 기준선보다 높은 값을 얻었습니다. 다만 저자들은 평가 지표와 통계 검정 조건을 함께 읽어야 한다고 보고하며, Guardian News에서의 개선이 더 크다고 해석합니다. 해석 평가에서 Completeness는 HINT가 HAN과 VMASK보다 일관되게 높고, Sufficiency는 적은 단어만 남길 때 HINT와 HAN이 VMASK보다 나은 것으로 보고됩니다. 인간 평가에서는 HINT가 Correctness 4.37, Faithfulness 4.28, Informativeness 4.11로 HAN과 VMASK보다 높습니다. 이 점수들은 같은 평가 설정 안에서만 비교해야 합니다.

![Table 3: Classiﬁcation accuracy on the three datasets. \*\* signiﬁcant at p\< 0.05, \*\*\* signiﬁcant atp\< 0.001](https://refivu.com/papers/c6e879d1-d4d1-4d98-9a7e-024a03adb042/figures/figure-08a3c818c4c3dd339ad59b09088759b9.png?thumb=512)

**Table 3** : Classiﬁcation accuracy on the three datasets. \*\* signiﬁcant at p\< 0.05, \*\*\* signiﬁcant atp\< 0.001.

[원문](https://arxiv.org/abs/2202.09792v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hanqi Yan, Lin Gui, Yulan He · Hierarchical Interpretation of Neural Text Classification · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

![Table 6: Human evaluation results in a likert scale of 1 to 5 (1: Strongly Disagree; 5: Strongly Agree). The inner-rater agreement measured by Kappa score is 0…](https://refivu.com/papers/c6e879d1-d4d1-4d98-9a7e-024a03adb042/figures/figure-46d4e461dabcd2c07c5b33844b3a77ec.png?thumb=512)

**Table 6** : Human evaluation results in a likert scale of 1 to 5 (1: Strongly Disagree; 5: Strongly Agree). The inner-rater agreement measured by Kappa score is 0.37.

[원문](https://arxiv.org/abs/2202.09792v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hanqi Yan, Lin Gui, Yulan He · Hierarchical Interpretation of Neural Text Classification · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

이 결과는 세 개의 영어 문서 데이터셋과 제시된 기준선, 그리고 저자들이 정한 평가 프로토콜에서 얻은 것입니다. 주제 수 K는 리뷰 데이터에서 50, Guardian News에서 30으로 설정되었으며, 다른 주제 수에 대한 결과는 본문에서 제시되지 않습니다. 주제 단어는 주제 가중치로 추출되며 주제 라벨은 수동으로 붙이거나 RAKE로 자동 추출되므로, 생성된 라벨의 정확성은 별도로 확인되어야 합니다. 주제 일관성 지표에서도 IMDB에서는 CV 외에 NPMI와 UCI에서 LDA가 더 높았습니다. 해석 품질은 제한된 평가자와 샘플 수에 기반하므로, 이 결과를 모든 텍스트 분류 과제의 일반 성질로 확대할 수 없습니다.

![Table 4: Topic Coherence results](https://refivu.com/papers/c6e879d1-d4d1-4d98-9a7e-024a03adb042/figures/figure-98a921809fca12083154dcbd4e68ec75.png?thumb=512)

**Table 4** : Topic Coherence results.

[원문](https://arxiv.org/abs/2202.09792v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hanqi Yan, Lin Gui, Yulan He · Hierarchical Interpretation of Neural Text Classification · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Hanqi Yan, Lin Gui, Yulan He
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 2월 20일
- **등록일**: 2026년 11월 6일
- **수정일**: 2022년 8월 9일
- **버전**: v3
- **arXiv**: 2202.09792
- **분류**: cs.CL · cs.AI · cs.IR
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Recent years have witnessed increasing interests in developing interpretable models in Natural Language Processing (NLP). Most existing models aim at identifying input features such as words or phrases important for model predictions. Neural models developed in NLP however often compose word semantics in a hierarchical manner and text classification requires hierarchical modelling to aggregate local information in order to deal with topic and label shifts more effectively. As such, interpretation by words or phrases only cannot faithfully explain model decisions in text classification. This paper proposes a novel Hierarchical INTerpretable neural text classifier, called Hint, which can automatically generate explanations of model predictions in the form of label-associated topics in a hierarchical manner. Model interpretation is no longer at the word level, but built on topics as the basic semantic unit. Experimental results on both review datasets and news datasets show that our proposed approach achieves text classification results on par with existing state-of-the-art text classifiers, and generates interpretations more faithful to model predictions and better understood by humans than other interpretable neural text classifiers.

## 원문 인용

Hanqi Yan, Lin Gui, Yulan He (2022). Hierarchical Interpretation of Neural Text Classification. arXiv:2202.09792v3. https://arxiv.org/abs/2202.09792v3

**BibTeX**

```
@misc{yan2022hierarchical,
  title = {{Hierarchical Interpretation of Neural Text Classification}},
  author = {Hanqi Yan and Lin Gui and Yulan He},
  year = {2022},
  eprint = {2202.09792},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.09792v3}
}
```

## 이 논문의 용어

- [accuracy](https://refivu.com/terms/1995c0cd6282-accuracy)
- [IMDB](https://refivu.com/terms/72b8a8b81376-imdb)
- [Faithfulness](https://refivu.com/terms/157c7e52d2e0-faithfulness)
- [completeness](https://refivu.com/terms/dd08cb6dbac0-completeness)
- [Sufficiency](https://refivu.com/terms/48764554771c-sufficiency)
- [Informativeness](https://refivu.com/terms/89c569da9718-informativeness)
- [Correctness](https://refivu.com/terms/04d06e0a41b0-correctness)
- [HINT](https://refivu.com/terms/c14a0a3b74f6-hint)
- [TFIDF](https://refivu.com/terms/a48ec5ba09d5-tfidf)
- [Yelp](https://refivu.com/terms/e27550a7f1df-yelp)
- [CV](https://refivu.com/terms/938a78ed5386-cv)
- [ERASER](https://refivu.com/terms/79e21ec16cdd-eraser)
- [HAN](https://refivu.com/terms/9455b53c42f5-han)

## 다른 논문 해설

- [Classification of cancer pathology reports: a large-scale comparative study](https://refivu.com/papers/9320e08e-623a-4132-b2c0-f6d76ac0eda2-classification-of-cancer-pathology-reports-a-large-scale.md)
- [Identifying gender bias in blockbuster movies through the lens of machine learning](https://refivu.com/papers/4097ba53-4aa9-4a85-b327-76dd0bcbb5a3-identifying-gender-bias-in-blockbuster-movies-through-the.md)
- [SOLD: Sinhala Offensive Language Dataset](https://refivu.com/papers/83f4f4fe-68e5-4207-953c-ffae8debe41f-sold-sinhala-offensive-language-dataset.md)
- [Conditional Generation with a Question-Answering Blueprint](https://refivu.com/papers/630ecc69-4559-4892-89d4-1435ee09f5aa-conditional-generation-with-a-question-answering-blueprint.md)
- [Talk2Data: A Natural Language Interface for Exploratory Visual Analysis via Question Decomposition](https://refivu.com/papers/748715fb-a668-4ceb-96e7-49c78d31615d-talk2data-a-natural-language-interface-for-exploratory.md)
- [ParsiNLU: A Suite of Language Understanding Challenges for Persian](https://refivu.com/papers/24ba3426-e5ba-4f5a-a514-16a1d2b97f1e-parsinlu-a-suite-of-language-understanding-challenges-for.md)
- [Retrieval-Augmented Generation-based Relation Extraction](https://refivu.com/papers/54e83a36-e227-4fb6-886c-0583af87a0ee-retrieval-augmented-generation-based-relation-extraction.md)
- [Improved Target-specific Stance Detection on Social Media Platforms by Delving into Conversation Threads](https://refivu.com/papers/cbf453ce-35bf-4b0c-bba2-e3a524701324-improved-target-specific-stance-detection-on-social-media.md)
- [Can Large Language Models Serve as Evaluators for Code Summarization?](https://refivu.com/papers/10f352fd-3b63-4f19-93d4-ce193b1737ff-can-large-language-models-serve-as-evaluators-for.md)
- [Digital Diagnostics: The Potential Of Large Language Models In Recognizing Symptoms Of Common Illnesses](https://refivu.com/papers/29d8629d-2bd3-4fa2-8205-bc39f85ebe7b-digital-diagnostics-the-potential-of-large-language-models.md)
- [Generating and Weighting Semantically Consistent Sample Pairs for Ultrasound Contrastive Learning](https://refivu.com/papers/84798899-953e-4ae6-868c-8e58721c5f25-generating-and-weighting-semantically-consistent-sample.md)
- [Multi-task Active Learning for Pre-trained Transformer-based Models](https://refivu.com/papers/a29ce80c-c416-4a90-b700-633f9298b593-multi-task-active-learning-for-pre-trained-transformer.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/c6e879d1-d4d1-4d98-9a7e-024a03adb042-hierarchical-interpretation-of-neural-text-classification)
