Large Language Models for Compiler Optimization
1–10 of 119 posts
Re: Large Language Models for Compiler Optimization
#2Re: Large Language Models for Compiler Optimization
#3This kind of application of LLMs is most interesting to me, since it's possible to evaluate correctness and performance quantitatively.
Re: Large Language Models for Compiler Optimization
#4Re: Large Language Models for Compiler Optimization
#53% code size reduction is really good. The challenge will be having codegen like this that someone is willing to support. And for that they'd want to be able to reason about why the compiler made this decision or that one. IIUC that's an outstanding problem for AI in general.
Re: Large Language Models for Compiler Optimization
#6This kind of application of LLMs is most interesting to me, since it's possible to evaluate correctness and performance quantitatively.
It seems like a poor fit to me precisely because correctness is boolean, difficult to measure and getting it wrong is very bad. I do think there's a place for AI here but it's probably not LLMs in their current form.
I agree that what you say is true of compilation as a whole, but that doesn't seem to be the focus here (rather, it's used as a sort of crutch to help the LLM learn)
Re: Large Language Models for Compiler Optimization
#7This kind of application of LLMs is most interesting to me, since it's possible to evaluate correctness and performance quantitatively.
It seems like a poor fit to me precisely because correctness is boolean, difficult to measure and getting it wrong is very bad. I do think there's a place for AI here but it's probably not LLMs in their current form.
Re: Large Language Models for Compiler Optimization
#8This kind of application of LLMs is most interesting to me, since it's possible to evaluate correctness and performance quantitatively.
It seems like a poor fit to me precisely because correctness is boolean, difficult to measure and getting it wrong is very bad. I do think there's a place for AI here but it's probably not LLMs in their current form.
But I agree, as of now I haven't seen good uses where LLMs produce reliable output. Not only do you need that guarantee that whatever output always generates a correct program, you need something where an LLM is considerably better than a simple or random algorithm, and you need a lot of training data (severely restricting how creative you can be with the output).
Re: Large Language Models for Compiler Optimization
#9There's a half day tutorial at the LLVM Developers Meeting on this, ML-Guided Compiler Optimization in LLVM . However, the authors of this paper aren't giving that tutorial.
Re: Large Language Models for Compiler Optimization
#10This kind of application of LLMs is most interesting to me, since it's possible to evaluate correctness and performance quantitatively.
It seems like a poor fit to me precisely because correctness is boolean, difficult to measure and getting it wrong is very bad. I do think there's a place for AI here but it's probably not LLMs in their current form.
- Challenge: https://codalab.lisn.upsaclay.fr/competitions/15096
- Paper describing the challenge: https://arxiv.org/abs/2308.07899
(I am one of the authors, AMA)