Elamur Research

RobustFill: Neural Program Learning under Noisy I/O

Paper · 2017 · Jacob Devlin, Jonathan Uesato, Surya Bhupatiraju et al.

Summary

A spreadsheet user can show how to reformat a few rows more easily than they can write a rule for every row. The hard part is deciding what the examples mean. If the user extracts part of an address, different rules may agree on the rows they have filled in and disagree on the rest. A typo in an example can make the intended rule appear wrong even before it is tried on a new row. RobustFill studies both problems in programming by example for string transformations, the task behind Excel FlashFill. The authors compare two neural approaches and a hand-engineered synthesis system on tasks taken from real spreadsheets.

The first neural approach, program synthesis, writes a program in a language designed for string transformations. The system can execute candidate programs on the rows the user completed, reject candidates that disagree, and apply the chosen program to the remaining rows. The second approach, program induction, predicts the text for each new row directly. Both approaches use a recurrent attention architecture that processes each example as a related pair of strings and combines evidence across an unordered set of examples. The authors train the systems on synthetic data by sampling programs, generating inputs on which they can run, and executing the programs to produce the outputs.

FlashFillTest contains 205 tasks. In the standard evaluation, the system sees four completed rows and must get all six assessment outputs exactly right to solve a task. The strongest RobustFill synthesis configuration reaches 92% on clean examples, compared with 34% for the earlier R3NN neural synthesizer. Excel FlashFill also reaches 92% on clean examples. The authors note that it was developed on the same collection. In a separate comparison using closely related neural architectures, direct induction solves 53% of tasks, and synthesis with a wider, execution-checked search solves 81%. Induction gets some rows right on 33% of tasks, while each of the synthesis settings is partially right on less than 10%. Synthesis still leads when accuracy is averaged over individual assessment rows. The two measures describe different outcomes for someone filling a whole column or asking for suggestions one cell at a time.

To test robustness, the authors insert, delete, or replace characters in the completed examples, leaving the assessment rows clean. They train with simulated errors and let the synthesizer rank candidate programs by how closely their outputs match the observed strings. In the reported noisy comparison, neural synthesis reaches 80% and Excel FlashFill reaches 6%. The result shows how much the answer can depend on what the system does with a near match. A generated program can be checked against the examples, and approximate checking lets that program remain a candidate even when a user’s example contains a mistake.

Deep dive: RobustFill: Neural Program Learning under Noisy I/O

RobustFill learns spreadsheet text transformations from examples and tests how program synthesis and direct prediction handle typing errors. · about 38 minutes to read

The problem and its context

What a completed row tells the system

A spreadsheet column may contain all the information a user needs in a form they cannot conveniently use. An address field can include a postal code alongside the rest of the address. A timestamp can contain the desired information in the wrong order or with unwanted separators. FlashFill lets the user type the desired outputs for a few inputs and asks the system to infer the transformation. The interface turns a task in Code & programming languages into a task of supplying examples.

Each completed row gives the system a before and an after. The after string shows which characters survive, which move, and which may have been added. Those observations still leave room for different explanations. A substring might occur at the same position in every completed row and also have a recognizable pattern. A rule that extracts by position and a rule that looks for the pattern can both fit. If their predictions differ on another row, the completed examples alone offer no way to choose between them. The work on spreadsheet string processing cited by the authors gives examples of how a rule language can support this interface. Automating String Processing in Spreadsheets Using Input-Output Examples

The examples also serve a different purpose when they contain errors. In the paper’s anonymized name-formatting task, the intended output places the surname first. One completed output misspells the given name. An exact comparison counts the sensible name-reordering rule as inconsistent with that row. A system can in principle produce a rule that explains the misspelling as part of the task, or it can accept that the displayed example is an imperfect record of the intended operation. The way it makes that choice determines how a typo affects the other rows.

The paper describes classical program synthesis as deriving a program from a formal specification under a grammar. A formal specification tells the synthesizer what behavior to satisfy, but asking a spreadsheet user for one would undermine the point of the interface. Input–output examples provide an approximate specification in a form the user can produce. In the hand-engineered approaches discussed by the authors, the functions available in the language and their known behavior help determine which candidate programs are worth exploring. The grammar gives the search a set of possible programs, while specialized rules help narrow that set. Syntax-Guided Synthesis

For a language that builds an output by joining pieces, a hand-written search can use knowledge about individual operators to break the problem into smaller parts. It can ask which expressions could produce a particular part of a demonstrated output, and use pruning and ranking rules to avoid exploring many combinations. The authors describe this as an effective use of the language’s structure. It also ties the search closely to the functions for which someone has written the relevant logic. Exact matching is especially consequential here because it helps the system rule out possibilities efficiently. If a target fragment contains a mistake, the same test can rule out an otherwise appropriate explanation.

Two ways to learn the transformation

The paper uses neural program synthesis for approaches that produce an explicit program and neural program induction for approaches that predict the result using a learned internal representation. Both receive evidence about the requested operation. The distinction concerns what they return and what can be done with it. An explicit program can be run repeatedly and inspected through its behavior. A direct predictor uses a new input string as part of the request and produces the characters for that particular answer.

The closest synthesis predecessor in the paper is R3NN, which also learns string transformations from examples. Its recursive architecture generates programs, and it combines information from the observed examples at an earlier stage than RobustFill. Other related synthesis work separates learning and search differently. DeepCoder predicts which functions are likely to be useful and supplies that information to a search procedure. The paper also discusses Terpret and Neural Forth, where a programmer can supply a partial program that expresses procedural knowledge and learning can fill what remains. These comparisons locate RobustFill’s learning task: it decodes a program from examples in a fixed language supplied by the authors. Neuro-Symbolic Program Synthesis, Programming with a Differentiable Forth Interpreter

The induction work the authors review includes systems with external memory for tasks such as copying and sorting. A Neural Turing Machine uses attention to access a memory tape. Neural Random-Access Machines are discussed in connection with tasks that require operations on pointers and memory. The paper also describes work that learns from execution traces, where the training signal includes intermediate actions. These examples establish a tradition of learning algorithmic behavior through a neural controller. RobustFill addresses a different setup: a trained system encounters new spreadsheet tasks and is expected to infer each transformation from its examples, without a new round of training for each task. Neural Turing Machines, Neural Random-Access Machines

The authors identify a gap between the two lines of work. They wanted to compare synthesis and induction on the same real-world task, under a common definition of success. Spreadsheet filling makes this comparison possible because the requested product is the text in the remaining cells. An executable program is one means of obtaining it. Direct prediction is another. Evaluating both on the same withheld rows makes it possible to ask whether a reusable program helps, and whether the answer changes when credit is awarded for individual rows.

The method, step by step

Separate the demonstrations from the rows to fill

The task begins with a collection of completed input–output pairs, which the paper calls observed examples. It also includes assessment inputs. The system must supply their outputs, which are known to the evaluator. An instance is the whole task, including its completed examples and its assessment rows. The distinction matters at every stage: the system uses the observed outputs as evidence, and the evaluator uses the assessment outputs to test what the system inferred.

{(I₁, O₁), …, (Iₙ, Oₙ)} ; Iʸ₁, …, Iʸₘ ⟶ Oʸ₁, …, Oʸₘ

The braces enclose the observed set. An observed pair contains input Iⱼ and output Oⱼ, where j indexes an example and n is the number of observed pairs. The semicolon separates that set from the assessment inputs. Superscript ʸ marks assessment strings. Iʸⱼ is the input and Oʸⱼ its corresponding target, with m assessment rows in the task. The ellipses stand for the intervening examples. The arrow shows the request to generate the missing outputs.

The clean formulation assumes a common program can produce the demonstrated and assessment outputs. In synthesis, the system infers that program using just the observed examples. It first encounters the assessment inputs when the chosen program runs on them. In induction, the system receives a particular assessment input alongside the observed examples and predicts the output for that input. When there are several assessment rows, it makes a separate prediction for each, always conditioned on the same completed rows.

P(Iʸⱼ) = Oʸⱼ   ∀ (Iʸⱼ, Oʸⱼ)

P is an executable program and P(Iʸⱼ) is the string returned by running it on assessment input Iʸⱼ. The equality means exact string agreement with Oʸⱼ, the assessment output. The quantifier ∀ applies the requirement to every assessment pair in the instance, with j indexing those pairs. The same kind of equality on the observed pairs tests consistency. Checking it on assessment pairs tests generalization.

How RobustFill synthesizes a spreadsheet transformation

The steps in order.

How RobustFill synthesizes a spreadsheet transformationStep 1: Read the completed input and output strings1. Read the completed input and output stringsStep 2: Encode each example with shared recurrent layers2. Encode each example with shared recurrent layersStep 3: Pool decoder evidence across the examples3. Pool decoder evidence across the examplesStep 4: Generate candidate programs token by token4. Generate candidate programs token by tokenStep 5: Execute candidates on the completed rows5. Execute candidates on the completed rowsStep 6: Select a program using observed agreement6. Select a program using observed agreementStep 7: Run the selected program on new inputs7. Run the selected program on new inputs

Define the operations a program can use

The domain-specific language, or DSL, supplies the operations that synthesis can express. A program consumes a string and constructs the result by concatenation, which joins the pieces produced by its expressions in their specified order. One expression can take text from the input. Another can introduce a literal separator. An expression can also transform an extracted part, for instance by changing its case. Putting expressions in sequence allows a program to take text from different places in the input and arrange it differently in the output.

P: string ⇒ string

P denotes the program. The string to the left of ⇒ is its input type, and the string to the right is its result type. Both are character sequences. The arrow describes the direction of the transformation.

Concat(e₁, e₂, …) = e₁ | e₂ | …

Concat is the outer operation. Each e is a string expression, with the subscript identifying its position in the program. The ellipses stand for any additional expressions. The vertical bar is the paper’s shorthand for joining the strings returned by those expressions. The two sides describe the same program form.

Position-based extraction uses constant indices. The notation k₁ and k₂ denotes the selected boundaries, and a negative index refers to a position counted from the right. This gives a program a way to ask for a region whose position is known. When the relevant part moves around, the language can instead locate boundaries by matching regular expressions, or regexes. A regex describes a pattern to look for in the character sequence. An expression that refers to a match can follow the relevant pattern even when the preceding text changes in length.

GetSpan(r₁, i₁, y₁, r₂, i₂, y₂)

GetSpan extracts the text between two boundaries. r₁ is the regular expression used to find the first boundary, i₁ chooses an occurrence of that pattern, and y₁ chooses the start or end of that match. r₂, i₂, and y₂ make the corresponding choices for the other boundary. The argument list therefore specifies more than which patterns to look for. It also specifies which instances of the patterns matter and which edges of those instances define the requested span.

The DSL supports nested operations on text. A program can select an occurrence matching a pattern, convert letter case, or replace a delimiter, and it can apply such operations to text that has already been extracted. The paper treats the input to an extraction or nested transformation as implicit when writing the expression on its own. In the example ToCase(Lower, v), ToCase is the conversion function, Lower is the choice of lower-case, and v is the string being converted. Constant strings provide pieces independent of the input, such as text to insert between extracted fields.

These choices help explain the difficulty of searching the language. The authors estimate roughly 30 million distinct string expressions, and programs can join expressions into sequences of arbitrary length. A search that relies solely on running an expression after it has been built has little basis for rejecting a partly specified expression. The language can also have different expressions that happen to yield the same string for all the observed inputs. RobustFill learns which tokens and combinations to propose from examples. Execution can then check a tractable set of proposed programs, or completed portions of them, against the task.

Generate training tasks from the language

The real spreadsheet collection is reserved for evaluation because only a few hundred real tasks are available. For training, the authors reverse the direction of the user’s problem. They start with a program and create input–output pairs to illustrate it. After choosing a length of at most 10 expressions for the program, they draw each expression independently. They then work out simple conditions that suitable inputs must satisfy before generating them. If a program requests the 4th number, for instance, the generated input needs at least 4 numbers.

The input generator uses random ASCII characters subject to those requirements. Running the program supplies the exact target output. The appendix explains that the generator also discards degenerate cases, including empty outputs and outputs longer than 100 characters. The constraints matter because a random character string can easily lack the match an extraction operation expects. Generating inputs with the program’s requirements in mind produces examples on which the operation can actually be demonstrated.

For synthesis training, the sampled program is available as a target. The network sees its observed string pairs and learns to assign a high probability to that program’s token sequence. A training example has the particular program that generated it even if some other program could reproduce its demonstrations. For induction training, the target is the output string for an additional input. The program was needed to make the training data, but its tokens are unnecessary as supervision for the induction network. That distinction lets the authors compare training from the same synthetic source while changing the prediction each network has to make.

The paper emphasizes that randomly generated strings can still show what functions do. For instance, an operation that selects a piece by its pattern creates a systematic relation between its input and output even when the surrounding characters were sampled. A useful network needs to recognize the relation in real strings at evaluation time. The training setup tests whether synthetic demonstrations are sufficient for this purpose without suggesting that their strings reproduce the distribution of column contents in spreadsheets.

