mlsanityData to 14 Oct 2026

BenchPress: A Deep Active Benchmark Generator

arXiv 2208.06555 ↗First posted 13 Aug 2022cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

We develop BenchPress, the first ML benchmark generator for compilers that is steerable within feature space representations of source code. BenchPress synthesizes compiling functions by adding new code in any part of an empty or existing sequence by jointly observing its left and right context, achieving excellent compilation rate. BenchPress steers benchmark generation towards desired target features that has been impossible for state of the art synthesizers (or indeed humans) to reach. It performs better in targeting the features of Rodinia benchmarks in 3 different feature spaces compared with (a) CLgen - a state of the art ML synthesizer, (b) CLSmith fuzzer, (c) SRCIROR mutator or even (d) human-written code from GitHub. BenchPress is the first generator to search the feature space with active learning in order to generate benchmarks that will improve a downstream task. We show how using BenchPress, Grewe's et al. CPU vs GPU heuristic model can obtain a higher speedup when trained on BenchPress's benchmarks compared to other techniques. BenchPress is a powerful code generator: Its generated samples compile at a rate of 86%, compared to CLgen's 2.33%. Starting from an empty fixed input, BenchPress produces 10x more unique, compiling OpenCL benchmarks than CLgen, which are significantly larger and more feature diverse.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 13 of its 39 references that are in the map. First posted on arXiv 13 Aug 2022.

Builds on

13 of 39 references.

References · 13

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2018Deep contextualized word representationscited by 2,290
  4. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  5. 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 306
  6. 2016DeepCoder: Learning to Write Programscited by 149
  7. 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 126
  8. 2019Learning to Infer Program Sketchescited by 44
  9. 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Researchcited by 41
  10. 2020Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesiscited by 39
  11. 2020AutoPhase: Juggling HLS Phase Orderings in Random Forests with Deep Reinforcement Learningcited by 24
  12. 2020M3: Semantic API Migrationscited by 4
1 more
  1. 2021Autoencoders as Tools for Program Synthesiscited by 4

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 0; 2025: 1.

2 papers.