SlideShare a Scribd company logo
Report of the Continual Learning
Supervised Classification challenge (Track 3A)
Gabriele Graffieti, Guido Borghi, Davide Maltoni, Matteo Ferrara
{name.surname}@unibo.it
Department of Computer Science and Engineering,
University of Bologna
Italy
ICCV 2021 Workshop: Self-supervised Learning for Next-Generation Industry-level Autonomous Driving
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 1 / 9
The Team
Gabriele Graffieti
Ph.D. student
Guido Borghi
Assistant prof.
Davide Maltoni
Full prof.
Matteo Ferrara
Associate prof.
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 2 / 9
Model and Hyperparamenters
I ResNet-50 [1] pretrained on ImageNet [2].
Last layer substituted with a fully-connected layer with 7 output neurons + biases.
I Stochastic Gradient Descent (SGD) optimizer.
Learning rate = 10−2
, weight decay and momentum = 0.
I Weighted Cross Entropy (CE) loss:
L(y, l) = −αl log
exp(yl )
P
j exp{(yj )}
!
, α0 = 0, α1,..,6 = 1
I Batch size = 10.
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 3 / 9
Training Procedure
Every experience
I Tensors resized from 64 × 64 → 224 × 224 to resemble the original training image size
• Using a Nearest Neighbor interpolation.
• Even though the patches are now 12× larger, network’s filters respond better after the resize.
I On-the-fly data augmentation, flipping horizontally all the images.
• Both the original and the flipped patches are fed to the network.
Only in the first experience
I Current batch put temporally inside the memory and passed twice through the model.
• Loss and optimization computed after each single batch.
• Boost the learning of the model in the first experience (especially for underrepresented
classes).
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 4 / 9
Classification Head Protection
Motivation
I “Learning in isolation” problem when few classes are present in an experience or some
classes are underrepresented.
I Forgetting of underrepresented classes, especially in the classification head.
Solution
I We use the CWR algorithm [3] to control forgetting in the classification head.
I Two set of weights (of the head) are maintained (7k more weights than ResNet-50, inside
the 105% limit)
• cw: Weights from the previous experience used in the consolidation phase.
• tw: Weight used to train the model in the current experince, initialized to 0 with only the
weight of the classes in the current experience loaded from cw.
I We do not freeze the feature extractor, as proposed in [4].
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 5 / 9
Replay Memory
I We divide the memory in 6 buffers (one per class) of 100 samples each (total 600
samples).
• Important to limit the number of samples per class in memory, due to unbalance in the data.
• The goal here is to have a memory balanced per class.
• Buffer size bounded by the number of the least represented class (tricycle, 82 samples).
• We empirically found that 100 sample per class is a good compromise.
I Batch is composed of 5 sample from the current experience and 5 samples sampled
randomply from memory
• The sampling is without replacement.
• Once all the patterns in memory are sampled the sampling start again.
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 6 / 9
Memory Management
I We use Reservoir Sampling [5] to insert pattern in memory with the same probability.
I Memory should not be altered when used!
• We use the 400 remaining slot to store the pattern we want to insert from the current
experience
• We want to insert a maximum of 100/i pattern per class from the i-th experience, thus
maximum allocation of memory is 900 patterns (600 from the replay memory + 50 per class
to insert in the 2nd experience).
• We randomly inserted the new patterns inside the memory at the start of a new experience.
Current used memory Sampled and to be inserted
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 7 / 9
Contribution of the Components
Component Contribution
Model **
Learning rate *
Optimizer ***
Loss weights *
Image resizing ***
Data augmentation **
Double batch (1st exp.) *
CWR **
Not freezing the feature extractor ***
Replay memory ***
Balanced memory ***
Reservoir sampling **
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 8 / 9
Bibliography
[1] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in
Proceedings of the IEEE conference on computer vision and pattern recognition, 2016,
pp. 770–778.
[2] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei, “Imagenet: A large-scale
hierarchical image database,” in 2009 IEEE conference on computer vision and pattern
recognition, IEEE, 2009, pp. 248–255.
[3] D. Maltoni and V. Lomonaco, “Continuous learning in single-incremental-task scenarios,”
Neural Networks, vol. 116, pp. 56–73, 2019.
[4] L. Pellegrini, G. Graffieti, V. Lomonaco, and D. Maltoni, “Latent replay for real-time
continual learning,” in 2020 IEEE/RSJ International Conference on Intelligent Robots and
Systems (IROS), IEEE, 2020, pp. 10 203–10 209.
[5] J. S. Vitter, “Random sampling with a reservoir,” ACM Trans. Math. Softw., vol. 11,
no. 1, pp. 37–57, Mar. 1985, issn: 0098-3500. doi: 10.1145/3147.3165. [Online].
Available: https://doi.org/10.1145/3147.3165.
Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 9 / 9

