Skip to main content
QUICK REVIEW

[Paper Review] Quantized Training of Gradient Boosting Decision Trees

Yu Shi, Guolin Ke|arXiv (Cornell University)|Jul 20, 2022
Machine Learning and Data ClassificationComputer Science13 citations
TL;DR

This paper proposes quantized training for Gradient Boosting Decision Trees (GBDT) by reducing gradient precision to as low as 2–3 bits, enabling efficient integer arithmetic and significantly accelerating training. Surprisingly, the method maintains model accuracy while achieving up to 2× speedup on CPUs, GPUs, and distributed systems, due to reduced computation, memory, and communication costs.

ABSTRACT

Recent years have witnessed significant success in Gradient Boosting Decision Trees (GBDT) for a wide range of machine learning applications. Generally, a consensus about GBDT's training algorithms is gradients and statistics are computed based on high-precision floating points. In this paper, we investigate an essentially important question which has been largely ignored by the previous literature: how many bits are needed for representing gradients in training GBDT? To solve this mystery, we propose to quantize all the high-precision gradients in a very simple yet effective way in the GBDT's training algorithm. Surprisingly, both our theoretical analysis and empirical studies show that the necessary precisions of gradients without hurting any performance can be quite low, e.g., 2 or 3 bits. With low-precision gradients, most arithmetic operations in GBDT training can be replaced by integer operations of 8, 16, or 32 bits. Promisingly, these findings may pave the way for much more efficient training of GBDT from several aspects: (1) speeding up the computation of gradient statistics in histograms; (2) compressing the communication cost of high-precision statistical information during distributed training; (3) the inspiration of utilization and development of hardware architectures which well support low-precision computation for GBDT training. Benchmarked on CPUs, GPUs, and distributed clusters, we observe up to 2$ imes$ speedup of our simple quantization strategy compared with SOTA GBDT systems on extensive datasets, demonstrating the effectiveness and potential of the low-precision training of GBDT. The code will be released to the official repository of LightGBM.

Motivation & Objective

  • To investigate the minimum precision required for gradients in GBDT training without sacrificing model performance.
  • To reduce computational and communication overhead in GBDT training by replacing high-precision floating-point operations with low-precision integer arithmetic.
  • To improve training efficiency on CPUs, GPUs, and distributed clusters through gradient quantization.
  • To enable future hardware acceleration by aligning GBDT training with low-precision computation workloads.
  • To demonstrate that gradients in GBDT contain significant redundancy that can be safely exploited through quantization.

Proposed method

  • Quantize gradients to 2–3 bits using stochastic rounding to minimize quantization error.
  • Replace high-precision floating-point arithmetic with 8-, 16-, or 32-bit integer operations in gradient statistics computation.
  • Apply leaf-value refitting using original high-precision gradients to preserve model accuracy after quantization.
  • Use integer-valued histograms for gradient statistics in distributed training, reducing communication bandwidth by at least 50%.
  • Implement the method in a new GPU-optimized version of LightGBM (LightGBM+) that performs full training on GPU.
  • Theoretical analysis bounds quantization error for loss functions with non-constant Hessians, assuming sufficient data per leaf and balanced splits.

Experimental results

Research questions

  • RQ1How low can gradient precision be reduced in GBDT training without degrading model performance?
  • RQ2Can low-precision gradients enable significant speedups in GBDT training across CPUs, GPUs, and distributed systems?
  • RQ3What is the impact of gradient quantization on communication costs in distributed GBDT training?
  • RQ4How can quantization be designed to preserve model accuracy while enabling integer arithmetic acceleration?
  • RQ5What theoretical conditions ensure that quantization error remains bounded in GBDT with non-constant Hessians?

Key findings

  • Quantized training with 2–3 bit gradients achieves up to 2× speedup on CPUs, GPUs, and distributed clusters compared to state-of-the-art GBDT systems.
  • The method reduces communication cost in distributed training by at least 50% due to integer-valued histograms, improving scalability.
  • Model accuracy remains nearly identical to full-precision training, with minimal performance degradation across multiple datasets including Higgs, Criteo, Yahoo LTR, and Bosch.
  • Theoretical analysis confirms that quantization error is bounded under realistic conditions, such as sufficient data per leaf and balanced splits.
  • Empirical results show that gradients in GBDT contain substantial redundancy, which can be safely exploited via quantization without performance loss.
  • The new GPU-optimized LightGBM+ version demonstrates that full training pipeline acceleration is feasible with low-precision gradients.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.