基于领域自适应微调大模型的交通事故责任认定方法

黄钢 ,  高岩 ,  寿任祯 ,  吴晓东 ,  赵冬

交通信息与安全 ›› 2026, Vol. 44 ›› Issue (3) : 175 -182.

PDF (1359KB)
交通信息与安全 ›› 2026, Vol. 44 ›› Issue (3) : 175 -182. DOI: 10.3963/j.issn.1674-4861.2026.03.015
“辅助驾驶汽车事故数字化深度调查关键技术”专栏

基于领域自适应微调大模型的交通事故责任认定方法

作者信息 +

Traffic Accident Liability Determination Method Based on Domain-Adaptive Fine-Tuning of Large Language Models

Author information +
文章历史 +
PDF (1391K)

摘要

针对交通事故责任认定过度依赖人工经验、处理效率低且缺乏统一标准等问题,研究基于领域自适应微调大模型的交通事故责任认定方法。构建了面向定责任务的精细化结构化语料库。基于《道路交通安全法》与历史交通事故数据,构建了包含事故形态、违法行为和责任梯度映射关系的多层标注体系,设计了法律条文检索与向量化对齐方法,实现非结构化事故描述与结构化法律条款的精准语义匹配。提出了基于Qwen3-8B的领域自适应微调策略,采用低秩自适应(LoRA)技术进行参数高效微调,并针对性地设计了混合损失函数与分层学习率优化策略,缓解长尾违法类别下的模型泛化不足问题,实现了对交通专业术语与复杂归责逻辑的深度融合。设计了法律知识增强推理框架,将检索增强生成(RAG)技术与法律逻辑推理相结合,在推理阶段动态注入相关法条作为外部约束,并通过向量化对齐模块提升检索结果的准确性,确保模型输出的法律符合性与逻辑一致性。引入基于SHAP值的决策溯源机制,验证了模型性能,从特征归因层面揭示了“违法行为主导定责、事故形态辅助参考”的黑箱决策逻辑。在包含10 000余条真实事故记录的数据集上进行实验,结果表明:本文方法在双方机动车交通事故定责任务上准确率达93.5%,较DeepSeek、GLM等通用基线模型平均提升14%。消融实验证实:自适应微调与法律知识增强模块分别贡献了0.23与0.12的准确率增益。

Abstract

Traffic accident liability determination relies heavily on manual experience, operates at low efficiency, and lacks unified standards. A domain-adaptive fine-tuning method based on large language models (LLMs) for traffic accident liability determination is proposed. A refined structured corpus tailored to liability-determination tasks is constructed. Based on the Road Traffic Safety Law and historical accident records, a multi-level annotation system links accident patterns, illegal behaviors, and liability gradations. A legal-clause retrieval and vectorized alignment method enables precise semantic matching between unstructured accident descriptions and structured legal provisions. A domain-adaptive fine-tuning strategy based on Qwen3-8B is developed. Parameter-efficient fine-tuning uses low-rank adaptation (LoRA), and a hybrid loss function together with a layered learning-rate optimization strategy addresses the generalization challenge of long-tail illegal-behavior categories. The model is fine-tuned on 145 823 training samples and validated on 12 231 test samples. A legal knowledge-enhanced inference framework combines retrieval-augmented generation (RAG) with legal logic reasoning. Relevant legal clauses are dynamically injected as external constraints during inference, and retrieval accuracy is ensured through vectorized alignment. A SHAP-based traceability mechanism shows that illegal behaviors dominate liability determination while accident patterns serve as auxiliary references. Experiments use a dataset containing more than 10 000 real-world accident records. The proposed method reaches an accuracy of 93.5% for two-vehicle motor-vehicle accidents. This value represents an average improvement of 14% over general-purpose baselines such as DeepSeek and GLM. Ablation experiments show that the adaptive fine-tuning module and the legal knowledge-enhancement module contribute accuracy gains of 0.23 and 0.12, respectively.

关键词

交通事故 / 责任认定 / 大语言模型 / 深度学习 / 低秩微调

Key words

traffic accidents / liability determination / large language models (LLMs) / deep learning / low-rank fine-tuning

引用本文

引用格式 ▾
黄钢,高岩,寿任祯,吴晓东,赵冬. 基于领域自适应微调大模型的交通事故责任认定方法[J]. 交通信息与安全, 2026, 44(3): 175-182 DOI:10.3963/j.issn.1674-4861.2026.03.015

登录浏览全文

4963

注册一个新账户 忘记密码

参考文献

[1]

马社强 . 道路交通事故当事人责任认定有关问题研究[J]. 中国人民公安大学学报(自然科学版), 2018, 24(2): 84-87.

[2]

MA S Q . Research on the responsibility of the parties in road traffic accidents[J]. Journal of People's Public Security University of China(Science and Technology), 2018, 24(2): 84-87.(in Chinese)

[3]

