Learning World Models with Identifiable Factorization

Extracting a stable and compact representation of the environment is crucial for efficient reinforcement learning in high-dimensional, noisy, and non-stationary environments. Different categories of information coexist in such environments -- how to effectively extract and disentangle these information remains a challenging problem. In this paper, we propose IFactor, a general framework to model four distinct categories of latent state variables that capture various aspects of information within the RL system, based on their interactions with actions and rewards. Our analysis establishes block-wise identifiability of these latent variables, which not only provides a stable and compact representation but also discloses that all reward-relevant factors are significant for policy learning. We further present a practical approach to learning the world model with identifiable blocks, ensuring the removal of redundants but retaining minimal and sufficient information for policy optimization. Experiments in synthetic worlds demonstrate that our method accurately identifies the ground-truth latent variables, substantiating our theoretical findings. Moreover, experiments in variants of the DeepMind Control Suite and RoboDesk showcase the superior performance of our approach over baselines.

Paper

References (61)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer oFQM6/10 · confidence 4/52023-07-05

Summary

Learning efficient world models requires architectural priors to learn better representations that can capture different aspects of the environment. However, existing methods like Dreamer do not focus on learning disentangled representations and lack the ability to separate noise from the reward-relevant information in the observations. In this work, a new method is proposed where the latent state is divided into 4 blocks based on the dependence of action and reward function. The paper shows that using the blocks of states that affect the reward function can be used to learn policies. Experiments show the efficacy of the proposed algorithm on Robodesk and DMControl tasks with distractions and noise in the form of background or based on a sensor/camera. Moreover, ablation studies show that the model learns to disentangle the factors in the environment. Lastly, the paper also provides a theoretical justification for the proposed architecture.

Strengths

1. The idea of disentangling the learned representations to different factors based on actions and rewards is interesting and nicely explained in the paper. 2. The experiments are thorough and support the claims made in the paper that the agent is able to differentiate between parts of the state that determines the reward and parts of the state that change based on the action. 3. The paper presents a theoretical derivation of the identifiability of the latent state representations.

Weaknesses

1. World Models have been extended to scenarios with noisy distractions in [1][2][3]. They have shown improvements over the Dreamer method for such tasks. However, these methods are not used as baselines in the experiments. 2. Some ablations and experiments are required to further understand the scenarios where the proposed method works (More on this in Questions below)

Questions

1. For learning efficient latent representations, recent works like DreamerPro have used auxiliary losses to extract relevant concepts from the observation [1]. How does the proposed method compare with reconstruction-free model-based methods? 2. For experiments on control tasks, the noise used is the background noise. There can be other types of noises as shown in [2] where distractor objects are moving in the environment. Will the proposed method be able to disentangle such noises too? 3. Were there any experiments conducted on a few games of Atari (like MsPacman, PrivateEye, and Montezuma’s Revenge) and observe what the latent embeddings are learning? On the current task, the whole agent is visible in the observation, what happens when the agent gets a partial view of the environment? 4. Related work should include [4] as they also plan to learn latent representations that disentangle different objects. Furthermore, how will the proposed method work in such scenarios where different rewards are associated with different objects? 5. Will the proposed method work in multi-task learning or meta-learning scenarios where the rewards are changing because there is a part of latent space that depends on the reward function which may change with different reward functions? 6. The current method assumes the presence of a reward function. Will this assumption make it difficult to learn unsupervised world models? Here the latent space cannot be conditioned on the intrinsic reward as it changes with training. ### References [1] Deng, Fei, Ingook Jang, and Sungjin Ahn. "Dreamerpro: Reconstruction-free model-based reinforcement learning with prototypical representations." International Conference on Machine Learning. PMLR, 2022.\ [2] Jain, Arnav Kumar, et al. "Learning robust dynamics through variational sparse gating." Advances in Neural Information Processing Systems 35 (2022): 1612-1626.\ [3] Nguyen, Tung D., et al. "Temporal predictive coding for model-based planning in latent space." International Conference on Machine Learning. PMLR, 2021.\ [4] Kipf, Thomas, Elise Van der Pol, and Max Welling. "Contrastive learning of structured world models." arXiv preprint arXiv:1911.12247 (2019).

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

The paper briefly talks about a few limitations between lines 346-350 and needs to elaborate more on the discussion and why they are challenging.

Reviewer qxcU6/10 · confidence 3/52023-07-06

Summary

- The paper introduces a framework called IFactor for modeling latent state variables in reinforcement learning (RL) systems. The framework categorizes these variables into four distinct types based on their interactions with actions and rewards. The paper further establishes block-wise identifiability of these latent variables, which provides a stable and compact representation and discloses that all reward-relevant factors are significant for policy learning. Overall, the paper contributes a comprehensive framework, IFactor, that provides representations of different aspects of information in RL systems and highlights the importance of considering states that influence the reward during decision-making.

Strengths

- IFactor models different latent state variables in based on their interactions with actions and rewards in RL systems. These categories include reward-relevant and controllable parts, reward-irrelevant but uncontrollable parts, controllable but reward-irrelevant parts, and unrelated noise. - The paper defines blockwise identifiability as the existence of a one-to-one mapping between a latent variable and its estimated value, such that the estimated value can be recovered from the latent variable and vice versa. This means that each latent variable can be uniquely identified and separated from other variables in the model, allowing for a more stable and compact representation of the environment. - The paper includes extensive experiments and ablation studies to validate the effectiveness of the proposed framework and to analyze the impact of different components. Meanwhile, the paper includes a thorough evaluation of the proposed framework on several benchmark tasks.

Weaknesses

- Missing related work. The separate modeling of controllable and uncontrollable components has been explored in various previous works, such as InfoPower[1] and Iso-Dream[2], which are missing from related work. It would be better if the authors can discuss the differences between the proposed method and this type of work. - [1] INFOrmation Prioritization through EmPOWERment in Visual Model-Based RL. ICLR 2022. - [2] Iso-Dream: Isolating and Leveraging Noncontrollable Visual Dynamics in World Models. NeurIPS 2022. - The error bars of the baselines are not included. - The performance of TIA on variants of DMC sometimes encounters a sudden drop during training, which is worth a further check for the reason. - Except for DenoisedMDP, the compared approaches are somewhat "out-of-date". It would be nice if the authors could include stronger baseline methods for model comparison, especially the approaches that show impressive performance on generalization in noisy visual observations.

Questions

- I understand that blockwise identification refers to the existence of a one to one mapping between a late variable and its estimated value. However, I lacked a thorough understanding of how decoupling the four latent components is related to the concept of block-wise identifiability. Could you please explain further? Or what are the benefits of defining these components blockwise identifiable? - Additionally, if this mapping is not blockwise identifiable, what impact will it have on the decoupling performance and how will it influence the model performance?

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

Negative societal impact is not discussed

Authorsrebuttal2023-08-20

Thank you for your insightful review of our paper. We've diligently addressed the feedback in our rebuttal and observed updates from two other reviewers. Could you kindly let us know if our response has addressed your concerns? If any issues remain, please don't hesitate to inform us. We'd appreciate it if you could review our rebuttal and update your feedback or score when convenient. Your time and effort are greatly valued.

Reviewer gMe87/10 · confidence 3/52023-07-06

Summary

The authors propose an alternative way to create world models in an RL system by separating them into blocks dependant on their casual effects on future observations, states and rewards. They theoretically show that under some assumptions it is possible to identify such classes of variables, even if specific instances cannot be identified. They go on to show how their approach can increase robustness and disentanglement in several control tasks.

Strengths

1. The proposed method is well motivated. I especially liked that instead of focusing on variable level disentanglement the authors have opted for block level disentanglement. This is a good way to relax the assumptions of the model without being completely unconstrained. 2. The theoretical motivation seems good (but see below). It is always a bonus when researchers can provide some theoretical justification for their work. 3. Experimental evidence is convincing. I especially liked the analysis of the disentanglement of structured datasets and the results look extremely promising.

