Summary
## Main summary
The authors propose Diff-Rep, an algorithmic framework leveraging diffusion models for learning spectral representations of MDPs, from which relevant quantities such as the Q-function can be linearly decoded.
The main methodological contribution of the paper is showing that spectral representations can be learned using a diffusion-like loss function, obtained by exploring the connection between energy-based models (EBMs) and diffusion models. The resulting method, however, does not require sampling from the diffusion model, and so requires less wall time. The authors also show how to perform online policy optimization using Diff-Rep.
They evaluate their method on Gym-MuJoCo locomotion tasks, which are MDP-based, and on image-based partially observable MDP tasks. Diff-Rep achieves similar or superior performance to baseline methods on most locomotion tasks, and consistently surpasses the performance and wall-time of PolyGRAD, a recent diffusion-based trajectory prediction model.
## More detailed summary of methods
Their framework assumes the transition function $\mathbb{P}(s’ | s, a)$ can be written as an inner product of state-action features $\phi^*(s, a)$ and next-state features $\mu(s’)$: $\mathbb{P}(s’ | s, a) = \langle \phi^*(s, a), \mu(s’) \rangle$.
The authors propose modeling this transition function using an Energy-Based Model (EBM), from which they obtain explicit forms for $\phi^*$ and $\mu^*$ as random Fourier features.
Next, by considering a noised next state $\tilde{s}’$, they obtain a relation that must be satisfied by the energy term of this EBM. They then derive from this relation a diffusion-like loss which can be used to train the parameters of the EBM.
To learn the state-action features $\phi^*$, they further include a regularization term incentivizing orthonormality of the entries of $\phi^*$. $\phi^*$ can then be optimized jointly with the EBM, sharing many similarities with the training of Denoising Diffusion Probabilistic Models.
Finally, the authors show how to jointly learn representations $\phi^*$, a Q-function, and a policy $\pi$ online, leveraging $\phi^*$ to parameterize the Q-function. They further propose including an Upper Confidence Bound (UCB) bonus to rewards during optimization to incentivize exploration.
Strengths
1. Significance of research question: leveraging the flexibility and representation power of diffusion models has been actively researched recently, and their expensive sampling loop has proved a challenge (e.g. Janner et al. 2022, section 5.4). The authors consider the problem of reaping the benefits of diffusion in decision-making, but without incurring in this inefficiency.
1. Originality: while learning spectral representations for MDPs was already present in prior work, the authors’ approach of parameterizing the transition function and spectral representations using an EBM and training it via a diffusion-like loss function is original.
1. Quality of exposition and overall quality: I believe these can be significantly improved. See Weaknesses.
1. Quality of evaluation: the authors compare the performance of Diff-Rep on Gym-MuJoCo locomotion tasks (e.g. Hopper, HalfCheetah) and on a partially-observable image-based task from the Meta-World benchmark. They consider several model-based and model-free baselines, as well as other techniques based on learning representations. They demonstrate performance gains on most MDP and POMDP tasks, and also highlight a gain in wall time compared to PolyGRAD (Rigter et al. 2024).
1. In addition, they give qualitative results showing the diffusion model trained via Diff-Rep is able to reconstruct scenes with good fidelity in the setting of their POMDP experiment.
Weaknesses
1. Is the singular value decomposition of the transition operator taken as an assumption, or do the authors claim it holds for any MDP? Other works (e.g. Ren et al. 2022a) list this decomposition as an assumption, but the phrasing in line 82 (“one can always factorize [...]”) seems to claim that it holds in general, provided one does not require the representations to take values in finite dimensions. If the authors do claim this, I believe either a citation or a proof would be warranted.
1. On a similar note, the authors claim on line 63 that they show “diffusion-based representations are sufficiently expressive to represent the value function of any policy”. It is not clear to me that either the exposition of the methods or the experiments prove this in such generality.
1. The claim on line 93 that “the learning of the ϕ* is essentially equivalent to un-normalized conditional density estimation” seems unsupported by a citation or an explanation. Similarly for the claim that “learning requires full-coverage data, while the exploration strategy requires an accurate ϕ*” in line 96.
1. Considering the central role of EBMs and random Fourier features in the derivation of the method, I believe a brief exposition about them in Section 2 would be warranted, in particular to clarify the $\langle \cdot, \cdot, \rangle_{\mathcal{N}(\omega)}$ notation in Equation 9.
1. Further, appropriate citations for EBMs seem to be missing in Section 3.2.
1. An explicit definition of $\nu(\tilde{s}’, \beta)$ is missing in Equation 12.
Clarity and writing:
The paper contains a relatively large number of what seem to me like grammar mistakes. Here is a non-exhaustive list of examples and suggestions for edits:
1. Line 29: “Exploring the potential of diffusion models for sequential decision-making is increasingly being investigated.” -> “The potential of diffusion models for sequential decision-making is increasingly being investigated.”
1. Line 50: “to avoid suboptimal policy” -> “to avoid a suboptimal policy”
1. Line 99: “the existing methods either require [...] or relies on” -> “the existing methods either require [...] or rely on”
1. Line 105: “After T-step” -> “After T steps”
1. Line 110: “Recognize the diffusion models are [...], the ELBO naturally as a choice for learning,” -> “Recognizing that diffusion models are [...], maximizing the ELBO arises as a natural choice:”
1. Line 117: “as a neural networks” -> “as a neural network”
1. Line 118: “the samples can be generated from [...], and then, following [...]” -> “the samples can be generated by sampling [...], and then following [...]”
1. Line 155: “We apply the EBM for transition operator” -> “We parameterize the transition operator using an EBM”
1. Line 176: “we consider the samples from dynamics s ′ ∼ P(s ′|s, a) is perturbed with Gaussian noise” -> “we consider perturbing the samples from dynamics s ′ ∼ P(s ′|s, a) with Gaussian noise”
1. Line 178: “$\mathbb{P}(\tilde{s}’|s, a; \alpha) \to \mathbb{P}(s’|s, a)$” -> “$\mathbb{P}(\tilde{s}’|s, a; \beta) \to \mathbb{P}(s’|s, a)$”
Questions
1. In line 177, why is noising chosen to be $\mathbb{P}(s’|s, a) = \mathcal{N}(\sqrt{1-\beta}s’, \beta \sigma^2 I)$, as opposed to $\mathbb{P}(s’|s, a) = \mathcal{N}(\sqrt{1-\beta}s’, \beta I)$, as is normally done, e.g. in Section 2? The presence of the $\sigma^2$ factor means the variance need not be preserved. Is this intentional? If so, what drove this design decision, and how do you choose $\sigma^2$?
1. In line 591, it seems to me that the second term equals 0 by applying the tower property conditioning on $\tilde{s}’$, $s$ and $a$. Is this correct? It might be good to make this explicit.
Limitations
The authors include one sentence addressing limitations in the conclusion, referencing the fact that their method has not been evaluated on real-world data.
My view is that the main limitation of this work is exposition and clarity, which would warrant significant revision before publication. Particularly critical are unjustified claims, lack of clarity regarding the assumptions of the method, and several grammar/writing issues, as outlined in the Weaknesses section.