## Towards Reliable Advertising Image Generation Using Human Feedback

Zhenbang Du 1 2 , *† , Wei Feng 2 ∗ , Haohan Wang , Yaoyu Li , Jingsen Wang , 2 2 2 Jian Li 2 , Zheng Zhang , Jingjing Lv , Xin Zhu , Junsheng Jin , Junjie Shen , 2 2 2 2 2 Zhangang Lin , and Jingping Shao 2 2

1 School of Artificial Intelligence and Automation, Huazhong University of Science and Technology, Wuhan, China dzb99@hust.edu.cn

2 Retail Platform Operation and Marketing Center, JD, Beijing, China {fengwei25, wanghaohan1, liyaoyu1, wangjingsen, lijian21, zhangzheng11, lvjingjing1, zhuxin3, jinjunsheng1, shenjunjie, linzhangang, shaojingping}@jd.com

Abstract. In the e-commerce realm, compelling advertising images are pivotal for attracting customer attention. While generative models automate image generation, they often produce substandard images that may mislead customers and require significant labor costs to inspect. This paper delves into increasing the rate of available generated images. We first introduce a multi-modal Reliable Feedback Network (RFNet) to automatically inspect the generated images. Combining the RFNet into a recurrent process, Recurrent Generation, results in a higher number of available advertising images. To further enhance production efficiency, we fine-tune diffusion models with an innovative Consistent Condition regularization utilizing the feedback from RFNet (RFFT). This results in a remarkable increase in the available rate of generated images, reducing the number of attempts in Recurrent Generation, and providing a highly efficient production process without sacrificing visual appeal. We also construct a Reliable Feedback 1 Million (RF1M) dataset which comprises over one million generated advertising images annotated by human, which helps to train RFNet to accurately assess the availability of generated images and faithfully reflect the human feedback. Generally speaking, our approach offers a reliable solution for advertising image generation. Our dataset and code are available at https://github.com/ZhenbangDu/Reliable\_AD .

Keywords: Diffusion Model · Human Feedback · E-commerce

## 1 Introduction

An attractive advertising image is essential for e-commerce success, as it can lead to a higher click-through rate (CTR) [53]. Manual creation requires significant

* Equal contribution

† Work done while interning at JD.com

Fig. 1: The available generated advertising images and different types of bad cases. The products are highlighted by blue masks. Bad cases bring misleading information, e.g ., the unrealistic sizes or shapes of products, and customers may have difficulty discerning the products in images.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-880b0fa4-049c-44c7-b255-f784b777bd59.jpg)

labor costs, therefore the demand for automatic advertising image production is on the rise. However, previous approaches [4, 5, 34, 55] often result in visual mismatches between the product and background. Advanced diffusion models [18] offer a remedy. A combination with ControlNet [60] has shown promise in producing harmonious backgrounds for products while keeping the details of products identical for advertising use [28,51].

Despite the potential of generative models to create appealing backgrounds, we have observed a frequent production of substandard advertising images as depicted in Fig. 1, which encompass various cases such as space and size mismatches, indistinctiveness, and shape hallucination. These flawed images can lead to customer misunderstandings about products and bring a subpar shopping experience, therefore considerable labor is necessitated to inspect the generated images. Such drawbacks limit the broader application of generative models in advertising image production. So the core problem is a low rate of available images . It poses a new challenge to us how to establish a reliable advertising image generation pipeline capable of producing images with a high available rate.

A natural solution is to generate images repeatedly until an available image is obtained (Recurrent Generation) due to the randomness in generation. To substitute labor inspection in this repetitive process, a novel Reliable Feedback Network ( RFNet ) is introduced to act as a human inspector, assessing the availability of generated advertising images. As simply depending on a single generated image, the model can not effectively obtain the knowledge pivotal to the precise inspection, e.g ., what the product is and how the product appears in the background. So RFNet integrates multiple auxiliary modalities to provide critical information contributing to the judgment of different unavailable cases. Meanwhile, we construct a large-scale dataset called Reliable Feedback 1 Million dataset ( RF1M ), which includes over one million elaborate generated advertis-

ing images with rich human annotations, playing a crucial role in training RFNet to mirror human feedback accurately.

While Recurrent Generation greatly increases the number of available images, multiple attempts will dramatically prolong the generation process owing to the inherent poor ability of generated models. Using human feedback to enhance the capability of diffusion models [36,47] provides a viable option, which has successfully improved the visual quality of generated images [13, 49, 58]. However, the visual quality and availability of the generated images show a trade-off relationship, e.g ., products with repetitive and simple backgrounds gain a high available rate yet low aesthetics. To tackle this, we propose a novel loss term, Consistent Condition (CC) regularization L CC to counteract uniformity and degradation of the generated backgrounds, circumventing the adversarial nature of conventional Kullback-Leibler (KL) regularization [13,49]. Utilizing this regularization term, the feedback on generated images' deviation from the available type assessed by RFNet is directly back-propagated to fine-tune the diffusion model ( RFFT ). Our approach significantly enhances the available rate of generated advertising images without altering their aesthetics, offering a comprehensive solution to the challenge of reliable advertising image generation.

Our main contributions include:

- -An advertising image generation solution Recurrent Generation alongside the novel multi-modal model, RFNet , which simulates human feedback and effectively utilizes various modalities to help attribute fine-grained issue types.
- -A straightforward and effective approach, RFFT , to refine the diffusion model using human feedback, along with an innovative Consistent Condition regularization to prevent collapse.
- -A large-scale multi-modal dataset, RF1M , comprising over one million generated advertising images with rich annotations.

## 2 Related Work

In this section, we review prior works on advertising image generation and the use of human feedback to refine diffusion models.

## 2.1 Advertising Image Generation

Automatic advertising image generation offers significant convenience for ecommerce. Current approaches generally fall into two folds, template-based and generation-based. Template-based approaches [4,5,34,55] typically utilized predefined templates to assemble various elements into images. However, such approaches failed to achieve aesthetic harmony between the product and its background, resulting in a discernible disconnection. Additionally, designing a variety of templates was costly. To counter this, generation-based approaches [24,28,51] employed GANs [15,22] or advanced text-to-image diffusion models [18,41,45,46] to produce backgrounds that coordinate with the appearance of products, e.g .,

Wang et al . [51] made use of the inpainting technique [33] with product masks to produce personalized backgrounds. Although elaborate and coordinated advertising images were obtained by these approaches, the bad cases that happened in the generation process could result in confusion and complaints of customers. We tackle this issue with a Recurrent Generation strategy, complemented by the accurate inspection capability of RFNet. Additionally, our RFFT enhances the reliability of the diffusion model and further promotes the efficiency of the production process.