More Related Content

What's hot

Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)
Julien SIMON
 
Few shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learningFew shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learning
ﺁﺻﻒ ﻋﻠﯽ ﻣﯿﺮ
 
Advance deep learning
Advance deep learningAdvance deep learning
Advance deep learning
aliaKhan71
 
Deep learning (Machine learning) tutorial for beginners
Deep learning (Machine learning) tutorial for beginnersDeep learning (Machine learning) tutorial for beginners
Deep learning (Machine learning) tutorial for beginners
Terry Taewoong Um
 
How machines can take decisions
How machines can take decisionsHow machines can take decisions
How machines can take decisions
Deepu S Nath
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
Nandita Naik
 
Transfer Learning: Breve introducción a modelos pre-entrenados.
Transfer Learning: Breve introducción a modelos pre-entrenados.Transfer Learning: Breve introducción a modelos pre-entrenados.
Transfer Learning: Breve introducción a modelos pre-entrenados.
Fernando Constantino
 
AI-based Robotic Manipulation
AI-based Robotic ManipulationAI-based Robotic Manipulation
AI-based Robotic Manipulation
Akihiko Yamaguchi
 
Deep learning Introduction and Basics
Deep learning  Introduction and BasicsDeep learning  Introduction and Basics
Deep learning Introduction and Basics
Nitin Mishra
 
Multimodal Learning Analytics
Multimodal Learning AnalyticsMultimodal Learning Analytics
Multimodal Learning Analytics
Xavier Ochoa
 
Tutorial on Deep learning and Applications
Tutorial on Deep learning and ApplicationsTutorial on Deep learning and Applications
Tutorial on Deep learning and Applications
NhatHai Phan
 
ML in Android
ML in AndroidML in Android
ML in Android
Jose Antonio Corbacho
 
课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)butest
 
Robot Learning with Structured Knowledge And Richer Sensing
Robot Learning with Structured Knowledge And Richer SensingRobot Learning with Structured Knowledge And Richer Sensing
Robot Learning with Structured Knowledge And Richer Sensing
Akihiko Yamaguchi
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and Hype
Siby Jose Plathottam
 
A Few Useful Things to Know about Machine Learning
A Few Useful Things to Know about Machine LearningA Few Useful Things to Know about Machine Learning
A Few Useful Things to Know about Machine Learning
nep_test_account
 
Zero shot-learning: paper presentation
Zero shot-learning: paper presentationZero shot-learning: paper presentation
Zero shot-learning: paper presentation
Jérémie Kalfon
 
Machine learning basics
Machine learning basics Machine learning basics
Machine learning basics
Akanksha Bali
 
A Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningA Friendly Introduction to Machine Learning
A Friendly Introduction to Machine Learning
Haptik
 

What's hot (19)

Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)
 
Few shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learningFew shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learning
 
Advance deep learning
Advance deep learningAdvance deep learning
Advance deep learning
 
Deep learning (Machine learning) tutorial for beginners
Deep learning (Machine learning) tutorial for beginnersDeep learning (Machine learning) tutorial for beginners
Deep learning (Machine learning) tutorial for beginners
 
How machines can take decisions
How machines can take decisionsHow machines can take decisions
How machines can take decisions
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Transfer Learning: Breve introducción a modelos pre-entrenados.
Transfer Learning: Breve introducción a modelos pre-entrenados.Transfer Learning: Breve introducción a modelos pre-entrenados.
Transfer Learning: Breve introducción a modelos pre-entrenados.
 
AI-based Robotic Manipulation
AI-based Robotic ManipulationAI-based Robotic Manipulation
AI-based Robotic Manipulation
 
Deep learning Introduction and Basics
Deep learning  Introduction and BasicsDeep learning  Introduction and Basics
Deep learning Introduction and Basics
 
Multimodal Learning Analytics
Multimodal Learning AnalyticsMultimodal Learning Analytics
Multimodal Learning Analytics
 
Tutorial on Deep learning and Applications
Tutorial on Deep learning and ApplicationsTutorial on Deep learning and Applications
Tutorial on Deep learning and Applications
 
ML in Android
ML in AndroidML in Android
ML in Android
 
课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)
 
