DM-Align: Leveraging the Power of Natural Language Instructions to Make Changes to Images

Maria Mihaela Trusca, Tinne Tuytelaars, Marie-Francine Moens
4/27/2024
cs.CV

No official code found. Best implementation: cdgco/dream-api (26 stars, MIT, last commit 2023-07-29).

Abstract

Text-based semantic image editing assumes the manipulation of an image using a natural language instruction. Although recent works are capable of generating creative and qualitative images, the problem is still mostly approached as a black box sensitive to generating unexpected outputs. Therefore, we propose a novel model to enhance the text-based control of an image editor by explicitly reasoning about which parts of the image to alter or preserve. It relies on word alignments between a description of the original source image and the instruction that reflects the needed updates, and the input image. The proposed Diffusion Masking with word Alignments (DM-Align) allows the editing of an image in a transparent and explainable way. It is evaluated on a subset of the Bison dataset and a self-defined dataset dubbed Dream. When comparing to state-of-the-art baselines, quantitative and qualitative results show that DM-Align has superior performance in image editing conditioned on language instructions, well preserves the background of the image and can better cope with long text instructions.

View on arXivView PDF

Code Implementations(1)

cdgco/dream-apiCommunity100%
MIT

NodeJS API for Wombo Dream

264JavaScriptMay 11, 20223 years agoMIT
apidreamnodejswombowombo-dream

Similar Papers

Cite this paper

@article{trusca2024dmalign,
  title  = {DM-Align: Leveraging the Power of Natural Language Instructions to Make Changes to Images},
  author = {Maria Mihaela Trusca and Tinne Tuytelaars and Marie-Francine Moens},
  year   = {2024},
  eprint = {2404.18020},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.18020v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.18020.svg)](https://codeofpaper.com/paper/2404.18020)

Discussion