## 2.2 Refining Diffusion Models with Human Feedback

Reinforcement Learning from Human Feedback (RLHF) employs human-derived feedback to fine-tune models, aiming for outcomes that human prefers [3,6,21, 31,36,47,62]. In aligning diffusion models with human preferences, RLHF plays a crucial role [12,26,27,39,61]. Works such as DDPO [2] and DPOK [13] treated the denoising process as a multi-step Markov decision process. They used a Policy Gradient [44] approach to update model parameters based on feedback from pre-trained reward models. Similarly, D3PO [59] and Diffusion-DPO [49] enhanced diffusion models using human comparison data, avoiding the need for reward model training. Contrary to the reinforcement learning strategy, ReFL [58] and DRaFT [7] directly fine-tuned diffusion models using the gradient of differentiable rewards in an efficient end-to-end manner [50]. Our work pioneers in using human feedback to establish a reliable advertising image generation solution. Additionally, our approach addresses the collapse during fine-tuning, resulting in a high available rate of generated images without compromising their appearance.

## 3 Dataset

The Reliable Feedback 1 Million ( RF1M ) dataset, constructed through meticulous human feedback, serves as a pivotal resource for inspecting and improving the generation of advertising images. Compared to prevailing large-scale image generation dataset Laion-5B [43], DiffusionDB [54] and Pick-a-Pic [23], RF1M is specifically designed for the advertising domain, addressing the acute need for expansive data resources in this field. Here's an in-depth look at its composition, annotation, and potential impact on the community.

Composition. The dataset is generated using a collection of extensive products from JD.com. It encompasses 1,058,230 samples, each consisting of a variety of components aimed at providing a comprehensive understanding of advertising image generation:

- -The generated advertising image with corresponding transparent background product image, and carefully designed prompts by professional designers.
- -Depth and salience images created by the dense prediction transformer [40] and U2-Net [38] trained on e-commerce data, along with product caption, which assists in inspecting the availability of generated advertising image.

Fig. 2: Some examples in RF1M. Each comprises rich annotations. The translations of Chinese captions are in the brackets.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-e8c5032a-8b39-43c4-804f-3cdb529ea173.jpg)

- -Human-annotated label indicating the availability of image for advertising use.

These elements collectively offer a rich foundation for analyzing the generated advertising images. Some examples are exhibited in Fig. 2.

Annotation. The annotators involved are well-versed in advertising and possess a deep understanding of the standards for advertising images. Within the dataset, samples have been further classified into five fine-grained categories as illustrated in Fig. 1:

- - Available. Images deemed suitable for advertising purposes.
- - Space Mismatch. Images where the product and background have inappropriate spatial relations, such as a part of the product is floating.
- - Size Mismatch. Discrepancies between the product size and its background, e.g ., a massage chair appears smaller than a cabinet.
- - Indistinctiveness. Images where the product fails to stand out due to background complexity or color similarities.
- - Shape Hallucination. Backgrounds that erroneously extend the product shape, adding elements like pedestals or legs.

Potential Impact. RF1M, with its multi-modal design and comprehensive features, is the cornerstone of the RFNet training and RFFT, and would further

Fig. 3: An overview of image generation-inspection pipeline. The advertising image is generated using product image and prompt by inpainting. And the feedback F AC provided by the RFNet is used to fine-tune the ControlNet with Consistent Condition regularization.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-d4994d29-b9fe-43a0-bb67-81eb8d83ba48.jpg)

significantly impact the realm of e-commerce advertising and beyond, featuring three highlights:

- 1. Large scale. With its vast array of product categories and image types, RF1M surpasses previous advertising datasets BG60k [51], PPG30k [28] and human feedback dataset ImageRewardDB [58], RichHF-18K [29], while has comparable size to Pick-a-Pic [23], providing a robust base for RFNet to mirror human feedback accurately across the diverse advertising image generation tasks.
- 2. Scalability. The multi-modal nature of RF1M provides sufficient information to RFNet to make judgments precisely. Beyond generating reliable advertising images, it also supports tasks such as advanced image understanding and image matting. This flexibility ensures the dataset meets the changing demands and can be applied in numerous areas within and beyond advertising.
- 3. Visual appeal. The prompts and generation models are carefully designed for the products' characteristics, so the images have satisfying aesthetics and can attract customers' attention. We conducted a one-week online A/B test done in JD.com, resulting in a 2.2% increase in CTR from over 60 million exposures, underscoring the high quality of these images, which accurately captured user preferences.

## 4 Methodology

## 4.1 Preliminaries

Our approach for generating advertising images is depicted in Fig. 3. We start with a text prompt describing the desired background and a product image I o with a transparent background. The prompt is input into Stable Diffusion [41],

and I o is pre-processed with canny edge detection before being fed into the ControlNet [60]. We adopt DDIM [45] as our denoising schedule, the latent representation x at step t is calculated as following:

$$x _ { t } = \sqrt { \bar { \alpha } _ { t } } \frac { x _ { t + 1 } - \sqrt { 1 - \bar { \alpha } _ { t + 1 } } \epsilon _ { \theta } \left ( x _ { t + 1 }, t + 1 \right ) } { \sqrt { \bar { \alpha } _ { t } + 1 } } + \sqrt { 1 - \bar { \alpha } _ { t } } \epsilon _ { \theta } \left ( x _ { t + 1 }, t + 1 \right ), \quad \left ( 1 \right )$$

where ϵ θ represents the model [41, 42] that predicts added noise, and { ¯ α } is a set of coefficients controlling the forward noise-adding process. To preserve the product's integrity and ensure a cohesive background, we employ an inpainting technique [33]. The latent representation x t is processed by:

$$x _ { t } = ( \mathbf I - M ) \otimes x _ { t } + M \otimes x _ { o },$$

where x o is the latent of I o , M is product mask, and ⊗ denotes the element-wise multiplication. After the x 0 is obtained, this latent is converted to the generated image I g .

## 4.2 Recurrent Generation with RFNet

Due to the inherent randomness, repeated generation can significantly expand the number of available images. To automate the inspection process and eliminate human participation in this process, we introduce a multi-modal model, RFNet, to determine whether the generated image is available precisely, as illustrated in Fig. 4. In addition to I o and I g , RFNet combines information from auxiliary modalities:

- · The depth image I d of I g produced by a depth estimation model, highlights the product's position relative to the background;
- · The salience image I s of I g , created by a salience detection model, outlines the product;
- · The product caption Cap which provides insight into the product's attributes.

