TL;DR
This paper introduces an "online" method for simultaneously evolving both a visual feature extractor (MPCNN) and a reinforcement learning controller (RNN) for a self-driving car. This approach avoids the need for pre-collected, labeled data, allowing the system to learn to drive using only visual input from the environment.
What Problem Does This Paper Address?
Reinforcement learning (RL) agents often struggle with high-dimensional input spaces, such as raw images from a camera. Traditional approaches either compress the neural network controllers themselves or use a separate "compressor" module to extract low-dimensional features from the input. However, training these compressors often requires large, pre-collected datasets, which can be labor-intensive and may not generalize well to new environments. This paper tackles the challenge of enabling RL agents to learn from visual input without relying on pre-existing, labeled datasets, by evolving both the feature extractor and the controller concurrently.
Methods
The core innovation is the online evolution of both the visual compressor and the RL controller.
- Max-Pooling Convolutional Neural Network (MPCNN) Compressor: This is a deep convolutional neural network designed to extract features from images. Instead of being trained with labeled data (as is typical for image classification), the MPCNN is evolved. Its fitness is determined by how well it spreads out the feature vectors it generates from a set of training images. This encourages the MPCNN to produce discriminative features.
- Recurrent Neural Network (RNN) Controller: This network takes the low-dimensional features from the MPCNN and decides on actions (steering, acceleration, braking) for the car. The RNN is also evolved using a neuroevolution algorithm.
- Interleaved Evolution: The MPCNN compressor and the RNN controller are evolved in a coupled system. They alternate between two separate evolutionary algorithms: one for the MPCNN (CoSyNEk) and one for the RNN (CoSyNEc). The MPCNN is trained on images collected during the driving trials of the evolving RNN controllers, closing the loop and allowing for continuous adaptation.
Datasets
The paper uses the TORCS racing simulator as its environment. The "dataset" consists of raw 64x64 grayscale images (saturation plane) collected from the driver's perspective within the simulator during the evolving controllers' driving trials. No pre-collected, labeled datasets are used for training the MPCNN.
Key Insights and Ideas
- Online Feature Learning is Sufficient: The paper demonstrates that it's not necessary to pre-train a visual compressor offline. Evolving the compressor concurrently with the controller allows it to learn relevant features directly from the task's experience.
- Unsupervised Feature Spreading: The fitness function for the MPCNN, which encourages feature vectors to be spread out in a feature space, is a clever way to achieve unsupervised feature learning. This implicitly guides the MPCNN to learn features that are discriminative for the driving task.
- Closing the Loop: By using images generated by the evolving controllers to train the evolving compressor, the system creates a self-improving loop where both components adapt to each other and the environment.
Key Results
- The "Online MPC-RNN" agent was able to learn to drive a race car in the TORCS simulator using only visual input.
- The evolved controllers achieved a fitness score of around 500, allowing them to complete a lap and continue driving without crashing.
- While the performance of the "Online MPC-RNN" was not as good as its offline-trained MPCNN counterpart, it still demonstrated effective learning. The paper attributes this to the compressor not reaching its optimum online and the controller needing to adapt to changing features.
- The evolved MPCNN features were shown to become increasingly discriminative over generations, effectively separating features from different visual inputs.
Limitations and Future Work
- Performance Gap: The online evolved controllers did not perform as well as those with an offline-trained MPCNN. The authors suggest this is because the online compressor may not reach its optimum, and the controller needs to adapt to the changing features provided by the evolving compressor.
- Generalization: While the system learned to drive, it's unclear how well it would generalize to significantly different environments or tracks without further evolution.
- Future Work: The authors suggest exploring combining controllers and compressors into a single genome, using autoencoders for feature learning, and applying the "Online MPC-RNN" framework to higher-dimensional action spaces (e.g., for humanoid robots performing manipulation tasks).
Summary updated