Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On One-shot Learning with Python

You're reading from   Hands-On One-shot Learning with Python Learn to implement fast and accurate deep learning models with fewer training samples using PyTorch

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781838825461
Length 156 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Ankush Garg Ankush Garg
Author Profile Icon Ankush Garg
Ankush Garg
Shruti Jadon Shruti Jadon
Author Profile Icon Shruti Jadon
Shruti Jadon
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Understanding LSTM meta-learner

The LSTM meta-learner is a type of meta-learning. The LSTM meta-learner has two phases:

  • Meta-learner: In this phase, the model focuses on learning general knowledge across various tasks.
  • Base learner: In the base learner, the model tries to optimize to learn parameters for a task-specific objective.

The key idea of the LSTM meta-learner is to train an LSTM cell to learn an update rule for our original task. In meta-learning framework terms, an LSTM cell will be used as the meta-learner, whereas task-specific objectives, such as dog breed classification, will be the base learner.

Now, the question arises, why would we use an LSTM cell? The authors of the LSTM meta-learner made a key observation that a cell-state update in LSTM is similar to a gradient-based update in backpropagation, and can be used to learn the update rule of the base learner...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image