Abstract
Standardizing data representation in data-driven ("datatic") control systems remains a significant challenge compared to classical "modelic" control. This paper proposes the Canonical Data Form, a framework that augments raw transition data with causal and local attributes. By providing a standardized structure analogous to classical state-space canonical forms, this approach improves training stability and achieves up to a 3x speedup in reinforcement learning tasks through efficient data filtering and enhanced reward signals.
Introduction
In classical control theory, well-defined canonical forms (such as Jordan or Controllable forms) allow engineers to assess system properties like stability and controllability at a glance. As control systems shift toward "datatic" methods like Reinforcement Learning (RL), where models are bypassed in favor of direct interaction data, this rigor is often lost.
Currently, datatic control lacks standardization; data is typically treated as a raw collection of $(x, u, x')$ tuples. This lack of structure leads to two primary issues: erratic training performance due to sparse rewards and computational bottlenecks when searching through massive datasets for neighboring samples. This paper introduces a standardized data structure to bridge the gap between classical rigor and modern data-driven efficiency.
The Canonical Data Form
The core proposal is a standardized structure for a data sample $S$, defined as the sum of a Transition ($\mathcal{T}$) and an Attribute ($\mathcal{A}$):
$$S = \text{Transition } (\mathcal{T}) + \text{Attribute } (\mathcal{A})$$
- Transition ($\mathcal{T}$): The standard $(state, action, next\_state)$ tuple.
- Attribute ($\mathcal{A}$): Artificial characteristics calculated online. To maintain system integrity, attributes must satisfy Causality (computable in real-time without future knowledge) and Locality (dependent only on a finite set of historical neighbors).
Implementation Variants
- Temporal Canonical Form: Attributes represent the "time cost" between pre-defined events. This creates an event-time distribution that serves as a supplementary reward signal, guiding agents through environments with sparse rewards.
- Spatial Canonical Form: Attributes consist of distances to fixed "anchor points" in the state space. By leveraging the Triangle Inequality, the system can mathematically reject samples that are too distant without performing full distance calculations, drastically accelerating neighbor-search tasks.
Experimental Results
The framework was evaluated on standard benchmarks including MountainCar (Gym) for temporal testing and Hopper-medium-replay (D4RL/MuJoCo) for spatial testing.
- Computational Efficiency: In the Hopper task, the Spatial Canonical Form reduced total training time from over 20 hours to approximately 7 hours—a 3x speedup. This was driven by a spatial filter that achieved a "reject ratio" of over 99.9%, allowing the algorithm to ignore the vast majority of the 400,000+ samples instantly.
- Training Stability: In the MountainCar benchmark, the Temporal form eliminated the oscillations typical of naive Deep Q-Network (DQN) training. By fitting a convex hull to temporal attributes, the agent gained a smoother understanding of the minimum time required for tasks, leading to reliable convergence.
Conclusion and Future Work
The Canonical Data Form demonstrates that injecting geometric and physical priors into data-driven control can restore the stability and efficiency of classical methods. However, challenges remain regarding the optimal selection of anchor points in high-dimensional spaces (e.g., pixel-based inputs) and the automated discovery of events for temporal attributes. Future research will focus on making these canonical forms adaptive to non-stationary environments where system attributes may evolve over time.
Summary updated