Learning Cost Functions for Autonomous Navigation

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 130 papers30 conceptsfrozen 2026-10-04

In autonomous navigation, a robot’s behavior is dictated by a cost function—a mathematical formula that assigns a "penalty" to different states and actions. To find the best path, a planner simply searches for the trajectory with the lowest total cost.

Traditionally, these functions are hand-tuned by engineers. They might decide that "hitting a curb" has a cost of 1,000, while "driving 5mph under the limit" has a cost of 1. However, as Markus Wulfmeier and Ingmar Posner argue in Watch this: Scalable cost-function learning for path planning in urban environments, this heuristic approach is brittle. It fails to scale to complex urban environments where the "correct" trade-off between safety, comfort, and progress is subtle and context-dependent.

The emerging research direction shifts this paradigm: instead of manually defining costs, we learn the cost function from human demonstrations.

The Inverse Reinforcement Learning Intuition

If Reinforcement Learning (RL) is about finding an optimal policy given a reward function, Inverse Reinforcement Learning (IRL) is the opposite: given a set of expert demonstrations (like human driving logs), we try to recover the underlying cost function that the expert was implicitly optimizing.

The intuition is that human behavior contains "latent" preferences that are hard to code but easy to observe. For example, a human might slightly veer away from a large truck even if they stay within their lane. A hand-tuned cost function might ignore this, but an IRL model can learn that "proximity to large vehicles" carries a high cost. Edward Schmerling and Marco Pavone highlight in Multimodal Probabilistic Model-Based Planning for Human-Robot Interaction that deriving these objectives from data is essential for creating "natural" interactions, such as merging into highway traffic.

Mapping Sensors to Costs

To make this scalable, researchers use Deep IRL, where a neural network maps raw sensor data (like LiDAR or camera images) directly to a cost map.

In Incorporating Human Domain Knowledge into Large Scale Cost Function Learning, Markus Wulfmeier demonstrates a two-step approach:

  1. Pretraining: The network first learns to mimic a basic, handcrafted cost function to establish a safety baseline.
  2. Refinement: The model is then fine-tuned using IRL on real human data to capture the nuances that the manual function missed.

This approach ensures the robot doesn't have to "re-learn" basic physics (like "don't hit walls") from scratch, while still benefiting from the flexibility of data-driven preferences.

Differentiable Planning

A major technical hurdle in learning cost functions is the "planner in the loop." To know if a learned cost function is good, you have to run a planner (like A*) on it and see if the resulting path matches the human's path. However, traditional planners are not "differentiable"—you can't easily backpropagate errors through them to update the neural network.

Recent work like Trailblazer, introduced by Srikanth Saripalli in Trailblazer: Learning offroad costmaps for long range planning, solves this by using a differentiable A* planner. This allows the system to calculate exactly how a small change in the cost map would change the final path, enabling end-to-end training. Similarly, Zhiyu Huang and Marco Pavone propose DTPP (Differentiable Joint Conditional Prediction and Cost Evaluation for Tree Policy Planning), which jointly learns to predict how others will move and how much those movements should "cost" the ego-vehicle.

Capturing Social Norms and Negotiation

The ultimate goal of learned cost functions is to solve the "Frozen Robot" problem—where a robot stops because it treats every human as a static obstacle. By learning from human interaction, robots can internalize social norms like yielding or signaling.

Yichuan Tang shows in Towards Learning Multi-Agent Negotiations via Self-Play that agents can spontaneously learn to "negotiate" (e.g., zipper merging) when the underlying reward structures are learned rather than fixed. This is echoed by Xuesu Xiao in Learning Model Predictive Controllers with Real-Time Attention for Real-World Navigation, where a Transformer-based model learns social navigation constraints that are too complex to be captured by manual heuristics.

By moving from "engineering the cost" to "learning the cost," autonomous systems transition from rigid, rule-following machines to agents that can navigate the messy, social reality of the human world.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_learning_cost_functions_for_autonomous_n_398f28ff,
  title = {Learning Cost Functions for Autonomous Navigation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/learning-cost-functions-for-autonomous-navigation/rdr_398f28ff31e54bb8a6914f4ce3bbb4b6},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_learning_cost_functions_for_autonomous_n_398f28ff_v1,
  title = {Learning Cost Functions for Autonomous Navigation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/learning-cost-functions-for-autonomous-navigation/rdr_398f28ff31e54bb8a6914f4ce3bbb4b6/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}