---
title: "Combining BERT with Static Word Embeddings for Categorizing"
description: "The authors test whether adding static word embeddings can still improve these models. 27 references, cited by 8 papers here."
authors: ["Israa Alghanmi", "Luis Espinosa Anke", "Steven Schockaert"]
year: 2020
venue: "Proceedings of the Sixth Workshop on Noisy User-generated Text (W-NUT 2020)"
source: "https://aclanthology.org/2020.wnut-1.5/"
doi: "10.18653/v1/2020.wnut-1.5"
licence: "CC BY 4.0 (ACL Anthology)"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/alghanmi-2020-combining-bert-static-word-embeddings/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/alghanmi-2020-combining-bert-static-word-embeddings/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/page/6/) / Combining BERT with Static Word Embeddings for Categorizing Social Media

# Combining BERT with Static Word Embeddings for Categorizing Social Media

**Authors:** [Israa Alghanmi](https://md.research.elamur.ai/free/en/authors/israa-alghanmi/), [Luis Espinosa Anke](https://md.research.elamur.ai/free/en/authors/luis-espinosa-anke/) and [Steven Schockaert](https://md.research.elamur.ai/free/en/authors/steven-schockaert/) · **Year:** 2020 · **Venue:** [Proceedings of the Sixth Workshop on Noisy User-generated Text (W-NUT 2020)](https://md.research.elamur.ai/free/en/venues/wnut/) ([Workshop on Noisy User-generated Text 2020](https://md.research.elamur.ai/free/en/venues/wnut/2020/)) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/2020.wnut-1.5/) · [PDF](https://aclanthology.org/2020.wnut-1.5.pdf) · [DOI 10.18653/v1/2020.wnut-1.5](https://doi.org/10.18653/v1/2020.wnut-1.5) · [OpenAlex](https://openalex.org/W3099475240)

**Citations:** 32 citations (OpenAlex, 2026-10-14) · [8](https://md.research.elamur.ai/free/en/papers/alghanmi-2020-combining-bert-static-word-embeddings/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
Pre-trained language models such as BERT perform well on social media classification, even though their training data (Wikipedia, news) looks very different from tweets. AraBERT is a striking case: it handles posts written in Arabic dialects despite being trained mostly on Modern Standard Arabic. The authors test whether adding static word embeddings can still improve these models. Their classifier works at the sentence level and has two branches:

- **BERT branch:** the contextual vectors of a fine-tuned BERT are averaged into one sentence vector.
- **Static branch:** a CNN or LSTM reads static word vectors and produces a second sentence vector.

The two vectors are concatenated, passed through dropout and fed to a softmax layer. BERT is fine-tuned first and then frozen while the rest is trained.

Across four Arabic and four English tweet benchmarks, the hybrid usually beats the fine-tuned LM by roughly one F1 point. Embeddings trained on Wikipedia help about as much as Twitter-trained ones. The gain therefore seems to come from complementary lexical information, not from domain match. This matters for low-resource languages and fast-changing vocabulary, where retraining an LM is costly.

## Key points
- **Models and embeddings:** AraBERTv0.1 and BERT base uncased, combined with AraVec CBOW vectors (300-d, Twitter and Wikipedia versions) and GloVe vectors (100-d, Twitter and Wikipedia versions).
- **Arabic data:**
  - AJGT: 1,800 tweets
  - SemEval-2017 Task 4 Arabic subtask A: 10,126 tweets
  - L-HSAB: 5,846 tweets
  - ArsenTD-Lev: 4,000 tweets
- **English data:**
  - SemEval-2018 Task 3 irony: 4,618 tweets
  - OffensEval 2019: 14,100 tweets
  - SemEval-2016 Task 6 climate stance: 564 tweets
  - SemEval-2019 Task 5 hate speech: 13,000 tweets
- **Typical gains (F1):**
  - SemEval-2017 Arabic: 63.1 → 64.3
  - L-HSAB: 71.0 → 72.1
  - Irony: 67.3 → 68.4
  - Stance: 52.9 → 54.6
- **Exceptions:**
  - On the English Hate set, the hybrid falls below BERT (50.6 → about 48). The authors blame overfitting caused by a train/test mismatch in annotation and tweet length.
  - On ArsenTD-Lev, only the LSTM variant helps (52.2 vs 51.8). The CNN variant drops to 49.2.
- **Evaluation setup:** the BERT baseline is the best of three runs. Hybrids are averaged over five runs with min/max reported, which makes the comparison conservative toward the baseline.

## Interesting ideas
- Fusing at the sentence level (averaged BERT vectors concatenated with a CNN/LSTM summary of static vectors) avoids aligning wordpieces to words, so two tokenization schemes can coexist without a merging network.
- Training in two stages (fine-tune the big model, freeze it, then train only the small add-on and the joint classifier) was more robust to overfitting than joint training on small data.
- Comparing in-domain (Twitter) embeddings with out-of-domain (Wikipedia) ones acted as a control. It showed that the improvement was not caused by the assumed domain effect.
- Static vectors are cheap to retrain, so they can cover rare and emerging words (such as trending hashtags) that a frozen LM handles poorly.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (frames): a speech-act or irony classifier in prag could combine a transformer sentence vector with features built from our own word-level analysis, without forcing the two tokenizations to agree.
- **I2** (learn): when adding a new feature branch on top of gparse, we can freeze the trained parser and fit only the new head, so silver-data noise cannot damage the base model.
- **I3** (learn): every claimed gain from "domain-specific" resources should be tested against a generic-resource ablation, in the spirit of our negative controls.
- **I4** (tokens): the tagger and lemmatizer in crate en could use a regularly refreshed static lexicon as a fallback for unseen or rare forms, instead of retraining the whole model.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Cardiff University](https://md.research.elamur.ai/free/en/universities/cardiff-university/) — University, Cardiff, United Kingdom · 23 works · 2,549 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 18,614 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 17,965 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 17,450 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 17,296 works

🧭 Topics (1): [Semitic languages](https://md.research.elamur.ai/free/en/topics/semitic-languages/) · 3,066 works

## Cite

Cite as: Israa Alghanmi, Luis Espinosa Anke and Steven Schockaert. 2020. Combining BERT with Static Word Embeddings for Categorizing Social Media. Proceedings of the Sixth Workshop on Noisy User-generated Text (W-NUT 2020).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{alghanmi2020combining,
  title = {{Combining BERT with Static Word Embeddings for Categorizing Social Media}},
  author = {Israa Alghanmi, Luis Espinosa Anke and Steven Schockaert},
  booktitle = {Proceedings of the Sixth Workshop on Noisy User-generated Text (W-NUT 2020)},
  year = {2020},
  doi = {10.18653/v1/2020.wnut-1.5},
  url = {https://doi.org/10.18653/v1/2020.wnut-1.5}
}
```

- [← previous TransS-Driven Joint Learning Architecture for Implicit Discourse Relation Recognition](https://md.research.elamur.ai/free/en/papers/he-2020-transs-driven-joint-learning-architecture/)
- [next → Dialogue Coherence Assessment Without Explicit Dialogue Act Labels](https://md.research.elamur.ai/free/en/papers/mesgar-2020-dialogue-coherence-assessment-without-explicit/)
- [↑ back to papers of 2020](https://md.research.elamur.ai/free/en/papers/2020/page/6/)

## References

27 references, 17 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Soufien Jaffali, Salma Jamoussi, Nesrine Khelifi, and Abdelmajid Ben Hamadou. 2020. Survey on social networks data analysis. In International Conference on Innovations for Community Services, pages 100– 119. Springer. [find](https://scholar.google.com/scholar?q=Soufien+Jaffali%2C+Salma+Jamoussi%2C+Nesrine+Khelifi%2C+and+Abdelmajid+Ben+Hamadou%2E+2020%2E+Survey+on+social+networks+data+analysis%2E+In+International+Conference+on+Innovations+for+Community+Services%2C+pages+10)
2. Muath Alali, Nurfadhlina Mohd Sharef, Masrah Azrifah Azmi Murad, Hazlina Hamdan, and Nor Azura Husin. 2019. Narrow convolutional neural network for arabic dialects polarity classification. IEEE Access, 7:96272–96283. [↗](https://doi.org/10.1109/access.2019.2929208)
3. Ibrahim Kaibi, Hassan Satori, et al. 2020. Sentiment analysis approach based on combination of word embedding techniques. In Embedded Systems and Artificial Intelligence, pages 805–813. Springer. [↗](https://doi.org/10.1007/978-981-15-0947-6_76)
4. Khaled Mohammad Alomari, Hatem M ElSherif, and Khaled Shaalan. 2017. Arabic tweets sentimental analysis using machine learning. In International Conference on Industrial, Engineering and Other Applications of Applied Intelligent Systems, pages 602–610. Springer. [find](https://scholar.google.com/scholar?q=Khaled+Mohammad+Alomari%2C+Hatem+M+ElSherif%2C+and+Khaled+Shaalan%2E+2017%2E+Arabic+tweets+sentimental+analysis+using+machine+learning%2E+In+International+Conference+on+Industrial%2C+Engineering+and+Other+Applica)
5. Bill Yuchen Lin et al. 2019. KagNet: Knowledge-aware graph networks for commonsense reasoning. In EMNLP. [↗](https://doi.org/10.48550/arxiv.1909.02151)
6. Shoayee Alotaibi, Rashid Mehmood, and Iyad Katib. 2019. Sentiment analysis of arabic tweets in smart cities: A review of saudi dialect. In 2019 Fourth International Conference on Fog and Mobile Edge Computing (FMEC), pages 330–335. IEEE. [find](https://scholar.google.com/scholar?q=Shoayee+Alotaibi%2C+Rashid+Mehmood%2C+and+Iyad+Katib%2E+2019%2E+Sentiment+analysis+of+arabic+tweets+in+smart+cities%3A+A+review+of+saudi+dialect%2E+In+2019+Fourth+International+Conference+on+Fog+and+Mobile+Edge+C)
7. Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013. [Distributed representations of words and phrases and their compositionality](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/). In Advances in neural information processing systems, pages 3111–3119. [↗](https://doi.org/10.48550/arxiv.1310.4546)
8. Wissam Antoun, Fady Baly, and Hazem Hajj. 2020. [Arabert: Transformer-based model for arabic language understanding](https://md.research.elamur.ai/free/en/papers/antoun-2020-arabert-transformer-based-model-arabic/). [↗](https://doi.org/10.48550/arxiv.2003.00104)
9. Saif Mohammad, Svetlana Kiritchenko, Parinaz Sobhani, Xiaodan Zhu, and Colin Cherry. 2016. [Semeval-2016 task 6: Detecting stance in tweets](https://md.research.elamur.ai/free/en/papers/mohammad-2016-semeval-2016-task-6-detecting/). In Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016), pages 31–41.
10. Ramy Baly, Gilbert Badaro, Georges El-Khoury, Rawan Moukalled, Rita Aoun, Hazem Hajj, Wassim El-Hajj, Nizar Habash, and Khaled Shaban. 2017. [A characterization study of arabic twitter data with a benchmarking for state-of-the-art opinion mining models](https://md.research.elamur.ai/free/en/papers/baly-2017-characterization-study-arabic-twitter-data/). In Proceedings of the third Arabic natural language processing workshop, pages 110–118.
11. Hala Mulki, Hatem Haddad, Chedi Bechikh Ali, and Halima Alshabani. 2019. [L-hsab: A levantine twitter dataset for hate speech and abusive language](https://md.research.elamur.ai/free/en/papers/mulki-2019-l-hsab-levantine-twitter-dataset/). In Proceedings of the Third Workshop on Abusive Language Online, pages 111–118.
12. Dat Quoc Nguyen, Thanh Vu, and Anh Tuan Nguyen. 2020. [Bertweet: A pre-trained language model for english tweets](https://md.research.elamur.ai/free/en/papers/nguyen-2020-bertweet-pre-trained-language-model/). arXiv preprint arXiv:2005.10200. [↗](https://arxiv.org/abs/2005.10200)
13. Ramy Baly, Alaa Khaddaj, Hazem Hajj, Wassim El-Hajj, and Khaled Bashir Shaban. 2019. [Arsentd-lev: A multi-topic corpus for target-based sentiment analysis in arabic levantine tweets](https://md.research.elamur.ai/free/en/papers/baly-2019-arsentd-lev-multi-topic-corpus/). arXiv preprint arXiv:1906.01830. [↗](https://arxiv.org/abs/1906.01830)
14. Jeffrey Pennington, Richard Socher, and Christopher D Manning. 2014. [Glove: Global vectors for word representation](https://md.research.elamur.ai/free/en/papers/pennington-2014-glove-global-vectors-word-representation/). In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532–1543. [↗](https://doi.org/10.3115/v1/d14-1162)
15. Valerio Basile, Cristina Bosco, Elisabetta Fersini, Nozza Debora, Viviana Patti, Francisco Manuel Rangel Pardo, Paolo Rosso, Manuela Sanguinetti, et al. 2019. [Semeval-2019 task 5: Multilingual detection of hate speech against immigrants and women in twitter](https://md.research.elamur.ai/free/en/papers/basile-2019-semeval-2019-task-5-multilingual/). In 13th International Workshop on Semantic Evaluation, pages 54–63. Association for Computational Linguistics.
16. Matthew Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. [Deep contextualized word representations](https://md.research.elamur.ai/free/en/papers/peters-2018-deep-contextualized-word-representations/). In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2227–2237.
17. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. [Bert: Pre-training of deep bidirectional transformers for language understanding](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/). arXiv preprint arXiv:1810.04805. [↗](https://arxiv.org/abs/1810.04805)
18. Nina Poerner, Ulli Waltinger, and Hinrich Schütze. 2019. [E-bert: Efficient-yet-effective entity embeddings for bert](https://md.research.elamur.ai/free/en/papers/poerner-2019-e-bert-efficient-yet-effective/).
19. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. [BERT: pre-training of deep bidirectional transformers for language understanding](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4171–4186.
20. Sara Rosenthal, Noura Farra, and Preslav Nakov. 2017. [SemEval-2017 task 4: Sentiment analysis in Twitter](https://md.research.elamur.ai/free/en/papers/rosenthal-2017-semeval-2017-task-4-sentiment/). In Proceedings of the 11th International Workshop on Semantic Evaluation, SemEval ’17, Vancouver, Canada. Association for Computational Linguistics.
21. Timo Schick and Hinrich Schütze. 2020. Rare words: A major problem for contextualized embeddings and how to fix it by attentive mimicking. In Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence, pages 8766–8774. [↗](https://doi.org/10.1609/aaai.v34i05.6403)
22. Maha Heikal, Marwan Torki, and Nagwa El-Makky. 2018. Sentiment analysis of arabic tweets using deep learning. Procedia Computer Science, 142:114–122. [find](https://scholar.google.com/scholar?q=Maha+Heikal%2C+Marwan+Torki%2C+and+Nagwa+El%2DMakky%2E+2018%2E+Sentiment+analysis+of+arabic+tweets+using+deep+learning%2E+Procedia+Computer+Science%2C+142%3A114%E2%80%93122%2E)
23. Abu Bakr Soliman, Kareem Eissa, and Samhaa R El-Beltagy. 2017. Aravec: A set of arabic word embedding models for use in arabic nlp. Procedia Computer Science, 117:256–265. [find](https://scholar.google.com/scholar?q=Abu+Bakr+Soliman%2C+Kareem+Eissa%2C+and+Samhaa+R+El%2DBeltagy%2E+2017%2E+Aravec%3A+A+set+of+arabic+word+embedding+models+for+use+in+arabic+nlp%2E+Procedia+Computer+Science%2C+117%3A256%E2%80%93265%2E)
24. Cynthia Van Hee, Els Lefever, and Véronique Hoste. 2018. [Semeval-2018 task 3: Irony detection in english tweets](https://md.research.elamur.ai/free/en/papers/hee-2018-semeval-2018-task-3-irony/). In Proceedings of The 12th International Workshop on Semantic Evaluation, pages 39– 50.
25. Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pier-ric Cistac, Tim Rault, R’emi Louf, Morgan Funtowicz, and Jamie Brew. 2019. Huggingface’s [transformers: State-of-the-art natural language processing](https://md.research.elamur.ai/free/en/papers/wolf-2020-transformers-state-art-natural-language/). ArXiv, abs/1910.03771. [↗](https://arxiv.org/abs/1910.03771)
26. Marcos Zampieri, Shervin Malmasi, Preslav Nakov, Sara Rosenthal, Noura Farra, and Ritesh Kumar. 2019. [Semeval-2019 task 6: Identifying and categorizing offensive language in social media (offenseval)](https://md.research.elamur.ai/free/en/papers/zampieri-2019-semeval-2019-task-6-identifying/). arXiv preprint arXiv:1903.08983. [↗](https://arxiv.org/abs/1903.08983)
27. Zhuosheng Zhang, Yuwei Wu, Hai Zhao, Zuchao Li, Shuailiang Zhang, Xi Zhou, and Xiang Zhou. 2020. Semantics-aware BERT for language understanding. In Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence, pages 9628–9635. [find](https://scholar.google.com/scholar?q=Zhuosheng+Zhang%2C+Yuwei+Wu%2C+Hai+Zhao%2C+Zuchao+Li%2C+Shuailiang+Zhang%2C+Xi+Zhou%2C+and+Xiang+Zhou%2E+2020%2E+Semantics%2Daware+BERT+for+language+understanding%2E+In+Proceedings+of+the+Thirty%2DFourth+AAAI+Conference+on)

*Updated 2 November 2026*
