Vertex AI is a machine learning (ML) platform that lets you train and deploy ML models and AI applications, and customize large language models (LLMs) for use in your AI-powered applications. Vertex AI combines data engineering, data science, and ML engineering workflows, enabling your teams to collaborate using a common toolset and scale your applications using the benefits of Google Cloud.
Vertex AI provides several options for model training and deployment:
-
AutoML lets you train tabular, image, text, or video data without writing code or preparing data splits. These models can be deployed for online prediction or queried directly for batch prediction.
Custom training gives you complete control over the training process, including using your preferred ML framework, writing your own training code, and choosing hyperparameter tuning options. You can import your custom-trained model into the Model Registry and deploy it to an endpoint for online prediction using prebuilt or custom containers. Or you can query it directly for batch predictions.
Model Garden lets you discover, test, customize, and deploy Vertex AI and select open-source (OSS) models and assets.
Generative AI gives you access to Google's large generative AI models for multiple modalities (text, code, images, speech). You can tune Google's LLMs to meet your needs, and then deploy them for use in your AI-powered applications.
After you deploy your models, use Vertex AI's end-to-end MLOps tools to automate and scale projects throughout the ML lifecycle. These MLOps tools are run on fully-managed infrastructure that you can customize based on your performance and budget needs.
You can use the Vertex AI SDK for Python to run the entire machine learning workflow in Vertex AI Workbench, a Jupyter notebook-based development environment. You can collaborate with a team to develop your model in Colab Enterprise, a version of Colaboratory that is integrated with Vertex AI. Other available interfaces include the Google Cloud console, the Google Cloud CLI command line tool, client libraries, and Terraform (limited support).
Vertex AI and the machine learning (ML) workflow
This section provides an overview of the machine learning workflow and how you can use Vertex AI to build and deploy your models.
Data preparation: After extracting and cleaning your dataset, perform exploratory data analysis (EDA) to understand the data schema and characteristics that are expected by the ML model. Apply data transformations and feature engineering to the model, and split the data into training, validation, and test sets.
Explore and visualize data using Vertex AI Workbench notebooks. Vertex AI Workbench integrates with Cloud Storage and BigQuery to help you access and process your data faster.
For large datasets, use Dataproc Serverless Spark from a Vertex AI Workbench notebook to run Spark workloads without having to manage your own Dataproc clusters.
Model training: Choose a training method to train a model and tune it for performance.
To train a model without writing code, see the AutoML overview. AutoML supports tabular, image, text, and video data.
To write your own training code and train custom models using your preferred ML framework, see the Custom training overview.
Optimize hyperparameters for custom-trained models using custom tuning jobs.
Vertex AI Vizier tunes hyperparameters for you in complex machine learning (ML) models.
Use Vertex AI Experiments to train your model using different ML techniques and compare the results.
Register your trained models in the Vertex AI Model Registry for versioning and hand-off to production. Vertex AI Model Registry integrates with validation and deployment features such as model evaluation and endpoints.
Model evaluation and iteration: Evaluate your trained model, make adjustments to your data based on evaluation metrics, and iterate on your model.
- Use model evaluation metrics, such as precision and recall, to evaluate and compare the performance of your models. Create evaluations through Vertex AI Model Registry, or include evaluations in your Vertex AI Pipelines workflow.
Model serving: Deploy your model to production and get online predictions or query it directly for batch predictions.
Deploy your custom-trained model using prebuilt or custom containers to get real-time online predictions (sometimes called HTTP prediction).
Get asynchronous batch predictions, which don't require deployment to endpoints.
Optimized TensorFlow runtime lets you serve TensorFlow models at a lower cost and with lower latency than open source based prebuilt TTensorFlow serving containers.
For online serving cases with tabular models, use Vertex AI Feature Store to serve features from a central repository and monitor feature health.
Vertex Explainable AI helps you understand how each feature contributes to model prediction (feature attribution) and find mislabeled data from the training dataset (example-based explanation).
Deploy and get online predictions for models trained with BigQuery ML.
Model monitoring: Monitor the performance of your deployed model. Use incoming prediction data to retrain your model for improved performance.
- Vertex AI Model Monitoring monitors models for training-serving skew and prediction drift and sends you alerts when the incoming prediction data skews too far from the training baseline.
What's next
Learn about Vertex AI's MLOps features.
Learn about interfaces that you can use to interact with Vertex AI.