TL;DR
Imitation learning usually requires massive amounts of expert data, especially in high-dimensional systems. This paper proves that pre-training a shared, low-dimensional representation across multiple source tasks drastically improves the sample efficiency of learning a new target task. By analyzing linear dynamical systems, the authors provide a formal proof that multi-task learning mitigates the classic "compounding error" problem in closed-loop control.
What Problem Does This Paper Address?
Imitation learning (IL), such as behavioral cloning, trains a control policy by mimicking expert demonstrations. Despite its success in robotics and autonomous driving, IL suffers from two major flaws: it is highly data-hungry, and it is plagued by distribution shift. Because a learned policy inevitably makes small errors, the system drifts into states the expert never visited during training, causing errors to compound over time.
Multi-task representation learning is a popular remedy: learn a shared, low-dimensional feature space across many "source" tasks, then fine-tune it on a "target" task using a small amount of data. While this approach is well-understood for independent and identically distributed (i.i.d.) data in standard supervised learning, its theoretical guarantees do not easily translate to control systems. Data in dynamical systems is temporally dependent, and controllers must perform well in closed-loop operations rather than just minimizing one-step prediction errors. This paper provides the first rigorous sample complexity analysis of multi-task representation learning for linear dynamical systems.
Methods
The authors analyze a two-phase learning framework:
- Pre-training Stage: Expert demonstration data is collected from $H$ different but related source tasks. The algorithm jointly optimizes over all source data to extract a shared, low-dimensional linear representation matrix $\hat{\Phi} \in \mathbb{R}^{k \times n_x}$ (where the representation dimension $k$ is much smaller than the state dimension $n_x$).
- Target Fine-tuning Stage: The learned representation $\hat{\Phi}$ is frozen. Using a small dataset from a new target task, the algorithm solves an ordinary least squares (OLS) problem to fit the remaining task-specific policy weights $\hat{F}^{(H+1)} \in \mathbb{R}^{n_u \times k}$.
To analyze this framework, the authors combine the theory of self-normalized martingales (to handle causally dependent trajectory data) with incremental stochastic input-to-state stability ($\delta$-SISS). This mathematical coupling allows them to bound the actual closed-loop tracking error based on the policy's one-step prediction error (excess risk).
Datasets
The paper evaluates its findings using simulated data rather than real-world datasets:
- System Dynamics: A synthetic linear time-invariant (LTI) system with a true state dimension of $n_x = 4$ and input dimension of $n_u = 2$.
- High-Dimensional Observations: To simulate a complex perceptual sensor (like a camera), the 4D state is projected into a 50-dimensional observation space ($y_t = Gx_t$) using a random injective matrix $G \in \mathbb{R}^{50 \times 4}$.
- Task Generation: The source tasks consist of $H = 9$ distinct stabilizing controllers generated by solving the Discrete Algebraic Riccati Equation (DARE) for Linear Quadratic Regulator (LQR) problems with varying cost matrices.
Key Insights and Ideas
- Shrinking the Parameter Space: Direct imitation learning from scratch requires learning $n_u \times n_x$ parameters. By leveraging a pre-trained representation, the target task only needs to learn $k \times n_u$ parameters. In underactuated systems ($n_u < n_x$), this drastically reduces the target data requirement.
- Rigorous Closed-Loop Guarantees: The paper formalizes the intuition that "low training error implies low test error" in closed-loop systems. It proves that the tracking error scales gracefully with the policy's excess risk, provided the underlying expert system is stable.
- Multi-Axis Data Decay: The error in learning the shared representation decreases with respect to the total number of tasks, the number of trajectories per task, and the trajectory length ($T$). This proves that longer trajectories genuinely help isolate the underlying system features.
Key Results
The main theoretical contribution is a high-probability bound showing that the target task tracking error scales as: $$\text{tracking error} \lesssim \frac{\text{rep. dimension} \times \text{state dimension}}{\text{\# source task datapoints}} + \frac{\text{rep. dimension} \times \text{input dimension}}{\text{\# target task datapoints}}$$
In simulations on the 50-dimensional observation space, Multi-Task IL significantly outperformed Direct IL (learning from scratch):
- Stability: When target data ($N_2$) was highly limited, Direct IL completely failed to stabilize the system (0% success rate). Multi-Task IL achieved a 100% success rate even with minimal target trajectories.
- Error Reduction: Multi-Task IL yielded tracking and parameter errors that were orders of magnitude lower than Direct IL, matching the trends predicted by the theoretical bound.
Limitations and Future Work
- Strictly Linear Assumptions: The entire theoretical framework relies on linear dynamical systems, linear expert policies, and linear representation functions.
- Future Directions: Real-world control problems (like robotics) are highly nonlinear. The authors note that extending this sample-complexity analysis to nonlinear dynamics, nonlinear representations (such as neural networks), and model-free reinforcement learning settings remains an open and crucial challenge.
Summary updated