Author Profiling in Informal and Formal Language Scenarios Via Transfer Learning

Keywords: Author profiling,, Gender Recognition, Language variety recognition, Transfer learning, Natural language processing


The interest in author profiling tasks has increased in the research community because computer applications have shown success in different sectors such as security, marketing, healthcare, and others. Recognition and identification of traits such as gender, age or location based on text data can help to improve different marketing strategies. This type of technology has been widely discussed regarding documents taken from social media. However, its methods have been poorly studied using data with a more formal structure, where there is no access to emoticons, mentions, and other linguistic phenomena that are only present in social media. This paper proposes the use of recurrent and convolutional neural networks and a transfer learning strategy to recognize two demographic traits, i.e., gender and language variety, in documents written in informal and formal language. The models were tested in two different databases consisting of tweets (informal) and call-center conversations (formal). Accuracies of up to 75 % and 68 % were achieved in the recognition of gender in documents with informal and formal language, respectively. Moreover, regarding language variety recognition, accuracies of 92 % and 72 % were obtained in informal and formal text scenarios, respectively. The results indicate that, in relation to the traits considered in this paper, it is possible to transfer the knowledge from a system trained on a specific type of expressions to another one where the structure is completely different and data are scarcer.

Author Biographies

Daniel Escobar-Grisales*, Universidad de Antioquia, Colombia

Universidad de Antioquia, Medellín-Colombia,

Juan Camilo Vásquez-Correa, Friedrich Alexander Universität, Alemania

Universidad de Antioquia, Medellín-Colombia; Friedrich Alexander Universität, Erlangen Nürnberg-Germany; Pratech Group, Medellín-Colombia,

Juan Rafael Orozco-Arroyave, Friedrich Alexander Universität, Germany

Universidad de Antioquia, Medellín-Colombia; Friedrich Alexander Universität, Erlangen Nürnberg-Germany,


F. Chiu Hsieh; R. F. Sandroni Dias; I. Paraboni, “Author profiling from Facebook corpora,” in Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), pp. 2566- 2570, 2018.

O. Dogan; B. Oztaysi, “Gender prediction from classified indoor customer paths by fuzzy C-medoids clustering,” in Intelligent and Fuzzy Techniques in Big Data Analytics and Decision Making INFUS 2019. Advances in Intelligent Systems and Computing, vol 1029. Springer, Cham., pp. 160–169.

R. Hirt; N. Kühl; G. Satzger, “Cognitive computing for customer profiling: meta classification for gender prediction,” Electron. Mark., vol. 39, no. 1, pp. 93–106, Feb. 2019.

D. Fernandez-Lanvin; J. de Andres-Suarez; M. Gonzalez-Rodriguez; B. Pariente-Martinez, “The dimension of age and gender as user model demographic factors for automatic personalization in e-commerce sites,” Comput. Stand. Interfaces, vol. 59, pp. 1–9, Aug. 2018.

M. Arroju; A. Hassan; G. Farnadi, “Age, gender and personality recognition using tweets in a multilingual setting Notebook for PAN at CLEF 2015”. in 6th Conference and Labs of the Evaluation Forum (CLEF), 2015, pp. 23-31.

A. Nemati, “Gender and Age Prediction Multilingual Author Profiles Based on Comments”. in FIRE (Working Notes), 2018.

P. Mishra; M. Del Tredici; H. Yannakoudakis; E. Shutova, “Author profiling for abuse detection”. in Proceedings of the 27th international conference on computational linguistics, 2018.

B. G. Gebre; M. Zampieri; P. Wittenburg; T. Heskes, “Improving native language identification with TF-IDF weighting”. in Proceedings of the Eighth Workshop on Innovative Use of NLP for Building Educational Applications, 2013, pp. 216-223.

K. M. Alomari; H. M. ElSherif; K. Shaalan, “Arabic tweets sentimental analysis using machine learning”. in Advances in Artificial Intelligence: From Theory to Practice. IEA/AIE 2017. Lecture Notes in Computer Science, vol 10350. Springer, Cham.

I. Markov; H. Gómez-Adorno; G. Sidorov, “Language-and subtask-dependent feature selection and classifier parameter tuning for author profiling Notebook for PAN at CLEF 2017,” CLEF (Working Notes), 2017.

M. Martinc; I. Skrjanec; K. Zupan; S. Pollak, “PAN 2017: Author profiling-gender and language variety prediction,” in CLEF (Working Notes), 2017.

F. Rangel; P. Rosso; M. Potthast; B. Stein, “Overview of the 5th author profiling task at PAN 2017: Gender and language variety identification in twitter,” in Working notes papers of the CLEF, pp. 1613–0073, 2017.

A. Basile; G. Dwyer; M. Medvedeva; J. Rawee; H. Haagsma; M. Nissim, “N-gram: New Groningen author-profiling model,” Jul. 2017.

