DyArtbank: نقل أنماط فنية متنوعة عبر الانتشار المستقر المدرب مسبقًا وفن ديناميكي DyArtbank: Diverse artistic style transfer via pre-trained stable diffusion and dynamic style prompt Artbank

شارك:
المجلة: Knowledge-Based Systems، المجلد: 310
DOI: https://doi.org/10.1016/j.knosys.2025.112959
تاريخ النشر: 2025-01-07
المؤلف: Zhanjie Zhang وآخرون
الموضوع الرئيسي: الشبكات التنافسية التوليدية وتوليد الصور

نظرة عامة

تقدم ورقة البحث إطار عمل جديد لنقل الأسلوب الفني يسمى DyArtbank، مصمم لتعزيز توليد صور فنية متنوعة وواقعية بأسلوب فني. غالبًا ما تنتج الطرق التقليدية مخرجات مصممة بشكل متسق ولكنها محدودة، مما يمكن أن يقيد استمتاع المستخدم. يعالج DyArtbank هذا القيد من خلال تقديم مجموعة من المعلمات القابلة للتعلم تُعرف باسم Dynamic Style Prompt ArtBank (DSPA)، والتي تلتقط وتخزن معلومات الأسلوب من مجموعة من الأعمال الفنية. وهذا يسمح بالتوجيه الديناميكي لنماذج الانتشار المستقر المدربة مسبقًا، مما يسهل توليد صور فنية متنوعة. بالإضافة إلى ذلك، يتضمن الإطار وحدة Key Content Feature Prompt (KCFP)، التي تضمن الحفاظ على الهيكل التفصيلي لصورة المحتوى المدخلة أثناء عملية النقل.

تشير النتائج إلى أن DyArtbank يستفيد بشكل فعال من الانتشار المستقر المدرب مسبقًا لإنتاج مجموعة واسعة من الأساليب الفنية، مما يمثل تقدمًا كبيرًا في مجال نقل الأسلوب. لا يتعلم DSPA من أساليب فنية متعددة فحسب، بل يدعم أيضًا زيادة البيانات من خلال توليد عينات عشوائية بناءً على الأساليب المتعلمة. يعترف المؤلفون بمناطقين لتحسين المستقبل: تعزيز التحكم في تنوع الصور دون المساس بفعالية شروط التوجيه، ومعالجة مشكلات الجودة عندما تحتوي الصور المدخلة على عناصر غير ممثلة في بيانات التدريب. بشكل عام، يمثل DyArtbank نهجًا رائدًا في استخدام النماذج المدربة مسبقًا لنقل الأسلوب الفني المتنوع.

مقدمة

تناقش مقدمة ورقة البحث هذه التقدمات في نقل الأسلوب الفني، الذي يهدف إلى تطبيق الأساليب الفنية المتعلمة على صور المحتوى مع الحفاظ على سلامتها الهيكلية. يصنف المؤلفون الطرق الحالية إلى مجموعتين: نقل الأسلوب الفني المتسق (CAST) ونقل الأسلوب الفني المتنوع (DAST). تركز طرق CAST، مثل تلك التي اقترحها زو وآخرون وزانغ وآخرون، على توليد صور مصممة بشكل متسق بنفس هيكل المحتوى ومظهر الأسلوب. ومع ذلك، تكافح هذه الطرق لإنتاج مخرجات متنوعة. على العكس من ذلك، تهدف طرق DAST، التي تمثلها أعمال تشو وآخرون وتشينغ وآخرون، إلى توليد صور مصممة متنوعة ولكن غالبًا على حساب الواقعية، مما يقدم عيوبًا وعدم اتساق.

