Quantization-Aware Imitation-Learning for Resource-Efficient Robotic Control

Seongmin Park, Hyungmin Kim, Wonseok Jeon, Juyoung Yang, Byeongwook Jeon, Yoonseon Oh, Jungwook ChoiarXiv 2024 · DOI

Introduction

The field of robotics is currently experiencing a paradigm shift driven by Large Vision-Language-Action (VLA) models. Models such as OpenVLA, boasting billions of parameters, demonstrate an unprecedented ability to process multi-modal inputs and execute complex tasks. However, the deployment of these "foundation models" on edge devices—such as battery-powered mobile robots or autonomous vehicles—is severely hampered by their immense computational and memory requirements. To bridge the gap between high-performance AI and resource-constrained hardware, researchers are turning to model compression techniques.

The Challenge of Quantization in Robotics

A common approach to model compression is quantization, which involves reducing the precision of model weights and activations (e.g., from 32-bit floating-point to 4-bit integers). While highly effective for static tasks like image classification, standard quantization often fails in the context of sequential decision-making.

In robotics, even minor quantization errors can accumulate over time—a phenomenon known as "drift." A small deviation in a gripper's trajectory at the start of a task can lead to a complete failure, such as missing a handle or colliding with an obstacle, by the end of the sequence. This sensitivity makes post-training quantization (PTQ) unsuitable for long-horizon robotic control.

Figure 1: Comparison of task performance between full-precision (Bfloat16) and standard INT4 quantization. Red dashed circles highlight failures in the quantized model, such as missing a mug handle in manipulation tasks (a) or causing collisions in autonomous driving (b).

Proposed Framework: QAIL and QBC

To address the drift problem, this research introduces a robust training framework consisting of two primary components:

  1. Quantization-Aware Imitation Learning (QAIL): Unlike traditional methods that quantize a model after training, QAIL integrates quantization directly into the fine-tuning process. By training the model to perform tasks while constrained by low-bit precision, the network learns to compensate for quantization noise.
  2. Quantization-robust Behavior Cloning (QBC): This novel loss function aligns the action distribution of the quantized "student" model with that of a full-precision "teacher" model. This ensures that the compressed model maintains the strategic decision-making capabilities of its larger counterpart.
  3. Weighted QBC (wQBC): Recognizing that certain states are more critical than others (e.g., the moment of grasping), the authors use saliency maps to identify high-importance states. The model is more heavily penalized for deviations during these critical junctures, ensuring precision where it matters most.

The framework utilizes QLoRA (Quantized Low-Rank Adaptation) for efficiency, updating only a small fraction (~110M) of the total parameters, making the training process itself viable on modest hardware.

Experimental Evaluation

The framework was rigorously tested across three diverse domains:

  • Robot Manipulation: Evaluated on the LIBERO benchmark, covering spatial, object-oriented, and long-horizon tasks.
  • Autonomous Driving: Tested using the CARLA simulator's NoCrash benchmark, which involves navigating dense traffic and varying environmental conditions.
  • Physics Simulation: Benchmarked on the D4RL suite for classical control tasks like locomotion.

Results and Impact

The proposed methods demonstrate that it is possible to achieve significant efficiency gains without sacrificing performance.

  • Hardware Acceleration: On the NVIDIA Jetson AGX Orin, a common edge platform for robotics, 4-bit quantization of OpenVLA resulted in a 2.5× speedup in inference and a 2.5× reduction in energy consumption.
  • Performance Parity: Despite the drastic reduction in precision, the QAIL+QBC models maintained success rates comparable to full-precision baselines. For instance, in robot manipulation tasks, the average success rate was 73.1% for the INT4 model versus 74.0% for the Bfloat16 model.
  • Memory Efficiency: The memory footprint for OpenVLA was slashed from 15.2 GB to 4.0 GB, enabling deployment on devices with limited RAM that previously could not host such large models.

Conclusion

This work provides a critical pathway for deploying state-of-the-art VLA models on real-world robotic systems. By making models robust to quantization through aware-training and distribution alignment, the researchers have shown that the "reasoning" capabilities of large models can be preserved even in highly compressed formats. Future work will explore mixed-precision strategies and the transition from simulation to real-world physical environments, where sensor noise may present additional challenges.

Summary updated

BibTeX
@misc{park2024quantization,
  author = {Seongmin Park and Hyungmin Kim and Wonseok Jeon and Juyoung Yang and Byeongwook Jeon and Yoonseon Oh and Jungwook Choi},
  title = {{Quantization-Aware Imitation-Learning for Resource-Efficient Robotic Control}},
  year = {2024},
  eprint = {2412.01034},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.01034},
}
Figure