The architecture borrows from sequence-to-sequence learning, where recurrent layers turn one sequence into another. A recurrent layer processes a sequence through a state that changes as it reads successive tokens. The paper uses long short-term memory layers, or LSTMs, to process strings and generate programs. The string input and string output are available as separate character sequences. The system initially handles each completed pair on its own so it can represent which parts of an output correspond to which parts of that particular input. Sequence to Sequence Learning with Neural Networks

The basic sequence-to-sequence variant passes a final hidden state from one LSTM to the next. By the time the decoder writes the program, it receives the result of that compression. Attention lets a later layer consult several states from an earlier layer while it works. The states preserve information at different positions in the string. The later layer can vary which of them it emphasizes as it reads an output character or writes a program token. This is especially relevant to a task where the wanted text can come from different positions in different rows. Neural Machine Translation by Jointly Learning to Align and Translate

In Attention-A, the recurrent layer that reads the demonstrated output attends to the states for its input. The program decoder attends to the resulting output-side states. That creates a path by which the program decoder can use information about the input through the representation of the demonstrated output. Attention-B adds direct decoder access to the input states, using double attention to consult both sequences. Attention-C also reads each string in both directions. Consequently, the states available for a position can carry information from characters that follow it as well as characters that precede it.

The character vocabulary contains all 95 printable ASCII tokens. The program vocabulary contains 430 tokens, including function names, parameter values, and special symbols for joining expressions and ending the sequence. A numerical parameter is represented by a token with a learned embedding, as other program tokens are. The decoder writes the program in source-code order. The appendix notes that a nested operation such as GetToken(t, i), with token type t and occurrence index i, can use a single combined token. There are few enough combinations for the nesting functions to do this. Functions with larger parameter spaces keep their arguments separate to avoid expanding the vocabulary so greatly.

An explicit grammar and a sequential program decoder serve different purposes. The grammar determines which string transformations the language can express. The recurrent decoder proposes a linear sequence that represents a program in that language, even when some operations nest. The authors report that preliminary experiments with a hierarchical decoder did not offer enough benefit to justify its computational cost. That observation explains their architectural choice, while the named attention variants provide the comparisons reported on the benchmark.

Let the decoder consult both sides of a pair

The standard attention operation takes a current decoding context and computes a summary of the sequence states it can consult. The paper uses the general attention form it attributes to earlier work on translation. In the notation below, the index follows the recurrent layer’s current step. This applies when the output-side encoder is reading the demonstrated output, as well as when an attentional decoder is writing a new sequence. Effective Approaches to Attention-based Neural Machine Translation

sᵢ = Attention(hᵢ₋₁, xᵢ, S)

i is the current step. sᵢ is the context vector returned by Attention. hᵢ₋₁ is the recurrent state from the preceding step, xᵢ is the input at the current step, and S is the collection of vectors to attend to. Attention uses the decoding context to select information from that collection in a weighted form.

hᵢ = LSTM(hᵢ₋₁, xᵢ, sᵢ)

hᵢ is the updated recurrent state at step i. LSTM is the recurrent update, which takes hᵢ₋₁, the preceding state, xᵢ, the current input, and sᵢ, the context vector just obtained from attention.

Double attention produces contexts for two sequences. The decoder first computes a context over one collection of states, then uses that context as part of its request to the other collection. For the synthesis decoder that uses double attention, the output-side states supply the first context. The input-side states supply the second. An output-side clue can therefore affect which input positions the decoder consults at the same step. The paper connects this design to an attention mechanism for combining information from different sources. Attention-based Multimodal Neural Machine Translation

sᴬᵢ = Attention(hᵢ₋₁, xᵢ, Sᴬ)

sᴬᵢ is the first context at step i. Attention acts on Sᴬ, the first collection of states, using hᵢ₋₁, the preceding recurrent state, and xᵢ, the current input. For synthesis, Sᴬ contains the states from the observed output string.

sᴮᵢ = Attention(hᵢ₋₁, xᵢ, sᴬᵢ, Sᴮ)

sᴮᵢ is the second context at step i. Sᴮ is the second collection of states, from the observed input string in synthesis. Attention now uses sᴬᵢ, the first context, along with hᵢ₋₁, the preceding state, and xᵢ, the current input. The implementation joins the first context to the preceding state when computing attention over Sᴮ.

hᵢ = LSTM(hᵢ₋₁, xᵢ, sᴬᵢ, sᴮᵢ)

hᵢ is the new recurrent state at step i. The LSTM update receives hᵢ₋₁ and xᵢ, the previous state and current input, together with sᴬᵢ and sᴮᵢ, the two attention contexts. The decoder joins the context vectors before using them in the recurrent update.

The order of attention gives the two mechanisms distinct roles. In Attention-A the decoder consults an output representation already informed by the input. In Attention-B and Attention-C it still consults that output representation, and it can also look back at the input states itself. The decoder is predicting a program token at this point, so these two contexts can bring together the text the user demonstrated and the material available to an operation on the input. The network learns to use this access from the program targets. The architecture does not assign individual functions to particular attention patterns.

Combine evidence late in decoding

A task supplies a set of completed pairs, so the representation has to work with different numbers of examples and without giving special meaning to their order. RobustFill applies the same input encoder, output encoder, and program decoder parameters to every pair. Each pair gets its own sequence of states. At a given program step, the system combines the decoder states for all pairs and uses the combined result to predict a shared next token. The authors call this late pooling because the examples stay separate through attention and into decoding.

In maximum pooling, each coordinate in the combined vector is the largest value found for that coordinate among the transformed states. Different coordinates can come from different examples. The operation has the same output dimensions for a larger or smaller nonempty set. Reordering the examples cannot change a coordinate’s maximum. This gives the design a direct way to accommodate variable-sized sets while preserving attention to the individual strings within each example.

mᵢ = MaxPoolⱼ(tanh(W hⱼᵢ))

mᵢ is the pooled vector at decoding step i. hⱼᵢ is the decoder output for observed example j at that step, and j ranges over the n observed examples. Each state has d coordinates. W is a learned square matrix of width d, applied to each state. tanh is the elementwise nonlinear transformation that follows it. MaxPoolⱼ takes a maximum over the example index for each coordinate of the transformed vector.

yᵢ = Softmax(V mᵢ)

yᵢ is the distribution over the program vocabulary at step i. mᵢ is the pooled state. In this column-vector expression, V is the learned projection from the pooled coordinates to vocabulary scores, with one row per vocabulary token and one column per pooled coordinate. The paper lists the dimensions in the opposite order, corresponding to the transposed storage convention. Softmax converts the vocabulary scores into probabilities. The size of yᵢ is v, the number of program tokens.