黄钢, 高岩, 赵冬, 等 . 交通事故智能定责深度学习集成方法研究[J]. 交通运输系统工程与信息, 2025, 25(3): 299-307.

[4]

HUANG G, GAO Y, ZHAO D, et al. Deep learning ensemble method for intelligent liability determination in traffic accidents[J]. Journal of Transportation Systems Engineering and Information Technology, 2025, 25(3): 299-307.(in Chinese)

[5]

VASWANI A,SHAZEER N,PARMAR N, et al. Attention is all you need[C]. Advances in Neural Information Processing Systems 30,Red Hook,NY,USA:Curran Associates Inc., 2017: 5998-6008.

[6]

DEVIN J, CHANG M W, LEE K, et al. BERT:pre—training of deep bidirectional transformers for language understanding[C]. Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies. Minneapolis:Association for Computational Linguistics, 2019.

[7]

GRIGOREV A, SALEH K, OU Y, et al. Enhancing traffic incident management with large language models:a hybrid machine learning approach for severity classification[J]. ITS Res, 2025, 23(1): 259-280.

[8]

张逊逊, 朱旭, 李晓伟 . 基于特征交互和多模态自适应融合的车辆再识别方法 [J]. 交通信息与安全, 2025, 43(4): 110-118.

[9]

ZHANG X X, ZHU X, LI X W . A vehicle re—identification method based on feature interaction and multi—modal adaptive Fusion[J]. Journal of Transport Information and Safety, 2025, 43(4): 110-118.(in Chinese)

[10]

ABDELRAHMAN A S, ABDEL—ATY M, YANG S, et al. Advanced crash causation analysis for freeway safety:a large language model approach to identifying key contributing factors[EB/OL]. ( 2025—05—15)[ 2025—12—05]. https://arxiv. org/abs/2505. 09949.

[11]

ZHAO Y, WANG P, ZHAO Y, et al. SafeTraffic Copilot:adapting large language models for trustworthy traffic safety assessments and decision interventions[J]. Nature Communications, 2025, 16: 8846.

[12]

HU E J, SHEN Y, WALLIS P, et al. LoRA:low—rank adaptation of large language models[C]. International Conference on Learning Representations(ICLR 2022), 2022.

[13]

MENG F, WANG Z, ZHANG M, et al. PiSSA:principal singular values and singular vectors adaptation of large language models[C]. Advances in Neural Information Processing Systems(NeurIPS 2024), 2024.

[14]

丁娜, 刘鹏, 邵惠鹏, 等 . 双向注意力文本关键词匹配法条推荐 [J]. 北京大学学报(自然科学版), 2024, 60(1): 79-88.

[15]

DING N, LIU P, SHAO H P, et al. Bi—attention text—keyword matching for law recommendation[J]. Acta Scientiarum Naturalium Universitatis Pekinens, 2024, 60(1): 79-88.(in Chinese)

[16]

XIAO S, LIU Z, ZHANG P, et al. C—Pack:packed resources for general Chinese embeddings[EB/OL].( 2023—09—14)[2025—12—05]. https://arxiv. org/abs/2309. 07597.

[17]

YAO L, HUANG R, HOU L, et al. FILIP:fine—grained interactive language—image pre—training[C]. International Conference on Learning Representations(ICLR 2022), 2022.

[18]

LUNDBERG S, LEE S I . A unified approach to interpreting model predictions[C]. Neural Information Processing Systems(NIPS),New York:Curran Associates Inc., 2017.

[19]

李金忠, 杨威, 夏洁武, 等 . 基于Hooke & Jeeves 模式搜索的排序学习方法[J]. 计算机工程, 2015, 41(7): 215-218.

[20]

LI J Z, YANG W, XIA J W, et al. Learning to rank method based on hooke & jeeves pattern search[J]. Computer Engineering , 2015, 41(7): 215-218.(in Chinese)

[21]

ZHUANG Z,WANG X,LI W, et al. Come together,but not right now:a progressive strategy to boost low—rank adaptation[C]. International Conference on Machine Learning(ICML 2025), 2025.

[22]

BERGSTRA J, BENGIO Y . Random search for hyperparameter optimization[J]. Journal of Machine Learning Research, 2012, 13: 281-305.

[23]

AGRAWALA,KEDIA N,PANWAR A, et al. Taming throughput—latency tradeoff in LLM inference with sarathi—serve[C]. The 18th USENIX Symposium on Operating Systems Design and Implementation(OSDI 24),Santa Clara,CA:USENIX Association, 2024.

[24]

SOKOLOVA M, LAPALME G . A systematic analysis of performance measures for classification tasks[J]. Information Processing & Management, 2009, 45(4): 427-437.

[25]

FAWCETT T. An introduction to ROC analysis[J]. Pattern Recognition Letters, 2006, 27(8): 861-874.

基金资助

国家重点研发计划项目(2023YFC3009700)

AI Summary AI Mindmap
PDF (1359KB)

0

访问

0

被引

详细

导航
相关文章

AI思维导图

/

〈 〉