Weaknesses

No serious weakness. I have some comments regarding how section 2 and 3 are written but otherwise it is a solid paper.

Questions

In general my questions revolve around the quality of the plots and some results that I think are missing. 1. I would like to sees disentanglement scores for the comparison models in Figure 3. While it is true that these do not posses explicit block level disentanglement, this could potentially emerge from training. I personally don't believe this is likely, but it is still important that the authors show that it is not the case. 2. Why are there no disentanglement scores for the cart pole dataset? The plot is very small too. This needs must be larger otherwise it is not easy to read. Figure 5 has the same issue.

Rating

7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

3 good

Limitations

1. Section 2 could use a slight rewrite. Each of the propositions in lines 98 to 113 start the same way. Seems like it should be possible to just use one heading and enumerate the propositions afterward. 2. I would prefer if the authors gave more intuitions in section 3 and left the theorem for the appendix. I find that when reading articles it's much easier to reason about the approaches if a good intuition is given than if I am presented with a technical derivation of a theorem. Speaking of which it is not clear why property A2 in Theorem 1 is needed. Also, I cannot find what the definition of $\hat{s}$ in the text until it is used in Definition 1.

Reviewer oFQM2023-08-13

Thank you for the detailed response. Regarding A6: Intrinsic rewards are non-stationary, will the method adapt to changing rewards? For the same state, the reward will change with time depending on how many times the state has been visited. Overall, I am convinced with the response and hope the authors will make the changes to the paper. I have updated my score.

Authorsrebuttal2023-08-14

Thank you very much for carefully reviewing our response

Thank you very much for carefully reviewing our response and promptly updating us. Your attention is highly appreciated! In regard to the intrinsic reward scenario you proposed, one potential approach could be to include the number of times the state has been visited in the reward function. This may help capture the type of nonstationarity you mentioned. Thank you!

Reviewer oFQM2023-08-14

I understand that the count of states can account for uncertainty. But based on this intrinsic reward- the state representation can be factorized into components that depend on reward and do not depend on reward. As the reward is changing, my question is more about whether the learned state embedding will adapt to these changing rewards.

Authorsrebuttal2023-08-20

Thank you once again for your thoughtful insights. We truly appreciate it. Below, we carefully check various cases when the reward function is nonstationary. 1) Case 1: If changes in the reward function can be captured by certain change factors, represented as $r_{t+1} = f(s_t, a_t, c_t, \eta_t)$, where $c_t$ denotes change factors (which could be unobserved) that vary across conditions or evolve smoothly over time, and $\eta_t$ represents stationary random noise if presents. In this situation, our approach can readily adapt to recover the reward-related state representations $s_t$ by involving $c_t$, as the shifts in distribution are encapsulated by $c_t$. This scenario has also been discussed in AdaRL. 2) Case 2: For general nonstationary reward functions, such as $r_{t+1}=f_t (s_t, a_t, \eta_t)$, where distribution shifts cannot be characterized by $c_t$, the performance would be influenced by the non-stationarity of the reward function. In such cases, achieving stable disentanglement becomes unattainable, making IFactor potentially unsuitable. A particular instance, as you mentioned, is that the reward is a function of the number of times the state has been visited. We will include the discussions about these cases in the final section and are investigating IFactor's performance in the face of varying degrees of reward function non-stationarity. Your profound insights and valuable comments are greatly appreciated. Thank you very much!

Reviewer gMe82023-08-14

I thank the authors for their response. My concerns have been addressed and I look forward to their updated version with the proposed changes.

Authorsrebuttal2023-08-15

Thank you very much for carefully reviewing our response. We really appreciate your feedback and will make sure to include the changes into our updated version. Thank you!

Reviewer qxcU2023-08-20

Thank you for the detailed explanations which have clarified my concerns. I am willing to raise my score.

Authorsrebuttal2023-08-20

Thank you for your thorough review and subsequent feedback on our response. We truly value your insights as they significantly contribute to the improvement of our paper. Thank you!

Program Chairsdecision2023-09-21

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC