NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Data Efficient Framework for Learning Local Heuristics

Rishi Veerapaneni, Jonathan Park, Muhammad Suhail Saleem, Maxim Likhachev

TL;DR

This paper introduces a novel, data-efficient method for training local heuristics for AI planning. By cleverly observing that a single global search implicitly solves many local planning problems, they drastically reduce the data collection overhead, enabling faster learning and even online adaptation of heuristics.

What Problem Does This Paper Address?

Search-based planning algorithms, widely used in robotics and AI, heavily rely on heuristics to guide their search efficiently. Traditional hand-designed heuristics can be brittle and prone to getting stuck in local minima. While machine learning offers a way to learn more powerful heuristics, supervised learning approaches require vast amounts of labeled data. This data is typically generated by running an "oracle" search algorithm, which is computationally expensive, especially in complex domains or when the heuristic requires expensive checks (like collision detection). The paper tackles the problem of efficiently collecting this crucial training data for a specific type of learned heuristic called a "local heuristic."

Methods

The core innovation lies in a data collection strategy that piggybacks on an existing global A* search. Instead of running separate, expensive local searches for each data point, the authors propose a "backtracking" mechanism. When a node is expanded in the global search, they backtrack to its ancestors and check if the expanded node lies on the border of a local region defined for that ancestor. If so, this provides a valuable data point for training the local heuristic.

They also introduce a method for collecting "partial" data. When a global search expands a node within a local region but not on its border, this still provides a lower bound on the cost to reach the border. This partial data is down-weighted during training to account for its approximate nature. This combined approach allows for significantly more data to be collected with the same amount of global search effort.

Furthermore, this data collection method enables "online learning." The system can collect data and retrain the heuristic while it's actively solving planning problems, allowing it to adapt and improve over time without a separate offline data collection phase.

Datasets

The paper evaluates their framework on ten 1024x1024 maps with 30% random obstacles. The planning domain involves a car with a 4D state space (x, y, heading, velocity). No new benchmark datasets were introduced; instead, they used existing map-based planning scenarios.

Key Insights and Ideas

  • Implicit Local Problem Solving: The most significant insight is that a global A* search inherently solves many local planning problems as a byproduct of its best-first expansion strategy. This observation is the foundation for their data efficiency.
  • Backtracking for Data Collection: Reusing existing search effort through backtracking is a clever way to amortize the cost of data generation.
  • Partial Data Value: Even "incomplete" data points (nodes within a local region but not on the border) provide valuable lower bounds for training, significantly increasing the data yield.
  • Online Learning Potential: The data collection method seamlessly integrates with the planning process, paving the way for heuristics that learn and adapt in real-time.

Key Results

  • Data Efficiency: Their "Complete" and "Incomplete" data collection methods require significantly fewer expansions per data point compared to running individual local A searches. For instance, collecting a single data point for K=4 requires around 5 expansions with their method, versus hundreds for local A.
  • Performance Improvement: LoHA trained on their efficiently collected "Incomplete" data achieved a speedup of up to 3.9x compared to a weighted A baseline, demonstrating the effectiveness of the learned heuristic even with approximate data.
  • Online Performance: DE-LoHA* showed non-trivial performance improvements within 20 start-goal problems solved (3 retraining iterations), highlighting its ability to learn and adapt online.

Limitations and Future Work

  • Down-weighting Partial Data: While effective, the need to down-weight partial data suggests that the quality difference between complete and partial data is significant. The authors handled this by down-weighting, but further research could explore more sophisticated ways to leverage partial data.
  • Computational Overhead: While data collection is more efficient, the inference time of the neural network heuristic introduces an overhead, making the overall planning time slower than simpler baselines in some cases (e.g., 2.3 seconds per problem vs. 0.1 seconds).
  • Generalizability: The paper focuses on a specific 4D navigation domain. Future work could explore the applicability of their data collection framework to other domains and learning methods that rely on oracle search.
  • Extensions to Other Heuristics: The authors suggest their technique can be adapted to other learning methods, such as those learning expansion delays or cost-to-go heuristics, by leveraging similar backtracking and intermediate search information.

Summary updated

Abstract

With the advent of machine learning, there have been several recent attempts to learn effective and generalizable heuristics. Local Heuristic A* (LoHA*) is one recent method that instead of learning the entire heuristic estimate, learns a "local" residual heuristic that estimates the cost to escape a region (Veerapaneni et al 2023). LoHA*, like other supervised learning methods, collects a dataset of target values by querying an oracle on many planning problems (in this case, local planning problems). This data collection process can become slow as the size of the local region increases or if the domain requires expensive collision checks. Our main insight is that when an A* search solves a start-goal planning problem it inherently ends up solving multiple local planning problems. We exploit this observation to propose an efficient data collection framework that does <1/10th the amount of work (measured by expansions) to collect the same amount of data in comparison to baselines. This idea also enables us to run LoHA* in an online manner where we can iteratively collect data and improve our model while solving relevant start-goal tasks. We demonstrate the performance of our data collection and online framework on a 4D $(x, y, θ, v)$ navigation domain.
BibTeX
@inproceedings{veerapaneni2024data,
  author = {Rishi Veerapaneni and Jonathan Park and Muhammad Suhail Saleem and Maxim Likhachev},
  title = {{A Data Efficient Framework for Learning Local Heuristics}},
  booktitle = {Socs},
  year = {2024},
  doi = {10.1609/socs.v17i1.31563},
}

Loading related content...

Figure