اختيار وظيفة اكتساب مناسبة لتحسين بايزي بالدفعات: مقارنة بين الأساليب التسلسلية ومونت كارلو Choosing a suitable acquisition function for batch Bayesian optimization: comparison of serial and Monte Carlo approaches

شارك:
المجلة: Digital Discovery، المجلد: 4، العدد: 7
DOI: https://doi.org/10.1039/d5dd00066a
تاريخ النشر: 2025-01-01
المؤلف: Imon Mia وآخرون
الموضوع الرئيسي: أبحاث خوارزميات اللصوص المتقدمة

نظرة عامة

تبحث ورقة البحث في تحسين بايزي الجماعي، مع التركيز بشكل خاص على اختيار دوال الاستحواذ الجماعي لتحسين العمليات التجريبية المكلفة. تقارن الدراسة أداء حد الثقة العليا التسلسلي مع العقوبة المحلية (UCB/LP) مقابل الأساليب المعتمدة على مونت كارلو، وبالتحديد تحسين متوقع q-log (qlogEI) وحد الثقة العليا q (qUCB)، باستخدام دالتين رياضيتين – دالة أكلية ودالة هارتمان – كبدائل لتجارب تخليق المواد في العالم الحقيقي. تشير النتائج إلى أن UCB/LP و qUCB تؤديان بشكل جيد في ظل ظروف خالية من الضوضاء، حيث يتفوق كلاهما على qlogEI. ومع ذلك، في وجود الضوضاء، تظهر دوال مونت كارلو، وخاصة qUCB، تقاربًا أسرع وحساسية أقل للظروف الأولية مقارنة بـ UCB/LP.

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

مقدمة

تناقش مقدمة ورقة البحث هذه التحدي المتمثل في تحديد الأمثل العالمي لدالة غير معروفة \( y = f(X) \)، حيث \( X \) هو متجه متعدد الأبعاد من المدخلات التجريبية. نظرًا لتعقيد الدالة، برز تحسين بايزي ك تقنية قوية في تعلم الآلة لاستكشاف فضاء المعلمات بكفاءة وتحديد المدخلات المثلى \( X_{\text{opt}} \) والمخرجات المقابلة \( y_{\text{opt}} \). هذه الطريقة مفيدة بشكل خاص في السيناريوهات التي تكون فيها تكلفة توليد عينات جديدة مرتفعة، مما يسمح بتحسين فعال مع نقاط بيانات محدودة. تؤكد الورقة على استخدام تحسين بايزي الجماعي، الذي يختبر عدة عينات مدخلات في وقت واحد لتعزيز دقة النموذج البديل وتقليل عدد التكرارات التجريبية المطلوبة.

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

النتائج

تقدم فقرة النتائج نتائج من تجارب على دالتي أكلية وهارتمان، بالإضافة إلى تطبيق في العالم الحقيقي يتعلق بكفاءة تحويل الطاقة (PCE) لنموذج خلية شمسية من بيروفسكايت. بالنسبة لدالة أكلية، يقع الحد الأقصى عند \(X_{\text{max}} = [0, 0, 0, 0, 0, 0]\) مع قيمة هدف قصوى \(y_{\text{max}} = f(X_{\text{max}}) = 0\). توضح الدراسة أن دوال الاستحواذ UCB/LP و qUCB تتفوق بشكل كبير على qlogEI في تحديد \(X_{\text{max}}\) وتقدير \(y_{\text{max}}\)، حيث تحقق التقارب إلى حوالي 2 و 3 وحدات من \(y_{\text{max}}\) على التوالي، عبر 99 حالة أولية. في المقابل، تكافح qlogEI لنمذجة الذروة بشكل فعال، حيث تظهر تقدمًا محدودًا بعد بضع تكرارات.

بالنسبة لدالة هارتمان، التي تتميز بحد أقصى ثانوي، تشير النتائج إلى أن UCB/LP و qUCB و qlogEI تظهر تباينًا في مسارات التقارب الخاصة بها، حيث تؤدي بعض الحالات الأولية إلى الحد الأقصى الخاطئ. يزيد إدخال الضوضاء في التقييمات من تعقيد عملية التعلم، حيث تتفوق طرق مونت كارلو (qUCB و qlogEI و qlogNEI) على UCB/LP عند مستويات ضوضاء أعلى. تكشف النتائج التجريبية على نموذج PCE أن qUCB توفر باستمرار أفضل أداء، حيث تحقق قيمًا ضمن 10% من \(y_{\text{max}}\) في حوالي 30 تكرارًا، بينما تتخلف UCB/LP و qlogNEI. بشكل عام، تؤكد النتائج على فعالية استراتيجيات تحسين بايزي، خاصة في المناظر الصعبة التي تتميز بقمم حادة وضوضاء.

المناقشة

في هذه الفقرة، يوضح المؤلفون إعداد ونتائج عملية تحسين بايزي الجماعي الخاصة بهم، التي تم تنفيذها باستخدام بايثون على نظام Lonestar6. استخدموا حزم Emukit و BoTorch لدوال الاستحواذ المختلفة، معتمدين على نموذج انحدار عملية غاوسية مع نواة ARD Matern 5/2. تضمنت عملية التحسين تطبيع بيانات التدريب واستخدام أخذ عينات الهيبركيوب اللاتيني لتجنب التكتل في الاختيار الأولي لنقاط البيانات. قارنت الدراسة بشكل منهجي بين دوال الاستحواذ المختلفة، بما في ذلك حد الثقة العليا مع العقوبة المحلية (UCB/LP) والأساليب المعتمدة على مونت كارلو مثل qUCB و qlogEI، عبر عدة دوال اختبار (أكلية، هارتمان، ونموذج توسيع شغب متعدد الحدود).

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

