Loading AI tools
Image-generating deep-learning model From Wikipedia, the free encyclopedia
DALL·E, DALL·E 2, and DALL·E 3 (pronounced DOLL-E) are text-to-image models developed by OpenAI using deep learning methodologies to generate digital images from natural language descriptions known as "prompts".
Developer(s) | OpenAI |
---|---|
Initial release | 5 January 2021 |
Stable release | DALL·E 3
/ 10 August 2023 |
Type | Text-to-image model |
Website | labs |
The first version of DALL-E was announced in January 2021. In the following year, its successor DALL-E 2 was released. DALL·E 3 was released natively into ChatGPT for ChatGPT Plus and ChatGPT Enterprise customers in October 2023,[1] with availability via OpenAI's API[2] and "Labs" platform provided in early November.[3] Microsoft implemented the model in Bing's Image Creator tool and plans to implement it into their Designer app.[4]
DALL·E was revealed by OpenAI in a blog post on 5 January 2021, and uses a version of GPT-3[5] modified to generate images.
On 6 April 2022, OpenAI announced DALL·E 2, a successor designed to generate more realistic images at higher resolutions that "can combine concepts, attributes, and styles".[6] On 20 July 2022, DALL·E 2 entered into a beta phase with invitations sent to 1 million waitlisted individuals;[7] users could generate a certain number of images for free every month and may purchase more.[8] Access had previously been restricted to pre-selected users for a research preview due to concerns about ethics and safety.[9][10] On 28 September 2022, DALL·E 2 was opened to everyone and the waitlist requirement was removed.[11] In September 2023, OpenAI announced their latest image model, DALL·E 3, capable of understanding "significantly more nuance and detail" than previous iterations.[12] In early November 2022, OpenAI released DALL·E 2 as an API, allowing developers to integrate the model into their own applications. Microsoft unveiled their implementation of DALL·E 2 in their Designer app and Image Creator tool included in Bing and Microsoft Edge.[13] The API operates on a cost-per-image basis, with prices varying depending on image resolution. Volume discounts are available to companies working with OpenAI's enterprise team.[14]
The software's name is a portmanteau of the names of animated robot Pixar character WALL-E and the Catalan surrealist artist Salvador Dalí.[15][5]
In February 2024, OpenAI began adding watermarks to DALL-E generated images, containing metadata in the C2PA (Coalition for Content Provenance and Authenticity) standard promoted by the Content Authenticity Initiative.[16]
The first generative pre-trained transformer (GPT) model was initially developed by OpenAI in 2018,[17] using a Transformer architecture. The first iteration, GPT-1,[18] was scaled up to produce GPT-2 in 2019;[19] in 2020, it was scaled up again to produce GPT-3, with 175 billion parameters.[20][5][21]
DALL·E has three components: a discrete VAE, an autoregressive decoder-only Transformer (12 billion parameters) similar to GPT-3, and a CLIP pair of image encoder and text encoder.[22]
The discrete VAE can convert an image to a sequence of tokens, and conversely, convert a sequence of tokens back to an image. This is necessary as the Transformer does not directly process image data.[22]
The input to the Transformer model is a sequence of tokenized image caption followed by tokenized image patches. The image caption is in English, tokenized by byte pair encoding (vocabulary size 16384), and can be up to 256 tokens long. Each image is a 256×256 RGB image, divided into 32×32 patches of 4×4 each. Each patch is then converted by a discrete variational autoencoder to a token (vocabulary size 8192).[22]
DALL·E was developed and announced to the public in conjunction with CLIP (Contrastive Language-Image Pre-training).[23] CLIP is a separate model based on contrastive learning that was trained on 400 million pairs of images with text captions scraped from the Internet. Its role is to "understand and rank" DALL·E's output by predicting which caption from a list of 32,768 captions randomly selected from the dataset (of which one was the correct answer) is most appropriate for an image.[24]
A trained CLIP pair is used to filter a larger initial list of images generated by DALL·E to select the image that is closest to the text prompt.[22]
DALL·E 2 uses 3.5 billion parameters, a smaller number than its predecessor.[22] Instead of an autoregressive Transformer, DALL·E 2 uses a diffusion model conditioned on CLIP image embeddings, which, during inference, are generated from CLIP text embeddings by a prior model.[22] This is the same architecture as that of Stable Diffusion, released a few months later.
DALL·E can generate imagery in multiple styles, including photorealistic imagery, paintings, and emoji.[5] It can "manipulate and rearrange" objects in its images,[5] and can correctly place design elements in novel compositions without explicit instruction. Thom Dunn writing for BoingBoing remarked that "For example, when asked to draw a daikon radish blowing its nose, sipping a latte, or riding a unicycle, DALL·E often draws the handkerchief, hands, and feet in plausible locations."[25] DALL·E showed the ability to "fill in the blanks" to infer appropriate details without specific prompts, such as adding Christmas imagery to prompts commonly associated with the celebration,[26] and appropriately placed shadows to images that did not mention them.[27] Furthermore, DALL·E exhibits a broad understanding of visual and design trends.[citation needed]
DALL·E can produce images for a wide variety of arbitrary descriptions from various viewpoints[28] with only rare failures.[15] Mark Riedl, an associate professor at the Georgia Tech School of Interactive Computing, found that DALL-E could blend concepts (described as a key element of human creativity).[29][30]
Its visual reasoning ability is sufficient to solve Raven's Matrices (visual tests often administered to humans to measure intelligence).[31][32]
DALL·E 3 follows complex prompts with more accuracy and detail than its predecessors, and is able to generate more coherent and accurate text.[33][12] DALL·E 3 is integrated into ChatGPT Plus.[12]
Given an existing image, DALL·E 2 can produce "variations" of the image as individual outputs based on the original, as well as edit the image to modify or expand upon it. DALL·E 2's "inpainting" and "outpainting" use context from an image to fill in missing areas using a medium consistent with the original, following a given prompt.
For example, this can be used to insert a new subject into an image, or expand an image beyond its original borders.[34] According to OpenAI, "Outpainting takes into account the image’s existing visual elements — including shadows, reflections, and textures — to maintain the context of the original image."[35]
DALL·E 2's language understanding has limits. It is sometimes unable to distinguish "A yellow book and a red vase" from "A red book and a yellow vase" or "A panda making latte art" from "Latte art of a panda".[36] It generates images of "an astronaut riding a horse" when presented with the prompt "a horse riding an astronaut".[37] It also fails to generate the correct images in a variety of circumstances. Requesting more than three objects, negation, numbers, and connected sentences may result in mistakes, and object features may appear on the wrong object.[28] Additional limitations include handling text — which, even with legible lettering, almost invariably results in dream-like gibberish — and its limited capacity to address scientific information, such as astronomy or medical imagery.[38]
DALL·E 2's reliance on public datasets influences its results and leads to algorithmic bias in some cases, such as generating higher numbers of men than women for requests that do not mention gender.[38] DALL·E 2's training data was filtered to remove violent and sexual imagery, but this was found to increase bias in some cases such as reducing the frequency of women being generated.[39] OpenAI hypothesize that this may be because women were more likely to be sexualized in training data which caused the filter to influence results.[39] In September 2022, OpenAI confirmed to The Verge that DALL·E invisibly inserts phrases into user prompts to address bias in results; for instance, "black man" and "Asian woman" are inserted into prompts that do not specify gender or race.[40]
A concern about DALL·E 2 and similar image generation models is that they could be used to propagate deepfakes and other forms of misinformation.[41][42] As an attempt to mitigate this, the software rejects prompts involving public figures and uploads containing human faces.[43] Prompts containing potentially objectionable content are blocked, and uploaded images are analyzed to detect offensive material.[44] A disadvantage of prompt-based filtering is that it is easy to bypass using alternative phrases that result in a similar output. For example, the word "blood" is filtered, but "ketchup" and "red liquid" are not.[45][44]
Another concern about DALL·E 2 and similar models is that they could cause technological unemployment for artists, photographers, and graphic designers due to their accuracy and popularity.[46][47] DALL·E 3 is designed to block users from generating art in the style of currently-living artists.[12]
In 2023 Microsoft pitched the United States Department of Defense to use DALL·E models to train battlefield management system.[48] In January 2024 OpenAI removed its blanket ban on military and warfare use from its usage policies.[49]
Most coverage of DALL·E focuses on a small subset of "surreal"[23] or "quirky"[29] outputs. DALL-E's output for "an illustration of a baby daikon radish in a tutu walking a dog" was mentioned in pieces from Input,[50] NBC,[51] Nature,[52] and other publications.[5][53][54] Its output for "an armchair in the shape of an avocado" was also widely covered.[23][30]
ExtremeTech stated "you can ask DALL·E for a picture of a phone or vacuum cleaner from a specified period of time, and it understands how those objects have changed".[26] Engadget also noted its unusual capacity for "understanding how telephones and other objects change over time".[27]
According to MIT Technology Review, one of OpenAI's objectives was to "give language models a better grasp of the everyday concepts that humans use to make sense of things".[23]
Wall Street investors have had a positive reception of DALL·E 2, with some firms thinking it could represent a turning point for a future multi-trillion dollar industry. By mid-2019, OpenAI had already received over $1 billion in funding from Microsoft and Khosla Ventures,[55][56][57] and in January 2023, following the launch of DALL·E 2 and ChatGPT, received an additional $10 billion in funding from Microsoft.[58]
Japan's anime community has had a negative reaction to DALL·E 2 and similar models.[59][60][61] Two arguments are typically presented by artists against the software. The first is that AI art is not art because it is not created by a human with intent. "The juxtaposition of AI-generated images with their own work is degrading and undermines the time and skill that goes into their art. AI-driven image generation tools have been heavily criticized by artists because they are trained on human-made art scraped from the web."[7] The second is the trouble with copyright law and data text-to-image models are trained on. OpenAI has not released information about what dataset(s) were used to train DALL·E 2, inciting concern from some that the work of artists has been used for training without permission. Copyright laws surrounding these topics are inconclusive at the moment.[8]
After integrating DALL·E 3 into Bing Chat and ChatGPT, Microsoft and OpenAI faced criticism for excessive content filtering, with critics saying DALL·E had been "lobotomized."[62] The flagging of images generated by prompts such as "man breaks server rack with sledgehammer" was cited as evidence. Over the first days of its launch, filtering was reportedly increased to the point where images generated by some of Bing's own suggested prompts were being blocked.[62][63] TechRadar argued that leaning too heavily on the side of caution could limit DALL·E's value as a creative tool.[63]
Since OpenAI has not released source code for any of the three models, there have been several attempts to create open-source models offering similar capabilities.[64][65] Released in 2022 on Hugging Face's Spaces platform, Craiyon (formerly DALL·E Mini until a name change was requested by OpenAI in June 2022) is an AI model based on the original DALL·E that was trained on unfiltered data from the Internet. It attracted substantial media attention in mid-2022, after its release due to its capacity for producing humorous imagery.[66][67][68]
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.