Sign inGet started
Paper · arXiv

LLM-Based Embeddings for Program Analysis and Optimization

Recent advances have highlighted the potential of machine learning, particularly Large Language Models (LLMs), for analyzing and optimizing programs. We present the first application of program embeddings from LLMCompiler---an LLM massively pretrained on intermediate representation (IR) code---to representative program analysis and optimization tasks. We generate program embeddings directly from source and IR code using a simple approach: split programs into chunks, independently embed each chunk with pretrained LLMs, and then aggregate the chunk embeddings into a single program embedding. Our experiments show that combining source and IR code embeddings achieves an error rate of 1.54\% i...

AuthorsCalvin Higgins, Marco Alvarez
Primary categorycs.LG
Published8 August 2026
Last updated at source8 August 2026
cs.LGcs.PL
Embed this entry
<iframe src="https://silytics.si/embed/item/8a59e4fb-e7b9-4929-a2b3-cef7c2f73774" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.