I o , I g , I d and I s are fed into an image encoder to acquire respective image embeddings { e o , e g , e d , e s } . Concurrently, the Cap is input into BERT [9] to obtain the text embedding e c , aiding in recognizing the attributes of the product.

Since product captions often contain excessive information, e.g ., brands, we focus on distilling the vision-related attributes from the caption. So N 1 Feature Filter Module (FFM)s are first employed, each consisting of a cross-attention layer and several convolution layers. The output of FFM is formulated as:

$$e _ { f } = \text{Conv} \left ( \text{Conv} ( \text{CrossAttention} ( e _ { o }, e _ { c } ) \right ) \otimes \text{Conv} ( e _ { o } ) ) + e _ { o }, \quad ( 3 )$$

where e o serves as Query with e c acting as both Key and V alue in crossattention layer, Conv() denotes convolution layer with 1 × 1 kernels, and ⊗ signifies element-wise multiplication. This process ensures that critical information

Fig. 4: The proposed RFNet. Multiple auxiliary modalities contribute to the final inspection. The translation of the Chinese caption is in the brackets.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-55b0f93d-5ee9-4dfd-b4b5-4b96227baffe.jpg)

from the caption is effectively integrated with the image embeddings, augmenting the model's understanding of the product.

With the fused embedding e f , different features are further integrated through N 2 self-attention layers [48],

$$f = \text{SelfAttention} ( \text{Concat} ( e _ { f }, e _ { g }, e _ { d }, e _ { s } ) ),$$

where Concat() stands for concatenation. These stacked layers capture the critical features across the embeddings. Finally, a fully-connected classifier determines each case's probability of the generated image.

Trained on large-scale RF1M, RFNet assesses the availability of generated advertising images accurately by considering a comprehensive set of visual and textual features, and providing nuanced feedback. This capability, combined with the Recurrent Generation strategy (illustrated in Sec. 8), significantly increases the number of available generated images for advertising use in an automatic manner.

## 4.3 RFFT with Consistent Condition regularization

Although Recurrent Generation could produce more available images in total, the inherited poor ability of the generative model results in a prolonged and inefficient production process, posing a great challenge to the application. Our end-to-end generation-inspection pipeline allows feedback gradients from RFNet to directly fine-tune the diffusion model, enhancing its capability. Specifically, our proposed RFFT selects a random step t among last 10 steps during the 40step denoising process to generate the ˆ x t = x t +1 -√ 1 - √ ¯ α t +1 ϵ θ ( x t +1 ,t +1) [37,45,58].

0 ¯ α t +1

The resulting ˆ x t 0 is post-processed to ˆ I t g then inspected by RFNet to determine its availability, with feedback calculated as follows:

$$F _ { A C } = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } y _ { d } \log ( \hat { o } _ { i } ),$$

Fig. 5: a) Background destruction happens in direct feedback backpropagation, where a high available rate (99.8%) achievement with collapsed background. b) Comparison between KL regularization and our proposed CC regularization.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-667fdf3c-283d-4804-8cb2-9cf6a673992a.jpg)

where y d is the one-hot vector representing the desired 'Available' category, the vector ˆ o i holds the probability for each generated image case and N is the total number of samples. The gradient ∇ F AC is then back-propagated to steer the model towards producing images with a higher probability of being available.

Nevertheless, the training goal of making the model reliable runs counter to the aesthetics of the images generated by the model, e.g ., repetitive and simple backgrounds can perfectly circumvent the bad cases we mentioned before. So as illustrated in Fig. 5.a, as training progresses, the model achieves an extremely high available rate, yet yields homogeneous and aesthetically collapsed outputs. So a training approach that keeps the aesthetics of the image stable while increasing its availability rate is what we need. A prevalent solution involves the Kullback-Leibler (KL) regularization [13,49], a loss term that ensures the modified model does not diverge significantly from the desired distribution, thus maintaining diversity and preventing the convergence to sub-optimal, repetitive results, and this loss term can be formulated as:

$$L _ { K L } = \text{KL} ( p _ { \theta } ( \hat { x } _ { 0 } ^ { t } | x _ { t }, z, c ) \| ( p _ { r e f } ( \hat { x } _ { 0 } ^ { t } | x _ { t }, z, c ) ),$$

where c and z are image and text control conditions, p θ and p ref represent the distributions of current and reference models. However, as the feedback gradient endeavors to steer the image generation towards a higher available rate, the KL regularization strives to maintain the generated image unchangeable. This opposition mirrors the principles of adversarial training [14, 15] and poses a challenge to achieve a win-win solution [19].

Instead of focusing on unchanged images, we aim to maintain visual quality. For text-to-image generation, the visual output is closely linked to the input text condition z [56]. In a classifier-free manner, we derive text guidance from the model's implicit classifier [10,19,35] by

$$\nabla _ { x _ { t } } \log p _ { \theta } ^ { t } ( z | x _ { t }, c ) \approx - \frac { 1 } { \sqrt { 1 - \bar { \alpha } _ { t } } } \left ( \epsilon _ { \theta } ( x _ { t }, z, c ) - \epsilon _ { \theta } ( x _ { t }, c ) \right ),$$

which indicates the direction where the text condition influences image generation. To ensure improvements in image availability do not compromise the core

Table 1: Inspection performance of different models.

| Model     |   Precision |   Recall |    F1 |    AP |
|-----------|-------------|----------|-------|-------|
| ResNet50  |       74.87 |    73.66 | 74.26 | 77.29 |
| ResNext50 |       77.73 |    76.88 | 77.3  | 79.62 |
| HRNet     |       72.89 |    73.12 | 73.01 | 73.07 |
| ViT       |       75.59 |    78.33 | 76.93 | 79.31 |
| Ours      |       86.45 |    85.23 | 85.83 | 87.58 |

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-d0f64e49-eb35-4150-874e-3dbabf3bff14.jpg)

conditions, we introduce a Consistent Condition (CC) regularization term L CC , as follows:

$$L _ { C C } = \| \nabla _ { x _ { t } } \log p _ { \theta } ^ { t } ( z | x _ { t }, c ) - \nabla _ { x _ { t } } \log p _ { r e f } ^ { t } ( z | x _ { t }, c ) \| _ { 2 }.$$

Fig. 5.b illustrates the advantage of L CC over L KL . While L KL acts to limit updates from ∇ F AC potentially leading to rigidity, L CC offers a win-win approach. It maintains the direction of the condition, allowing for the model to be fine-tuned towards generating more available images. Thus the final feedback to fine-tune the diffusion model in RFFT is:

$$F _ { t o t a l } = F _ { A C } + \beta L _ { C C },$$

where β is a hyper-parameter.

## 5 Experiments

## 5.1 Implementation Details

For RFNet, we employ a ResNet50 [17], pre-trained on ImageNet [8], as the image encoder. RoBERTa [9, 30], fine-tuned on Chinese product descriptions, extracts text embeddings from product captions. We resize all images to 384 × 384 before encoding. The FFM and Self-Attention contain blocks of width 384 with 8 attention heads, and we set N 1 and N 2 to 1 and 3, respectively. The training spans 10 epochs, starting with a learning rate of 1e-4, which is reduced by a factor of 10 at epoch 5.

For diffusion model fine-tuning, we utilize 8 NVIDIA A100 GPUs, a local batch size of 4, and 4 gradient accumulation steps. We opt for AdamW [32] with a learning rate of 1e-5. Unless specified otherwise, MajicmixRealistic\_v7 (Maji\_v7) 3 serves as the diffusion model, complemented by ControlNet V1.1 [60] 4 . During fine-tuning, only ControlNet is trained, while we freeze the remaining parameters. A 40-step DDIM with the last 10 steps chosen for fine-tuning is used [58].

3 https://civitai.com/models/43331/majicmix-realistic

4 https://github.com/lllyasviel/ControlNet

Table 3: Availability evaluation ( % ) of different approaches using one attempt RG.

| Approach   |   Ava ( ↑ ) Human Ava ( ↑ ) |   Ava ( ↑ ) Human Ava ( ↑ ) |
|------------|-----------------------------|-----------------------------|
| Ori        |                        56.4 |                        70.1 |
| PromptEng  |                        62.9 |                        73.2 |
| PPO        |                        65.9 |                        74.9 |
| DPO        |                        57.3 |                        71.8 |
| ReFL       |                        84.7 |                        84.9 |
| Ours       |                        85.5 |                        86.3 |

Fig. 6: Available rate ( % ) and time (hour) for Ori and Ours with different attempts RG.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-d81ed162-c453-4e5e-86c9-4dbf4ea112e4.jpg)

## 5.2 Advertising Image Inspection Performance

SOTA Approaches. To validate the superiority of our proposed RFNet, we implement prevailing models ResNet50 [17], ResNeXt50 [57], HRNet [52] and Vision Transformer (ViT) [11] to inspect the generated images.

Evaluation Metrics. Precision, recall, F1 score, and average precision (AP) are used to evaluate the prediction results of different models. We conduct the test on 1,000 images. It is noteworthy that since we are only concerned about the availability of the generated images in Recurrent Generation, we focus on whether the model is able to accurately identify the available images.

Results. Table 1 shows that RFNet outperforms across all metrics, highlighting the benefits of integrating multi-modal information and its effective structure. We conducted extensive experiments to evaluate the impact of various components within RFNet, presented in Table 2. Our experiments demonstrate the significant impact of each component within RFNet on the final AP, especially the crucial role of product images, whose ablation leads to a notable 6.41 drop in AP. We further trained the model using coarse-grained labels (Available/Unavailable), the decrease showcased that a fine-grained label helped to attribute the issues precisely, leading to improved performance.

## 5.3 Advertising Image Reliability Performance

SOTA Approaches. To evaluate the effectiveness of refining diffusion models, our approach is compared with Ori (using the original model), Prompt Engineering (PromptEng) (using modified prompts) , and SOTA RLHF approaches 5 PPO [2,13,27,61], DPO [39,49,59], and ReFL [7,58].

Evaluation Metrics. For availability evaluation, we conduct the test on 1,000 products. The available rate is defined as the ratio of images deemed available by our RFNet to the total number of images inspected, and denoted by 'Ava'.

5 Add 'irregular shape, extended shape, floating, table legs, pedestal, improper position, improper size, indistinct background' to the negative prompt [1].

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-0102e8e5-5a8b-4e04-a567-2d81bde7d155.jpg)

Fig. 7: a) Human rankings of different approaches; b) Available rate ( % ) with different β for L KL (KL) and L CC (CC).

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-f215904d-18a5-4cd3-a4e6-e82c5a708d52.jpg)

To counter potential biases introduced by the RFNet, we also performed a human inspection which involved experienced advertising annotators assessing the available rate, denoted as 'Human Ava'. We calculate the total consuming time (hour) using an NVIDIA H800 GPU. For aesthetic assessment, we randomly select 200 available images with identical products, prompts, and generation seed for different approaches. 50 experienced advertising practitioners are employed to rank the images based on their preferences. We count the percentage of different rankings for distinct approaches.

Results. The outcomes highlight our approach's superior performance. Several conclusions could be made:

- 1. From the result in Table 3, our RFFT could get an extremely high available rate against other approaches. The same trend of 'Ava' and 'Human Ava' further demonstrates that RFNet reflects human feedback faithfully.
- 2. As shown in Fig. 6, RG could greatly increase the rate of available images with multiple attempts. Thanks to the inherited strong ability of our model, it needs a shorter production time, shedding light on our RFFL to provide a reliable and efficient solution.
- 3. The preference assessment in Fig. 7.a demonstrates that RFFT could achieve a relative aesthetic quality compared to the original model, and gain a lot over ReFL owing to the utilization of CC regularization.

These results underscore our approach's enhanced capability to increase the available rate and the producing efficiency while keeping the visual performance stable. Some bad cases solved by our approach are shown in Fig. 8.

## 5.4 Comparison with KL Regularization

We explore the impact of the hyper-parameter β on both KL regularization L KL and our proposed CC regularization L CC . The results, illustrated in Fig. 7.b, reveal a notable trend: as β increases, the available rate significantly decreases

Fig. 8: Comparison of generated advertising images by Ori and Ours.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-8aeeb93b-e83b-4a8f-b554-2cdfbac79a03.jpg)

under L KL , highlighting its adversarial nature. Conversely, L CC demonstrates resilience to increased β values, maintaining a higher available rate. This contrast underscores the effectiveness of L CC in circumventing adversarial effects.

## 5.5 Generalization Performance

To assess the flexibility of our RFFT, we examine the generalized capability of the fine-tuned ControlNet when integrated with various LoRAs [20] and diffusion model weights. This is critical as retraining the network for each new LoRA or diffusion model weights combination would be impractical. As depicted in Table 4, experiments demonstrate that the ControlNet, once refined, significantly enhances the available rate across different LoRAs and diffusion model weights, including Maji\_v6 6 and SD\_v1.5 . This generalized ability reduces the need for 7 repetitive training, and underscores broader application of RFFT.

## 5.6 Integration with Other Feedback

We further incorporate ImageReward [58] whose original goal is to improve aesthetics as an additional feedback, F IR , during the RFFT process. The outcomes, both quantitative and qualitative, are presented in Table 5 and Fig. 9, respectively. The following observations were made:

- -The inclusion of F IR , and the combination of F IR and F AC , significantly enhance aesthetic appeal. However, these often result in excessive detail in the backgrounds, leading to obscured product features, which are undesirable for advertising purposes. Moreover, the combination of F IR and F AC results in collapsed textures despite achieving a high available rate.
- -Both F AC + L CC and F IR + F AC + L CC configurations achieve high available rates. However, comparing these two, F IR does not significantly affect background aesthetics. This suggests that while F IR attempts to modify the

6 https://civitai.com/models/43331/majicmix-realistic

7 https://huggingface.co/runwayml/stable-diffusion-v1-5

Fig. 9: Comparison of different feedback combination strategies.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-b8c50015-d3dd-4162-950a-c222359a973b.jpg)

background condition, L CC aims to maintain it. This side-by-side corroborates that our proposed L CC keeps the background visual quality unchanged, which is particularly important for our RFFL process.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-d7bcdca9-b4f5-4321-ad85-2ce4d7e2e6fd.jpg)

Table 4: Available rate of different diffusion model weights/LoRA. Table 5: Available rate of different combination strategies with F IR .

| Approach   | Maji_v7 LoRA 1 LoRA 2   |   Maji_v6 |   SD_v1.5 | F IR F AC L CC Ava ! 31.5 ! ! 87.6   |
|------------|-------------------------|-----------|-----------|--------------------------------------|
| Ori        | 56.4 55.0               |      65.2 |      68.3 | ! ! 85.5                             |
| Ours       | 85.5 79.7               |      84.1 |      84   | ! ! ! 81.4                           |

## 6 Conclusion

In conclusion, our study addresses the critical need for reliable advertising image generation in e-commerce, where visual appeal directly influences customer engagement and sales. We introduce Recurrent Generation with the multi-modal RFNet, which faithfully reflects human feedback from our extensive RF1M dataset, establishing a foundation for creating a substantial number of available images for advertising. Our RFFT significantly enhances the generated images available rate, thereby boosting production efficiency. Moreover, our innovative Consistent Condition regularization strikes a balance between a high available rate and aesthetic quality. Ultimately, our work automates creative processes, reduces costs, and improves the customer experience, underscoring the potential of AI-driven tools to revolutionize e-commerce.

## References

- 1. Armandpour, M., Zheng, H., Sadeghian, A., Sadeghian, A., Zhou, M.: Re-imagine the negative prompt algorithm: Transform 2d diffusion into 3d, alleviate janus problem and beyond. arXiv preprint arXiv:2304.04968 (2023)
- 2. Black, K., Janner, M., Du, Y., Kostrikov, I., Levine, S.: Training diffusion models with reinforcement learning. In: ICLR (2024)
- 3. Casper, S., Davies, X., Shi, C., Gilbert, T.K., Scheurer, J., Rando, J., Freedman, R., Korbak, T., Lindner, D., Freire, P., et al.: Open problems and fundamental limitations of reinforcement learning from human feedback. arXiv preprint arXiv:2307.15217 (2023)
- 4. Chen, J., Ge, T., Jiang, G., Zhang, Z., Lian, D., Zheng, K.: Efficient optimal selection for composited advertising creatives with tree structure. In: AAAI. vol. 35, pp. 3967-3975 (2021)
- 5. Chen, J., Xu, J., Jiang, G., Ge, T., Zhang, Z., Lian, D., Zheng, K.: Automated creative optimization for e-commerce advertising. In: WWW. pp. 2304-2313 (2021)
- 6. Christiano, P.F., Leike, J., Brown, T., Martic, M., Legg, S., Amodei, D.: Deep reinforcement learning from human preferences. In: NeurIPS. vol. 30 (2017)
- 7. Clark, K., Vicol, P., Swersky, K., Fleet, D.J.: Directly fine-tuning diffusion models on differentiable rewards. In: ICLR (2024)
- 8. Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., Fei-Fei, L.: Imagenet: A large-scale hierarchical image database. In: CVPR. pp. 248-255 (2009)
- 9. Devlin, J., Chang, M., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. In: NAACL-HLT. pp. 4171-4186 (2019)
- 10. Dhariwal, P., Nichol, A.: Diffusion models beat gans on image synthesis. In: NeurIPS. vol. 34, pp. 8780-8794 (2021)
- 11. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., Houlsby, N.: An image is worth 16x16 words: Transformers for image recognition at scale. In: ICLR (2021)
- 12. Fan, Y., Lee, K.: Optimizing DDPM sampling with shortcut fine-tuning. In: ICML. vol. 202, pp. 9623-9639 (2023)
- 13. Fan, Y., Watkins, O., Du, Y., Liu, H., Ryu, M., Boutilier, C., Abbeel, P., Ghavamzadeh, M., Lee, K., Lee, K.: Dpok: Reinforcement learning for fine-tuning text-to-image diffusion models. In: NeurIPS (2023)
- 14. Ganin, Y., Ustinova, E., Ajakan, H., Germain, P., Larochelle, H., Laviolette, F., March, M., Lempitsky, V.: Domain-adversarial training of neural networks. JMLR 17 (59), 1-35 (2016)
- 15. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., Bengio, Y.: Generative adversarial nets. In: NeurIPS. vol. 27 (2014)
- 16. Goodfellow, I.J., Shlens, J., Szegedy, C.: Explaining and harnessing adversarial examples. In: ICLR (2015)
- 17. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: CVPR. pp. 770-778 (2016)
- 18. Ho, J., Jain, A., Abbeel, P.: Denoising diffusion probabilistic models. In: NeurIPS (2020)
- 19. Ho, J., Salimans, T.: Classifier-free diffusion guidance. In: NeurIPS Workshop (2021)

- 20. Hu, E.J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W.: Lora: Low-rank adaptation of large language models. In: ICLR (2022)
- 22. Isola, P., Zhu, J.Y., Zhou, T., Efros, A.A.: Image-to-image translation with conditional adversarial networks. In: CVPR. pp. 1125-1134 (2017)
- 21. Ibarz, B., Leike, J., Pohlen, T., Irving, G., Legg, S., Amodei, D.: Reward learning from human preferences and demonstrations in atari. In: NeurIPS. vol. 31 (2018)
- 23. Kirstain, Y., Polyak, A., Singer, U., Matiana, S., Penna, J., Levy, O.: Pick-a-pic: An open dataset of user preferences for text-to-image generation. In: NeurIPS. vol. 36 (2024)
- 25. Kurakin, A., Goodfellow, I.J., Bengio, S.: Adversarial examples in the physical world. In: ICLR Workshop (2017)
- 24. Ku, Y.N., Kuznetsov, M., Mishra, S., de Juan, P.: Staging e-commerce products for online advertising using retrieval assisted image generation. arXiv preprint arXiv:2307.15326 (2023)
- 26. Lee, K., Liu, H., Ryu, M., Watkins, O., Du, Y., Boutilier, C., Abbeel, P., Ghavamzadeh, M., Gu, S.S.: Aligning text-to-image models using human feedback. arXiv preprint arXiv:2302.12192 (2023)
- 28. Li, Z., Li, F., Feng, W., Zhu, H., Liu, A., Li, Y., Zhang, Z., Lv, J., Zhu, X., Shen, J.J., Lin, Z., Shao, J., Yang, Z.: Planning and rendering: Towards end-toend product poster generation. arXiv preprint arXiv:2312.08822 (2023)
- 27. Lee, S.H., Li, Y., Ke, J., Yoo, I., Zhang, H., Yu, J., Wang, Q., Deng, F., Entis, G., He, J., et al.: Parrot: Pareto-optimal multi-reward reinforcement learning framework for text-to-image generation. arXiv preprint arXiv:2401.05675 (2024)
- 29. Liang, Y., He, J., Li, G., Li, P., Klimovskiy, A., Carolan, N., Sun, J., Pont-Tuset, J., Young, S., Yang, F., et al.: Rich human feedback for text-to-image generation. arXiv preprint arXiv:2312.10240 (2023)
- 31. Losey, D.P., Bajcsy, A., O'Malley, M.K., Dragan, A.D.: Physical interaction as communication: Learning robot objectives online from human corrections. The International Journal of Robotics Research 41 (1), 20-44 (2022)
- 30. Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., Stoyanov, V.: Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692 (2019)
- 32. Loshchilov, I., Hutter, F.: Decoupled weight decay regularization. In: ICLR (2019)
- 34. Mishra, S., Verma, M., Zhou, Y., Thadani, K., Wang, W.: Learning to create better ads: Generation and ranking approaches for ad creative refinement. In: CIKM. pp. 2653-2660 (2020)
- 33. Lugmayr, A., Danelljan, M., Romero, A., Yu, F., Timofte, R., Gool, L.V.: Repaint: Inpainting using denoising diffusion probabilistic models. In: CVPR. pp. 1145111461 (2022)
- 35. Nichol, A., Dhariwal, P., Ramesh, A., Shyam, P., Mishkin, P., McGrew, B., Sutskever, I., Chen, M.: Glide: Towards photorealistic image generation and editing with text-guided diffusion models. In: ICML (2021)
- 37. Prabhudesai, M., Goyal, A., Pathak, D., Fragkiadaki, K.: Aligning text-to-image diffusion models with reward backpropagation (2023)
- 36. Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., et al.: Training language models to follow instructions with human feedback. In: NeurIPS. vol. 35, pp. 27730-27744 (2022)
- 38. Qin, X., Zhang, Z., Huang, C., Dehghan, M., Zaiane, O., Jagersand, M.: U2-net: Going deeper with nested u-structure for salient object detection. Pattern Recognition 106 , 107404 (2020)

- 39. Rafailov, R., Sharma, A., Mitchell, E., Manning, C.D., Ermon, S., Finn, C.: Direct preference optimization: Your language model is secretly a reward model. In: NeurIPS (2023)
- 40. Ranftl, R., Bochkovskiy, A., Koltun, V.: Vision transformers for dense prediction. In: ICCV. pp. 12179-12188 (2021)
- 41. Rombach, R., Blattmann, A., Lorenz, D., Esser, P., Ommer, B.: High-resolution image synthesis with latent diffusion models. In: CVPR. pp. 10684-10695 (2022)
- 42. Ronneberger, O., Fischer, P., Brox, T.: U-net: Convolutional networks for biomedical image segmentation. In: Navab, N., Hornegger, J., III, W.M.W., Frangi, A.F. (eds.) MICCAI. Lecture Notes in Computer Science, vol. 9351, pp. 234-241 (2015)
- 43. Schuhmann, C., Beaumont, R., Vencu, R., Gordon, C., Wightman, R., Cherti, M., Coombes, T., Katta, A., Mullis, C., Wortsman, M., et al.: Laion-5b: An open largescale dataset for training next generation image-text models. In: NeurIPS. vol. 35, pp. 25278-25294 (2022)
- 44. Schulman, J., Wolski, F., Dhariwal, P., Radford, A., Klimov, O.: Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347 (2017)
- 45. Song, J., Meng, C., Ermon, S.: Denoising diffusion implicit models. In: ICLR (2021)
- 46. Song, Y., Sohl-Dickstein, J., Kingma, D.P., Kumar, A., Ermon, S., Poole, B.: Scorebased generative modeling through stochastic differential equations. In: ICLR (2021)
- 47. Touvron, H., Martin, L., Stone, K., Albert, P., Almahairi, A., Babaei, Y., Bashlykov, N., Batra, S., Bhargava, P., Bhosale, S., et al.: Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288 (2023)
- 48. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., Polosukhin, I.: Attention is all you need. In: NeurIPS. vol. 30 (2017)
- 49. Wallace, B., Dang, M., Rafailov, R., Zhou, L., Lou, A., Purushwalkam, S., Ermon, S., Xiong, C., Joty, S., Naik, N.: Diffusion model alignment using direct preference optimization. arXiv preprint arXiv:2311.12908 (2023)
- 50. Wallace, B., Gokul, A., Ermon, S., Naik, N.V.: End-to-end diffusion latent optimization improves classifier guidance. In: ICCV. pp. 7246-7256 (2023)
- 51. Wang, H., Feng, W., Lu, Y., Li, Y., Zhang, Z., Lv, J., Zhu, X., Shen, J., Lin, Z., Bo, L., et al.: Generate e-commerce product background by integrating category commonality and personalized style. arXiv preprint arXiv:2312.13309 (2023)
- 52. Wang, J., Sun, K., Cheng, T., Jiang, B., Deng, C., Zhao, Y., Liu, D., Mu, Y., Tan, M., Wang, X., Liu, W., Xiao, B.: Deep high-resolution representation learning for visual recognition. IEEE Trans. on Pattern Analysis and Machine Intelligence 43 , 3349-3364 (2019)
- 53. Wang, S., Liu, Q., Ge, T., Lian, D., Zhang, Z.: A hybrid bandit model with visual priors for creative ranking in display advertising. In: WWW. pp. 2324-2334 (2021)
- 54. Wang, Z.J., Montoya, E., Munechika, D., Yang, H., Hoover, B., Chau, D.H.: Diffusiondb: A large-scale prompt gallery dataset for text-to-image generative models. In: ACL (2023)
- 55. Wei, P., Liu, S., Yang, X., Wang, L., Zheng, B.: Towards personalized bundle creative generation with contrastive non-autoregressive decoding. In: SIGIR. pp. 2634-2638 (2022)
- 56. Witteveen, S., Andrews, M.: Investigating prompt engineering in diffusion models. arXiv preprint arXiv:2211.15462 (2022)
- 57. Xie, S., Girshick, R.B., Dollár, P., Tu, Z., He, K.: Aggregated residual transformations for deep neural networks. In: CVPR. pp. 5987-5995 (2016)

