Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Neural Networks

You're reading from  Hands-On Neural Networks

Product type Book
Published in May 2019
Publisher Packt
ISBN-13 9781788992596
Pages 280 pages
Edition 1st Edition
Languages
Authors (2):
Leonardo De Marchi Leonardo De Marchi
Profile icon Leonardo De Marchi
Laura Mitchell Laura Mitchell
Profile icon Laura Mitchell
View More author details
Toc

Table of Contents (16) Chapters close

Preface 1. Section 1: Getting Started
2. Getting Started with Supervised Learning 3. Neural Network Fundamentals 4. Section 2: Deep Learning Applications
5. Convolutional Neural Networks for Image Processing 6. Exploiting Text Embedding 7. Working with RNNs 8. Reusing Neural Networks with Transfer Learning 9. Section 3: Advanced Applications
10. Working with Generative Algorithms 11. Implementing Autoencoders 12. Deep Belief Networks 13. Reinforcement Learning 14. Whats Next? 15. Other Books You May Enjoy

Implementing MTL

Now, we will see in more detail what we need to do in an MTL task.

There are different ways to implement MTL. Two methods that are commonly used are as follows:

  • Hard parameter sharing: This is the most common way to implement MTL, and it consists of sharing some of the hidden layers across all tasks, while other layers are kept specific for each single task:

The main advantage of this method is that it's difficult to overfit. Overfitting is particularly a problem for NNs, but in this case, the more tasks, the lower the danger of overfitting. This is quite clear, because overfitting is creating a solution that is too specific for the dataset we provide, while in this case, by design, we have a more generic task and a variegated dataset.

  • Soft parameter sharing: With soft parameter sharing, we have one model, but each task will have its own parameters. In...
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 $15.99/month. Cancel anytime