لمعالجة هذه القيود، يقدم المؤلفون إطار عمل جديد يسمى DyArtbank، الذي يستفيد من Dynamic Style Prompt Artbank (DSPA) لاستخراج واستخدام معلومات الأسلوب من مجموعة من الأعمال الفنية. يسمح هذا الإطار بتوليد صور فنية مصممة متنوعة وواقعية للغاية من خلال توجيه ديناميكي لنموذج انتشار مستقر مدرب مسبقًا. بالإضافة إلى ذلك، يقترح المؤلفون وحدة Key Content Feature Prompt (KCFP) لضمان الحفاظ على هيكل المحتوى أثناء عملية التزيين. تدعي الورقة أن DyArtbank يتفوق على الطرق السابقة، بما في ذلك سابقتها ArtBank، في كل من الحفاظ على المحتوى وتنوع الأسلوب، مدعومة بتجارب نوعية وكمية واسعة.

نقاش

في نقاش ورقة البحث، يستكشف المؤلفون التقدمات في نقل الأسلوب الفني، مميزين بين نقل الأسلوب الفني المتسق (CAST) ونقل الأسلوب الفني المتنوع (DAST). تركز طرق CAST، التي تستخدم غالبًا الشبكات التنافسية التوليدية (GANs)، على الحفاظ على هيكل المحتوى مع تحقيق اتساق أسلوبي عبر مخرجات متعددة. ومع ذلك، تكافح هذه الطرق عادةً مع توليد مخرجات متنوعة. على العكس من ذلك، تهدف طرق DAST إلى إنتاج تزيينات فنية متنوعة من نفس صورة المحتوى ولكن غالبًا ما تتنازل عن الواقعية. يقدم المؤلفون طريقتهم المقترحة، DyArtbank، التي تدمج Dynamic Style Prompt Artbank (DSPA) وKey Content Feature Prompt (KCFP) لتحقيق التنوع والواقعية في الصور المصممة في نفس الوقت.

يتعلم DSPA ويخزن معلومات الأسلوب من مجموعة من الأعمال الفنية، مما يوجه الانتشار المستقر المدرب مسبقًا بشكل ديناميكي لتوليد مخرجات فنية متنوعة. تعزز وحدة KCFP الحفاظ على المحتوى من خلال توفير مطالبات تفصيلية تحافظ على هيكل الصور المدخلة. يبرز المؤلفون أن DyArtbank يتفوق على الطرق الحالية في كل من التقييمات النوعية والكمية، محققًا درجات أقل في Fréchet Inception Distance (FID) وتقييمات تفضيل المستخدم أعلى. ويخلصون إلى أن نهجهم يمثل تقدمًا كبيرًا في مجال نقل الأسلوب الفني، مع العمل المستقبلي يهدف إلى تحسين التحكم في التنوع والتعامل مع الموضوعات غير المرئية في الصور المدخلة.

القيود

تظهر الطريقة المقترحة القدرة على توليد صور فنية مصممة متنوعة وواقعية للغاية من خلال وحدة DPSA. ومع ذلك، فإن قيدًا ملحوظًا هو أن الوحدة تتعلم كل من معلومات الأسلوب والموضوع من مجموعة الأعمال الفنية. يمكن أن يؤدي الاعتماد على الموضوعات المحددة الموجودة في المجموعة إلى جودة صورة دون المستوى أثناء الاستدلال، خاصة عندما يتم تقديم أشياء حديثة، مثل الحافلات وناطحات السحاب، حيث غالبًا ما تكون غائبة في الأعمال التجريدية للفنانين المدروسين.

علاوة على ذلك، بينما تستخدم النسخة الحالية من DPSA 32 معلمة قابلة للتعلم، فإن زيادة عدد المعلمات قد تحسن جودة الصورة. ومع ذلك، فإن هذا التحسين سيؤدي أيضًا إلى زيادة متعددة الحدود في التعقيد الحسابي، مما قد يطرح تحديات عملية من حيث وقت المعالجة وتخصيص الموارد.

Journal: Knowledge-Based Systems, Volume: 310
DOI: https://doi.org/10.1016/j.knosys.2025.112959
Publication Date: 2025-01-07
Author(s): Zhanjie Zhang et al.
Primary Topic: Generative Adversarial Networks and Image Synthesis

Overview

