[Paper Review] Perception for Autonomous Systems (PAZ)
PAZ is a hierarchical perception library for autonomous systems that enables modular, reusable pipelines for diverse robot perception tasks such as 2D/3D object detection, keypoint estimation, and 6D pose estimation. It uses a three-level abstraction—pipelines, processors, and backends—to support end-to-end training and inference with minimal code, leveraging TensorFlow, OpenCV, and NumPy for efficient, extensible perception workloads.
In this paper we introduce the Perception for Autonomous Systems (PAZ) software library. PAZ is a hierarchical perception library that allow users to manipulate multiple levels of abstraction in accordance to their requirements or skill level. More specifically, PAZ is divided into three hierarchical levels which we refer to as pipelines, processors, and backends. These abstractions allows users to compose functions in a hierarchical modular scheme that can be applied for preprocessing, data-augmentation, prediction and postprocessing of inputs and outputs of machine learning (ML) models. PAZ uses these abstractions to build reusable training and prediction pipelines for multiple robot perception tasks such as: 2D keypoint estimation, 2D object detection, 3D keypoint discovery, 6D pose estimation, emotion classification, face recognition, instance segmentation, and attention mechanisms.
Motivation & Objective
- To address the growing need for modular, extensible, and reusable software infrastructure in robot perception systems.
- To support diverse perception tasks—ranging from 2D object detection to 6D pose estimation—within a single, unified framework.
- To enable both novice and expert users to build, debug, and extend perception pipelines through layered abstractions.
- To promote software design stamina by structuring the library around composable, testable, and maintainable components.
- To facilitate integration with robotics ecosystems like ROS and ROCK through standardized message types and dataset interfaces.
Proposed method
- The library is structured into three hierarchical levels: high-level pipelines for ready-to-use functions, mid-level processors for modular computation chains, and low-level backends for core operations.
- High-level pipelines allow end-to-end inference via simple function calls, such as instantiating a single-shot detector with a single line of code.
- Mid-level processors use a SequentialProcessor abstraction to chain pre-processing, data augmentation, and post-processing functions, supporting reusability and customization.
- Low-level backends provide atomic, reusable functions for image, camera, keypoint, box, and quaternion operations, decoupled from higher-level logic.
- The library supports automatic batch dispatching using a SequenceProcessing generator compatible with Keras model.fit for training workflows.
- Built-in message types (e.g., Box2D, Pose6D, Keypoints3D) and dataset interfaces (COCO, VOC, YCB-Video, FER2013) enable seamless integration with robotics frameworks.
Experimental results
Research questions
- RQ1How can a perception library be architected to support a broad range of robot perception tasks while maintaining modularity and reusability?
- RQ2To what extent can a hierarchical abstraction layer improve software design stamina in machine learning-based perception systems?
- RQ3Can a unified library effectively support both high-level application deployment and low-level algorithmic extension without compromising flexibility?
- RQ4How can data augmentation, preprocessing, and postprocessing be modularized to enhance reproducibility and debugging in perception pipelines?
- RQ5What is the impact of a minimal dependency stack (TensorFlow, OpenCV, NumPy) on the portability and maintainability of a perception library?
Key findings
- PAZ successfully implements end-to-end training and inference pipelines for 12 diverse perception tasks, including 2D keypoint estimation, 6D pose estimation, and emotion classification.
- The library’s hierarchical design enables users to build complex pipelines using reusable components, with minimal code—e.g., a single-line call to instantiate a SSD512 detector.
- The SequentialProcessor abstraction allows flexible composition of data augmentation and preprocessing steps, supporting dynamic configuration without rewriting logic.
- PAZ provides built-in support for 7 major datasets (COCO, VOC, OpenImages, YCB-Video, FAT, FERPlus, FER2013) through a common interface, enabling rapid dataset integration.
- The library achieves 47% test coverage and includes automatic documentation generation, unit tests, and continuous integration across multiple Python versions.
- PAZ’s backend modules are fully decoupled and can be replaced or extended independently, allowing integration with custom hardware or software APIs without breaking higher-level functionality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.