Aligning Diffusion Models with Noise-Conditioned Perception

Recent advancements in human preference optimization, initially developed for Language Models (LMs), have shown promise for text-to-image Diffusion Models, enhancing prompt alignment, visual appeal, and user preference. Unlike LMs, Diffusion Models typically optimize in pixel or VAE space, which doe...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Gambashidze, Alexander, Kulikov, Anton, Sosnin, Yuriy, Makarov, Ilya
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Gambashidze, Alexander
Kulikov, Anton
Sosnin, Yuriy
Makarov, Ilya
description Recent advancements in human preference optimization, initially developed for Language Models (LMs), have shown promise for text-to-image Diffusion Models, enhancing prompt alignment, visual appeal, and user preference. Unlike LMs, Diffusion Models typically optimize in pixel or VAE space, which does not align well with human perception, leading to slower and less efficient training during the preference alignment stage. We propose using a perceptual objective in the U-Net embedding space of the diffusion model to address these issues. Our approach involves fine-tuning Stable Diffusion 1.5 and XL using Direct Preference Optimization (DPO), Contrastive Preference Optimization (CPO), and supervised fine-tuning (SFT) within this embedding space. This method significantly outperforms standard latent-space implementations across various metrics, including quality and computational cost. For SDXL, our approach provides 60.8\% general preference, 62.2\% visual appeal, and 52.1\% prompt following against original open-sourced SDXL-DPO on the PartiPrompts dataset, while significantly reducing compute. Our approach not only improves the efficiency and quality of human preference alignment for diffusion models but is also easily integrable with other optimization techniques. The training code and LoRA weights will be available here: https://huggingface.co/alexgambashidze/SDXL\_NCP-DPO\_v0.1
doi_str_mv 10.48550/arxiv.2406.17636
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2406_17636</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2406_17636</sourcerecordid><originalsourceid>FETCH-LOGICAL-a676-858fcef15b27dc31fc7efa1dc95fc682bebc87c170bfdc5d96cde4300ee4c6083</originalsourceid><addsrcrecordid>eNotj8tuwjAQRb1hUUE_oCv8Awl2HD9QVyh9SrRlwT5yxjN0pJCghL7-vgW6urq60tE9QtxolZfBWrWIwzd_5kWpXK69M-5K3K5a3nXc7eQdE32M3HfypU_YjvKLj-_ytecRs6rvEh__NkxygwPg4VRmYkKxHfH6P6di-3C_rZ6y9dvjc7VaZ9F5lwUbCJC0bQqfwGgCjxR1gqUlcKFosIHgQXvVUAKblg4SlkYpxBKcCmYq5hfs-X19GHgfh5_6ZFGfLcwvBd1Dmw</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Aligning Diffusion Models with Noise-Conditioned Perception</title><source>arXiv.org</source><creator>Gambashidze, Alexander ; Kulikov, Anton ; Sosnin, Yuriy ; Makarov, Ilya</creator><creatorcontrib>Gambashidze, Alexander ; Kulikov, Anton ; Sosnin, Yuriy ; Makarov, Ilya</creatorcontrib><description>Recent advancements in human preference optimization, initially developed for Language Models (LMs), have shown promise for text-to-image Diffusion Models, enhancing prompt alignment, visual appeal, and user preference. Unlike LMs, Diffusion Models typically optimize in pixel or VAE space, which does not align well with human perception, leading to slower and less efficient training during the preference alignment stage. We propose using a perceptual objective in the U-Net embedding space of the diffusion model to address these issues. Our approach involves fine-tuning Stable Diffusion 1.5 and XL using Direct Preference Optimization (DPO), Contrastive Preference Optimization (CPO), and supervised fine-tuning (SFT) within this embedding space. This method significantly outperforms standard latent-space implementations across various metrics, including quality and computational cost. For SDXL, our approach provides 60.8\% general preference, 62.2\% visual appeal, and 52.1\% prompt following against original open-sourced SDXL-DPO on the PartiPrompts dataset, while significantly reducing compute. Our approach not only improves the efficiency and quality of human preference alignment for diffusion models but is also easily integrable with other optimization techniques. The training code and LoRA weights will be available here: https://huggingface.co/alexgambashidze/SDXL\_NCP-DPO\_v0.1</description><identifier>DOI: 10.48550/arxiv.2406.17636</identifier><language>eng</language><subject>Computer Science - Artificial Intelligence ; Computer Science - Computer Vision and Pattern Recognition</subject><creationdate>2024-06</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,776,881</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2406.17636$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2406.17636$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Gambashidze, Alexander</creatorcontrib><creatorcontrib>Kulikov, Anton</creatorcontrib><creatorcontrib>Sosnin, Yuriy</creatorcontrib><creatorcontrib>Makarov, Ilya</creatorcontrib><title>Aligning Diffusion Models with Noise-Conditioned Perception</title><description>Recent advancements in human preference optimization, initially developed for Language Models (LMs), have shown promise for text-to-image Diffusion Models, enhancing prompt alignment, visual appeal, and user preference. Unlike LMs, Diffusion Models typically optimize in pixel or VAE space, which does not align well with human perception, leading to slower and less efficient training during the preference alignment stage. We propose using a perceptual objective in the U-Net embedding space of the diffusion model to address these issues. Our approach involves fine-tuning Stable Diffusion 1.5 and XL using Direct Preference Optimization (DPO), Contrastive Preference Optimization (CPO), and supervised fine-tuning (SFT) within this embedding space. This method significantly outperforms standard latent-space implementations across various metrics, including quality and computational cost. For SDXL, our approach provides 60.8\% general preference, 62.2\% visual appeal, and 52.1\% prompt following against original open-sourced SDXL-DPO on the PartiPrompts dataset, while significantly reducing compute. Our approach not only improves the efficiency and quality of human preference alignment for diffusion models but is also easily integrable with other optimization techniques. The training code and LoRA weights will be available here: https://huggingface.co/alexgambashidze/SDXL\_NCP-DPO\_v0.1</description><subject>Computer Science - Artificial Intelligence</subject><subject>Computer Science - Computer Vision and Pattern Recognition</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj8tuwjAQRb1hUUE_oCv8Awl2HD9QVyh9SrRlwT5yxjN0pJCghL7-vgW6urq60tE9QtxolZfBWrWIwzd_5kWpXK69M-5K3K5a3nXc7eQdE32M3HfypU_YjvKLj-_ytecRs6rvEh__NkxygwPg4VRmYkKxHfH6P6di-3C_rZ6y9dvjc7VaZ9F5lwUbCJC0bQqfwGgCjxR1gqUlcKFosIHgQXvVUAKblg4SlkYpxBKcCmYq5hfs-X19GHgfh5_6ZFGfLcwvBd1Dmw</recordid><startdate>20240625</startdate><enddate>20240625</enddate><creator>Gambashidze, Alexander</creator><creator>Kulikov, Anton</creator><creator>Sosnin, Yuriy</creator><creator>Makarov, Ilya</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240625</creationdate><title>Aligning Diffusion Models with Noise-Conditioned Perception</title><author>Gambashidze, Alexander ; Kulikov, Anton ; Sosnin, Yuriy ; Makarov, Ilya</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a676-858fcef15b27dc31fc7efa1dc95fc682bebc87c170bfdc5d96cde4300ee4c6083</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Artificial Intelligence</topic><topic>Computer Science - Computer Vision and Pattern Recognition</topic><toplevel>online_resources</toplevel><creatorcontrib>Gambashidze, Alexander</creatorcontrib><creatorcontrib>Kulikov, Anton</creatorcontrib><creatorcontrib>Sosnin, Yuriy</creatorcontrib><creatorcontrib>Makarov, Ilya</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Gambashidze, Alexander</au><au>Kulikov, Anton</au><au>Sosnin, Yuriy</au><au>Makarov, Ilya</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Aligning Diffusion Models with Noise-Conditioned Perception</atitle><date>2024-06-25</date><risdate>2024</risdate><abstract>Recent advancements in human preference optimization, initially developed for Language Models (LMs), have shown promise for text-to-image Diffusion Models, enhancing prompt alignment, visual appeal, and user preference. Unlike LMs, Diffusion Models typically optimize in pixel or VAE space, which does not align well with human perception, leading to slower and less efficient training during the preference alignment stage. We propose using a perceptual objective in the U-Net embedding space of the diffusion model to address these issues. Our approach involves fine-tuning Stable Diffusion 1.5 and XL using Direct Preference Optimization (DPO), Contrastive Preference Optimization (CPO), and supervised fine-tuning (SFT) within this embedding space. This method significantly outperforms standard latent-space implementations across various metrics, including quality and computational cost. For SDXL, our approach provides 60.8\% general preference, 62.2\% visual appeal, and 52.1\% prompt following against original open-sourced SDXL-DPO on the PartiPrompts dataset, while significantly reducing compute. Our approach not only improves the efficiency and quality of human preference alignment for diffusion models but is also easily integrable with other optimization techniques. The training code and LoRA weights will be available here: https://huggingface.co/alexgambashidze/SDXL\_NCP-DPO\_v0.1</abstract><doi>10.48550/arxiv.2406.17636</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2406.17636
ispartof
issn
language eng
recordid cdi_arxiv_primary_2406_17636
source arXiv.org
subjects Computer Science - Artificial Intelligence
Computer Science - Computer Vision and Pattern Recognition
title Aligning Diffusion Models with Noise-Conditioned Perception
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-02T15%3A20%3A48IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Aligning%20Diffusion%20Models%20with%20Noise-Conditioned%20Perception&rft.au=Gambashidze,%20Alexander&rft.date=2024-06-25&rft_id=info:doi/10.48550/arxiv.2406.17636&rft_dat=%3Carxiv_GOX%3E2406_17636%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true