Elamur Research

Learning Interpretable Spatial Operations in a Rich 3D Blocks World

Paper · 2017 · Yonatan Bisk, Kevin J. Shih, Yejin Choi et al.

Summary

An instruction to put a block to the right of another gives a direction and leaves some of the placement to the listener. A nearby stack might determine the distance. A request to mirror the arrangement might determine both the distance and the alignment. This paper asks what it takes to turn instructions like these into precise block placements, and whether researchers can inspect the spatial operations a system learns along the way. The authors study both questions in a simulator where people build structures, then describe individual moves for another person to carry out.

The new corpus extends an earlier Blocks benchmark whose targets were flat, grid-aligned shapes. Volunteers made their own structures, choosing where to put blocks in three dimensions and how to turn them. The authors recorded the order of construction and collected instructions for the moves through Mechanical Turk. The resulting v2 corpus contains 100 configurations and approximately 13,000 instructions. People mention angles, arches, balance, and reflections, and sometimes describe a place in terms of a structure that the current move will help create. The construction task gives speakers a reason to use language that would be unnecessary on the earlier grid.

The system reads each instruction to decide which blocks provide spatial evidence and which operation to apply to that evidence. Its operation selector distributes weight across 32 learned choices. Training encourages the distribution to concentrate, so researchers can often associate a sentence with a particular operation. They can also select an operation directly, move a reference block around the simulator, and plot where the system predicts the moved block should go. This gives interpretability a concrete test. Some operations have recognizable directions, some differ in reach, and some change their behavior near the edge of the workspace.

On the original benchmark, the proposed system improves on Bisk 16 and falls slightly behind Pišl 17 overall. It does better than Pišl 17 at placement when given the correct block to move. Under end-to-end evaluation, mean position error is 1.15 block lengths on v2 and 0.80 on v1. Training on both corpora helps identify the moved block on both test sets, with little benefit for placement. The paper reports a mean rotation error of 0.058 radians. Its difficult cases help explain what remains open. Some speakers refer to towers or stacks without naming individual blocks, define a shape within the instruction, or expect the listener to infer orientation from the support or curve a block will join.

Deep dive: Learning Interpretable Spatial Operations in a Rich 3D Blocks World

The paper tests how a system can learn spatial operations such as placing, stacking, and turning blocks from instructions in a 3D world. · about 34 minutes to read

The problem and its context

What the listener has to work out

A block-moving instruction connects a sentence to a particular change in a scene. The listener has to identify the object to move, locate any objects that constrain its destination, and infer where the speaker expects it to end up. Placement can include orientation as well as position. Someone who names the correct block and points in the correct direction can still leave it too far away, put it at the wrong height, or turn it the wrong way. These are distinct decisions even when the speaker expresses them together.

The paper makes that distinction tangible by revisiting the word right. In a gridded setting, a standard step can frequently implement the relation. In the new setting, the paper points to the McDonald’s block being right of Adidas and the SRI block being right of Heineken. Both descriptions are appropriate, even though the offsets differ. A reference to mirroring supplies additional information about the intended alignment. The listener has to use the geometry of the surrounding arrangement to determine what the direction amounts to in this instance.

A structure can also supply a reference that is absent as a named object. The paper discusses a move involving the UPS block in which a tower is part of the explanation of where the block belongs. A reference to a new or fourth tower asks the listener to consider the arrangement after the move. A reference to a mirror relationship calls for an axis and a reflection. Knowing what a tower looks like in three dimensions, and knowing how the scene is expected to change, both matter to the interpretation. The paper uses this example to show what can happen when instructions describe a construction in progress.

Vertical placement and rotation add different kinds of context. A request involving the highest block depends on the scene’s height structure. An instruction to align a block with the object beneath it can require a turn without giving its size or direction. A block that will span stacks may be oriented by the need to balance across them. In each case the speaker can give an informative instruction while leaving some of the geometry implicit. The listener’s job includes resolving that implicit geometry from the scene.

Why use a simulator?

The authors connect the problem to SHRDLU and the longstanding goal of letting people direct an artificial agent in ordinary language. They identify a practical tension between work on physical robots and work in simulation. Collecting large quantities of grounded instructions with a real robot is expensive. Some robotics studies therefore pair substantial physical capabilities with constrained language. Simulators make data collection easier to scale, and the assumptions made for convenience can narrow both the actions available and the language that people use for them.

The paper places itself between those approaches. A simulated workspace lets researchers capture exact scene states and compare predicted placements against them. Allowing volunteers to stack and turn blocks, and to place them at fine-grained positions, gives that workspace some of the irregularity that matters for language. A block can be slightly off its neighbor’s alignment. A piece of an arch can sit at an angle. People can disagree about which geometric detail needs to be stated while describing the same move to an imagined collaborator.

Earlier robotics work, as the authors describe it, addressed visual attributes, relations in space, and action taking. The paper also points to research in which a physical robot explores its surroundings and learns representations through interaction. These examples establish why language and action are considered together. An expression acquires a practical meaning when a listener can connect it to an object, a region, or a change in the world. This paper isolates part of that problem by giving the system a structured world state and asking it to predict the intended placement.

Where the earlier benchmarks fit

The authors situate their task alongside visual question answering. They raise the concern that success on that task can reflect regularities in the training answers as well as understanding of the pictured scene. They also point to research on visual reasoning and on identifying objects from descriptions. For block manipulation, object reference is one part of the task. Once a reference is resolved, the listener still has to decide how to use it to constrain an action. Inferring and Executing Programs for Visual Reasoning and ReferItGame are examples from that discussion.

In language research, the paper traces a route through semantic parsing, where an utterance is mapped to a representation of its meaning. Instruction following gives that representation a practical role because an action can be executed or checked against an intended change. The authors mention research on learning such mappings and on aligning parts of instructions with their interpretations. Their account also notes the difficulty of obtaining complex, naturally occurring language in domains such as navigation. Weakly Supervised Learning of Semantic Parsers for Mapping Instructions to Actions and Alignment-Based Compositional Semantics for Instruction Following illustrate the connection.

