[Paper Review] Learning Programmatically Structured Representations with Perceptor Gradients
This paper introduces the perceptor gradients algorithm, which learns symbolic representations by decomposing an agent's policy into a neural perceptor network that extracts symbols from raw observations and a user-defined task encoding program that maps symbols to actions. The method enables faster, more efficient learning of transferable, semantically meaningful representations, demonstrated by successfully training an LQR controller and an A* planner on pixel inputs in cart-pole and Minecraft-like navigation tasks.
We present the perceptor gradients algorithm -- a novel approach to learning symbolic representations based on the idea of decomposing an agent's policy into i) a perceptor network extracting symbols from raw observation data and ii) a task encoding program which maps the input symbols to output actions. We show that the proposed algorithm is able to learn representations that can be directly fed into a Linear-Quadratic Regulator (LQR) or a general purpose A* planner. Our experimental results confirm that the perceptor gradients algorithm is able to efficiently learn transferable symbolic representations as well as generate new observations according to a semantically meaningful specification.
Motivation & Objective
- Address the challenge of learning symbolic representations from raw, noisy observations that are semantically meaningful for planning and control.
- Bridge the gap between data-driven neural networks and symbolic reasoning by incorporating programmatic inductive bias into representation learning.
- Enable efficient, sample-efficient learning of representations that are directly usable by downstream planners like LQR or A*.
- Facilitate transfer learning and lifelong learning by reusing and adapting pre-trained perceptors for new tasks without catastrophic forgetting.
- Demonstrate the ability to generate realistic observations from symbolic specifications, enabling semantic data augmentation.
Proposed method
- Decompose the policy into a perceptor network (neural) that maps raw observations to symbolic states and a task encoding program (user-provided) that maps symbols to actions.
- Train the perceptor using the REINFORCE estimator with policy gradients, where the reward signal is derived from the performance of the task encoding program.
- Use programmatic regularisation to structure the latent space, embedding semantic meaning and inductive bias from the task program.
- Apply both feedforward and autoencoding perceptors to learn disentangled, interpretable representations from pixel inputs.
- Enable transfer learning by stacking multiple perceptors (e.g., pose and object location) and fine-tuning with low learning rates to prevent catastrophic forgetting.
- Generate synthetic observations from symbolic specifications by decoding the joint latent space of multiple perceptors, preserving spatial and semantic consistency.
Experimental results
Research questions
- RQ1Can programmatic task descriptions serve as an effective inductive bias to improve sample efficiency in learning symbolic representations from raw observations?
- RQ2Can the proposed perceptor gradients method learn representations that are directly compatible with classical control methods like LQR or planning algorithms like A*?
- RQ3To what extent can pre-trained perceptors be transferred and adapted to new tasks without catastrophic forgetting?
- RQ4Can the learned symbolic representations be used to generate semantically meaningful, realistic observations from symbolic specifications?
- RQ5How does programmatic regularisation compare to statistical constraints (e.g., disentanglement, independence) in improving representation quality and downstream task performance?
Key findings
- The perceptor gradients algorithm significantly outperforms standard policy gradient methods, achieving optimal performance on the 'collect wood' task in under 3,000 iterations.
- The method successfully learns a symbolic representation of the cart-pole state from raw pixel observations, enabling effective control via a Linear-Quadratic Regulator (LQR).
- Symbolic representations learned via perceptor gradients are transferable: a pre-trained perceptor for agent pose was successfully reused and fine-tuned for a new navigation and search task.
- The joint latent space of stacked perceptors preserves semantic structure, enabling the generation of realistic, occlusion-aware images from symbolic specifications.
- Generated observations from symbolic inputs reconstruct images with high fidelity, with only minor orientation-related artifacts observed in some samples.
- Programmatic regularisation via task encoding programs provides a general and effective inductive bias that improves generalisation and enables direct integration with symbolic planners.
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.