Affective Image Filter: Reflecting Emotions from Text to Images

Shuchen Weng, Peixuan Zhang, Zheng Chang, Xinlong Wang, Si Li +1 more
2/14/2026

No official code found. Best implementation: zpx0922/Affective_Image_Filter (11 stars, last commit 2024-01-12).

Abstract

Understanding the emotions in text and presenting them visually is a very challenging problem that requires a deep understanding of natural language and high-quality image synthesis simultaneously. In this work, we propose Affective Image Filter (AIF), a novel model that is able to understand the visually-abstract emotions from the text and reflect them to visually-concrete images with appropriate colors and textures. We build our model based on the multi-modal transformer architecture, which unifies both images and texts into tokens and encodes the emotional prior knowledge. Various loss functions are proposed to understand complex emotions and produce appropriate visualization. In addition, we collect and contribute a new dataset with abundant aesthetic images and emotional texts for training and evaluating the AIF model. We carefully design four quantitative metrics and conduct a user study to comprehensively evaluate the performance, which demonstrates our AIF model outperforms state-of-the-art methods and could evoke specific emotional responses from human observers.

DOISemantic Scholar

Code Implementations(1)

Affective Image Filter: Reflecting Emotions from Text to Images(AIFormer), Offical code for paper

111PythonNov 2, 20232 years ago

Similar Papers

Cite this paper

@article{weng2026affective,
  title  = {Affective Image Filter: Reflecting Emotions from Text to Images},
  author = {Shuchen Weng and Peixuan Zhang and Zheng Chang and Xinlong Wang and Si Li and Boxin Shi},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.00992},
  url    = {https://doi.org/10.1109/ICCV51070.2023.00992},
  journal = {ICCV 2023 2023}
}

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/4a16dd0d8f15630853964493dccfe7f76b6ca999.svg)](https://codeofpaper.com/paper/4a16dd0d8f15630853964493dccfe7f76b6ca999)

Discussion