Pages and contents
Pages
- Non-Generative World Model Research
- Literature Review
- Literature Notes
- Attention
- Memory
- Planning
- Reviews
- Reinforcement Learning
- World Model Papers
- Biological
- World Models
- Representation
- Partial Homomorphisms
- DeepMDP
- Temporal Abstraction
- Unsupervised Causal Abstractions
- Approximate Equivariance
- OPAL
- Object Learning
- Training
- Template
- Important Concepts
- Models
- Resources
Partial Homomorphisms
Ravindran Thesis (2004)
https://all.cs.umass.edu/pubs/2004/ravindran_thesis04.pdf
Definitions
Sufficient Statistic: Informally, one can define a good abstraction to be a function of the observable features of a task such that it is a βsufficient statistic.β
Partition: A partition of is a set of disjoint subsets or blocks .
Reward Respecting Partition: A partition of is reward respecting if for
MDP Homomorphism: An MDP homomorphism from an MDP to an MDP is a surjection from to , defined by a tuple of surjections , with , where and for , such that for all , and :
We call the homomorphic image of under . We use the shorthand to denote . The surjection maps states of to states of , and since it is generally many-to-one, it generally induces nontrivial equivalence classes of states of : . Each surjection recodes the actions admissible in state of .
Partial Homomorphism: A partial homomorphism is a surjection from an MDP, or an SMDP, to a corresponding image, such that the homomorphism conditions hold only over subsets of the state-action space. A partial MDP homomorphism from to , such that , , and , is a surjection from to , defined by a tuple of surjections , with , where and for where is non-empty and given by such that for all , and :
is called the partial homomorphic image of under . Partial SMDP homomorphisms can be similarly defined with the conditions above extended to hold for joint...
Relativized Option: A relativized option of an SMDP is the tuple where is the option SMDP, is the initiation set, is the termination condition, and is a partial homomorphism from the SMDP to with chosen to describe the sub-goal. The set is the image of the domain of the option under plus an absorbing state , and . The option policy is obtained by solving by treating it as an episodic task as before. Depending on the sub-task, can be defined only over a subset of , restricting the actions and options available in the option SMDP.
Hierarchical Policy: A hierarchical policy in with a hierarchical decomposition of is specified by the tuple , i.e., a policy for each . An optimal hierarchical policy, , consists of the tuple of optimal policies in each of the component options, i.e., .
Deictic Option Schema: A deictic option schema of a factored SMDP is the tuple , where is a relativized option in , is the number of deictic pointers available and is the set of admissible configurations of the deictic pointers. For all , is the collection of all possible subsets of indices of the features that pointer can project onto the schema. is the number of features used to describe .
Types of Pointers
1. Independent pointers: For every , satisfy the homomorphism condition on transition probabilities given by equation 4.2. Then, the right assignment for pointer is independent of the other pointers and there is one component of the weight vector corresponding to pointer and the updates for this component depends only on the features indexed by some .
2. Mutually dependent pointers: For each and , satisfies equation 4.2. But and do not satisfy equation 4.2 for some and . Thus, they cannot be treated separately and the composite projections given by their cross-products has to be considered. There is one component of the weight vector that corresponds to this cross-product projection. The update for this component will depend on the features indexed by some and .
3. Dependent pointer: For each and , satisfies equation 4.2, as does . But does not satisfy equation 4.2 for at least some value of . This means pointer is an independent pointer, while is a dependent one. There is a separate component of the weight vector that corresponds to pointer , but whose update depends on the features indexed by both and .
Types of State Action Equivalence
1. Optimal value equivalence is when two state action pairs are equivalent if their optimal action values are the same. .
2. Optimal policy equivalence is when state action pairs are considered equivalent if the probability of picking those actions in those states under some optimal policy are same for some .
3. (Partial) Homomorphic equivalence is what the work explores. It argues that it is a more efficient method when you can exploit priors about the system to develop abstractions.
Bayesian Algorithm
Formally the problem may be stated as: Given a set of candidate transformations and the option MDP , how do we choose the right transformation to employ at each invocation of the option? We assume that is the MDP describing the actual task, and that and are not known. Let be a function of the current state that captures the features necessary to distinguish the particular context in which the option is invoked. In the example in Figure 5.2, the room number is sufficient, while in an object-based environment some property of the target object, say color, might suffice. Often in practice, is a simple function of like a projection onto a subset of features, as in the rooms example. The features, , can be thought of as distinguishing various instances of the family of sub-problems represented by the relativized option. The problem of choosing the right transformation is formulated as a family of Bayesian parameter estimation problems, one for each possible value of .
There is one parameter, , that can take a finite number of values from . Let denote the prior probability that , i.e., the prior probability that is the correct transformation to apply in the sub-problem represented by . The set of samples used for computing the posterior distribution is the sequence of transitions, , observed when the option is executing. Note that the probability of observing a transition from to under for any , is independent of the other transitions in the sequence. Recursive Bayes learning is used to update the posterior probabilities incrementally.
Let be the posterior probability that is the correct transformation to apply in the sub-problem represented by after time steps from when the option was invoked. Initialize for all and . Let be the transition observed after time steps of option execution. The posteriors for all are updated as follows:
where is the probability of observing the \-projection of transition in the option MDP and is a normalizing factor. When an option is executing, at time step , is used to project the state to the option MDP and lift the action to the original MDP. After experiencing a transition, the posteriors of all the transformations in are updated using the equation.
The term is a measure of how likely the transition is in the option MDP assuming that the agent is in the sub-problem represented by and is used to project the transition onto the option MDP. Accumulating this "likelihood" over a sufficiently long sequence of transitions gives the best possible measure of how correct a transformation is for a given sub-problem. is a normalizing factor that prevents the values of from decaying to very small numbers with large . Without normalization, 's are likely to decay to zero since the probability of observing any long sequence of transitions is very low even under the correct transformations.