Pre-trained Text-to-Image Diffusion Models Are Versatile Representation Learners for Control

Embodied AI agents require a fine-grained understanding of the physical world mediated through visual and language inputs. Such capabilities are difficult to learn solely from task-specific data. This has led to the emergence of pre-trained vision-language models as a tool for transferring representations learned from internet-scale data to downstream tasks and new domains. However, commonly used contrastively trained representations such as in CLIP have been shown to fail at enabling embodied agents to gain a sufficiently fine-grained scene understanding -- a capability vital for control. To address this shortcoming, we consider representations from pre-trained text-to-image diffusion models, which are explicitly optimized to generate images from text prompts and as such, contain text-conditioned representations that reflect highly fine-grained visuo-spatial information. Using pre-trained text-to-image diffusion models, we construct Stable Control Representations which allow learning downstream control policies that generalize to complex, open-ended environments. We show that policies learned using Stable Control Representations are competitive with state-of-the-art representation learning approaches across a broad range of simulated control settings, encompassing challenging manipulation and navigation tasks. Most notably, we show that Stable Control Representations enable learning policies that exhibit state-of-the-art performance on OVMM, a difficult open-vocabulary navigation benchmark.

Paper

Similar papers

Peer review

Reviewer zJpU8/10 · confidence 3/52024-06-26

Summary

The research question is whether representation from image generation models are superior to other pre-training paradigms (i.e. contrastive CLIP) for embodied/navigation-type of tasks. The main intuition given is that these tasks require a lot of fine-grained (e.g. spatial) understanding. While CLIP has been used as a foundation model in traditional vision or some vision+language tasks, it has not shown much promise for robotic control. Their method is similar to previous works and each design choice is ablated/explained : First a certain timestep (i.e. noise level) is chosen for denoising a given image with an associated text prompt. Then a concatenation of intermediate U-Net layer activations is used as the “Stable Control Representation” (SCR). They evaluate their method on three different types of robotic-related tasks and show that SCR is overall the strongest, albeit not the strongest on every single task. For example, R3M is slightly stronger on the few-shot manipulation tasks (Meta World, Franka Kitchen) but is drastically worse on navigation.

Strengths

This is the first paper to make Diffusion Model representations work for robotic control tasks (novelty). The work is also situated clearly in the previous literature context and the technical background is well explained. Similarly, the paper is well structured and very easy to follow. Each part of the paper is well motivated and answers a natural question or follow-up step. Regarding the technical details, it is rigorous work that actually advances science and makes it easy for others to use for their research, e.g. in the appendix it is mentioned: “We re-ran all the methods using the evaluation repository provided with the work, and obtained different results compared to the reported numbers in Karamcheti et al. [20], which we attribute to a bug that we fixed related to the computation of the precision metrics.”. Or similarly they note in the appendix that the original setup for the Gaze task leads to a trivial solution and modify the task setup. This shows the authors don’t just blindly adopt tasks but critically investigate details of all the data or tasks they chose. The authors use baselines, i.e. showing SD-VAE is an insightful baseline that is easily beat. Similarly, ensuring fair and scientific baselines comparison i.e. in l. 327 - 329 where baselines are made stronger with insights from the paper to make it fair. Lastly, it is great to see an anonymous code repo that seems to be done well and with the aim of reproducibility.

Weaknesses

Only minor improvements, hard to beat some baselines properly on first glance. But on second glance it seems like stronger general representations, some of the other baselines such as R3M are only useful on some tasks but drastically drop on others. Maybe for people not familiar with this exact domain, you could explain more how these baselines work and why they get the numbers they do? For example, I am a vision-and-language person who is also familiar with all the text-to-image modeling advances but not so much with the navigation/control details. It is briefly acknowledged in section 5.1. but imo requires a deeper investigation: is the success primarily from fusing multiple layers and not from the fact that it is a diffusion model vs. a CLIP-like model? The authors acknowledge that such an approach is less feasible with i.e. ViT since the feature maps are much larger but nonetheless this question seems important enough to nonetheless investigate further. Overall the paper is very well written but if I had to pick a confusing section, it is 5.3 where too many things are introduced at once. The last paragraph in the discussion about the simplicity of finetuning SCR compared to CLIP comes out of nowhere and should be discussed earlier, and the claim about sophisticated negative sampling only cites the original CLIP paper which afaik only has random negative samples? There is an experiment in the appendix that somewhat supports this but also does not discuss the negative sampling. Not a major issue but should be made clearer.

