Google Cloud Professional Machine Learning Engineer Walkthrough 17 Retraining Triggers, Continuous T
Jules of Tech
@julesoftechAbout
No channel description available.
Video Description
Google Cloud Professional Machine Learning Engineer Walkthrough 17 Retraining (Triggers, Continuous Training, Best Practices) - November 24 VIEW RECORDING: https://fathom.video/share/VD59wA4b_AAv3oTt7Cfi6hdA-zgLJdsW Meeting Purpose Review GCP machine learning retraining strategies and best practices. Key Takeaways - Retraining is essential because models trained on historical data degrade as the world changes (e.g., pandemics, recessions), requiring updates to reflect current reality. - Combine retraining triggers for optimal results: use a monthly schedule for baseline stability, but also trigger immediate retraining if data drift or performance drops below critical thresholds. - Automate retraining with continuous pipelines (orchestrated by Kubeflow on Vertex AI) to scale the process, eliminating manual work and ensuring consistent, reliable updates. - Use best practices like data windowing (e.g., train on the last 12 months) to focus on current patterns and hyperparameter retuning with Vertex AI Vizier to maintain model performance. Topics Why Retraining Is Essential - Models are "snapshots" of the world at training time, learning patterns from historical data. - Performance degrades when future data no longer resembles the past due to real-world changes (e.g., pandemics, recessions, new competitors). - Retraining on current data is the only fix for these outdated patterns. Retraining Triggers - Production systems need clear policies for when to retrain. - Schedule-based: - Trigger: Fixed cadence (e.g., weekly, monthly). - Pro: Simple, predictable resources. - Con: Retrains unnecessarily or misses urgent changes between intervals. - Performance-based: - Trigger: Performance drops below a threshold. - Pro: Directly tied to business value; retrains only when needed. - Con: Reactive; business impact has already occurred by the time degradation is detected. - Drift-based: - Trigger: Data or concept drift exceeds thresholds. - Pro: Proactive; catches issues before performance drops. Vertex AI Model Monitoring automates this. - Con: Drift doesn't always cause performance problems. - Event-based: - Trigger: Significant business events (e.g., product launch, regulatory change). - Pro: Incorporates domain knowledge. - Con: Relies on human judgment to identify relevant events. Continuous Training Pipelines - Automates the retraining workflow, as manual processes don't scale. - Pipeline Stages (Orchestrated by Kubeflow on Vertex AI): 1. Data Validation: Verify new data quality (schema, nulls, distributions) to "fail fast" on bad data. 2. Model Training: Execute training code on new data batches, maintaining consistency in preprocessing and hyperparameters. 3. Model Evaluation: Calculate performance metrics on validation data. 4. Model Comparison: Compare new model vs. current production model. - If better (e.g., 2% accuracy gain) → proceed to deployment. - If not → keep current model and investigate why. 5. Model Registration: Save approved model to Vertex AI Model Registry with metadata (training data, metrics, data version). 6. Model Deployment: Deploy the new model, potentially using traffic splitting for gradual rollout. 7. Monitoring: Begin monitoring the new model's production performance and data drift. - Triggering Options: - Cloud Scheduler: On a cron schedule (e.g., every Monday at 2 a.m.). - Cloud Functions: On new data arrival in Cloud Storage. - Pub/Sub: On messages (e.g., monitoring alert, campaign launch). - Manual: Ad hoc trigger via console or API. Best Practices - Data Provenance: Track which data was used for each model version to diagnose performance differences. - Incremental Training: For some algorithms (e.g., warm-start NNs), continue training an existing model on new data. - Pro: Faster, cheaper. - Con: Risks "catastrophic forgetting" (losing old knowledge). - Data Windowing: Use a sliding window (e.g., last 12 months) to focus on current patterns and drop obsolete history. - Hyperparameter Retuning: Re-evaluate hyperparameters during retraining. Vertex AI Vizier can automate this search. - Validate Before Deployment: Never auto-deploy. Always compare new vs. old models; new models might perform worse due to data quality issues.
Upgrade Your Everyday
AI-recommended products based on this video

Kasa Smart Outdoor Smart Plug by TP-Link (KP400) - Smart WiFi Outlet with 2 Sockets, IP64 Waterproof, Works with Alexa and Google Home, 2.4GHz WiFi Required, No Hub Required, Sunset & Sunrise Offset

Oraolo Open Ear Headphones, Bluetooth 5.4 Wireless Earbuds with Stereo Sound, ENC Clear Call, 21H Playtime, Type-C Charging, Touch Control, IPX6 Waterproof Open Ear Clip-On Earbuds for outdoor workout

Open Ear Wireless Earbuds, Sports Bluetooth Headphones with Real Time Translation, 80Hrs Playtime with LED Power Display, Noise Canceling Headset, IP55 Waterproof Earphones for Workout/Running (Black)

Wireless Earbuds, Sports Bluetooth Headphones, 80Hrs Playtime Ear Buds with LED Power Display, Noise Canceling Headset, IPX7 Waterproof Earphones for Workout/Running Z(Black)

Monster Wireless Earbuds Open Ear AC311, Bluetooth 5.4 Open Ear Headphones, Up to 30 Hours Playtimes Bluetooth Ear Earphones with Stereo Sound, Touch Control and IPX5 Waterproof Open Ear Buds

Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

Simple Modern Filtered Water Bottle | Insulated Stainless-Steel Carbon Filter Travel Water Bottles | Reusable for Clean Drinking Water On The Go | 24oz, Sea Glass Sage

FITVII Health & Fitness Tracker (Answer/Make Calls), Smart Watch with 24/7 Heart Rate and Blood Pressure, Sleep Tracking Monitor, 120+ Sport Mode Activity Tracker

AYATAHA AYATAHA Smart Watch for Kids, Smartwatch Fitness Tracker for Boys Girls, Children's Activity Watch 37 Sports Modes SMS Notification, HD Full Touchscreen IP67 Waterproof, Blue

Iaret Iaret Smart Watch for Women, 1.83" HD Fitness Tracker with 4 Bands, Answer/Make Calls, Heart Rate/Sleep/SpO2/Step Tracking, 100+ Sport Modes, Android/iPhone Compatible Gift (Rose Gold)

Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

Hand Warmers 2 Pack, 14000mAh Rechargeable Hand Warmers, Electric Hand Warmer Reusable, Portable Power Bank USB Hand Warmers 4 Levels 8 Heating, Gifts for Raynauds Ski Golf Camping

Hand Warmers Rechargeable, 10000mAh Electric Heated Gloves Power Bank Portable Graphene Handwarmers Pouch with 3 Levels & Double-Sided Heating for Hunting Camping Golf Xmas Gifts for Women Men Kids

2Pack Rechargeable Hand Warmer, 8000mAh Electric Hand Warmer Power Bank, Portable USB-C Hand Warmer for Pocket, Reusable Hand Warmer Up to 8 hrs Each, Warm Gift for Men Women, for Hunting, Camping

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

Monster Sleep Ear200, Wireless in-Ear Headphones, Bluetooth 6.0 Sleep Headphones, with ANC Active Noise Cancellation Designed for Side Sleepers, 30 Hours of bass Stereo Sound.

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, White

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Hydroponics Growing System Indoor Garden - Herb Garden with Grow Light, 15 Pods Stainless Steel Indoor Garden Kit, Auto Timer, Gardening Gift for All Ages

Umbra Triflora Hanging Planter for Window, Indoor Herb Garden, Set of 5, White/Black

Large Hydroponics Growing System 14 Pods, Indoor Herb Garden with LED Grow Light, 5L Water Tank, Hydroponic Grow Kit with 3 Auto-Timers, Rotatable Light Panel and Child Lock for Home School Gardening

Hanging Planter Hanging Plant Holder, 6 Inch 4 Indoor Plant Pots, Wall/Window Plant Hanger Indoor Herb Garden

slopehill Multi Hair Stylers & Hair Straightener - 2 in 1 Wet to Dry Air Straightener and Hair Dryer Combo with High Speed Air + Rapid Heat-Up + Customizable Temperature(Pink)

Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

JETech 5 in 1 Case for Samsung Galaxy S25 Ultra 5G with 2-Pack Each Tempered Glass Screen Protector and Camera Lens Protector, Non-Yellowing Shockproof Bumper Phone Cover (Clear)

TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

JOINPAYA 1Set Rechargeable Hand Warmer Hand Heater for Winter Heating Levels Compact

Shakven Rechargeable Hand Warmer | Cute Comfortable Portable Hand Warmers,Ergonomic Adjustable Energy-Efficient Small Heater for Travel, Outdoor, Winter

OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO




