Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Cover for What Is the Difference Between a Policy and a Value Function?

Video by Adaptive AgroTech. If the embedded player is unavailable, open the original video ↗.

AI & machine learningInterview topic 177

What Is the Difference Between a Policy and a Value Function?

A policy tells a robot how to choose an action from its observation or state. A value function estimates the expected discounted return when the robot follows a particular policy.

Understand the concept

The key idea

A policy tells a robot how to choose an action from its observation or state. A value function estimates the expected discounted return when the robot follows a particular policy.

At an aisle junction, the policy might turn right. The state value estimates how rewarding the remaining trip will be. An action value instead evaluates a specific first action.

Values depend on the policy, reward definition, and discount factor. A large predicted value does not certify physical safety. Evaluate the learned behavior on the actual task and operating conditions.

What to remember

  • Policy chooses actions. Value estimates return
  • V evaluates a state. Q evaluates an action
  • A return estimate depends on the task
Pause & think

Check your understanding

How do a policy and an action-value function answer different questions?

Show the explanation

The policy selects an action. An action-value function estimates expected discounted return for taking a particular action and then following the specified policy.