The immediate predecessor is the earlier Blocks corpus. Workers on Mechanical Turk saw simulated scenes before and after a move and described how a collaborator could turn the first into the second. They could choose their own vocabulary, references, and grammar. That freedom mattered because people writing for other people expect the reader to repair an awkward sentence or infer which spatial relationship is relevant. They may assume shared understanding of a shape or view of the scene. The earlier corpus made this kind of language part of an instruction-following benchmark.

The shapes and action sequences in that benchmark were more constrained than its speakers. The target arrangements came from downsampled MNIST digits. A heuristic ordered the placements to resemble the way a person might draw or write the figure. The shapes were recognizable, and the grid made transitions straightforward to specify. Such a world offers relatively few occasions to talk about balancing a block, reflecting towers, or following a curve with a rotated piece. The new paper keeps the earlier work’s open instruction collection and changes the source of the configurations and moves. That choice makes the geometry itself a source of linguistic variation.

The method, step by step

From a construction to an instruction

The authors start with the existing simulator and ask volunteers outside the project, including children, to build whatever they like. The recorded construction includes the order in which blocks were placed. An elephant described in the paper has curved features, including its trunk, tail, and legs. Examples like that are possible because builders can use height, choose fine-grained positions, and turn blocks. Recording the construction also captures how a particular builder got to the final structure, including the partially built arrangements a listener might need to complete.

The authors collect natural-language instructions for changes between successive scenes. In the paper’s example involving the McDonald’s block, the same placement receives nine instructions, three per annotator. One writer can make position clear by counting, while another describes a row, a square, or a mirror relationship. The paper also describes a move in which a block has to turn and rest between stacks. Some writers talk about turning it relative to its previous orientation. Another leaves the angle implicit and describes how it should balance. These alternatives share a target placement while giving the listener different evidence for finding it.

The new dataset comprises 100 configurations with a 70-20-10 allocation to training, testing, and development. The number of steps and blocks in a configuration ranges from five to twenty. Some builders stop before using the full supply, so the newer corpus has fewer utterances than the original for the same number of goal configurations. The paper nonetheless finds that the new instructions are slightly longer on average. Corpus comparisons use the NLTK treebank tokenizer, which splits text into countable units. Its punctuation conventions affect comparisons with counts published under other conventions.

The collection process also produces changes that a speaker may reasonably ignore. A builder can bump another block while making the intended move, for instance. The authors report that people generally regarded those small shifts as irrelevant to how they understood the action. For the placement evaluation, the paper identifies the block that moved farthest and evaluates its placement. This decision connects the scoring procedure to the way the instructions were elicited. A step represents an intended change, and the score concentrates on the principal object of that change.

Physics was relaxed during construction. Volunteers were expected to produce final shapes broadly consistent with physical support, with little overhang or intersection and without floating blocks. Requiring the simulator’s physics throughout construction led volunteers to give up too often. The relaxed procedure lets them place a piece at an intermediate stage even if a real builder would need a counterweight or temporary support. A recorded destination therefore specifies where a piece belongs in the construction as elicited.

The path from words to a placement

The predictor takes an instruction and a representation of the current world. Its central design gives separate jobs to different parts of the sentence encoder. One supplies a distribution over blocks that can support the placement decision. The other supplies a distribution over learned spatial operations. The two meet in a representation that carries the operation at locations selected by the block distribution. A spatial computation then estimates where the moved block should end up and how it should be turned.

From a block instruction to a destination pose

The steps in order.

From a block instruction to a destination poseStep 1: Read the instruction with separate sentence encoders1. Read the instruction with separate sentence encodersStep 2: Estimate which blocks provide spatial evidence2. Estimate which blocks provide spatial evidenceStep 3: Highlight their occupied regions in the world3. Highlight their occupied regions in the worldStep 4: Weight the available learned spatial operations4. Weight the available learned spatial operationsStep 5: Combine the operation with the highlighted regions5. Combine the operation with the highlighted regionsStep 6: Predict local offsets and confidence scores6. Predict local offsets and confidence scoresStep 7: Combine local predictions into position and orientation7. Combine local predictions into position and orientation

The distinction between the moved block and the blocks that provide spatial evidence is important. If the move places a piece beside an existing tower, the system must choose the piece being moved. The tower, meanwhile, can supply the position from which to interpret beside. The formulas for argument attention describe the latter role in target prediction. The results report source selection separately and include a condition that gives the placement procedure the correct source. This lets the reader follow the prediction architecture without treating its attention distribution as the source accuracy measure.

Consider an instruction that describes placing a block above a named cube. The cube’s identity indicates where the system should look, and the relation indicates how to use that part of the scene. If the same cube is moved before the instruction is issued, a placement based on its current location can change accordingly. The architecture makes this possible by using block identities to look up occupied regions and by applying the learned operation through a spatial computation over those regions. The sentence provides the instruction and the world supplies the current geometry.

Reading the sentence in parallel

The sentence is encoded by bidirectional long short-term memory networks, or LSTMs. In this setting a bidirectional encoder reads the text in both directions to make a representation of the instruction. Words are supplied through a shared matrix of word embeddings, which provides a learned numerical representation for each vocabulary entry. The two encoders share that vocabulary representation. Each encoder otherwise builds its own view of the sentence, one for the block arguments and one for the operation.

On the argument side, an affine transformation gives a score for each of 20 block identities. An affine transformation multiplies the sentence representation by a matrix and adds a learned bias. A softmax converts the resulting scores to weights that sum to a whole. A greater score gives that block a larger share of the distribution.

dₐ = softmax(Wₐ hₐ + bₐ)

Here dₐ is the distribution over argument blocks and hₐ is the argument encoder’s representation of the sentence. Wₐ is the learned weight matrix and bₐ is its learned bias vector. The multiplication Wₐ hₐ produces the block scores before the bias is added. The plus sign adds that bias, softmax turns the resulting scores into normalized weights, and the equals sign identifies the resulting distribution. The subscript a marks the argument side.