- 58. Xu, J., Liu, X., Wu, Y., Tong, Y., Li, Q., Ding, M., Tang, J., Dong, Y.: Imagereward: Learning and evaluating human preferences for text-to-image generation. In: NeurIPS (2023)
- 60. Zhang, L., Rao, A., Agrawala, M.: Adding conditional control to text-to-image diffusion models. In: ICCV. pp. 3813-3824 (2023)
- 59. Yang, K., Tao, J., Lyu, J., Ge, C., Chen, J., Li, Q., Shen, W., Zhu, X., Li, X.: Using human feedback to fine-tune diffusion models without any reward model. arXiv preprint arXiv:2311.13231 (2023)
- 61. Zhang, Y., Tzeng, E., Du, Y., Kislyuk, D.: Large-scale reinforcement learning for diffusion models. arXiv preprint arXiv:2401.12244 (2024)
- 62. Ziegler, D.M., Stiennon, N., Wu, J., Brown, T.B., Radford, A., Amodei, D., Christiano, P., Irving, G.: Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593 (2019)

## Supplemental Material

In this supplemental material, we first describe the construction of the RF1M dataset (Sec. 7). The Recurrent Generation is described in Sec. 8. We then detail the human-involved experiments (Sec. 9) and address our responsibilities towards human subjects (Sec. 10). The detailed configuration for image generation is outlined in Sec. 11, followed by additional visualization results in Sec. 12. Finally, we discuss our ethical concerns (Sec. 13) and future work (Sec. 14).

## 7 Dataset Construction

## 7.1 Annotation Guidance

During the RF1M annotation process, annotators are provided with the original product images, product captions, and generated images along with the following instructions:

Based on the product image and caption, determine the category of the advertising image:

- 1. Space Mismatch. Image where the product and background have inappropriate spatial relations contrary to physical laws, such as a part of the product is floating.
- 2. Size Mismatch. Discrepancies between the product size and its background violate common sense, e.g ., a massage chair appears smaller than a cabinet.
- 3. Indistinctiveness. Image where the product fails to stand out due to background complexity or color similarities, and you cannot clearly figure out which or where the product is. Additionally, this confusion might lead to misconceptions about the product itself, mistakenly suggesting the inclusion of extra freebies.
- 4. Shape Hallucination. Background that erroneously extends the product shape, adding elements like pedestals or legs, and giving you incorrect perceptions about the product.
- 5. Available. Image deemed available for advertising purposes, not falling into any of the above categories.
- * If the image belongs to several types simultaneously, e.g ., the product has an inappropriate size and extended shape, annotate it with the most significant issue.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-50eab91c-3328-4cd3-a0e0-c45ff3b4b4ec.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-cbece6af-b8d2-4696-bed0-6e196782e6b7.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-f473e9bf-92ac-40b6-a47e-3f0b69b717c4.jpg)

Hershey's ) 210g (Hershey's Dark Chocolate Bar Snack Wedding Candy 210g)

(Beijiajie Wide-Head Toothbrush for Adults with High Aesthetic Value; Fine Bristles with 53 Holes SPA-Level Soft Bristles; Wide Head, Suitable for Couples and Families; [Manager's Recommendation], Individually Packaged; Random Color)

(Deerma CM8OO Mite Removal Instrument, Multifunctional High-Frequency   Beating; Household   Handheld Mite   Remover; Bed Mite   Removal UV-C Sterilization; Vibration Beating)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-6bd78bdc-f7c5-4436-bade-7da40d229d64.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-7e01a59c-911b-4c6e-b06b-4a4ba30c314d.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-15a96d73-f631-4ac3-b465-f472c04712e7.jpg)

Product Caption

Fig. 10: Some examples shown to annotators. The translations of Chinese captions are in the brackets.

## 7.2 More Examples in Dataset

All samples in the RF1M dataset are generated using the approach outlined in paper, created with the original diffusion model before fine-tuning. We showcase additional examples of both available and unavailable generated images in Figs. 11 and 12. For brevity, auxiliary modalities such as product captions, depth images, salience images, and prompts are not shown. The dataset includes a broad variety of products and background scenes with a strong visual appeal.

## 8 Recurrent Generation

We show our Recurrent Generation strategy in Algorithm 1.

## 9 Human-involved Experiments

For human availability inspection , the annotators who involved in annotating the RF1M dataset are engaged. They followed the same instructions and data format as during dataset construction (Sec. 7.1) to mark whether the generated images were available for advertising use.

For human preference assessment , we generated advertising images using different approaches with the same seed. We combined them with the product image in a random sequence to prevent visual fatigue, as shown in Fig. 13. Each advertising practitioner ranked them based on personal preference, providing a final ranking like '1423'.

## Algorithm 1: Recurrent Generation

```
  Algorithm 1: Recurrent Generation

    Input   : Depth estimation model Depth(), Salience detection model
                   Salience(), RFNet(), product image Io and caption Cap, denoising
                   process Denoise(), max attempts K
    attempt k <- 0, initial noise x_t ~ N(0, I);
    while k < K do
      |   x_0 = Denoise(x_t); I_g <- x_0; # latent to image
         y_pre = RFNet(Io, I_g, Depth(I_g), Salience(I_g), Cap);
         if y_pre == "Available" then
          |   Iava = I_g;
          |   Break;
         else
         |   Iava = None;
        end
        k <- k + 1;
    end
    Output: Iava
```

## 10 Responsibility to Human Subjects

We hired annotators and practitioners to obtain annotations and feedback. We have conducted a thorough review to ensure that the dataset did not include personally identifiable information or offensive content.

## 11 Detailed Configuration

We detail our configuration for image generation in Table 6.

Table 6: Image generation configuration. 'RF Interval' denotes the steps interval to fine-tune the diffusion model.

| Image Size     | 512 × 512   | Clip Skip        | 2     |
|----------------|-------------|------------------|-------|
| Sampler        | DDIM        | Total Steps      | 40    |
| LoRA Scale     | 0.8         | ControlNet Scale | 1.0   |
| Guidance Scale | 7.5         | RF Interval      | 30-40 |

Prompt Example : 'An item sitting on a wooden table, (outdoor background: snowy mountain environment, heavy snow, snowflakes), depth of field, close-up, best quality, rich detail, 8k.'

Negative Prompt : 'text, username, logo, (low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2), watermark, multiple moles, mole on body, drawing, painting, crayon, sketch, graphite, impressions.'

## 12 More Visualization Results

## 12.1 Image Collapse

In Fig. 14, we display collapsed images generated by ReFL. Despite varying product images and prompts, the outputs are uniformly degraded and filled with strange textures, similar to adversarial samples [16, 25]. Thus the direct gradient backpropagation without regularization can be interpreted as training the diffusion model to produce images that deceive the RFNet.

## 12.2 Generalization Results

Fig. 15 shows the consistency of background impressions while the available rate improves with different LoRA/diffusion models.

## 12.3 Integration with Other Feedback

We present further examples with different feedback combination strategies in Fig. 16. Integrating F IR without L CC leads to overly detailed backgrounds. Combining F IR and L CC preserves background aesthetics, highlighting the role of L CC to maintain the text prompt conditions in backgrounds.

## 12.4 Comparison with Other Refining Approaches

Fig. 17 and Fig. 18 showcase advertising images generated by different approaches. Our approach yields images with a high available rate for advertising purposeS while maintaining appealing visuals.

## 13 Ethical Concerns

Regarding image manipulation and automated advertising image generation, there's a risk of producing content that could be unethical or illegal, such as violating individual portrait rights or creating discriminatory content. Thus, these technologies require stricter oversight. In our scenario, we carefully select all product images to ensure neutrality and compliance with advertising standards. The prompts for background generation are also meticulously crafted to produce content that is neutral and meets regulatory requirements.

As for our RF1M dataset, all product information is sourced from an ecommerce platform and has undergone pre-review by both the merchants and the platform. The prompts for generating advertising images are created by professional advertising practitioners. During the generation process, we use Stable Diffusion's official safety checker to filter out NSFW content. Finally, professionals review and screen the dataset, ensuring it is free from bias or offensive content and complies with relevant local laws.

In terms of future applications, while these technologies offer significant benefits in efficiency and personalization, they also pose risks related to misinformation. It's vital to maintain high transparency levels to address these concerns. This includes clearly labeling AI-generated images, allowing consumers to differentiate between AI-generated and human-created content. Furthermore, developing and adhering to business standards and ethical guidelines is crucial to ensure AI's use in advertising upholds truthfulness and honesty. The automation of creative tasks could also alter the job market in creative industries. Rather than seeing AI as a replacement for human creativity, we envision a collaborative approach where AI serves as a tool for creative professionals, helping the workforce stay competitive and ensuring human creativity remains vital in advertising.

## 14 Future Work

Our research currently emphasizes the availability of generated images. Moving forward, we plan to incorporate additional types of feedback to refine diffusion models. For example, click-through rate (CTR) of different images reveals the customers' preferences. Our future work will explore utilizing the CTR to enhance the appeal of generated advertising images.

Additionally, we have found that conventional metrics for evaluating generated images are infeasible for our specific use case. Given that the central focus of advertising image is the identical product, traditional metrics like FID do not provide an accurate assessment of image quality, i.e ., different approaches yield similar FIDs despite varying levels of visual attractiveness. For example, ReFL scores an FID of 18.52 compared to our approach's 16.26 in Sec. 12.4. Therefore, we intend to develop a more appropriate evaluation metric for assessing the quality of generated backgrounds.

Fig. 11: Some available generated images in the dataset, encompass various products in multiple scenarios.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-a08b1787-1cc6-4b4d-bd65-356636aec845.jpg)

Fig. 12: Some unavailable generated images in the dataset, encompass four bad cases.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-e94f47cd-9313-4900-9b86-135303d27c5e.jpg)

Fig. 13: Sample shown to advertising practitioners to assess their preferences.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-d962aaa1-52b9-469a-8e60-2d34d825261c.jpg)

Fig. 14: Collapsed images generated by ReFL.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-03d1f4be-c3a9-4f74-81c3-cb7c08e809cc.jpg)

Fig. 15: Comparison of the original model and our fine-tuned model using different LoRA and diffusion models.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-24f059ab-4082-440a-b68c-5b729df8409c.jpg)

Fig. 16: Comparison of different feedback combination strategies.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-4b0f7906-744b-4856-8277-5256c3c9dba7.jpg)

Fig. 17: Generated advertising images using different approaches.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-efbbf299-8ad3-4d88-b9c2-70cebeaea99b.jpg)

Fig. 18: Generated advertising images using different approaches.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00418v1-figure-0633a416-d155-4d68-be02-474892b145c2.jpg)
Zhenbang Du Wei Feng Haohan Wang Yaoyu Li Jingsen Wang Jian Li Zheng Zhang Jingjing Lv Xin Zhu Junsheng Jin Junjie Shen Zhangang Lin Jingping Shao
Towards Reliable Advertising Image Generation Using Human Feedback
In the e-commerce realm, compelling advertising images are pivotal for
attracting customer attention. While generative models automate image
generation, they often produce substandard images that may mislead customers
and require significant labor costs to inspect. This paper delves into
increasing the rate of available generated images. We first introduce a
multi-modal Reliable Feedback Network (RFNet) to automatically inspect the
generated images. Combining the RFNet into a recurrent process, Recurrent
Generation, results in a higher number of available advertising images. To
further enhance production efficiency, we fine-tune diffusion models with an
innovative Consistent Condition regularization utilizing the feedback from
RFNet (RFFT). This results in a remarkable increase in the available rate of
generated images, reducing the number of attempts in Recurrent Generation, and
providing a highly efficient production process without sacrificing visual
appeal. We also construct a Reliable Feedback 1 Million (RF1M) dataset which
comprises over one million generated advertising images annotated by human,
which helps to train RFNet to accurately assess the availability of generated
images and faithfully reflect the human feedback. Generally speaking, our
approach offers a reliable solution for advertising image generation.