← Search

Martin Rinard

7 accepted papers

2024

Emergent Representations of Program Semantics in Language Models Trained on Programs

ICML 2024poster

We present evidence that language models (LMs) of code can learn to represent the formal semantics of programs, despite being trained only to perform next-token prediction. Specifically, we train a Transformer model on a synthetic corpus of programs written in a domain-specific language for navigati…

2023

Incompatibility Clustering as a Defense Against Backdoor Poisoning Attacks

ICLR 2023poster

We propose a novel clustering mechanism based on an incompatibility property between subsets of data that emerges during model training. This mechanism partitions the dataset into subsets that generalize only to themselves, i.e., training on one subset does not improve performance on the other subse…

2021

Program Synthesis Guided Reinforcement Learning for Partially Observed Environments

NeurIPS 2021spotlight

A key challenge for reinforcement learning is solving long-horizon planning problems. Recent work has leveraged programs to guide reinforcement learning in these settings. However, these approaches impose a high manual burden on the user since they must provide a guiding program for every new task.…

2020

Neurosymbolic Transformers for Multi-Agent Communication

NeurIPS 2020poster

We study the problem of inferring communication structures that can solve cooperative multi-agent planning problems while minimizing the amount of communication. We quantify the amount of communication as the maximum degree of the communication graph; this metric captures settings where agents have…

2020

The Fast Loaded Dice Roller: A Near-Optimal Exact Sampler for Discrete Probability Distributions

AISTATS 2020poster

This paper introduces a new algorithm for the fundamental problem of generating a random integer from a discrete probability distribution using a source of independent and unbiased random coin flips. We prove that this algorithm, which we call the Fast Loaded Dice Roller (FLDR), is highly efficient…