The operation side uses its own learned transformation. It produces a separate softmax across 32 alternatives. Each entry can be read as the weight assigned to a particular learned spatial operation for the instruction at hand.

dₒₚ = softmax(Wₒ hₒ + bₒ)

Here dₒₚ is the distribution over operations, and hₒ is the operation encoder’s sentence representation. Wₒ and bₒ are the learned matrix and bias for this side of the architecture. Multiplication and addition give the scores that softmax normalizes. The equals sign defines dₒₚ by that computation. The subscripts o and op mark quantities belonging to operation selection.

These outputs address different questions about the same text. Names and descriptions can help find a block in the scene. Direction words and longer phrases can help choose the spatial transformation. Training determines what each encoder learns to retain. The distributions are the forms in which those encodings have to influence the target prediction. In particular, each operation score corresponds to a shared slot that can be inspected across different instructions.

Putting language evidence in the world

The predictor receives the simulated world as a three-dimensional array of block identities. Each location can be converted to a one-hot vector, with its active entry specifying the identity at that location. Matching that vector against the argument distribution picks out the weight the sentence gave to the block. Doing this throughout the array highlights occupied regions associated with the likely arguments. All occupied cells of a particular block draw their weight from the same entry in the argument distribution.

Aᵢⱼₖ = 10 × (one_hot(Worldᵢⱼₖ) ⋅ dₐ)

Here i, j, and k index a cell in the spatial array. Worldᵢⱼₖ is the identity stored at that cell and one_hot converts it to a vector with a single active entry. The dot denotes the inner product with dₐ, the argument distribution, so it selects the weight corresponding to the cell’s identity. The × sign denotes scalar multiplication. The multiplier 10 scales the resulting attention score, and Aᵢⱼₖ is the value assigned to the cell at this stage. The equals sign gives the assignment.

The authors report that multiplying by 10 helped learning and suggest that the effect might be related to parameter initialization. The rescaling multiplies the strengths of the signals reaching the spatial computation while preserving their relative order across foreground blocks. Background is removed by a mask, an array that marks the locations allowed to carry attention.

Aᵢⱼₖ ← Aᵢⱼₖ × bg_maskᵢⱼₖ

Here i, j, and k again locate a cell. The arrow indicates an update. The Aᵢⱼₖ on the right is the scaled attention value before masking and the Aᵢⱼₖ on the left is that cell’s updated value. The × sign denotes multiplication by bg_maskᵢⱼₖ, the foreground mask value at the same location. The mask preserves the value where a block can receive attention and removes it in the background.

A soft distribution can highlight several blocks with different strengths. That gives the downstream network spatial evidence about several regions of the world. The representation carries the identity weights into physical space and leaves the operation to be interpreted in the next stage. For the authors’ diagnostic plots, this division also makes it possible to manipulate the operation while controlling which block supplies the position.

Learning the operation inventory

Each operation has a learned basis vector. The authors call these alternatives spatial operations because of the behavior they can exhibit when fed into the rest of the predictor. They learn the vectors jointly with the distribution that selects among them. The inventory has no pre-defined assignment of labels such as east, above, or between. A verbal description can be attached afterwards if the behavior of an entry and the sentences associated with it give a consistent interpretation.

vₒₚ = Mₒₚ dₒₚ

Here Mₒₚ is the matrix containing the 32 basis vectors, with an operation vector in each column. The vector dₒₚ supplies the matching weights from the operation softmax. Matrix-vector multiplication forms a weighted average of the columns. The equals sign defines vₒₚ as that average, and the subscript op identifies these as operation quantities.

Because the mixture is soft during training, the final placement can provide a learning signal to the vectors and to the selector. An entropy term encourages concentration in the operation and argument distributions. Entropy here measures how spread out a distribution is. A low-entropy operation distribution places most of its weight on a small part of the inventory, often emphasizing a single slot strongly enough that it can be studied in isolation. The training procedure can still make use of mixtures when the selector produces them.

The operation vector describes what spatial transformation the remaining computation should perform. At every location it is weighted by that location’s argument attention. The same chosen operation can therefore reach the spatial network at different points in the world, depending on where the reference blocks are. Conversely, the same block can be used with different operations across instructions. This is the architecture’s connection between what relationship is intended and where the relationship should be applied.

The paper likens the modular organization to Learning to Compose Neural Networks for Question Answering. In the Blocks system, the learned vectors are alternatives that condition a shared downstream spatial computation. Selecting a particular vector is a way to make the predictor behave according to that entry while its other learned parts stay in use. This detail matters when interpreting a visualization. The arrow plotted for an operation is the result of applying it through the predictor to a controlled scene.

Turning a highlighted region into coordinates

After the operation has been weighted by attention at each location, a convolutional network combines information across nearby cells. A convolution applies learned filters repeatedly across the array. Here the features being filtered carry the spatial locations of potential arguments together with the operation suggested by the sentence. The intermediate layers transform those features, and the last layer produces a set of local placement proposals. The network can learn to use available space and the arrangement of the highlighted cells when making those proposals.

The attention array has a batch dimension, followed by depth, height, width, and a single attention value per location. Weighting the operation vector at each cell replaces the single value there with a vector of operation features. The main 3D implementation works with a representation of size 32 × 4 × 64 × 64 × 32, in the order batch, depth, height, width, and channels. The first spatial filter is 4 × 5 × 5 and the second is 4 × 3 × 3. For 3D, the authors apply the tanh activation after each. Both layers preserve the dimensions of the incoming representation.

A final filter of size 1 × 1 × 1 acts separately at each location on the channels produced there. Its output has 8 values per location. These are the proposed values or offsets for the three position coordinates and the rotation, together with a confidence for each. The final layer therefore produces spatially distributed evidence for each part of the answer. The confidence used to decide the horizontal coordinate, for instance, is normalized over all the grid cells offering a proposal for that coordinate.

For positions, the network predicts relative to a regular reference grid. The grid is a fixed set of sampled positions along the axes. At each cell the network can propose a point displaced from that cell’s reference coordinates. This is how a grid used inside the computation can support a fine-grained output. The final answer can lie between sampled points through learned offsets and the weighted combination of proposals. The paper relates the formulation to prior work on locating visual landmarks.

