Reproduce “Hardware Neural Control of CartPole and F1TENTH Race Car” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Marcin Paluch, Florian Bolli, Xiang Deng, Antonio Rios Navarro, Chang Gao, Tobi Delbruck

This research introduces hardware-accelerated Neural Network Controllers (NCs) for real-time robotic control, trained via imitation learning from Nonlinear Model Predictive Control (NMPC) and implemented on inexpensive FPGA platforms. The system demonstrates sub-4 microsecond inference latency with 12-13 mW power consumption, enabling a physical cartpole to operate at 1 kHz and an F1TENTH race car to achieve 20% faster lap times than a Pure Pursuit controller, in scenarios where the NMPC teacher could not execute on the physical hardware.

Key insights

  • Imitation learning from NMPC effectively transfers complex, optimal control strategies into efficient, feedforward neural networks suitable for hardware acceleration.
  • FPGA hardware acceleration, combined with quantization-aware training and optimization, can achieve sub-microsecond inference latency and very low power consumption on entry-level embedded platforms.
  • High control frequencies enabled by hardware NCs can lead to improved physical performance, sometimes surpassing slower, but theoretically optimal, software controllers due to faster reaction times.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.