Learning Quantized Continuous Controllers for Integer Hardware

Fabian Kresse, Christoph H. Lampert

Abstract

Deploying continuous-control reinforcement learning policies on embedded hardware requires meeting tight latency and power budgets. Small FPGAs can deliver these, but only if costly floating-point pipelines are avoided. We study quantization-aware training (QAT) of policies for integer inference and we present a learning-to-hardware pipeline that automatically selects low-bit policies and synthesizes them to an Artix-7 FPGA. Across five MuJoCo tasks, we obtain policy networks that are competitive with full precision (FP32) policies but require as few as 3 or even only 2 bits per weight, and per internal activation value, as long as input precision is chosen carefully. On the target hardware, the selected policies achieve inference latencies on the order of microseconds and consume microjoules per action, favorably comparing to a quantized reference. Last, we observe that the quantized policies exhibit increased input noise robustness compared to the floating-point baseline.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
HumanoidSelected Model (SAC QAT)Latency15360-227910 vs baselineContinuous Control · compressed · clock=100 MHz · hardware=Artix-7 XC7A15T-1 · synthesis-tool=FINN v0.10.1
Source quote
L216: Humanoid │ \numk{2256} │ \numk{3118} │ 1.5 │ 45 │ \phantom{0}\ns{15360} │ 0.33 │ \num{65104} │ \num{5.068812976161219e-6}
HumanoidSelected Model (SAC QAT)E.p.A.5.068812976161219e-6 JouleContinuous Control · compressed · clock=100 MHz · hardware=Artix-7 XC7A15T-1 · synthesis-tool=FINN v0.10.1
Source quote
L216: Humanoid │ \numk{2256} │ \numk{3118} │ 1.5 │ 45 │ \phantom{0}\ns{15360} │ 0.33 │ \num{65104} │ \num{5.068812976161219e-6}
AntSelected Model (SAC QAT)Latency2290Continuous Control · compressed · clock=100 MHz · hardware=Artix-7 XC7A15T-1 · synthesis-tool=FINN v0.10.1
Source quote
L218: Ant │ \numk{2699} │ \numk{4497} │ 3 │ 45 │ \phantom{00}\ns{2290} │ 0.39 │ \num{436681} │ \num{8.93e-7}
AntSelected Model (SAC QAT)E.p.A.8.93e-7 JouleContinuous Control · compressed · clock=100 MHz · hardware=Artix-7 XC7A15T-1 · synthesis-tool=FINN v0.10.1
Source quote
L218: Ant │ \numk{2699} │ \numk{4497} │ 3 │ 45 │ \phantom{00}\ns{2290} │ 0.39 │ \num{436681} │ \num{8.93e-7}
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
HumanoidReference (8-4-8) baselineLatency243270Continuous Control · compressed · clock=100 MHz · hardware=Artix-7 XC7A15T-1 · quantization=8-4-8
Source quote
L222: Humanoid │ \numk{8426} │ \numk{9545} │ 25 │ 22 │ \ns{243270} │ 0.58 │ \num{4110} │ \num{1.411192214111922e-4}
HumanoidReference (8-4-8) baselineE.p.A.1.411192214111922e-4 JouleContinuous Control · compressed · clock=100 MHz · hardware=Artix-7 XC7A15T-1 · quantization=8-4-8
Source quote
L222: Humanoid │ \numk{8426} │ \numk{9545} │ 25 │ 22 │ \ns{243270} │ 0.58 │ \num{4110} │ \num{1.411192214111922e-4}
BibTeX
@misc{kresse2025learning,
  author = {Fabian Kresse and Christoph H. Lampert},
  title = {{Learning Quantized Continuous Controllers for Integer Hardware}},
  year = {2025},
  eprint = {2511.07046},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.07046},
}

Loading related content...

Figure