Scale up visual processing, then compress it - that's how NVILA saves GPU power
NVILA introduces an efficient family of visual language models that optimize both accuracy and efficiency through a "scale-then-compress" approach, reducing training costs by 4.5x while maintaining competitive performance with leading models. The paper addresses the critical challenge of making visual language models more resource-efficient without compromising their capabilities.
-----
https://arxiv.org/abs/2412.04468
π€ Original Problem:
β Current visual language models are expensive to train, requiring up to 400 GPU days for a 7B model.
β Fine-tuning requires over 64GB GPU memory, beyond most consumer hardware.
β Deployment on edge devices is constrained by limited computational resources.
-----
β‘ Solution in this Paper:
β NVILA uses a "scale-then-compress" strategy that first increases spatial and temporal resolution, then compresses visual tokens.
β The model employs Dynamic-S2 for adaptive image processing with varying aspect ratios.
β It introduces DeltaLoss for dataset pruning, reducing training data while maintaining performance.
β FP8 training accelerates computation while preserving accuracy.
β Specialized quantization techniques optimize both vision encoder and language model components.
-----
π Key Insights:
β Higher resolution processing followed by token compression achieves better accuracy-efficiency trade-off
β Temporal averaging effectively reduces video token redundancy
β Dataset pruning can halve training data without significant performance loss
-----
π Results:
β 4.5x reduction in training costs
β 3.4x decrease in fine-tuning memory usage
β 1.6-2.2x improvement in pre-filling latency
β 1.2-2.8x boost in decoding throughput










