A BERT-Integrated Method for Multi-topic Identification and Analysis of China's Confidential Aviation Safety Reports
-
摘要: 为解决中国航空安全自愿报告文本结构不规范、多主题共现,以及传统人工分析效率低、难以支撑大规模长期研究等问题,研究了融合内容分析法与深度学习算法的航空安全自愿报告主题识别与趋势分析方法。通过文献梳理与领域专家访谈,构建涵盖10类民航安全隐患的主题分类指标体系;从中国航空安全自愿报告系统(SCASS)提取典型报告515篇进行主题编码,主评判员—助理评判员Holsti信度系数R =0.935,形成高一致性多标签标注样本集;采用基于变换器双向编码表征(bidirectional encoder representations from transformers,BERT)多标签文本分类方法,通过部分参数冻结与微调,结合Sigmoid分类层训练,实现自愿报告主题自动分类与识别;结合时间维度统计,揭示主题在不同发展阶段的演化特征。结果表明: 主题分类体系覆盖运行过程中主要安全隐患类型;基于BERT的多标签分类模型在验证集上的微平均$ F_{1}=0.881 $、宏平均$ F_{1}= $ 0.869,均优于支持向量机(SVM)与文本卷积神经网络(TextCNN)基线模型,主题分布由操作与感知层面向管理与协同层面转移。该方法适用于口语化强、结构不规范的航空安全自愿报告文本分析,为中国航空安全自愿报告的规模化、长期化、自动化分析提供方法支撑。Abstract: To address the non-standardized structures and coexisting topics in China's confidential aviation safety reports, which limit large-scale and long-term manual analysis, this study develops a topic identification and trend analysis method that integrates content analysis with deep learning. First, based on a systematic literature review and interviews with domain experts, a topic classification framework encompassing 10 categories of civil aviation safety hazards is established. Second, 515 representative reports are manually coded from the Sino Confidential Aviation Safety Reporting System (SCASS), yielding a reliable multi-label dataset (Holsti reliability R =0.935). A multi-label text classifier based on bidirectional encoder representations from transformers (BERT) is then fine-tuned with partial layer freezing and a sigmoid output layer. Finally, temporal statistics reveal the evolutionary patterns of report topics across development stages. The framework covers the main safety hazards in civil aviation operations. The BERT-based multi-label classification model outperforms the selected support vector machine (SVM) and text convolutional neural network (TextCNN) baselines, achieving micro- and macro-averaged F1 scores of 0.881 and 0.869, respectively. The topic distribution shifts from operational and perceptual issues toward managerial and collaborative issues. The proposed method is well suited to colloquial, unstructured aviation safety reports and supports large-scale, long-term, automated analysis in China.
-
Key words:
- civil aviation safety /
- confidential report /
- topic classification /
- content analysis /
- BERT
-
表 1 不同航空安全分类体系的对比分析
Table 1. Comparison of different aviation safety classification systems
体系 分类特点 区别 联系 ICAO Doc 9859 危险源识别与风险控制的上位框架 强调管理框架与原则指导, 侧重从安全管理与危险源识别角度进行顶层归类 均以航空安全信息中的风险因素和隐患内容为分类依据 EASA ECCAIRS 统一编码的结构化分类、共享和分析 针对每份报告进行更加细粒度的分类 主题分类与编码思想参考, 在高层风险维度上存在对应关系 NASA ASRS 面向案例的细粒度分类 强调面向案例检索与经验反馈的多维编码 主题多维编码思路参考, 均从报告内容中识别安全隐患 表 2 自愿报告信息主题类型及含义界定
Table 2. Theme types and definitions of confidential report information
主题 含义 人员健康问题 可确认的、由工作活动和/或工作相关状况引起或加重的身体或精神的不良状态 设备与设施问题 设备或设施存在故障或其他不符合安全标准的状况 放行问题 在航空器运行前违反规章与标准, 将其投入运行的行为 程序与流程问题 为进行某项活动所规定的途径或标准操作程序存在缺陷 空管指令问题 空中交通管制员在指挥中发布的指令存在错误、模糊, 或违反程序 机组操作问题 飞行机组在航空器操纵、系统管理、特殊情况处置中, 偏离或违背既定标准操作程序、飞行手册或良好安全实践的行为或决策 交流沟通问题 在涉及飞行安全的信息传递过程中出现障碍、误解或缺失, 导致相关人员未能准确、完整、及时地共享关键安全信息 维修与维护问题 在航空器或其部件的维修、检测、修理工作中, 违反了规章、标准或程序, 导致航空器处于非适航状态 标志与标识问题 机场场面标志、标识牌、灯光信号等指引、提示信息不清晰、错误、缺失或不符合标准 管理问题 组织管理体系、方法等存在缺陷 其他 暂时无法明确归类的边缘案例 表 3 文本抽取占比
Table 3. Text extraction proportion
主题 训练集占比/% 验证集占比/% 人员健康问题 11.00 11.30 设备与设施问题 25.75 25.22 放行问题 4.75 4.35 程序与流程问题 19.50 18.26 空管指令问题 14.75 13.91 机组操作问题 12.00 12.17 交流沟通问题 13.75 13.91 维修与维护问题 9.00 8.70 标志与标识问题 12.50 13.04 管理问题 27.50 27.83 注:多标签样本可同时归入多个主题,各主题占比合计大于100% 表 4 自愿报告文本编码结果(节选)
Table 4. Coding results for confidential report texts (excerpt)
序号 报告内容 主题 发展阶段 编码 1 关于滑行道的讨论 标志与标识问题 初始参与阶段 1-8-1 $ \vdots $ $ \vdots $ $ \vdots $ $ \vdots $ $ \vdots $ 61 飞机结构腐蚀的不当处理 维修与维护问题 主动参与阶段 61-7-2 $ \vdots $ $ \vdots $ $ \vdots $ $ \vdots $ $ \vdots $ 131 同一释义的指挥手势存在差异 交流沟通问题 行业协同阶段 131-6-3 注:编码a-b-c:a.自文件序号;b.安全隐患类型;c.发展阶段。 表 5 实验环境配置
Table 5. Environment configuration for the experiment
类名 内容 CPU Intel(R) Core(TM) i9-14900HX (2.20 GHz) GPU NVIDIA GeForce RTX 4060 Laptop CUDA版本 11.8 操作系统 Windows 11 训练框架 PyTorch 2.7.1 编程语言 Python 3.12.1 表 6 超参数配置
Table 6. Hyperparameter configuration
参数 含义 内容 batch_size 批量大小 32 seed 随机种子 42 learning rate 学习率 $ 1 \times 10^{-5} $ weight_decay 权重衰减比率 $ 1 \times 10^{-4} $ optimizer 优化器 AdamW max_len 最大序列长度 512 drop_out 随机失活率 0.2 表 7 BERT、SVM和TextCNN分类训练对比结果
Table 7. Comparison of classification training results among BERT, SVM and TextCNN
模型 固定阈值(0.5) 最佳阈值 $ {F_{1, \mathrm{m i c}}} $ $ {F_{1, \mathrm{m a c}}} $ $ {F_{1, \mathrm{m i c}}} $ $ {F_{1, \mathrm{m a c}}} $ BERT 0.845 0.831 0.881 0.869 SVM 0.651 0.568 0.770 0.753 TextCNN 0.760 0.757 0.818 0.807 表 8 模型宏平均$F_{1}$值差异的配对Bootstrap检验结果
Table 8. Paired bootstrap test results for differences in macro-averaged $ F_{1} $ values
对比对象 95%置信区间 p值 BERT vs SVM [0.051 3, 0.179 8] < 0.001 BERT vs TextCNN [0.011 4, 0.111 8] 0.012 表 9 BERT分类性能评估结果
Table 9. Classification performance evaluation results for BERT
主题 正样本数 $F_{1}$ 95%置信区间($F_{1}$) ROC-AUC 95%置信区间(ROC-AUC) 人员健康问题 13 1.00 1.000 1.00 1.000 设备与设施问题 29 0.93 0.852~0.985 0.98 0.953~0.999 放行问题 5 0.89 0.500~1.000 0.99 0.953~1.000 程序与流程问题 21 0.86 0.720~0.957 0.92 0.817~0.995 空管指令问题 16 0.76 0.571~0.894 0.96 0.918~0.990 机组操作问题 14 0.75 0.476~0.917 0.82 0.635~0.967 交流沟通问题 16 0.80 0.615~0.929 0.97 0.939~0.994 维修与维护问题 10 0.80 0.500~0.960 0.94 0.811~1.000 标志与标识问题 15 0.86 0.692~0.971 0.93 0.777~1.000 管理问题 32 0.98 0.943~1.000 1.00 0.997~1.000 -
[1] 刘俊杰. 航空安全自愿报告系统运行与思考[J]. 中国民航大学学报, 2009, 27(4): 14-17, 36.LIU J J. Operation and thinking of confidential aviation safety reporting system[J]. Journal of Civil Aviation University of China, 2009, 27(4): 14-17, 36. (in Chinese) [2] 刘俊杰, 李华明, 梁文娟, 等. 基于内容分析法的航空安全自愿报告信息分析[J]. 中国安全科学学报, 2012, 22(4): 90-96.LIU J J, LI H M, LIANG W J, et al. Analysis of aviation safety confidential reports based on content analysis method[J]. China Safety Science Journal, 2012, 22(4): 90-96. (in Chinese) [3] 刘俊杰, 衣文正, 雷俐, 等. 多样本可控飞行撞地事件致因关联分析[J]. 交通信息与安全, 2025, 43(6): 67-75. doi: 10.3963/j.jssn.1674-4861.2025.06.007LIU J J, YI W Z, LEI L, et al. A causal correlations analysis with multi-sample controlled flight into terrain incidents[J]. Journal of Transport Information and Safety, 2025, 43(6): 67-75. (in Chinese) doi: 10.3963/j.jssn.1674-4861.2025.06.007 [4] 崔振新, 孙宠. 航空公司一线员工自愿报告意愿影响因素研究[J]. 安全与环境学报, 2018, 18(4): 1408-1412.CUI Z X, SUN C. On the confidential report intention and the influential factors of the front-line staff members of the civil aviation airline company[J]. Journal of Safety and Environment, 2018, 18(4): 1408-1412. (in Chinese) [5] 郑秀梅, 马国毓. 民航员工安全信息自愿报告意愿的促进路径: 基于模糊集定性比较分析[J]. 中国安全科学学报, 2024, 34(1): 62-69.ZHENG X M, MA G Y. Promotion path of civil aviation employees'willingness to share safety information: based on fsQCA[J]. China Safety Science Journal, 2024, 34(1): 62-69. (in Chinese) [6] TANGUY L, TULECHKI N, URIELI A, et al. Natural language processing for aviation safety reports: from classification to interactive analysis[J]. Computers in Industry, 2016, 78: 80-95. doi: 10.1016/j.compind.2015.09.005 [7] ROBINSON S D. Temporal topic modeling applied to aviation safety reports: a subject matter expert review[J]. Safety Science, 2019, 116: 275-286. doi: 10.1016/j.ssci.2019.03.014 [8] 刘俊杰, 杜尹岚, 闫慧娟. Python环境下的航空安全报告信息分析方法[J]. 科学技术与工程, 2021, 21(10): 4278-4283.LIU J J, DU Y L, YAN H J. The analysis method of aviation safety reporting information based on Python[J]. Science Technology and Engineering, 2021, 21(10): 4278-4283. (in Chinese) [9] XING Y Y, WU Y T, ZHANG S W, et al. Discovering latent themes in aviation safety reports using text mining and network analytics[J]. International Journal of Transportation Science and Technology, 2024, 16: 292-316. doi: 10.1016/j.ijtst.2024.02.009 [10] 陈芳, 张亚博. BTM-BERT模型在民航机务维修安全隐患自动分类中的应用[J]. 安全与环境学报, 2024, 24(11): 4366-4373.CHEN F, ZHANG Y B. Application of BTM-BERT model in automatic classification of safety hazards in civil aviation aircraft maintenance[J]. Journal of Safety and Environment, 2024, 24(11): 4366-4373. (in Chinese) [11] CHEN L, XU J H, WU T Y, et al. Information extraction of aviation accident causation knowledge graph: an LLM-based approach[J]. Electronics, 2024, 13(19): 3936. doi: 10.3390/electronics13193936 [12] RAY A T, BHAT A P, WHITE R T, et al. Examining the potential of generative language models for aviation safety analysis: case study and insights using the aviation safety reporting system (ASRS)[J]. Aerospace, 2023, 10(9): 770. doi: 10.3390/aerospace10090770 [13] SAUNDERS D, LI W C, WANG T. From turing test to Chinese room argument: how to apply artificial intelligence in aviation[J]. Transportation Research Procedia, 2025, 88: 270-277. doi: 10.1016/j.trpro.2025.05.033 [14] 李建. 航空公司飞行运行安全隐患分类分级研究[D]. 天津: 中国民航大学, 2023.LI J. Research on classification and grading of flight operation safety hazards in airlines[D]. Tianjin: Civil Aviation University of China, 2023. (in Chinese) [15] 周天夫, 魏雨轩, 朱梓逸. 抑郁症对个体环境感知的影响研究-基于扎根理论和TOPSIS综合评价法[J]. 西部人居环境学刊, 2025, 40(3): 64-70.ZHOU T F, WEI Y X, ZHU Z Y. Research on the impact of depression on individual environmental perception: based on grounded theory and TOPSIS comprehensive evaluation method[J]. Journal of Human Settlements in West China, 2025, 40(3): 64-70. (in Chinese) [16] 黄晓君, 李建国, 潘华峰. 政策工具视角下中国中医药健康养老政策文本量化分析[J]. 中国农村卫生事业管理, 2025, 45(5): 373-380.HUANG X J, LI J G, PAN H F. TCM health care for the elderly from the perspective of policy instruments: a quantitative analysis of the policy texts[J]. Chinese Journal of Rural Health Service Management, 2025, 45(5): 373-380. (in Chinese) [17] WANG H F, LI J W, WU H, et al. Pre-trained language models and their applications[J]. Engineering, 2023, 25: 51-65. doi: 10.1016/j.eng.2022.04.024 [18] DEVLIN J, CHANG M W, LEE K, et al. BERT: pre-training of deep bidirectional transformers for language understanding[C]. 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minneapolis, United States: Association for Computational Linguistics, 2019. [19] VASWANI A, SHAZEER N, PARMAR N, et al. Attention is all you need[C]. Advances in Neural Information Processing Systems 30, Long Beach, United States: Curran Associates Inc, 2017. [20] ZHANG M L, ZHOU Z H. A review on multi-label learning algorithms[J]. IEEE Transactions on Knowledge and Data Engineering, 2014, 26(8): 1819-1837. doi: 10.1109/TKDE.2013.39 [21] NEUENDORF K A. The content analysis guidebook[M]. 2nd ed. Los Angeles: SAGE Publications, 2017. [22] LI Q, PENG H, LI J, et al. A survey on text classification: from traditional to deep learning[J]. ACM Transactions on Intelligent Systems and Technology, 2022, 13(2): 1-41. -
下载: