# Text Classification Algorithms: A Survey

텍스트 분류 기법을 네 단계로 나눠 개관

Kamran Kowsari, Kiana Jafari Meimandi, Mojtaba Heidarysafa, Sanjana Mendu, Laura E. Barnes, Donald E. Brown · arXiv · 2019년 4월 17일

- **연구 문제** 텍스트 분류 연구자는 특징 추출, 차원 축소, 분류기 선택에서 어떤 기법을 써야 할지 정하기 어렵습니다.
- **연구 방법** 저자들은 텍스트 분류 파이프라인을 특징 추출, 차원 축소, 분류기, 평가의 네 단계로 나눠 각 단계의 기법과 한계를 개관합니다.
- **주요 결과** 정확도만으로는 불균형 데이터를 평가하기 어려우므로 정밀도, 재현율, F1, MCC, ROC와 AUC를 함께 봐야 한다고 정리합니다.

## 텍스트 분류 파이프라인의 네 단계

텍스트 분류는 문서를 미리 정한 범주로 배정하는 과제이며, 이 논문은 이를 특징 추출, 차원 축소, 분류기 선택, 평가의 네 단계로 나누어 설명합니다. 원시 텍스트는 그대로 분류기에 넣기 어렵기 때문에 먼저 구조화된 특징 공간으로 바꿔야 합니다. 차원 축소는 선택적인 단계로, 특징 수가 매우 많아 계산 시간과 메모리가 과도하게 들 때 적용합니다. 분류기 선택은 파이프라인에서 가장 중요한 단계로 소개되며, 평가 단계에서는 정확도를 포함한 여러 지표를 비교 기준으로 씁니다. 이 논문은 이 흐름을 따라 각 단계의 기법과 한계를 개관합니다.

## TF-IDF와 임베딩의 차이

가중 단어 방식은 문서 안 단어의 빈도를 특징으로 씁니다. TF-IDF는 단어 빈도에 역문서 빈도를 곱한 식 W(d,t)=TF(d,t)\*log(N/df(t))로 가중치를 정하며, 여러 문서에 흔한 단어의 영향을 줄입니다. 다만 단어를 독립된 인덱스로 다루기 때문에 단어 간 유사성은 반영하지 못합니다. 임베딩 방식은 Word2Vec, GloVe, FastText처럼 단어를 실수 벡터로 바꾸어 의미 유사성을 담으려 합니다. Word2Vec은 CBOW나 Skip-gram으로 학습하고, FastText는 문자 n-gram으로 단어를 표현합니다. 이 논문은 이러한 특징 추출 기법의 장단점을 비교합니다.

## 분류기별 한계

Naïve Bayes 분류기는 데이터 분포 형태에 대한 강한 가정을 두며, 데이터가 부족하면 가능한 특징 값마다 우도를 추정해야 한다는 한계가 있다고 원문이 설명합니다. 클래스가 불균형한 데이터에서도 성능이 떨어진다고 설명합니다. CRF는 학습 단계의 계산 복잡도가 높고, 학습 때 보지 못한 단어에는 잘 작동하지 않는다고 설명합니다. 이 논문은 각 분류기의 장점과 한계를 표로 정리하지만, 이 항목들은 논문이 인용하고 정리한 한계이며 이 논문이 새로 실험해 확인한 결과는 아닙니다.

## 평가 지표의 선택

평가 단계는 분류 결과를 혼동 행렬의 TP, FP, FN, TN으로 정리한 뒤 여러 지표로 계산합니다. 원문은 정확도가 가장 단순하지만 불균형 데이터셋에서는 적절하지 않다고 지적합니다. 이 때문에 정밀도와 재현율, F1, MCC, ROC와 AUC 같은 지표를 함께 봐야 합니다. 여러 클래스 문제에서는 매크로 평균과 마이크로 평균을 구분하며, 매크로 평균은 클래스마다 같은 가중치를 주고 마이크로 평균은 문서별 판단을 합산한다고 설명합니다.

## 논문 정보

- **저자**: Kamran Kowsari, Kiana Jafari Meimandi, Mojtaba Heidarysafa, Sanjana Mendu, Laura E. Barnes, Donald E. Brown
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2019년 4월 17일
- **등록일**: 2026년 11월 12일
- **수정일**: 2020년 5월 20일
- **버전**: v5
- **arXiv**: 1904.08067
- **DOI**: 10.3390/info10040150
- **분류**: cs.LG · cs.AI · cs.CL · cs.IR · stat.ML
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설

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

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

## 원문 인용

Kamran Kowsari, Kiana Jafari Meimandi, Mojtaba Heidarysafa, Sanjana Mendu, Laura E. Barnes, Donald E. Brown (2019). Text Classification Algorithms: A Survey. arXiv:1904.08067v5. https://doi.org/10.3390/info10040150

**BibTeX**

```
@article{kowsari2019text,
  title = {{Text Classification Algorithms: A Survey}},
  author = {Kamran Kowsari and Kiana Jafari Meimandi and Mojtaba Heidarysafa and Sanjana Mendu and Laura E. Barnes and Donald E. Brown},
  year = {2019},
  eprint = {1904.08067},
  archivePrefix = {arXiv},
  doi = {10.3390/info10040150},
  url = {https://arxiv.org/abs/1904.08067v5}
}
```

