journal article·2026-07-05Open access

Real-Time Detection of Rare Traffic Situations Using RGB-LiDAR Fusion and a Rule-Based Safety Agent in CARLA

Matúš Čávojský, Matúš Dopiriak, Eugen Šlapak, Arisha Al Faruque, Tomáš Doboš, Gabriel Bugár

Applied Sciences· Volume 16· Issue 13

Abstract

Rare and safety-critical traffic situations remain challenging for autonomous driving (AD) because they are underrepresented in common training data and may include objects outside standard detector classes. This paper presents a real-time RGB-LiDAR fusion framework for detecting and reacting to rare traffic situations in CARLA (Car Learning to Act), a reproducible simulator for AD research. The approach combines YOLOv8n-based RGB perception, bird’s-eye-view (BEV) LiDAR clustering, decision-level fusion, an interpretable rule-based safety agent with hysteresis, Time-to-Collision (TTC)-aware escalation, and an automatic emergency braking (AEB) override above the CARLA autopilot. Fused observations are classified as semantic–geometric detections, semantic-only detections, or geometric-only obstacle candidates, where unmatched LiDAR clusters are treated conservatively as candidate-level physical evidence rather than confirmed rare objects. The framework was evaluated on three CARLA maps and 3CSim-inspired corner-case scenarios comprising 19,253 frames, with additional weather/lighting stress tests and a public nuScenes mini cross-platform check. On a manually annotated subset of 4800 CARLA frames, corresponding to approximately 24.9% of the recorded CARLA log, the full framework achieved 96.2% precision, 97.3% recall, and a 96.7% F1-score for safety-relevant threat detection. The control experiments show that the fusion-based safety agent reduced unnecessary braking to 1.7% compared with 8.6% for the LiDAR-only baseline and achieved event-level success on the annotated critical intervals. The proposed CPU-only implementation maintained real-time performance, with an average processing time of 34.7ms.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Autonomous Vehicle Technology and Safety · Advanced Neural Network Applications · Human-Automation Interaction and Safety

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Networks, Technical University of Košice, 042 00 Košice, Slovakia

Department of Computers and Informatics, Technical University of Košice, 042 00 Košice, Slovakia

Irvine Valley College, Irvine, CA 92 618, USA

Funding

Slovak Research and Development Agency · Slovak Academy of Sciences · EU NextGenerationEU

References (32)

