Introduction
Affective Image Manipulation (AIM) has traditionally been limited to global adjustments like color grading or style transfer—for instance, making a photo "blue" to evoke sadness. However, psychological research suggests that semantic content—the actual objects and actions in a scene—is a much stronger driver of emotion. EmoEdit is a new framework designed to bridge this gap, moving beyond simple filters to change the actual content of an image to evoke specific emotions while strictly preserving the original structure.
The EmoEdit Framework
The researchers address the challenge of AIM through a two-part solution: a massive new dataset and a specialized model architecture.
- EmoEditSet: Since no large-scale "before and after" dataset for emotional content editing existed, the authors built EmoEditSet. It contains 40,120 image pairs across 15,531 unique source images. They used GPT-4V to create "Emotion Factor Trees"—hierarchies of visual cues for eight core emotions—to guide the generation of high-quality edited pairs.
- The Emotion Adapter: Instead of fine-tuning a massive generative model, they developed a lightweight, "plug-and-play" Emotion Adapter based on the Q-Former architecture. This module acts as an "emotional dictionary," mapping emotion words into semantic embeddings that a diffusion model can understand.
Balancing Fidelity and Impact
A core difficulty in AIM is balancing the "contradictory objectives" of emotional shift and image fidelity. If the changes are too subtle, the emotion doesn't shift; if they are too drastic, the original image's identity is lost. EmoEdit employs a dual-loss approach: a Diffusion Loss to maintain structural integrity and an Instruction Loss to ensure the semantic features of the output match the intended emotional content.
Key Results and Insights
EmoEdit was tested against several state-of-the-art (SOTA) models, including SDEdit and ControlNet.
- Quantitative Performance: EmoEdit achieved an Emotion Accuracy (Emo-A) of 50.09%, significantly outperforming the next best model (SDEdit at 38.21%), while maintaining the highest structural similarity (SSIM of 0.571).
- Qualitative Impact: The model successfully adds contextually appropriate elements—such as a glowing sunset for "Awe" or a skull for "Fear"—where competitors often produced distorted images or ignored the emotional prompt.
- User Preference: In a study with 41 participants, EmoEdit was preferred 89.12% of the time for its ability to balance emotional impact with structural integrity.
Conclusion
EmoEdit demonstrates that emotion-awareness can be treated as a modular skill. By shifting the focus from pixel-level manipulation to semantic content, the framework provides a robust tool for creating emotionally resonant imagery. Future work aims to expand beyond the current eight emotion categories and incorporate more direct human-in-the-loop feedback to capture the subjective nature of human emotion more accurately.
Summary updated