x̂ = ∑ᵢⱼₖ cₓ(i,j,k) × (gₓ(i,j,k) + dₓ(i,j,k))

Here x̂ is the predicted x coordinate and the hat denotes a prediction. The sum runs over all grid cells indexed by i, j, and k. At each cell, gₓ is the fixed x coordinate of its grid point and dₓ is the predicted offset along that axis. The plus sign adds the offset to the reference coordinate. The × sign then multiplies this proposal by cₓ, its confidence after softmax normalization over the grid. The subscript x specifies the component being estimated. The equals sign defines the final coordinate as the sum of these weighted proposals. The same procedure gives the y and z coordinates using their own grid coordinates, offsets, and confidences.

With this design, the network can supply a strong proposal from a local region or combine evidence drawn from several cells. The confidence weighting is also a reason to distinguish argument attention from output confidence. Argument attention highlights evidence about the reference objects. Output confidence controls how strongly a cell’s proposal affects a particular component of the target. A location can be important to the argument stage because it contains a reference block, while the final coordinate estimate can draw its strongest support from a different location.

Orientation uses a related computation. The fixed coordinate grid gives a reference for positions. For rotation, each local prediction supplies an angle value directly to the weighted sum.

θ̂ = ∑ᵢⱼₖ cθ(i,j,k) × dθ(i,j,k)

Here θ̂ is the predicted rotation component and the hat again denotes a prediction. The sum runs across cells indexed by i, j, and k. At each cell, dθ is its proposed rotation value and cθ is its confidence for that proposal. The θ attached to those quantities marks them as angular. The × sign multiplies the local prediction by its confidence. The equals sign relates the combined angular prediction to this sum.

Training and scoring

The authors train the architecture end to end with Adam and a batch size of 32. In end-to-end training, the errors at the output can change the sentence encoders, the basis vectors, and the convolutional computation. The entropy term supplies extra pressure toward peaked distributions. The block arguments and operations can thus acquire usable distinctions through the final prediction task while also being encouraged to concentrate their choices.

The paper describes implementation differences for the 2D setting. The authors found rectified linear activations and batch normalization preferable there, and set both the depth and the depth of the kernel to 1 when training exclusively in 2D. Their 3D setup uses tanh activations in the intermediate convolutional layers. They report these choices as empirical settings and state that they did not carry out a parameter grid search. The evaluation uses the same basic notion of position discrepancy across the flat and three-dimensional worlds.

For position, the score measures the distance between the predicted destination and the recorded destination, expressed in block lengths. Euclidean distance is the straight-line distance between the points, so component errors in any of the spatial directions can contribute.

Lₓ,ᵧ,𝓏(p,g) = ‖p − g‖₂

Here L is the position error and the subscripts x, y, and z identify the spatial coordinates considered. The arguments p and g are the predicted and recorded positions. The minus sign forms their displacement vector. The double bars indicate a norm, with the subscript 2 specifying the Euclidean norm. The equals sign defines the error from the length of that displacement. The paper reports the average of this distance in block lengths.

The released data record full orientations as quaternions, a representation that lets the simulator reproduce the builders’ rotations. For angular evaluation, the authors focus on rotation about the Y-axis because they judge that component the most meaningful for the instructions. The paper wraps the difference between prediction and reference by taking its sine and cosine, then recovering the angular difference with the two-argument arctangent.

Lθ(p,g) = atan2(sin(p − g), cos(p − g))

Here Lθ is the angular discrepancy and θ identifies the rotation component. In this formula p and g are the predicted and recorded angles about the Y-axis. The minus sign gives their angular difference. The functions sin and cos give the sine and cosine of that difference, in the order indicated by the comma. The function atan2 uses both values to return the shortest wrapped angular difference in radians, with a sign determined by its direction. The equals sign gives the paper’s expression. The wrapping matters because angles on opposite sides of the representation’s wraparound can describe nearly the same orientation. The expression is written as a signed difference, while the paper discusses the evaluation in terms of minimum angular error and reports how close predictions are to the correct orientation.

Experiments and results

What changes from v1 to v2

The evaluation uses the original Blocks dataset, called v1, the new v2 corpus, and training on their union. The v2 split holds out configurations for testing and development. An instruction belongs to a step within a construction, and several speakers can describe the same step. Holding out configurations keeps these related descriptions together across the split. The new dataset also holds on to much of the vocabulary and many of the concepts of the old task, giving the union experiment meaningful overlap as well as genuine geometric differences.

The authors characterize v2 as adding roughly 13,000 crowdsourced instructions. They describe the scale of the extension in the abstract as 100 new configurations and 250,000 tokens. They also report that the new instructions are somewhat longer on average in spite of there being fewer utterances than in the original collection for the same number of goal configurations. These observations describe different properties of the collection. A lengthy instruction can arise because the speaker chooses to spell out a nuanced relation, while a construction can contribute fewer descriptions overall because its builder used fewer steps.

The main performance comparison distinguishes selecting the source block from estimating its target location. Source accuracy asks whether the system identifies the block that was moved. The target error measures how far the predicted placement lies from the recorded one. The end-to-end condition evaluates the placement with source selection as part of the task. Another condition gives the correct source block, so the placement estimates can be compared with source identity supplied. This distinction is especially useful when comparing systems whose relative strengths differ by stage.

On the older benchmark, the paper compares its approach with Bisk 16 and Pišl 17. The proposed approach outperforms Bisk 16 and is slightly weaker overall than Pišl 17. When the correct block to move is given, the proposed approach has the stronger placement result of the latter pair. This is a conditional ranking. It identifies a setting in which the spatial prediction is competitive and leaves open how much tuning could improve source selection or the full task. The authors raise tuning as a possibility when interpreting that result.

Source selection and destination error

