The reviewed record of science sign in
Pith

arxiv: 2406.07177 · v1 · pith:BZW7C257 · submitted 2024-06-11 · cs.LG

TernaryLLM: Ternarized Large Language Model

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:BZW7C257record.jsonopen to challenge →

classification cs.LG
keywords informationlanguagemodelsoutliersquantizationternarizationfloating-pointlarge
0
0 comments X
read the original abstract

Large language models (LLMs) have achieved remarkable performance on Natural Language Processing (NLP) tasks, but they are hindered by high computational costs and memory requirements. Ternarization, an extreme form of quantization, offers a solution by reducing memory usage and enabling energy-efficient floating-point additions. However, applying ternarization to LLMs faces challenges stemming from outliers in both weights and activations. In this work, observing asymmetric outliers and non-zero means in weights, we introduce Dual Learnable Ternarization (DLT), which enables both scales and shifts to be learnable. We also propose Outlier-Friendly Feature Knowledge Distillation (OFF) to recover the information lost in extremely low-bit quantization. The proposed OFF can incorporate semantic information and is insensitive to outliers. At the core of OFF is maximizing the mutual information between features in ternarized and floating-point models using cosine similarity. Extensive experiments demonstrate that our TernaryLLM surpasses previous low-bit quantization methods on the standard text generation and zero-shot benchmarks for different LLM families. Specifically, for one of the most powerful open-source models, LLaMA-3, our approach (W1.58A16) outperforms the previous state-of-the-art method (W2A16) by 5.8 in terms of perplexity on C4 and by 8.2% in terms of average accuracy on zero-shot tasks.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 5 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Ternary Mamba: Grouped Quantization-Aware Training of W1.58A16 State Space Models

    cs.LG 2026-06 unverdicted novelty 6.0

    Ternary Mamba-2 1.3B models reach 48.1% zero-shot accuracy via QAT from pretrained checkpoints in 102M tokens, close to Bi-Mamba, with 3.61x compression.

  2. TWLA: Achieving Ternary Weights and Low-Bit Activations for LLMs via Post-Training Quantization

    cs.LG 2026-06 unverdicted novelty 6.0

    TWLA is a PTQ method using E2M-ATQ, KOTMS, and ILA-AMP to enable W1.58A4 quantization for LLMs with maintained accuracy.

  3. Hardware Generation and Exploration of Lookup Table-Based Accelerators for 1.58-bit LLM Inference

    cs.AR 2026-04 unverdicted novelty 6.0

    A formalized design-space framework with generator and TSMC 16nm-validated cost model shows that LUT reuse gains depend on activation type and that larger cores improve density, yielding 2.2x area reduction over multi...

  4. CAT-Q: Cost-efficient and Accurate Ternary Quantization for LLMs

    cs.CL 2026-06 unverdicted novelty 5.0

    CAT-Q performs post-training ternary quantization of 1.7B-235B LLMs with 512 samples via learnable modulation and softened ternarization, outperforming BitNet v1/v2 models trained on 100B tokens.

  5. Vanishing Contributions: A Unified Framework for Smooth and Iterative Model Compression

    cs.LG 2025-10 unverdicted novelty 5.0

    VCON is a unified framework for smooth iterative DNN compression that uses parallel execution and an affine combination to progressively replace the original model with its compressed form during fine-tuning.