Questions

Why cite Imagen in l. 36? Reference to Table 2a/b in section 5.1 and 5.2 are mixed up, just a small fix. “bilinearly interpolate them so that they are of a common spatial dimension and can be stacked together”: this should be specified or shown in equations formally to understand exactly what is done. Is this method common for extracting/unifying internal representations?

Rating

8

Confidence

3

Soundness

4

Presentation

4

Contribution

3

Limitations

There are not many concerns to address and the authors wrote an appropriate short section in the Appendix.

Reviewer ZVD86/10 · confidence 4/52024-07-09

Summary

This paper studies how diffusion models can be adapted to provide rich representations for training policies. They study how to extract features from a pre-trained Stable Diffusion model in terms of 3 questions: which layers, which diffusion timestep and which text prompts help for downstream task performance. They evaluate these learned representations on a number of robotics tasks like manipulation, navigation and a combination of the two tasks. Their proposed approach performs better than baselines for many tasks.

Strengths

1. Lots of ablation experiments to validate the final design choice. 2. Evaluating a single model for both navigation and manipulation tasks. This is an interesting setup that is becoming more and more relevant with full-body control and robots that need to do both tasks.

Weaknesses

1. It is difficult to ascertain what is the key reason why the performance difference exists between the baselines and proposed method. The baselines have different training data, model sizes, and training losses. While the presented approach has better performance, it is important to identify what is key cause of this: more data, bigger model or the diffusion loss? Furthermore, there seems to be evidence that for manipulation tasks the baselines (LIV, R3M etc) are good but the performance drops only for navigation tasks which is not the key focus of those baselines.

Questions

1. How do the methods compare when a common model, feature pooling strategy and training dataset are used? It is okay to limit to one kind of task (manipulation/navigation) for this experiment. 2.What if the same feature pooling strategy is applied to baselines like CLIP?. For example if you aggregate spatial features of CLIP from different layers does that help performance? Seems some multi-layer feature aggregation was done for Tables 1(b) and 1(c) but not 1(a) ? 3. Why is CLIP-B used in the ImageNav experiments and not CLIP-L?

Rating

6

Confidence

4

Soundness

2

Presentation

4

Contribution

2

Limitations

Yes.

Reviewer sdTb6/10 · confidence 3/52024-07-10

Summary

This paper introduces SCR, a method that extracts representations from a pre-trained text-to-image diffusion model for learning downstream robotics control policies. Given a noised input image and prompt text, the visual representation is extracted from selected layers of the denoising U-Net. The extraction method is meticulously designed with extensive experiments and analysis to support the design choices. Experiments on multiple benchmarks across three tasks—few-shot imitation learning, image-goal navigation, and open-vocabulary mobile manipulation—demonstrate competitive performance, verifying the method’s ability to generalize to open-ended environments.

Strengths

1. Although the idea of replacing CLIP with diffusion models for extracting representations for robotic control is straightforward, the technical details, supported by comprehensive ablation and analysis of the design choices, are insightful and convincing. 2. The paper has potential for future impact. The method's ability to handle complex and open-ended environments suggests it could be generalized and applied to many other tasks. 3. The paper is well-written and easy to read. 4. The comparison experiments are thorough across multiple tasks and benchmarks, demonstrating the proposed method's strong performance.

Weaknesses

1. As noted in the related work, [50] found that the optimal noising timestep selection can vary depending on the task due to the required granularity of predictions. However, the ablation study for fixed timestep selection is performed only on the Franka-Kitchen benchmark. Would the results differ if tested on different tasks or benchmarks? 2. Additionally, all ablation studies in Section 5 are conducted solely on the Franka-Kitchen benchmark. SCR-FT shows a performance drop compared to the non-finetuned version on the ImageNav benchmark, attributed to the finetuning being performed only with table-top manipulation datasets. This raises concerns that different tasks have notable domain gaps and may require different features from the inputs. More experiments, or at least reasonable explanations, on whether the optimal framework design varies across tasks would be beneficial.

