arXiv:2610.25015cs.CVOct 2026

Manuscript Offprint

arXiv:2610.25015

IECLA: Interpretable Emotion Contribution Learning for Affective Image Editing

Yijie Guo, Dexiang Hong, Weidong Chen, Xinyan Liu, Zhendong Mao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Yijie Guo 1^{1}, Dexiang Hong 1^{1}, Weidong Chen 1,∗^{1,*}, Xinyan Liu 2^{2}, Zhendong Mao 1^{1}

1^{1}University of Science and Technology of China

2^{2}Harbin Institute of Technology

{guoyijie,hongdexiang}@mail.ustc.edu.cn

{chenweidong,zdmao}@ustc.edu.cn,xinyliu@hit.edu.cn

Figure

Anger

Awe

Excitement

Fear

Sadness

Anger

Awe

Disgust

Fear

Sadness

Amusement

Anger

Contentment

Fear

Sadness

Amusement

Anger

Disgust

Fear

Sadness

Sadness

Figure 1: Affective image editing with IECLA across diverse scenes and target emotions. Given only a target-emotion word, IECLA produces edits that effectively evoke the requested emotion while preserving the source image’s content and structure.

ABSTRACT

Affective image editing (AIE) aims to evoke a target emotion while preserving the content and structure of a source image. Existing methods improve emotional expression or visual fidelity, but the target emotion alone does not reveal which source regions should be changed and which should remain intact, especially in complex scenes. We introduce Interpretable Emotion Contribution Learning for Affective Image Editing (IECLA), a framework that separates source-emotion attribution from target-aware editing. IECLA constructs signed object-level supervision through counterfactual interventions and trains a context-conditioned contribution predictor to localize evidence that supports or opposes the source emotion. At inference, an image-level evaluator estimates the source emotion directly from the input, while the predictor identifies editable and preservation evidence without repeated interventions. A target-aware editing agent then translates this evidence and the desired emotion into localized, content-aware operations for existing editors. Extensive evaluations show that IECLA predicts counterfactual contributions more faithfully on both in-domain and cross-dataset tests, while external VLM and independent human references support the quality of its localized evidence. Across six editing backbones, IECLA consistently strengthens target-emotion expression while preserving image content and structure, and user studies further show improved perceived target expression and naturalness. 1^{1}

*Corresponding author: chenweidong@ustc.edu.cn.

1^{1}Code will be released in the final version of the paper.

1 INTRODUCTION

Affective image editing (AIE) seeks to evoke a target emotion while preserving the source image's identity and structure. This objective differs from an attribute-level instruction: an emotion word specifies a perceptual outcome, but does not indicate which visual evidence should change. The relevant cues may lie in a person's expression, surrounding objects, or the broader scene context.

Modern image editors combine textual instructions with attention and spatial controls (Meng et al., 2022; Hertz et al., 2023; Brooks et al., 2023; Avrahami et al., 2022; Zhang et al., 2023b;a). Such controls are effective when the desired attribute or region is explicit, but they leave the source-side decision implicit for affective editing (Fu et al., 2024; Chen et al., 2026). Existing affective editors expose a related tension: methods that produce stronger emotion shifts can introduce artifacts or structural drift, whereas more constrained methods preserve the source but make weak or misplaced changes when the relevant cues are unspecified (Yang et al., 2025; Ye & Huang, 2025; Yin et al., 2026). The ambiguity is amplified in complex scenes, where affect is distributed across multiple objects and contextual relations rather than concentrated in a face or dominant subject.

Such distributed affect makes source-emotion evidence difficult to identify and use for editing. Visual emotion datasets and explanatory annotations characterize content associated with perceived affect (Peng et al., 2015; Kosti et al., 2020; Achlioptas et al., 2021; Yang et al., 2023). Complementary attribution methods expose model evidence through gradients, local surrogates, or perturbations (Selvaraju et al., 2017; Sundararajan et al., 2017; Ribeiro et al., 2016; Petsiuk et al., 2018; Fong & Vedaldi, 2017; Goyal et al., 2019). These resources support recognition and diagnosis, but they do not directly yield reusable, signed object-level contributions that distinguish evidence supporting the source emotion from evidence opposing it. Moreover, localization alone does not specify how to introduce the target emotion while preserving unrelated content (Yang et al., 2024; Ye et al., 2024; Hong et al., 2026). However, effective AIE consistently requires two coupled decisions: identify and characterize the source evidence, then translate that evidence and the target emotion into an appropriate editing operation. Neither decision follows from the target label alone.

To address this need, we introduce IECLA, which learns signed, object-level source-emotion contributions from counterfactual interventions and exposes them as an editing interface. At inference, a frozen evaluator predicts the source emotion from the input, and the contribution predictor assigns regional scores without additional annotations. A target-aware agent combines these signals with the desired emotion to construct constrained instructions for existing editors.

In summary, our main contributions are summarized as follows:

• We formulate signed object-level counterfactual contributions as a supervision signal for source-emotion attribution. The learned contributions distinguish editable source-emotion evidence from regions to preserve, without requiring a source-emotion label at inference.

• We build a unified attribution-guided framework that connects the learned evidence to target-aware image editing. It produces interpretable emotion heatmaps and converts attributed evidence into guidance for image editors without retraining their parameters.

• We validate IECLA through multiple benchmarks, experiments, and backbones. The results show more faithful attribution and stronger target-emotion expression while preserving source structure and naturalness.

References (56)