Value Functions and State Values
A backup is also a specification of desired value-function behavior.
A Backup Means More Than an Update
A backup is often described as an instruction for changing an estimated value. There is another important way to read it: a backup also specifies how the value function should behave. When a backup is written as s ↦→ g, it pairs a state s with a desired numerical output g. The value function should produce an estimate for state s that moves toward g.
Read s ↦→ g as an input-output example: state s is the input, and g is the desired numerical output.
Reading the Backup Pair
Suppose the backup is state_A ↦→ 8. The left side identifies the state whose value is being addressed. The right side supplies the numerical target toward which the estimated output should move. Together, the two sides describe desired input-output behavior for the value function, not merely a number to be stored somewhere.
The pair can therefore be used as a training example. It tells a learning method what output is wanted when the input is state_A. The pair does not by itself say that every implementation must replace the current estimate with 8 immediately. It specifies the desired behavior toward which the estimate should move.
Function Approximation for Prediction
Function approximation uses backup pairs as training examples for value prediction. A function approximator receives the state as an input and produces an estimated numerical value as its output. The backup pair provides evidence about the output that the approximator should learn to reproduce for that state.
Turning a Backup into a Prediction Target
Use the backup state_B ↦→ 12 as an example of desired value-function behavior.
Identify the input: The input is state_B.
Identify the target: The desired numerical output is 12.
Interpret the pair: The value function should produce an estimate for state_B that moves toward 12.
Apply function approximation: A function-approximation method can use this pair as a training example for value prediction.
state_B ↦→ 12 means that state_B is paired with the desired output 12; it does not merely name a table entry to replace.
Table Adjustment and Approximation
| Implementation viewpoint | What the backup does |
|---|---|
| Table of state values | Shift the entry for s partway toward g and leave the other state entries unchanged. |
| Function approximation | Use the backup pair as evidence about the input-output behavior the approximated function should learn. |
With a table, each state has its own stored entry, so a direct implementation can adjust the entry for s while leaving other entries unchanged. Function approximation broadens the implementation. The method can change estimated values for many states as part of the same update. The backup still concerns the particular pair s ↦→ g, but the approximator may use that evidence to alter more than one prediction.
Learning Process and Learned Function
Supervised learning is the machine-learning approach of learning from input-output examples. In this setting, backup pairs supply those examples. The estimated value function is not the learning approach itself. It is the resulting approximate function, interpreted as the function that predicts values for states. Keeping these roles separate prevents a common confusion: supervised learning describes how the function is learned, while the estimated value function describes what makes the predictions.
Backup pairs are the examples, supervised learning is the approach that learns from them, and the estimated value function is the resulting value-predicting function.
Mistakes in Interpreting Backups
Treating s ↦→ g as only a command to replace one stored number.
The backup also specifies desired input-output behavior. It says that the estimated output for state_A should move toward 8.
Fix:
First identify the state input and desired output. Then consider whether the implementation is a table adjustment or a function-approximation update.Assuming function approximation must change only the estimate for the backed-up state.
A function-approximation method can change estimated values for many states as part of the same update.
Fix:
Preserve the meaning of the backup while allowing the approximation method to implement it in a broader way.Confusing supervised learning with the estimated value function.
Supervised learning is the approach of learning from input-output examples, whereas the estimated value function is the approximate function interpreted as making value predictions.
Fix:
Describe backup pairs as training examples, supervised learning as the learning approach, and the estimated value function as the resulting predictor.
Check Your Interpretation
A backup is written as state_C ↦→ 5. Explain what is the input, what is the desired output, and why a function-approximation update might change predictions for states other than state_C.
Hints
- Read the left side as the state supplied to the value function.
- Read the right side as the numerical output toward which the estimate should move.
- Contrast a direct table adjustment with a function-approximation update.
Practice Answer
Interpret state_C ↦→ 5 as a value-prediction training example.
Input: The input is state_C.
Desired output: The desired numerical output is 5.
Implementation distinction: A table implementation can shift the entry for state_C partway toward 5 and leave other entries unchanged. A function-approximation method can change estimated values for many states as part of the same update.
The backup specifies that the value function should move its prediction for state_C toward 5. It supplies evidence about desired function behavior rather than prescribing only one storage operation.
The Central Distinction
- A backup of the form s ↦→ g pairs a state input with a desired numerical output.
- The pair can be treated as an input-output training example for value prediction.
- With a value table, a backup can shift one state entry partway toward its target while leaving other entries unchanged.
- With function approximation, the same backup meaning can be implemented by an update that changes estimated values for many states.
- Supervised learning is the approach that learns from backup pairs; the estimated value function is the resulting approximate function that predicts values.
Key Takeaways
- A backup specifies desired value-function behavior, not merely a direct table operation.
- The notation s ↦→ g means that state s is paired with a desired output g.
- Function approximation uses these pairs as training examples for predicting values.
- A table update may alter one entry, while a function-approximation update may alter estimates for many states.
- Supervised learning is the learning process, whereas the estimated value function is the value-predicting function produced by that process.