The research paper presents a novel artistic style transfer framework named DyArtbank, designed to enhance the generation of diverse and realistic artistic stylized images. Traditional methods often produce consistent but limited stylized outputs, which can restrict user enjoyment. DyArtbank addresses this limitation through the introduction of a Dynamic Style Prompt ArtBank (DSPA), a set of learnable parameters that captures and stores style information from a collection of artworks. This allows for dynamic guidance of pre-trained stable diffusion models, facilitating the generation of varied artistic images. Additionally, the framework includes a Key Content Feature Prompt (KCFP) module, which ensures that the detailed structure of the input content image is preserved during the transfer process.

The findings indicate that DyArtbank effectively leverages pre-trained stable diffusion to produce a wide array of artistic styles, marking a significant advancement in the field of style transfer. The DSPA not only learns from multiple artistic styles but also supports data augmentation by generating random samples based on the learned styles. The authors acknowledge two areas for future improvement: enhancing the control over image diversity without compromising the effectiveness of guiding conditions, and addressing quality issues when input images contain elements not represented in the training data. Overall, DyArtbank represents a pioneering approach in utilizing pre-trained models for diverse artistic style transfer.

Introduction

The introduction of this research paper discusses the advancements in artistic style transfer, which aims to apply learned artistic styles to content images while maintaining their structural integrity. The authors categorize existing methods into two groups: consistent artistic style transfer (CAST) and diverse artistic style transfer (DAST). CAST methods, such as those proposed by Zhu et al. and Zhang et al., focus on generating consistent stylized images with the same content structure and style appearance. However, these methods struggle to produce diverse outputs. Conversely, DAST methods, exemplified by works from Chu et al. and Cheng et al., successfully generate diverse stylized images but often at the cost of realism, introducing artifacts and inconsistencies.

To address these limitations, the authors introduce a novel framework called DyArtbank, which leverages a Dynamic Style Prompt Artbank (DSPA) to extract and utilize style information from a collection of artworks. This framework allows for the generation of diverse and highly realistic artistic stylized images by dynamically conditioning a pre-trained stable diffusion model. Additionally, the authors propose a Key Content Feature Prompt (KCFP) module to ensure the preservation of the content structure during the stylization process. The paper claims that DyArtbank outperforms previous methods, including its predecessor ArtBank, in both content preservation and style diversity, supported by extensive qualitative and quantitative experiments.

Discussion

In the discussion of the research paper, the authors explore advancements in artistic style transfer, distinguishing between Consistent Artistic Style Transfer (CAST) and Diverse Artistic Style Transfer (DAST). CAST methods, often utilizing generative adversarial networks (GANs), focus on maintaining content structure while achieving stylistic consistency across multiple outputs. However, these methods typically struggle with generating diverse outputs. Conversely, DAST approaches aim to produce varied artistic stylizations from the same content image but often compromise on realism. The authors introduce their proposed method, DyArtbank, which integrates a Dynamic Style Prompt Artbank (DSPA) and a Key Content Feature Prompt (KCFP) to simultaneously achieve both diversity and realism in stylized images.

The DSPA learns and stores style information from a collection of artworks, dynamically conditioning pre-trained stable diffusion to generate diverse artistic outputs. The KCFP module enhances content preservation by providing detailed prompts that maintain the structure of the input images. The authors highlight that DyArtbank outperforms existing methods in both qualitative and quantitative assessments, achieving lower Fréchet Inception Distance (FID) scores and higher user preference ratings. They conclude that their approach represents a significant advancement in the field of artistic style transfer, with future work aimed at improving diversity control and handling unseen subjects in input images.

Limitations

The proposed method demonstrates the ability to generate diverse and highly realistic artistic stylized images through the DPSA module. However, a notable limitation is that the module learns both style and subject information from the artwork collection. This reliance on the specific subjects present in the collection can lead to suboptimal image quality during inference, particularly when modern objects, such as buses and skyscrapers, are introduced, as these are often absent in the abstract works of the artists studied.

Furthermore, while the current implementation of the DPSA utilizes 32 learnable parameters, increasing the number of parameters could improve image quality. However, this enhancement would also result in a polynomial increase in computational complexity, which may pose practical challenges in terms of processing time and resource allocation.