While binary quantization theoretically promises extreme compression and acceleration for Large Language Models (LLMs), existing research often overlooks the necessity of specialized hardware kernels, thus failing to unleash the full acceleration potential due to persistent reliance on expensive floating-point arithmetic or runtime dequantization overheads. To bridge this gap, we propose FluxBin (Flexible LUT-based Ultra-low-bit eXecution with Binary bases), an algorithm-kernel co-design that synergizes post-training quantization with a highly optimized CUDA kernel. Algorithmically, we introduce Decoupled Row-Column Binary Decomposition to enhance representational capacity while maintaining hardware efficiency, complemented by a Hessian-guided saliency-aware hybrid bases that preserve critical information. At the kernel level, we implement a Lookup Table Building Approach with Scale Fusion to reduce floating-point arithmetic, featuring a Virtual Columnar Mapping that transforms irregular, sparse, and salient matrices into dense execution. Extensive evaluations demonstrate FluxBin achieves up to 5.92× speedup and 10.19× energy savings across diverse model architectures, delivering comparable accuracy to heavily fine-tuned methods. This effectively enables the deployment of 70B-scale models on one single A100 GPU with a 4× memory reduction. Code is available at https://github.com/nicyyyy/FluxBin.
Figures & tables
Figure 1: Illustration of LUT-based Multiplication.
Figure 2: The framework of FluxBin Binary Bases Quantization.
Figure 3: FluxBin kernel architecture and VCM strategy.
Table 1: E2E speed and zero-shot accuracy on LLaMA-2. ∗ FT/Dist used. † Avg bit incl. scales (Sec. C.2 ). ‡ HS=HellaSwag, WG=Winogrande. Best / 2nd / 3rd .
Figure 5: (a) Latency breakdown of LUT-based kernel. (b) Speed-accuracy trade-off on LLaMA-2.
Config.
w/o
Wiki PPL ↓
PIQA ↑
Baseline
8.20
75.50
Column Scaling
✗
8.96
71.65
Saliency Search
✗
26.02
66.92
Hybrid Base
✗
13.71
69.79
Config.
w/o
Speed (tok/s) ↑
Max Mem. (MB) ↓
Baseline
250.87
3475.21
Table 2: Ablation study on LLaMA-2-7B (baseline: FluxBin-2b-s16-g128). Removing a component is denoted by ✗.
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 8
Baselines
FluxBin
Model Name
FP16
AQLM 2bit
QuIP# 2bit
2b-g128
2b-s8-g128
2b-s16-g128
4b-g128
LLaMA-2-7B
13330.61
5247.35
3461.87
2895.24
3474.30
3475.21
4684.38
LLaMA-2-13B
25681.85
4058.02
5785.77
4558.59
6172.64
6173.32
8474.27
LLaMA-2-70B
OOM
20415.70
19360.84
20251.61
26393.52
26393.13
38633.95
Qwen3-8B
15779.09
–
–
4557.90
5185.48
5187.33
6444.57
Qwen3-14B
28322.55
–
–
7043.43
8215.49
8221.31
10486.19
Appendix
Table 3: Max GPU Memory (MB) Allocated in Inference with Input Length 512 and Output Length 512.
Figure 6: Throughput Comparison on LLaMA-3.1 Across All Batch Sizes
Figure 7: Throughput Comparison on Qwen3 Across All Batch Sizes
LLaMA-3.1
Method
#W bit
Speed (tok/s) ↑
ARC-e ↑
ARC-c ↑
HS ∗ ↑
WG ∗ ↑
MMLU † ↑
Avg. ↑
8B-Instruct
FP16
16
41.51
82.15
52.05
60.77
74.35
69.40
67.74
FlexRound
2.125
-
24.75
24.57
43.78
55.16
24.27
34.51
AQLM
2
124.50
46.25
30.89
61.40
58.25
42.29
47.82
GPTQ
3.125
–
72.14
37.97
53.73
68.75
46.90
55.90
FluxBin-2b-s8-g128
2.63
217.02
69.23
35.41
45.16
68.19
43.90
52.38
FluxBin-2b-s16-g128
2.75
217.03
69.91
36.77
44.49
68.43
45.15
52.95
Appendix
Table 4: Comparison of quantization methods on LLaMA-3.1 models. Higher accuracy and speed are better ( ↑ ). ∗ HS = HellaSwag, WG = Winogrande. † MMLU: Evaluated using 5-shot in-context learning. We highlight the best , second , and third results (excluding FP16).
Qwen3
Method
#W bit
Speed (tok/s) ↑
Wiki ↓
PIQA ↑
ARC-e ↑
ARC-c ↑
BoolQ ↑
HS ∗ ↑
WG ∗ ↑
Avg. ↑
8B
FP16
16
28.60
9.72
76.39
83.29
55.38
86.57
57.16
68.03
71.14
SLiM-LLM
2
-
30.61
60.11
43.81
23.97
62.99
34.83
55.80
46.92
GPTQ
3.125
-
11.18
74.16
77.90
48.63
84.07
53.42
65.43
67.27
FluxBin-2b-s8-g128
2.63
121.85
13.46
74.37
74.41
42.58
83.33
47.90
66.30
64.82
FluxBin-2b-s16-g128
2.75
121.97
12.44
74.21
74.71
43.77
82.75
49.09
66.77
65.22
14B
FP16
16
26.54
8.64
80.36
84.13
58.62
89.42
60.94
72.69
74.36
Appendix
Table 5: Comparison of quantization methods on Qwen3 models. Higher accuracy and speed are better ( ↑ ). ∗ HS = HellaSwag, WG = Winogrande. We highlight the best , second , and third results (excluding FP16).
Config.
W bit †
Wiki ↓
PIQA ↑
ARC-e ↑
ARC-c ↑
BoolQ ↑
HS ‡ ↑
WG ‡ ↑
Avg. ↑
2b-g64
2.51
10.27
73.50
63.43
30.29
67.00
48.57
64.96
57.96
2b-g128
2.25
13.71
69.79
56.23
25.00
65.41
38.64
56.69
51.96
2b-g256
2.13
12.79
64.91
48.91
22.35
62.08
34.52
50.43
47.20
2b-s8-g64
3.25
7.95
73.01
67.59
32.51
73.70
47.05
66.06
59.99
2b-s8-g128
2.63
8.76
72.52
65.45
30.97
69.88
45.64
64.09
58.09
2b-s8-g256
2.31
8.91
72.47
64.98
30.46
71.25
44.97
64.88
58.17
Appendix
Table 6: Ablation study across different group sizes (g) in fixed configurations of LLaMA-2-7B. Lower Wiki PPL is better, while higher accuracy is better for downstream tasks. † The average bit includes weight and scale factors. The calculation for FluxBin is derived in Sec. C.2 . ‡ HS = HellaSwag, WG = Winogrande.
nsample
Time (min) ↓
Wiki ↓
PIQA ↑
ARC-e ↑
ARC-c ↑
BoolQ ↑
HS ‡ ↑
WG ‡ ↑
Avg. ↑
64
13.22
8.92
72.31
64.60
30.55
70.06
45.61
64.01
57.86
128
17.02
8.85
72.74
65.49
30.97
69.88
45.38
63.54
58.00
256
25.53
8.63
74.10
64.44
33.28
71.13
45.51
64.17
58.77
512
41.78
8.54
73.34
65.78
32.00
71.13
45.89
63.30
58.57
1024
74.58
8.76
72.63
65.40
30.80
69.82
45.67
64.09
58.07
Appendix
Table 7: Ablation study of the number of calibration samples (nsample) on evaluation time and performance on LLaMA-2-7B, with FluxBin configuration 2b-s8-g128. Lower PTQ time and Wiki PPL are better ( ↓ ), while higher accuracy is better ( ↑ ). ‡ HS = HellaSwag, WG = Winogrande.
Model
Quantization
Avg Power (W) ↓
Total Energy (J) ↓
Avg GPU Util. (%)
Avg Mem. Util. (%)
LLaMA-2-7B
FP16
168.66
3467.69
67.01
18.09
FluxBin-2b-g128
106.75
462.98
99.83
5.55
FluxBin-2b-s8-g128
110.80
425.05
99.81
6.27
FluxBin-2b-s16-g128
107.40
434.34
99.87
6.27
FluxBin-4b-g128
109.40
401.16
99.85
7.65
LLaMA-2-13B
FP16
225.49
5908.03
86.83
33.16
Appendix
Table 8: Power, energy, and resource utilization comparison on LLaMA-2 models. Lower power and energy are better ( ↓ ); GPU and memory utilization are reported as diagnostics of the compute/bandwidth balance rather than as quality targets.
μ
BS
Shared Mem. (KB)
Throughput ↑
Power (W) ↓
Energy (J) ↓
4
1
3
213.97
107.13
397.15
4
12
656.50
146.97
802.74
8
24
952.86
172.31
1301.12
8
1
17
213.96
105.41
451.18
4
68
655.58
140.04
792.82
8
136
953.04
169.48
1220.45
Appendix
Table 9: Impact of sub-vectors size μ on block-level shared memory usage and end-to-end generation performance of FluxBin-2b-g128 LLaMA-2-7B. Higher throughput is better ( ↑ ), while lower power and energy are better ( ↓ ).
FluxBin-2b-g128
FluxBin-4b-g128
M
K
Mtile
Ktile
Latency (µs) ↓
TFLOPS ↑
Latency (µs) ↓
TFLOPS ↑
4096
4096
32
32
113.3
0.30
109.6
0.31
32
64
143.0
0.23
108.4
0.31
32
128
228.9
0.15
108.4
0.31
64
32
58.0
0.58
72.9
0.46
64
64
67.6
0.50
66.9
0.50
Appendix
Table 10: Effect of tile sizes on FluxBin kernel performance.
FluxBin-2b-s8-g128
FluxBin-2b-s16-g128
M
K
Ktile
Mtile
Ms_tile
Lat (µs) ↓
TFLOPS ↑
Lat (µs) ↓
TFLOPS ↑
4096
4096
32
32
16
121.0
0.29
124.4
0.28
32
119.5
0.29
123.2
0.28
64
118.3
0.29
121.9
0.28
64
16
67.3
0.51
69.0
0.50
32
65.7
0.53
67.9
0.51
Appendix
Table 11: Effect of tile sizes on FluxBin kernel performance on hybrid bases.
Weight Size ( M×N )
Baselines
FluxBin
AQLM 2bit
QuIP# 2bit
2b-g128
2b-s8-g128
2b-s16-g128
4b-g128
4096 × 4096
79
112
41
47
49
56
5120 × 5120
111
174
63
73
74
87
4096 × 11008
169
272
102
109
111
158
5120 × 13824
277
411
167
166
169
252
Appendix
Table 12: Per-operator GEMV kernel latency ( μ s) across weight matrix sizes ( M×N ), measured for the 2-bit quantized baselines and FluxBin. Lower is better ( ↓ ); the best result in each row is in bold . Each kernel is measured in isolation with its official implementation.
MAIS, Institute of Automation, Chinese Academy of Sciences, China · School of Artificial Intelligence, University of Chinese Academy of Sciences, China · Central Media Technology Institute, Huawei