TL;DR
This paper introduces PerFusion, a personalized text-to-image generation framework deployed at Alibaba that powers a revolutionary "sell it before you make it" e-commerce model. By aligning diffusion models with group-level comparative preferences and individual merchant styles, the system allows sellers to market photorealistic AI-generated fashion items before manufacturing them, significantly reducing inventory risk. In production, PerFusion achieved a 17.27% increase in conversion rates and a 7.9% reduction in customer return rates.
What Problem Does This Paper Address?
The traditional e-commerce workflow is plagued by financial risk and inefficiency: merchants must design a product, manufacture a prototype, conduct professional photography, and list it online before knowing if it will sell.
While text-to-image generative AI (AI-Generated Items, or AIGI) offers a way to flip this script—allowing merchants to list photorealistic digital designs and only manufacture them once orders hit a certain threshold—standard diffusion models fail to meet commercial needs due to two key challenges:
- Group-Level Comparative Preference: When merchants use AI design tools, they don't evaluate images in isolation or in simple pairs; they look at a grid of $N$ generated candidates holistically and select the best ones. Existing preference alignment algorithms (like standard Direct Preference Optimization, or DPO) only optimize for pairwise comparisons, missing this global context.
- Personalized Preference Across Users: A text prompt like "pink dress, sweet style" means entirely different things to a luxury boutique versus a fast-fashion streetwear brand. Standard models rely solely on text prompts and fail to capture the implicit visual identity, price level, or style of individual stores.
Methods
The authors tackle these challenges by introducing PerFusion, which splits the problem into personalized preference estimation (a reward model) and personalized image generation.
1. PerFusionRM (Reward Model)
To accurately predict which image a specific merchant will prefer, the authors modified a CLIP backbone by adding a personalized plug-in. Merchant profile features (such as Shop ID, store style, and price level) are passed through a multi-layer feature-crossing network to capture feature interactions. This user representation is then injected into every Transformer layer of CLIP using attention adaptive networks. To train it on groups of images, they replaced the standard pairwise Bradley-Terry model with the Plackett-Luce model, optimizing a group-wise cross-entropy loss.
2. PerFusion Generation Framework
For the actual image generation, PerFusion builds upon Stable Diffusion (SD 1.5). It introduces a Personalized Adaptive Network (structured similarly to ControlNet) that takes the merchant's profile representation and feeds it into trainable copies of the U-Net's encoding blocks.
Crucially, the authors mathematically generalized Diffusion DPO from handling pairs to handling lists of images. This group-level preference optimization objective allows the diffusion model to directly learn from the comparative feedback patterns of merchants selecting a few preferred images out of a larger generated set.
Datasets
The framework was evaluated using two distinct datasets:
- PickaPic: A large, public text-to-image preference dataset containing 3,094 users and over 529,000 samples. Because it lacks rich commercial features, the authors used anonymized User IDs to model user-specific tastes.
- Industrial Dataset: Alibaba's internal dataset consisting of 54,995 merchants, 60,616 prompts, and over 607,000 samples. This dataset contains rich merchant profile features like shop style and price tier, with a generation group size of 5 images.
Key Insights and Ideas
- The Personalization Shift in Tuned Models: On the public PickaPic dataset, PerFusionRM showed modest gains. However, on the Industrial dataset, it outperformed baselines by over 45% in Mean Average Precision (MAP). The insight here is profound: when base generative models are already well-tuned to produce high-quality, text-aligned images, general aesthetic metrics become less relevant. Personalization becomes the dominant factor driving actual user choices.
- Disentangling Text and Vision Personalization: Through ablation studies, the authors found that duplicating independent personalized plug-ins for both the text and vision towers of CLIP yielded better results than sharing a single plug-in. Visual and textual preferences can conflict, meaning they require separate modeling pathways.
- DPO is a Special Case of PerFusion: The authors mathematically demonstrated that when the positive and negative image set sizes equal 1 ($|P| = |N| = 1$), their group-level Plackett-Luce objective simplifies exactly to standard Diffusion DPO. PerFusion is a true generalization for multi-candidate environments.
Key Results
Offline Evaluation
PerFusion consistently outperformed strong baselines (including standard DPO, SFT, and PickScore) across both datasets. On the Industrial dataset, PerFusion achieved the highest scores in aesthetic appeal, text-image consistency, and personalized alignment (measured via PerFusionRM).
Online Production Impact
Alibaba deployed PerFusion in a 6-month online A/B test across 17 product categories, yielding massive business metrics:
- Click-Through Rate (CTR): Increased by 17.81% in search and 13.35% in recommendation algorithms.
- Conversion Rate: Improved by 17.27% relative to human-designed items in the same store.
- Return Rate: Decreased by 7.9%, proving that the final manufactured physical goods successfully met or exceeded the expectations set by the AI-generated images.
- Platform Adoption: Over 6 months, the number of stores using the AIGI service grew by 2.5×, and the monthly GMV for AI-designed products per store rose by 2.81×.
Limitations and Future Work
The primary trade-off of PerFusion is its computational and memory overhead. Introducing the personalized adaptive network increases the training time per batch (6.95s vs. 1.48s for standard diffusion) and doubles the inference time per sample (3.05s vs. 1.49s). It also increases GPU memory consumption from 5GB to 9GB during FP16 inference. While Alibaba mitigates this in production using memory-optimization techniques like xFormers, it remains a hurdle for smaller-scale deployments.
For future work, the authors suggest expanding the framework to model a tri-party preference alignment that simultaneously balances the text prompt, the merchant's brand identity, and the end consumer's personalized shopping preferences.
Summary updated