AutoML: יתרונות ומגבלות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
סעיף זה דן בכמה מהיתרונות והמגבלות של
AutoML
יעזרו לכם להחליט אם AutoML מתאים לפרויקט שלכם.
יתרונות
אלה כמה מהסיבות הנפוצות ביותר לשימוש ב-AutoML:
- כדי לחסוך זמן: אנשים רבים בוחרים ב-AutoML כדי לחסוך זמן על ידי הימנעות
לבצע בדיקות ידניות נרחבות כדי למצוא את המודל הטוב ביותר.
- כדי לשפר את איכות מודל למידת המכונה: בעזרת כלי AutoML אפשר לבצע חיפוש מקיף
כדי לקבל את המודל באיכות הגבוהה ביותר.
- לפתח מודל למידת מכונה בלי צורך במיומנויות מקצועיות: תופעת לוואי
האוטומציה של משימות למידת מכונה יוצרת דמוקרטיה של למידת מכונה. המשתמשים לא צריכים
הבנה עמוקה של אלגוריתמים של למידת מכונה או של תכנות כדי
לפתח מודל למידת מכונה.
- כדי לבדוק מערך נתונים: גם אם אתם יוצרים מודלים מומחים, AutoML
הוא יכול לתת במהירות הערכה בסיסית כדי לדעת אם מערך הנתונים
בכל הרעש שלו. אם כלי ה-AutoML לא יכול ליצור אפילו
אולי לא כדאי להשקיע את הזמן בניסיון לבנות מודל טוב
ידנית.
- כדי להעריך מערך נתונים: מערכות AutoML רבות עוזרות להעריך לא רק
את המודלים שהם מייצרים, אך גם עוזרים להעריך את התכונות
מאימון המודלים האלה. גם אם לא משתמשים במודל שנוצר, AutoML
שיעזרו לכם לקבוע אילו מהתכונות שלכם לא מועילות
ונכלול בהם את מערך הנתונים הסופי.
- לאכוף שיטות מומלצות: האוטומציה כוללת תמיכה מובנית ביישום
שיטות מומלצות ללמידת מכונה בכל חיפוש של מודל
מגבלות
עם זאת, לפני שבוחרים ב-AutoML יש כמה מגבלות שכדאי לשקול:
- איכות המודל עשויה להיות פחות טובה כמו אימון ידני. באמצעות שימוש כללי
באלגוריתם שלנו כדי למצוא את השילוב הטוב ביותר של ארכיטקטורה,
היפר-פרמטרים והנדסת פיצ'רים (feature engineering) לכל מערך נתונים אקראי פירושם בדרך כלל
שמומחה מלא מוטיבציה עם מספיק זמן יוכל ליצור מודל
איכות החיזוי.
- החיפוש של המודלים והמורכבות שלהם יכולים להיות אטומים. עם AutoML קשה יותר
כדי לקבל תובנות לגבי האופן שבו הכלי הגיע למודל הטוב ביותר. למעשה,
יכולים להיות שמודלים של פלט עצמם עשויים להיות מארכיטקטורות שונות,
היפר-פרמטרים ואסטרטגיות של הנדסת פיצ'רים (feature engineering). מודלים שנוצרו באמצעות
קשה יותר לשחזר AutoML.
- עשויות להיות שונות רבה יותר של הפעלות AutoML מרובות: בשל האופן שבו
אלגוריתם האופטימיזציה מוצא באופן איטרטיבי את הערכים שלדעתו הם הטובים ביותר
לצורך בניית המודל, הפעלות AutoML שונות עשויות לחפש חלקים שונים
שלוקח את המרחב המשותף ולסיים להגיע אליו באופן בינוני (או אפילו יכול להיות משמעותי)
למקומות שונים. כוונון באמצעות AutoML ליצירת ארכיטקטורת מודלים חדשה
עלול להציג שונות רבה יותר מאשר אימון מחדש של מודל הפלט הקודם
של הארכיטקטורה,
- לא ניתן להתאים אישית מודלים במהלך אימון. אם בתרחיש לדוגמה שלכם יש צורך
לבצע התאמה אישית או לשנות את התוכן במהלך תהליך האימון, יכול להיות ש-AutoML
הבחירה הנכונה עבורך.
הדרישות לגבי הנתונים
לא משנה אם אתם משתמשים באימון מותאם אישית או במערכת AutoML, דבר אחד שתוכלו
כשבונים מודל מאפס הוא צריך
כמויות נתונים. היתרון של AutoML הוא שאפשר להתעלם בעיקר
ובהיפר-פרמטרים, ומתמקדים בעיקר באיכות
לנתונים שלכם.
יש גם מערכות AutoML מיוחדות שיכולות לאמן מודלים עם
פחות נתונים באופן משמעותי, מפני שהם
העברה של למידה. עבור
למשל, במקום לדרוש מאות אלפי דוגמאות כדי לבנות
מודל לסיווג תמונות. המערכות המתמחות האלה של AutoML יכולות להשתמש רק
כמה מאות תמונות מתויגות, יחד עם תהליך הלמידה שמעביר את הלמידה מאתר קיים
מסגרת לסיווג תמונות.
האם AutoML מתאים לפרויקט שלכם?
AutoML יכול לעזור לכל אחד – ממתחילים ועד מומחים – להשתמש בלמידת מכונה כדי לפתח מוצרים
כדי לפתור בעיות. אם אתם מנסים להחליט אם AutoML מתאים לפרויקט שלכם,
כדאי להביא בחשבון את החסרונות הבאים:
- AutoML הוא בחירה מצוינת לצוות עם ניסיון מוגבל בפיתוח למידת מכונה
או צוותים מנוסים שמחפשים מידע על פרודוקטיביות,
אין דרישות של התאמה אישית.
- אימון מותאם אישית (ידני) מתאים יותר כאשר איכות המודל היא
חשוב, והצוות צריך להיות מסוגל להתאים אישית את המודל שלו. באלה
במקרים רבים, האימון הידני עשוי להימשך זמן רב יותר לצורך ניסויים
בתהליך הפיתוח של פתרון, אבל לעיתים קרובות הצוות יכול להשיג מודל באיכות גבוהה יותר
מאשר בפתרון AutoML.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-13 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-13 (שעון UTC)."],[[["\u003cp\u003eAutoML helps save time and improve the quality of machine learning models by automating the model selection and training process.\u003c/p\u003e\n"],["\u003cp\u003eAutoML democratizes ML by enabling users without specialized skills to build models and is useful for dataset evaluation and enforcing best practices.\u003c/p\u003e\n"],["\u003cp\u003eAutoML may have limitations such as potentially lower model quality compared to manual training, limited customization during training, and opacity in the model search process.\u003c/p\u003e\n"],["\u003cp\u003eLarge amounts of data are generally required for AutoML, although specialized systems utilizing transfer learning can reduce this need.\u003c/p\u003e\n"],["\u003cp\u003eAutoML is suitable for teams with limited ML experience or those seeking productivity gains without customization needs, while manual training is preferred when model quality and customization are paramount.\u003c/p\u003e\n"]]],[],null,["# AutoML: Benefits and limitations\n\nThis section discusses some of the benefits and limitations of\n[**AutoML**](/machine-learning/glossary#automl) and can\nhelp you decide if AutoML is right for your project.\n\nBenefits\n--------\n\nSome of the most common reasons you might choose to use AutoML include:\n\n- **To save time**: Many people choose AutoML to save time by avoiding extensive manual experimentation to find the best model.\n- **To improve quality of ML model**: AutoML tools can comprehensively search for the highest quality model.\n- **To build an ML model without needing specialized skills**: A side effect of automating ML tasks is that it democratizes ML. Users don't need to have a deep understanding of machine learning algorithms or programming to develop an ML model.\n- **To smoke test a dataset**: Even if you're an expert model builder, AutoML can quickly give you a baseline estimate for whether a dataset has enough signal in all of its noise. If the AutoML tool can't build even a mediocre model, it might not be worth spending your time trying to build a good model by hand.\n- **To evaluate a dataset**: Many AutoML systems help you evaluate not just the models they produce but also help evaluate the features that go into training those models. Even if you don't use the resulting model, AutoML tools may help you determine which of your features might not be worth gathering and including in your final dataset.\n- **To enforce best practices**: Automation includes built-in support to apply ML best practices to each model search\n\nLimitations\n-----------\n\nHowever, before choosing AutoML there are some limitations you should consider:\n\n- **Model quality may not be as good as manual training.** Using a generalized optimization algorithm to find the best combination of architecture, hyperparameters, and feature engineering for any random dataset often means that a motivated expert with enough time can create a model with better prediction quality.\n- **Model search and complexity can be opaque.** With AutoML, it is difficult to have insight into how the tool arrived at the best model. In fact, the output models themselves may be made from different architectures, hyperparameters, and feature engineering strategies. Models generated with AutoML are difficult to reproduce manually.\n- **Multiple AutoML runs may show more variance**: Because of how the optimization algorithm iteratively finds what it thinks are the best values for building the model, different AutoML runs may search different portions of the space and wind up in moderately (or even possibly significantly) different places. Retuning with AutoML to create a new model architecture may show more variance than simply retraining the previous output model architecture.\n- **Models can't be customized during training.** If your use case requires customization or tweaking during the training process, AutoML may not be the right choice for you.\n\nData requirements\n-----------------\n\nWhether you're using custom training or an AutoML system, one thing you can\ncount on when you are building a model from scratch is that you need large\namounts of data. The advantage with AutoML is that you can mostly ignore the\narchitecture and hyperparameters search and focus primarily on the quality of\nyour data.\n\nThere are also specialized AutoML systems that can train models with\nsignificantly less data because they use\n[**transfer learning**](/machine-learning/glossary#transfer-learning). For\nexample, instead of requiring hundreds of thousands of examples to build\nan image classification model, these specialized AutoML systems can use only\na few hundred labeled images along with transfer learning from an existing\nimage classification framework model.\n\nIs AutoML right for your project?\n---------------------------------\n\nAutoML can help anyone---from novices to experts---use ML to build products and\nsolve problems. If you are trying to decide if AutoML is right for your project,\nconsider these trade offs:\n\n- **AutoML** is a great choice for a team with limited experience building ML models or experienced teams that are looking for productivity gains and don't have customization requirements.\n- **Custom (manual) training** is more appropriate when model quality is important and the team needs to be able to customize their model. In these cases, manual training may require more time for experimentation and building a solution, but the team can often achieve a higher quality model than with an AutoML solution.\n\n| **Key terms:**\n|\n| - [AutoML](/machine-learning/glossary#automl)\n- [Transfer Learning](/machine-learning/glossary#transfer-learning) \n[Help Center](https://support.google.com/machinelearningeducation)"]]