프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets

트윗 감성 분석을 위한 견고하고 해석 가능한 하이브리드 트랜스포머 및 어텐션 기반 순환 신경망

  • 연구 문제 트윗 감성 분석은 언어와 도메인 변화에 대한 일반화, 견고성, 예측 해석 가능성이 부족합니다.
  • 연구 방법 RoBERTa 기반 트랜스포머로 문맥 임베딩을 만들고, BiLSTM과 셀프 어텐션, 밀집 층으로 3클래스 감성을 분류하는 하이브리드 모델 TRABSA를 제안합니다.
  • 주요 결과 벤치마크 UK COVID-19 데이터에서 정확도 94%, 매크로 F1 94%를 보고하며, 절제 실험과 확장·외부 데이터 결과를 함께 제시합니다.

연구 문제와 TRABSA의 목표

이 논문은 트윗 감성 분석에서 일반화 가능성, 견고성, 해석 가능성이 부족하다는 문제를 다룹니다. 기존 모델은 언어와 도메인이 바뀌면 성능이 달라지고, 딥러닝 모델은 예측 근거를 설명하기 어렵습니다. 저자들은 이러한 한계를 줄이기 위해 RoBERTa 기반 트랜스포머, 어텐션 메커니즘, BiLSTM을 결합한 TRABSA 모델을 제안합니다. 또한 COVID-19 트윗 벤치마크를 영어권 32개국과 미국 주 단위 트윗으로 확장하고, SHAP과 LIME으로 예측을 해석합니다.

TRABSA의 구조와 학습 절차

TRABSA는 cardiffnlp/twitter-roberta-base-sentiment-latest 트랜스포머로 입력 토큰의 문맥 임베딩을 만듭니다. 최대 시퀀스 길이는 256 토큰입니다. 이 임베딩은 Global Average Pooling과 재구성 과정을 거쳐 BiLSTM으로 전달되며, 각 방향에 512 유닛을 둔 BiLSTM이 과거와 미래 토큰의 문맥을 함께 처리합니다. 이어서 셀프 어텐션이 BiLSTM 출력의 중요한 부분에 가중치를 부여하고, 512, 256, 128 유닛의 밀집 층과 드롭아웃, 3 유닛 softmax 분류 머리가 긍정, 중립, 부정 확률을 산출합니다. 학습에는 Adam 옵티마이저와 categorical cross-entropy 손실이 쓰였고, Keras Tuner Random Search가 검증 손실을 기준으로 하이퍼파라미터를 탐색했습니다.

탐색 범위와 최종 설정은 탐색 결과이므로 모든 모델에 공통 적용된 고정값으로 보지 않습니다.

Figure 5: Model architecture of the proposed TRABSA model

Figure 5 . Model architecture of the proposed TRABSA model.

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

데이터 구축과 라벨링

벤치마크 데이터는 UK COVID-19 트윗이며, 확장 데이터는 영어권 32개국 트윗 411,885건과 미국 주 단위 트윗 7,500건입니다. 외부 검증에는 Twitter, Reddit, Apple, US Airline 데이터셋이 사용되었습니다. 전처리에서는 소문자화, 해시태그와 사용자명 및 링크 제거, 반복 문자 정규화, 축약어 확장, 비알파벳 문자 제거, 중복·빈 트윗 제거, 이모지 변환을 수행했습니다. 라벨은 TextBlob, VADER, SentiWordNet 세 어휘 기반 방법으로 부여했고, 전통적 ML 모델의 정확도 비교에서 가장 높은 TextBlob 라벨을 선택했습니다.

Figure 3: Bar plot showing the distribution of tweets across 32 English-speaking countries

Figure 3 . Bar plot showing the distribution of tweets across 32 English-speaking countries.

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 1: Performance evaluation of unsupervised sentiment labeling approaches

Table 1 . Performance evaluation of unsupervised sentiment labeling approaches

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

벤치마크 비교 결과

TRABSA는 벤치마크 UK COVID-19 데이터에서 정확도 94%, 매크로 평균 정밀도 94%, 재현율 93%, F1-score 94%를 보고합니다. 같은 표에서 전통적 ML, 스태킹, 다른 DL 모델보다 높은 점수를 기록했다고 원문은 보고합니다. 이 비교는 10-fold 교차검증 평균과 표준편차를 기준으로 하며, 임베딩별 모델 조합에 따라 점수가 크게 달라집니다. 예를 들어 RoBERTa 임베딩에서 BiLSTM+3 Hidden Layers NN은 정확도 85%였고, GBM과 LightGBM 계열 최고 점수는 같은 표에서 81~83% 범위였습니다.

Figure 7: Masterplot illustrating the TRABSA model’s performance starting from the top right and proceeding clockwise
including the (a) Classification Metrics…

Figure 7 . Masterplot illustrating the TRABSA model’s performance starting from the top right and proceeding clockwise including the (a) Classification Metrics Plot, (b) Confusion Matrix, (c) Loss vs Epoch Curve, (d) Training and Validation Accuracy vs Epoch Curve.

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.
Table 3: Comprehensive 10-fold cross-validated mean performance evaluation metrics with standard deviations for various
models and embeddings, including time p…

Table 3 . Comprehensive 10-fold cross-validated mean performance evaluation metrics with standard deviations for various models and embeddings, including time performance (training and inference times)

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

구성요소 절제 실험

절제 실험은 BiLSTM, 어텐션, 3 Dense 층, Dropout, BiLSTM 대신 LSTM을 각각 제거하거나 교체한 변형을 비교합니다. BiLSTM, 어텐션, Dense 층을 함께 제거하면 정확도가 76%로 떨어졌고, 어텐션만 제거하면 84%, Dropout만 제거하면 84%, 단방향 LSTM으로 바꾸면 83%였습니다. 이 결과는 해당 구성요소를 유지했을 때의 효용을 보여 주며, 낮을수록 좋은 지표가 아니므로 정확도 하락을 악화로 읽습니다. 다만 절제 실험은 하나의 벤치마크 설정에서 얻은 결과입니다.

Table 4: Ablation test of the proposed TRABSA model

Table 4 . Ablation test of the proposed TRABSA model

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

확장 및 외부 데이터셋 검증

TRABSA는 Global COVID-19 데이터셋에서 정확도 98%, USA COVID-19 데이터셋에서 정확도 87%를 보고합니다. 외부 데이터셋에서는 Twitter 97%, Reddit 95%, Apple 90%, US Airline 96%의 정확도를 보고합니다. 이 점수는 같은 DL 구성의 표 5에서 얻은 값이며, 다른 선행 연구의 점수는 데이터와 평가 조건이 달라 같은 통제 실험으로 볼 수 없습니다. 통계 검정은 10-fold 교차검증 t-검정과 Bonferroni 보정을 사용해 TRABSA와 상위 모델 간 차이를 검정했습니다.

Figure 4: This word cloud visualizes the most frequently occurring words in the "Global" (left) and "Only USA" (right)
datasets of COVID-19-related tweets. The…

Figure 4 . This word cloud visualizes the most frequently occurring words in the "Global" (left) and "Only USA" (right) datasets of COVID-19-related tweets. The size of each word corresponds to its frequency in the dataset.

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Table 5: Generalizability and robustness of the proposed TRABSA model on both the extended and external datasets

Table 5 . Generalizability and robustness of the proposed TRABSA model on both the extended and external datasets

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.
Table 7: 10-fold cross-validated paired t-tests comparing macro-average precision, recall, F1 scores, and accuracy of the
top-performing models against the TRA…

Table 7 . 10-fold cross-validated paired t-tests comparing macro-average precision, recall, F1 scores, and accuracy of the top-performing models against the TRABSA model

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

SHAP과 LIME을 이용한 해석

해석 분석은 SHAP 텍스트 플롯과 막대 플롯, LIME 텍스트 설명기로 수행되었습니다. SHAP은 Shapley 값으로 각 토큰이 기준값에서 예측으로 이동하는 데 기여한 정도를 계산하고, LIME은 개별 예측 주변에서 국소 선형 설명 모델을 학습합니다. 이 해석들은 어떤 토큰이 예측에 영향을 주었는지 보여 주지만, 모델의 인과적 작동이나 예측의 정확성을 증명하지는 않습니다.

