Make Me Happier: Evoking Emotions Through Image Diffusion Models

Qing Lin, Jingfeng Zhang, Yew Soon Ong, Mengmi Zhang · DOI

Abstract

We present EmoEditor, a novel diffusion-based framework designed for "emotion-evoked image generation." This task involves editing an image to elicit a specific target emotion while preserving its original structure and semantics. EmoEditor addresses the limitations of global style-based editing by focusing on local cues that drive human emotional response. Leveraging a new large-scale dataset, EmoPair, and an iterative "emotion critic" during inference, EmoEditor significantly outperforms existing state-of-the-art methods in both emotional accuracy and human preference.

Introduction

While AI-driven image generation has reached impressive heights, "emotional editing"—the ability to precisely alter the affective impact of an image—remains a significant challenge. Most existing tools rely on global adjustments, such as color temperature shifts or style transfers, which often fail to capture the nuanced, local visual cues that trigger specific human feelings. For instance, transforming a scene of a raging fire (evoking anger) into a peaceful meadow (evoking awe) requires identifying and replacing the primary emotional cue (the fire) with a semantically appropriate alternative, rather than just applying a green filter.

The authors identify three primary gaps in current research: a lack of large-scale paired emotional datasets, the difficulty in balancing global mood with local object modification, and the inadequacy of standard metrics like CLIP or SSIM for measuring emotional impact.

Methods: The EmoEditor Framework

EmoEditor is built upon a latent diffusion model (LDM) and incorporates several key innovations to achieve precise emotional control:

  • Dual-Branch Architecture: The model employs a local branch to maintain the original image's structural integrity and a global branch to inject the target emotion. It calculates an "emotion editing direction" ($e_{dir}$) by determining the vector difference between the source image's emotional state and the desired target state.
  • Neuro-Symbolic Alignment: During training, the model aligns its internal emotion embeddings with human-annotated text instructions (e.g., "add colorful balloons") using a CLIP-based alignment loss. This enables the model to "reason" about emotional transitions without requiring explicit text prompts during inference.
  • Iterative Emotion Inference (IEI): To ensure high-quality results, a recurrent feedback loop is used during generation. A pre-trained "emotion critic" evaluates the image; if it fails to meet a confidence threshold for the target emotion or deviates too much from the original structure (measured via SSIM), the model automatically adjusts and re-generates for up to 30 iterations.
EmoEditor's generation of 'amusement' by introducing local cues like heart-shaped lamps.

The EmoPair Dataset

To train EmoEditor, the researchers introduced EmoPair, the first large-scale dataset for emotion-evoked editing, containing approximately 340,000 image pairs. It consists of two subsets:

  • EPAS (Annotated Subset): 331,595 pairs derived from the InstructPix2Pix dataset, where an emotion predictor was used to label the source and target images.
  • EPGS (Generated Subset): 6,949 high-quality pairs. The authors used GPT-3 to write 50 general emotion-transition instructions, used those to edit images via InstructPix2Pix, and then had humans filter and rank the results.

Key Insights and Results

A central finding of this work is the importance of local cues. Emotions are often tied to specific objects; replacing "anger-inducing flames" with "cute-shaped lamps" is more effective than simple global brightening. Furthermore, the authors observed a valence asymmetry: generating negative emotions (fear, sadness) is generally easier as they are often triggered by singular, potent cues like fire or darkness, whereas positive emotions (awe, contentment) require a more complex combination of visual elements.

Comparison of EmoEditor (Ours) against baselines for the 'anger to awe' transition, demonstrating superior structural preservation and emotional shift.

In benchmarks against nine competitors, including specialized models and GPT-4o-based baselines:

  • Human Preference: Participants in "two-alternative forced choice" tests preferred EmoEditor's results over all other baselines, with preference rates between 53% and 69%.
  • ESMI Metric: The proposed Emotional Structure Matching Index (ESMI), which balances emotional shift and structural preservation, saw EmoEditor achieve a top score of 51.56%, outperforming the next best baseline (Neural Style Transfer) at 47.48%.

Limitations and Ethics

Despite its success, EmoEditor struggles with fine details on small human faces, sometimes resulting in distorted features when attempting to change expressions. Additionally, the study is limited to the 8-category Mikels emotion model, leaving more nuanced or mixed emotions for future work. Finally, the authors emphasize the ethical risks of emotional manipulation and call for further investigation into the societal implications of such technology.

Summary updated

BibTeX
@inproceedings{lin2025make,
  author = {Qing Lin and Jingfeng Zhang and Yew Soon Ong and Mengmi Zhang},
  title = {{Make Me Happier: Evoking Emotions Through Image Diffusion Models}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure