Manuscript Offprint

arXiv:2608.22675

VikPath: A Vision Kansformer Framework for Effective Obstacle Avoidance in Self-Supervised Pathfinding

Junyao Wang, Yulin Xu, Mohammad Abdullah Al Faruque

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

JUNYAO WANG, University of California, Irvine, USA

YULIN XU, University of California, Irvine, USA

MOHAMMAD ABDULLAH AL FARUQUE, University of California, Irvine, USA

Pathfinding is a fundamental problem in artificial intelligence and autonomous systems. Traditional heuristic-based algorithms, such as A*, rely on predefined heuristic functions to guide the search process. Although effective in structured environments, their search efficiency can degrade substantially in complex, obstacle-rich scenarios, where handcrafted heuristics may provide limited guidance. Recent studies have explored learning-based approaches to improve pathfinding efficiency; however, most existing methods rely on supervised learning and require labels generated by conventional planners or obtained through manual annotation. As a result, their performance is inherently influenced by the quality of the underlying supervision and may degrade when the labeling heuristics fail to capture complex environmental structures. Moreover, existing methods primarily optimize for path length while paying limited attention to obstacle clearance and trajectory smoothness, which can lead to paths that are difficult or unsafe to execute in real-world environments. To address these limitations, we propose VIKPATH, a self-supervised pathfinding framework that jointly considers obstacle proximity and path smoothness. At its core, our novel Vision Kansformer module learns representations of obstacle distributions without relying on labeled trajectories, enabling the model to better adapt to complex environments. We further introduce a sharp-turn penalty to encourage smoother and more practically executable paths. Extensive experiments demonstrate that, compared with state-of-the-art (SOTA) approaches, VIKPATH achieves an average of 3.28% greater obstacle clearance and 87.07% lower inference latency while maintaining smooth path generation.

Additional Key Words and Phrases: Self-Supervised learning, Pathfinding, Autonomous Navigation

1 Introduction

Pathfinding is a fundamental problem in artificial intelligence, robotics, and autonomous systems. It aims to determine an efficient and collision-free route for a mobile agent from a starting point to a destination [24, 42, 50]. Traditional heuristic-based algorithms, such as A* [19, 40], typically represent the environment as a grid or graph and use heuristic-guided search to identify a shortest feasible path [17, 51]. Despite their effectiveness, such representations often provide only limited descriptions of the environment and may fail to capture richer spatial structures that could facilitate efficient planning. Moreover, conventional heuristics are typically handcrafted and rely on relatively simple estimates of the remaining path cost, limiting their ability to exploit complex obstacle configurations and global environmental patterns [4]. This reliance on manually designed heuristics can also reduce adaptability across environments with diverse map layouts and obstacle distributions [40, 43]. More importantly, classical planners primarily optimize path length and collision avoidance, while often overlooking practical factors such as obstacle clearance and trajectory smoothness. As a result, the generated paths may pass unnecessarily close to obstacles or contain abrupt turns, making them less desirable for real-world navigation [12, 13]. These limitations have motivated increasing interest in learning-based approaches that leverage environmental structure to improve pathfinding performance [48, 55].

Learning-based approaches have been increasingly explored to improve pathfinding performance, with many supervised methods relying on expert paths generated by conventional planners

Authors' Contact Information: Junyao Wang, Department of Computer Science, University of California, Irvine, Irvine, CA, USA, junyaow4@uci.edu; Yulin Xu, Department of Electrical Engineering and Computer Science, University of California, Irvine, Irvine, CA, USA, yulinx8@uci.edu; Mohammad Abdullah Al Faruque, Department of Electrical Engineering and Computer Science, University of California, Irvine, Irvine, CA, USA, alfaruqu@uci.edu.

Junyao Wang, Yulin Xu, and Mohammad Abdullah Al Faruque

Figure

Weighted A*

Branch and Bound A*

Probability Map

VikPath(Ours)

Fig. 1. Existing pathfinding algorithms, e.g., A* algorithm, do not consider obstacle proximity, resulting in paths that are impractically close to obstacles. In contrast, VikPath constructs probability maps to represent obstacle distributions, ensuring paths avoid areas with high obstacle density.

or manually annotated trajectories as supervision [27, 55]. However, the effectiveness of these methods is inherently dependent on the quality of the supervisory signals, making learned planners susceptible to errors and biases present in the training labels [10, 23]. Moreover, planner-generated labels typically reflect the objectives and inductive biases of the underlying algorithms, which may limit the adaptability and generalization of learned models across environments with diverse obstacle configurations and spatial structures [3]. In particular, when supervision is primarily derived from shortest-path planners, learned models tend to prioritize path length while paying limited attention to practical criteria such as obstacle clearance and trajectory smoothness [26, 27, 55]. Recent approaches have sought to alleviate this dependence on expert-generated paths through self-supervised optimization or reinforcement learning (RL). For example, iA* introduces self-supervised guidance through differentiable search, while RL-based methods learn navigation policies through direct interactions with the environment [1, 7, 22]. Although these approaches reduce the need for explicit path annotations, self-supervised search methods have primarily focused on improving search efficiency and path length, whereas RL-based methods often require extensive environment interactions and substantial computational resources for training [7, 34]. More recently, FlexPath explores adapting learned planning guidance to alternative path preferences, including obstacle clearance, yet still relies on planner-generated demonstrations to learn an initial connectivity prior [26]. In parallel, trajectory smoothness is commonly addressed through post-processing techniques, such as Bézier-curve-based smoothing, after an initial route has been generated [9, 41]. Because path generation and smoothing are optimized separately, such post-processing may alter the original trajectory, reduce obstacle clearance, or require additional feasibility checks in obstacle-rich environments. These limitations motivate a unified pathfinding framework that eliminates reliance on expert-generated path labels while explicitly incorporating obstacle clearance and trajectory smoothness into the path generation process.

To address these limitations, we propose VIKPATH, an efficient self-supervised pathfinding framework that jointly considers obstacle proximity, path smoothness, and computational efficiency. Unlike existing supervised approaches that rely on heuristic-generated or manually annotated paths, VIKPATH learns spatial structures directly from unlabeled environment maps through a novel Vision Kansformer module. By performing masked reconstruction, Vision Kansformer captures both local and global spatial dependencies and produces a fine-grained probability map that characterizes

VikPath: A Vision Kansformer Framework for Effective Obstacle Avoidance in Self-Supervised Pathfinding

3

the obstacle distribution. This representation provides explicit obstacle-density awareness during planning, discouraging traversal through obstacle-dense regions and improving path clearance. We further augment the weighted A* cost function with obstacle-proximity awareness and a sharp-turn penalty, allowing path safety and smoothness to be considered directly during search and eliminating the need for a separate Bézier-curve-based smoothing stage. The main contributions of this paper are summarized as follows:

  • We propose VIKPATH, a self-supervised pathfinding framework that learns environmental representations without heuristic-generated or manually annotated path labels and jointly incorporates obstacle awareness and path smoothness into planning. VIKPATH achieves, on average, 87.07% lower inference latency than state-of-the-art (SOTA) methods.

  • We introduce a novel Vision Kansformer module that leverages masked modeling to capture both local and global spatial structures and construct a fine-grained representation of obstacle distributions. This obstacle-aware representation enables VIKPATH to generate paths with, on average, 3.28% greater obstacle clearance than SOTA methods.

  • We enhance the weighted A* algorithm by explicitly incorporating obstacle proximity and a sharp-turn penalty into its cost function, enabling obstacle-aware and smooth path generation without requiring a separate Bézier-curve-based post-processing step.

References (19)