Papers
Topics
Authors
Recent
Search
2000 character limit reached

HOWM: Homomorphic Object-Oriented Model

Updated 14 January 2026
  • HOWM is a compositional world model that employs a differentiable MDP homomorphism to capture object-oriented environments efficiently.
  • It integrates Slot Attention, learned action binding, and equivariant GNNs to enable scalable and soft compositional generalization.
  • Empirical results in object library environments demonstrate competitive generalization with significantly reduced computational resources compared to exact models.

A Homomorphic Object-oriented World Model (HOWM) is a world modeling approach for object-oriented environments that emphasizes compositional generalization through a differentiable approximation of Markov Decision Process (MDP) homomorphism. HOWM is motivated by the algebraic formalization of compositional generalization, and is specifically designed to provide efficient, scalable modeling and prediction in settings where scenes are comprised of variable subsets of objects drawn from a larger object library. By combining Slot Attention, learned action binding, and equivariant graph neural networks (GNNs) within an end-to-end architecture, HOWM enables "soft" compositional generalization that approaches equivariant performance at substantially reduced computational cost compared to exact implementations (Zhao et al., 2022).

1. Algebraic Foundations of Compositional Generalization

Compositional generalization in object-oriented environments is formalized using an algebraic framework. The environment is modeled as an MDP:

M=(S,A,T,R,γ)\mathcal{M} = (\mathcal{S}, \mathcal{A}, T, R, \gamma)

State and action spaces, S\mathcal{S} and A\mathcal{A}, are factorized over a library of NN objects:

S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N

At most KK objects are present in any scene, O{1,...,N}O \subseteq \{1, ..., N\} with O=K|O| = K. Transition dynamics are governed by:

T:S×A×SR0T : \mathcal{S} \times \mathcal{A} \times \mathcal{S} \rightarrow \mathbb{R}_{\geq 0}

A reduced "slot" MDP, M=(S,A,T,R,γ)\overline{\mathcal{M}} = (\overline{\mathcal{S}}, \overline{\mathcal{A}}, \overline{T}, \overline{R}, \gamma), is introduced to compactly represent only S\mathcal{S}0 present objects via

S\mathcal{S}1

A homomorphism mapping

S\mathcal{S}2

is defined with S\mathcal{S}3 as a state projection and S\mathcal{S}4 as a (state-dependent) action projection.

2. Homomorphism and Equivariance in Dynamics

The core property of the homomorphism is that, for all S\mathcal{S}5, S\mathcal{S}6, and any S\mathcal{S}7,

S\mathcal{S}8

This ensures that the reduced model's transitions aggregate (via summation) all full-model state transitions mapping to a given reduced state, preserving consistency of dynamics.

Equivalently, by interpreting object-replacement as a permutation S\mathcal{S}9 acting on both states and actions, exact compositional generalization requires the transition function to be A\mathcal{A}0-equivariant:

A\mathcal{A}1

This encodes exact invariance to object identity permutations, guaranteeing model predictions are unaffected by object ordering or labeling.

3. HOWM Architecture: Slot Attention, Action Binding, and Equivariant GNN

HOWM implements a soft homomorphism in a structured three-stage architecture:

  • (a) Object Extraction:

Slot Attention (Locatello et al.) encodes each image A\mathcal{A}2 into A\mathcal{A}3 object slots,

A\mathcal{A}4

along with a background slot.

  • (b) Action Attention:

A learned binding matrix A\mathcal{A}5 matches object slots to object-indexed action channels:

A\mathcal{A}6

where A\mathcal{A}7 is the identity for objects, and A\mathcal{A}8 are learned projections. The action for each slot is then

A\mathcal{A}9

  • (c) Equivariant Transition Model:

A NN0-equivariant GNN, NN1, predicts next-step slots:

NN2

  • (d) Aligned Contrastive Loss:

Since slots are unordered, predicted and true slots are "lifted" into NN3-slot space using the pseudoinverse NN4:

NN5

An aligned, contrastive-structured loss evaluates prediction error:

NN6

with NN7 denoting stop-gradient to restrict influence to the attention module.

4. Object Library Environments and Evaluation Metrics

HOWM is evaluated in a family of object-oriented RL environments termed "Object Library," parameterized by the library size NN8 and the number of present objects NN9. Each episode samples S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N0 objects from S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N1; an image S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N2 is observed, and a factorized action S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N3 controls exactly one object. Two main instances are:

  • Basic Shapes:

Objects differ in color, shape, and size, sharing cardinal-direction actions.

  • Rush Hour:

Objects are oriented cars; actions are relative to each car's heading.

Train and test sets are disjoint in scene composition (S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N4), but every individual object is seen during training.

Performance is measured via multi-step Prediction as Ranking using Hits@1 (H@1), Mean Reciprocal Rank (MRR), and a generalization gap (train MRR minus test MRR).

5. Comparative Experimental Results

Empirical comparisons highlight the trade-off between generalization, complexity, and scalability:

Model Complexity One-step Test MRR (Shapes S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N5) Five-step Test MRR (Shapes S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N6) GPU Mem (S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N7)
S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N8-CSWM (exact CG) S=S1××SN,A=A1××AN\mathcal{S} = \mathcal{S}_1 \times \cdots \times \mathcal{S}_N,\quad \mathcal{A} = \mathcal{A}_1 \times \cdots \times \mathcal{A}_N9 KK0 100% Near 100% 8.1 GB
HOWM (soft CG) KK1 98.5–99.7% 75.1–81.8% 3.7 GB
No-CG Baselines Varies Poor, with large gaps as KK2 Poor, large gap Varies

On "Rush Hour" (KK3), HOWM maintains substantially better generalization (five-step test MRR KK4 84.3%, 63.2%, 65.3%; gap KK5 11.2%, 31.1%, 31.3%) than KK6-slot-only or non-equivariant baselines. KK7-CSWM achieves near-perfect generalization but exhibits prohibitive resource usage for large KK8 (out of memory for KK9), while HOWM supports larger object libraries efficiently by keeping complexity in O{1,...,N}O \subseteq \{1, ..., N\}0.

6. Theoretical Analysis: Exact vs. Soft Homomorphic Generalization

A key theoretical result (Proposition: scaled equivariance error) establishes that if a full-MDP model O{1,...,N}O \subseteq \{1, ..., N\}1 has equivariance error O{1,...,N}O \subseteq \{1, ..., N\}2 under O{1,...,N}O \subseteq \{1, ..., N\}3, and the homomorphism O{1,...,N}O \subseteq \{1, ..., N\}4 gives a valid projection, then the induced slot-MDP model O{1,...,N}O \subseteq \{1, ..., N\}5 has scaled equivariance error O{1,...,N}O \subseteq \{1, ..., N\}6. In the case of O{1,...,N}O \subseteq \{1, ..., N\}7, perfect generalization is achieved in both representations.

A further corollary demonstrates that perfect O{1,...,N}O \subseteq \{1, ..., N\}8-equivariance in the O{1,...,N}O \subseteq \{1, ..., N\}9-slot model plus a valid O=K|O| = K0 implies perfect O=K|O| = K1-equivariance in the full MDP, supporting the lifting of exact compositional generalization.

There is a fundamental efficiency trade-off: exact O=K|O| = K2-equivariant models require O=K|O| = K3 edges and O=K|O| = K4 slots; HOWM, using O=K|O| = K5 slots and O=K|O| = K6 edges, is scalable for O=K|O| = K7 while only incurring "soft" compositional generalization (a nonzero but moderate generalization gap). A plausible implication is that learned attention-based binding in the latent space yields practical generalization at a fraction of the resource cost (Zhao et al., 2022).

7. Significance and Outlook

HOWM provides an instantiation of a differentiable, approximate MDP homomorphism for object-oriented modeling in compositional RL settings. By combining Slot Attention, a learned action binding mechanism, and a O=K|O| = K8-equivariant GNN with an alignment-based contrastive loss, HOWM achieves strong compositional generalization on held-out object combinations while supporting scalability to object libraries far larger than are tractable for exact O=K|O| = K9-equivariant baselines. This suggests utility for future RL agents seeking sample-efficient transfer across combinatorially diverse object compositions (Zhao et al., 2022).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Homomorphic Object-oriented World Model (HOWM).