paper-with-me

Papers

Sparsity-Control Ternary Weight Networks

2020-11-01 · Xiang Deng, Zhongfei Zhang

Deep neural networks (DNNs) have been widely and successfully applied to various applications, but they require large amounts of memory and computational power. This severely restricts their deployment on resource-limited devices. To address this issue, many efforts have been made on training low-bit weight DNNs. In this paper, we focus on training ternary weight \{-1, 0, +1\} networks which can avoid multiplications and dramatically reduce the memory and computation requirements. A ternary weight network can be considered as a sparser version of the binary weight counterpart by replacing some -1s or 1s in the binary weights with 0s, thus leading to more efficient inference but more memory cost. However, the existing approaches to training ternary weight networks cannot control the sparsity (i.e., percentage of 0s) of the ternary weights, which undermines the advantage of ternary weights. In this paper, we propose to our best knowledge the first sparsity-control approach (SCA) to training ternary weight networks, which is simply achieved by a weight discretization regularizer (WDR). SCA is different from all the existing regularizer-based approaches in that it can control the sparsity of the ternary weights through a controller $\alpha$ and does not rely on gradient estimators. We theoretically and empirically show that the sparsity of the trained ternary weights is positively related to $\alpha$. SCA is extremely simple, easy-to-implement, and is shown to consistently outperform the state-of-the-art approaches significantly over several benchmark datasets and even matches the performances of the full-precision weight counterparts.

📄 PDF Abstract BibTeX arXiv:2011.00580

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TAT-VPR: Ternary Adaptive Transformer for Dynamic and Efficient Visual Place Recognition

2025-05-22 · Oliver Grainge, Michael Milford, Indu Bodala, Sarvapali D. Ramchurn 외

TAT-VPR is a ternary-quantized transformer that brings dynamic accuracy-efficiency trade-offs to visual SLAM loop-closure. By fusing ternary weights with a learned activation-sparsity gate, the model can control computat…

Visual Place Recognition

FAT: An In-Memory Accelerator with Fast Addition for Ternary Weight Neural Networks

2022-01-19 · Shien Zhu, Luan H. K. Duong, Hui Chen, Di Liu 외

Convolutional Neural Networks (CNNs) demonstrate excellent performance in various applications but have high computational complexity. Quantization is applied to reduce the latency and storage cost of CNNs. Among the qua…

Quantization

TernaryCLIP: Efficiently Compressing Vision-Language Models with Ternary Weights and Distilled Knowledge

2025-10-23 · Shu-Hao Zhang, Wei-Cheng Tang, Chen Wu, Peng Hu 외 arxiv

Recent years have witnessed an increasing interest in image-text contrastive modeling, exemplified by models such as Contrastive Language-Image Pretraining (CLIP). In this paper, we propose the TernaryCLIP, a lightweight…

Zero-Shot Image ClassificationText Retrieval

Accelerating Sparse Ternary GEMM for Quantized ML on Apple Silicon

2025-10-08 · Baraq Lipshitz, Alessio Melone, Charalampos Maraziaris, Muhammed Bilal arxiv

Sparse Ternary General Matrix-Matrix Multiplication (GEMM) remains under-optimized in existing libraries for Apple Silicon CPUs. We present a Sparse Ternary GEMM kernel optimized specifically for Apple's M-series process…

Alleviating Sparsity of Open Knowledge Graphs with Ternary Contrastive Learning

2022-11-08 · Qian Li, Shafiq Joty, Daling Wang, Shi Feng 외

Sparsity of formal knowledge and roughness of non-ontological construction make sparsity problem particularly prominent in Open Knowledge Graphs (OpenKGs). Due to sparse links, learning effective representation for few-s…

Contrastive LearningKnowledge GraphsRelation