top of page
  • Writer's pictureAnjaneya Turai

EDICT : Putting the 'Art' in Artificial Intelligence

Text-to-image generation is an area of Artificial Intelligence that has seen a lot of innovation in recent years. With the help of models like ChatGPT, it is now possible to generate an image based on a given text description. However, there is still a lot of room for improvement when it comes to text-based image editing. Researchers at Salesforce have now developed a new algorithm called EDICT (Exact Diffusion Inversion via Coupled Transformations) that aims to address this issue.

EDICT is a text-to-image diffusion generation algorithm that uses any existing diffusion model. In image generation, diffusion models are generative models that use a diffusion process to produce new images. The diffusion process begins from a random image and then iteratively filters it by applying a series of transformations until it reaches a final image similar to the target image.

In order to edit an image, EDICT works on the concept of obtaining a noisy image that would exactly produce the original image when provided with the original text or the prompt. It's a kind of inverse noising technique. This way, if the original text is slightly altered, the edited image would be mostly unchanged with just the required alterations.

For example, consider the task of generating an image of a cat surfing in water by editing an existing image of a surfing dog. In traditional methods, a lot of details and minute information is lost, such as the waves, the color of the board, etc. This is because, in this method, noise is simply added to the original image to generate the new one. In the EDICT technique, reverse generation is carried out by finding a noisy image that would exactly generate the original image. This noisy image then generates the actual image of the surfing dog with the help of the textual caption. The noise from the generated image is copied to query the model again with the picture without noise. Followed by this, the tweaking is done in the text by simply replacing the word dog with the word cat, and finally, a comparatively detailed edited image of a surfing cat is obtained. EDICT works on the idea of making two identical copies of an image and alternatively improving each one of them with details from the other in a reversible manner.

EDICT is a promising approach to text-based image editing, as it addresses the issue of inconsistencies and lack of detail in current models. However, it is important to note that EDICT is still a new algorithm and more research is needed to fully understand its potential benefits and limitations.

The Merits of EDICT include:

  1. The ability to preserve important content of the image by inverting the generation process

  2. The possibility to generate a more detailed and accurate image

  3. The ability to edit images in a more reversible manner

The Demerits of EDICT include:

  1. The algorithm is still new, and more research is needed to understand its full potential

  2. The algorithm may not be suitable for all types of images or editing tasks.

  3. The complexity of the algorithm may make it difficult to implement and use for certain applications.

Overall, EDICT is a promising new approach to text-based image editing that has the potential to improve the accuracy and detail of generated images. However, more research is needed to fully understand its capabilities and limitations. To Know more about Salesforce's EDICT - CLICK HERE!

- Anjaneya Krishna Turai

14 views0 comments


bottom of page