Please use this identifier to cite or link to this item: http://hdl.handle.net/2445/186800
Title: Un nou marc per analitzar transformers de visió. Aplicació a l'anàlisi d'imatges de menjar
Author: Rial Figols, David
Director/Tutor: Radeva, Petia
Tatjer i Montaña, Joan Carles
Keywords: Aprenentatge automàtic
Xarxes neuronals (Informàtica)
Programari
Treballs de fi de grau
Visió per ordinador
Sistemes classificadors (Intel·ligència artificial)
Aliments
Machine learning
Neural networks (Computer science)
Computer software
Computer vision
Learning classifier systems
Bachelor's theses
Food
Issue Date: 24-Jan-2022
Abstract: [en] The field of Deep Learning is constantly evolving to optimize the models that are developed and achieve a specific task with the best possible accuracy. It was in 2017 when Vaswani introduced a new neural network structure that would allow for a new evolution: transformers. Based on the concept of attention, introduced in 2014, transformers were able to quickly impose themselves on all-natural language processing tasks. It was not until 2020 that transformers, applied to image-related tasks started to be competitive. Furthermore, within less than two years they have been able to overcome the previous models of neural networks architectures, to end up prevailing with the best results. Among these image tasks, the problem of image classification stands out, which is to assign each image a label that describes it, as it is a problem that has historically been used to describe the evolution of Deep Learning and the progress made. Despite being at the forefront of all the tasks mentioned, transformers, especially image transformers, are still a black box as to why they learn or what makes one transformer better than another. It is for this reason that this work is based on the study of transformers. Specifically, this paper aims to introduce the transformers and the basics needed to understand how they work, and then to understand and investigate how transformers learn dedicated to image classification, looking for their similarities and differences, and how they are characterized. In this work, we have proposed a comparative framework for transformers dedicated to the problem of image classification, based on the results achieved with the transformers ViT, BEiT, DeiT, Swin and CSWin on the set of food images Food-101. This comparison framework is based on the different properties and evolution of the various weight matrices that make up these transformers, aided by the unique values of the matrices and their rules and ranges. At the same time, a form of training is also suggested to make it faster in a specific data set, reducing the time by 33% without losing accuracy.
Note: Treballs Finals de Grau d'Enginyeria Informàtica, Facultat de Matemàtiques, Universitat de Barcelona, Any: 2022, Director: Petia Radeva i Joan Carles Tatjer i Montaña
URI: http://hdl.handle.net/2445/186800
Appears in Collections:Treballs Finals de Grau (TFG) - Enginyeria Informàtica
Treballs Finals de Grau (TFG) - Matemàtiques
Programari - Treballs de l'alumnat

Files in This Item:
File Description SizeFormat 
codi.zipCodi font20.41 kBzipView/Open
tfg_rial_figols_david.pdfMemòria5.3 MBAdobe PDFView/Open


This item is licensed under a Creative Commons License Creative Commons