Pooling the decoder states preserves the distinction between the rows while the network reads them. For example, an input character from one row can help explain that row’s output without being treated as an input character for a different row. At the final prediction step, the state combined across rows can draw on different evidence from each. Pooling is part of generating proposals. The later execution test is where the synthesizer checks a candidate program against the complete observed pairs.

The goal is to use the individual token probabilities to maximize the reference program sequence’s log-likelihood. Training uses recurrent and fully connected layers of size 512 and embeddings of size 128. The authors use stochastic gradient descent, which updates the learned weights using a batch of training cases, and gradient clipping to limit the size of the gradients used for those updates. Their reported training run uses 2 million minibatch updates, each with 128 instances containing four observed pairs per program. According to their report, resampling the batches led them to see 256 million random programs and 1024 million randomly selected input–output examples. Training takes roughly 24 hours on 2 Titan X GPUs with an in-house toolkit. They tune a small number of settings against synthetic validation data generated like the training data.

Search, execute, and choose a program

At test time, beam search keeps several high-scoring partial sequences as the decoder extends them. Its width, k, determines how many candidates the search can retain. The synthesizer uses the resulting candidate programs as proposals. It runs each candidate on the observed inputs, using deterministic execution, and compares the returned strings with the observed outputs. The selected program, denoted P*, is the highest-scoring candidate among those consistent with all the observed examples in the clean setup.

The neural score and the execution check address different questions. The score reflects a learned assessment of which program is plausible given the examples. The check asks what the program actually returns. A lower-scoring program can win if the more probable alternatives fail execution-based comparison. If several pass, the scores still matter because the observed outputs give them the same verdict. There can also be no passing program in the beam even when the language contains an appropriate one. The list comes from a limited search.

The DP-Beam variant checks some proposals before they are complete. Whenever the decoder finishes a string expression, it can execute the portion of the program built so far. The result should be a prefix, or beginning segment, of the demonstrated output for each observed row. A later expression can append more text. It cannot change a prefix that has already been constructed. A partial candidate with the wrong prefix can therefore be discarded early in the clean setting. This uses the concatenative structure of complete expressions and their execution behavior. It avoids having to design a separate inverse procedure for each kind of expression.

To handle typos, the authors supply corruption during training. They also change the selection rule at test time by using character edit rate to judge agreement with the observed examples. Insertions, deletions, and substitutions can leave a predicted string close to the observed string even when exact comparison fails. A candidate that produces the intended transformation can therefore remain competitive despite an erroneous demonstration. The noisy synthesis experiments use standard beam search. Exact prefix pruning would discard some candidates precisely because of the mismatches the relaxed comparison is meant to tolerate.

Predict a new string directly

The induction architecture starts from Attention-A with late pooling and adds an LSTM for the assessment input. Its decoder writes output characters instead of program tokens. It uses double attention over the observed output states for each example and the states of the assessment input. The observed outputs are already encoded with information from their respective inputs. Pooling combines evidence across the completed examples as the decoder predicts the next character for the requested row.

The same collection of completed examples conditions every prediction in an instance. A new assessment input starts a new decoding process. The output is the highest-scoring candidate string for that input. In synthesis, each candidate is a function that can also be run on the completed examples. In induction, a candidate string answers a request about a particular input. Executing it on a completed example makes no sense, so the paper’s induction decoder has no corresponding consistency check to choose among its proposed answers.

This difference also explains why the authors view a large collection of real examples as a possible alternative training source for induction. If such a collection were available, the demonstrated pairs could condition the network and other input–output pairs could supply the targets. No program labels would be needed. In the experiments, the common synthetic generator supplies those training pairs. The distinction concerns what the two systems learn to output, even though a program underlies the generation of both training sets.

Experiments and results

The test collection and what counts as success

FlashFillTest comprises 205 instances from Microsoft Excel spreadsheets, supplied to the authors by the researchers behind FlashFill and R3NN. Each instance has ten input–output pairs. In the standard split, the first four pairs are observed and the remaining six are assessment examples. In experiments with fewer than four observed pairs, the assessment set stays the same. The unused observed pairs do not enter the assessment score. Keeping the same target rows makes the comparison about how the amount of demonstrated evidence changes performance. Evaluation & benchmarks

The headline metric is instance-level generalization accuracy, also called all-example accuracy. An instance contributes a success only if every one of its six assessment strings is exactly right. For clean synthesis, the reported generalization measure also requires that a consistent program was found. A program can meet the observed requirement and still fail the assessment test. The evaluator cares about the program’s outputs, so a candidate can succeed even if its expression sequence differs from another program that would have solved the same spreadsheet task.

The paper separately measures consistency, the rate at which the search yields a program that agrees with all the observed examples. That measure is useful for diagnosing where a synthesis failure occurs. An inconsistent candidate has failed to account for the available demonstrations. A consistent candidate whose assessment outputs are wrong has accounted for those demonstrations and made a poor choice about what extends beyond them. Induction has no equivalent program consistency statistic. Its predictions can still be scored on exactly the same assessment outputs.

Average-example accuracy changes how correct assessment strings are counted. The system earns credit for each fully correct row, and those outcomes are averaged over instances. Exact string comparison still applies to every row. A nearly correct output remains a wrong output under this metric. Character edit rate, by comparison, is used to select synthesis candidates in the presence of noisy demonstrations. The paper uses these two forms of comparison for different purposes.

Clean synthesis against earlier systems

The strongest reported synthesis result on clean FlashFillTest comes from Attention-C with DP-Beam at beam width 1000. This is the combination with bidirectional input and output encoders, double attention from the program decoder, late pooling, and early prefix checks in search. Its accuracy reaches 92%. R3NN, the earlier neural synthesis comparison, reaches 34%. The deployed Excel FlashFill system also reaches 92% on the clean collection, and the authors say it was developed on that same set.

Clean FlashFillTest all-example accuracy by synthesis system

RobustFill matches Excel FlashFill and exceeds the earlier neural synthesizer.

Clean FlashFillTest all-example accuracy by synthesis systemR3NN: 34R3NN34Excel FlashFill: 92Excel FlashFill92RobustFill Attention-C-DP, beam 1000 (this paper): 92RobustFill Attention-C-DP, beam 1000(this paper)92
The numbers
System or settingaccuracy %
R3NN34
Excel FlashFill92
RobustFill Attention-C-DP, beam 1000 (this paper)92

