Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Daniel Tarlow

dblp:79/5873 · DBLP profile ↗
← Back
44ranked-venue papers
6as first author
8since 2021 · last 2024
0009-0009-4304-6395ORCID · corroborated

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 42 · 6 first-author · 8 since 2021Graphics, computer vision, multimedia, augmented reality and games · 6 · 1 first-authorSoftware engineering, systems software and programming languages · 2

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Artificial intelligence
29 papers
Probabilistic and Bayesian machine learning · 24% Trustworthy machine learning · 18% Language models and text generation · 11%
Software engineering, system software, and programming languages
11 papers
Program synthesis and code generation · 48% Program analysis · 27% Debugging and program repair · 13%

Topics — the 30 heaviest of 82, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Machine learning › Trustworthy machine learning
uncertainty estimation
1.422024
Experts Don't Cheat: Learning What You Don't Know By Predicting Pairs · ICML 2024
R-U-SURE? Uncertainty-Aware Code Suggestions By Maximizing Utility Across Random User Intents · ICML 2023
Machine learning › Graph learning
graph neural network
0.922020
Learning to Execute Programs with Instruction Pointer Attention Graph Neural Networks · NeurIPS 2020
Learning Graph Structure With A Finite-State Automaton Layer · NeurIPS 2020
Program analysis
static analysis
0.822023
Static Prediction of Runtime Errors by Learning to Execute Programs with External Resource Descriptions · ICLR 2023
Learning Graph Structure With A Finite-State Automaton Layer · NeurIPS 2020
Program analysis
program representation
0.822021
PLUR: A Unifying, Graph-Based View of Program Learning, Understanding, and Repair · NeurIPS 2021
Neural Program Lattices · ICLR (Poster) 2017
Machine learning › Trustworthy machine learning
calibration
0.812024
Experts Don't Cheat: Learning What You Don't Know By Predicting Pairs · ICML 2024
Machine learning › Trustworthy machine learning › uncertainty estimation
epistemic uncertainty
0.812024
Experts Don't Cheat: Learning What You Don't Know By Predicting Pairs · ICML 2024
Machine learning › Reinforcement learning › policy optimization
policy gradient
0.722020
Direct Policy Gradients: Direct Optimization of Policies in Discrete Action Spaces · NeurIPS 2020
Batch Policy Gradient Methods for Improving Neural Conversation Models · ICLR (Poster) 2017
Natural language and speech › Language models and text generation
code language models
0.712023
Repository-Level Prompt Generation for Large Language Models of Code · ICML 2023
Natural language and speech › Language models and text generation › prompting
prompt engineering
0.712023
Repository-Level Prompt Generation for Large Language Models of Code · ICML 2023
Program synthesis and code generation
code completion
0.712023
Repository-Level Prompt Generation for Large Language Models of Code · ICML 2023
Program synthesis and code generation › code assistance
code suggestion
0.712023
R-U-SURE? Uncertainty-Aware Code Suggestions By Maximizing Utility Across Random User Intents · ICML 2023
Machine learning › Probabilistic and Bayesian machine learning
causal inference
0.512021
Learning Generalized Gumbel-max Causal Mechanisms · NeurIPS 2021
Knowledge, reasoning and agents › Knowledge representation and reasoning › causal reasoning
counterfactual reasoning
0.512021
Learning Generalized Gumbel-max Causal Mechanisms · NeurIPS 2021
Machine learning › Generative modeling › diffusion model › score-based generative model
denoising diffusion probabilistic model
0.512021
Structured Denoising Diffusion Models in Discrete State-Spaces · NeurIPS 2021
Machine learning › Generative modeling
diffusion model
0.512021
Structured Denoising Diffusion Models in Discrete State-Spaces · NeurIPS 2021
Machine learning › Generative modeling › diffusion model
discrete diffusion model
0.512021
Structured Denoising Diffusion Models in Discrete State-Spaces · NeurIPS 2021
Machine learning › Probabilistic and Bayesian machine learning › causal inference › causal model
structural causal model
0.512021
Learning Generalized Gumbel-max Causal Mechanisms · NeurIPS 2021
Debugging and program repair
automated program repair
0.512021
PLUR: A Unifying, Graph-Based View of Program Learning, Understanding, and Repair · NeurIPS 2021
Program analysis › program representation
graph-based code representation
0.512021
PLUR: A Unifying, Graph-Based View of Program Learning, Understanding, and Repair · NeurIPS 2021
Program synthesis and code generation
program learning
0.512021
PLUR: A Unifying, Graph-Based View of Program Learning, Understanding, and Repair · NeurIPS 2021
Program synthesis and code generation
programming by example
0.512021
Learning to Combine Per-Example Solutions for Neural Program Synthesis · NeurIPS 2021
Debugging and program repair
program repair
0.512021
PLUR: A Unifying, Graph-Based View of Program Learning, Understanding, and Repair · NeurIPS 2021
Machine learning › Probabilistic and Bayesian machine learning
structured prediction
0.522017
Empirical Minimum Bayes Risk Prediction · IEEE Trans. Pattern Anal. Mach. Intell. 2017
Empirical Minimum Bayes Risk Prediction: How to Extract an Extra Few % Performance from Vision Models with Just Three More Parameters · CVPR 2014
Machine learning › Optimization for machine learning
direct loss minimization
0.412020
Direct Policy Gradients: Direct Optimization of Policies in Discrete Action Spaces · NeurIPS 2020
Machine learning › Optimization for machine learning
gradient estimation
0.412020
Gradient Estimation with Stochastic Softmax Tricks · NeurIPS 2020
Machine learning › Probabilistic and Bayesian machine learning
gumbel-softmax
0.412020
Gradient Estimation with Stochastic Softmax Tricks · NeurIPS 2020
Machine learning › Probabilistic and Bayesian machine learning › structured models
latent variable model
0.412020
Gradient Estimation with Stochastic Softmax Tricks · NeurIPS 2020
Computer vision › Segmentation and scene understanding
image segmentation
0.422015
Optimizing Expected Intersection-Over-Union with Candidate-Constrained CRFs · ICCV 2015
Exploring Compositional High Order Pattern Potentials for Structured Output Learning · CVPR 2013
Natural language and speech › Language models and text generation › decoding
minimum bayes risk decoding
0.312017
Empirical Minimum Bayes Risk Prediction · IEEE Trans. Pattern Anal. Mach. Intell. 2017
Natural language and speech › Question answering and dialogue systems › dialogue modeling
neural conversation model
0.312017
Batch Policy Gradient Methods for Improving Neural Conversation Models · ICLR (Poster) 2017

