基于Multi-Head Attention的BiLSTM改进模型光纤多事件识别
Multi-Head Attention-Based BiLSTM Improved Model for Fiber Optic Multi-Event Recognition
摘要: 针对相位敏感光时域反射计(φ-OTDR)分布式光纤传感系统对多事件(如挖掘、敲打、振动等)进行检测和识别的问题,提出一种基于双向长短期记忆网络(BiLSTM)和多头注意力机制(Multi-Head Attention)结合,并用Lookahead优化算法进行改进的深度学习网络模型。将获取的历史记录数据中的训练集进行处理后导入到改进后的预测模型进行训练,利用BiLSTM处理序列信号的能力,再结合多头注意力机制将输入向量分成多个子空间(即多个头),每个头独立进行计算权重并加权求和,最后将所有头的输出拼接并线性变换得到最终结果。测试集数据进行模拟仿真,将BiLSTM-Multi-Head Attention改进模型与神经网络(CNN)、长短期记忆网络(LSTM)、双向长短期记忆网络及未改进的BiLSTM-Multi-Head Attention等模型进行对比,研究了对光纤多事件的分类识别能力,验证了该模型相对其他基准模型有更好的预测精度。
Abstract: In order to solve the problem of detecting and identifying multiple events (such as mining, tapping, vibration, etc.) in the phase-sensitive optical time domain reflectometer (φ-OTDR) distributed optical fiber sensing system, a deep learning network model based on the combination of Bidirectional Long Short-Term Memory Network (BiLSTM) and Multi-Head Attention mechanism and improved by Lookahead optimization algorithm is proposed. The training set in the obtained historical data is processed and imported into the improved prediction model for training, and the ability of BiLSTM to process sequence signals is used, and then the input vector is divided into multiple subspaces (i.e., multiple heads) by combining with the multi-head attention mechanism, and each head independently calculates the weights and weights the sum, and finally the output of all heads is spliced and linearly transformed to obtain the final result. The improved BiLSTM-Multi-Head Attention model was compared with the Convolutional neural network (CNN), Long Short-Term Memory network (LSTM), bidirectional long short-term memory network and the unimproved BiLSTM-Multi-Head Attention models. The model’s ability to classify and recognize the classification for multiple events in optical fibers is investigated to verify that the model achieves better prediction accuracy.
文章引用:时敏, 杨乐鑫, 石开明. 基于Multi-Head Attention的BiLSTM改进模型光纤多事件识别[J]. 人工智能与机器人研究, 2025, 14(6): 1561-1572. https://doi.org/10.12677/airr.2025.146146

参考文献

[1] Wang, J., Wang, L., Su, X., Xiao, R. and Cheng, H. (2022) Temperature, Stress, Refractive Index and Humidity Multi Parameter Highly Integrated Optical Fiber Sensor. Optics & Laser Technology, 152, Article ID: 108086. [Google Scholar] [CrossRef
[2] 王鹏, 娄淑琴, 梁生, 等. 选择性平均的φ-OTDR分布式光纤扰动传感系统阈值算法[J]. 红外与激光工程, 2016, 45(3): 271-276.
[3] Yang, W., He, J., Chen, G., Du, B., Xu, B. and Wang, Y. (2024) Real-Time φ-OTDR System Based on FPGA Digital Signal Processing Scheme. 2024 Asia Communications and Photonics Conference (ACP) and International Conference on Information Photonics and Optical Communications (IPOC), Beijing, 2-5 November 2024, 1-4. [Google Scholar] [CrossRef
[4] Shi, Y., Kang, X., Lin, Z., Yan, Q., Wei, Z. and Wei, C. (2024) CycleGAN-Based Data Augmentation for Enhancing Classification Accuracy in φ-OTDR Systems. 2024 22nd International Conference on Optical Communications and Networks (ICOCN), Harbin, 26-29 July 2024, 1-3. [Google Scholar] [CrossRef
[5] 崔光磊, 衣文索, 牛卫丛, 等. 基于分布式光纤传感器的管涌监测系统[J]. 长春理工大学学报(自然科学版), 2018, 41(1): 39-43.
[6] Wu, H., Qian, Y., Zhang, W. and Tang, C. (2017) Feature Extraction and Identification in Distributed Optical-Fiber Vibration Sensing System for Oil Pipeline Safety Monitoring. Photonic Sensors, 7, 305-310. [Google Scholar] [CrossRef
[7] 张俊楠, 娄淑琴, 梁生. 基于SVM算法的φ-OTDR分布式光纤扰动传感系统模式识别研究[J]. 红外与激光工程, 2017, 46(4): 212-218.
[8] 吴俊, 管鲁阳, 鲍明, 许耀华, 叶炜. 基于多尺度一维卷积神经网络的光纤振动事件识别[J]. 光电工程, 2019, 46(5): 79-86.
[9] 周子纯, 刘琨, 江俊峰, 等. 基于卷积长短期记忆全连接深度神经网络的光纤振动传感事件识别[J]. 光学学报, 2021, 41(13): 153-161.
[10] Tong, C., Zhang, L., Li, H. and Ding, Y. (2022) Temporal Inception Convolutional Network Based on Multi‐Head Attention for Ultra‐Short‐Term Load Forecasting. IET Generation, Transmission & Distribution, 16, 1680-1696. [Google Scholar] [CrossRef
[11] 方鹏, 高亚栋, 潘国兵, 等. 基于LSTM神经网络的中长期光伏电站发电量预测方法研究[J]. 可再生能源, 2022, 40(1): 48-54.
[12] Zhang, M.R., Lucas, J., Hinton, G., et al. (2019) Lookahead Optimizer: K Steps Forward, 1 Step Back. Proceedings of the 33rd International Conference on Neural Information Processing Systems, New Orleans, 10-16 December 2023, 9597-9608.
[13] Cao, X., Su, Y., Jin, Z. and Yu, K. (2023) An Open Dataset of φ-OTDR Events with Two Classification Models as Baselines. Results in Optics, 10, Article ID: 100372. [Google Scholar] [CrossRef