The comparison with R3NN concerns whole systems. The authors changed the neural architecture and expanded the language of candidate programs. Attention gives RobustFill access to the relationships within each example before the task’s evidence is pooled. The expanded language makes it possible to express some transformations more naturally or to express transformations unavailable in the previous language. The measured result belongs to that combination. The paper’s internal comparisons provide narrower evidence about how particular architecture and search choices contributed.

The paper also reports an operating point at beam width 100 for Attention-C with DP-Beam and four observed examples. On clean FlashFillTest this reaches 89% generalization accuracy. The amortized end-to-end decoding cost is roughly 0.3 seconds per instance on a Titan X GPU. The authors describe their decoder as unoptimized for speed. The timing accompanies that specific configuration and hardware. It gives a sense of the cost of the reported search without turning the wider-beam headline into a latency claim.

Direct induction against closely matched synthesis

To compare the two neural approaches, the authors use Attention-A with standard beam search on the synthesis side. This puts the comparison closer to induction’s architecture than the strongest Attention-C-DP configuration would. Both draw on the same synthetic training data, with recurrent layers, attention, and pooling organized similarly. Synthesis learns the program tokens. Induction adds the assessment-input encoder and learns to generate a string. With four observed examples and the six assessment rows of FlashFillTest, the reported all-example accuracies are 53% for induction and 81% for synthesis at beam width 100.

FlashFillTest all-example accuracy for direct induction and Attention-A synthesis

Execution-checked synthesis solves more complete tasks in the closely matched comparison.

FlashFillTest all-example accuracy for direct induction and Attention-A synthesisDirect induction, beam 3: 53Direct induction, beam 353Attention-A synthesis, beam 100 (this paper): 81Attention-A synthesis, beam 100 (thispaper)81
The numbers
System or settingaccuracy %
Direct induction, beam 353
Attention-A synthesis, beam 100 (this paper)81

Induction uses beam width 3 in the comparison. The authors report similar all-example performance for induction and synthesis when synthesis uses beam width 1. Synthesis improves when it can search a wider list and use the demonstrated rows to check each candidate. The induction system already chooses by decoder score, and the authors found that enlarging its beam did not improve the result. The gap at the wider synthesis setting therefore reflects the way an executable candidate can be used after generation as well as differences in what the networks produce.

The row-level analysis shows how their errors are distributed. On FlashFillTest with four observed examples, 33% of instances are partially correct for induction. Each synthesis condition is partially correct on less than 10% of instances. In this analysis a partially correct task contains both a success and a failure among its assessment rows. These percentages describe how frequently accuracy falls between solving the whole task and solving none of it. They are separate from the average proportion of correct rows.

On average-example accuracy, induction fares better relative to synthesis than it does on the all-example measure. The paper nonetheless reports that synthesis leads by 10% in absolute average-example performance in this comparison. For a column-filling interaction, the all-example measure describes how often the system completes the entire target set correctly. For a per-cell suggestion, the average-example measure gives credit to a useful answer even if other cells in the same instance would be filled incorrectly. The two measures give different views of the same predictions without reversing the reported accuracy ranking.

Robustness when the demonstrations contain typos

The robustness experiment starts with the same real spreadsheet tasks and adds simulated typos to the observed examples. The authors introduce character insertions, deletions, or substitutions with uniform random probability into the observed inputs or outputs. The assessment pairs stay clean. If a user’s demonstrations are imperfect, the system is still asked to produce the intended clean transformation on the assessment inputs. Corrupting the assessment strings would change that question and undermine the exact-output test.

The authors run the Excel FlashFill baseline through a macro in Microsoft Excel 2016. The noise curves use four observed pairs. All synthesis configurations in those curves use beam width 100, and RobustFill synthesis uses standard beam search under noise. This makes the noisy comparison distinct from the clean 92% headline for RobustFill, which uses Attention-C-DP and a wider beam. The paper’s stated noisy comparison is 80% accuracy for neural synthesis and 6% for Excel FlashFill. The authors do not assign those two headline values to a particular edit count in their textual report.

All-example accuracy in the reported noisy FlashFillTest comparison

Neural synthesis retains substantially more accuracy when the observed examples are corrupted.

All-example accuracy in the reported noisy FlashFillTest comparisonExcel FlashFill: 6Excel FlashFill6RobustFill neural synthesis (this paper): 80RobustFill neural synthesis (this paper)80
The numbers
System or settingaccuracy %
Excel FlashFill6
RobustFill neural synthesis (this paper)80

The paper describes similar degradation across its neural systems, at roughly 2% absolute accuracy for each introduced noise character on FlashFillTest. Excel FlashFill starts from its clean result of 92%, and its performance falls sharply once the demonstrations contain even a small number of altered characters. This behavior fits the paper’s explanation of the hand-engineered search. Exact string matching is useful for eliminating candidates quickly on clean rows. A change to a character on which that elimination depends can remove a candidate whose behavior otherwise fits the task.

The authors report that including synthetic noise in training did not degrade results on the clean test set. In the noisy synthesis comparison, this training change is paired with selection by edit rate and the use of standard beam search. The benchmark thus evaluates a system adapted to noisy examples at both training and decoding time. Its success is measured on clean targets, using the same requirement to fill the held-out rows exactly.

What the ablations show

Attention helps more than any individual architectural refinement

The synthesis architecture comparison starts with the basic sequence-to-sequence system and moves through the three attention variants. Across the beam settings reported on FlashFillTest, the attention-equipped variants have approximately 25% absolute improvement in generalization accuracy over the basic architecture. The paper describes smaller gains as the attention variants become more elaborate. It reports roughly 2-5% absolute accuracy gains from Attention-B and Attention-C each, with the improvements still apparent at a large beam. The comparisons use the same string transformation task and the same exact assessment criterion.

This ordering helps distinguish the value of giving the network access to intermediate states from the value of making that access more elaborate. Attention-A already allows the output representation to consult the input and the decoder to consult the output representation. Attention-B adds a direct path from the program decoder to the input. Attention-C changes the string encoders so that both directions of context are available. The comparison supports a substantial gain from attention in this architecture and smaller gains from the successive refinements. It does not measure each possible attention connection independently.

The authors also report that reversing the order of the input and output in an Attention-A variant performs significantly worse, without giving a numerical result for that comparison. In the architecture they keep, the observed output attends to the input. That direction lets the output encoder represent how the demonstrated result relates to the material it was derived from. The performance observation shows that exchanging the roles of the strings changes the outcome. It does not identify which examples account for the reduction.

