Decoding with large language models at small batch sizes is limited by memory bandwidth, so the bits stored per weight largely set its cost. Group-wise integer quantization stores every weight of a group at the same precision, although the input channels of a group differ in sensitivity. We present BITSHARE, a codebook-free weight format that keeps the integer grid and the dequantizer of group-wise quantization but varies precision within each group. Sensitivity-aware binning places the channels of each group into three bins at fixed positions, and static bit sharing with optimal bit-value allocation lets the less sensitive weights share their lower bits, each stored once per group or once per pair of weights. A sharing-aware version of GPTQ chooses every stored value, with no fine-tuning and no codebook. BITSHARE has two modes. BITSHARE-U gives every group the same layout, so its decoder routes bits by fixed wiring, while BITSHARE-N chooses a layout per group within the same bit budget. With calibration on the Pile and at the same storage, both modes have lower perplexity than GPTQ at 3 and 2 bits on WikiText-2 and C4. At 2 bits across Llama-2 and Llama-3 models, BITSHARE-N lowers WikiText-2 perplexity by up to 70% against SliM-LLM and up to 35% against GPTAQ. At the 2-bit perplexity of SliM-LLM, BITSHARE-U stores 13.6-19.4% fewer bits per weight, cutting DRAM weight traffic by the same fraction. A verified hardware decoder implementation synthesized in SkyWater 130 nm reconstructs BITSHARE weights at the throughput of INT-n and SliM-LLM decoders.
Figures & tables
Fig. 1: Overview of weight-only quantization for LLMs: How different formats store one row of a layer at 2 bits per weight with four groups of 128 positions. Bar height is the code bits per weight. (a)-(c) store every code bit with its weight. In (d)-(e), BitShare uses a grid of n=3 bits: the high, middle and low bins store n , n−1 and n−2 bits of each code, and the hatched bits are shared (Figure 3 ). BitShare-U uses U8 D16 in every group; BitShare-N picks a layout per group with ∑δ≤0 per layer.
Fig. 2: WikiText-2 perplexity relative to FP16 (log scale) at 3 and 2 bits: SliM-LLM and GPTAQ, GPTQ + clip and the two modes of BitShare (Llama-3-8B with 4096-token windows, the other models with 2048).
Method
Codebook-free?
Index-free?
Single dequantizer?
Sensitivity-aware binning?
Intra-group precision?
Per-group layout?
Shared bits?
GPTQ, GPTAQ, AWQ
✓
✓
✓
✗
✗
✗
✗
OmniQuant, AffineQuant
✓
✓
✓
✗
✗
✗
✗
OWQ, SpQR, PB-LLM
✓
✗
✗
✓
✓
✗
✗
SliM-LLM
✓
✓
✗
✓
✗
✓
✗
QuIP#, AQLM
✗
✓
✓
✗
✗
✗
✗
QTIP
✗
✓
✓
✗
✗
✗
✓
TABLE I: Comparing weight-only quantization formats for LLMs.
Fig. 3: The 3-bit format: the bits of the INT4 code q=b3b2b1b0 of a weight in each bin of group g . Solid bits are stored with the weight, in the color of its bin. Patterned bits are read from shared stored bits: every f is the one flag fig of the group-row, and the two ck of a low-bin pair are its one pair bit cigk . A group-row also stores its scale sig and zero point zig . The 2-bit format drops b3 in every bin (INT3 grid).
Field
layout (U,D)
U8 D16
n=4
n=3
High-bin codes
nU
32
24
Middle-bin fields
(n−1)M
312
208
Low-bin fields
(n−2)D
32
16
Pair bits
D/2
8
8
Scale (FP16)
16
16
16
TABLE II: Bits per group-row ( G=128 , pairs) for a group with layout (U,D) and for the reference layout U8 D16 ( M=104 ), which BitShare-U uses in every group, and bits per weight. In BitShare-N , a layer’s offsets δ sum to at most 0, so its total is at most the reference’s. The last row gives the bits per weight of INT3 and INT2 with the same group size, scale and zero point.
3 bits
2 bits
Llama-2
Llama-3
Llama-2
Llama-3
Method
b/w
7B
13B
70B
8B
70B
b/w
7B
13B
70B
8B
70B
FP16
16
5.47
4.88
3.32
5.75
2.85
16
5.47
4.88
3.32
5.75
2.85
RTN
3.148
6.66
5.51
3.97
27.91 †
11.84
2.141
4.2e3
122.1
27.27
1.9e3 †
4.6e5
AWQ
3.148
6.24
5.32
–
8.22 †
4.81
2.141
2.2e5
1.2e5
–
1.7e6 †
1.7e6
QuIP
–
–
–
–
–
–
–
39.73
13.48
6.64
84.97 †
13.03
TABLE III: WikiText-2 perplexity under SliM-LLM’s protocol (calibration on WikiText-2), at 3 and 2 bits. Llama-3-8B is evaluated with 4096-token windows, as in SliM-LLM’s paper, and the other models with 2048-token windows. Lowest perplexity values are in bold .
WikiText-2
C4
Llama-2
Llama-3
Qwen2.5
Llama-2
Llama-3
Qwen2.5
Method
b/w
7B
13B
8B
0.5B
1.5B
3B
7B
13B
8B
0.5B
1.5B
3B
FP16
16
5.47
4.88
6.14
13.07
9.27
8.03
7.26
6.73
9.44
20.38
15.12
13.36
3 bits
GPTQ
3.148
6.26
5.41
7.96
19.70
12.13
10.01
8.38
7.41
12.82
29.21
18.67
15.78
GPTQ + clip
3.148
6.06
5.45
7.82
19.11
11.23
9.45
8.07
7.52
12.09
28.51
17.71
15.15
TABLE IV: Perplexity ( ↓ ) at equal storage, calibration on the Pile. b/w: bits per weight. Lowest perplexity values are in bold .
Fig. 4: BitShare decoder hardware implementation. (a) Each group’s layout index selects (Ug,Dg) and the group-row size Bg ; the bit aligner extracts each group-row from the packed layer, and the group decoder rebuilds and dequantizes its codes. Activations are read through π . (b) Code reconstruction: f supplies b0 of middle- and low-bin codes, and ck supplies b1 of both codes of a low-bin pair. (c) Outputs may span bins, so every layout takes G/L outputs of L weights per group-row.
3 bits
2 bits
Model
WikiText-2
C4
WikiText-2
C4
Llama-2-7B
14.7%
5.7%
19.4%
28.5%
Llama-2-13B
2.1%
3.2%
18.5%
21.6%
Llama-3-8B
5.2%
10.7%
17.9%
≥ 29.2%
Llama-2-70B
1.9%
–
18.2%
–
Llama-3-70B
− 1.7%
–
13.6%
–
TABLE V: Storage saved at equal perplexity: the reduction in bits per weight against SliM-LLM (3.148 and 2.141) at which the rate-quality curve of BitShare-U , with one layout in every group, reaches the perplexity of SliM-LLM’s code, both under SliM-LLM’s protocol. On the 70B models, SliM-LLM’s code searches its own widths, and only WikiText-2 is evaluated. ≥ : SliM-LLM’s perplexity is above this curve, which ends at 1.516 bits per weight; negative: more bits than SliM-LLM.
Area ( μ m 2 )
Logic
Rate
Format
Group dec.
Decoder
vs. INT- n
Flip-flops
delay (ns)
3 bits
INT3
100,693
183,286
1.00 ×
1,795
6.39
SliM-LLM
129,728
237,218
1.29 ×
2,169
7.36
BitShare
210,243
318,134
1.74 ×
2,327
7.88
2 bits
INT2
80,106
139,928
1.00 ×
1,425
6.15
SliM-LLM
105,057
188,672
1.35 ×
1,799
6.13
TABLE VI: Decoder area at equal throughput (16 weights/cycle, G=128 ), SkyWater 130 nm. Decoder : the group decoder plus the bit aligner and, for BitShare , the layout ROM. Flip-flops and logic delay are calculated for the group decoder.
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
Fig. 5: Three groups of one row in BitShare-N , with different layouts, G=128 positions each. In BitShare-U every group has the same layout. Bits per group-row differ from the reference by δ=U−D/2 , and within a layer the offsets sum to at most zero. Every row of the layer has the same layouts.
Llama-2
Llama-3
Qwen2.5
Method
b/w
7B
13B
8B
0.5B
1.5B
3B
FP16
16
5.12
4.57
5.75
12.08
8.57
7.45
3 bits
GPTQ
3.148
5.82
5.05
7.42
18.06
11.15
9.22
GPTQ + clip
3.148
5.67
5.10
7.32
17.60
10.40
8.76
BitShare-U
3.164
5.62
5.00
6.95
16.18
10.10
8.60
Appendix
TABLE VII: WikiText-2 perplexity with 4096-token windows, calibration on the Pile (the setting of Table IV ). The lowest perplexity of each width is in bold .
Llama-2-7B
Llama-2-13B
Llama-3-8B
Method
b/w
W2 2048
W2 4096
C4
W2 2048
W2 4096
C4
W2 2048
W2 4096
C4
FP16
16
5.47
5.12
7.26
4.88
4.57
6.73
6.14
5.75
9.44
3 bits
SliM-LLM (code)
3.148
6.33
5.85
8.55
5.26
4.92
7.50
7.69
7.16
13.74
GPTAQ (code)
3.148
5.93
5.53
8.70
5.19
4.86
7.55
7.37
7.11
12.74
GPTQ + clip
3.148
5.96
5.56
8.30
5.33
4.99
7.58
7.34
6.88
12.74
Appendix
TABLE VIII: Perplexity under SliM-LLM’s protocol (calibration on WikiText-2) against our runs of SliM-LLM’s code with its released group widths and of GPTAQ’s code. W2: WikiText-2 with 2048- or 4096-token windows. The lowest perplexity of each width is in bold .
Method
run
order 1
order 2
seed 1
seed 2
mean
sd
Llama-2-7B
GPTQ + clip
10.37
10.40
10.43
9.86
9.87
10.18
0.029
BitShare-U
10.53
9.40
9.18
8.91
9.34
9.46
0.064
BitShare-N
10.11
9.14
9.24
9.04
9.16
9.33
0.046
Llama-3-8B
GPTQ + clip
21.22
20.89
26.37
22.72
35.64
24.84
0.222
Appendix
TABLE IX: Repeated runs at 2 bits under SliM-LLM’s protocol: WikiText-2 perplexity of the run of Table III (run), of the same run with the 128 calibration sequences in two other orders (order) and with two other draws of the sequences (seed). A new order changes only the rounding of the sums over the sequences. Windows of 2048 tokens on Llama-2-7B and 4096 on Llama-3-8B, as in Table III . Mean: geometric mean; sd: standard deviation of the logarithm, over the five runs.
Fig. 6: Rate-quality curves of BitShare-U under SliM-LLM’s protocol: WikiText-2 perplexity (2048-token windows) relative to FP16 against bits per weight, with the best format at each rate. Lighter lines: smaller models; dashed: Llama-3. Dotted: 2 and 10 times FP16 (Table X ).
× FP16
1.281 b/w
Model
2
10
βm
shared
dropped
Llama-2-7B
2.02
1.36
− 1.97
97.30
199.8
Llama-2-13B
1.72
1.22
− 1.69
25.28
67.50
Llama-2-70B
1.61
1.17
− 1.30
10.93
18.94
Llama-3-8B
2.30
1.68
− 1.50
904.7
2.9e4
Llama-3-70B
2.91
1.41
− 0.93
75.27
87.33
Appendix
TABLE X: Down to collapse, BitShare-U (one layout in every group) under SliM-LLM’s protocol: the rate (bits per weight) at which WikiText-2 perplexity, with the best format evaluated at each rate, reaches 2 and 10 times that of FP16. βm : the slope of lnd against bits per weight up to 3 times FP16, with d=ln(ppl/pplFP16) . 1.281 b/w: the perplexity at 1.281 bits per weight with bit b1 shared by eight low-bin weights (U0 D128) and with b1 dropped (U8 D120).
Llama-2
Llama-3
Qwen2.5
Method
b/w
7B
13B
8B
0.5B
1.5B
3B
INT2 + clip
2.141
10.49
8.31
39.51
129.9
32.87
21.74
No bins
2.156
9.30
7.39
18.32
105.2
24.26
16.70
Tied b0
2.148
10.42
8.61
21.18
66.73
24.98
17.92
BitShare-U
2.156
9.25
7.43
16.35
63.63
20.61
15.44
Equal bits
2.156
9.04
7.19
17.34
53.46
20.98
15.17
Appendix
TABLE XI: Ablations at 2 bits: WikiText-2 perplexity, calibration on the Pile. INT2 + clip: GPTQ + clip on the INT2 grid, the starting point (Table IV ). No bins: U0 D0 in every group. Tied b0 : U8 D16 with bit b0 taken from the parity of the zero point instead of the flag. BitShare-U : U8 D16. Equal bits: a layout per group with δ=0 in every group. BitShare-N : a layout per group by Equation 5 . The lowest perplexity of each model is in bold .
Fig. 7: Bin configuration that BitShare-N chooses for the output projection of decoder layers 2 and 10 of Llama-2-7B at 2 bits (Pile calibration). Its 32 groups of 128 input channels, one attention head each, are sorted by their mean sensitivity hj (grey strips, log scale). The bars show the positions of each group’s high, middle and low bins, as in Figure 5 . Dashed: U8 D16, the layout of BitShare-U .
Block
Area ( μ m 2 )
Cells
Flip-flops
Logic delay (ns)
BitShare group decoder, n=4
210,243
25,264
2,327
7.88
BitShare group decoder, n=3
175,384
20,113
1,957
7.63
SliM-LLM group decoder, {2,3,4}
129,728
13,464
2,169
7.36
SliM-LLM group decoder, {1,2,3}
105,057
11,154
1,799
6.13
INT3 group decoder
100,693
10,095
1,795
6.39
INT2 group decoder
80,106
8,184
1,425
6.15
Appendix
TABLE XII: Logic synthesis per block (Yosys 0.62 and ABC, SkyWater sky130_fd_sc_hd subset, tt_025C_1v80, G=128 , L=16 , W=64 ). Logic delay excludes register timing and interconnect.
3 bits
2 bits
Model
WikiText-2
C4
WikiText-2
C4
Llama-2-7B
1.15 ×
1.05 ×
1.19 ×
1.30 ×
Llama-2-13B
1.02 ×
1.03 ×
1.20 ×
1.25 ×
Llama-3-8B
1.03 ×
1.08 ×
1.12 ×
≥ 1.23 ×
Appendix
TABLE XIII: Upper bound on the decode speedup over SliM-LLM at equal perplexity.
Model
Bits per weight
Energy saved
pJ/weight saved
(4 / 20 pJ/bit)
Llama-2-7B
1.726
19.4%
1.66 / 8.31
Llama-2-13B
1.745
18.5%
1.58 / 7.92
Llama-2-70B
1.751
18.2%
1.56 / 7.79
Llama-3-8B
1.758
17.9%
1.53 / 7.66
Llama-3-70B
1.850
13.6%
1.16 / 5.82
Appendix
TABLE XIV: Weight-traffic energy at equal 2-bit WikiText-2 perplexity: bits per weight at which BitShare-U reaches the perplexity of SliM-LLM (2.141 bits per weight), the DRAM energy saved and the saving per weight for two DRAM energies.
Department of Computer Science, ETH Zürich, Zurich, Switzerland · Rhoa Research, CA, USA · Institute of Science and Technology Austria, Klosterneuburg, Austria