For source identification, the results discussion gives the v2 and v1 accuracies as 91 vs 98%. The task in both cases is to identify which cube the instruction asks the system to move. Even this categorical decision is harder on the newer collection. A scene with grouped objects and several salient blocks can give a speaker more ways to refer to the one that matters. The experiment measures the combined impact of the different domains, which also differ in how their configurations and construction sequences were produced.

The reported end-to-end mean position error is 1.15 block lengths on v2 and 0.80 on v1. This score concerns the distance to the recorded target position. It incorporates the difficulty of the full prediction setting, with the source to identify and the destination to estimate. Under the paper’s evaluation, the newer corpus is more demanding on both the source decision and this measure of placement.

End-to-end mean position error on the Blocks v1 and v2 test sets

The proposed system places blocks closer to their recorded destinations on the original corpus.

End-to-end mean position error on the Blocks v1 and v2 test setsBlocks v1 (this paper): 0.80Blocks v1 (this paper)0.80Blocks v2: 1.15Blocks v21.15
The numbers
System or settingblock lengths
Blocks v1 (this paper)0.80
Blocks v21.15

A block-length error has a geometric meaning. Each predicted placement contributes a distance, so a miss that puts a cube far from the intended point contributes more than a slight misalignment. The mean summarizes those distances across examples. The paper’s individual errors and visualizations are useful alongside that aggregate because they let a reader see the kinds of mistakes that can produce a large error. A miss on an instruction about equidistance between towers, for example, can involve choosing the wrong structural reference as well as choosing an inaccurate offset.

Training on the combined corpus enables the authors to identify sources more accurately in both the v1 and v2 test sets. Placement performance is essentially stable in some settings and slightly worse in others. The paper interprets this pattern as evidence of complementarity between the corpora. Pooling examples can help the system recognize which object a sentence intends to move. The destination depends on more specific conventions about how text maps onto a world, among them the placements and relations available in the newer constructions. The experiment compares the effect of pooling and gives separate outcomes for the source and the target.

Angular accuracy

The paper reports an average angular error of 0.058 radians. In the validation discussion, it states that 46% of predictions require a rotation and that 1,374 of 1491 predictions fall within 2 degrees of the recorded orientation. The angular evaluation therefore includes examples with and without a required turn. The closeness count describes the predictions as assessed in that discussion, with the share requiring rotation given separately.

The authors report conspicuous large errors as well, including 36 at 30 degrees and 81 at 45 degrees. The variation matters in a construction task. An estimate can be very close to the recorded turn, or it can miss the instruction’s implied alignment altogether. The example analysis returns to these larger mistakes and considers what the words establish explicitly. Instructions that leave orientation to be inferred from a support or a shape can be difficult even when the reported aggregate error is small.

The angular and position measures answer complementary questions. A target position can be close to the reference while orientation is wrong for the structure, and a correctly turned block can still land in the wrong place. The paper keeps the measures distinct so the results can distinguish these behaviors. The additional source accuracy measure identifies failures at the stage of deciding what to move. Taken together, the measurements describe a predictor that handles many of the recorded placements closely while leaving hard examples in source reference, destination geometry, and implicit orientation.

What the ablations show

Changing the encoders and the information available

The paper reports an architectural comparison in the sentence encoder. The authors tried a single LSTM for the two outputs and also tried conditioning one encoder on the other. They report degraded performance for these alternatives and use separate encoders with shared embeddings in the main setup. This supports their design choice within the variants they tried. The reported comparison is qualitative, so it establishes the direction of the observed effect and leaves its size unspecified.

The choice to multiply the attention map by 10 also comes from a practical comparison. The authors say the predictor learned better with that scaling and suggest initialization as a possible explanation. The scaling changes the magnitude of the input features to the spatial network. The paper gives the observation and the conjecture about its cause. A matched initialization study would be needed to attribute the improvement to that cause. The reported variation is useful chiefly for understanding the implementation that produced the results.

The correct-source condition gives a different kind of controlled comparison. Here the evaluation supplies a piece of information the full system normally has to infer. Since Pišl 17 is slightly stronger overall while the proposed approach is stronger when both are assessed with the correct source, the choice of condition changes the relative ranking. This comparison shows why it is useful to measure the placement stage when source uncertainty has been removed. It leaves the respective contribution of source errors and their interaction with target prediction open.

Training on the union of both corpora changes the available examples while preserving separate test sets. The source gains and the limited placement benefit separate the effects of the added data by prediction stage. That comparison supports the authors’ decision to retain both test settings. Results for source identification alone would miss the weak transfer to geometric placement, while a position score alone could overlook the improvement in identifying the moved block.

Forcing an operation and moving its argument

The visualization is an intervention on the operation distribution. During normal prediction the sentence encoder chooses the weights. For the visualization, the authors set a one-hot choice themselves and put a single reference block at successive points on a 9 by 9 grid. At each point they draw an arrow from the reference block to the predicted target. The selected operation stays fixed while the reference block’s location varies. An arrow field then makes it possible to see whether an operation behaves similarly throughout the workspace.

Several choices produce recognizable directions. The arrows can change in length or direction according to where the argument starts. Operation 9 is associated with the center and illustrates how an operation can point towards a region of the world. If its argument begins at different positions, reaching that region calls for different displacements. This is evidence that the learned calculation can use absolute scene location in addition to the relation between the reference and the target.

The authors also observe that many operations point inward in the bottom right corner. They suggest that such behavior could keep some placements from going off the board when an instruction is interpreted poorly. The directions in the visualization are the observation. The protective interpretation is a plausible explanation and the paper presents it as such. The visualization itself tests what the network predicts at those controlled locations, instead of recording how often the same behavior prevents a failure during ordinary instruction following.

The arrow fields are drawn as a two-dimensional projection. The scores and outputs concern the full simulated task, and the projections can make vertical movements look short. Operation 14 is one of the choices the authors associate with placing a block directly on top. Its short arrows in the projection are consistent with movement that largely occurs in the vertical dimension. Seeing the meaning of that diagnostic requires knowing which dimensions the plot displays and which variables the predictor still estimates.

Mixing operations and grouping instructions