Late pooling is closely related to these attention comparisons. Keeping each observed pair available through decoding gives the decoder access to states associated with individual strings. The authors contrast this with R3NN’s pooling of final encoder representations. They attribute part of the gap to the ability to use richer attention after retaining that information. They also report that placing another fully connected or recurrent layer after pooling offered no benefit in their trials. The paper gives the attention variants more detailed benchmark coverage than these additional architectural choices.

Search can discard errors that the network still proposes

Adding DP-Beam gives approximately 5% improvement in the reported synthesis accuracy comparison on FlashFillTest. The change concerns when the evidence is applied. Standard beam search scores partial programs as they are generated and can check whole candidates later. DP-Beam can remove a partial candidate whose completed expressions already disagree with the beginning of a demonstrated output. This saves beam space for other candidates. The comparison shows practical value in combining learned proposal scores with an execution-based constraint during search.

A related analysis uses Attention-C to vary the number of observed pairs and compare beam settings. The authors find that generalization accuracy increases as the system receives more completed rows. This change is especially pronounced at beam width 100. At the same time, consistency stays relatively constant as the number of observed examples increases. The two quantities can move differently because an additional demonstration affects both how the decoder proposes programs and how strictly those programs are checked.

From the checking side, each additional row introduces a condition a program must satisfy. A candidate that passed on the earlier rows can fail on the new one. From the generation side, the additional pair can help expose the intended operation and improve the proposals. The observed stability in consistency reflects the combined outcome of these two effects in this experiment. The rise in generalization means the extra demonstrations help the system solve assessment rows even though its rate of finding a program that fits the observed rows changes relatively little.

At beam width 1, the Attention-C decoder finds a consistent output approximately 50% of the time in the reported analysis. This is a more direct diagnostic of the top prediction than the best synthesis accuracy achieved with wider search and pruning. It shows that the highest-scoring program frequently fails on the same examples used to generate it. Some of RobustFill’s eventual success comes from finding and verifying acceptable alternatives among candidates the decoder ranks lower. The result also explains why similar performance for one-candidate synthesis and direct induction can coexist with a wide gap once synthesis can exploit execution checks.

There is still a selection problem after the checks. More than one program can reproduce the observed strings. The authors tried alternatives to choosing the candidate with the highest neural score, including favoring the shortest program. They report that these heuristics did not perform better. The observation pertains to the tested alternatives and search setting. The highest-ranked consistent program still sometimes follows the wrong rule on an assessment row, as the appendix examples show.

The language and the score change what a comparison establishes

The paper singles out GetSpan as an important difference from the earlier neural synthesizer. The authors say the operator was required for approximately 20% of the FlashFillTest instances and that adding it enlarged the DSL search space by 10x. The stated requirement concerns what can be expressed in the language. The larger search space concerns how many possibilities the procedure faces. Adding a useful operation can help represent an intended transformation and create more plausible alternatives the learner must distinguish.

The operator analysis qualifies the R3NN comparison. The full performance gap includes differences in expressiveness and search as well as in attention and pooling. The paper supplies no matched comparison in which both complete systems use the same expanded language and only the neural architecture changes. Its architecture comparisons inside RobustFill give the more direct evidence that attention and its refinements help when the program representation is held within the same system.

Changing the metric gives another controlled look at the results. The all-example and average-example evaluations count the same exact assessment strings, so the change in induction’s relative standing comes from the way successes are aggregated. Induction’s separate predictions can succeed on certain inputs even when other rows defeat it. Synthesis applies a single program across all rows, and its mistakes can recur wherever that program makes the same bad assumption. The row-level analysis measures the resulting pattern of partial successes. It also shows why the synthesis lead on complete tasks alone would give an incomplete picture of how direct prediction behaves.

The noise study changes several things at once. The systems are exposed to simulated typos during training, the synthesizer uses edit-based selection, and exact prefix pruning is left out of the noisy configuration. The paper reports strong accuracy for the combined setup and no degradation on clean data from adding training noise. It gives no separate numerical estimate of how much noisy training and edit-based selection each contribute under the same decoding procedure. The evidence supports the adapted pipeline under the paper’s corruption process.

Limitations

Limits identified by the authors

The authors explicitly distinguish an observed fit from successful generalization. A program can satisfy all the examples supplied by the user and still be the wrong explanation of the desired operation. The international telephone case in the appendix shows why. The observed rows admit several ways to select the country code, including extracting a fixed set of digits or taking a whole matching number. The predicted program takes the first two digits. This succeeds on the examples it was shown and fails on assessment rows whose country codes require a different treatment. More search can uncover other plausible programs, but on such an instance the demonstrations leave them in competition.

Another appendix example concerns irregular spacing in an address. The selected program agrees with the observed examples, then fails on a row in which the second space is missing. This case is about variation in the input to be processed. The simulated typo experiment asks whether corrupted demonstrations can still support the intended program on clean assessment data. A system can do well in that experiment and still rely on a formatting regularity that fails in a new row. The case study gives a concrete example of this remaining weakness.

The appendix also describes an instance for which none of the 100 highest-scoring programs agreed with all observed outputs. The reported example shows the closest candidate under character edit distance. It illustrates a different failure from the telephone and address cases. There the search did find a program that fit and the chosen program failed later. Here execution provides evidence that the candidates generated by the search already fall short on the demonstrated rows. The paper’s metrics help keep these two situations distinguishable.

The authors flag the limitation of synthetic validation accuracy as a measure of capability. Changing the data generator can make the synthetic task easier or harder. They report that the ordering of their systems on synthetic validation generally agrees with the ordering on FlashFillTest, and use the spreadsheet collection as the substantive test of transfer. The induced behavior is evaluated within the kinds of transformations present there. Agreement on artificial tasks is a useful diagnostic during development, with its interpretation tied to how those tasks were sampled.

The induction decoder makes separate predictions for assessment rows. Its beam lacks an execution-based way to verify a proposed output, and the evaluated implementation did not improve with a larger beam. The authors also note that synthesis could potentially use assessment inputs while generating programs. Their synthesizer does not do so. Consequently, the comparison concerns direct prediction with access to each assessment input and an example-conditioned program generator whose program receives those inputs only at execution.

Limits of what the setup establishes

The spreadsheet tasks exercise a particular family of text transformations. The synthesis language includes extraction, modification, and concatenation and is explicitly designed for that family. The 92% result demonstrates how well one configuration performs on FlashFillTest. It does not establish a comparable success rate for program synthesis in a general-purpose language or for tasks whose required behavior lies outside the DSL. The expressive reach of the language and the ability of the network to find a suitable program within it are separate conditions for success.

Training likewise covers a particular distribution of programs. The generator samples individual expressions, caps the number in a training program at 10, and restricts outputs. The DSL can express longer compositions. The reported experiments give no length-stratified account of how reliable synthesis would be once required programs extend beyond the training generator’s limit. They also give no separate assessment of text outside the 95 printable ASCII tokens in the character vocabulary. The benchmark supports conclusions about the exercised domain without measuring those extensions.

The induction result needs an analogous qualification. The induction network could in principle learn from real input–output data without program labels. In the paper, every training target still originates in a program sampled from the shared DSL. This setup makes the synthesis and induction training sources comparable. It leaves open how direct prediction would behave with a large real corpus that exposed it to transformations the generator cannot express. It also leaves open how much shared decoding across assessment rows might change the pattern of partial success.

The noise results test a particular form of damage to demonstrations. Uniform random character editing captures some typing mistakes and yields a controlled way to vary how much corruption the observed rows contain. It does not represent every way a user can give misleading evidence. Someone might take a field from the wrong row, omit a whole segment, or apply a different convention consistently across the examples they supply. Those possibilities follow from the interface, but their effects were not measured. The paper’s approximate degradation rate applies to the reported edit procedure and evaluation.

The Excel comparison also has a specific provenance. The authors say Excel FlashFill was developed on the exact collection they use. The matching clean scores are informative about behavior on that collection, and the noise curves characterize the deployed implementation tested through Excel. The comparison does not isolate a universal property of hand-engineered synthesis. A different rule-based system could be designed to handle approximate matches. The demonstrated contrast concerns a baseline whose search depends on exact string agreement and a learned system adapted to the simulated errors.

Finally, the assessment gives a finite set of reference outputs, which is exactly what makes direct comparison possible. Agreement there cannot prove that the discovered program implements the user’s intention for every future row. Nor does an error on one assessment string describe the seriousness of the mistake in use. All-example accuracy deliberately counts a task with one wrong assessment output as unsolved, while average-example accuracy gives credit for exact rows individually. The paper motivates both measures through different interfaces. It does not measure how users respond to suggestions, correct a proposed rule, or decide when to trust a filled column.

What came after

The later citing papers identify several settings in which questions raised by RobustFill remain relevant. Their titles and citation relationship establish the subjects of the later work. They provide no basis for attributing reuse of late pooling, the spreadsheet DSL, or the typo procedure. The connections below concern the problems each work addresses and how those problems relate to the distinction between supplying examples, producing an executable program, and evaluating its behavior.

From demonstrated behavior to other forms of specification

PBEBench presents a benchmark for multi-step programming by examples inspired by historical linguistics. Its stated focus puts the amount of evidence needed to infer a transformation in a different setting. RobustFill’s test asks whether example rows reveal a rule that generalizes to other spreadsheet strings. A benchmark explicitly focused on multi-step reasoning puts attention on the relations between successive operations. The common concern is how much of a behavior can be inferred from its demonstrations. PBEBench: A Multi-Step Programming by Examples Reasoning Benchmark inspired by Historical Linguistics

Case2Code addresses scalable synthetic data for code generation. RobustFill’s synthetic data procedure makes a known program the starting point and obtains its example behavior by execution. The later work’s stated focus connects this problem of constructing training evidence to code generation more broadly. RobustFill also gives a reason to keep data construction and evaluation distinct. Executable programs make it possible to generate many valid pairs, while an external task collection tests whether the resulting system serves the intended application. Case2Code: Scalable Synthetic Data for Code Generation

SPoC addresses search-based translation from pseudocode to code. Here the stated form of a specification is pseudocode, which supplies a description of a procedure. RobustFill’s observed rows supply examples of behavior from which a procedure must be inferred. Setting these problems alongside each other clarifies what the search has to recover. In both, the intended deliverable is code, while the evidence available to guide its construction takes a different form. SPoC: Search-based Pseudocode to Code

SpreadsheetCoder returns to the spreadsheet setting through formula prediction from semi-structured context. RobustFill concerns a string transformation shown through completed rows. The later work’s title identifies formulas as the prediction target and spreadsheet context as the evidence. Both settings make the source of that evidence part of the task design. A collection of demonstrated pairs is one way to express a request, while the surrounding organization of a sheet poses a different prediction problem. SpreadsheetCoder: Formula Prediction from Semi-structured Context

Execution and checking after generation

Write, Execute, Assess studies program synthesis with a REPL, a read–evaluate–print loop. Its stated sequence of writing, executing, and assessing connects directly to the roles RobustFill gives generation and checking. In RobustFill, execution can reject a complete candidate or prune one whose completed expressions already produce the wrong prefix. The later work frames program synthesis around an interactive execution setting. The point of contact is the use of program behavior as evidence while a system is searching for a solution. Write, Execute, Assess: Program Synthesis with a REPL

Teaching Large Language Models to Self-Debug centers the problem of debugging generated code. RobustFill’s decoder can propose a high-scoring program whose execution contradicts the demonstrations. Its selection procedure then checks other candidates. Self-debugging brings a related question into focus: what a system does after it has reason to question its proposed code. The citation connects two ways of treating an initial program as a candidate whose behavior can still be assessed. Teaching Large Language Models to Self-Debug

CETBench studies brittleness under simple code transformations and introduces a benchmark for code-equivalence checking. RobustFill evaluates the behavior of different programs through their outputs on concrete strings. Two programs can agree on the demonstrated rows and disagree later. Code-equivalence checking brings the question of agreement to the foreground. The shared issue is the strength of the evidence for treating programs as behaviorally interchangeable, particularly when a limited collection of examples offers only a partial test. CETBench: A Benchmark for Code-Equivalence Checking

RobustFill’s experiments make the choices behind these related tasks concrete. Examples can train a generator, constrain a search, or measure generalization, depending on when the system receives them and which outputs are available. Executable predictions make behavioral checking possible. The spreadsheet results show how much that check can help and where its evidence ends: the user’s rows constrain the intended operation, and the unexplained variation appears when the system tries to fill a new row.

Cite

Cite as Jacob Devlin, Jonathan Uesato, Surya Bhupatiraju, Rishabh Singh, Abdel-rahman Mohamed and Pushmeet Kohli. 2017. RobustFill: Neural Program Learning under Noisy I/O. arXiv:1703.07469.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1703.07469 · arXiv 1703.07469

@misc{devlin2017robustfill,
  title = {{RobustFill: Neural Program Learning under Noisy I/O}},
  author = {Jacob Devlin, Jonathan Uesato, Surya Bhupatiraju, Rishabh Singh, Abdel-rahman Mohamed and Pushmeet Kohli},
  year = {2017},
  doi = {10.48550/arxiv.1703.07469},
  eprint = {1703.07469},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1703.07469}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/devlin-2017-robustfill-neural-program-learning-under/

