txgsync's picture
|
download
raw
4.46 kB

Related work

The methods that NanoSeedLM uses

Other work on seeds

  • Seed-Q. Sensitivity-aware LFSR seed quantization.
  • AWSRC. Seeded residual coding on top of INT4.
  • SeedLM+O. A measured negative result on small dense models.
  • seedlm-repro. A NumPy replication.
  • PRANC and NOLA. Networks and adapters from random bases.

Weights that the kernel computes

  • QTIP, Tseng, Sun, Hou and De Sa, NeurIPS 2024. A bitshift trellis over a computed Gaussian code, with a randomized Hadamard transform. The kernel computes the weights. It does not look them up in a table. Read the trellis plan.
  • ik_llama.cpp trellis quants. Trellis-coded formats (IQ*_KT) with CPU and CUDA kernels in a llama.cpp fork.

Trellis-coded quantization

  • Trellis coded quantization of memoryless and Gauss-Markov sources, Marcellin and Fischer, IEEE Transactions on Communications, 1990. The origin of TCQ: a Viterbi search over a trellis, within 0.21 dB of the distortion-rate bound for a uniform source.
  • QuIP, Chee, Cai, Kuleshov and De Sa, NeurIPS 2023. Incoherence processing and adaptive rounding (LDLQ): the first usable 2-bit LLMs.
  • QuIP#, Tseng, Chee, Sun, Kuleshov and De Sa, 2024. A randomized Hadamard transform, E8 lattice codebooks and BlockLDLQ. QTIP replaces the lattice with a trellis.
  • BCJR-QAT, Iyengar, 2026. The trellis search made differentiable (BCJR forward-backward) for quantization-aware training.
  • ExLlamaV3. Its EXL3 format is a variant of QTIP, in an inference library for consumer GPUs.
  • CCQ, Baidu, 2025. Convolutional codes with scalar quantization at 2.0 to 2.75 bits, with bit-shift decoding and no codebook table. Tested on DeepSeek-V3 and ERNIE-4.5-300B-A47B (MoE models).

Trellis codes from recursions and shift registers

We found no other work that uses an LFSR or SeedLM's seeds as the code of a trellis. These are the nearest.

Discussion

Xet Storage Details

Size:
4.46 kB
·
Xet hash:
028462c5e50495fd12048973fc1d3293a8a7b33299cbcb0526bef88350a3ba64

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.