Methods — techniques the papers use, named apart from their topics

prompt proposals · 1.3minimum bayes risk decoding · 1.3large language model · 1.3dual decomposition · 1.3decision diagrams · 1.3a* sampling · 1.2neural network · 0.8pair prediction · 0.8frequentist confidence intervals · 0.8learning to execute · 0.7transition matrix · 0.5transformer · 0.5multi-task learning · 0.5graph-to-sequence model · 0.5cross-entropy loss · 0.5variance reduction · 0.4direct optimization · 0.4rejection sampling · 0.2
YearPublicationVenuePosition
2024 Experts Don't Cheat: Learning What You Don't Know By Predicting Pairs
abstract
Identifying how much a model $\hat{p}_{Y|X}^{\theta}$ knows about the stochastic real-world process $p_{Y|X}$ it was trained on is important to ensure it avoids producing incorrect or "hallucinated" answers or taking unsafe actions. But this is difficult for generative models because probabilistic predictions do not distinguish between per-response noise (aleatoric uncertainty) and lack of knowledge about the process (epistemic uncertainty), and existing epistemic uncertainty quantification techniques tend to be overconfident when the model underfits. We propose a general strategy for teaching a model to both approximate $p_{Y|X}$ and also estimate the remaining gaps between $\hat{p}_{Y|X}^{\theta}$ and $p_{Y|X}$: train it to predict pairs of independent responses drawn from the true conditional distribution, allow it to "cheat" by observing one response while predicting the other, then measure how much it cheats. Remarkably, we prove that being good at cheating (i.e. cheating whenever it improves your prediction) is equivalent to being second-order calibrated, a principled extension of ordinary calibration that allows us to construct provably-correct frequentist confidence intervals for $p_{Y|X}$ and detect incorrect responses with high probability. We demonstrate empirically that our approach accurately estimates how much models don’t know across ambiguous image classification, (synthetic) language modeling, and partially-observable navigation tasks, outperforming existing techniques.
Daniel D. Johnson 0001, Daniel Tarlow, David Duvenaud, Chris J. Maddison
ICML2
2023 Static Prediction of Runtime Errors by Learning to Execute Programs with External Resource Descriptions
David Bieber, Rishab Goel, Daniel Zheng, Hugo Larochelle, Daniel Tarlow
ICLR5
2023 R-U-SURE? Uncertainty-Aware Code Suggestions By Maximizing Utility Across Random User Intents
abstract
Large language models show impressive results at predicting structured text such as code, but also commonly introduce errors and hallucinations in their output. When used to assist software developers, these models may make mistakes that users must go back and fix, or worse, introduce subtle bugs that users may miss entirely. We propose Randomized Utility-driven Synthesis of Uncertain REgions (R-U-SURE), an approach for building uncertainty-aware suggestions based on a decision-theoretic model of goal-conditioned utility, using random samples from a generative model as a proxy for the unobserved possible intents of the end user. Our technique combines minimum-Bayes-risk decoding, dual decomposition, and decision diagrams in order to efficiently produce structured uncertainty summaries, given only sample access to an arbitrary generative model of code and an optional AST parser. We demonstrate R-U-SURE on three developer-assistance tasks, and show that it can be applied different user interaction patterns without retraining the model and leads to more accurate uncertainty estimates than token-probability baselines. We also release our implementation as an open-source library at https://github.com/google-research/r_u_sure.
Daniel D. Johnson 0001, Daniel Tarlow, Christian Walder
ICML2
2023 Repository-Level Prompt Generation for Large Language Models of Code
abstract
With the success of large language models (LLMs) of code and their use as code assistants (e.g. Codex used in GitHub Copilot), techniques for introducing domain-specific knowledge in the prompt design process become important. In this work, we propose a framework called Repo-Level Prompt Generator that learns to generate example-specific prompts using prompt proposals. The prompt proposals take context from the entire repository, thereby incorporating both the structure of the repository and the context from other relevant files (e.g. imports, parent class files). Our technique doesn't require any access to the weights of the LLM, making it applicable in cases where we only have black-box access to the LLM. We conduct experiments on the task of single-line code auto-completion using code repositories taken from Google Code archives. We demonstrate that an oracle constructed from our prompt proposals gives a relative improvement of 36% over Codex, showing the quality of these proposals. Further, we show that when we train a model to predict a prompt proposal, we can achieve significant performance gains over Codex and other baselines. We release our code, data, and trained checkpoints at: https://github.com/shrivastavadisha/repo_level_prompt_generation.
Disha Shrivastava, Hugo Larochelle, Daniel Tarlow
ICML3
2021 Structured Denoising Diffusion Models in Discrete State-Spaces
abstract
Denoising diffusion probabilistic models (DDPMs) [Ho et al. 2021] have shown impressive results on image and waveform generation in continuous state spaces. Here, we introduce Discrete Denoising Diffusion Probabilistic Models (D3PMs), diffusion-like generative models for discrete data that generalize the multinomial diffusion model of Hoogeboom et al. [2021], by going beyond corruption processes with uniform transition probabilities. This includes corruption with transition matrices that mimic Gaussian kernels in continuous space, matrices based on nearest neighbors in embedding space, and matrices that introduce absorbing states. The third allows us to draw a connection between diffusion models and autoregressive and mask-based generative models. We show that the choice of transition matrix is an important design decision that leads to improved results in image and text domains. We also introduce a new loss function that combines the variational lower bound with an auxiliary cross entropy loss. For text, this model class achieves strong results on character-level text generation while scaling to large vocabularies on LM1B. On the image dataset CIFAR-10, our models approach the sample quality and exceed the log-likelihood of the continuous-space DDPM model.
Jacob Austin, Daniel D. Johnson 0001, Jonathan Ho, Daniel Tarlow, Rianne van den Berg
NeurIPS4
2021 PLUR: A Unifying, Graph-Based View of Program Learning, Understanding, and Repair
abstract
Machine learning for understanding and editing source code has recently attracted significant interest, with many developments in new models, new code representations, and new tasks.This proliferation can appear disparate and disconnected, making each approach seemingly unique and incompatible, thus obscuring the core machine learning challenges and contributions.In this work, we demonstrate that the landscape can be significantly simplified by taking a general approach of mapping a graph to a sequence of tokens and pointers.Our main result is to show that 16 recently published tasks of different shapes can be cast in this form, based on which a single model architecture achieves near or above state-of-the-art results on nearly all tasks, outperforming custom models like code2seq and alternative generic models like Transformers.This unification further enables multi-task learning and a series of cross-cutting experiments about the importance of different modeling choices for code understanding and repair tasks.The full framework, called PLUR, is easily extensible to more tasks, and will be open-sourced (https://github.com/google-research/plur).
Zimin Chen, Vincent J. Hellendoorn, Pascal Lamblin, Petros Maniatis, Pierre-Antoine Manzagol, Daniel Tarlow, Subhodeep Moitra
NeurIPS6
2021 Learning Generalized Gumbel-max Causal Mechanisms
abstract
To perform counterfactual reasoning in Structural Causal Models (SCMs), one needs to know the causal mechanisms, which provide factorizations of conditional distributions into noise sources and deterministic functions mapping realizations of noise to samples. Unfortunately, the causal mechanism is not uniquely identified by data that can be gathered by observing and interacting with the world, so there remains the question of how to choose causal mechanisms. In recent work, Oberst & Sontag (2019) propose Gumbel-max SCMs, which use Gumbel-max reparameterizations as the causal mechanism due to an appealing counterfactual stability property. However, the justification requires appealing to intuition. In this work, we instead argue for choosing a causal mechanism that is best under a quantitative criteria such as minimizing variance when estimating counterfactual treatment effects. We propose a parameterized family of causal mechanisms that generalize Gumbel-max. We show that they can be trained to minimize counterfactual effect variance and other losses on a distribution of queries of interest, yielding lower variance estimates of counterfactual treatment effect than fixed alternatives, also generalizing to queries not seen at training time.
Guy Lorberbom, Daniel D. Johnson 0001, Chris J. Maddison, Daniel Tarlow, Tamir Hazan
NeurIPS4
2021 Learning to Combine Per-Example Solutions for Neural Program Synthesis
abstract
The goal of program synthesis from examples is to find a computer program that is consistent with a given set of input-output examples. Most learning-based approaches try to find a program that satisfies all examples at once. Our work, by contrast, considers an approach that breaks the problem into two stages: (a) find programs that satisfy only one example, and (b) leverage these per-example solutions to yield a program that satisfies all examples. We introduce the Cross Aggregator neural network module based on a multi-head attention mechanism that learns to combine the cues present in these per-example solutions to synthesize a global solution. Evaluation across programs of different lengths and under two different experimental settings reveal that when given the same time budget, our technique significantly improves the success rate over PCCoder [Zohar et. al 2018] and other ablation baselines.
Disha Shrivastava, Hugo Larochelle, Daniel Tarlow
NeurIPS3
2020 Learning Execution through Neural Code fusion
Kevin Swersky, Daniel Tarlow, Parthasarathy Ranganathan, Milad Hashemi
ICLR3
2020 Learning Graph Structure With A Finite-State Automaton Layer
abstract
Graph-based neural network models are producing strong results in a number of domains, in part because graphs provide flexibility to encode domain knowledge in the form of relational structure (edges) between nodes in the graph. In practice, edges are used both to represent intrinsic structure (e.g., abstract syntax trees of programs) and more abstract relations that aid reasoning for a downstream task (e.g., results of relevant program analyses). In this work, we study the problem of learning to derive abstract relations from the intrinsic graph structure. Motivated by their power in program analyses, we consider relations defined by paths on the base graph accepted by a finite-state automaton. We show how to learn these relations end-to-end by relaxing the problem into learning finite-state automata policies on a graph-based POMDP and then training these policies using implicit differentiation. The result is a differentiable Graph Finite-State Automaton (GFSA) layer that adds a new edge type (expressed as a weighted adjacency matrix) to a base graph. We demonstrate that this layer can find shortcuts in grid-world graphs and reproduce simple static analyses on Python programs. Additionally, we combine the GFSA layer with a larger graph-based model trained end-to-end on the variable misuse program understanding task, and find that using the GFSA layer leads to better performance than using hand-engineered semantic edges or other baseline methods for adding learned edge types.
Daniel D. Johnson 0001, Hugo Larochelle, Daniel Tarlow
NeurIPS3
2020 Learning to Execute Programs with Instruction Pointer Attention Graph Neural Networks
abstract
Graph neural networks (GNNs) have emerged as a powerful tool for learning software engineering tasks including code completion, bug finding, and program repair. They benefit from leveraging program structure like control flow graphs, but they are not well-suited to tasks like program execution that require far more sequential reasoning steps than number of GNN propagation steps. Recurrent neural networks (RNNs), on the other hand, are well-suited to long sequential chains of reasoning, but they do not naturally incorporate program structure and generally perform worse on the above tasks. Our aim is to achieve the best of both worlds, and we do so by introducing a novel GNN architecture, the Instruction Pointer Attention Graph Neural Networks (IPA-GNN), which achieves improved systematic generalization on the task of learning to execute programs using control flow graphs. The model arises by considering RNNs operating on program traces with branch decisions as latent variables. The IPA-GNN can be seen either as a continuous relaxation of the RNN model or as a GNN variant more tailored to execution. To test the models, we propose evaluating systematic generalization on learning to execute using control flow graphs, which tests sequential reasoning and use of program structure. More practically, we evaluate these models on the task of learning to execute partial programs, as might arise if using the model as a heuristic function in program synthesis. Results show that the IPA-GNN outperforms a variety of RNN and GNN baselines on both tasks.
David Bieber, Charles Sutton, Hugo Larochelle, Daniel Tarlow
NeurIPS4
2020 Direct Policy Gradients: Direct Optimization of Policies in Discrete Action Spaces
abstract
Direct optimization (McAllester et al., 2010; Song et al., 2016) is an appealing framework that replaces integration with optimization of a random objective for approximating gradients in models with discrete random variables (Lorberbom et al., 2018). A* sampling (Maddison et al., 2014) is a framework for optimizing such random objectives over large spaces. We show how to combine these techniques to yield a reinforcement learning algorithm that approximates a policy gradient by finding trajectories that optimize a random objective. We call the resulting algorithms \emph{direct policy gradient} (DirPG) algorithms. A main benefit of DirPG algorithms is that they allow the insertion of domain knowledge in the form of upper bounds on return-to-go at training time, like is used in heuristic search, while still directly computing a policy gradient. We further analyze their properties, showing there are cases where DirPG has an exponentially larger probability of sampling informative gradients compared to REINFORCE. We also show that there is a built-in variance reduction technique and that a parameter that was previously viewed as a numerical approximation can be interpreted as controlling risk sensitivity. Empirically, we evaluate the effect of key degrees of freedom and show that the algorithm performs well in illustrative domains compared to baselines.
Guy Lorberbom, Chris J. Maddison, Nicolas Heess, Tamir Hazan, Daniel Tarlow
NeurIPS5
2020 Gradient Estimation with Stochastic Softmax Tricks
abstract
The Gumbel-Max trick is the basis of many relaxed gradient estimators. These estimators are easy to implement and low variance, but the goal of scaling them comprehensively to large combinatorial distributions is still outstanding. Working within the perturbation model framework, we introduce stochastic softmax tricks, which generalize the Gumbel-Softmax trick to combinatorial spaces. Our framework is a unified perspective on existing relaxed estimators for perturbation models, and it contains many novel relaxations. We design structured relaxations for subset selection, spanning trees, arborescences, and others. When compared to less structured baselines, we find that stochastic softmax tricks can be used to train latent variable models that perform better and discover more latent structure.
Max B. Paulus, Dami Choi, Daniel Tarlow, Andreas Krause 0001, Chris J. Maddison
NeurIPS3
2017 DeepCoder: Learning to Write Programs
Matej Balog, Alexander L. Gaunt, Marc Brockschmidt, Sebastian Nowozin, Daniel Tarlow
ICLR (Poster)5
2017 Batch Policy Gradient Methods for Improving Neural Conversation Models
Kirthevasan Kandasamy, Yoram Bachrach, Ryota Tomioka, Daniel Tarlow, David Carter
ICLR (Poster)4
2017 Neural Program Lattices
Chengtao Li, Daniel Tarlow, Alexander L. Gaunt, Marc Brockschmidt, Nate Kushman
ICLR (Poster)2
2017 Differentiable Programs with Neural Libraries
abstract
We develop a framework for combining differentiable programming languages with neural networks. Using this framework we create end-to-end trainable systems that learn to write interpretable algorithms with perceptual components. We explore the benefits of inductive biases for strong generalization and modularity that come from the program-like structure of our models. In particular, modularity allows us to learn a library of (neural) functions which grows and improves as more tasks are solved. Empirically, we show that this leads to lifelong learning systems that transfer knowledge to new tasks more effectively than baselines.
Alexander L. Gaunt, Marc Brockschmidt, Nate Kushman, Daniel Tarlow
ICML4
2017 Learning Shape Analysis
Marc Brockschmidt, Yuxin Chen 0001, Pushmeet Kohli, Siddharth Krishna 0001, Daniel Tarlow
SAS5
2017 Empirical Minimum Bayes Risk Prediction
abstract
When building vision systems that predict structured objects such as image segmentations or human poses, a crucial concern is performance under task-specific evaluation measures (e.g., Jaccard Index or Average Precision). An ongoing research challenge is to optimize predictions so as to maximize performance on such complex measures. In this work, we present a simple meta-algorithm that is surprisingly effective - Empirical Min Bayes Risk. EMBR takes as input a pre-trained model that would normally be the final product and learns three additional parameters so as to optimize performance on the complex instance-level high-order task-specific measure. We demonstrate EMBR in several domains, taking existing state-of-the-art algorithms and improving performance up to 8 percent, simply by learning three extra parameters. Our code is publicly available and the results presented in this paper can be replicated from our code-release.
Vittal Premachandran, Daniel Tarlow, Alan L. Yuille, Dhruv Batra
IEEE Trans. Pattern Anal. Mach. Intell.2
2016 Fits Like a Glove: Rapid and Reliable Hand Shape Personalization
abstract
We present a fast, practical method for personalizing a hand shape basis to an individual user's detailed hand shape using only a small set of depth images. To achieve this, we minimize an energy based on a sum of render-and-compare cost functions called the golden energy. However, this energy is only piecewise continuous, due to pixels crossing occlusion boundaries, and is therefore not obviously amenable to efficient gradient-based optimization. A key insight is that the energy is the combination of a smooth low-frequency function with a high-frequency, low-amplitude, piecewisecontinuous function. A central finite difference approximation with a suitable step size can therefore jump over the discontinuities to obtain a good approximation to the energy's low-frequency behavior, allowing efficient gradient-based optimization. Experimental results quantitatively demonstrate for the first time that detailed personalized models improve the accuracy of hand tracking and achieve competitive results in both tracking and model registration.
David Joseph Tan, Thomas J. Cashman 0001, Jonathan Taylor 0001, Andrew W. Fitzgibbon, Daniel Tarlow, Sameh Khamis, Shahram Izadi, Jamie Shotton
CVPR5
2015 Consensus Message Passing for Layered Graphical Models
abstract
Generative models provide a powerful framework for probabilistic reasoning. However, in many domains their use has been hampered by the practical difficulties of inference. This is particularly the case in computer vision, where models of the imaging process tend to be large, loopy and layered. For this reason bottom-up conditional models have traditionally dominated in such domains. We find that widely-used, general-purpose message passing inference algorithms such as Expectation Propagation (EP) and Variational Message Passing (VMP) fail on the simplest of vision models. With these models in mind, we introduce a modification to message passing that learns to exploit their layered structure by passing ’consensus’ messages that guide inference towards good solutions. Experiments on a variety of problems show that the proposed technique leads to significantly more accurate inference results, not only when compared to standard EP and VMP, but also when compared to competitive bottom-up conditional models.
Varun Jampani, S. M. Ali Eslami, Daniel Tarlow, Pushmeet Kohli, John M. Winn
AISTATS3
2015 Probabilistic Programs as Spreadsheet Queries
Andrew D. Gordon 0001, Claudio V. Russo, Marcin Szymczak 0002, Johannes Borgström, Nicolas Rolland, Thore Graepel, Daniel Tarlow
ESOP7
2015 Optimizing Expected Intersection-Over-Union with Candidate-Constrained CRFs
abstract
We study the question of how to make loss-aware predictions in image segmentation settings where the evaluation function is the Intersection-over-Union (IoU) measure that is used widely in evaluating image segmentation systems. Currently, there are two dominant approaches: the first approximates the Expected-IoU (EIoU) score as Expected-Intersection-over-Expected-Union (EIoEU), and the second approach is to compute exact EIoU but only over a small set of high-quality candidate solutions. We begin by asking which approach we should favor for two typical image segmentation tasks. Studying this question leads to two new methods that draw ideas from both existing approaches. Our new methods use the EIoEU approximation paired with high quality candidate solutions. Experimentally we show that our new approaches lead to improved performance on both image segmentation tasks.
Faruk Ahmed, Daniel Tarlow, Dhruv Batra
ICCV2
2015 Bimodal Modelling of Source Code and Natural Language
abstract
We consider the problem of building probabilistic models that jointly model short natural language utterances and source code snippets. The aim is to bring together recent work on statistical modelling of source code and work on bimodal models of images and natural language. The resulting models are useful for a variety of tasks that involve natural language and source code. We demonstrate their performance on two retrieval tasks: retrieving source code snippets given a natural language query, and retrieving natural language descriptions given a source code query (i.e., source code captioning). The experiments show there to be promise in this direction, and that modelling the structure of source code is helpful towards the retrieval tasks.
Miltiadis Allamanis, Daniel Tarlow, Andrew D. Gordon 0001
ICML2
2015 Minimizing Expected Losses in Perturbation Models with Multidimensional Parametric Min-cuts
Adrian Kim, Kyomin Jung, Yongsub Lim, Daniel Tarlow, Pushmeet Kohli
UAI4
2014 Learning Structured Models with the AUC Loss and Its Generalizations
abstract
Many problems involve the prediction of multiple, possibly dependent labels. The structured output prediction framework builds predictors that take these dependencies into account and use them to improve accuracy. In many such tasks, performance is evaluated by the Area Under the ROC Curve (AUC). While a framework for optimizing the AUC loss for unstructured models exists, it does not naturally extend to structured models. In this work, we propose a representation and learning formulation for optimizing structured models over the AUC loss, show how our approach generalizes the unstructured case, and provide algorithms for solving the resulting inference and learning problems. We also explore several new variants of the AUC measure which naturally arise from our formulation. Finally, we empirically show the utility of our approach in several domains.
Nir Rosenfeld, Ofer Meshi, Daniel Tarlow, Amir Globerson
AISTATS3
2014 Empirical Minimum Bayes Risk Prediction: How to Extract an Extra Few % Performance from Vision Models with Just Three More Parameters
abstract
When building vision systems that predict structured objects such as image segmentations or human poses, a crucial concern is performance under task-specific evaluation measures (e.g. Jaccard Index or Average Precision). An ongoing research challenge is to optimize predictions so as to maximize performance on such complex measures. In this work, we present a simple meta-algorithm that is surprisingly effective -- Empirical Min Bayes Risk. EMBR takes as input a pre-trained model that would normally be the final product and learns three additional parameters so as to optimize performance on the complex high-order task-specific measure. We demonstrate EMBR in several domains, taking existing state-of-the-art algorithms and improving performance up to ~7%, simply with three extra parameters.
Vittal Premachandran, Daniel Tarlow, Dhruv Batra
CVPR2
2014 Structured Generative Models of Natural Source Code
abstract
We study the problem of building generative models of natural source code (NSC); that is, source code written and understood by humans. Our primary contribution is to describe a family of generative models for NSC that have two key properties: First, they incorporate both sequential and hierarchical structure. Second, they are capable of integrating closely with a compiler, which allows leveraging compiler logic and abstractions when building structure into the model. We also develop an extension that includes more complex structure, refining how the model generates identifier tokens based on what variables are currently in scope. Our models can be learned efficiently, and we show empirically that including appropriate structure greatly improves the probability of generating test programs.
Chris J. Maddison, Daniel Tarlow
ICML2
2014 Just-In-Time Learning for Fast and Flexible Inference
S. M. Ali Eslami, Daniel Tarlow, Pushmeet Kohli, John M. Winn
NIPS2
2014 A* Sampling
Chris J. Maddison, Daniel Tarlow, Tom Minka
NIPS2
2013 Exploring Compositional High Order Pattern Potentials for Structured Output Learning
abstract
When modeling structured outputs such as image segmentations, prediction can be improved by accurately modeling structure present in the labels. A key challenge is developing tractable models that are able to capture complex high level structure like shape. In this work, we study the learning of a general class of pattern-like high order potential, which we call Compositional High Order Pattern Potentials (CHOPPs). We show that CHOPPs include the linear deviation pattern potentials of Rother et al. [26] and also Restricted Boltzmann Machines (RBMs), we also establish the near equivalence of these two models. Experimentally, we show that performance is affected significantly by the degree of variability present in the datasets, and we define a quantitative variability measure to aid in studying this. We then improve CHOPPs performance in high variability datasets with two primary contributions: (a) developing a loss-sensitive joint learning procedure, so that internal pattern parameters can be learned in conjunction with other model potentials to minimize expected loss, and (b) learning an image-dependent mapping that encourages or inhibits patterns depending on image features. We also explore varying how multiple patterns are composed, and learning convolutional patterns. Quantitative results on challenging highly variable datasets show that the joint learning and image-dependent high order potentials can improve performance.
Yujia Li 0001, Daniel Tarlow, Richard S. Zemel
CVPR2
2013 Stochastic k-Neighborhood Selection for Supervised and Unsupervised Learning
abstract
Neighborhood Components Analysis (NCA) is a popular method for learning a distance metric to be used within a k-nearest neighbors (kNN) classifier. A key assumption built into the model is that each point stochastically selects a single neighbor, which makes the model well-justified only for kNN with k=1. However, kNN classifiers with k>1 are more robust and usually preferred in practice. Here we present kNCA, which generalizes NCA by learning distance metrics that are appropriate for kNN with arbitrary k. The main technical contribution is showing how to efficiently compute and optimize the expected accuracy of a kNN classifier. We apply similar ideas in an unsupervised setting to yield kSNE and ktSNE, generalizations of Stochastic Neighbor Embedding (SNE, tSNE) that operate on neighborhoods of size k, which provide an axis of control over embeddings that allow for more homogeneous and interpretable regions. Empirically, we show that kNCA often improves classification accuracy over state of the art methods, produces qualitative differences in the embeddings as k is varied, and is more robust with respect to label noise.
Daniel Tarlow, Kevin Swersky, Laurent Charlin, Ilya Sutskever, Richard S. Zemel
ICML (3)1
2013 Learning to Pass Expectation Propagation Messages
abstract
Expectation Propagation (EP) is a popular approximate posterior inference algorithm that often provides a fast and accurate alternative to sampling-based methods. However, while the EP framework in theory allows for complex non-Gaussian factors, there is still a significant practical barrier to using them within EP, because doing so requires the implementation of message update operators, which can be difficult and require hand-crafted approximations. In this work, we study the question of whether it is possible to automatically derive fast and accurate EP updates by learning a discriminative model e.g., a neural network or random forest) to map EP message inputs to EP message outputs. We address the practical concerns that arise in the process, and we provide empirical analysis on several challenging and diverse factors, indicating that there is a space of factors where this approach appears promising.
Nicolas Heess, Daniel Tarlow, John M. Winn
NIPS2
2013 Tighter Linear Program Relaxations for High Order Graphical Models
Elad Mezuman, Daniel Tarlow, Amir Globerson, Yair Weiss
UAI2
2012 Revisiting uncertainty in graph cut solutions
abstract
Graph cuts is a popular algorithm for finding the MAP assignment of many large-scale graphical models that are common in computer vision. While graph cuts is powerful, it does not provide information about the marginal probabilities associated with the solution it finds. To assess uncertainty, we are forced to fall back on less efficient and inexact inference algorithms such as loopy belief propagation, or use less principled surrogate representations of uncertainty such as the min-marginal approach of Kohli & Torr [8]. In this work, we give new justification for using min-marginals to compute the uncertainty in conditional random fields, framing the min-marginal outputs as exact marginals under a specially-chosen generative probabilistic model. We leverage this view to learn properly calibrated marginal probabilities as the result of straightforward maximization of the training likelihood, showing that the necessary subgradients can be computed efficiently using dynamic graph cut operations. We also show how this approach can be extended to compute multi-label marginal distributions, where again dynamic graph cuts enable efficient marginal inference and maximum likelihood learning. We demonstrate empirically that - after proper training - uncertainties based on min-marginals provide better-calibrated probabilities than baselines and that these distributions can be exploited in a decision-theoretic way for improved segmentation in low-level vision.
Daniel Tarlow, Ryan P. Adams
CVPR1
2012 Probabilistic n-Choose-k Models for Classification and Ranking
abstract
In categorical data there is often structure in the number of variables that take on each label. For example, the total number of objects in an image and the number of highly relevant documents per query in web search both tend to follow a structured distribution. In this paper, we study a probabilistic model that explicitly includes a prior distribution over such counts, along with a count-conditional likelihood that defines probabilities over all subsets of a given size. When labels are binary and the prior over counts is a Poisson-Binomial distribution, a standard logistic regression model is recovered, but for other count distributions, such priors induce global dependencies and combinatorics that appear to complicate learning and inference. However, we demonstrate that simple, efficient learning procedures can be derived for more general forms of this model. We illustrate the utility of the formulation by exploring applications to multi-object classification, learning to rank, and top-K classification.
Kevin Swersky, Daniel Tarlow, Ryan P. Adams, Richard S. Zemel, Brendan J. Frey
NIPS2
2012 Cardinality Restricted Boltzmann Machines
abstract
The Restricted Boltzmann Machine (RBM) is a popular density model that is also good for extracting features. A main source of tractability in RBM models is the model's assumption that given an input, hidden units activate independently from one another. Sparsity and competition in the hidden representation is believed to be beneficial, and while an RBM with competition among its hidden units would acquire some of the attractive properties of sparse coding, such constraints are not added due to the widespread belief that the resulting model would become intractable. In this work, we show how a dynamic programming algorithm developed in 1981 can be used to implement exact sparsity in the RBM's hidden units. We then expand on this and show how to pass derivatives through a layer of exact sparsity, which makes it possible to fine-tune a deep belief network (DBN) consisting of RBMs with sparse hidden layers. We show that sparsity in the RBM's hidden layer improves the performance of both the pre-trained representations and of the fine-tuned model.
Kevin Swersky, Daniel Tarlow, Ilya Sutskever, Ruslan Salakhutdinov, Richard S. Zemel, Ryan P. Adams
NIPS2
2012 Fast Exact Inference for Recursive Cardinality Models
Daniel Tarlow, Kevin Swersky, Richard S. Zemel, Ryan P. Adams, Brendan J. Frey
UAI1
2011 Dynamic Tree Block Coordinate Ascent
Daniel Tarlow, Dhruv Batra, Pushmeet Kohli, Vladimir Kolmogorov
ICML1
2011 Graph Cuts is a Max-Product Algorithm
Daniel Tarlow, Inmar E. Givoni, Richard S. Zemel, Brendan J. Frey
UAI1
2010 Learning Articulated Structure and Motion
David A. Ross, Daniel Tarlow, Richard S. Zemel
Int. J. Comput. Vis.2
2008 Unsupervised Learning of Skeletons from Motion
David A. Ross, Daniel Tarlow, Richard S. Zemel
ECCV (3)2
2008 Flexible Priors for Exemplar-based Clustering
Daniel Tarlow, Richard S. Zemel, Brendan J. Frey
UAI1
2006 Using Combinatorial Optimization within Max-Product Belief Propagation
abstract
In general, the problem of computing a maximum a posteriori (MAP) assignment in a Markov random field (MRF) is computationally intractable. However, in certain subclasses of MRF, an optimal or close-to-optimal assignment can be found very efficiently using combinatorial optimization algorithms: certain MRFs with mutual exclusion constraints can be solved using bipartite matching, and MRFs with regular potentials can be solved using minimum cut methods. However, these solutions do not apply to the many MRFs that contain such tractable components as sub-networks, but also other non-complying potentials. In this paper, we present a new method, called C O M P O S E, for exploiting combinatorial optimization for sub-networks within the context of a max-product belief propagation algorithm. C O M P O S E uses combinatorial optimization for computing exact maxmarginals for an entire sub-network; these can then be used for inference in the context of the network as a whole. We describe highly efficient methods for computing max-marginals for subnetworks corresponding both to bipartite matchings and to regular networks. We present results on both synthetic and real networks encoding correspondence problems between images, which involve both matching constraints and pairwise geometric constraints. We compare to a range of current methods, showing that the ability of C O M P O S E to transmit information globally across the network leads to improved convergence, decreased running time, and higher-scoring assignments.
John C. Duchi, Daniel Tarlow, Gal Elidan, Daphne Koller
NIPS2