|
Artificial intelligence
Application of deep neural networks for automatic irony detection in Russian texts
M. A. Kosterin, I. V. Paramonov P.G. Demidov Yaroslavl State University, Yaroslavl, Russia
Abstract:
The paper examines automatic methods for classifying Russian-language sentences into two classes: ironic and non-ironic. The discussed methods can be divided into three categories: classifiers based on language model embeddings, classifiers using sentiment information, and classifiers with embeddings trained to detect irony. The components of classifiers are neural networks such as BERT, RoBERTa, BiLSTM, CNN, as well as an attention mechanism and fully connected layers. The irony detection experiments were carried out using two corpora of Russian sentences: the first corpus is composed of journalistic texts from the OpenCorpora open corpus, the second corpus is an extension of the first one and is supplemented with ironic sentences from the Wiktionary resource.
The best results were demonstrated by a group of classifiers based on embeddings of language models with the maximum F-measure of 0.84, achieved by a combination of RoBERTa, BiLSTM, an attention mechanism and a pair of fully connected layers in experiments on the extended corpus. In general, using the extended corpus produced results that were 2–5% higher than those of the basic corpus. The achieved results are the best for the problem under consideration in the case of the Russian language and are comparable to the best one for English.
Keywords:
irony detection, sarcasm detection, neural network-based classifier, deep learning, natural language processing, BERT.
Received: 15.02.2024 Revised: 23.02.2024 Accepted: 28.02.2024
Citation:
M. A. Kosterin, I. V. Paramonov, “Application of deep neural networks for automatic irony detection in Russian texts”, Model. Anal. Inform. Sist., 31:1 (2024), 90–101
Linking options:
https://www.mathnet.ru/eng/mais817 https://www.mathnet.ru/eng/mais/v31/i1/p90
|
Statistics & downloads: |
Abstract page: | 35 | Full-text PDF : | 37 | References: | 12 |
|