M. Potthast; T. Gollub; F. Rangel; P. Rosso; E. fstathios Stamatatos; B. Stein, “Improving the reproducibility of PAN’s shared tasks,” in Information Access Evaluation. Multilinguality, Multimodality, and Interaction. CLEF 2014. Lecture Notes in Computer Science, vol 8685. Springer, Cham, 2014, pp. 268–299.

M. L. Newman; C. J. Groom; L. D. Handelman; J. W. Pennebaker, “Gender differences in language use: An analysis of 14,000 text samples,” Discourse Processes, vol. 45, no. 3, pp. 211–236, Jun. 2008.

D. Rao; D. Yarowsky; A. Shreevats; M. Gupta, “Classifying latent user attributes in twitter,” in Proceedings of the 2nd international workshop on Search and mining user-generated contents - SMUC ’10, 2010, pp. 37–44.

H. A. Schwartz et al., “Personality, gender, and age in the language of social media: The open-vocabulary approach,” PloS one, vol. 8, no. 9, e73791, Sep. 2013.

W. Li; M. Dickinson, “Gender prediction for Chinese social media data,” in Proceedings of Recent Advances in Natural Language Processing, Varna, Bulgaria, 2017, pp. 438–445.

M. Franco-Salvador; G. Kondrak; P. Rosso, “Bridging the native language and language variety identification tasks”, Procedia Computer Science, vol.112, pp. 1554–1561, 2017.

M. E. Aragón; A. P. López-Monroy, “Author profiling and aggressiveness detection in Spanish tweets: Mex-a3t 2018,” in IberEval@SEPLN, 2018, pp. 134–139.

Y. Kim, “Convolutional neural networks for sentence classification,” in Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, 2014, pp. 1746–1751.

N. Kalchbrenner; E. Grefenstette; P. Blunsom, “A convolutional neural network for modelling sentences,” in Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Baltimore, 2014, pp. 655–665.

N. Majumder; S. Poria; A. Gelbukh; E. Cambria, “Deep learning-based document modeling for personality detection from text,” IEEE Intell. Syst., vol. 32, no. 2, pp. 74–79, Mar. 2017.

S. Ruder; P. Ghaffari; J. Breslin, “Character-level and multi-channel convolutional neural networks for large-scale authorship attribution,” ArXiv, Sep. 2016.

H. Gómez-Adorno et al., “A convolutional neural network approach for gender and language variety identification,” J. Intell. Fuzzy Syst., vol. 36, no. 5, pp. 4845–4855, May. 2019.

D. Kodiyanet, “Author profiling with bidirectional RNNs using attention with GRUs,” Notebook for PAN at CLEF 2017.

J. V. Lochter; R. M. Silva; T. A. Almeida, “Deep learning models for representing out-of-vocabulary words”. in Brazilian Conference on Intelligent Systems. Springer, Cham, 2020, pp. 418-434.

M. González Bermúdez, “An analysis of twitter corpora and the differences between formal and colloquial tweets,” in Findings of the Association for Computational Linguistics: EMNLP 2020, 2020, pp. 3153–3159.

J. Gu; Z. Yu, “Data annealing for informal language understanding tasks,” arXiv, Apr. 2020.

M. Potthast, F. Rangel; M. Tschuggnall; E. Stamatatos; P. Rosso; B. Stein, “Overview of PAN’17”. in CLEF 2017: Experimental IR Meets Multilinguality, Multimodality, and Interaction, Springer, Cham, pp 275-290.

D. W. Otter; J. R. Medina; J. K. Kalita, “A survey of the usages of deep learning for natural language processing,” in IEEE Trans. Neural Networks Learn. Syst., vol. 32, no. 2, pp. 604-624, Feb. 2021.

A. Torfi; R. A. Shirvani; Y. Keneshloo; N. Tavvaf; E. A Fox, “Natural language processing advancements by deep learning: A survey.” ArXiv, Mar. 2020.

L. Arras; G. Montavon; K. R. Müller; W. Samek, “Explaining recurrent neural network predictions in sentiment analysis,” proceedings of the 8th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, Copenhagen, 2017.

S. Minaee; E. Azimi; A. Abdolrashidi, “Deep-sentiment: Sentiment analysis using ensemble of CNN and bi-LSTM models,” ArXiv, Apr. 2019.

J. Trofimovich, “Comparison of neural network architectures for sentiment analysis of Russian tweets,” in Computational Linguistics and Intellectual Technologies: Proceedings of the International Conference Dialogue, Moscow. 2016, pp. 50–59.

V. Satopaa; J. Albrecht; D. Irwin; B. Raghavan, “Finding a" kneedle" in a haystack: Detecting knee points in system behavior,” in 31st International Conference on Distributed Computing Systems Workshops, Minneapolis, 2011, pp. 166-171.

How to Cite
D. Escobar-Grisales, J. C. Vásquez-Correa, and J. R. Orozco-Arroyave, “Author Profiling in Informal and Formal Language Scenarios Via Transfer Learning”, TecnoL., vol. 24, no. 52, p. e2166, Dec. 2021.


Download data is not yet available.
Research Papers
Crossref Cited-by logo

More on this topic