Masked autoencoders are effective solution to transformer data-hungry

Vision Transformers (ViTs) outperforms convolutional neural networks (CNNs) in several vision tasks with its global modeling capabilities. However, ViT lacks the inductive bias inherent to convolution making it require a large amount of data for training. This results in ViT not performing as well a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Mao, Jiawei, Zhou, Honggu, Yin, Xuesong, Xu, Yuanqi Chang. Binling Nie. Rui
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Mao, Jiawei
Zhou, Honggu
Yin, Xuesong
Xu, Yuanqi Chang. Binling Nie. Rui
description Vision Transformers (ViTs) outperforms convolutional neural networks (CNNs) in several vision tasks with its global modeling capabilities. However, ViT lacks the inductive bias inherent to convolution making it require a large amount of data for training. This results in ViT not performing as well as CNNs on small datasets like medicine and science. We experimentally found that masked autoencoders (MAE) can make the transformer focus more on the image itself, thus alleviating the data-hungry issue of ViT to some extent. Yet the current MAE model is too complex resulting in over-fitting problems on small datasets. This leads to a gap between MAEs trained on small datasets and advanced CNNs models still. Therefore, we investigated how to reduce the decoder complexity in MAE and found a more suitable architectural configuration for it with small datasets. Besides, we additionally designed a location prediction task and a contrastive learning task to introduce localization and invariance characteristics for MAE. Our contrastive learning task not only enables the model to learn high-level visual information but also allows the training of MAE's class token. This is something that most MAE improvement efforts do not consider. Extensive experiments have shown that our method shows state-of-the-art performance on standard small datasets as well as medical datasets with few samples compared to the current popular masked image modeling (MIM) and vision transformers for small datasets.The code and models are available at https://github.com/Talented-Q/SDMAE.
doi_str_mv 10.48550/arxiv.2212.05677
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2212_05677</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2212_05677</sourcerecordid><originalsourceid>FETCH-LOGICAL-a677-f931209761ad1db0dc3d1516c24252e56166c3e7ac3516b89e69736e56b33f783</originalsourceid><addsrcrecordid>eNotj8tOwzAURL1hgQofwAr_QILtW9vJElXlIRV10310Y1_TqG2MbKeif08orEaakc7oMPYgRb1stBZPmL6Hc62UVLXQxtpbtv7AfCDPcSqRRhc9pcwxEacQyJXhTDzH41SGOPISeUk45hDTiRL3WLDaT-Nnutyxm4DHTPf_uWC7l_Vu9VZttq_vq-dNhfNZFVqQSrTWSPTS98I78FJL49RSaUXaSGMckEUHc9s3LZnWgpmHHiDYBhbs8Q979ei-0nDCdOl-fbqrD_wA_fVFiQ</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Masked autoencoders are effective solution to transformer data-hungry</title><source>arXiv.org</source><creator>Mao, Jiawei ; Zhou, Honggu ; Yin, Xuesong ; Xu, Yuanqi Chang. Binling Nie. Rui</creator><creatorcontrib>Mao, Jiawei ; Zhou, Honggu ; Yin, Xuesong ; Xu, Yuanqi Chang. Binling Nie. Rui</creatorcontrib><description>Vision Transformers (ViTs) outperforms convolutional neural networks (CNNs) in several vision tasks with its global modeling capabilities. However, ViT lacks the inductive bias inherent to convolution making it require a large amount of data for training. This results in ViT not performing as well as CNNs on small datasets like medicine and science. We experimentally found that masked autoencoders (MAE) can make the transformer focus more on the image itself, thus alleviating the data-hungry issue of ViT to some extent. Yet the current MAE model is too complex resulting in over-fitting problems on small datasets. This leads to a gap between MAEs trained on small datasets and advanced CNNs models still. Therefore, we investigated how to reduce the decoder complexity in MAE and found a more suitable architectural configuration for it with small datasets. Besides, we additionally designed a location prediction task and a contrastive learning task to introduce localization and invariance characteristics for MAE. Our contrastive learning task not only enables the model to learn high-level visual information but also allows the training of MAE's class token. This is something that most MAE improvement efforts do not consider. Extensive experiments have shown that our method shows state-of-the-art performance on standard small datasets as well as medical datasets with few samples compared to the current popular masked image modeling (MIM) and vision transformers for small datasets.The code and models are available at https://github.com/Talented-Q/SDMAE.</description><identifier>DOI: 10.48550/arxiv.2212.05677</identifier><language>eng</language><subject>Computer Science - Computer Vision and Pattern Recognition</subject><creationdate>2022-12</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,776,881</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2212.05677$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2212.05677$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Mao, Jiawei</creatorcontrib><creatorcontrib>Zhou, Honggu</creatorcontrib><creatorcontrib>Yin, Xuesong</creatorcontrib><creatorcontrib>Xu, Yuanqi Chang. Binling Nie. Rui</creatorcontrib><title>Masked autoencoders are effective solution to transformer data-hungry</title><description>Vision Transformers (ViTs) outperforms convolutional neural networks (CNNs) in several vision tasks with its global modeling capabilities. However, ViT lacks the inductive bias inherent to convolution making it require a large amount of data for training. This results in ViT not performing as well as CNNs on small datasets like medicine and science. We experimentally found that masked autoencoders (MAE) can make the transformer focus more on the image itself, thus alleviating the data-hungry issue of ViT to some extent. Yet the current MAE model is too complex resulting in over-fitting problems on small datasets. This leads to a gap between MAEs trained on small datasets and advanced CNNs models still. Therefore, we investigated how to reduce the decoder complexity in MAE and found a more suitable architectural configuration for it with small datasets. Besides, we additionally designed a location prediction task and a contrastive learning task to introduce localization and invariance characteristics for MAE. Our contrastive learning task not only enables the model to learn high-level visual information but also allows the training of MAE's class token. This is something that most MAE improvement efforts do not consider. Extensive experiments have shown that our method shows state-of-the-art performance on standard small datasets as well as medical datasets with few samples compared to the current popular masked image modeling (MIM) and vision transformers for small datasets.The code and models are available at https://github.com/Talented-Q/SDMAE.</description><subject>Computer Science - Computer Vision and Pattern Recognition</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2022</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj8tOwzAURL1hgQofwAr_QILtW9vJElXlIRV10310Y1_TqG2MbKeif08orEaakc7oMPYgRb1stBZPmL6Hc62UVLXQxtpbtv7AfCDPcSqRRhc9pcwxEacQyJXhTDzH41SGOPISeUk45hDTiRL3WLDaT-Nnutyxm4DHTPf_uWC7l_Vu9VZttq_vq-dNhfNZFVqQSrTWSPTS98I78FJL49RSaUXaSGMckEUHc9s3LZnWgpmHHiDYBhbs8Q979ei-0nDCdOl-fbqrD_wA_fVFiQ</recordid><startdate>20221211</startdate><enddate>20221211</enddate><creator>Mao, Jiawei</creator><creator>Zhou, Honggu</creator><creator>Yin, Xuesong</creator><creator>Xu, Yuanqi Chang. Binling Nie. Rui</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20221211</creationdate><title>Masked autoencoders are effective solution to transformer data-hungry</title><author>Mao, Jiawei ; Zhou, Honggu ; Yin, Xuesong ; Xu, Yuanqi Chang. Binling Nie. Rui</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a677-f931209761ad1db0dc3d1516c24252e56166c3e7ac3516b89e69736e56b33f783</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2022</creationdate><topic>Computer Science - Computer Vision and Pattern Recognition</topic><toplevel>online_resources</toplevel><creatorcontrib>Mao, Jiawei</creatorcontrib><creatorcontrib>Zhou, Honggu</creatorcontrib><creatorcontrib>Yin, Xuesong</creatorcontrib><creatorcontrib>Xu, Yuanqi Chang. Binling Nie. Rui</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Mao, Jiawei</au><au>Zhou, Honggu</au><au>Yin, Xuesong</au><au>Xu, Yuanqi Chang. Binling Nie. Rui</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Masked autoencoders are effective solution to transformer data-hungry</atitle><date>2022-12-11</date><risdate>2022</risdate><abstract>Vision Transformers (ViTs) outperforms convolutional neural networks (CNNs) in several vision tasks with its global modeling capabilities. However, ViT lacks the inductive bias inherent to convolution making it require a large amount of data for training. This results in ViT not performing as well as CNNs on small datasets like medicine and science. We experimentally found that masked autoencoders (MAE) can make the transformer focus more on the image itself, thus alleviating the data-hungry issue of ViT to some extent. Yet the current MAE model is too complex resulting in over-fitting problems on small datasets. This leads to a gap between MAEs trained on small datasets and advanced CNNs models still. Therefore, we investigated how to reduce the decoder complexity in MAE and found a more suitable architectural configuration for it with small datasets. Besides, we additionally designed a location prediction task and a contrastive learning task to introduce localization and invariance characteristics for MAE. Our contrastive learning task not only enables the model to learn high-level visual information but also allows the training of MAE's class token. This is something that most MAE improvement efforts do not consider. Extensive experiments have shown that our method shows state-of-the-art performance on standard small datasets as well as medical datasets with few samples compared to the current popular masked image modeling (MIM) and vision transformers for small datasets.The code and models are available at https://github.com/Talented-Q/SDMAE.</abstract><doi>10.48550/arxiv.2212.05677</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2212.05677
ispartof
issn
language eng
recordid cdi_arxiv_primary_2212_05677
source arXiv.org
subjects Computer Science - Computer Vision and Pattern Recognition
title Masked autoencoders are effective solution to transformer data-hungry
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-09T13%3A49%3A25IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Masked%20autoencoders%20are%20effective%20solution%20to%20transformer%20data-hungry&rft.au=Mao,%20Jiawei&rft.date=2022-12-11&rft_id=info:doi/10.48550/arxiv.2212.05677&rft_dat=%3Carxiv_GOX%3E2212_05677%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true