1/30 NLP with AutoML

In this section, you’ll focus on AutoML and explore how it automates the ML workflow.

2/30 NLP with AutoML

To understand AutoML, which is short for automated machine learning, let’s briefly look at how it was built.

3/30 NLP with AutoML

If you’ve worked with ML models before, you know that training and deploying ML models can be time consuming, because you need to

4/30 NLP with AutoML

repeatedly add new data and features,

5/30 NLP with AutoML

try different models,

6/30 NLP with AutoML

and tune parameters to achieve the best result.

7/30 NLP with AutoML

To solve this problem, you have AutoML.

When AutoML was first announced in January of 2018, the goal was to automate machine learning pipelines to save data scientists from manual work, such as tuning hyperparameters and comparing against multiple models.

8/30 NLP with AutoML

But how does AutoML accomplish this?

9/30 NLP with AutoML

Two technologies are vital behind the scenes.

The first is known as transfer learning.

With transfer learning, you build a knowledge base in the field.

You can think of this like gathering lots of books to create a library.

10/30 NLP with AutoML

Transfer learning is a powerful technique that allows people with smaller datasets, or less computational power, to achieve state-of-the-art results by taking advantage of pre-trained models that have already been trained on similar, larger datasets.

11/30 NLP with AutoML

Because the model learns through transfer learning, it doesn’t have to learn from scratch,

12/30 NLP with AutoML

so it can reach higher accuracy with much less data and computation time than models that don’t use transfer learning.

13/30 NLP with AutoML

In addition to transfer learning, the second technology is Vertex AI neural architecture search.

The goal of neural architecture search is to find the optimal model by comparing against multiple models.

Think of this like searching the best book in the library to help you learn what you need.

14/30 NLP with AutoML

AutoML is powered by the latest machine-learning technology.

When a new model is trained, AutoML actually trains it on top of pre-trained models and compares the hyperparameters against multiple models to find the optimal one.

All these happen automatically behind the scenes.

15/30 NLP with AutoML
16/30 NLP with AutoML

One of the biggest benefits is that it’s a no-code solution.

17/30 NLP with AutoML

That means it can train high-quality custom machine learning models with minimal effort and requires little machine learning expertise.

18/30 NLP with AutoML

This allows data scientists to focus their time on tasks like defining business problems in NLP or evaluating and improving model results.

19/30 NLP with AutoML

Others might find AutoML useful as a tool to quickly prototype models

20/30 NLP with AutoML

and explore new features of a dataset before investing in development.

So, what NLP problems does AutoML solve?

21/30 NLP with AutoML

AutoML supports four types of data: image, tabular, text, and video.

22/30 NLP with AutoML

And Text is normally the data type used for NLP.

23/30 NLP with AutoML

For each data type, AutoML solves different types of problems, called objectives.

24/30 NLP with AutoML

For text data, AutoML solves three major problems:

You can use a classification model to analyze text data and return a list of categories that apply to the text found in the data.

For example, you can classify customer questions and comments to different categories and then redirect them to the corresponding departments.

25/30 NLP with AutoML

An entity extraction model can be used to inspect text data for known entities referenced in the data and label those entities in the text.

For example, you can label a social media post in terms of predefined entities such as time, location, and topic.

This can help with online search.

It’s similar to the concept of a hashtag, but created by machine.

26/30 NLP with AutoML

And a sentiment analysis model can be used to inspect text data and identify the prevailing emotional opinion within it, especially to determine the comments of a writer as positive, negative, or neutral.

27/30 NLP with AutoML

In reality, you might not be restricted to just one data type or one objective.

28/30 NLP with AutoML

Instead, you need to combine multiple data types and different objectives to solve a business problem.

29/30 NLP with AutoML

For example, for a translation job, you may first need to upload either image or video data and turn them into text, and then translate the text to different languages.

30/30 NLP with AutoML

AutoML is a powerful tool that can help across these different data types and objectives.