Pith. sign in

REVIEW 1 cited by

Profile Guided Optimization without Profiles: A Machine Learning Approach

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2112.14679 v2 pith:7JKCKPKI submitted 2021-12-24 cs.PL cs.LG

Profile Guided Optimization without Profiles: A Machine Learning Approach

classification cs.PL cs.LG
keywords profileoptimizationtechniquebranchcompilerguidedinformationprobabilities
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
Share X Bluesky LinkedIn Reddit HN
read the original abstract

Profile guided optimization is an effective technique for improving the optimization ability of compilers based on dynamic behavior, but collecting profile data is expensive, cumbersome, and requires regular updating to remain fresh. We present a novel statistical approach to inferring branch probabilities that improves the performance of programs that are compiled without profile guided optimizations. We perform offline training using information that is collected from a large corpus of binaries that have branch probabilities information. The learned model is used by the compiler to predict the branch probabilities of regular uninstrumented programs, which the compiler can then use to inform optimization decisions. We integrate our technique directly in LLVM, supplementing the existing human-engineered compiler heuristics. We evaluate our technique on a suite of benchmarks, demonstrating some gains over compiling without profile information. In deployment, our technique requires no profiling runs and has negligible effect on compilation time.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. GRACE: Cluster-Specific Sequence Reuse for Compiler Auto-Tuning

    cs.SE 2025-10 conditional novelty 5.0

    GRACE pre-computes cluster-specific compiler-pass sequences via contrastive embeddings and evolution, cutting LLVM IR instruction count about 10% over opt -Oz in under 1 second per program.