Cookie Consent
Hi, this website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent.
Read our Privacy Policy
VOCABULARY

Active Learning

Active learning is a special case of machine learning in which a learning algorithm can interactively query a user to label new data points with the desired outputs.

How Active Learning Works

Initialization:

  1. Start with a small labeled dataset and train an initial model.
  2. Have a much larger pool of unlabeled data.

Uncertainty Sampling:

  1. The model makes predictions on the unlabeled data.
  2. It then identifies instances where it's most uncertain (e.g., those for which the predicted class probabilities are closest to 50% in a binary classification task).

Query for Labels:

  1. The model (or system) queries the user or expert to label the instances it's uncertain about.

Update the Model:

  1. Incorporate the newly labeled instances into the training dataset.
  2. Retrain the model using the updated dataset.

Iterate:

  1. The process is repeated, with the model iteratively selecting uncertain data points, querying for their labels, and updating its knowledge.
Lakera LLM Security Playbook
Learn how to protect against the most common LLM vulnerabilities

Download this guide to delve into the most common LLM security risks and ways to mitigate them.

Related terms
Activate
untouchable mode.
Get started for free.

Lakera Guard protects your LLM applications from cybersecurity risks with a single line of code. Get started in minutes. Become stronger every day.

Join our Slack Community.

Several people are typing about AI/ML security. 
Come join us and 1000+ others in a chat that’s thoroughly SFW.