The paper also changes the operation weights gradually while keeping the setup controlled. The authors interpolate between operation 23, described as north in the interpolation, and operation 26, described as east. They apply the mixtures at nine locations. Intermediate weights produce directions between those endpoints, and the direction and reach of an interpolation vary near boundaries. The experiment shows how the predictor responds when the researchers pass it different mixtures of learned vectors.

This ability to interpolate is available by design. The authors find few clear cases in which the sentence selector uses it to express an intermediate direction. When weight is spread across alternatives, the choices are frequently similar. Sometimes the input is a compound construction with different relationships to different objects, such as a placement to the left of one object and above another. The shared operation representation and shared attention map give limited evidence about which relationship belongs to which argument. The paper identifies applying several operations to distinct arguments as a direction for further work.

A separate analysis starts from the validation instructions. The authors group sentences by their strongest operation choice and inspect the low-entropy cases, where the selector makes a confident decision. These groups can contain a single directional word or a long description that includes the desired spacing between blocks. When different formulations repeatedly evoke an operation with recognizable behavior, the group gives linguistic evidence for how that operation is used.

The phrase analysis also distinguishes direction from distance. The authors associate operation 23 with a more distant above in the learned phrase group. Its reach in the visualization helps distinguish it from closer forms of placement in a similar direction. This interpretation connects the words selected by the router with properties of the predicted placements. The operation numbers are learned slots, so the substantive evidence is the association between phrases and behavior.

Some associations are harder to interpret. Operation 11 correlates with instructions describing a placement between objects, yet the single-block grid gives the authors little basis for explaining that correlation. A relation involving several objects is difficult to expose by varying the location of one reference. The linguistic grouping can suggest a meaning that the geometric intervention only partially probes. Together the analyses give different views of the learned operation inventory, with the clearest interpretations coming from cases where the views agree.

Looking at the large errors

The error analysis examines selected severe misses. In one example, the intended destination depends on recognizing towers and locating a point at equal distance in a broader arrangement. The word referring to a tower picks out a structure that comprises blocks. Equal spacing then depends on the geometry of the pattern. An attention map over block identities gives the downstream computation evidence about the parts, while the instruction asks it to reason about the structure they form.

Another instruction uses a reference to stacks without naming their constituent blocks. The grouping is part of what the listener has to infer. A further example establishes a plan and gives the listener information for recognizing a newly described arrangement, which can then be used as a reference later in the same instruction. Here the difficulty concerns the way the sentence introduces a concept and makes it available for subsequent use. The selected examples show how even a single placement can require reasoning about entities beyond the individual cubes represented by the attention distribution.

For rotations, the inspected mistakes frequently involve implied orientation. In the examples involving Toyota and SRI, the support block can supply an orientation for the block placed on top. Some language makes the direction match explicit without supplying an angle. Other wording leaves the match to be inferred from the stacking action. An example involving the inner part of a curve calls for an additional inference about the intended shape. The authors distinguish following an existing block’s orientation as a near-term direction from interpreting the construction geometry implied by the curve.

These inspections relate specific failures to properties of the instructions. They present cases in which the system’s error can be read together with the target scene and the language. Their evidence concerns the selected failures. The paper’s averages measure how closely placements typically match the recorded destinations, while the error examples reveal what a large miss can demand from an instruction follower.

Limitations

Limits the authors identify

The authors describe a practical concession in their data collection. Enforcing physics throughout construction interfered with volunteers’ ability to finish their designs, so the simulator allowed intermediate states that a physical builder might need extra support to realize. The authors still wanted final designs to obey basic physical expectations. Their compromise makes the corpus suitable for studying the spatial and linguistic details of the intended destination. Full physical execution, including how each block gets there and what supports it during the move, falls outside that evaluation.

They also acknowledge that positional realism introduces incidental changes. A neighboring cube may shift a little, although the speaker sees the step as a move of the intended block. Scoring the most displaced block is a practical way to concentrate on that intention. It leaves invariance to incidental changes largely untested. The criterion is based on what moved most in the recorded transition, and the evaluation focuses on its placement. Understanding all of the minor changes to surrounding blocks would require a different target for the task.

The operation inventory has an empirically chosen size. The authors report trying powers of two and suggest that a better choice might exist. Their implementation description likewise records particular settings without a parameter grid search. The results establish how the architecture worked under the conditions they report. They leave open how its accuracy or the organization of its learned operations would change under alternative sizes, initializations, or encoder and convolutional settings.

The authors identify multi-argument operation binding as a limitation of the design. A mixture of operations can be applied to the spatial evidence, and that mixture can interpolate between related behaviors. Instructions can also specify one relationship to one object and another relationship to a different object. The intervention on a single shared vector does not establish a mechanism for maintaining those associations separately. The paper proposes such a capability as future work, in line with the compound instructions it encountered in its validation analysis.

Implicit orientation and abstract reference are further limits exposed by the paper’s own mistakes. The authors emphasize the difficulty of recovering a turn when the instruction relies on alignment, support, or shape. They also discuss references to an abstract structure, to a group described without its members’ names, and to a concept introduced during the instruction itself. Their corpus makes such cases observable. The empirical successes and the selected errors together bound what can be claimed about the architecture’s treatment of them.

Limits of the experimental evidence

The predictor receives an array of block identities from the simulator. This is a deliberate choice that isolates aspects of language grounding. The experimental success therefore concerns a listener with access to structured scene information. A physical setting would add the work of recognizing objects from visual input, establishing their poses, and carrying out the desired motion. A continuous destination in simulation is evidence about one part of this process. Evaluating those additional capabilities would require inputs and outcomes beyond the ones measured here.

The v1 and v2 comparison also changes several aspects of the task together. Shapes go from digit-derived targets to human designs. The building order comes from the builder, positions become fine-grained, and blocks can be placed vertically or rotated. The language responds to those changes. The performance gap establishes that the v2 setting as collected is harder for this system. The experiment provides no separate estimate of how much of the gap is attributable to verticality, rotations, differences in reference language, or the other collection choices.

