高级检索+

AgriLoc:面向农业场景的时序增强LiDAR定位方法

AgriLoc: Temporal-enhanced LiDAR localization method for agricultural scenarios

  • 摘要: 为满足智慧农业中农机对自主导航定位和快速场景适配的需求,针对现有场景坐标回归方法在机耕道等特征稀疏、环境重复度高的场景下定位精度不足的问题,提出一种融合时序上下文信息的快速LiDAR定位模型AgriLoc。首先,该模型利用预训练的分类头为连续的LiDAR帧序列生成独立的区域引导特征;其次,T-SCG对连续帧的引导特征进行时序建模,并在此基础上进一步引入了多头注意力机制,允许模型在回顾整个历史序列时,自适应地为区分度明显的关键帧分配更高的权重;最后,将时序引导特征与当前帧的空间几何特征进行融合,以引导回归头完成最终的精确坐标预测。结果表明,在自建的机耕道数据集上,与基准模型LightLoc相比,平均平移误差降低了27.2%,平均旋转误差降低了6.4%,而对于新场景的训练仅需3.8h即可完成。该研究提出的AgriLoc模型为深度学习定位技术在智慧农业领域的快速部署提供了一种可靠的新方案。

     

    Abstract: To improve the localization accuracy and deployment efficiency of autonomous agricultural machinery, this study investigates the problem of deep learning-based LiDAR localization in agricultural scenarios, where tractor roads, village roads, and farm paths often exhibit sparse geometric structure, weak vertical constraints, and high scene repetition. Existing scene coordinate regression (SCR) methods are effective in structured urban environments, but they often suffer from unstable pose estimation in agricultural scenes, where a single LiDAR frame may contain insufficient discriminative information for accurate localization. To address this issue, we propose AgriLoc, a temporal-enhanced LiDAR localization framework designed for rapid adaptation to new agricultural scenes while preserving the efficiency of frozen-backbone SCR pipelines. The model follows the fast localization strategy of freezing a pre-trained scene-agnostic backbone and training only scene-related prediction modules, thereby significantly reducing the amount of scene-specific optimization required during deployment. On top of this framework, AgriLoc introduces a Temporal Sample Classification Guidance (T-SCG) module and a multi-head attention enhancement module to exploit temporal context from consecutive LiDAR frames. Specifically, the backbone processes a sequence of LiDAR point clouds and produces both global feature sequences and current-frame spatial dense features. The pre-trained classification head maps the global features into region-discriminative guidance features, which are then temporally encoded by a GRU-based T-SCG module to capture motion continuity and suppress ambiguity caused by sparse or repetitive structures. To further alleviate the forgetting effect of recurrent modeling over long sequences, a multi-head attention mechanism is applied to the full history of guided states, enabling the model to adaptively focus on keyframes with stronger scene discriminability. The resulting temporal context is fused with current-frame spatial dense features and fed into the regression head to predict scene coordinates, which are then used by RANSAC to estimate the final 6-DoF pose. Experiments were conducted on a self-built agricultural dataset collected along a 9 km route that covers the full operational chain of agricultural machinery, including departure from the machine shed, traversal through village roads and public roads, entry into farmland, field operation, and return to the shed. The dataset consists of two sequences collected on the same route at different time periods, with 30.4 GB (15,611 frames) and 23.0 GB (12,017 frames), respectively. In the main agricultural experiment, AgriLoc achieved a mean translation error of 2.17 m and a mean rotation error of 2.75°. Compared with the baseline LightLoc, AgriLoc reduced the average translation error by 27.2% and the average rotation error by 6.4% in challenging tractor-road scenes, while requiring only 3.8 hours of training for a new scene. The ablation study further shows that introducing T-SCG reduced the mean translation error from 2.98 m to 2.50 m, and adding multi-head attention further improved it to 2.17 m, confirming the complementary contribution of temporal guidance and attention-based keyframe selection. To assess cross-scene robustness, we also evaluated AgriLoc on the NCLT public dataset and a campus dataset. On NCLT, the model achieved a mean translation error of 1.88 m and a mean rotation error of 2.82°. On the campus dataset, it obtained 1.84 m translation error and 2.73° rotation error. These results demonstrate the cross-scene adaptability of AgriLoc. Overall, this study provides a practical, high-precision, and rapidly deployable LiDAR localization solution for smart agriculture and autonomous navigation of agricultural machinery.

     

/

返回文章
返回