Questions

Please kindly refer to the weaknesses.

Rating

6

Confidence

3

Soundness

3

Presentation

3

Contribution

2

Limitations

Yes, the authors discussed the limitations that downstream performance depends on design choices for representation extraction and the higher run-time cost of using a pre-trained model with more parameters.

Reviewer QYDZ6/10 · confidence 4/52024-07-12

Summary

This paper introduces Stable Control Representations (SCR), a novel approach that aggregates intermediate outputs from diffusion models for robotic control tasks. The authors validate its effectiveness on various benchmarks, including manipulation, navigation, and grasp point prediction. The key design space has been thoroughly ablated, showing SCR's superiority over other visual representation methods.

Strengths

1. Innovative Exploration: Visual representation is a fundamental challenge in robotics. Exploring the effectiveness of diffusion models in this context is intriguing and novel. 2. Comprehensive Experiments: The authors conducted extensive experiments covering various robotic tasks, diffusion steps, intermediate layer selection, and aggregation methods. The design space has been thoroughly explored. 3. Clear Writing and Organization: The paper is well-written and organized, making the narrative easy to follow.

Weaknesses

1. Lack of Real-World Validation: While SCR performs well on simulation baselines, real-world validation is missing. Demonstrating its effectiveness on real robots would significantly enhance the credibility and practical applicability of SCR. 2. Insufficient Evidence: Although the authors provide extensive empirical evidence of SCR's effectiveness, the paper lacks theoretical and quantitative analysis explaining why diffusion-based visual representations outperform other baselines. This theoretical backing would strengthen the paper's overall argument.

Questions

None

Rating

6

Confidence

4

Soundness

2

Presentation

4

Contribution

3

Limitations

Refer to the weaknesses section.

Reviewer 9EUL7/10 · confidence 3/52024-07-15

Summary

The paper investigates whether latent representations from a pre-trained tex-to-image generation model are useful for object manipulation or navigation tasks in embodied agents. The paper considers a few design choices in how to extract latent features from Stable Diffusion, that could lead to more versatile and useful features for downstream control tasks. The method is referred to as Stable Control Representation (SCR) with variants like additionally using cross-attention maps (SCR-Attn) or a finetuned version (SCR-FT). Experimental results show that SCR series can achieve comparable or better performance than general VL encoders like CLIP or method designed for control tasks.

Strengths

- The paper studies an interesting problem of using text-to-image diffusion models for embodied agent control. The paper is well-written and easy to understand. - The method considers many design choices of SCR in a very comprehensive way. The choices of different factors, from denoising steps to layer selection, have been clearly presented and justified later in the experiment. - The experiment seems well-designed and comprehensive. Most of the results support the benefit of using SCR for control tasks.

Weaknesses

- The method is loosely connected with diffusion mechanism and simply adopt Stable Diffusion as a feature extractor with one pass if I understand correctly. This loose connection is particularly amplified in Table 2a where timestep=0 ends up with the best performance. This basically indicates that the "generative" power of text-to-image models are not necessary for the task. In that sense, is it still necessary to use T2I diffusion models if one could find a visual encoder (e.g. ViT) trained with similar amount of images as Stable Diffusion? - The performance gap between SCR-FT and R3M in Meta-World and Franka-Kitchen indicates that the method may not generalize well to some scenarios. Could you give any insights about the performance gap? Is it related to domain shift or image style differences or any other reaons? - The order of Table 2 is different from descriptions in Sec. 5.1 and 5.2

Questions

See above

Rating

7

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

N/A

Authorsrebuttal2024-08-08

Dear Reviewer, Thank you so much again for all your feedback that has helped us improve our paper, and for raising your score to "strong accept"! Best, The authors

Reviewer ZVD82024-08-09

Thanks for adding the new experiments with CLIP and answering my questions in detail. Based on the replies, I am updating my score to weak accept. One final comment: given the new CLIP results it might be too harsh to say 'contrastively trained representations such as in CLIP have been shown to fail at enabling embodied agents' in the abstract.