The task uses a recorded destination to score a prediction. Several people can describe the same action, and their descriptions can vary in specificity. A person who says that a block belongs alongside another may leave room for placements that satisfy that relation to a human reader. Distance from the recorded endpoint measures agreement with a particular demonstrated move. A judgment about all the placements that would satisfy the instruction would require evidence beyond that single target. This matters especially when speakers give a direction and leave the spacing or exact angle to the listener.

Angular performance has a corresponding scope. The data can reproduce full orientations with quaternions, while the reported angular test concerns the rotation the authors select around the Y-axis. A close prediction on that component supports an interpretation about the evaluated turn. It leaves agreement on unrestricted three-dimensional orientation open. The paper also reports the prevalence of required turns in validation and the proximity count for the predictions in that discussion. Those aggregates give context for the strong angular result while leaving the performance of different kinds of turns to the example analysis.

Finally, the learned operation plots are deliberately simple probes. A single presented block makes the effect of moving the argument legible, and a forced selection makes the operation easier to isolate. Typical instructions can refer to several objects or introduce future groups. The low-entropy phrase analysis likewise concentrates on the sentences for which the selector has a clear preference. This makes recognizable uses easier to study. A full account of what happens in ambiguous or compound cases would need additional probes, especially for operations whose interpretations depend on several references at once.

What came after

Neural-Symbolic VQA: Disentangling Reasoning from Vision and Language Understanding cites the paper in a neighboring visual reasoning setting. Its title identifies a concern with separating reasoning from visual and linguistic understanding. The Blocks paper gives a concrete instance of separation within an action predictor, with distinct estimates for the reference blocks and the operation. The later citation places that instance in the context of a different task, visual question answering. The citation establishes the connection, with reuse of the specific operation inventory left open.

Collaborative Dialogue in Minecraft cites the paper in the context of collaboration in another simulated setting. The Blocks corpus already treats a human collaborator as the imagined addressee. Its data organize what that collaborator is told around individual changes to a construction. The later title puts the exchange itself at the center by naming collaborative dialogue as the object of study. This supplies a related context for the paper’s observation that a speaker can rely on shared awareness of arrangements and goals.

Experience Grounds Language connects the paper to the broader subject of how experience gives language meaning. The Blocks study offers a particular example of that relationship. Changing what people can build and what they can do to blocks changes the instructions they write. The placement task then tests whether a system can recover an intended change in the resulting scenes. The later citation situates that experiment within a broader investigation of grounding.

Draw Me a Flower: Processing and Grounding Abstraction in Natural Language cites the paper in connection with abstraction. In the Blocks examples, a tower, a stack, or a newly defined arrangement can matter to an instruction even when the input identifies the scene’s constituent blocks individually. The later title makes the processing and grounding of abstraction an explicit subject. That connection follows a difficulty the Blocks paper encountered while pursuing concrete spatial prediction. A coordinate can be the required output even when the speaker expresses the goal through a category, a shape, or a relationship among structures.

Cite

Cite as Yonatan Bisk, Kevin J. Shih, Yejin Choi and Daniel Marcu. 2017. Learning Interpretable Spatial Operations in a Rich 3D Blocks World. arXiv:1712.03463.

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

@misc{bisk2017learning,
  title = {{Learning Interpretable Spatial Operations in a Rich 3D Blocks World}},
  author = {Yonatan Bisk, Kevin J. Shih, Yejin Choi and Daniel Marcu},
  year = {2017},
  doi = {10.48550/arxiv.1712.03463},
  eprint = {1712.03463},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1712.03463}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bisk-2017-learning-interpretable-spatial-operations-rich/

References

