arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.11150cs.CV
收藏

训练用于视觉艺术理解的小型情感视觉语言模型

Training A Small Emotional Vision Language Model for Visual Art Comprehension

Hefei University of Technology(合肥工业大学);Australian National University(澳大利亚国立大学)

Jing Zhang, Liang Zheng, Meng Wang, Dan Guo

AI总结:

本研究针对小型视觉语言模型容量有限的问题,通过情感建模与输入输出特征对齐构建SEVLM,在单块RTX 2080 Ti上训练即可在视觉艺术情感理解任务上优于现有小模型,性能媲美大模型。

摘要:

本文开发了用于理解视觉艺术的小型视觉语言模型,该模型接收一幅艺术作品后,旨在识别其情感类别并用自然语言解释该预测结果。小型模型虽然计算效率高,但与大型模型相比容量十分有限。为打破这一权衡,本文通过情感建模与输入输出特征对齐,构建了小型情感视觉语言模型(SEVLM)。一方面,基于心理学专家标注的效价-唤醒度-优势度(VAD)知识,我们引入并融合通过VAD词典与VAD头得到的情感特征,以对齐预测情感解释与真实标签的VAD向量。与仅使用传统文本嵌入相比,这能让视觉语言模型更好地理解并生成情感文本。另一方面,我们设计了一个对比头,拉近图像、其情感类别与解释的嵌入距离,实现模型输出与输入的对齐。在两个公开情感解释数据集上,我们证明所提出的技术能持续提升基线SEVLM的视觉艺术理解性能。重要的是,该模型可在单块RTX 2080 Ti上完成训练与评估,同时表现出极强的性能:它不仅优于当前最优的小型模型,在微调后与LLaVA 7B以及GPT4(V)相比也具有竞争力。代码可在https://github.com/BetterZH/SEVLM-code获取。

英文摘要:

This paper develops small vision language models to understand visual art, which, given an art work, aims to identify its emotion category and explain this prediction with natural language. While small models are computationally efficient, their capacity is much limited compared with large models. To break this trade-off, this paper builds a small emotional vision language model (SEVLM) by emotion modeling and input-output feature alignment. On the one hand, based on valence-arousal-dominance (VAD) knowledge annotated by psychology experts, we introduce and fuse emotional features derived through VAD dictionary and a VAD head to align VAD vectors of predicted emotion explanation and the ground truth. This allows the vision language model to better understand and generate emotional texts, compared with using traditional text embeddings alone. On the other hand, we design a contrastive head to pull close embeddings of the image, its emotion class, and explanation, which aligns model outputs and inputs. On two public affective explanation datasets, we show that the proposed techniques consistently improve the visual art understanding performance of baseline SEVLMs. Importantly, the proposed model can be trained and evaluated on a single RTX 2080 Ti while exhibiting very strong performance: it not only outperforms the state-of-the-art small models but is also competitive compared with LLaVA 7B after fine-tuning and GPT4(V). The code is available at https://github.com/BetterZH/SEVLM-code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