{"id":5954,"date":"2022-09-08T13:00:00","date_gmt":"2022-09-08T13:00:00","guid":{"rendered":"https:\/\/www.aiproblog.com\/index.php\/2022\/09\/08\/ai-system-makes-models-like-dall-e-2-more-creative\/"},"modified":"2022-09-08T13:00:00","modified_gmt":"2022-09-08T13:00:00","slug":"ai-system-makes-models-like-dall-e-2-more-creative","status":"publish","type":"post","link":"https:\/\/www.aiproblog.com\/index.php\/2022\/09\/08\/ai-system-makes-models-like-dall-e-2-more-creative\/","title":{"rendered":"AI system makes models like DALL-E 2 more creative"},"content":{"rendered":"<p>Author: Rachel Gordon | MIT CSAIL<\/p>\n<div>\n<p>The internet had a collective feel-good moment with the introduction of DALL-E, an artificial intelligence-based image generator inspired by artist Salvador Dali and the lovable robot WALL-E that uses natural language to produce whatever mysterious and beautiful image your heart desires. Seeing typed-out inputs like \u201csmiling gopher holding an ice cream cone\u201d instantly spring to life clearly resonated with the world.\u00a0<\/p>\n<p>Getting said smiling gopher and attributes to pop up on your screen is not a small task. DALL-E 2 uses something called a diffusion model, where it tries to encode the entire text into one description to generate an image. But once the text has a lot of more details, it&#8217;s hard for a single description to capture it all. Moreover, while they&#8217;re highly flexible, they sometimes struggle to understand the composition of certain concepts, like confusing the attributes or relations between different objects.\u00a0<\/p>\n<p>To generate more complex images with better understanding, scientists from MIT&#8217;s Computer Science and Artificial Intelligence Laboratory (CSAIL) structured the typical model from a different angle: they added a series of models together, where they all cooperate to generate desired images capturing multiple different aspects as requested by the input text or labels. To create an image with two components, say, described by two sentences of description, each model would tackle a particular component of the image.\u00a0\u00a0<\/p>\n<p>The seemingly magical models behind image generation work by suggesting a series of iterative refinement steps to get to the desired image. It starts with a \u201cbad\u201d picture and then gradually refines it until it becomes the selected image. By composing multiple models together, they jointly refine the appearance at each step, so the result is an image that exhibits all the attributes of each model. By having multiple models cooperate, you can get much more creative combinations in the generated images.\u00a0<\/p>\n<p>Take, for example, a red truck and a green house. The model will confuse the concepts of red truck and green house when these sentences get very complicated. A typical generator like DALL-E 2 might make a green truck and a red house, so it&#8217;ll swap these colors around. The team&#8217;s approach can handle this type of binding of attributes with objects, and especially when there are multiple sets of things, it can handle each object more accurately.<\/p>\n<p>\u201cThe model can effectively model object positions and relational descriptions, which is challenging for existing image-generation models. For example, put an object and a cube in a certain position and a sphere in another. DALL-E 2 is good at generating natural images but has difficulty understanding object relations sometimes,\u201d says MIT CSAIL PhD student and co-lead author Shuang Li, \u201cBeyond art and creativity, perhaps we could use our model for teaching. If you want to tell a child to put a cube on top of a sphere, and if we say this in language, it might be hard for them to understand. But our model can generate the image and show them.\u201d<\/p>\n<p><strong>Making Dali proud<\/strong>\u00a0<\/p>\n<p><a href=\"https:\/\/energy-based-model.github.io\/Compositional-Visual-Generation-with-Composable-Diffusion-Models\/\" target=\"_blank\" rel=\"noopener\">Composable Diffusion<\/a> \u2014 the team&#8217;s model \u2014 uses diffusion models alongside compositional operators to combine text descriptions without further training. The team&#8217;s approach more accurately captures text details than the original diffusion model, which directly encodes the words as a single long sentence. For example, given \u201ca pink sky\u201d AND \u201ca blue mountain in the horizon\u201d AND \u201ccherry blossoms in front of the mountain,\u201d the team&#8217;s model was able to produce that image exactly, whereas the original diffusion model made the sky blue and everything in front of the mountains pink.\u00a0<\/p>\n<p>\u201cThe fact that our model is composable means that you can learn different portions of the model, one at a time. You can first learn an object on top of another, then learn an object to the right of another, and then learn something left of another,\u201d says co-lead author and MIT CSAIL PhD student Yilun Du. \u201cSince we can compose these together, you can imagine that our system enables us to incrementally learn language, relations, or knowledge, which we think is a pretty interesting direction for future work.\u201d<\/p>\n<p>While it showed prowess in generating complex, photorealistic images, it still faced challenges since the model was trained on a much smaller dataset than those like DALL-E 2, so there were some objects it simply couldn&#8217;t capture.\u00a0<\/p>\n<p>Now that Composable Diffusion can work on top of generative models, such as DALL-E 2, the scientists want to explore continual learning as a potential next step. Given that more is usually added to object relations, they want to see if diffusion models can start to \u201clearn\u201d without forgetting previously learned knowledge \u2014 to a place where the model can produce images with both the previous and new knowledge.<\/p>\n<p>\u201cThis research proposes a new method for composing concepts in text-to-image generation not by concatenating them to form a prompt, but rather by computing scores with respect to each concept and composing them using conjunction and negation operators,\u201d says Mark Chen, co-creator of DALL-E 2 and research scientist at OpenAI. \u201cThis is a nice idea that leverages the energy-based interpretation of diffusion models so that <a href=\"https:\/\/energy-based-model.github.io\/compositional-generation-inference\/\"><u>old ideas<\/u><\/a> around compositionality using energy-based models can be applied. The approach is also able to make use of classifier-free guidance, and it is surprising to see that it outperforms the GLIDE baseline on various compositional benchmarks and can qualitatively produce very different types of image generations.\u201d<\/p>\n<p>\u201cHumans can compose scenes including different elements in a myriad of ways, but this task is challenging for computers,\u201d says Bryan Russel, research scientist at Adobe Systems. \u201cThis work proposes an elegant formulation that explicitly composes a set of diffusion models to generate an image given a complex natural language prompt.\u201d<\/p>\n<p>Alongside Li and Du, the paper&#8217;s co-lead authors are Nan Liu, a master&#8217;s student in computer science at the University of Illinois at Urbana-Champaign, and MIT professors Antonio Torralba and Joshua B. Tenenbaum. They will present the work at the 2022 <a href=\"https:\/\/twitter.com\/eccvconf\"><u>European Conference on Computer Vision<\/u><\/a>.<\/p>\n<p>The research was supported by Raytheon BBN Technologies Corp., Mitsubishi Electric Research Laboratory, and DEVCOM Army Research Laboratory.<\/p>\n<\/div>\n<p><a href=\"https:\/\/news.mit.edu\/2022\/ai-system-makes-models-like-dall-e-2-more-creative-0908\">Go to Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Rachel Gordon | MIT CSAIL The internet had a collective feel-good moment with the introduction of DALL-E, an artificial intelligence-based image generator inspired by [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/www.aiproblog.com\/index.php\/2022\/09\/08\/ai-system-makes-models-like-dall-e-2-more-creative\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":462,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/5954"}],"collection":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=5954"}],"version-history":[{"count":0,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/5954\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media\/456"}],"wp:attachment":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=5954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=5954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=5954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}