{"title":"TBP-XFE: A transformer-based explainable framework for EEG music genre classification with hemispheric and directed lobish analysis","authors":"Suat Tas , Dahiru Tanko , Irem Tasci , Sengul Dogan , Turker Tuncer","doi":"10.1016/j.apacoust.2025.110855","DOIUrl":null,"url":null,"abstract":"<div><div>Electroencephalography (EEG) signals offer important information for machine learning. In this work, we evaluate whether EEG signals can be used to classify music genres. We use a new transformer-based feature extraction method called the Three-Body Pattern (TBP). We also collected an EEG based music dataset containing five classes and these classes are: classical, popular, rap, ballad, and resting.</div><div>Our feature engineering framework operates in four phases. First, the TBP method transforms each EEG signal to extract distinct features. Second, we use cumulative weighted neighborhood component analysis (CWNCA) to select the best features. Third, a t-algorithm-based k-nearest neighbors (tkNN) classifier assigns class labels. Finally, we apply Directed Lobish (DLob) and hemispheric symbolic languages to produce clear and explainable results.</div><div>The TBP-related explainable feature engineering (XFE) framework achieved over 90% classification accuracy on the EEG music dataset. This represents a promising advancement in EEG based music classification because it produces clear and explainable outputs.</div></div>","PeriodicalId":55506,"journal":{"name":"Applied Acoustics","volume":"239 ","pages":"Article 110855"},"PeriodicalIF":3.4000,"publicationDate":"2025-05-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Acoustics","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0003682X25003275","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ACOUSTICS","Score":null,"Total":0}
引用次数: 0
Abstract
Electroencephalography (EEG) signals offer important information for machine learning. In this work, we evaluate whether EEG signals can be used to classify music genres. We use a new transformer-based feature extraction method called the Three-Body Pattern (TBP). We also collected an EEG based music dataset containing five classes and these classes are: classical, popular, rap, ballad, and resting.
Our feature engineering framework operates in four phases. First, the TBP method transforms each EEG signal to extract distinct features. Second, we use cumulative weighted neighborhood component analysis (CWNCA) to select the best features. Third, a t-algorithm-based k-nearest neighbors (tkNN) classifier assigns class labels. Finally, we apply Directed Lobish (DLob) and hemispheric symbolic languages to produce clear and explainable results.
The TBP-related explainable feature engineering (XFE) framework achieved over 90% classification accuracy on the EEG music dataset. This represents a promising advancement in EEG based music classification because it produces clear and explainable outputs.
期刊介绍:
Since its launch in 1968, Applied Acoustics has been publishing high quality research papers providing state-of-the-art coverage of research findings for engineers and scientists involved in applications of acoustics in the widest sense.
Applied Acoustics looks not only at recent developments in the understanding of acoustics but also at ways of exploiting that understanding. The Journal aims to encourage the exchange of practical experience through publication and in so doing creates a fund of technological information that can be used for solving related problems. The presentation of information in graphical or tabular form is especially encouraged. If a report of a mathematical development is a necessary part of a paper it is important to ensure that it is there only as an integral part of a practical solution to a problem and is supported by data. Applied Acoustics encourages the exchange of practical experience in the following ways: • Complete Papers • Short Technical Notes • Review Articles; and thereby provides a wealth of technological information that can be used to solve related problems.
Manuscripts that address all fields of applications of acoustics ranging from medicine and NDT to the environment and buildings are welcome.