[Paper Review] What can I do here? A Theory of Affordances in Reinforcement Learning
The paper introduces a theory of affordances for RL, defining intents and affordances to restrict action spaces, analyzes value and planning losses, and shows how learning affordances and partial models improves generalization and planning efficiency.
Reinforcement learning algorithms usually assume that all actions are always available to an agent. However, both people and animals understand the general link between the features of their environment and the actions that are feasible. Gibson (1977) coined the term "affordances" to describe the fact that certain states enable an agent to do certain actions, in the context of embodied agents. In this paper, we develop a theory of affordances for agents who learn and plan in Markov Decision Processes. Affordances play a dual role in this case. On one hand, they allow faster planning, by reducing the number of actions available in any given situation. On the other hand, they facilitate more efficient and precise learning of transition models from data, especially when such models require function approximation. We establish these properties through theoretical results as well as illustrative examples. We also propose an approach to learn affordances and use it to estimate transition models that are simpler and generalize better.
Motivation & Objective
- Introduce a formal definition of affordances in Markov Decision Processes (MDPs) to reflect action feasibility under intent.
- Show how affordances can speed up planning by reducing the action space without sacrificing too much value.
- Provide theoretical bounds on value loss when using affordance-based partial models.
- Propose methods to learn affordances from data and use them to estimate simplified, more generalizable transition models.
- Demonstrate empirical benefits of affordances for planning accuracy and computational efficiency.
Proposed method
- Define intent I_a as a map from states to desired next-state distributions for each action a.
- Define affordances AF_I as the set of state-action pairs where the intent for that action is satisfied to degree epsilon.
- Construct an induced MDP M_I using intents and compare its value to the true MDP M, deriving a bound on value loss (Theorem 1).
- Introduce planning with affordances by learning a partial model hat{M}_{AF_I} restricted to affordable state-action pairs and bound planning loss (Theorem 2).
- Provide policy-class size analysis Pi_I to connect affordance size with planning bias-variance trade-offs.
- Propose learning affordances via classifiers A_theta and using an intent-completion function c to train and mask transition models.
- Show empirical results in gridworld and continuous settings illustrating planning time reduction and improved generalization.
Experimental results
Research questions
- RQ1How can affordances be formalized within the MDP framework to capture action feasibility under intent?
- RQ2What is the impact on value when using affordance-based partial models versus the full model?
- RQ3How does the size of the affordance set affect planning loss and the bias-variance trade-off?
- RQ4Can affordances be learned from data and used to train partial transition models that generalize to unseen situations?
- RQ5Do affordances improve planning speed and stability in RL tasks?
Key findings
- Value loss between the original MDP optimal value and the affordance-based policy is bounded by 2 epsilon gamma Rmax /(1- gamma)^2 (Theorem 1).
- Planning loss with affordances is bounded with high probability, depending on data, epsilon, and the policy-class size |Pi_I| (Theorem 2).
- Smaller affordances reduce planning time for value iteration, especially in larger grids or more complex environments.
- Learning affordances and partial models leads to improved generalization, including better out-of-distribution predictions in continuous settings.
- An intermediate affordance size can strike a bias-variance trade-off in small data regimes, with larger affordances beneficial as data increases (empirical results in Sec. 6.3).
- Affordance-aware models can generalize to actions never seen during training and reduce incorrect predictions near obstacles (Fig. 6).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.