Robot Learning with Structured Knowledge And Richer Sensing
Robot Learning with Structured Knowledge And Richer SensingRobot Learning with Structured Knowledge And Richer Sensing
Robot Learning with Structured Knowledge And Richer Sensing
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and Hype
 
A Few Useful Things to Know about Machine Learning
A Few Useful Things to Know about Machine LearningA Few Useful Things to Know about Machine Learning
A Few Useful Things to Know about Machine Learning
 
Zero shot-learning: paper presentation
Zero shot-learning: paper presentationZero shot-learning: paper presentation
Zero shot-learning: paper presentation
 
Machine learning basics
Machine learning basics Machine learning basics
Machine learning basics
 
A Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningA Friendly Introduction to Machine Learning
A Friendly Introduction to Machine Learning
 

Similar to Self-supervised Learning for Next-Generation Industry-level Autonomous Driving Workshop (ICCV 2021) - 1st Prize Continual Object Recognition Challenge

CORe50: a New Dataset and Benchmark for Continuous Object Recognition Poster
CORe50: a New Dataset and Benchmark for Continuous Object Recognition PosterCORe50: a New Dataset and Benchmark for Continuous Object Recognition Poster
CORe50: a New Dataset and Benchmark for Continuous Object Recognition Poster
Vincenzo Lomonaco
 
Animal neurophysiology virtual lab: Pedagogical requirements and technologica...
Animal neurophysiology virtual lab: Pedagogical requirements and technologica...Animal neurophysiology virtual lab: Pedagogical requirements and technologica...
Animal neurophysiology virtual lab: Pedagogical requirements and technologica...
Nicolas Casel
 
EssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfEssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdf
Ankita Tiwari
 
Artificial Neural Networks , Recurrent networks , Perceptron's
Artificial Neural Networks , Recurrent networks , Perceptron'sArtificial Neural Networks , Recurrent networks , Perceptron's
Artificial Neural Networks , Recurrent networks , Perceptron's
SRM institute of Science and Technology
 
DMTM 2015 - 15 Classification Ensembles
DMTM 2015 - 15 Classification EnsemblesDMTM 2015 - 15 Classification Ensembles
DMTM 2015 - 15 Classification Ensembles
Pier Luca Lanzi
 
Self-training with Noisy Student improves ImageNet classification
Self-training with Noisy Student improves ImageNet classificationSelf-training with Noisy Student improves ImageNet classification
Self-training with Noisy Student improves ImageNet classification
Chaehyeon Lee
 
PR-351: Adaptive Aggregation Networks for Class-Incremental Learning
PR-351: Adaptive Aggregation Networks for Class-Incremental LearningPR-351: Adaptive Aggregation Networks for Class-Incremental Learning
PR-351: Adaptive Aggregation Networks for Class-Incremental Learning
Sunghoon Joo
 
in5490-classification (1).pptx
in5490-classification (1).pptxin5490-classification (1).pptx
in5490-classification (1).pptx
MonicaTimber
 
Conv xg
Conv xgConv xg
Conv xg
Nueng Math
 
Ensemble learning
Ensemble learningEnsemble learning
Ensemble learning
Mustafa Sherazi
 
Presentation of master thesis
Presentation of master thesisPresentation of master thesis
Presentation of master thesis
Seoung-Ho Choi
 
Yulia Honcharenko "Application of metric learning for logo recognition"
Yulia Honcharenko "Application of metric learning for logo recognition"Yulia Honcharenko "Application of metric learning for logo recognition"
Yulia Honcharenko "Application of metric learning for logo recognition"
Fwdays
 
Brains@Bay Meetup: How to Evolve Your Own Lab Rat - Thomas Miconi
Brains@Bay Meetup: How to Evolve Your Own Lab Rat - Thomas MiconiBrains@Bay Meetup: How to Evolve Your Own Lab Rat - Thomas Miconi
Brains@Bay Meetup: How to Evolve Your Own Lab Rat - Thomas Miconi
Numenta
 
A Multiple Classifiers System For Solving The Character Recognition Problem I...
A Multiple Classifiers System For Solving The Character Recognition Problem I...A Multiple Classifiers System For Solving The Character Recognition Problem I...
A Multiple Classifiers System For Solving The Character Recognition Problem I...
Randa Elanwar
 
Human computer learning interaction in a virtual laboratory by Vasilis Zafeir...
Human computer learning interaction in a virtual laboratory by Vasilis Zafeir...Human computer learning interaction in a virtual laboratory by Vasilis Zafeir...
Human computer learning interaction in a virtual laboratory by Vasilis Zafeir...
EADTU
 
