In this paper, we propose a new setting for generating product descriptions from images, augmented by marketing keywords. It leverages the combined power of visual and textual information to create descriptions that are more tailored to the unique features of products. For this setting, previous methods utilize visual and textual encoders to encode the image and keywords and employ a language model-based decoder to generate the product description. However, the generated description is often inaccurate and generic since same-category products have similar copy-writings, and optimizing the overall framework on large-scale samples makes models concentrate on common words yet ignore the product features. To alleviate the issue, we present a simple and effective Multimodal In-Context Tuning approach, named ModICT, which introduces a similar product sample as the reference and utilizes the in-context learning capability of language models to produce the description. During training, we keep the visual encoder and language model frozen, focusing on optimizing the modules responsible for creating multimodal in-context references and dynamic prompts. This approach preserves the language generation prowess of large language models (LLMs), facilitating a substantial increase in description diversity. To assess the effectiveness of ModICT across various language model scales and types, we collect data from three distinct product categories within the E-commerce domain. Extensive experiments demonstrate that ModICT significantly improves the accuracy (by up to 3.3% on Rouge-L) and diversity (by up to 9.4% on D-5) of generated results compared to conventional methods. Our findings underscore the potential of ModICT as a valuable tool for enhancing automatic generation of product descriptions in a wide range of applications.
翻译:本文提出了一种新的设定,即从图像生成商品描述,并辅以营销关键词进行增强。该方法结合视觉与文本信息的联合能力,生成更贴合商品独特特征的描述。针对该设定,以往方法利用视觉和文本编码器对图像及关键词进行编码,并采用基于语言模型的解码器生成商品描述。然而,由于同类商品的文案相似,且在大规模样本上优化整体框架会使模型关注通用词汇而忽略商品特征,生成的描述往往不够准确且缺乏特异性。为解决此问题,我们提出一种简单有效的多模态上下文调优方法(ModICT),通过引入相似商品样本作为参考,并利用语言模型的上下文学习能力生成描述。训练过程中,我们保持视觉编码器和语言模型固定,专注于优化负责构建多模态上下文参考和动态提示的模块。该方法保留了大语言模型(LLMs)的语言生成能力,显著提升了描述多样性。为评估ModICT在不同语言模型规模与类型上的有效性,我们从电子商务领域的三个不同商品类别中收集数据。大量实验表明,与传统方法相比,ModICT显著提升了生成结果的准确性(Rouge-L指标最高提升3.3%)和多样性(D-5指标最高提升9.4%)。研究结果凸显了ModICT作为增强商品描述自动生成通用工具的潜力。