HackerPapers

arXiv:2403.19462cs.LG

Offline Imitation Learning from Multiple Baselines with Applications to Compiler Optimization

Teodor V. Marinov, Alekh Agarwal, Mircea Trofin

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

This work studies a Reinforcement Learning (RL) problem in which we are given a set of trajectories collected with K baseline policies. Each of these policies can be quite suboptimal in isolation, and have strong performance in complementary parts of the state space. The goal is to learn a policy which performs as well as the best combination of baselines on the entire state space. We propose a simple imitation learning based algorithm, show a sample complexity bound on its accuracy and prove that the the algorithm is minimax optimal by showing a matching lower bound. Further, we apply the algorithm in the setting of machine learning guided compiler optimization to learn policies for inlining programs with the objective of creating a small binary. We demonstrate that we can learn a policy that outperforms an initial policy learned via standard RL through a few iterations of our approach.

arXiv comments
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.PLProgramming Languages

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Nov 2024 to Nov 2024.

Comments linking this paper, per year.

Discussed in comments1 thread

    • I find it a little annoying that in the paper[0] they show various graphs of megabytes saved in the paper, but no actual size of the binaries that these policies are applied to, as far as I can tell. So when they say the inline policies end up saving 20 MiB on the training data…

      vanderZwanView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.