(Machine Learning) Ensemble learning
(Machine Learning) Ensemble learning (Machine Learning) Ensemble learning
(Machine Learning) Ensemble learning
Omkar Rane
 
Continual Learning Introduction
Continual Learning IntroductionContinual Learning Introduction
Continual Learning Introduction
Ridge-i, Inc.
 
Dataset Distillation by Matching Training Trajectories
Dataset Distillation by Matching Training Trajectories Dataset Distillation by Matching Training Trajectories
Dataset Distillation by Matching Training Trajectories
taeseon ryu
 

Similar to Self-supervised Learning for Next-Generation Industry-level Autonomous Driving Workshop (ICCV 2021) - 1st Prize Continual Object Recognition Challenge (20)

CORe50: a New Dataset and Benchmark for Continuous Object Recognition Poster
CORe50: a New Dataset and Benchmark for Continuous Object Recognition PosterCORe50: a New Dataset and Benchmark for Continuous Object Recognition Poster
CORe50: a New Dataset and Benchmark for Continuous Object Recognition Poster
 
Animal neurophysiology virtual lab: Pedagogical requirements and technologica...
Animal neurophysiology virtual lab: Pedagogical requirements and technologica...Animal neurophysiology virtual lab: Pedagogical requirements and technologica...
Animal neurophysiology virtual lab: Pedagogical requirements and technologica...
 
EssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdfEssentialsOfMachineLearning.pdf
EssentialsOfMachineLearning.pdf
 
ANN - UNIT 3.pptx
ANN - UNIT 3.pptxANN - UNIT 3.pptx
ANN - UNIT 3.pptx
 
ANN - UNIT 3.pptx
ANN - UNIT 3.pptxANN - UNIT 3.pptx
ANN - UNIT 3.pptx
 
Artificial Neural Networks , Recurrent networks , Perceptron's
Artificial Neural Networks , Recurrent networks , Perceptron'sArtificial Neural Networks , Recurrent networks , Perceptron's
Artificial Neural Networks , Recurrent networks , Perceptron's
 
DMTM 2015 - 15 Classification Ensembles
DMTM 2015 - 15 Classification EnsemblesDMTM 2015 - 15 Classification Ensembles
DMTM 2015 - 15 Classification Ensembles
 
Self-training with Noisy Student improves ImageNet classification
Self-training with Noisy Student improves ImageNet classificationSelf-training with Noisy Student improves ImageNet classification
Self-training with Noisy Student improves ImageNet classification
 
PR-351: Adaptive Aggregation Networks for Class-Incremental Learning
PR-351: Adaptive Aggregation Networks for Class-Incremental LearningPR-351: Adaptive Aggregation Networks for Class-Incremental Learning
PR-351: Adaptive Aggregation Networks for Class-Incremental Learning
 
in5490-classification (1).pptx
in5490-classification (1).pptxin5490-classification (1).pptx
in5490-classification (1).pptx
 
Conv xg
Conv xgConv xg
Conv xg
 
Ensemble learning
Ensemble learningEnsemble learning
Ensemble learning
 
Presentation of master thesis
Presentation of master thesisPresentation of master thesis
Presentation of master thesis
 
Yulia Honcharenko "Application of metric learning for logo recognition"
Yulia Honcharenko "Application of metric learning for logo recognition"Yulia Honcharenko "Application of metric learning for logo recognition"
Yulia Honcharenko "Application of metric learning for logo recognition"
 
Brains@Bay Meetup: How to Evolve Your Own Lab Rat - Thomas Miconi
Brains@Bay Meetup: How to Evolve Your Own Lab Rat - Thomas MiconiBrains@Bay Meetup: How to Evolve Your Own Lab Rat - Thomas Miconi
Brains@Bay Meetup: How to Evolve Your Own Lab Rat - Thomas Miconi
 
A Multiple Classifiers System For Solving The Character Recognition Problem I...
A Multiple Classifiers System For Solving The Character Recognition Problem I...A Multiple Classifiers System For Solving The Character Recognition Problem I...
A Multiple Classifiers System For Solving The Character Recognition Problem I...
 
Human computer learning interaction in a virtual laboratory by Vasilis Zafeir...
Human computer learning interaction in a virtual laboratory by Vasilis Zafeir...Human computer learning interaction in a virtual laboratory by Vasilis Zafeir...
Human computer learning interaction in a virtual laboratory by Vasilis Zafeir...
 
