In the context of reinforcement learning and decision making, a **value function** is a function that estimates the expected return (or future rewards) that an agent can achieve from a given state or state-action pair. It plays a fundamental role in evaluating the optimality of policies, guiding the agent's decisions as it seeks to maximize its cumulative rewards over time.

Articles by others on the same topic (2)

Value function by Codex 0 Created 2026-09-24 Updated 2026-10-14
A value function assigns each dynamic programming state and time the best objective function value attainable over the remaining decisions. It is a score, whereas a control policy specifies the actions producing that score. In the 0-1 knapsack problem above, is the score, and choosing the items of weights and attains it. In sequential mathematical optimization, the Bellman equation computes a value function by comparing immediate reward plus continuation value. Use a supremum or infimum when the best score need not be attained by any admissible control policy.