References

28 references, from the paper's own bibliography.

  1. Alur, Rajeev, Bodik, Rastislav, Juniwal, Garvit, Martin, Milo MK, Raghothaman, Mukund, Seshia, Sanjit A, Singh, Rishabh, Solar-Lezama, Armando, Torlak, Emina, and Udupa, Abhishek. Syntax-guided synthesis. IEEE, 2013. OpenAlex ↗ · Scholar ↗
  2. Bahdanau, Dzmitry, Cho, Kyunghyun, and Bengio, Yoshua. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014. our card
  3. Balog, Matej, Gaunt, Alexander L., Brockschmidt, Marc, Nowozin, Sebastian, and Tarlow, Daniel. Deepcoder: Learning to write programs. arXiv preprint arXiv:1611.01989, 2016. OpenAlex ↗ · Scholar ↗
  4. Gaunt, Alexander L., Brockschmidt, Marc, Singh, Rishabh, Kushman, Nate, Kohli, Pushmeet, Taylor, Jonathan, and Tarlow, Daniel. Terpret: A probabilistic programming language for program induction. CoRR, abs/1608.04428, 2016. OpenAlex ↗ · Scholar ↗
  5. Graves, Alex, Wayne, Greg, and Danihelka, Ivo. Neural turing machines. arXiv preprint arXiv:1410.5401, 2014. OpenAlex ↗ · Scholar ↗
  6. Graves, Alex, Wayne, Greg, M, Reynolds, T, Harley, I, Danihelka, A, Grabska-Barwińska, SG, Colmenarejo, E, Grefenstette, T, Ramalho, J, Agapiou, and AP, Badia. Hybrid computing using a neural network with dynamic external memory. Nature, 5380 (7626):0 471–476, 2016. OpenAlex ↗ · Scholar ↗
  7. Gulwani, Sumit. Automating string processing in spreadsheets using input-output examples. In ACM SIGPLAN Notices. ACM, 2011. our card
  8. Gulwani, Sumit, Harris, William R, and Singh, Rishabh. Spreadsheet data manipulation using examples. Communications of the ACM, 2012. OpenAlex ↗ · Scholar ↗
  9. Huang, Po-Yao, Liu, Frederick, Shiang, Sz-Rung, Oh, Jean, and Dyer, Chris. Attention-based multimodal neural machine translation. In Proceedings of the First Conference on Machine Translation, Berlin, Germany, 2016. our card
  10. Joulin, Armand and Mikolov, Tomas. Inferring algorithmic patterns with stack-augmented recurrent nets. In NIPS, pp. 190–198, 2015. OpenAlex ↗ · Scholar ↗
  11. Kaiser, Lukasz and Sutskever, Ilya. Neural gpus learn algorithms. CoRR, abs/1511.08228, 2015. OpenAlex ↗ · Scholar ↗
  12. Kurach, Karol, Andrychowicz, Marcin, and Sutskever, Ilya. Neural random-access machines. ICLR, 2016. our card
  13. Luong, Minh-Thang, Pham, Hieu, and Manning, Christopher D. Effective approaches to attention-based neural machine translation. arXiv preprint arXiv:1508.04025, 2015. our card
  14. Manna, Zohar and Waldinger, Richard. Knowledge and reasoning in program synthesis. Artificial intelligence, 60 (2):0 175–208, 1975. OpenAlex ↗ · Scholar ↗
  15. Manna, Zohar and Waldinger, Richard. A deductive approach to program synthesis. ACM Transactions on Programming Languages and Systems (TOPLAS), 20 (1):0 90–121, 1980. OpenAlex ↗ · Scholar ↗
  16. Marzal, Andres and Vidal, Enrique. Computation of normalized edit distance and applications. IEEE transactions on pattern analysis and machine intelligence, 1993. OpenAlex ↗ · Scholar ↗
  17. Menon, Aditya Krishna, Tamuz, Omer, Gulwani, Sumit, Lampson, Butler W., and Kalai, Adam. A machine learning framework for programming by example. In ICML, pp. 187–195, 2013. OpenAlex ↗ · Scholar ↗
  18. Neelakantan, Arvind, Le, Quov V., and Sutskever, Ilya. Neural programmer: Inducing latent programs with gradient descent. ICLR, 2016. OpenAlex ↗ · Scholar ↗
  19. Parisotto, Emilio, Mohamed, Abdel-rahman, Singh, Rishabh, Li, Lihong, Zhou, Dengyong, and Kohli, Pushmeet. Neuro-symbolic program synthesis. ICLR, 2017. our card
  20. Polozov, Oleksandr and Gulwani, Sumit. Flashmeta: a framework for inductive program synthesis. In OOPSLA, pp. 107–126, 2015. OpenAlex ↗ · Scholar ↗
  21. Reed, Scott and de Freitas, Nando. Neural programmer-interpreters. ICLR, 2016. OpenAlex ↗ · Scholar ↗
  22. Riedel, Sebastian, Bosnjak, Matko, and Rocktäschel, Tim. Programming with a differentiable forth interpreter. CoRR, abs/1605.06640, 2016. our card
  23. Sutskever, Ilya, Vinyals, Oriol, and Le, Quoc V. Sequence to sequence learning with neural networks. In NIPS, 2014. our card
  24. Tai, Kai Sheng, Socher, Richard, and Manning, Christopher D. Improved semantic representations from tree-structured long short-term memory networks. arXiv preprint arXiv:1503.00075, 2015. our card
  25. Vinyals, Oriol, Kaiser, Łukasz, Koo, Terry, Petrov, Slav, Sutskever, Ilya, and Hinton, Geoffrey. Grammar as a foreign language. In NIPS, 2015. our card
  26. Waldinger, Richard J. and Lee, Richard C. T. Prow: A step toward automatic program writing. In IJCAI, 1969. OpenAlex ↗ · Scholar ↗
  27. Xu, Kelvin, Ba, Jimmy, Kiros, Ryan, Cho, Kyunghyun, Courville, Aaron C, Salakhutdinov, Ruslan, Zemel, Richard S, and Bengio, Yoshua. Show, attend and tell: Neural image caption generation with visual attention. In ICML, 2015. our card
  28. Zaremba, Wojciech and Sutskever, Ilya. Learning to execute. arXiv preprint arXiv:1410.4615, 2014. OpenAlex ↗ · Scholar ↗