(Machine Learning) Ensemble learning
(Machine Learning) Ensemble learning (Machine Learning) Ensemble learning
(Machine Learning) Ensemble learning
 
Continual Learning Introduction
Continual Learning IntroductionContinual Learning Introduction
Continual Learning Introduction
 
Dataset Distillation by Matching Training Trajectories
Dataset Distillation by Matching Training Trajectories Dataset Distillation by Matching Training Trajectories
Dataset Distillation by Matching Training Trajectories
 

More from Gabriele Graffieti

Introduction to AI Ethics
Introduction to AI EthicsIntroduction to AI Ethics
Introduction to AI Ethics
Gabriele Graffieti
 
Goals, Risks and Countermeasures in the Artificial Intelligence Era
Goals, Risks and Countermeasures in the Artificial Intelligence EraGoals, Risks and Countermeasures in the Artificial Intelligence Era
Goals, Risks and Countermeasures in the Artificial Intelligence Era
Gabriele Graffieti
 
Efficient Continual Learning with Latent Rehearsal
Efficient Continual Learning with Latent RehearsalEfficient Continual Learning with Latent Rehearsal
Efficient Continual Learning with Latent Rehearsal
Gabriele Graffieti
 
Spotlight - Generative Models and GANs
Spotlight - Generative Models and GANsSpotlight - Generative Models and GANs
Spotlight - Generative Models and GANs
Gabriele Graffieti
 
From art to deepfakes: an introduction to Generative Adversarial Networks
From art to deepfakes: an introduction to Generative Adversarial NetworksFrom art to deepfakes: an introduction to Generative Adversarial Networks
From art to deepfakes: an introduction to Generative Adversarial Networks
Gabriele Graffieti
 
Image-to-image Translation with Generative Adversarial Networks (without math)
Image-to-image Translation with Generative Adversarial Networks (without math)Image-to-image Translation with Generative Adversarial Networks (without math)
Image-to-image Translation with Generative Adversarial Networks (without math)
Gabriele Graffieti
 

More from Gabriele Graffieti (6)

Introduction to AI Ethics
Introduction to AI EthicsIntroduction to AI Ethics
Introduction to AI Ethics
 
Goals, Risks and Countermeasures in the Artificial Intelligence Era
Goals, Risks and Countermeasures in the Artificial Intelligence EraGoals, Risks and Countermeasures in the Artificial Intelligence Era
Goals, Risks and Countermeasures in the Artificial Intelligence Era
 
Efficient Continual Learning with Latent Rehearsal
Efficient Continual Learning with Latent RehearsalEfficient Continual Learning with Latent Rehearsal
Efficient Continual Learning with Latent Rehearsal
 
Spotlight - Generative Models and GANs
Spotlight - Generative Models and GANsSpotlight - Generative Models and GANs
Spotlight - Generative Models and GANs
 
From art to deepfakes: an introduction to Generative Adversarial Networks
From art to deepfakes: an introduction to Generative Adversarial NetworksFrom art to deepfakes: an introduction to Generative Adversarial Networks
From art to deepfakes: an introduction to Generative Adversarial Networks
 
Image-to-image Translation with Generative Adversarial Networks (without math)
Image-to-image Translation with Generative Adversarial Networks (without math)Image-to-image Translation with Generative Adversarial Networks (without math)
Image-to-image Translation with Generative Adversarial Networks (without math)
 

Recently uploaded

Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
Sérgio Sacani
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
Richard Gill
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Sérgio Sacani
 
platelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptxplatelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptx
muralinath2
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
IqrimaNabilatulhusni
 
in vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptxin vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptx
yusufzako14
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
muralinath2
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
sachin783648
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
Scintica Instrumentation
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
muralinath2
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
AADYARAJPANDEY1
 
Cancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate PathwayCancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate Pathway
AADYARAJPANDEY1
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
kumarmathi863
 
Lab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerinLab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerin
ossaicprecious19
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
Sérgio Sacani
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
ssuserbfdca9
 

Recently uploaded (20)

Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
 
platelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptxplatelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptx
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
 
in vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptxin vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptx
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
 
Cancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate PathwayCancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate Pathway
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
 
Lab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerinLab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerin
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
 

