Please wait a minute...
Advanced Search
数据分析与知识发现  2021, Vol. 5 Issue (5): 59-70     https://doi.org/10.11925/infotech.2096-3467.2020.0902
     研究论文 本期目录 | 过刊浏览 | 高级检索 |
基于特征融合的声乐分类研究*
孟镇,王昊(),虞为,邓三鸿,张宝隆
江苏省数据工程与知识服务重点实验室 南京 210023
Vocal Music Classification Based on Multi-category Feature Fusion
Meng Zhen,Wang Hao(),Yu Wei,Deng Sanhong,Zhang Baolong
Jiangsu Key Laboratory of Data Engineering and Knowledge Service, Nanjing 210023, China
全文: PDF (1841 KB)   HTML ( 13
输出: BibTeX | EndNote (RIS)      
摘要 

【目的】 针对音乐信息检索中的声乐分类问题,将音频的统计特征和图像特征进行融合,探索效果更好的分类模型。【方法】 抽取音频信息的统计特征以及梅尔频谱图图像特征。将机器学习方法用于统计特征,并设计了一种多层卷积神经网络架构用于图像特征,将声乐分类问题转化为图像分类问题,最后提出一种融合统计特征和图像特征的深度学习方法。【结果】 在声乐分类任务上,基于图像特征的深度学习方法比机器学习方法F1值提高约6个百分点,基于特征融合的深度学习模型F1值可达到69%以上,超过基于图像特征的深度学习模型3.4个百分点。【局限】 实验数据量较小,未能完全发挥深度学习方法的优势。【结论】 梅尔频谱图采样参数的设置对深度模型实验结果有较大影响,本文提出的特征融合方法可以有效提升声乐分类性能。

服务
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章
孟镇
王昊
虞为
邓三鸿
张宝隆
关键词 声乐分类卷积神经网络特征融合音乐信息检索梅尔频谱图    
Abstract

[Objective] This paper creates a new model combining the statistical characteristics of audio and image properties, aiming to address the classification issues facing music retrieval. [Methods] First, we extracted the statistical characteristics of audios and the Mel spectrogram characteristics of images with the help of machine learning methods. Then, we transformed the audio classification tasks to image categorization. Finally, we constructed a deep learning method combining audio statistics and Mel spectrogram image features. [Results] In vocal music classification, the F1 value of the new method based on image features was about 6 percentage points higher than that of the classic machine learning methods. The F1 value of the deep learning model based on feature fusion was more than 69%, which is 3.4 percentage points higher than that of the model with image features. [Limitations] The size of experimental data is small, and the advantages of deep learning methods were not fully utilized. [Conclusions] The setting of the sampling parameters of the Mel spectrogram influences the experimental results. The new feature fusion method can effectively improve the performance of vocal music classification.

Key wordsVocal Music Classification    CNN    Feature Fusion    Music Information Retrieval    Mel-Frequency Cepstrum
收稿日期: 2020-09-15      出版日期: 2021-03-08
ZTFLH:  TP391  
基金资助:*本文系国家社会科学基金重大招标项目(项目编号) 的研究成果之一。(17ZDA291)
通讯作者: 王昊     E-mail: ywhaowang@nju.edu.cn
引用本文:   
孟镇,王昊,虞为,邓三鸿,张宝隆. 基于特征融合的声乐分类研究*[J]. 数据分析与知识发现, 2021, 5(5): 59-70.
Meng Zhen,Wang Hao,Yu Wei,Deng Sanhong,Zhang Baolong. Vocal Music Classification Based on Multi-category Feature Fusion. Data Analysis and Knowledge Discovery, 2021, 5(5): 59-70.
链接本文:  
https://manu44.magtech.com.cn/Jwk_infotech_wk3/CN/10.11925/infotech.2096-3467.2020.0902      或      https://manu44.magtech.com.cn/Jwk_infotech_wk3/CN/Y2021/V5/I5/59
Fig.1  研究框架
特征类别 特征名 特征说明
时域特征 中心距 波形信号的均值、标准差、偏度、峰度等统计特征。主要用来区分浊音和清音段,区分声母和韵母的分界、无话段和有话段的分界
过零率 对于连续语音信号,过零意味着时域波形通过时间轴,对于离散信号,如果相邻的取样值改变符号,则称为过零。浊音时具有较低的过零率,而清音时具有较高的过零率
节拍 节拍可以表征音乐的快慢,被定义为每分钟的节拍数
频域特征 梅尔倒谱系数 信号的梅尔倒谱系数是一小组特征,简明地描述了频谱包络的整体形状,模拟了人声的特征
色度特征 色度是音乐音频重要的表示,其中整个频谱被投影到12个区间,代表音乐八度音的12个不同的半音(或色度)
频谱质心 频谱质心指示声音的“质心”位于何处,并按照声音的频率的加权平均值计算
Table 1  语音信号统计特征说明
Fig.2  声波图示例
序号 参数名 参数解释 取值
1 sampling_rate 采样率,每秒对声音的采样频率 默认44 100Hz
2 duration 时长 默认30s
3 n_mels 产生的梅尔频带数,即频谱图的高度 64,128,256
4 hop_length 每个连续帧包含的样本数 128,256,512,1 024,
2 048
5 spec_width 频谱图截取宽度 64,128,256
Table 2  librosa梅尔频谱图采样参数说明
Fig.3  梅尔频谱图示例
Fig.4  网络数据流
序号 模型 精确率 召回率 F1
1 LR 0.510 3 0.516 2 0.511 0
2 NB 0.395 3 0.355 0 0.325 3
3 SVM 0.592 3 0.592 5 0.592 2
4 DT 0.334 6 0.331 2 0.332 6
5 XGBoost 0.572 0 0.568 7 0.568 3
Table 3  各机器学习模型的声乐分类结果
序号 类别 精确率 召回率 F1
1 Electronic 0.510 4 0.490 0 0.500 0
2 Experimental 0.492 0 0.500 0 0.495 0
3 Folk 0.641 5 0.680 0 0.660 1
4 Hip-Hop 0.686 8 0.680 0 0.683 4
5 Instrumental 0.587 6 0.570 0 0.578 6
6 International 0.625 0 0.650 0 0.637 2
7 Pop 0.510 0 0.510 0 0.510 0
8 Rock 0.687 5 0.660 0 0.673 4
宏平均 0.592 3 0.592 5 0.592 2
Table 4  基于统计特征的SVM模型各类声乐识别指标
Fig.5  SVM声乐分类结果混淆矩阵
Fig.6  统计特征可视化
Fig.7  学习率变化
Fig.8  hop_length取值变化与实验结果
n_mels


F1

spec_width
64 128 256
64 0.647 0 0.655 4 0.656 0
128 0.627 6 0.651 9 0.651 3
256 0.616 2 0.629 7 0.648 9
Table 5  n_mels与spec_width取值变化与实验结果
序号 类别 精确率 召回率 F1
1 Electronic 0.609 7 0.750 0 0.672 6
2 Experimental 0.558 8 0.570 0 0.564 3
3 Folk 0.657 8 0.750 0 0.700 9
4 Hip-Hop 0.767 6 0.760 0 0.763 8
5 Instrumental 0.674 7 0.560 0 0.612 0
6 International 0.783 5 0.760 0 0.771 5
7 Pop 0.510 8 0.470 0 0.489 5
8 Rock 0.711 1 0.640 0 0.673 6
宏平均 0.659 2 0.657 5 0.656 0
Table 6  基于图像特征的深度学习模型各类声乐识别指标
序号 模型类别 精确率 召回率 F1
1 ResNet18 0.636 0 0.643 7 0.643 7
2 ResNet50 0.635 8 0.637 5 0.631 7
3 Inception V4 0.619 9 0.632 5 0.619 3
4 MobileNet 0.639 8 0.646 2 0.641 0
5 ShuffleNet 0.644 3 0.643 7 0.643 7
6 EfficientNet 0.639 8 0.646 2 0.641 0
7 多层CNN 0.659 2 0.657 5 0.656 0
Table 7  基于图像预训练模型的声乐分类指标
序号 特征 精确率 召回率 F1
1 MEL+STATISTICS 0.689 2 0.693 7 0.690 4
2 MEL 0.659 2 0.657 5 0.656 0
Table 8  特征融合与单图像特征深度学习模型识别指标
Fig.9  各类声乐在各分类器上分类结果F1值
[1] 腾讯音乐娱乐. 2019 华语乐坛的流行趋势[EB/OL]. [2020-08-25]. https://yobang.tencentmusic.com/unireport/overview.
[1] (Tencent Music Entertainment. 2019 Chinese Music Trends[EB/OL]. [2020-08-25]. https://yobang.tencentmusic.com/unireport/overview.)
[2] Aucouturier J J, Pachet F. Representing Musical Genre: A State of the Art[J]. Journal of New Music Research, 2003,32(1):83-93.
doi: 10.1076/jnmr.32.1.83.16801
[3] 王昊, 邓三鸿, 朱立平, 等. 大数据环境下政务数据的情报价值及其利用研究——以海关报关商品归类风险规避为例[J]. 科技情报研究, 2020,2(4):74-89.
[3] ( Wang Hao, Deng Sanhong, Zhu Liping, et al. A Study of Intelligence Value and Employment of Political Data in Big Data Environment——The Risk Avoidance of Customs Declaration Commodities[J]. Scientific Information Research, 2020,2(4):78-89.)
[4] Lambrou T, Kudumakis P, Speller R, et al. Classification of Audio Signals Using Statistical Features on Time and Wavelet Transform Domains[C]// Proceedings of the 1998 IEEE International Conference on Acoustics, Speech and Signal Processing. 1998: 3621-3624.
[5] Mandel M I, Ellis D P W. Song-Level Features and Support Vector Machines for Music Classification[C]// Proceedings of the 6th International Conference on Music Information Retrieval. 2005.
[6] Li T, Ogihara M, Li Q. A Comparative Study on Content-Based Music Genre Classification[C]// Proceedings of the 26th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval. 2003: 282-289.
[7] Shao X, Xu C S, Kankanhalli M S. Unsupervised Classification of Music Genre Using Hidden Markov Model[C]// Proceedings of 2004 IEEE International Conference on Multimedia and Expo(ICME). 2004: 2023-2026.
[8] Silla Jr C N, Koerich A L, Kaestner C A A. Feature Selection in Automatic Music Genre Classification[C]// Proceedings of 2008 10th IEEE International Symposium on Multimedia. 2008: 39-44.
[9] Rajanna A R, Aryafar K, Shokoufandeh A, et al. Deep Neural Networks: A Case Study for Music Genre Classification[C]// Proceedings of 2015 IEEE 14th International Conference on Machine Learning and Applications (ICMLA). 2015: 655-660.
[10] 雷文康. 基于深度神经网络的音乐流派分类研究[D]. 广州: 华南理工大学, 2017.
[10] ( Lei Wenkang. Research of Music Genre Classification Based on Deep Neural Network[D]. Guangzhou: South China University of Technology, 2017.)
[11] Zhang W B, Lei W K, Xu X M, et al. Improved Music Genre Classification with Convolutional Neural Networks[C]// Proceedings of the 17th Annual Conference of the International Speech Communication Association. 2016: 3304-3308.
[12] Bahuleyan H. Music Genre Classification Using Machine Learning Techniques[OL]. arXiv Preprint, arXiv: 1804. 01149.
[13] Defferrard M, Benzi K, Vandergheynst P, et al. FMA: A Dataset for Music Analysis[OL]. arXiv Preprint, arXiv: 1612. 01840.
[14] Kim J, Urbano J, Liem C C S, et al. One Deep Music Representation to Rule Them All? A Comparative Analysis of Different Representation Learning Strategies[J]. Neural Computing and Applications, 2020,32(4):1067-1093.
doi: 10.1007/s00521-019-04076-1
[15] Benzi K M. From Recommender Systems to Spatio-Temporal Dynamics with Network Science[R]. EPFL, 2017.
[16] Choi J, Nam J. Zero-shot Learning for Audio-based Music Classification and Tagging[C]//Proceedings of the 20th International Society for Music Information Retrieval Conference ( ISMIR). 2019.
[17] McFee B, Raffel C, Liang D, et al. librosa: Audio and Music Signal Analysis in Python[C]// Proceedings of the 14th Python in Science Conference. 2015: 18-25.
[18] 肖云鹏, 叶卫平. 基于特征参数归一化的鲁棒语音识别方法综述[J]. 中文信息学报, 2010,24(5):106-117.
[18] ( Xiao Yunpeng, Ye Weiping. Survey of Feature Normalization Techniques for Robust Speech Recognition[J]. Journal of Chinese Information Processing, 2010,24(5):106-117.)
[19] 刘晓明, 覃胜, 刘宗行, 等. 语音端点检测的仿真研究[J]. 系统仿真学报, 2005,17(8):1974-1976.
[19] ( Liu Xiaoming, Qin Sheng, Liu Zongxing, et al. Simulation of Speech Endpoint Detection[J]. Journal of System Simulation, 2005,17(8):1974-1976.)
[20] 陈功, 张雄伟. 一种基于灰关联分析的语音/音乐分类方法[J]. 声学技术, 2007,26(2):262-267.
[20] ( Chen Gong, Zhang Xiongwei. Speech/Music Discrimination Method Based on Gray Correlation Analysis[J]. Technical Acoustics, 2007,26(2):262-267.)
[21] 王冬冬. 基于节拍和关键背景模型的音频分类与分割[D]. 哈尔滨: 哈尔滨工业大学, 2017.
[21] ( Wang Dongdong. Audio Classification and Segmentation Method Based on Beats and Key Background Models[D]. Harbin: Harbin Institute of Technology, 2017.)
[22] Qawaqneh Z, Mallouh A A, Barkana B D. Deep Neural Network Framework and Transformed MFCCs for Speaker's Age and Gender Classification[J]. Knowledge-Based Systems, 2017,115:5-14.
doi: 10.1016/j.knosys.2016.10.008
[23] Ellis D P W, Poliner G E. Identifying ‘Cover Songs’ with Chroma Features and Dynamic Programming Beat Tracking[C]// Proceedings of 2007 IEEE International Conference on Acoustics, Speech and Signal Processing. 2007: 1429-1432.
[24] 庄海燕. 基于支持向量机的新闻音频分类[D]. 天津: 天津大学, 2007.
[24] ( Zhuang Haiyan. SVM-based News Audio Classification[D]. Tianjin: Tianjin University, 2007.)
[25] Jiang D N, Lu L, Zhang H J, et al. Music Type Classification by Spectral Contrast Feature[C]// Proceedings of IEEE International Conference on Multimedia and Expo. 2002: 113-116.
[26] Kos M, KačIč Z, Vlaj D,. Acoustic Classification and Segmentation Using Modified Spectral Roll-Off and Variance-Based Features[J]. Digital Signal Processing, 2013,23(2):659-674.
doi: 10.1016/j.dsp.2012.10.008
[27] 魏利利. 音频信号分类算法研究[D]. 大连: 大连理工大学, 2009.
[27] ( Wei Lili. The Research on Audio Signal Classification[D]. Dalian: Dalian University of Technology, 2009.)
[28] LeCun Y, Bengio Y, Hinton G. Deep Learning[J]. Nature, 2015,521(7553):436-444.
doi: 10.1038/nature14539 pmid: 26017442
[29] 周飞燕, 金林鹏, 董军. 卷积神经网络研究综述[J]. 计算机学报, 2017,40(6):1229-1251.
[29] ( Zhou Feiyan, Jin Linpeng, Dong Jun. Review of Convolutional Neural Network[J]. Chinese Journal of Computers, 2017,40(6):1229-1251.)
[30] van der Maaten L, Hinton G. Visualizing Data Using t-SNE[J]. Journal of Machine Learning Research, 2008,9:2579-2605.
[31] Bisong E. Building Machine Learning and Deep Learning Models on Google Cloud Platform[M]. Berkeley, CA: Apress, 2019: 59-64.
[1] 范少萍,赵雨宣,安新颖,吴清强. 基于卷积神经网络的医学实体关系分类模型研究*[J]. 数据分析与知识发现, 2021, 5(9): 75-84.
[2] 陈杰,马静,李晓峰. 融合预训练模型文本特征的短文本分类方法*[J]. 数据分析与知识发现, 2021, 5(9): 21-30.
[3] 范涛,王昊,吴鹏. 基于图卷积神经网络和依存句法分析的网民负面情感分析研究*[J]. 数据分析与知识发现, 2021, 5(9): 97-106.
[4] 徐月梅, 王子厚, 吴子歆. 一种基于CNN-BiLSTM多特征融合的股票走势预测模型*[J]. 数据分析与知识发现, 2021, 5(7): 126-138.
[5] 韩普,张展鹏,张明淘,顾亮. 基于多特征融合的中文疾病名称归一化研究*[J]. 数据分析与知识发现, 2021, 5(5): 83-94.
[6] 张国标,李洁. 融合多模态内容语义一致性的社交媒体虚假新闻检测*[J]. 数据分析与知识发现, 2021, 5(5): 21-29.
[7] 林克柔,王昊,龚丽娟,张宝隆. 融合多特征的中文论文同名学者消歧研究 *[J]. 数据分析与知识发现, 2021, 5(4): 90-102.
[8] 王雨竹,谢珺,陈波,续欣莹. 基于跨模态上下文感知注意力的多模态情感分析 *[J]. 数据分析与知识发现, 2021, 5(4): 49-59.
[9] 韩普, 张伟, 张展鹏, 王宇欣, 方浩宇. 基于特征融合和多通道的突发公共卫生事件微博情感分析*[J]. 数据分析与知识发现, 2021, 5(11): 68-79.
[10] 邱尔丽,何鸿魏,易成岐,李慧颖. 基于字符级CNN技术的公共政策网民支持度研究 *[J]. 数据分析与知识发现, 2020, 4(7): 28-37.
[11] 刘伟江,魏海,运天鹤. 基于卷积神经网络的客户信用评估模型研究*[J]. 数据分析与知识发现, 2020, 4(6): 80-90.
[12] 李军莲,吴英杰,邓盼盼,冷伏海. 基于特征融合的引文失范数据自动处理策略研究*[J]. 数据分析与知识发现, 2020, 4(5): 38-45.
[13] 徐月梅,刘韫文,蔡连侨. 基于深度融合特征的政务微博转发规模预测模型*[J]. 数据分析与知识发现, 2020, 4(2/3): 18-28.
[14] 向菲,谢耀谈. 基于混合采样与迁移学习的患者评论识别模型*[J]. 数据分析与知识发现, 2020, 4(2/3): 39-47.
[15] 祁瑞华,简悦,郭旭,关菁华,杨明昕. 融合特征与注意力的跨领域产品评论情感分析*[J]. 数据分析与知识发现, 2020, 4(12): 85-94.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
版权所有 © 2015 《数据分析与知识发现》编辑部
地址:北京市海淀区中关村北四环西路33号 邮编:100190
电话/传真:(010)82626611-6626,82624938
E-mail:jishu@mail.las.ac.cn