Abstract
Deep Reinforcement Learning (DRL) has achieved remarkable success in complex control tasks, yet its "black-box" nature limits its application in high-stakes domains such as healthcare and manufacturing. This paper proposes a novel framework to derive interpretable control policies from pre-trained deep neural networks using Evolutionary Feature Synthesis (EFS). By automatically optimizing the operator set and employing a policy simplification strategy, the method converts opaque neural models into transparent, symbolic mathematical expressions. Experimental results across four benchmarks, including a complex industrial simulator, show that EFS-derived policies often outperform traditional genetic programming and can even exceed the performance of the original neural network teacher while maintaining human-readability.
Introduction
The lack of transparency in Deep Reinforcement Learning (DRL) models is a significant barrier to their deployment in safety-critical environments. When a controller fails or behaves unexpectedly, engineers must be able to audit the decision-making process. While symbolic regression and tree-based Genetic Programming (GP) have been used to create readable "student" models from neural "teachers," they often suffer from a performance gap or produce overly complex, "bloated" expressions. This research introduces an approach based on Evolutionary Feature Synthesis (EFS) to generate compact, high-performing, and interpretable symbolic policies.
Methodology
The proposed pipeline involves four main stages to bridge the gap between performance and transparency:
- Data Preparation: State-action trajectories are collected by running the pre-trained "teacher" DNN in the target environment, creating a library of expert behaviors.
- Operator Optimization: A genetic algorithm automatically selects the most effective mathematical operators (e.g., trigonometric, logarithmic) for the specific problem, reducing the search space and improving search efficiency.
- Evolutionary Feature Synthesis (EFS): Unlike standard GP, which builds deep, complex trees, EFS evolves individual non-linear features that are then combined into a linear model. This structure is inherently more interpretable as it reveals the relative importance of different sensor inputs through linear weights.
- Simplification: A progressive strategy prunes the model to find the optimal balance between simplicity and performance, ensuring the final output remains human-readable.
Experimental Evaluation
The method was tested on four reinforcement learning environments of varying complexity:
- CartPole: A classic balancing task.
- Acrobot: A two-link robotic arm swing-up problem.
- MountainCar: A task requiring strategic energy management to overcome gravity.
- Industrial Benchmark: A high-dimensional environment with 27 variables designed to simulate real-world control problems involving fatigue and consumption costs.
Key Findings
- Superior Performance: EFS consistently achieved higher rewards than tree-based GP. For example, in the CartPole environment, EFS reached a reward of 982.6, significantly outperforming GP's 376.4.
- Generalization: In some cases, the distilled symbolic policy actually outperformed the original DNN teacher. This suggests that the symbolic model effectively filters out noise in the neural network's policy, capturing the essential underlying control logic.
- Compactness: EFS models were significantly shallower and more readable. In the Industrial Benchmark, EFS models had a depth of 25, whereas GP models reached a depth of 48.5.
- Human-Readable Output: The resulting policies are simple algebraic formulas that can be easily verified by engineers and implemented in standard software without the need for heavy deep learning frameworks.
Conclusion and Future Work
Evolutionary Feature Synthesis provides a robust path toward interpretable AI in reinforcement learning. By transforming complex neural networks into transparent symbolic expressions, this framework enables the auditing and verification necessary for high-stakes industrial applications. While the current implementation is more computationally intensive than standard GP, future research will focus on optimizing feature evaluation and extending these capabilities to high-dimensional visual inputs.
Summary updated