Objective The development of unmanned fire trucks requires accurate 3D object detection in light detection and ranging (LiDAR) point clouds, particularly for small objects such as pedestrians and roadblocks, under stringent onboard computational constraints. Existing methods frequently exhibit low detection accuracy for small objects because of sparse point clouds and inadequate feature representation, whereas computationally complex models struggle to satisfy real-time processing requirements. In this study, we propose a lightweight detection method that enhances small-object perception through multiscale feature fusion, providing high detection accuracy and real-time performance suitable for unmanned fire truck applications. Methods Raw LiDAR point clouds collected from multiple sensors mounted on an unmanned fire truck were voxelized to improve computational efficiency. The point clouds were partitioned into uniform voxels in the x‒y plane, with each voxel containing up to N points. Each point was represented by a 10-dimensional feature vector comprising coordinates, intensity, and offsets relative to voxel centers and mean point positions. A lightweight fully connected layer projected these features into a C-dimensional vector, producing a tensor with the shape ( C, N, P), where P represented the number of nonempty voxels. An innovative point-to-voxel (PTV) attention mechanism was developed to aggregate point features within individual voxels. For each voxel feature tensor L of size N × C, a global feature was extracted through max pooling and combined with a learnable query vector Q to generate a residual query (RQ). Multihead attention was then applied using RQ as the query and L as the keys and values, with the outputs scaled by a factor d to maintain gradient stability. This process aggregated the point features into a ( C, P ) tensor, which was reshaped into a two-dimensional pseudo-image of size C × H × W. The pseudo-image was processed using a 2D CNN backbone to extract multiscale features. Downsampling reduced the spatial resolution while increasing the channel depth, after which an efficient multiscale attention (EMA) module facilitated cross-channel and spatial feature fusion. The EMA module incorporated parallel 1 × 1 and 3 × 3 convolutional branches: the 1 × 1 branch captured channel relationships through grouping, whereas the 3 × 3 branch extracted local spatial features. Global average pooling generated channel attention, while a 1 × 1 convolution followed by sigmoid activation produced a spatial attention map. The weighted sum of the branch outputs was then added residually to the input to enhance feature representation. Deconvolution-based upsampling restored the spatial resolution, and the fused multiscale features were passed through a fully connected layer. A Single Shot MultiBox Detector (SSD) head was employed for object classification and bounding box regression. Each 3D bounding box was parameterized using a seven-dimensional vector (x, y, z, w, h, l, θ), which represented the center coordinates, dimensions, and yaw angle. The loss function combined Smooth L1 loss for localization, softmax-based directional loss, and focal loss for classification to balance positive and negative samples. The term weights βloc, βcls, and βdir were optimized, and positive anchors were defined using an intersection over union (IoU) threshold greater than 0.5. A custom dataset was constructed from 2 558 frames of LiDAR data collected in fire truck operating scenarios and annotated into five classes: fire trucks, firefighting robots, cars, pedestrians, and roadblocks. The dataset was divided into training, validation, and test sets at a ratio of 7:2:1. Model training was performed using hardware equipped with an Intel Core i9‒14900K CPU and an NVIDIA RTX A6000 GPU, with PyTorch 1.10, a batch size of 16, a learning rate of 0.003, and 160 training epochs. Results and Discussions Evaluation metrics included the inference time per frame to assess real-time performance, as well as precision (P'), recall (R), average precision (AP), and mean AP (mAP) to evaluate detection accuracy, with IoU thresholds of 0.50 and 0.35 used for true-positive and false-negative classification, respectively. On the custom dataset, the proposed method achieved a mAP of 78.1%, with AP values of 63.6% for fire trucks, 89.7% for firefighting robots, 81.2% for cars, 81.7% for pedestrians, and 74.3% for roadblocks. Small-object categories, particularly pedestrians and roadblocks, exhibited substantial improvements over the baseline methods: pedestrian AP exceeded that of the next-best method by 14.3%, while roadblock AP improved by 9.5%. The inference time was 14.39 ms per frame, with a model size of 60.6 MB and 5.05×106 parameters. Comparative analysis against Second, CenterPoint, Point‒Voxel Region-based Convolutional Neural Network (PV‒RCNN), PointPillar, and the LiDAR-only variant of the transformation-equivariant 3D detector (TED‒S) demonstrated superior performance in small-object detection. For pedestrians, the proposed method achieved an AP of 81.7%, compared to 67.4% for PointPillar, while roadblock AP reached 74.3%, compared to 64.8% for PointPillar. For larger objects, such as fire trucks, AP was slightly lower (63.6% compared to 78.9% for Second), which was attributed to the emphasis on intravoxel features rather than the global cross-voxel contextual information captured by more complex networks. In terms of real-time performance, the proposed method ranked second to PointPillar (11.50 ms); however, achieved higher overall detection accuracy. On the Karlsruhe Institute of Technology and Toyota Institute of Technology 3D Object Detection Dataset (KITTI) dataset, pedestrian AP reached 67.4%, 61.2%, and 56.5% under easy, moderate, and hard difficulty levels, respectively. These results exceeded those of the baseline methods in small-object detection and further confirmed the generalizability of the proposed approach. Ablation studies revealed the contributions of individual modules: the baseline PointPillar achieved mAP of 72.0% at 11.50 ms. The addition of PTV attention increased mAP to 76.8% (13.87 ms) by enhancing sparse point aggregation. The incorporation of EMA further improved mAP to 78.1% (14.39 ms) through enhanced multiscale fusion. Visualizations confirmed accurate bounding boxes for multiscale objects, with fewer missed detections and false positives than PointPillar, particularly for distant, sparsely distributed pedestrians. The parallel branches and spatial attention of the EMA module effectively captured cross-scale dependencies and mitigated sparsity in distant objects. However, the sensitivity of 3D IoU to minor pedestrian offsets indicated the potential value of distance-based evaluation metrics for future research. Conclusions In this study, we developed a lightweight LiDAR-based small-object detection method integrating voxelization, PTV attention for intravoxel feature aggregation, EMA for multiscale fusion, and SSD for regression. The proposed approach balanced computational efficiency and accuracy, achieving mAP of 78.1% and an inference time of 14.39 ms on a custom unmanned fire truck dataset, with exceptional performance in detecting small objects. Real-world deployment confirmed its robustness in operational scenarios, demonstrating its suitability for resource-constrained autonomous systems.
在激光雷达三维目标检测领域,点云的处理策略主要分为3类:基于点的处理策略、基于体素的处理策略和混合处理策略[5]。基于点的处理策略直接对原始点云数据进行操作,能够完整保留点云的几何信息。例如,PointNet模型通过直接提取点云特征,捕获物体三维结构[6]。PointNet++模型在PointNet基础上进一步引入多层次特征聚合,增强了局部和全局特征的捕捉能力[7]。IA‒SSD模型通过改进投票机制得到更好的种子点特征,从而提高了目标中心点预测、边界预测和目标分类精度[8]。Shreelakshmi等[9]引入图神经网络处理点云数据,进一步提升了目标检测精度。基于点的处理策略可以充分利用原始点云几何信息,但由于重复采样和聚合,存在计算量偏大的问题。相比之下,基于体素的处理策略将点云划分为规则的体素网格,利用卷积神经网络(CNN)提取特征,从而显著提高计算速率。例如,PointPillar将点云体素化后使用CNN进行处理,在实时性上取得了较大突破[10]。Voxel R‒CNN通过在生成置信框时引入格点,再以这些格点为中心提取三维卷积模块中生成的体素特征,进一步提高了检测精度[11]。ConQueR模型[12]基于检测自注意力网络[13]的三维检测器构建了一种新颖的对比策略,可以有效消除密集重叠误报,实现更高精度的预测。然而,体素化过程中可能会丢失点云部分几何信息,导致小目标检测效果不佳。混合处理策略试图结合基于点和基于体素处理策略的优势。例如,Fast Point R‒CNN[14]检测模型分为两阶段:第一阶段先将原始点云划分为体素作为输入,再通过神经网络生成候选框;第二阶段利用PointNet[6]对候选框及其周围点进行特征聚合,从而预测出目标种类与边界框大小。PV‒RCNN[15]通过融合点与体素特征,在检测精度上取得了突破。Shi等[16]进一步提出了一种新的三维检测器PV‒RCNN++,该检测器通过矢量池聚合,以更少计算量实现更好的局部点特征聚合。然而,混合处理策略一般具有较复杂的网络结构,难以在算力受限的场景下实车部署。考虑到消防车车载算力有限,本文选择体素处理策略以满足轻量化需求。
首先,使用车载激光雷达采集周围环境点云,分割采集到的点云数据,裁剪出感兴趣区域,并进行翻转、平移等数据增强操作,划分训练集、验证集和测试集,准备输入体素特征提取网络进行处理。其次,对输入的单帧点云进行体素划分,在x‒y平面上划分细小立方体,每个立方体为一个体素,将所有点分配至均等大小的体素中。该设计的核心目的是提升计算效率。相比于直接处理几十万个离散点,基于体素的方法将无序的点云划分至规则的体素中,大幅减少了需要处理的数据数量。随后,通过对体素内的点进行特征编码并将三维体素空间压缩为二维伪图像,使得后续可以用计算效率更高的二维 CNN完成特征提取。这一系列操作避免了计算成本高昂的三维卷积与复杂的点集查询,有效地降低了模型的推理时间。体素划分后,对其中的点云进行数据增强,原点云数据由四维(x,y,z,r)扩充至十维(x,y,z,r,xp,yp,zp,xc,yc,zc ),其中,(x,y,z)表示点云三维坐标,r表示反射强度,下标c表示每个点到对应体素内所有点平均值的偏移量,下标p表示该点距离所在体素中心点的偏移量。单帧点云中包含P个非空体素,每个体素中过滤至N个点,每个点由十维向量 D 组成,因此该帧点云可以由张量( D,N,P)表示。采取轻量化的全连接层处理体素内的点,将向量 D 降维至向量 C,构成新的张量( C,N,P)。通过降维扩展维度特征,捕捉体素内点云的局部几何信息与上下文信息。为进一步增强特征表达质量,在特征编码阶段引入了PTV注意力机制模块,通过聚合体素内N个点的特征,提升小目标感知能力。该模块的详细设计将在第1.2节详细阐述。经过PTV模块后,生成维度为( C, P )的平面特征图,将 P 拆分为H×W两个维度,构成伪图像的高与宽,将每个体素数据重新放回原来的坐标分布中来组成伪图像数据,三维点云图像压缩至二维可以大幅提高模型的推理速率。然后,在二维点云主干网络阶段,输入C×H×W大小的二维伪图像张量,使用卷积操作对其特征进行多尺度提取与拼接融合。主干网络部分先采用下采样不断缩小平面特征图的分辨率并提升其维度,然后集成多尺度注意力EMA模块,利用跨通道和空间注意力机制捕获多尺度上下文信息,增强网络在不同目标尺度上的适应性,EMA模块的详细设计将在第1.3节描述。对EMA增强后的张量再进行反卷积操作,生成相同维数的特征图,并对其进行全连接操作,生成全连接层。最终,将全连接层张量输入SSD检测头,利用多尺度特征图检测不同尺寸目标,生成检测结果,包括目标类别和边界框中心坐标、几何尺寸和朝向角。
式(18)~(21)中,TP为预测为正实际也为正例的数目,FP为预测为正实际为负例的数目,FN为预测为负实际为正例的数目,APi 为第i种的平均精度(i取1~n)。预测结果的正负通过交并比(intersection over union,IoU)来衡量,预测边界框与真实边界框的3D IoU大于0.5时,认为预测正确;小于0.35时,认为预测错误。该IoU阈值的设定主要参考了主流三维目标检测公开数据集Kitti的官方评价标准。在Kitti基准中,对于行人与自行车等小目标类别,普遍采用0.50与0.35的阈值进行评估。考虑到本文的数据集中也包含大量行人、路障等小目标,且本文方法主要针对小目标识别,因此该阈值能够更好地反映不同模型在本文数据集上的检测能力。
WuDanni, LiangZichen, ChenGuang.Deep learning for LiDAR-only and LiDAR-fusion 3D perception:A survey[J].Intelligence & Robotics,2022,2(2):105‒129. doi:10.20517/ir.2021.20
[2]
ZimmerW, ErcelikE, ZhouXingcheng,et al.A survey of robust 3D object detection methods in point clouds[PP/OL]. arXiv(2022‒03‒31)[2025‒06‒24].
[3]
SongZiying, LiuLin, JiaFeiyang,et al.Robustness-aware 3D object detection in autonomous driving:A review and outlook[J].IEEE Transactions on Intelligent Transportation Systems,2024,25(11):15407‒15436. doi:10.1109/tits.2024.3439557
[4]
WangJuncheng, KongXiangbo, NishikawaH,et al.Dynamic point-pixel feature alignment for multimodal 3‒D object detection[J].IEEE Internet of Things Journal,2024,11(7):11327‒11340. doi:10.1109/jiot.2023.3329884
[5]
RenKeyan, GuMeiying, YuanZhengqian,et al.3D object detection algorithms in autonomous driving:A review[J].Control and Decision,2023,38(4):865‒889.
CharlesR Q, HaoSu, MoKaichun,et al.PointNet:Deep learning on point sets for 3D classification and segmentation[C]//Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition(CVPR).Honolulu:IEEE,2017:77‒85. doi:10.1109/cvpr.2017.16
[8]
QiC R, YiLi, SuHao,et al.PointNet++:Deep hierarchical feature learning on point sets in a metric space[C]//Proceedings of the 31st International Conference on Neural Information Processing Systems(NIPS 2017).Long Beach:Curran Associates Inc.,2017:5105‒5114.
[9]
ZhangYifan, HuQingyong, XuGuoquan,et al.Not all points are equal:Learning highly efficient point-based detectors for 3D LiDAR point clouds[C]//Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).New Orleans:IEEE,2022:18931‒18940. doi:10.1109/cvpr52688.2022.01838
[10]
ShreelakshmiC R, DurbhaS S, SinghG. 3D Object Detection in LiDAR Point Clouds using Graph Neural Networks[PP/OL].arXiv(2023‒01‒29)[2025‒06‒24].
[11]
LangA H, VoraS, CaesarH,et al.PointPillars:Fast encoders for object detection from point clouds[C]//Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).Long Beach:IEEE,2019:12689‒12697. doi:10.1109/cvpr.2019.01298
[12]
DengJiajun, ShiShaoshuai, LiPeiwei,et al.Voxel R‒CNN:Towards high performance voxel-based 3D object detection[C]//Proceedings of the AAAI Conference on Artificial Intelligence.Virtual: AAAI,2021,35(4):2074‒2082. doi:10.1609/aaai.v35i2.16207
[13]
ZhuBenjin, WangZhe, ShiShaoshuai,et al.ConQueR:Query contrast voxel-DETR for 3D object detection[C]//Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).Vancouver:IEEE,2023:9296‒9305. doi:10.1109/cvpr52729.2023.00897
[14]
CarionN, MassaF, SynnaeveG,et al.End-to-end object detection with transformers[C]//Computer Vision‒ECCV 2020.Cham:Springer International Publishing,2020:213‒229. doi:10.1007/978-3-030-58452-8_13
[15]
ChenYilun, LiuShu, ShenXiaoyong,et al.Fast point R-CNN[C]//Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision(ICCV).Seoul:IEEE,2019:9774‒9783. doi:10.1109/iccv.2019.00987
[16]
ShiShaoshuai, GuoChaoxu, JiangLi,et al.PV‒RCNN:Point-voxel feature set abstraction for 3D object detection[C]//Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).Seattle:IEEE,2020:10526‒10535. doi:10.1109/cvpr42600.2020.01054
[17]
ShiShaoshuai, JiangLi, DengJiajun,et al.PV‒RCNN++:Point-voxel feature set abstraction with local vector representation for 3D object detection[J].International Journal of Computer Vision,2023,131(2):531‒551. doi:10.1007/s11263-022-01710-9
[18]
TaoZhiyong, GuoXijun, RenXiaokui,et al.Human action recognition method based on multi-channel fusion[J].Advanced Engineering Sciences,2025,57(1):68‒79.
ZhaoHengshuang, JiangLi, JiaJiaya,et al.Point transformer[C]//Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision(ICCV).Montreal:IEEE,2021:16239‒16248. doi:10.1109/iccv48922.2021.01595
[23]
Hu J SK, KuaiTianshu, WaslanderS L.Point density-aware voxels for LiDAR 3D object detection[C]//Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).New Orleans:IEEE,2022:8459‒8468. doi:10.1109/cvpr52688.2022.00828
[24]
LuYantao, HaoXuetao, LiYilan,et al.Range-aware attention network for LiDAR-based 3D object detection with auxiliary point density level estimation[J].IEEE Transactions on Vehicular Technology,2025,74(1):292‒305. doi:10.1109/tvt.2024.3454607
[25]
HeChenhang, ZengHui, HuangJianqiang,et al.Structure aware single-stage 3D object detection from point cloud[C]//Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).Seattle:IEEE,2020:11870‒11879. doi:10.1109/cvpr42600.2020.01189
[26]
LiuMinghui, MaJinming, ZhengQiuping,et al.3D object detection based on attention and multi-scale feature fusion[J].Sensors,2022,22(10):3935. doi:10.3390/s22103935
[27]
WangLi, SongZiying, ZhangXinyu,et al.SAT‒GCN:Self-attention graph convolutional network-based 3D object detection for autonomous driving[J].Knowledge-Based Systems,2023,259:110080. doi:10.1016/j.knosys.2022.110080
[28]
LengZhaoqi, SunPei, HeTong,et al.PVTransformer:Point-to-voxel transformer for scalable 3D object detection[C]//Proceedings of the 2024 IEEE International Conference on Robotics and Automation(ICRA).Yokohama:IEEE,2024:4238‒4244. doi:10.1109/icra57147.2024.10610346
[29]
OuyangDaliang, HeSu, ZhangGuozhong,et al.Efficient multi-scale attention module with cross-spatial learning[C]//Proceedings of the ICASSP 2023‒2023 IEEE International Conference on Acoustics,Speech and Signal Processing(ICASSP).Rhodes Island:IEEE,2023:1‒5. doi:10.1109/icassp49357.2023.10096516
GeigerA, LenzP, UrtasunR.Are we ready for autonomous driving?The KITTI vision benchmark suite[C]//Proceedings of the 2012 IEEE Conference on Computer Vision and Pattern Recognition.Providence:IEEE,2012:3354‒3361. doi:10.1109/cvpr.2012.6248074
[32]
CaesarH, BankitiV, LangA H,et al.nuScenes:A multimodal dataset for autonomous driving[C]//Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).Seattle:IEEE,2020:11618‒11628. doi:10.1109/cvpr42600.2020.01164
[33]
LiE, WangShuaijun, LiChengyang,et al.SUSTech POINTS:A portable 3D point cloud interactive annotation platform system[C]//Proceedings of the 2020 IEEE Intelligent Vehicles Symposium(Ⅳ).Las Vegas:IEEE,2020:1108‒1115. doi:10.1109/iv47402.2020.9304562
[34]
YinTianwei, ZhouXingyi, KrahenbuhlP.Center-based 3D object detection and tracking[C]//Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).Nashville:IEEE,2021:11779‒11788. doi:10.1109/cvpr46437.2021.01161
[35]
WuHai, WenChenglu, LiWei,et al.Transformation-equivariant 3D object detection for autonomous driving[C]//Proceedings of the AAAI Conference on Artificial Intelligence.Washington:AAAI Press,2023,37(3):2795‒2802. doi:10.1609/aaai.v37i3.25380