arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.12440cs.LG
收藏

Spectrum-BERT:用于中国白酒光谱分类的深度双向Transformers预训练

Spectrum-BERT: Pre-training of Deep Bidirectional Transformers for Spectral Classification of Chinese Liquors

Harbin Institute of Technology at Weihai(哈尔滨工业大学(威海));Harbin Institute of Technology(哈尔滨工业大学)

Yansong Wang, Yundong Sun, Yansheng Fu, Dongjie Zhu, Zhaoshuo Tian

摘要:

光谱检测技术作为一种无创快速检测物质的方法,结合深度学习算法,在食品检测中得到了广泛应用。然而,在实际场景中,获取和标记光谱数据是一项极其劳动密集型的任务,这使得无法为训练高效的监督深度学习模型提供足够的高质量数据。为了更好地利用有限的样本,我们首次将预训练和微调范式应用于光谱检测领域,提出了一种用于中国白酒光谱分类的深度双向Transformers预训练方法,简称Spectrum-BERT。具体来说,首先,为了保持模型对光谱曲线的特征峰位置和局部信息的敏感性,我们创新地将曲线划分为多个块,并获得不同块的嵌入,作为下一步计算的特征输入。其次,在预训练阶段,我们精心设计了Next Curve Prediction(NCP)和Masked Curve Model(MCM)两个预训练任务,使模型能够有效利用未标记样本捕捉光谱数据的潜在知识,打破了标记样本不足的限制,提高了模型在实际场景中的适用性和性能。最后,我们在真实的白酒光谱数据集上进行了大量的实验。在对比实验中,所提出的Spectrum-BERT在多个指标上显著优于基线,并且这种优势在不平衡数据集上更加显著。此外,在参数敏感性实验中,还分析了不同参数设置下模型的性能,为后续研究提供参考。

英文摘要:

Spectral detection technology, as a non-invasive method for rapid detection of substances, combined with deep learning algorithms, has been widely used in food detection. However, in real scenarios, acquiring and labeling spectral data is an extremely labor-intensive task, which makes it impossible to provide enough high-quality data for training efficient supervised deep learning models. To better leverage limited samples, we apply pre-training & fine-tuning paradigm to the field of spectral detection for the first time and propose a pre-training method of deep bidirectional transformers for spectral classification of Chinese liquors, abbreviated as Spectrum-BERT. Specifically, first, to retain the model's sensitivity to the characteristic peak position and local information of the spectral curve, we innovatively partition the curve into multiple blocks and obtain the embeddings of different blocks, as the feature input for the next calculation. Second, in the pre-training stage, we elaborately design two pre-training tasks, Next Curve Prediction (NCP) and Masked Curve Model (MCM), so that the model can effectively utilize unlabeled samples to capture the potential knowledge of spectral data, breaking the restrictions of the insufficient labeled samples, and improving the applicability and performance of the model in practical scenarios. Finally, we conduct a large number of experiments on the real liquor spectral dataset. In the comparative experiments, the proposed Spectrum-BERT significantly outperforms the baselines in multiple metrics and this advantage is more significant on the imbalanced dataset. Moreover, in the parameter sensitivity experiment, we also analyze the model performance under different parameter settings, to provide a reference for subsequent research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