Q-Learning's Foundational Role in Compiler Optimization

Q-learning, a value-based reinforcement learning algorithm, pioneered the optimization of compiler pass sequences by learning the optimal Q-values for state-action pairs, guiding the selection of beneficial transformations that maximize cumulative rewards like reduced execution time or code size.

Sources

Open the full topic