# Performance Evaluation of Sentiment Analysis on Text and Emoji Data Using End-to-End, Transfer Learning, Distributed and Explainable AI Models

엔드투엔드, 전이 학습, 분산 및 설명 가능한 AI 모델을 이용한 텍스트 및 이모지 데이터 감성 분석 성능 평가

Sirisha Velampalli, Chandrashekar Muniyappa, Ashutosh Saxena · arXiv · 2025년 2월 18일

- **연구 문제** 트윗과 이모지가 함께 쓰이는 감성 분류에서 문장 임베딩 기반 분류기의 정확도와 새로운 이모지에 대한 일반화를 확인합니다.
- **연구 방법** SBERT와 USE로 문장 임베딩을 만들고, 이를 Standard fully connected NN과 LSTM NN으로 분류합니다. 분산 학습과 Shap 설명도 함께 검토합니다.
- **주요 결과** 텍스트 분류 정확도는 두 모델 모두 약 98%로 거의 같았습니다. 학습 세트에 없던 이모지로 검증하면 정확도가 70%로 낮아졌고, 분산 학습은 원문 요약 기준으로 실행 시간을 약 15% 줄였습니다.

## 문제 설정: 이모지가 섞인 트윗 감성 분석

트윗에는 텍스트만 있는 경우도 있지만 이모지만으로 감정을 드러내는 경우도 있습니다. 이 논문은 이러한 텍스트와 이모지 데이터를 함께 다루는 감성 분류가 얼마나 정확한지 확인하려 합니다. 저자들은 기존 연구가 주로 텍스트만을 대상으로 했으며, 이모지 데이터에 분산 머신러닝과 설명 가능한 AI(XAI)를 함께 적용한 사례는 자신들이 알고 있는 범위에서 없었다고 밝힙니다. 따라서 이 논문의 범위는 텍스트 감성 분류의 정확도, 이모지 데이터에서의 분류, 분산 학습의 실행 시간, Shap 기반 설명의 세 가지로 좁혀집니다. 텍스트 데이터는 H4EAD 트윗이며, 이모지 데이터는 Kaggle의 긍정·부정 이모지 데이터셋입니다.

## 문장 임베딩과 분류기의 구성

이 연구는 문장 임베딩 모델로 SBERT와 Universal Sentence Encoder(USE)를 사용합니다. SBERT는 BERT를 siamese 구조로 수정하여 입력 문장마다 고정 크기의 의미 벡터를 얻는 모델이며, 원문 알고리즘에서는 길이 1024의 임베딩을 생성합니다. USE는 전이 학습을 겨냥한 문장 임베딩 모델로, Transformer 인코더 버전과 Deep Averaging Network 버전이 있으며 원문 알고리즘에서는 길이 512의 임베딩을 생성합니다. 생성된 임베딩은 Standard fully connected NN과 LSTM NN 분류기의 입력으로 사용됩니다. 두 분류기 모두 임베딩을 입력으로 받아 긍정 또는 부정을 출력합니다.

이 방식은 BOW 계열 표현과 달리 문장 의미를 벡터로 옮긴 뒤 분류기에 넘기는 구조입니다.

## 텍스트 전용·이모지 전용 분류 결과

텍스트 전용 실험에서 두 분류기의 정확도는 약 98%로 거의 같았습니다. S-BERT Standard NN은 텍스트 전용에서 정확도 0.986, 이모지 전용에서 0.710을 기록합니다. 같은 조건의 S-BERT LSTM에서는 텍스트 전용 정확도가 0.973, 이모지 전용 정확도가 0.720입니다. USE 기반 실험에서는 Standard NN의 이모지 전용 정확도가 0.725이고 USE LSTM의 이모지 전용 정확도가 0.7215입니다. 학습 세트에 있던 이모지에 대해서는 100%의 정확도를 보였다고 원문은 설명하지만, 학습 세트에 없던 이모지로 검증 세트를 구성했을 때는 두 모델 모두 정확도가 70%로 크게 낮아졌습니다.

이 결과는 H4EAD 트윗과 Kaggle 이모지 데이터라는 특정 데이터셋과 이 설정에서 얻은 것입니다. 원문은 임베딩 모델이 이모지 사이의 의미 관계를 잘 포착하지 못하는 것으로 해석하며, 이는 저자의 해석입니다.

## 분산 학습의 실행 시간 비교

분산 학습은 parameter server strategy로 구현되며, 원문은 이를 AWS EMR 클러스터에서 GPU 없이 실행했다고 밝힙니다. parameter server 구조에서는 변수가 parameter server에 생성되고 worker가 각 단계마다 이를 읽고 갱신합니다. 원문 Table V에서 Terminal 기준 단일 스레드 실행 시간은 34.5948초, 5개 스레드 분산 학습 실행 시간은 5.8868초입니다. Jupyter Notebook 기준 단일 스레드 실행 시간은 47.4980초이며, 분산 학습의 Jupyter Notebook 항목은 NA로 표시되어 있습니다. 원문 요약은 분산 학습으로 실행 시간을 약 15% 줄였다고 보고하며, 정확도는 단일 학습과 같았다고 설명합니다.

다만 이 15%라는 요약 수치와 Table V의 값 사이의 관계는 원문에서 추가로 설명되지 않습니다.

## Shap 기반 설명과 편향 점검

설명 가능한 AI 부분에서 Shap은 게임 이론의 Shapley 값을 이용해 모델 출력을 설명하고, 각 예측에 대해 특징마다 중요도 값을 부여합니다. 원문은 여러 트윗 예시의 Shap 값을 확인했으며, 그 샘플은 7개 트윗입니다. 이 가운데 4개는 이모지만 있는 트윗이고 3개는 텍스트만 있는 트윗입니다. 긍정은 빨간색, 부정은 파란색으로 표시되며, 원문은 그 예시에서 긍정과 부정이 특징 집합에 따라 올바르게 분류된다고 보고합니다. 원문은 조사한 범위에서 모델 편향을 발견하지 못했다고 밝힙니다. 이 결과는 Fig. 3의 제한된 샘플에 기반하므로 모든 입력에 대한 편향 부재를 증명하지 않습니다.

## 범위와 향후 과제

이 연구의 데이터는 H4EAD 트윗 2252개와 Kaggle 이모지 데이터이며, 이모지만 있는 데이터는 855개 레코드입니다. 원문은 향후 과제로 다국어 데이터셋으로의 확장과, 더 많은 데이터 포인트를 모아 대규모 데이터에서 모델 성능을 평가하는 작업을 제시합니다. 따라서 현재 결과는 영어권 트윗 대상의 소규모 데이터에서 얻은 것으로 읽어야 합니다. 또한 학습 세트에 없던 이모지에 대한 정확도 저하가 확인되었으므로, 새로운 이모지가 많이 등장하는 환경에서의 일반화는 이 실험만으로 보장되지 않습니다.

## 논문 정보

- **저자**: Sirisha Velampalli, Chandrashekar Muniyappa, Ashutosh Saxena
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 2월 18일
- **등록일**: 2026년 11월 6일
- **수정일**: 2025년 2월 18일
- **버전**: v1
- **arXiv**: 2502.13278
- **DOI**: 10.12720/jait.13.2.167-172
- **분류**: cs.CL · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Emojis are being frequently used in todays digital world to express from simple to complex thoughts more than ever before. Hence, they are also being used in sentiment analysis and targeted marketing campaigns. In this work, we performed sentiment analysis of Tweets as well as on emoji dataset from the Kaggle. Since tweets are sentences we have used Universal Sentence Encoder (USE) and Sentence Bidirectional Encoder Representations from Transformers (SBERT) end-to-end sentence embedding models to generate the embeddings which are used to train the Standard fully connected Neural Networks (NN), and LSTM NN models. We observe the text classification accuracy was almost the same for both the models around 98 percent. On the contrary, when the validation set was built using emojis that were not present in the training set then the accuracy of both the models reduced drastically to 70 percent. In addition, the models were also trained using the distributed training approach instead of a traditional singlethreaded model for better scalability. Using the distributed training approach, we were able to reduce the run-time by roughly 15% without compromising on accuracy. Finally, as part of explainable AI the Shap algorithm was used to explain the model behaviour and check for model biases for the given feature set.

## 원문 인용

Sirisha Velampalli, Chandrashekar Muniyappa, Ashutosh Saxena (2025). Performance Evaluation of Sentiment Analysis on Text and Emoji Data Using End-to-End, Transfer Learning, Distributed and Explainable AI Models. arXiv:2502.13278v1. https://doi.org/10.12720/jait.13.2.167-172

**BibTeX**

