TL;DR
EmoStyle introduces Affective Image Stylization (AIS), a novel task that transforms images using artistic styles specifically chosen to evoke target emotions while preserving the original content. By combining an Emotion-Content Reasoner with a discrete Style Quantizer, the framework maps abstract emotional prompts (like "amusement" or "fear") to distinct artistic style prototypes, outperforming existing style transfer and image editing methods in emotional expressiveness and aesthetic quality.
What Problem Does This Paper Address?
While AI-driven style transfer has made massive leaps, existing methods usually require a reference style image or text prompts detailing specific artists, mediums, or art movements (e.g., "Van Gogh", "oil painting", "Cubism"). This demands a level of art history expertise that the average user lacks. Conversely, emotions are universally understood, yet existing Affective Image Manipulation (AIM) methods typically focus on realistic edits—like adjusting color tones or swapping objects—rather than leveraging the expressive power of artistic abstraction.
To bridge this gap, the authors define the task of Affective Image Stylization (AIS).
AIS presents two major hurdles:
- Data Scarcity: There are no off-the-shelf datasets containing triplets of a content image, an emotional label, and a corresponding stylized artwork.
- The Emotion-Style Mapping: Translating an abstract emotion into a concrete, content-appropriate artistic style while maintaining semantic consistency is highly non-trivial.
Methods
EmoStyle uses a frozen MM-DiT (Multi-Modal Diffusion Transformer) as its generative backbone and introduces two trainable modules to guide the stylization process:
1. Emotion-Content Reasoner
Instead of using text embeddings from Large Language Models (LLMs)—which often mistakenly bias emotion words toward facial expressions—the authors represent emotions as orthogonal 1×8 one-hot vectors. This vector is projected into a shared embedding space alongside semantic features extracted from the content image via SigLIP. A 4-block multi-modal transformer then models the cross-attention interactions between the content and emotion to output a content-conditioned style query ($q_i$).
2. Style Quantizer
Human perception categorizes art into discrete movements (e.g., Impressionism, Realism). Mirroring this, the Style Quantizer uses a VQ-VAE-inspired approach to discretize the continuous style query. The framework maintains eight emotion-specific style dictionaries (codebooks). The continuous query $q_i$ is mapped to its nearest discrete style prototype ($z_k^e$) within the target emotion's dictionary, ensuring stable and interpretable style selection.
Training Strategy
Training happens in two stages:
- Stage 1 (Prototype Learning): The style dictionaries are trained via clustering to represent diverse, discrete style prototypes from artwork data.
- Stage 2 (Emotion-Style Alignment): The entire framework is optimized using a standard flow-matching loss ($\mathcal{L}_{FM}$) alongside an alignment loss ($\mathcal{L}_{align}$) to ensure the generated images match the ground-truth style and content, weighted by human emotion validation scores.
Datasets
To train EmoStyle, the authors built EmoStyleSet, a new dataset derived from the ArtEmis dataset.
To isolate the impact of style from content, they used UnZipLoRA to disentangle style and content from original ArtEmis artworks, and ControlNet (conditioned on Canny edges) to reconstruct clean, realistic "content images." After rigorous automated filtering (via CLIP, LPIPS, and an emotion classifier) and human verification, they generated 10,041 high-quality triplets (Content Image, Target Emotion, Stylized Image).
For evaluation, they utilized the EmoEdit inference set (405 realistic images), stylizing each across 8 distinct emotional categories to produce 3,240 test images.
Key Insights and Ideas
- Discrete vs. Continuous Styles: Mapping emotions directly to a continuous style space often yields muddy, realistic, or ambiguous results. Forcing the model to choose from a codebook of discrete style prototypes (the Style Quantizer) drastically improves the artistic clarity and emotional punch of the output.
- The LLM Bias Trap: Standard text encoders struggle with abstract emotional prompts because their training data links words like "fear" or "amusement" to human faces. One-hot encodings bypass this bias, allowing the model to focus purely on how texture, brushwork, and color palette convey mood.
- Content-Conditioned Moods: The transformer blocks ensure that the chosen style isn't just a static filter; the style selection adaptively responds to what is actually in the image (e.g., applying different artistic textures to a mountain vs. a street view).
Key Results
EmoStyle was evaluated against state-of-the-art style transfer (e.g., InST, OmniStyle), image editing (IP2P), and AIM methods (e.g., EmoEdit, AIF).
Quantitative Performance
EmoStyle achieved top marks across several key metrics:
- Emotion Accuracy (Emo-A): Reached 33.36%, outperforming the second-best method (IP2P at 24.34%) by a wide margin.
- Structure Preservation (DINO): Scored 0.842, demonstrating superior structural fidelity compared to traditional style transfer methods that often distort content geometry.
- Sentiment Gap (SG): Achieved the lowest score (1.976), indicating that its generated styles align closest to intended human emotional responses.
Qualitative & User Preferences
Qualitatively, EmoStyle produces distinct, vibrant artistic textures tailored to the target emotion, whereas competing methods often generate emotionally ambiguous or overly realistic edits.
In a user preference study evaluating 24 image sets, EmoStyle was overwhelmingly favored by participants, capturing 79.92% votes for aesthetic perception, 64.47% for emotion fidelity, and 89.70% for the best overall balance between the two.
Limitations and Future Work
The authors note a few open challenges:
- One-to-Many Simplification: EmoStyle currently assumes a one-to-many relationship (one emotion maps to multiple styles). However, art is inherently many-to-many; a dark, muted style might evoke "sadness" in one context but "mystery" or "fear" in another.
- Content-Emotion Interaction: Emotions in art are a product of both style and semantic content. Disentangling and balancing how these two forces interact to trigger a psychological response remains an open research question.
- Subjective Evaluation: Measuring the true emotional resonance of an image on human viewers is notoriously difficult, pointing to a need for more sophisticated, psychology-backed evaluation frameworks.
Summary updated