Elektroensefalografi (EEG) sinyali kullanılarak yapay zeka tabanlı duygu kestirimi
Emotion prediction using artificial intelligence based on electroencephalography (EEG) signals
- Tez No: 898329
- Danışmanlar: PROF. DR. MEHMET RECEP BOZKURT
- Tez Türü: Yüksek Lisans
- Konular: Elektrik ve Elektronik Mühendisliği, Electrical and Electronics Engineering
- Anahtar Kelimeler: Belirtilmemiş.
- Yıl: 2024
- Dil: Türkçe
- Üniversite: Sakarya Üniversitesi
- Enstitü: Fen Bilimleri Enstitüsü
- Ana Bilim Dalı: Elektrik ve Elektronik Mühendisliği Ana Bilim Dalı
- Bilim Dalı: Elektrik Mühendisliği Bilim Dalı
- Sayfa Sayısı: 93
Özet
Duyguların nörolojik temellerini anlamak ve tanımlamak, insan-makine etkileşimi alanında her geçen gün artan bir öneme sahiptir. Bu bağlamda EEG (Elektroensefalografi), duygusal durumları analiz etmek için yüksek zamansal çözünürlüklü bir yöntem olarak dikkat çekmektedir ve Yapay Zekâ yöntemlerinin çeşitlenmesiyle birlikte yapılan çalışmalar hız kazanmıştır. EEG sinyalleri, beynin elektriksel aktivitelerini ölçerek duygusal ve zihinsel durumları objektif bir şekilde değerlendirme imkânı sunar. Ancak EEG sinyallerinin karmaşıklığı ve dış etkenlerden kolayca etkilenmesi nedeniyle doğru ve tutarlı analiz methodlarına ihtiyaç vardır. Bu çalışmada, SEED EEG veri seti kullanılarak EEG tabanlı duygu tanıma için Ensemble Bagged Trees modeli önerilmiştir. SEED veri seti, 15 sağlıklı katılımcının 62 kanallı EEG sinyallerini içermektedir. Katılımcılara çeşitli duygusal tepkileri tetiklemek amacıyla belirli film klipleri izletilmiş ve bu sırada EEG verileri 1000 Hz örnekleme hızında kaydedilmiştir. Verilerin ön işleme sürecinde, EEG sinyalleri filtrelenmiş, örnekleme hızı 200 Hz'e düşürülmüş ve artefaktlar (örneğin, göz kırpma ve kas hareketleri) giderilmiştir. Bu işlemler, sinyal/gürültü oranını artırarak, verilerin daha doğru ve güvenilir analiz edilmesini sağlamıştır. Özellik çıkarma aşamasında, EEG verileri delta, teta, alfa, beta ve gama olarak temel frekans bantlarına ayrılmıştır. Her bir bant için zaman domeni ve istatistiksel özellikler hesaplanmış ve bu özellikler, duygu tanıma modellerinin eğitiminde kullanılmıştır. Özellikle otokorelasyon ve toplam harmonik bozulma gibi zaman serisi özellikleri de hesaplanarak sinyalin zaman içindeki bağımlılıkları ve harmonik bileşenleri analiz edilmiştir. Özellik sıralaması için Spearman korelasyon katsayısı kullanılmış, bu sayede en anlamlı özellikler belirlenmiştir. Sınıflandırma aşamasında, iki farklı yöntem izlenmiştir. İlk sınıflama işleminde, tüm frekans bantlarından çıkarılan özellikler kullanılarak genel bir duygu durumu kestirimi yapılmıştır. İkinci işlemde ise her bir frekans bandı ayrı ayrı değerlendirilerek tek bir frekans bandı ile duygu kestiriminin nasıl olacağı araştırılmıştır. Bu yaklaşım, belirli frekans bantlarının belirli duyguların tespitinde daha etkili olabileceğini göstermiştir. Özellikle, farklı bantların etkinlikleri karşılaştırıldığında, Beta bandı korku (%91.40) ve mutluluk (%84.30) sınıflarında yüksek doğruluk oranları sağlamıştır. Buna karşılık, Delta bandı tüm sınıflar için en düşük doğruluk oranlarını sunmuştur, bu da düşük frekanslı bantların duygu tespitinde sınırlı katkı sağlayabileceğini göstermektedir. Elde edilen sonuçlar, Ensemble Bagged Trees modelinin genel doğruluk oranını %94.4 olarak göstermiştir. Model, nötr durum için %96.94 doğruluk oranına ulaşmış, üzüntü sınıfında %97.78 ve korku sınıfında %97.13 doğruluk oranları elde edilmiştir. Mutluluk sınıfında ise doğruluk oranı %97.04 olarak hesaplanmıştır. Tüm frekans bantlarının bir arada kullanılması, genel olarak en yüksek doğruluk oranını sunmuş, bu da frekans bantlarının kombinasyonunun model performansını artırmada etkili olduğunu göstermektedir. Elde edilen bulgular, EEG tabanlı duygu tanıma sistemlerinin, insan-makine etkileşimi, psikolojik araştırmalar ve pazarlama stratejileri gibi çeşitli alanlarda geniş uygulama potansiyeline sahip olduğunu göstermektedir. Bu çalışma, EEG verilerinin duygu tanıma ve analizinde etkili bir şekilde kullanılabileceğini kanıtlayarak, gelecekteki araştırmalar ve uygulamalar için önemli katkılar sunmaktadır.
Özet (Çeviri)
Understanding and defining the neurological foundations of emotions is increasingly important in the field of human-machine interaction. EEG (Electroencephalography) signals stand out as a high temporal resolution method for analyzing these emotional states. EEG enables the objective assessment of individuals' emotional and mental states by measuring the brain's electrical activities. However, the inherent complexity of EEG signals and their susceptibility to external factors make accurate and consistent analysis challenging. Therefore, the use of artificial intelligence methods in EEG-based emotion recognition systems has gained significant momentum in recent years. In this study, emotion recognition processes were carried out based on EEG signals using the SEED EEG dataset, and in this context, the Ensemble Bagged Trees model was proposed. The SEED dataset, which forms the basis of this study, contains 62-channel EEG signals from 15 healthy participants. These participants were shown 72 film clips to evoke various emotional responses, and EEG data were recorded at a sampling rate of 1000 Hz during the sessions. In the preprocessing stage, EEG signals were filtered with a bandpass filter of 0.3-50 Hz, downsampled to 200 Hz, and various artifacts (such as eye blinks and muscle movements) were removed. These preprocessing steps enhanced the signal-to-noise ratio, allowing for more reliable and accurate analyses. Specifically, after downsampling, the signals from critically identified six symmetric temporal electrodes (FT7, FT8, T7, T8, TP7, TP8) were analyzed. In the feature extraction stage, EEG data were divided into fundamental frequency bands known as delta (0.5-4 Hz), theta (4-8 Hz), alpha (8-12 Hz), beta (12-30 Hz), and gamma (30-50 Hz). For each band, time domain, frequency domain, and statistical features were calculated, and these features were used to train emotion recognition models. A total of 34 different features were extracted, including parameters such as autocorrelation, total harmonic distortion, kurtosis, skewness, standard deviation, and median. Especially, features such as Crest Factor and Impulse Factor are crucial for understanding the peak values and impulsive characteristics of the signal. The Autocorrelation Function (ACF) and Partial Autocorrelation Function (PACF) help us analyze the dependencies of the signal over time. Time-domain features express how the signal changes over time, considering the values at specific points and their distribution over time. Frequency-domain features represent the frequency components of the signal, taking into account the energy distribution in the frequency spectrum and the frequency characteristics of the signal. Features that include basic statistical parameters describe the distribution and overall characteristics of the signal. Spearman's correlation coefficient was used to rank the features, and the most significant features were identified. In this process, the impact of each extracted feature on emotion recognition success was evaluated, and features with the highest correlation coefficients were selected. In the classification stage, two different approaches were followed. In the first classification, features extracted from all frequency bands were used to estimate a general emotional state. In this process, 80% (2160 samples) of the 2700 samples were used for training, while 20% (540 samples) were set aside for testing. The overall model accuracy was calculated as 94.4%. This high accuracy indicates that the model can successfully distinguish between the four main emotion classes (neutral, sadness, fear, and happiness) and generally demonstrates reliable performance. In the second classification, each frequency band was analyzed separately to investigate how emotion estimation could be achieved using a single frequency band. In these analyses, the Beta band provided high accuracy rates in the fear (91.40%) and happiness (84.30%) classes. In contrast, the Delta band showed the lowest accuracy rates across all classes, indicating that low-frequency bands might contribute less to emotion detection. For example, the accuracy rates were calculated as 69.9% for the Delta band, 74.8% for the Theta band, 73.8% for the Alpha band, 75.0% for the Beta band, and 73.1% for the Gamma band. Examining the effects of different frequency bands on emotion recognition tasks is a significant dimension of this study. The combined use of all frequency bands generally provided higher accuracy rates, as this method creates a richer data representation by combining the different information provided by each band. For instance, the use of all bands together resulted in an accuracy of 96.94% in detecting the neutral state. Similarly, accuracy rates of 97.78%, 97.13%, and 97.04% were achieved for sadness, fear, and happiness, respectively. These results indicate that the model can classify emotional states quite accurately by using all bands together. When individual bands were considered, the low accuracy rate of 69.9% provided by the Delta band suggests that this band offers limited information, particularly in the analysis of low-frequency signals. The Delta band may reflect slower brain activities associated with deep thinking or resting states, but it has limited impact on distinguishing emotional states. In contrast, the Beta band provided high accuracy rates of 91.40% in fear detection and 84.30% in happiness detection. The Beta band is associated with high-frequency brain activities, indicating that it may be more decisive in detecting emotional responses. The Theta (74.8%), Alpha (73.8%), and Gamma (73.1%) bands provided similar accuracy rates, showing effectiveness in general emotion detection, though no significant superiority was observed among these bands. The findings of the study indicate that EEG-based emotion recognition systems have broad application potential in fields such as human-machine interaction, psychological research, and marketing strategies. These AI-based methods contribute significantly to future research and applications by enabling the accurate detection of emotional states. The high accuracy rates of the Ensemble Bagged Trees model, in particular, support the effective use of such systems in practical applications. This study not only demonstrates that EEG data can be effectively used in emotion recognition and analysis but also highlights how the combination of different frequency bands can enhance model performance. These findings suggest that EEG-based AI methods can be applied more widely and contribute significantly to the literature in this field. In conclusion, the Ensemble Bagged Trees model used in this study has demonstrated overall high accuracy and successful performance in the EEG-based emotion recognition process. However, considering the different effects of specific frequency bands on emotion detection, there are various avenues for further optimization and improvement of these systems. Future studies may focus on testing this model with different datasets and artificial intelligence methods, as well as exploring enhancement methods for bands with lower performance. Each new study in this field will contribute to further developing EEG-based emotion recognition systems and increasing their application potential across various domains.
Benzer Tezler
- Emotion aware artificial intelligence for cognitive systems
Bilişsel sistemler için duygu farkındalıklı yapay zeka
DEĞER AYATA
Doktora
İngilizce
2019
Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrolİstanbul Teknik ÜniversitesiBilgisayar Mühendisliği Ana Bilim Dalı
DOÇ. DR. YUSUF YASLAN
PROF. DR. MUSTAFA ERSEL KAMAŞAK
- Electroencephalography (EEG) sinyal sınıflandırılmasında sinir-evrimi yaklaşımı
NeuroEvolutionary approach to electroencephalography (EEG) signal classification
ERDEM AYBEK
Yüksek Lisans
Türkçe
2024
Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve KontrolPamukkale ÜniversitesiBilgisayar Mühendisliği Ana Bilim Dalı
DOÇ. DR. MERİÇ ÇETİN
- Parkinson hastalığının EEG sinyallerinden yapay zeka teknikleri kullanılarak sınıflandırılması
Classification of parkinson's disease from EEG signals using artificial intelligence techniques
SULTAN PENEKLİ
Yüksek Lisans
Türkçe
2023
Mühendislik BilimleriErciyes ÜniversitesiBiyomedikal Mühendisliği Ana Bilim Dalı
PROF. DR. FATMA LATİFOĞLU
- Video oyun yaş etiketlerinin çok modlu biyosinyaller ve yapay zeka ile tahmini
Prediction of video game age labels with multimodal biosignals and artificial intelligence
DURMUŞ KOÇ
Doktora
Türkçe
2022
Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrolİstanbul ÜniversitesiEnformatik Ana Bilim Dalı
DOÇ. DR. ZÜMRÜT SATI
DOÇ. DR. AHMET ÇAĞDAŞ SEÇKİN
- Development of text synthesis software utilizing EEG signals
EEG işaretlerinin kullanımı ile metin sentezleme yazılımı geliştirilmesi
İBRAHİM SEFA ÖZYEŞİL
Yüksek Lisans
İngilizce
2019
Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve KontrolÇukurova ÜniversitesiBiyomedikal Mühendisliği Ana Bilim Dalı
PROF. DR. MUTLU AVCI