A methodology writeup for improving the .NET JIT's Common Subexpression Elimination (CSE) heuristic using RL and oracle-derived labels, with an emphasis on the evaluation loop. Written up so somebody else can leverage the pattern for a similar heuristic-improvement task.
Results delivered by this line of work:
- v10, v11, v12b — successive imitation-learning models baked into the
runtime as
CSE_HeuristicImitation(~155KB weights, transformer over