Show source-provided references
1. Robust Cognitive Capability in Autonomous Driving Using Sensor Fusion Techniques: A Survey10.1109/TITS.2023.3327949 ↗
2. Jocher, G., Chaurasia, A., and Qiu, J. (2026, June 04). Ultralytics YOLOv8, Available online: https://github.com/ultralytics/ultralytics.
3. Bogdoll, D., Nitsche, M., and Zöllner, J.M. (2022, January 19–20). Anomaly Detection in Autonomous Driving: A Survey. Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), New Orleans, LA, USA.10.1109/CVPRW56347.2022.00495 ↗
4. ADS-Lead: Lifelong Anomaly Detection in Autonomous Driving Systems10.1109/TITS.2021.3122906 ↗
5. Bogdoll, D., Breitenstein, J., Heidecker, F., Bieshaar, M., Sick, B., Fingscheidt, T., and Zöllner, J.M. (2021, January 11–17). Description of Corner Cases in Automated Driving: Goals and Challenges. Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), Virtual.10.1109/ICCVW54120.2021.00119 ↗
6. Fu, D., Li, X., Wen, L., Dou, M., Cai, P., Shi, B., and Qiao, Y. (2024, January 1–6). Drive Like a Human: Rethinking Autonomous Driving with Large Language Models. Proceedings of the 2024 IEEE/CVF Winter Conference on Applications of Computer Vision Workshops (WACVW), Waikoloa, HI, USA.10.1109/WACVW60836.2024.00102 ↗
7. Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C.L. (2014, January 6–12). Microsoft COCO: Common Objects in Context. Proceedings of the European Conference on Computer Vision, Zurich, Switzerland.10.1007/978-3-319-10602-1_48 ↗
8. Deep Learning for Image and Point Cloud Fusion in Autonomous Driving: A Review10.1109/TITS.2020.3023541 ↗
9. LiDAR in Connected and Autonomous Vehicles: Perception, Threat Model, and Defense10.1109/TIV.2024.3510787 ↗
10. Behley, J., Garbade, M., Milioto, A., Quenzel, J., Behnke, S., Stachniss, C., and Gall, J. (2019). SemanticKITTI: A Dataset for Semantic Scene Understanding of LiDAR Sequences. arXiv.10.1109/ICCV.2019.00939 ↗
11. Zhu, X., Wang, L., Zhou, C., Cao, X., Gong, Y., and Chen, L. (2023). A survey on deep learning approaches for data integration in autonomous driving system. arXiv.
12. Adaptive and azimuth-aware fusion network of multimodal local features for 3D object detection10.1016/j.neucom.2020.05.086 ↗
13. Dosovitskiy, A., Ros, G., Codevilla, F., Lopez, A., and Koltun, V. (2017, January 13–15). CARLA: An Open Urban Driving Simulator. Proceedings of the 1st Annual Conference on Robot Learning, PMLR, Mountain View, CA, USA. Proceedings of Machine Learning Research.
14. Čavojsky, M., Slapak, E., Dopiriak, M., Bugar, G., and Gazda, J. (2024, January 6–8). 3CSim: CARLA Corner Case Simulation for Control Assessment in Autonomous Driving. Proceedings of the 2024 IEEE 8th International Conference on Information and Communication Technology (CICT), Prayagraj, India.10.1109/CICT64037.2024.10899666 ↗
15. Caesar, H., Bankiti, V., Lang, A.H., Vora, S., Liong, V.E., Xu, Q., Krishnan, A., Pan, Y., Baldan, G., and Beijbom, O. (2020, January 13–19). nuScenes: A multimodal dataset for autonomous driving. Proceedings of the CVPR 2020, Seattle, WA, USA.10.1109/CVPR42600.2020.01164 ↗
16. Open World Object Detection: A Survey10.1109/TCSVT.2024.3480691 ↗
17. Lv, X., Zhang, S., Xing, Y., Xu, D., Wang, P., and Zhang, Y. (2026). Knowing the Unknown: Interpretable Open-World Object Detection via Concept Decomposition Model. arXiv.
18. Zhu, C., and Chen, L. (2024). A Survey on Open-Vocabulary Detection and Segmentation: Past, Present, and Future. arXiv.10.1109/TPAMI.2024.3413013 ↗
19. Lu, S., Wang, Y., Sheng, L., He, L., Zheng, A., and Liang, J. (2025). Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advances. arXiv.10.1145/3760390 ↗
20. Liu, Y., Wang, T., Zhang, X., and Sun, J. (2022). PETR: Position Embedding Transformation for Multi-View 3D Object Detection. arXiv.10.1007/978-3-031-19812-0_31 ↗
21. Li, Z., Wang, W., Li, H., Xie, E., Sima, C., Lu, T., Yu, Q., and Dai, J. (2022). BEVFormer: Learning Bird’s-Eye-View Representation from Multi-Camera Images via Spatiotemporal Transformers. arXiv.10.1007/978-3-031-20077-9_1 ↗
22. Enhancing autonomous driving safety: A robust traffic sign detection and recognition model TSD-YOLO10.1016/j.sigpro.2024.109619 ↗
23. IHENet: An Illumination Invariant Hierarchical Feature Enhancement Network for Low-Light Object Detection10.1007/s00530-025-01994-0 ↗
24. Li, S., Yang, K., Wei, Z., Zheng, Y., Chen, Z., and Tang, X. (2026). A Survey on Interaction-Aware Decision-Making for Autonomous Driving: Challenges, Solutions, and Perspectives. IEEE Trans. Intell. Transp. Syst., 1–27.10.1109/TITS.2026.3678531 ↗
25. Risk assessment in autonomous driving: A comprehensive survey of risk sources, methodologies, and system architectures10.1007/s43684-025-00112-1 ↗
26. Decision Making Framework for Autonomous Vehicles Driving Behavior in Complex Scenarios via Hierarchical State Machine10.1007/s43684-021-00015-x ↗
27. Decision-Making Framework for Automated Driving in Highway Environments10.1109/TITS.2017.2691346 ↗
28. Cai, T., Liu, Y., Zhou, Z., Ma, H., Zhao, S.Z., Wu, Z., Han, X., Huang, Z., and Ma, J. (2025). Driving with Regulation: Trustworthy and Interpretable Decision-Making for Autonomous Driving with Retrieval-Augmented Reasoning. arXiv.10.1609/aaai.v40i45.41168 ↗
29. Highway Decision-Making and Motion Planning for Autonomous Driving via Soft Actor-Critic10.1109/TVT.2022.3151651 ↗
30. Towards Safe Decision-Making for Autonomous Vehicles at Unsignalized Intersections10.1109/TVT.2024.3488749 ↗
31. Towards Robust Decision-Making for Autonomous Driving on Highway10.1109/TVT.2023.3268500 ↗
32. Ester, M., Kriegel, H.P., Sander, J., and Xu, X. (1996, January 2–4). A density-based algorithm for discovering clusters in large spatial databases with noise. Proceedings of the Second International Conference on Knowledge Discovery and Data Mining, KDD’96, Portland, OR, USA.