Token Merging: Your ViT But Faster. Bolya, D., Fu, C., Dai, X., Zhang, P., Feichtenhofer, C., & Hoffman, J. 2022. cite arxiv:2210.09461Comment: Accepted ICLR 2023 Oral (top 5%) [final v2]. This version includes stable diffusion experiments. See code at https://github.com/facebookresearch/ToMe
Paper abstract bibtex We introduce Token Merging (ToMe), a simple method to increase the throughput of existing ViT models without needing to train. ToMe gradually combines similar tokens in a transformer using a general and light-weight matching algorithm that is as fast as pruning while being more accurate. Off-the-shelf, ToMe can 2x the throughput of state-of-the-art ViT-L @ 512 and ViT-H @ 518 models on images and 2.2x the throughput of ViT-L on video with only a 0.2-0.3% accuracy drop in each case. ToMe can also easily be applied during training, improving in practice training speed up to 2x for MAE fine-tuning on video. Training with ToMe further minimizes accuracy drop, leading to 2x the throughput of ViT-B on audio for only a 0.4% mAP drop. Qualitatively, we find that ToMe merges object parts into one token, even over multiple frames of video. Overall, ToMe's accuracy and speed are competitive with state-of-the-art on images, video, and audio.
@misc{bolya2022token,
abstract = {We introduce Token Merging (ToMe), a simple method to increase the throughput
of existing ViT models without needing to train. ToMe gradually combines
similar tokens in a transformer using a general and light-weight matching
algorithm that is as fast as pruning while being more accurate. Off-the-shelf,
ToMe can 2x the throughput of state-of-the-art ViT-L @ 512 and ViT-H @ 518
models on images and 2.2x the throughput of ViT-L on video with only a 0.2-0.3%
accuracy drop in each case. ToMe can also easily be applied during training,
improving in practice training speed up to 2x for MAE fine-tuning on video.
Training with ToMe further minimizes accuracy drop, leading to 2x the
throughput of ViT-B on audio for only a 0.4% mAP drop. Qualitatively, we find
that ToMe merges object parts into one token, even over multiple frames of
video. Overall, ToMe's accuracy and speed are competitive with state-of-the-art
on images, video, and audio.},
added-at = {2023-05-12T19:16:54.000+0200},
author = {Bolya, Daniel and Fu, Cheng-Yang and Dai, Xiaoliang and Zhang, Peizhao and Feichtenhofer, Christoph and Hoffman, Judy},
biburl = {https://www.bibsonomy.org/bibtex/2be6dab5547a2706612e5e346ab0b2fe9/hassanpour71},
description = {Token Merging: Your ViT But Faster},
interhash = {26db11ed683c8431b2c892b704ac090c},
intrahash = {be6dab5547a2706612e5e346ab0b2fe9},
keywords = {data_augmentation},
note = {cite arxiv:2210.09461Comment: Accepted ICLR 2023 Oral (top 5%) [final v2]. This version includes stable diffusion experiments. See code at https://github.com/facebookresearch/ToMe},
timestamp = {2023-05-12T19:16:54.000+0200},
title = {Token Merging: Your ViT But Faster},
url = {http://arxiv.org/abs/2210.09461},
year = 2022
}
Downloads: 0
{"_id":"gELgg4FFvZgwPFCC8","bibbaseid":"bolya-fu-dai-zhang-feichtenhofer-hoffman-tokenmergingyourvitbutfaster-2022","author_short":["Bolya, D.","Fu, C.","Dai, X.","Zhang, P.","Feichtenhofer, C.","Hoffman, J."],"bibdata":{"bibtype":"misc","type":"misc","abstract":"We introduce Token Merging (ToMe), a simple method to increase the throughput of existing ViT models without needing to train. ToMe gradually combines similar tokens in a transformer using a general and light-weight matching algorithm that is as fast as pruning while being more accurate. Off-the-shelf, ToMe can 2x the throughput of state-of-the-art ViT-L @ 512 and ViT-H @ 518 models on images and 2.2x the throughput of ViT-L on video with only a 0.2-0.3% accuracy drop in each case. ToMe can also easily be applied during training, improving in practice training speed up to 2x for MAE fine-tuning on video. Training with ToMe further minimizes accuracy drop, leading to 2x the throughput of ViT-B on audio for only a 0.4% mAP drop. Qualitatively, we find that ToMe merges object parts into one token, even over multiple frames of video. Overall, ToMe's accuracy and speed are competitive with state-of-the-art on images, video, and audio.","added-at":"2023-05-12T19:16:54.000+0200","author":[{"propositions":[],"lastnames":["Bolya"],"firstnames":["Daniel"],"suffixes":[]},{"propositions":[],"lastnames":["Fu"],"firstnames":["Cheng-Yang"],"suffixes":[]},{"propositions":[],"lastnames":["Dai"],"firstnames":["Xiaoliang"],"suffixes":[]},{"propositions":[],"lastnames":["Zhang"],"firstnames":["Peizhao"],"suffixes":[]},{"propositions":[],"lastnames":["Feichtenhofer"],"firstnames":["Christoph"],"suffixes":[]},{"propositions":[],"lastnames":["Hoffman"],"firstnames":["Judy"],"suffixes":[]}],"biburl":"https://www.bibsonomy.org/bibtex/2be6dab5547a2706612e5e346ab0b2fe9/hassanpour71","description":"Token Merging: Your ViT But Faster","interhash":"26db11ed683c8431b2c892b704ac090c","intrahash":"be6dab5547a2706612e5e346ab0b2fe9","keywords":"data_augmentation","note":"cite arxiv:2210.09461Comment: Accepted ICLR 2023 Oral (top 5%) [final v2]. This version includes stable diffusion experiments. See code at https://github.com/facebookresearch/ToMe","timestamp":"2023-05-12T19:16:54.000+0200","title":"Token Merging: Your ViT But Faster","url":"http://arxiv.org/abs/2210.09461","year":"2022","bibtex":"@misc{bolya2022token,\n abstract = {We introduce Token Merging (ToMe), a simple method to increase the throughput\r\nof existing ViT models without needing to train. ToMe gradually combines\r\nsimilar tokens in a transformer using a general and light-weight matching\r\nalgorithm that is as fast as pruning while being more accurate. Off-the-shelf,\r\nToMe can 2x the throughput of state-of-the-art ViT-L @ 512 and ViT-H @ 518\r\nmodels on images and 2.2x the throughput of ViT-L on video with only a 0.2-0.3%\r\naccuracy drop in each case. ToMe can also easily be applied during training,\r\nimproving in practice training speed up to 2x for MAE fine-tuning on video.\r\nTraining with ToMe further minimizes accuracy drop, leading to 2x the\r\nthroughput of ViT-B on audio for only a 0.4% mAP drop. Qualitatively, we find\r\nthat ToMe merges object parts into one token, even over multiple frames of\r\nvideo. Overall, ToMe's accuracy and speed are competitive with state-of-the-art\r\non images, video, and audio.},\n added-at = {2023-05-12T19:16:54.000+0200},\n author = {Bolya, Daniel and Fu, Cheng-Yang and Dai, Xiaoliang and Zhang, Peizhao and Feichtenhofer, Christoph and Hoffman, Judy},\n biburl = {https://www.bibsonomy.org/bibtex/2be6dab5547a2706612e5e346ab0b2fe9/hassanpour71},\n description = {Token Merging: Your ViT But Faster},\n interhash = {26db11ed683c8431b2c892b704ac090c},\n intrahash = {be6dab5547a2706612e5e346ab0b2fe9},\n keywords = {data_augmentation},\n note = {cite arxiv:2210.09461Comment: Accepted ICLR 2023 Oral (top 5%) [final v2]. This version includes stable diffusion experiments. See code at https://github.com/facebookresearch/ToMe},\n timestamp = {2023-05-12T19:16:54.000+0200},\n title = {Token Merging: Your ViT But Faster},\n url = {http://arxiv.org/abs/2210.09461},\n year = 2022\n}\n\n","author_short":["Bolya, D.","Fu, C.","Dai, X.","Zhang, P.","Feichtenhofer, C.","Hoffman, J."],"key":"bolya2022token","id":"bolya2022token","bibbaseid":"bolya-fu-dai-zhang-feichtenhofer-hoffman-tokenmergingyourvitbutfaster-2022","role":"author","urls":{"Paper":"http://arxiv.org/abs/2210.09461"},"keyword":["data_augmentation"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"http://www.bibsonomy.org/bib/author/zhang?items=1000","dataSources":["6yXn8CtuzyEbCSr2m"],"keywords":["data_augmentation"],"search_terms":["token","merging","vit","faster","bolya","fu","dai","zhang","feichtenhofer","hoffman"],"title":"Token Merging: Your ViT But Faster","year":2022}