Journal: Digital Discovery, Volume: 4, Issue: 7
DOI: https://doi.org/10.1039/d5dd00066a
Publication Date: 2025-01-01
Author(s): Imon Mia et al.
Primary Topic: Advanced Bandit Algorithms Research

Overview

The research paper investigates batch Bayesian optimization, particularly focusing on the selection of batch acquisition functions for optimizing expensive experimental processes. The study compares the performance of the serial upper confidence bound with local penalization (UCB/LP) against Monte Carlo-based approaches, specifically q-log expected improvement (qlogEI) and q-upper confidence bound (qUCB), using two mathematical functions—the Ackley function and the Hartmann function—as proxies for real-world materials synthesis experiments. Results indicate that UCB/LP and qUCB perform well under noiseless conditions, with both outperforming qlogEI. However, in the presence of noise, Monte Carlo functions, particularly qUCB, demonstrate faster convergence and reduced sensitivity to initial conditions compared to UCB/LP.

The findings suggest that qUCB is the most effective batch acquisition function for empirical optimization of black-box functions in six dimensions, especially when prior knowledge of the function landscape is limited. The paper emphasizes the importance of selecting an appropriate acquisition function to maximize confidence in the modeled optimum while minimizing the number of costly evaluations. Overall, the study recommends qUCB as the default choice for batch Bayesian optimization in materials synthesis experiments, particularly when dealing with moderate to high levels of noise and unquantified real-world conditions.

Introduction

The introduction of this research paper discusses the challenge of identifying the global optimum of an unknown function \( y = f(X) \), where \( X \) is a multidimensional vector of experimental inputs. Given the complexity of the function, Bayesian optimization has emerged as a robust machine learning technique to efficiently explore parameter space and identify optimal inputs \( X_{\text{opt}} \) and corresponding outputs \( y_{\text{opt}} \). This method is particularly advantageous in scenarios where generating new samples is costly, allowing for effective optimization with limited data points. The paper emphasizes the use of batch Bayesian optimization, which tests multiple input samples simultaneously to enhance the surrogate model’s accuracy and reduce the number of experimental iterations needed.

The section further elaborates on the mechanisms of batch acquisition functions, which guide the selection of promising input parameters for testing. It distinguishes between serial and parallel batch picking strategies, highlighting their respective methodologies and challenges. The authors propose a direct comparison of these strategies using various mathematical functions and an empirical model related to flexible halide perovskite solar cells. The study finds that the parallel batch acquisition function \( qUCB \) demonstrates superior performance across different landscapes, making it a recommended choice for real-world applications where the characteristics of the black-box function are unknown.

Results

The results section presents findings from experiments on the Ackley and Hartmann functions, as well as a real-world application involving a perovskite solar cell power conversion efficiency (PCE) model. For the Ackley function, the maximum is located at \(X_{\text{max}} = [0, 0, 0, 0, 0, 0]\) with a maximum objective value \(y_{\text{max}} = f(X_{\text{max}}) = 0\). The study demonstrates that the UCB/LP and qUCB acquisition functions significantly outperform qlogEI in locating \(X_{\text{max}}\) and estimating \(y_{\text{max}}\), achieving convergence to within approximately 2 and 3 units of \(y_{\text{max}}\), respectively, across 99 initial conditions. In contrast, qlogEI struggles to model the peak effectively, showing limited progress after a few iterations.

For the Hartmann function, which features a secondary maximum, the results indicate that UCB/LP, qUCB, and qlogEI exhibit bifurcation in their convergence paths, with some initial conditions leading to the false maximum. The introduction of noise in evaluations further complicates the learning process, with Monte Carlo methods (qUCB, qlogEI, and qlogNEI) outperforming UCB/LP at higher noise levels. The empirical results on the PCE model reveal that qUCB consistently provides the best performance, achieving values within 10% of \(y_{\text{max}}\) in about 30 iterations, while UCB/LP and qlogNEI lag behind. Overall, the findings underscore the effectiveness of Bayesian optimization strategies, particularly in challenging landscapes characterized by steep peaks and noise.

Discussion

In this section, the authors detail the setup and findings of their batch Bayesian optimization process, implemented using Python on the Lonestar6 system. They utilized the Emukit and BoTorch packages for various acquisition functions, employing a Gaussian process regression surrogate model with an ARD Matern 5/2 kernel. The optimization process involved normalizing training data and employing Latin hypercube sampling to avoid clustering in the initial selection of data points. The study systematically compared different acquisition functions, including Upper Confidence Bound with Local Penalization (UCB/LP) and Monte Carlo-based methods such as qUCB and qlogEI, across multiple test functions (Ackley, Hartmann, and a Polynomial Chaos Expansion model).

The results indicate that UCB/LP consistently outperformed qUCB on the Ackley function, particularly in terms of instantaneous and cumulative regret metrics, due to its deterministic nature that allows for more focused exploitation of promising regions in the parameter space. Conversely, while qUCB demonstrated greater adaptability in noisy environments, it exhibited less precision in local optimization compared to UCB/LP. On the Hartmann function, both UCB/LP and qUCB performed similarly, but qUCB showed advantages in scenarios with higher noise levels. The authors conclude that qUCB is the recommended acquisition function for batch Bayesian optimization in materials synthesis experiments, especially when dealing with unknown functional landscapes and noise, as it balances exploration and exploitation effectively across varying conditions.

شارك: