arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.05027cs.CVcs.AI
收藏

StyleMamba:用于高效文本驱动图像风格迁移的状态空间模型

StyleMamba : State Space Model for Efficient Text-driven Image Style Transfer

Imperial College London(帝国理工学院);Dell Research UK(戴尔英国研究院);LUT School of Engineering Sciences(拉彭兰塔理工大学工程科学学院)

Zijia Wang, Zhi-Song Liu

AI总结:

针对文本引导图像风格迁移训练与推理成本高的问题,本文提出基于条件状态空间模型的 StyleMamba,并结合掩码与二阶梯度方向损失,显著降低迭代次数和推理时间。

摘要:

我们提出 StyleMamba,这是一个高效的图像风格迁移框架,可将文本提示转换为相应的视觉风格,同时保留原始图像的内容完整性。现有的文本引导风格化需要数百次训练迭代,并消耗大量计算资源。为加快这一过程,我们提出一种用于高效文本驱动图像风格迁移的条件状态空间模型,命名为 StyleMamba,它按顺序将图像特征与目标文本提示对齐。为增强文本与图像之间的局部和全局风格一致性,我们提出掩码损失和二阶梯度方向损失,以优化风格化方向,从而将训练迭代次数显著减少5倍,并将推理时间缩短3倍。大量实验和定性评估证实,与现有基线相比,我们的方法具有稳健且优越的风格化性能。

英文摘要:

We present StyleMamba, an efficient image style transfer framework that translates text prompts into corresponding visual styles while preserving the content integrity of the original images. Existing text-guided stylization requires hundreds of training iterations and takes a lot of computing resources. To speed up the process, we propose a conditional State Space Model for Efficient Text-driven Image Style Transfer, dubbed StyleMamba, that sequentially aligns the image features to the target text prompts. To enhance the local and global style consistency between text and image, we propose masked and second-order directional losses to optimize the stylization direction to significantly reduce the training iterations by 5 times and the inference time by 3 times. Extensive experiments and qualitative evaluation confirm the robust and superior stylization performance of our methods compared to the existing baselines.

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

↑