Optimizing High-Dimensional Text Embeddings in Emotion Identification: a Sliding Window Approach

Dergi Sayısı

Yükleniyor...

Özet

Natural language processing (NLP) is an interdisciplinary field that enables machines to understand and generate human language. One of the crucial steps in several NLP tasks, such as emotion and sentiment analysis, text similarity, summarization, and classification, is transforming textual data sources into numerical form, a process called vectorization. This process can be grouped into traditional, semantic, and contextual vectorization methods. Despite their advantages, these high-dimensional vectors pose memory and computational challenges. To address these issues, we employed a sliding window technique to partition high-dimensional vectors, aiming not only to enhance computational efficiency but also to detect emotional information within specific vector dimensions. Our experiments utilized emotion lexicon words and emotionally labeled sentences in both English and Turkish. By systematically analyzing the vectors, we identified consistent patterns with emotional clues. Our findings suggest that focusing on specific sub-vectors rather than entire high-dimensional BERT vectors can capture emotional information effectively, without performance loss. With this approach, we examined an increase in pairwise cosine similarity scores within emotion categories when using only sub-vectors. The results highlight the potential of the use of sub-vector techniques, offering insights into the nuanced integration of emotions in language and the applicability of these methods across different languages. © 2024 by SCITEPRESS – Science and Technology Publications, Lda.

Açıklama

Institute for Systems and Technologies of Information, Control and Communication (INSTICC)

Kurum Yazarı Profilleri

Anahtar kelimeler

Emotion, Large Language Models, Natural Language Processing, Vector Space Models

Bilim Dalları

0202 electrical engineering, electronic engineering, information engineering, 02 engineering and technology

Alıntı

WoS Q

Scopus Q

Cilt

1

Sayı

Başlangıç Sayfası

258

Bitiş Sayfası

266

Doaj Url

Yükleniyor...
Yükleniyor...
Yükleniyor...