Authorsrebuttal2024-08-10

Dear Reviewer, Thank you so much for your feedback which has helped us improve the paper and for recommending acceptance! We will change the phrasing as you suggested and include a subsection to discuss these findings in the revised manuscript! Best, The authors

Reviewer QYDZ2024-08-10

Thanks for your response. I agree that real-world experiments are unnecessary at this stage and I'm willing to raise the score.

Authorsrebuttal2024-08-10

Dear Reviewer, Thank you again for your valuable feedback that has helped us improve our paper, and for raising your score! Best, The authors

Reviewer sdTb2024-08-11

Thanks for the clarifications and the additional experiments. They have answered my questions. I believe the original score accurately reflects my positive assessment of the paper. I noticed a small typo in the table for question 1—the first column says "0, 0, 0", which I assume should be "0, 100, 200" given the texts. This doesn't impact my overall assessment.

Authorsrebuttal2024-08-12

Dear Reviewer 9EUL, The discussion periods ends tomorrow (August 13). We have made considerable effort to address the concerns and queries you have raised, and would be grateful for the opportunity to clear up any remaining queries you may have while we are still in the discussion period. Thank you.

Reviewer 9EUL2024-08-12

Thank you for the response

Most of the responses are convincing and have addressed my concerns. But I am not sure if I understand the sentence, *We hypothesized that the text-conditioning of a T2I generative model might enforce encoding semantics and the generation objective might incentivise retention of more fine grained visual detail in the representations.*, correctly. Is it because that SD adopts a freezed CLIP text encoder, so that you hypothesize that the text encoder enforces encoding semantics? (Btw, what is enforced to encode semantics by the text-conditioning stage?) I guess I just don't see how the concept of "encoding" or "retention of visual details" could fit into the diffusion process or is it just a very high-level interpretation as the target is to extract representations from a generative model?

Authorsrebuttal2024-08-13

Thank you for your response! We are happy to clarify our statement with respect to your question. > “I am not sure if I understand the sentence, “We hypothesized that the text-conditioning of a T2I generative model might enforce encoding semantics and the generation objective might incentivise retention of more fine grained visual detail in the representations., correctly. " > "Is it because that SD adopts a freezed CLIP text encoder, so that you hypothesize that the text encoder enforces encoding semantics? (Btw, what is enforced to encode semantics by the text-conditioning stage?)” Yes, more specifically, the signal from the text prompts is incorporated into the U-Net through the use of a (dot-product-based) cross-attention layer within each block. This incentivises the visual feature maps in each block to align with the text encodings selectively, thereby also aligning with language concepts. This is also evidenced by the fact that we can isolate word-aligned attention maps for each U-Net layer, which roughly correspond to the entity in the image referenced by the word (when projected onto the image). This is shown in Figures 9 and 10 of the appendix in our submission. > “I guess I just don't see how the concept of "encoding" or "retention of visual details" could fit into the diffusion process or is it just a very high-level interpretation as the target is to extract representations from a generative model?” Diffusion-based image generation models are trained to generate a final image by producing progressively more denoised versions of an existing noised image. To be able to refine and produce the image corresponding to the last few steps of denoising (likely only needing a few pixels to be edited or denoised), the model needs to encode the same level of visual details that a reconstruction/auto-encoding model might also encode. The works [55, 57] which we cite within our related work section also provide similar evidence for representation learning within diffusion models (for computer vision tasks). We also refer the reviewer to a recent survey paper that explores the interplay between diffusion models and representation learning in more detail. Thank you for giving us the opportunity to clarify the points above. Please let us know if you have any further questions! [1] Diffusion Models and Representation Learning: A Survey, https://arxiv.org/abs/2407.00783

Reviewer 9EUL2024-08-13

Thanks for the detailed response with references. It's interesting to learn about the connections and see how SD is also useful in embodied controls. I have raised my score.

Authorsrebuttal2024-08-13

Dear Reviewer, Thank you again for your engagement and valuable feedback that has helped us improve our paper, and for raising your score! Best, The authors

Program Chairsdecision2024-09-25

Decision

Accept (spotlight)

© 2026 NYSGPT2525 LLC