paper-with-me

Papers

BitTrain: Sparse Bitmap Compression for Memory-Efficient Training on the Edge

2021-10-29 · Abdelrahman Hosny, Marina Neseem, Sherief Reda

Training on the Edge enables neural networks to learn continuously from new data after deployment on memory-constrained edge devices. Previous work is mostly concerned with reducing the number of model parameters which is only beneficial for inference. However, memory footprint from activations is the main bottleneck for training on the edge. Existing incremental training methods fine-tune the last few layers sacrificing accuracy gains from re-training the whole model. In this work, we investigate the memory footprint of training deep learning models, and use our observations to propose BitTrain. In BitTrain, we exploit activation sparsity and propose a novel bitmap compression technique that reduces the memory footprint during training. We save the activations in our proposed bitmap compression format during the forward pass of the training, and restore them during the backward pass for the optimizer computations. The proposed method can be integrated seamlessly in the computation graph of modern deep learning frameworks. Our implementation is safe by construction, and has no negative impact on the accuracy of model training. Experimental results show up to 34% reduction in the memory footprint at a sparsity level of 50%. Further pruning during training results in more than 70% sparsity, which can lead to up to 56% reduction in memory footprint. BitTrain advances the efforts towards bringing more machine learning capabilities to edge devices. Our source code is available at https://github.com/scale-lab/BitTrain.

📄 PDF Abstract BibTeX arXiv:2110.15362

Code (1)

scale-lab/bittrain 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

Mustafar: Promoting Unstructured Sparsity for KV Cache Pruning in LLM Inference

2025-05-28 · Donghyeon Joo, Helya Hosseini, Ramyad Hadidi, Bahar Asgari

We demonstrate that unstructured sparsity significantly improves KV cache compression for LLMs, enabling sparsity levels up to 70% without compromising accuracy or requiring fine-tuning. We conduct a systematic explorati…

Endor: Hardware-Friendly Sparse Format for Offloaded LLM Inference

2024-06-17 · Donghyeon Joo, Ramyad Hadidi, Soheil Feizi, Bahar Asgari

The increasing size of large language models (LLMs) challenges their usage on resource-constrained platforms. For example, memory on modern GPUs is insufficient to hold LLMs that are hundreds of Gigabytes in size. Offloa…

CPUGPU

ZipServ: Fast and Memory-Efficient LLM Inference with Hardware-Aware Lossless Compression

2026-03-18 · Ruibo Fan, Xiangrui Yu, Xinglin Pan, Zeyu Li 외 arxiv

Lossless model compression holds tremendous promise for alleviating the memory and bandwidth bottlenecks in bit-exact Large Language Model (LLM) serving. However, existing approaches often result in substantial inference…

Model Compression

Single Bitmap Block Truncation Coding of Color Images Using Hill Climbing Algorithm

2018-07-13 · Lige Zhang, Xiaolin Qin, Qing Li, Haoyue Peng 외

Recently, the use of digital images in various fields is increasing rapidly. To increase the number of images stored and get faster transmission of them, it is necessary to reduce the size of these images. Single bitmap …

SpNeRF: Memory Efficient Sparse Volumetric Neural Rendering Accelerator for Edge Devices

2025-05-13 · Yipu Zhang, Jiawei Liang, Jian Peng, Jiang Xu 외

Neural rendering has gained prominence for its high-quality output, which is crucial for AR/VR applications. However, its large voxel grid data size and irregular access patterns challenge real-time processing on edge de…

Neural Rendering