## 이 논문의 용어

- [accuracy](https://refivu.com/terms/1995c0cd6282-accuracy)
- [logistic regression](https://refivu.com/terms/3551369d301a-logistic-regression)
- [t-SNE](https://refivu.com/terms/488ecf7dbbcf-t-sne)
- [Word2vec](https://refivu.com/terms/aa6ca7ebd6f5-word2vec)
- [TF-IDF](https://refivu.com/terms/b8fd079027e3-tf-idf)
- [random forest](https://refivu.com/terms/e69b7b54f2ea-random-forest)
- [confusion matrix](https://refivu.com/terms/101b07f65787-confusion-matrix)
- [Principal Component Analysis](https://refivu.com/terms/5e8334d817e7-principal-component-analysis)
- [Long Short-Term Memory](https://refivu.com/terms/1eac61fff4b1-long-short-term-memory)
- [convolutional neural network](https://refivu.com/terms/610f2c09337d-convolutional-neural-network)
- [GloVe](https://refivu.com/terms/8a6b3410f3dd-glove)
- [recurrent neural network](https://refivu.com/terms/7df8352fc823-recurrent-neural-network)
- [Support Vector Machine](https://refivu.com/terms/34721f065497-support-vector-machine)
- [Autoencoder](https://refivu.com/terms/a4d4d93d1cff-autoencoder)
- [FastText](https://refivu.com/terms/91d8f0ba972f-fasttext)
- [Gated Recurrent Unit](https://refivu.com/terms/8b1a0fe9c409-gated-recurrent-unit)
- [decision tree](https://refivu.com/terms/3158e0807c66-decision-tree)
- [Bagging](https://refivu.com/terms/cc6b5bcfb655-bagging)
- [AdaBoost](https://refivu.com/terms/5a4a4754fe82-adaboost)
- [Information Gain](https://refivu.com/terms/1f185474563e-information-gain)
- [Deep Belief Network](https://refivu.com/terms/66dcc7b670ca-deep-belief-network)
- [Multiple Instance Learning](https://refivu.com/terms/af6c258aa1e0-multiple-instance-learning)
- [Conditional Random Field](https://refivu.com/terms/e0609717d648-conditional-random-field)
- [K-Nearest Neighbor](https://refivu.com/terms/a3a4f600a64b-k-nearest-neighbor)

## 다른 논문 해설

- [Reading Wikipedia to Answer Open-Domain Questions](https://refivu.com/papers/0abc2d22-75a1-4c4d-91be-624a590aabec-reading-wikipedia-to-answer-open-domain-questions.md)
- [word2vec Explained: deriving Mikolov et al.'s negative-sampling word-embedding method](https://refivu.com/papers/09f9840a-5cc2-48f6-92fd-34cc433bbf16-word2vec-explained-deriving-mikolov-et-al-s-negative.md)
- [A Neural Conversational Model](https://refivu.com/papers/2838569c-2f3a-45e5-86e6-549de8737d24-a-neural-conversational-model.md)
- [OpenNMT: Open-Source Toolkit for Neural Machine Translation](https://refivu.com/papers/d158ab7b-d0c6-4ffd-a069-53d34c28b7eb-opennmt-open-source-toolkit-for-neural-machine-translation.md)
- [FEVER: a large-scale dataset for Fact Extraction and VERification](https://refivu.com/papers/59763d9c-0c11-477a-89ee-abea10ff28a0-fever-a-large-scale-dataset-for-fact-extraction.md)
- [Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translation](https://refivu.com/papers/0924ecf7-d413-4972-9e1d-36ae4961169c-google-s-multilingual-neural-machine-translation-system.md)
- [Sigmoid Loss for Language Image Pre-Training](https://refivu.com/papers/c9aaadc4-ef69-4682-a730-51fb42cbb35f-sigmoid-loss-for-language-image-pre-training.md)
- [Text Embeddings by Weakly-Supervised Contrastive Pre-training](https://refivu.com/papers/d1351af6-6e66-4a03-9f02-44cc61903f8b-text-embeddings-by-weakly-supervised-contrastive-pre.md)
- [The FF Planning System: Fast Plan Generation Through Heuristic Search](https://refivu.com/papers/fc0102a1-c413-42aa-a978-6e9d554a4343-the-ff-planning-system-fast-plan-generation-through.md)
- [CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer](https://refivu.com/papers/d337167e-74d3-423d-ae74-fbe584f8b441-cogvideox-text-to-video-diffusion-models-with-an.md)
- [Neural Combinatorial Optimization with Reinforcement Learning](https://refivu.com/papers/428e6cb1-5b5b-43dc-ad1f-c954e953fc5b-neural-combinatorial-optimization-with-reinforcement.md)
- [Towards Open Set Deep Networks](https://refivu.com/papers/2821701d-d008-4717-86f5-1119fb0809bf-towards-open-set-deep-networks.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/5134d426-2cd3-4691-aeff-cf1fc4cb8d39-text-classification-algorithms-a-survey)
