Reproduce “Low-Rank Ternary Adaptation for Fine-Tuning Transformers” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Alexandru-Dragos Manolache, Yunqiang Li, Jan van Gemert

A parameter-efficient fine-tuning (PEFT) method for 1.58-bit ternary Transformer models employs a multiplicative update rule and low-rank Kronecker decomposition, ensuring the fine-tuned model remains strictly ternary. This approach improved average accuracy by 6.4 percentage points and reduced perplexity by over 50% on Llama 3.2-3B compared to static ternary quantization, while providing zero inference overhead.

Key insights

  • Directly modeling weight changes as multiplicative sign flips or zeroing operations allows for parameter-efficient adaptation of ternary models while maintaining their strict discrete nature, crucial for realizing full 1.58-bit efficiency.
  • Utilizing a low-rank Kronecker product for the ternary adaptation mask provides high expressivity with significantly fewer parameters (e.g., O(d) for d x d layers) compared to full fine-tuning or traditional LoRA.
  • Performance recovery in aggressively quantized models can be achieved primarily by reorganizing the signs of existing non-zero ternary weights, demonstrating an effective strategy for adaptation within a discrete weight space.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.