NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Pavol Bielik

Pavol Bielik

LatticeFlow · ETH Zurich
2 previous affiliations
14Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Pavol Bielik focuses on the intersection of machine learning, program analysis, and software engineering. His research centers on developing probabilistic models for source code, automated program synthesis, and enhancing the robustness and interpretability of machine learning models. By leveraging large-scale codebases—often referred to as "Big Code"—his work seeks to create tools that assist developers in tasks such as code completion, bug detection, and UI synthesis, while more recent efforts address the fundamental trade-offs between accuracy and adversarial robustness in deep learning.

Research Trajectory

Bielik’s early research, beginning around 2015, was primarily concerned with the challenges of Structural Awareness in Neural Code Intelligence. During this period, he addressed the limitations of treating source code as a flat sequence of tokens, a common practice in early natural language processing models applied to software. His work emphasized that code is governed by formal grammars and hierarchical structures, necessitating models that can account for these properties. This led to the development of probabilistic higher-order grammars and decision-tree-based models designed to capture the complex execution flows and Modeling Long Range Dependencies in Source Code.

Simultaneously, Bielik applied formal methods to mobile and networked systems. He developed scalable dynamic analysis tools for detecting concurrency violations, specifically data races in Android applications and Software-Defined Networks (SDN). This work combined happens-before models with domain-specific filters to reduce false positives, bridging the gap between theoretical program analysis and practical software reliability.

By 2017 and 2018, his focus shifted toward synthesis and the interpretability of learned models. He explored Expressivity Constraints in Grammar-Constrained Program Synthesis, moving away from "black-box" neural networks toward human-readable programs written in Domain-Specific Languages (DSLs). This trajectory included work on synthesizing relational layouts for user interfaces and using machine learning to guide Satisfiability Modulo Theories (SMT) solvers. In the latter, he investigated Distilling Deep Reinforcement Learning into Symbolic Policies, where a neural policy's decisions are represented as loop-free programs to improve solver efficiency and transparency.

In his more recent work (2020–2023), Bielik has pivoted toward the security and reliability of machine learning models. This research addresses the "robustness-accuracy trade-off," where models trained to resist adversarial attacks often suffer a significant decline in natural accuracy. His contributions in this area involve Selective Prediction and Abstention Mechanisms, proposing training regimes that allow models to abstain from prediction when they are likely to be robust but inaccurate. This work also touches upon the challenges of Mitigating Compounding Errors in Autoregressive Physical Simulators by improving the underlying stability of neural surrogate models.

Representative Work

In Programming with "Big Code": Lessons, Techniques and Applications, Bielik and his collaborators synthesized several years of experience in building probabilistic systems over massive codebases. The paper outlines the technical hurdles at the intersection of machine learning and program analysis, providing a framework for developing tools that can perform code completion and repair by learning from existing repositories. This work established a foundation for treating code as a data source for statistical inference.

Bielik’s work on software reliability is exemplified by Scalable race detection for Android applications. He introduced a dynamic analysis system capable of analyzing real-world Android interactions in minutes. The system’s efficacy relies on a thorough happens-before model tailored to Android-specific concurrency and a scalable algorithm for querying the resulting graph. This research demonstrated how domain-specific constraints can be used to filter out false positives that typically plague concurrency analysis tools.

To address the structural complexity of code, Bielik developed PHOG: Probabilistic Model for Code. This paper introduced Probabilistic Higher Order Grammar (PHOG), which generalizes traditional probabilistic context-free grammars. By allowing the conditioning of production rules on a dynamically computed context, PHOG enables more precise generative modeling of source code than previous sequence-based or context-free approaches.

In the domain of automated design, Robust relational layout synthesis from examples for Android presents a system called InferUI. The tool synthesizes relational layouts from a set of visual examples provided by a designer. The core contribution is a formalization of the Android ConstraintLayout class and a synthesis algorithm that ensures the resulting layouts are robust across different screen sizes and orientations, preventing common generalization errors in UI development.

Bielik also applied machine learning to improve formal reasoning tools in Learning to Solve SMT Formulas. This work treats SMT solving as a tree search problem where a learned policy selects transformations to apply to a formula. A key innovation is the synthesis of an interpretable strategy—a loop-free program—that represents the policy's logic. This approach allows the solver to benefit from learned heuristics while remaining transparent to the user.

His recent contributions to model reliability are detailed in Just Avoid Robust Inaccuracy: Boosting Robustness Without Sacrificing Accuracy. This research addresses the tendency of robustly trained models to provide a false sense of safety by being robust yet inaccurate on certain samples. Bielik proposes a training method that jointly maximizes robust accuracy and minimizes robust inaccuracy. By leveraging robustness as a principled abstain mechanism, the proposed framework allows for the composition of models that maintain high natural accuracy while ensuring safety in high-stakes environments.

Current Directions

Bielik’s current research continues to explore the boundaries of machine learning robustness and its practical deployment. A significant portion of his recent output focuses on the automated discovery of adaptive attacks to evaluate adversarial defenses more reliably. This involves formalizing attack building blocks into a search space to discover vulnerabilities that fixed ensemble attacks might miss.

Furthermore, he is refining compositional approaches to machine learning, where multiple models are combined using abstain mechanisms to balance performance and safety. This direction suggests a move toward modular AI systems that can recognize their own limitations and defer to more specialized or conservative components when uncertainty is high. This work remains grounded in the rigorous evaluation of deep learning models, seeking to bridge the gap between theoretical robustness and the practical requirements of real-world software systems.

Profile updated

See something wrong? Report a mistake