```
@article{velampalli2025performance,
  title = {{Performance Evaluation of Sentiment Analysis on Text and Emoji Data Using End-to-End, Transfer Learning, Distributed and Explainable AI Models}},
  author = {Sirisha Velampalli and Chandrashekar Muniyappa and Ashutosh Saxena},
  year = {2025},
  eprint = {2502.13278},
  archivePrefix = {arXiv},
  doi = {10.12720/jait.13.2.167-172},
  url = {https://arxiv.org/abs/2502.13278v1}
}
```

## 이 논문의 용어

- [accuracy](https://refivu.com/terms/1995c0cd6282-accuracy)
- [BERT](https://refivu.com/terms/45b639a1d317-bert)
- [SHAP](https://refivu.com/terms/24f6f151db7b-shap)
- [recurrent neural network](https://refivu.com/terms/7df8352fc823-recurrent-neural-network)
- [F-score](https://refivu.com/terms/82986c915d77-f-score)
- [Siamese network](https://refivu.com/terms/3d037e233c2c-siamese-network)
- [sBERT](https://refivu.com/terms/d551156f28b2-sbert)
- [runtime](https://refivu.com/terms/de0efb0b9bc3-runtime)
- [Transformer encoder](https://refivu.com/terms/b8e4656f9228-transformer-encoder)
- [Universal Sentence Encoder](https://refivu.com/terms/cd5ee363b503-universal-sentence-encoder)
- [Explainable AI (XAI)](https://refivu.com/terms/212c87862f23-explainable-ai-xai)
- [forget gate](https://refivu.com/terms/0f084d82dd99-forget-gate)
- [output gate](https://refivu.com/terms/b5ef52647043-output-gate)

## 다른 논문 해설

- [A Review of Text Style Transfer using Deep Learning](https://refivu.com/papers/3ecd030c-25f4-4176-bd2f-02326c898ffa-a-review-of-text-style-transfer-using-deep.md)
- [Semantic and sentiment analysis of selected Bhagavad Gita translations using BERT-based language framework](https://refivu.com/papers/aa2a3585-a838-49a8-b836-cd1288e1aa61-semantic-and-sentiment-analysis-of-selected-bhagavad-gita.md)
- [Paper Plain: Making Medical Research Papers Approachable to Healthcare Consumers with Natural Language Processing](https://refivu.com/papers/1dc14dd3-4273-4166-8176-763117352ecc-paper-plain-making-medical-research-papers-approachable-to.md)
- [Planning with Learned Entity Prompts for Abstractive Summarization](https://refivu.com/papers/03f29640-657b-4a30-9366-00308b28c2c8-planning-with-learned-entity-prompts-for-abstractive.md)
- [Accessible Visualization via Natural Language Descriptions: A Four-Level Model of Semantic Content](https://refivu.com/papers/21a3a865-761d-4341-a41f-2e734373f6ab-accessible-visualization-via-natural-language-descriptions-a.md)
- [Arabic natural language processing: An overview](https://refivu.com/papers/f9c27796-f5cb-4231-a6c9-f8b8fe1cfa61-arabic-natural-language-processing-an-overview.md)
- [Hierarchical Language Models for Semantic Navigation and Manipulation in an Aerial-Ground Robotic System](https://refivu.com/papers/57fc9c29-3856-41db-9e8d-870c7750c0e4-hierarchical-language-models-for-semantic-navigation-and.md)
- [Feature Importance in Gradient Boosting Trees with Cross-Validation Feature Selection](https://refivu.com/papers/9a0b01e1-f4f8-4d75-9179-d7d48a0ca887-feature-importance-in-gradient-boosting-trees-with-cross.md)
- [GeoNet++: Iterative Geometric Neural Network with Edge-Aware Refinement for Joint Depth and Surface Normal Estimation](https://refivu.com/papers/6ed40cba-0444-47e5-bbb5-2d811c73ac32-geonet-iterative-geometric-neural-network-with-edge-aware.md)
- [Symbolic Regression Methods for Reinforcement Learning](https://refivu.com/papers/6445ec84-b205-45e7-85c4-76a946b19627-symbolic-regression-methods-for-reinforcement-learning.md)
- [Large Language Models "Ad Referendum": How Good Are They at Machine Translation in the Legal Domain?](https://refivu.com/papers/d43bb792-cfb5-436e-9deb-723131ebb7a2-large-language-models-ad-referendum-how-good-are.md)
- [High-Level Description of Robot Architecture](https://refivu.com/papers/2a377d13-53fc-4210-a588-3442772ec282-high-level-description-of-robot-architecture.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/fe5e0f1b-f3c9-49a6-a176-984e558c6998-performance-evaluation-of-sentiment-analysis-on-text-and)