Figure 8: The figure illustrates the importance of each token overlaid on the original text corresponding to that token. It
showcases the significance of indiv…

Figure 8 . The figure illustrates the importance of each token overlaid on the original text corresponding to that token. It showcases the significance of individual tokens in sentiment prediction, where red regions denote parts of the text increasing the model’s output (positive sentiment), while blue regions indicate a decrease in the model’s output (negative sentiment).

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.
Figure 9: Summarized importance of tokens in the dataset: (a) Neutral tokens displayed in their natural order, (b) Negative
tokens sorted in descending order,…

Figure 9 . Summarized importance of tokens in the dataset: (a) Neutral tokens displayed in their natural order, (b) Negative tokens sorted in descending order, and (c) Positive tokens sorted in ascending order. Each bar represents the overall importance of a token, with taller bars indicating greater influence.

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Figure 10: LIME Text Explainer vertical bar plot in descending order of token contributions, illustrating the impact of each
token on the TRABSA model’s predi…

Figure 10 . LIME Text Explainer vertical bar plot in descending order of token contributions, illustrating the impact of each token on the TRABSA model’s predictions.

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.

적용 범위와 한계

이 결과는 COVID-19 트윗과 특정 외부 데이터셋에서 얻은 것입니다. 라벨은 세 어휘 기반 방법 중 선택된 TextBlob 라벨이므로 사람이 검증한 정답 라벨과 동일하다고 보기 어렵습니다. 원문의 학습 시간과 추론 시간은 하드웨어 설정에 따라 달라지며, 다른 선행 연구 점수는 같은 조건에서 재측정되지 않았습니다. 또한 원문은 멀티모달 확장, 윤리적 편향, 다른 도메인 적용을 향후 과제로 제시합니다.

Table 2: Details of hardware and software specifications

Table 2 . Details of hardware and software specifications

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.
Table 6: Summary of the proposed models in the state-of-the-art tweet sentiment analysis literature

Table 6 . Summary of the proposed models in the state-of-the-art tweet sentiment analysis literature

원문 · CC BY 4.0 · Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe · A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe
학회·저널
arXiv · 프리프린트
최초 공개일
2024년 3월 30일
등록일
2026년 11월 6일
수정일
2024년 11월 2일
버전
v5
arXiv
2404.00297
DOI
10.1038/s41598-024-76079-5
분류
cs.CL · cs.LG
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

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

초록

Sentiment analysis is crucial for understanding public opinion and consumer behavior. Existing models face challenges with linguistic diversity, generalizability, and explainability. We propose TRABSA, a hybrid framework integrating transformer-based architectures, attention mechanisms, and BiLSTM networks to address this. Leveraging RoBERTa-trained on 124M tweets, we bridge gaps in sentiment analysis benchmarks, ensuring state-of-the-art accuracy. Augmenting datasets with tweets from 32 countries and US states, we compare six word-embedding techniques and three lexicon-based labeling techniques, selecting the best for optimal sentiment analysis. TRABSA outperforms traditional ML and deep learning models with 94% accuracy and significant precision, recall, and F1-score gains. Evaluation across diverse datasets demonstrates consistent superiority and generalizability. SHAP and LIME analyses enhance interpretability, improving confidence in predictions. Our study facilitates pandemic resource management, aiding resource planning, policy formation, and vaccination tactics.

원문 인용

Md Abrar Jahin, Md Sakib Hossain Shovon, M. F. Mridha, Md Rashedul Islam, Yutaka Watanobe (2024). A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets. arXiv:2404.00297v5. https://doi.org/10.1038/s41598-024-76079-5

BibTeX
@article{jahin2024hybrid,
  title = {{A hybrid transformer and attention based recurrent neural network for robust and interpretable sentiment analysis of tweets}},
  author = {Md Abrar Jahin and Md Sakib Hossain Shovon and M. F. Mridha and Md Rashedul Islam and Yutaka Watanobe},
  year = {2024},
  eprint = {2404.00297},
  archivePrefix = {arXiv},
  doi = {10.1038/s41598-024-76079-5},
  url = {https://arxiv.org/abs/2404.00297v5}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입