39 references, from the paper's own bibliography.

  1. Andreas, J., and Klein, D. 2015. Alignment-based compositional semantics for instruction following. In Proc of EMNLP, 1165–1174. our card
  2. Andreas, J.; Rohrbach, M.; Darrell, T.; and Klein, D. 2016. Learning to compose neural networks for question answering. In Proc of NAACL, 1545–1554. our card
  3. Antol, S.; Agrawal, A.; Lu, J.; Mitchell, M.; Batra, D.; Zitnick, C. L.; and Parikh, D. 2015. VQA: Visual Question Answering. In ICCV. our card
  4. Artzi, Y., and Zettlemoyer, L. S. 2013. Weakly Supervised Learning of Semantic Parsers for Mapping Instructions to Actions. Trans ACL. our card
  5. Bird, S.; Klein, E.; and Loper, E. 2009. Natural Language Processing with Python. O'Reilly Media. OpenAlex ↗ · Scholar ↗
  6. Bisk, Y.; Marcu, D.; and Wong, W. 2016. Towards a dataset for human computer communication via grounded language acquisition. In Proceedings of the AAAI 2016 Workshop on Symbiotic Cognitive Systems, 729–732. OpenAlex ↗ · Scholar ↗
  7. Bisk, Y.; Yuret, D.; and Marcu, D. 2016. Natural language communication with robots. In Proc of NAACL, 751–761. OpenAlex ↗ · Scholar ↗
  8. Guadarrama, S.; Riano, L.; Golland, D.; Göhring, D.; Yangqing, J.; Klein, D.; Abbeel, P.; and Darrell, T. 2013. Grounding Spatial Relations for Human-Robot Interaction . In IEEE/RSJ IROS, 1640–1647. OpenAlex ↗ · Scholar ↗
  9. Harnad, S. 1990. The symbol grounding problem. Physica D 42:335 –346. OpenAlex ↗ · Scholar ↗
  10. Hochreiter, S., and Schmidhuber, J. 1997. Long short-term memory. Neural computation 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
  11. Ioffe, S., and Szegedy, C. 2015. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Bach, F., and Blei, D., eds., Proc of ICML, 448–456. OpenAlex ↗ · Scholar ↗
  12. Johnson, J.; Hariharan, B.; van der Maaten, L.; Hoffman, J.; Fei-Fei, L.; Zitnick, C. L.; and Girshick, R. 2017. Inferring and executing programs for visual reasoning. In ICCV. our card
  13. Kazemzadeh, S.; Ordonez, V.; Matten, M.; and Berg, T. L. 2014. Referitgame: Referring to objects in photographs of natural scenes. In EMNLP, 787–798. our card
  14. Kingma, D., and Ba, J. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980. our card
  15. Kollar, T.; Krishnamurthy, J.; and Strimel, G. 2013. Toward Interactive Grounded Language Acquisition. In RSS. OpenAlex ↗ · Scholar ↗
  16. LeCun, Y.; Bottou, L.; Bengio, Y.; and Haffner, P. 1998. Gradient-based learning applied to document recognition. Proceedings of the IEEE 86(11):2278–2324. OpenAlex ↗ · Scholar ↗
  17. Li, S.; Scalise, R.; Admoni, H.; Rosenthal, S.; and Srinivasa, S. S. 2016. Spatial references and perspective in natural language instructions for collaborative manipulation. In IEEE International Symposium on Robot and Human Interactive Communication. IEEE. OpenAlex ↗ · Scholar ↗
  18. MacMahon, M.; Stankiewicz, B.; and Kuipers, B. 2006. Walk the talk: Connecting language, knowledge, and action in route instructions. In AAAI, 1475–1482. OpenAlex ↗ · Scholar ↗
  19. Mao, J.; Huang, J.; Toshev, A.; Camburu, O.; Yuille, A. L.; and Murphy, K. 2016. Generation and comprehension of unambiguous object descriptions. In CVPR, 11–20. our card
  20. Matuszek, C.; Bo, L.; Zettlemoyer, L. S.; and Fox, D. 2014. Learning from Unscripted Deictic Gesture and Language for Human-Robot Interactions. In AAAI. OpenAlex ↗ · Scholar ↗
  21. Misra, D. K.; Sung, J.; Lee, K.; and Saxena, A. 2014. Tell me dave: Context-sensitive grounding of natural language to manipulation instructions. In Proceedings of RSS. OpenAlex ↗ · Scholar ↗
  22. Misra, D.; Langford, J.; and Artzi, Y. 2017. Mapping instructions and visual observations to actions with reinforcement learning. In Proc of EMNLP, 1015–1026. our card
  23. Pišl, B., and Mareček, D. 2017. Communication with robots using multilayer recurrent networks. In Proc of RoboNLP. OpenAlex ↗ · Scholar ↗
  24. Ribeiro, M. T.; Singh, S.; and Guestrin, C. 2016. Nothing else matters: Model-agnostic explanations by identifying prediction invariance. In NIPS Workshop on Interpretable Machine Learning in Complex Systems. OpenAlex ↗ · Scholar ↗
  25. Roy, D., and Reiter, E. 2005. Connecting language to the world. Artificial Intelligence 167(1-2):1–12. OpenAlex ↗ · Scholar ↗
  26. Roy, D. K. 2002. Learning visually grounded words and syntax for a scene description task. Computer speech & language 16(3-4):353–385. OpenAlex ↗ · Scholar ↗
  27. Santoro, A.; Raposo, D.; Barrett, D. G.; Malinowski, M.; Pascanu, R.; Battaglia, P.; and Lillicrap, T. 2017. A simple neural network module for relational reasoning. In Guyon, I.; Luxburg, U. V.; Bengio, S.; Wallach, H.; Fergus, R.; Vishwanathan, S.; and Garnett, R., eds., Advances in Neural Information Processing Systems 30, 4972–4981. our card
  28. Schuster, M., and Paliwal, K. K. 1997. Bidirectional recurrent neural networks. IEEE Transactions on Signal Processing 45(11):2673–2681. OpenAlex ↗ · Scholar ↗
  29. Singh, S.; Hoiem, D.; and Forsyth, D. 2016. Learning to localize little landmarks. In Proc of CVPR, 260–269. OpenAlex ↗ · Scholar ↗
  30. Steels, L., and Vogt, P. 1997. Grounding Adaptive Language Games in Robotic Agents. Proc of ALife. OpenAlex ↗ · Scholar ↗
  31. Tan, H., and Bansal, M. 2018. Source-target inference models for spatial instruction understanding. In Proceedings of the Thirty-Second Conference on Artificial Intelligence (AAAI-18). OpenAlex ↗ · Scholar ↗
  32. Tellex, S.; Kollar, T.; Dickerson, S.; Walter, M. R.; Banerjee, A. G.; Teller, S.; and Roy, N. 2011. Understanding natural language commands for robotic navigation and mobile manipulation. In In Proceedings of the National Conference on Artificial Intelligence (AAAI). OpenAlex ↗ · Scholar ↗
  33. Thomason, J.; Zhang, S.; Mooney, R.; and Stone, P. 2015. Learning to interpret natural language commands through human-robot dialog. In IJCAI, 1923–1929. OpenAlex ↗ · Scholar ↗
  34. Thomason, J.; Sinapov, J.; Svetlik, M.; Stone, P.; and Mooney, R. 2016. Learning multi-modal grounded linguistic semantics by playing “I spy”. In IJCAI, 3477–3483. OpenAlex ↗ · Scholar ↗
  35. Thomason, J.; Padmakumar, A.; Sinapov, J.; Hart, J.; Stone, P.; and Mooney, R. J. 2017. Opportunistic active learning for grounding natural language descriptions. In CoRL. OpenAlex ↗ · Scholar ↗
  36. Wang, S. I.; Ginn, S.; Liang, P.; and Manning, C. D. 2017. Naturalizing a programming language via interactive learning. In Proc of ACL, 929–938. OpenAlex ↗ · Scholar ↗
  37. Wang, S. I.; Liang, P.; and Manning, C. D. 2016. Learning language games through interaction. In Proc of ACL, 2368–2378. our card
  38. Winograd, T. 1971. Procedures as a representation for data in a computer program for understanding natural language. Technical Report 235, MIT. OpenAlex ↗ · Scholar ↗
  39. Yu, H., and Siskind, J. M. 2013. Grounded language learning from video described with sentences. In Proc of ACL, 53–63. OpenAlex ↗ · Scholar ↗