Self-supervised Learning for Next-Generation Industry-level Autonomous Driving Workshop (ICCV 2021) - 1st Prize Continual Object Recognition Challenge

  • 1. Report of the Continual Learning Supervised Classification challenge (Track 3A) Gabriele Graffieti, Guido Borghi, Davide Maltoni, Matteo Ferrara {name.surname}@unibo.it Department of Computer Science and Engineering, University of Bologna Italy ICCV 2021 Workshop: Self-supervised Learning for Next-Generation Industry-level Autonomous Driving Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 1 / 9
  • 2. The Team Gabriele Graffieti Ph.D. student Guido Borghi Assistant prof. Davide Maltoni Full prof. Matteo Ferrara Associate prof. Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 2 / 9
  • 3. Model and Hyperparamenters I ResNet-50 [1] pretrained on ImageNet [2]. Last layer substituted with a fully-connected layer with 7 output neurons + biases. I Stochastic Gradient Descent (SGD) optimizer. Learning rate = 10−2 , weight decay and momentum = 0. I Weighted Cross Entropy (CE) loss: L(y, l) = −αl log exp(yl ) P j exp{(yj )} ! , α0 = 0, α1,..,6 = 1 I Batch size = 10. Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 3 / 9
  • 4. Training Procedure Every experience I Tensors resized from 64 × 64 → 224 × 224 to resemble the original training image size • Using a Nearest Neighbor interpolation. • Even though the patches are now 12× larger, network’s filters respond better after the resize. I On-the-fly data augmentation, flipping horizontally all the images. • Both the original and the flipped patches are fed to the network. Only in the first experience I Current batch put temporally inside the memory and passed twice through the model. • Loss and optimization computed after each single batch. • Boost the learning of the model in the first experience (especially for underrepresented classes). Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 4 / 9
  • 5. Classification Head Protection Motivation I “Learning in isolation” problem when few classes are present in an experience or some classes are underrepresented. I Forgetting of underrepresented classes, especially in the classification head. Solution I We use the CWR algorithm [3] to control forgetting in the classification head. I Two set of weights (of the head) are maintained (7k more weights than ResNet-50, inside the 105% limit) • cw: Weights from the previous experience used in the consolidation phase. • tw: Weight used to train the model in the current experince, initialized to 0 with only the weight of the classes in the current experience loaded from cw. I We do not freeze the feature extractor, as proposed in [4]. Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 5 / 9
  • 6. Replay Memory I We divide the memory in 6 buffers (one per class) of 100 samples each (total 600 samples). • Important to limit the number of samples per class in memory, due to unbalance in the data. • The goal here is to have a memory balanced per class. • Buffer size bounded by the number of the least represented class (tricycle, 82 samples). • We empirically found that 100 sample per class is a good compromise. I Batch is composed of 5 sample from the current experience and 5 samples sampled randomply from memory • The sampling is without replacement. • Once all the patterns in memory are sampled the sampling start again. Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 6 / 9
  • 7. Memory Management I We use Reservoir Sampling [5] to insert pattern in memory with the same probability. I Memory should not be altered when used! • We use the 400 remaining slot to store the pattern we want to insert from the current experience • We want to insert a maximum of 100/i pattern per class from the i-th experience, thus maximum allocation of memory is 900 patterns (600 from the replay memory + 50 per class to insert in the 2nd experience). • We randomly inserted the new patterns inside the memory at the start of a new experience. Current used memory Sampled and to be inserted Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 7 / 9
  • 8. Contribution of the Components Component Contribution Model ** Learning rate * Optimizer *** Loss weights * Image resizing *** Data augmentation ** Double batch (1st exp.) * CWR ** Not freezing the feature extractor *** Replay memory *** Balanced memory *** Reservoir sampling ** Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 8 / 9
  • 9. Bibliography [1] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 770–778. [2] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei, “Imagenet: A large-scale hierarchical image database,” in 2009 IEEE conference on computer vision and pattern recognition, IEEE, 2009, pp. 248–255. [3] D. Maltoni and V. Lomonaco, “Continuous learning in single-incremental-task scenarios,” Neural Networks, vol. 116, pp. 56–73, 2019. [4] L. Pellegrini, G. Graffieti, V. Lomonaco, and D. Maltoni, “Latent replay for real-time continual learning,” in 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), IEEE, 2020, pp. 10 203–10 209. [5] J. S. Vitter, “Random sampling with a reservoir,” ACM Trans. Math. Softw., vol. 11, no. 1, pp. 37–57, Mar. 1985, issn: 0098-3500. doi: 10.1145/3147.3165. [Online]. Available: https://doi.org/10.1145/3147.3165. Choco Leibniz team (Unibo team) Continual Learning Supervised Classification challenge Report 9 / 9