Mixture of Nested Experts: Adaptive Processing of Visual Tokens

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Jain, Gagan, Hegde, Nidhi, Kusupati, Aditya, Nagrani, Arsha, Buch, Shyamal, Jain, Prateek, Arnab, Anurag, Paul, Sujoy
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910546607996928
author Jain, Gagan
Hegde, Nidhi
Kusupati, Aditya
Nagrani, Arsha
Buch, Shyamal
Jain, Prateek
Arnab, Anurag
Paul, Sujoy
author_facet Jain, Gagan
Hegde, Nidhi
Kusupati, Aditya
Nagrani, Arsha
Buch, Shyamal
Jain, Prateek
Arnab, Anurag
Paul, Sujoy
contents The visual medium (images and videos) naturally contains a large amount of information redundancy, thereby providing a great opportunity for leveraging efficiency in processing. While Vision Transformer (ViT) based models scale effectively to large data regimes, they fail to capitalize on this inherent redundancy, leading to higher computational costs. Mixture of Experts (MoE) networks demonstrate scalability while maintaining same inference-time costs, but they come with a larger parameter footprint. We present Mixture of Nested Experts (MoNE), which utilizes a nested structure for experts, wherein individual experts fall on an increasing compute-accuracy curve. Given a compute budget, MoNE learns to dynamically choose tokens in a priority order, and thus redundant tokens are processed through cheaper nested experts. Using this framework, we achieve equivalent performance as the baseline models, while reducing inference time compute by over two-fold. We validate our approach on standard image and video datasets - ImageNet-21K, Kinetics400, and Something-Something-v2. We further highlight MoNE$'$s adaptability by showcasing its ability to maintain strong performance across different inference-time compute budgets on videos, using only a single trained model.
format Preprint
id arxiv_https___arxiv_org_abs_2407_19985
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Mixture of Nested Experts: Adaptive Processing of Visual Tokens
Jain, Gagan
Hegde, Nidhi
Kusupati, Aditya
Nagrani, Arsha
Buch, Shyamal
Jain, Prateek
Arnab, Anurag
Paul, Sujoy
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
The visual medium (images and videos) naturally contains a large amount of information redundancy, thereby providing a great opportunity for leveraging efficiency in processing. While Vision Transformer (ViT) based models scale effectively to large data regimes, they fail to capitalize on this inherent redundancy, leading to higher computational costs. Mixture of Experts (MoE) networks demonstrate scalability while maintaining same inference-time costs, but they come with a larger parameter footprint. We present Mixture of Nested Experts (MoNE), which utilizes a nested structure for experts, wherein individual experts fall on an increasing compute-accuracy curve. Given a compute budget, MoNE learns to dynamically choose tokens in a priority order, and thus redundant tokens are processed through cheaper nested experts. Using this framework, we achieve equivalent performance as the baseline models, while reducing inference time compute by over two-fold. We validate our approach on standard image and video datasets - ImageNet-21K, Kinetics400, and Something-Something-v2. We further highlight MoNE$'$s adaptability by showcasing its ability to maintain strong performance across different inference-time compute budgets on videos, using only a single trained model.
title Mixture of Nested Experts: Adaptive Processing of Visual Tokens
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2407.19985