paper-with-me

홈 › Papers

Neural Network Compression Framework for fast model inference

2020-02-20 · Alexander Kozlov, Ivan Lazarevich, Vasily Shamporov, Nikolay Lyalyushkin, Yury Gorbachev

In this work we present a new framework for neural networks compression with fine-tuning, which we called Neural Network Compression Framework (NNCF). It leverages recent advances of various network compression methods and implements some of them, such as sparsity, quantization, and binarization. These methods allow getting more hardware-friendly models which can be efficiently run on general-purpose hardware computation units (CPU, GPU) or special Deep Learning accelerators. We show that the developed methods can be successfully applied to a wide range of models to accelerate the inference time while keeping the original accuracy. The framework can be used within the training samples, which are supplied with it, or as a standalone package that can be seamlessly integrated into the existing training code with minimal adaptations. Currently, a PyTorch version of NNCF is available as a part of OpenVINO Training Extensions at https://github.com/openvinotoolkit/nncf.

📄 PDF Abstract BibTeX arXiv:2002.08679

Code (2)

openvinotoolkit/nncf 공식 구현 pytorch
openvinotoolkit/nncf_pytorch 공식 구현 pytorch

Tasks

BinarizationCPUGPUmodelNeural Network CompressionQuantization

Methods 이 논문이 사용한 방법론

NNCF Neural Network Compression Framework, or NNCF, is a Python-based framework for neural network compression with fine-tuning. It leverages recent advances of various network…

Similar Papers 제목 키워드 기반

Reducing the GPU Memory Bottleneck with Lossless Compression for ML -- Extended

2026-05-29 · Aditya K Kamath, Arvind Krishnamurthy, Marco Canini, Simon Peter arxiv

Machine learning (ML) training and inference often process data sets far exceeding GPU memory capacity, forcing them to rely on PCIe for on-demand tensor transfers, causing critical transfer bottlenecks. Lossy compressio…

Enhancing RAG Efficiency with Adaptive Context Compression

2025-07-24 · Shuyu Guo, Shuo Zhang, Zhaochun Ren arxiv

Retrieval-augmented generation (RAG) enhances large language models (LLMs) with external knowledge but incurs significant inference costs due to lengthy retrieved contexts. While context compression mitigates this issue,…

FDC: Fast KV Dimensionality Compression for Efficient LLM Inference

2024-08-07 · Zeyu Zhang, Haiying Shen

In large-language models, memory constraints in the Key-Value Cache (KVC) pose a challenge during inference. In this work, we propose FDC, a fast KV dimensionality compression system that eliminates the decompression ove…

Quantization

Token Compensator: Altering Inference Cost of Vision Transformer without Re-Tuning

2024-08-13 · Shibo Jie, Yehui Tang, Jianyuan Guo, Zhi-Hong Deng 외

Token compression expedites the training and inference of Vision Transformers (ViTs) by reducing the number of the redundant tokens, e.g., pruning inattentive tokens or merging similar tokens. However, when applied to do…

Fine-Grained Image Classification

Learning True Rate-Distortion-Optimization for End-To-End Image Compression

2022-01-05 · Fabian Brand, Kristian Fischer, Alexander Kopte, André Kaup

Even though rate-distortion optimization is a crucial part of traditional image and video compression, not many approaches exist which transfer this concept to end-to-end-trained image compression. Most frameworks contai…

Image CompressionMS-SSIMSSIMVideo Compression