Elamur Research

Deep Object-Centric Representations for Generalizable Robot Learning

Paper · 2018 · Coline Devin, Pieter Abbeel, Trevor Jackson Darrell et al.

Summary

A robot can learn to pour into a mug and still fail when someone puts a different mug on the table. The arm may know how to carry out the motion, while the vision system has learned to look for the particular mug it saw during practice. Deep Object-Centric Representations for Generalizable Robot Learning asks whether a robot can reuse visual knowledge acquired from a broad collection of images, then learn from a few examples which objects matter for its current job. The aim is to make the same skill work with unfamiliar objects and to let a person adjust which objects the robot treats as interchangeable.

The authors divide visual perception into stages. A task-independent stage proposes image regions that might contain objects and describes the appearance of each region using features learned for image recognition. A task-specific stage learns which regions help predict the robot’s next movement in example trajectories. Once trained, it gives the controller the image coordinates of the highest-scoring region for each object it needs. For pouring, the key location is the mug. For sweeping, the robot needs the locations of both the object to be swept and the dustpan. The policy, which turns these locations and the current arm state into motor commands, is trained separately.

A pouring policy trained with a single brown mug in a plain scene worked with other mugs and in cluttered scenes. A policy trained from raw images worked with the training mug and another brown mug but ignored the other mugs in the comparison. The authors also changed what counted as the target. After 6 additional demonstrations with a pink mug present as a distractor, the robot chose the brown mug in 100% of the reported trials with a pink or black-and-white distractor. Attention trained only on demonstrations without distractors obtained 50% success in that comparison.

Demonstrations could also widen the range of objects the robot attended to. Adding lime and lemon examples extended attention initially focused on an orange, although cups with citrus-like colors could still confuse it. In a separate sweeping evaluation with a plastic orange and a dustpan that could start at different locations, the object-based policy succeeded in 77% of trials. A policy without images succeeded at 11% of the test positions. The findings show how reused visual features can support a new skill with little task-specific supervision for attention, and how demonstrations can change the range of appearances that a learned skill accepts.

Deep dive: Deep Object-Centric Representations for Generalizable Robot Learning

See how object proposals and a few demonstrations help a robot find the objects it needs, pour into unfamiliar mugs, and sweep fruit into a dustpan. · about 31 minutes to read

The problem and its context

Recognizing objects for a particular action

A robot that pours into a mug needs a location it can act on. In an uncluttered scene, a vision system might find a plausible vessel and the controller can bring the bottle above it. When a cup and a mug are both present, that same system also has to resolve a choice that depends on the instruction embodied by the task. For some uses, any suitable vessel might do. For others, the robot should use one particular mug. An image can contain enough information to make either distinction, while a detector trained for general recognition may group the items under the same name.

The paper illustrates the problem with a detector that assigns a higher score to a cup than to the mug the robot would need to find. In another example, the detector calls a dustpan a spoon. A second object with spoon-like features could then compete with the dustpan. A lime goes unlabeled because it falls outside the available categories. These cases point to different ways a vocabulary of object names can conflict with a manipulation task. An established category can be too broad, a nearby category can attract a misleading prediction, and a useful target can be missing from the vocabulary altogether.

Large image collections had made category-level recognition attractive because a system trained across many examples could recognize new instances of familiar classes. The paper situates that progress in the growth of training datasets, greater computing capacity, and the adoption of deep convolutional networks. It cites the classification benchmark described in the ImageNet Large Scale Visual Recognition Challenge.

Image classification and object detection provide different kinds of information. Classification predicts what an image contains. Detection also gives a location, typically a rectangle enclosing a suspected object. For manipulation, having such a rectangle is appealing because it supplies a location directly. The challenge is to preserve that advantage when the labels chosen for the detector give the robot too little freedom to define its own target. The detector in the paper’s examples draws on the categories of Microsoft COCO: Common Objects in Context.

The mismatch can come from the scene as well as the label. The paper describes the risk of domain shift, where the images a system encounters in use differ from those on which it learned. A detector can have an appropriate category in its vocabulary and still struggle if the robot’s viewpoint or surroundings differ enough from the training images. Gathering and labeling a new collection for each task would allow more control over the images and categories. It would also require substantial supervision, and a single labeled example of a failure would give little assurance that retraining would correct it.

Why learning directly from robot experience leaves a gap

The authors describe an alternative in which a robot learns from images collected while carrying out a task. A vision component can be trained together with the policy, the rule that maps observations to actions. The learning signal may come from demonstrations, from whether the task succeeds, or from the effects of the robot’s own interactions. Because the training objective concerns the action, the system can discover visual details that matter for control without having to predict a list of object names.

The distribution of robot experience then determines which visual distinctions the policy has reason to learn. If every successful pouring attempt contains the same mug, features that identify that mug may be enough to solve the training problem. The training signal offers little guidance about which of its features should carry over to another mug. The authors use pouring to explain the cost of obtaining that guidance directly. Learning a skill with a particular bottle and cup is a more restricted undertaking than collecting interactions with enough bottles and cups for the policy to recognize both categories across their variation.

Earlier robotics work also approached localization with tools such as three-dimensional representations, distinctive local keypoints, and deep networks trained to recognize individual objects. As the authors describe it, these approaches are a natural fit when the identity of a particular instance matters. They discuss prior systems that combined region proposals with local image features to search for objects during mapping, and systems that used local features to estimate the pose of specific objects for manipulation. The latter could require collecting training data for the object the robot was supposed to handle.

The paper also places its approach alongside work on learning spatial representations and predicting the results of physical interactions. These approaches give robot learning ways to extract structure from task experience. The question here is what structure can already come from a broad visual dataset, before the robot collects examples for its skill. The authors discuss learned spatial representations in connection with Deep Spatial Autoencoders for Visuomotor Learning.

Separating possible objects from useful objects

The proposed division starts with a distinction between finding plausible objects and deciding which of them matters. A region can look enough like a self-contained object to be worth passing on, even when a classifier would give it the wrong name. The robot can consider that region along with others, using a richer description of the appearance inside each box. The paper builds on the kind of proposal mechanism introduced in Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks.

The second decision can be made from the task examples. If the end of the arm consistently moves towards the mug, the location of that mug should help explain the movement. If another vessel is visible but the arm’s path does not depend on it, its location has less value for the prediction. The authors use this difference to train attention, which here means a way of scoring proposed regions and choosing where to look. A trajectory, or sequence of robot states and movements, provides supervision about which visual locations are useful without requiring a person to annotate the target in every frame.

The intended balance is to use broad visual training for similarities that should survive a change of scene, then let robot experience determine which similarities matter. The desired range can vary even for the same physical skill. Pouring into a mug is compatible with recognizing differently colored mugs until the user expects the robot to choose a particular one. A sweeping task can begin with an orange and later call for other fruit. In each case, the authors frame the desired scope as part of the task that demonstrations can help specify.

The method, step by step

From the camera to the controller

The first stage looks over the whole camera image and returns candidate rectangles. Each rectangle has a location and an appearance description. The location is simply where the rectangle lies in the image. The appearance description is a vector, a sequence of values produced by a visual network when it processes the crop inside the rectangle. Separate descriptions let the next stage ask what a crop resembles and then retrieve the coordinates of the crop it prefers.

The authors call this first stage meta-attention. It is shared across tasks and supplies the same kind of visual evidence whether the robot will pour or sweep. Task-specific attention takes over once the regions and their descriptions are available. It can use one learned scoring vector for a mug or separate vectors for the fruit and the dustpan. Each vector scores the same collection of proposals, allowing the selected rectangles to come from different parts of the scene.

The scoring vectors are trained by trying to predict movement from trajectories. During this stage, the predictor receives a weighted average of candidate coordinates, so a change in a proposal’s score can produce a gradual change in the predictor’s input. That gradual change makes it possible to train the scores through the movement prediction error. When learning and running the final control policy, the system uses the coordinates of the highest-scoring proposal for each vector. The scoring vectors stay fixed during policy learning.

Learning which objects to use for robot control

The steps in order.

Learning which objects to use for robot controlStep 1: Propose candidate regions in each image1. Propose candidate regions in each imageStep 2: Describe each crop with pretrained visual features2. Describe each crop with pretrained visual featuresStep 3: Score the regions for each task role3. Score the regions for each task roleStep 4: Average box coordinates for movement prediction4. Average box coordinates for movement predictionStep 5: Learn attention from example trajectories5. Learn attention from example trajectoriesStep 6: Select the highest-scoring box for each role6. Select the highest-scoring box for each roleStep 7: Train the controller on boxes and arm state7. Train the controller on boxes and arm state

What the region proposals contain

A region proposal network trained on MSCOCO supplies the rectangles in the experiments. Its job in this system is to put forward possible object locations. The category labels of a complete detector never become the policy’s inputs. A rectangle can therefore be useful as a proposal even if a detector’s category head would identify its contents incorrectly. The rectangle still has to cover the object adequately for later stages to benefit from it.

For each proposed rectangle, the authors take the pixels inside it as a crop and extract features from AlexNet. The convolutional part of the network can process crops of different spatial sizes. It produces feature responses across the crop, and the method averages each feature across those spatial positions. This operation, mean pooling, produces a single vector for the crop. The rectangle’s screen position remains available separately in its coordinates. The visual network was introduced in ImageNet Classification with Deep Convolutional Neural Networks.

In the implementation, the authors use the conv5 layer, yielding a 256-dimensional appearance vector. They normalize that vector to magnitude 1. Its components describe the crop using features acquired during ImageNet classification training. An attention vector can give weight to a combination of those components, which offers more freedom than selecting among the final category scores. At the same time, the scoring rule itself stays small enough to fit from the trajectories the authors collect.

Using a late convolutional layer is a deliberate choice. A category label would collapse much of the information that could distinguish objects with the same name. Raw pixels would give a small linear scoring rule a much harder job because a change in lighting, position, or appearance can change many pixel values. Pooled features from a network trained on diverse images offer an intermediate level of description. The authors motivate this choice with earlier results on transferring visual features between tasks, including OverFeat: Integrated Recognition, Localization and Detection using Convolutional Networks.

The paper denotes an object hypothesis by oⁱ, where i identifies a region in the current image. Its appearance vector is f(oⁱ), and its box coordinates are g(oⁱ). Both are properties of the same proposal. The scoring rule reads the appearance vector. The coordinate vector is what the system passes on when that proposal receives attention. This keeps recognition and localization connected without asking the policy to interpret the contents of every crop.

How the system scores a proposal

An attention vector assigns a score to each crop by taking a dot product with its normalized appearance vector. A dot product sums the products of the corresponding components. Learning the attention vector therefore amounts to learning which combinations of visual features should raise or lower the score. Different vectors can assign high scores to different kinds of regions in the same scene. The paper uses W for the matrix that holds the attention vectors and wⱼ for the vector associated with attention index j.

The paper turns the scores into probabilities with a Boltzmann distribution, also called a softmax. The following notation uses I for all proposal indices in the current image and J for all attention-vector indices. This writes the sums over the candidates and vectors to which they apply.

p(oⁱ | wⱼ) = exp(wⱼᵀ · [f(oⁱ) / ‖f(oⁱ)‖₂]) / ∑ₖ∈I exp(wⱼᵀ · [f(oᵏ) / ‖f(oᵏ)‖₂])

Here p(oⁱ | wⱼ) is the attention probability assigned to proposal oⁱ by vector wⱼ. The index i identifies the proposal being scored. The index k runs over I, the set of indices for all candidate proposals in that image, and oᵏ is the proposal at index k. The function f produces the crop’s appearance vector. The double bars with subscript ₂ denote its Euclidean length. Dividing by that length normalizes the feature vector. The superscript ᵀ marks the transpose, and the dot indicates the inner product of wⱼ with the normalized features. The function exp raises the natural exponential base to the score. The sum in the denominator adds the exponentiated scores for all proposals, making the resulting probabilities sum to one for that attention vector.

The probability measures preference among the boxes in the image. It is derived from relative scores, so a box’s weight depends on which other boxes are present. A crop can receive a different probability when a convincing distractor appears, even if the crop itself has the same feature description. Each attention vector performs this comparison independently. For sweeping, the fruit vector and the dustpan vector can assign very different probabilities to the same box.

The appearance vectors have fixed length after normalization, while the training procedure can change the length of wⱼ. For a fixed direction, increasing its length increases the differences between unequal scores. The softmax can then concentrate more of its probability on the highest-scoring boxes. The direction determines which appearance features it favors, and the magnitude lets the learned vector influence how sharply it expresses that preference. The paper also explicitly encourages concentration through a term in the training objective.

How movement teaches attention

For each attention vector, the training network needs location information in a form that can change smoothly as the scores change. The authors therefore compute the expected box coordinates under the attention probabilities. This amounts to multiplying each candidate’s coordinate vector by its probability and adding the results.

νⱼ,soft = ∑ᵢ∈I g(oⁱ) p(oⁱ | wⱼ)

The symbol νⱼ,soft is the soft location associated with attention index j. The sum runs over i in I, the set of proposal indices for the image. The term g(oⁱ) is the vector of box coordinates for region oⁱ. The scalar p(oⁱ | wⱼ) is the weight of that proposal under attention vector wⱼ. Multiplication scales each coordinate by the probability, and summation combines the weighted coordinate vectors. The suffix soft identifies the use of an average during attention training.

This location can fall between distinct proposals. If the predictor receives roughly equal evidence from a mug on each side of the scene, for example, the average coordinates can describe a region between them. The training operation still serves its purpose because movement prediction can supply a gradient through the average. Shifting probability toward one box changes the predicted location gradually. The resulting change in prediction error tells the optimizer how to adjust the visual scoring weights.

The network receives the soft locations along with the robot’s joint state and end-effector state. The end effector is the part of the arm that acts on the surroundings. Its current state helps to interpret what a target location implies for the next movement. A mug in the same image position can call for different immediate motions as the arm approaches it. The prediction network has two hidden layers with 80 units each. Its target is the next action when the trajectory records actions, or the next change in end-effector position when that is the available signal.

In pouring, a predictor can benefit from knowing where the mug is as its position changes across examples. During sweeping, the orange gives information about where the arm needs to make contact, while the dustpan helps determine which way the sweep should go. In both cases, the movement network can learn to use locations that help explain the example motions. The appearance weights are trained through the location information they provide to that network.

The paper uses kinesthetic demonstrations and trajectories collected during reinforcement learning as sources of supervision. A kinesthetic demonstration is an example in which a person physically guides the robot through the movement. The alternative uses example motions generated while training the robot itself. Neither source requires a sequence of target boxes drawn by hand. The movement is what the predictor is asked to explain, and attention determines which parts of the image contribute location information.

When the relevant object is known beforehand, the authors can initialize attention with an example crop. The crop provides a starting point for the visual preference before the trajectory objective refines it. This is especially helpful to understand in the distractor experiments. An example crop can tell the system roughly what to look for, while the demonstrations supply evidence about which similar objects should count as targets under the task.

Encouraging the training distribution to pick a box

The paper adds an entropy penalty to the movement prediction training. Entropy measures how spread out a probability distribution is. A vector that assigns meaningful probability to many competing proposals has higher entropy than one that concentrates its weight on a single region. Penalizing entropy helps make the averaged coordinates correspond more closely to the coordinates of an actual proposal.

ℒₑₙₜ(W) = ∑ⱼ∈J ∑ᵢ∈I [−p(oⁱ | wⱼ) log p(oⁱ | wⱼ)]

The symbol ℒₑₙₜ names the entropy penalty, and W collects the attention vectors. The outer sum runs over j in J, the indices of those vectors. The inner sum runs over proposal indices i in I. For each proposal oⁱ, p(oⁱ | wⱼ) is its attention probability under vector wⱼ. The function log is the logarithm. The minus sign gives the usual non-negative entropy contribution, and the two sums add these contributions across the proposals and vectors.

The movement objective and the entropy penalty do different jobs. Movement prediction provides a reason to choose locations that explain a trajectory. The entropy penalty favors making that choice sharply. A sharply chosen box can still be wrong for the task, so the penalty on its own would give no basis for finding the mug, orange, or dustpan. The authors optimize the network with the method described in Adam: A Method for Stochastic Optimization.

Switching to a location the policy can act on

After training attention, the system selects the box with the highest score for each attention vector. The paper calls this hard attention. The policy receives those actual box coordinates in place of the averaged coordinates used by the movement predictor. Other regions can affect which proposal wins. Once the choice is made, their coordinates have no direct contribution to the policy input.

For the robot experiments, the authors use guided policy search. They learn local controllers for particular task configurations, which in this case correspond to different object locations. These controllers are time-varying and linear-Gaussian. They describe controls with a linear dependence on state and a Gaussian distribution, with the controller parameters allowed to change over the course of the movement. The resulting local behavior supplies training examples for a single policy through supervised learning. This policy is intended to handle the different configurations with one set of parameters.

The policy takes the selected box coordinates together with the arm’s joint angles, joint velocities, end-effector positions, and end-effector velocities. Its four hidden layers contain 80 units apiece, and it produces torque outputs for all seven joints of the PR2 used in the experiments. Those torques are the commands that drive the arm. Attention supplies an estimate of where the relevant objects are in the image, while the policy learns how to use that information to move the arm.

The movement predictor and the policy thus use related information for distinct purposes. The movement predictor is a way to train attention from examples. The policy learns how to carry out the skill using the selected regions and the robot state. The authors present guided policy search as their choice for the experiments and describe the visual representation as compatible with other reinforcement learning algorithms. They make their implementation available as a stand-alone ROS package named objectattention.

Experiments and results

What the robot had to demonstrate

The real-robot evaluation asks whether selected box coordinates supply enough information for control and whether those coordinates continue to track useful objects when the scene changes. The tasks separate several versions of that question. In pouring, the target can be a new instance of a familiar kind of object. A more selective version of pouring asks the robot to keep using its original target in the presence of a convincing alternative. Sweeping tests whether the robot can use separate locations for objects with different roles.

The experiments also involve different sources of training data. The proposal and appearance networks draw on general visual datasets. Attention is learned from short collections of task trajectories. The control policies are acquired through guided policy search. This distinction matters when interpreting claims about data efficiency. The paper’s statement that the total number of provided trajectories stays below the stated threshold of less than 15 concerns the examples used to focus attention. It does not count the generic image collections or all of the robot experience used to learn control.

Pouring with an unfamiliar mug

For the pouring task, the robot must place a bottle so that its contents fall into a mug. The global control policy receives no separately supplied mug position. It has to use its visual input to choose where to pour. To train the object-based policy, the authors used one brown mug in a plain setting, then tested the policy across mug locations with mugs that included some unseen during training.

The bottle held almonds for evaluation. A rollout, meaning an attempt to execute the policy, counted as a success when more almonds went into the mug than were spilled. The authors varied the mug’s position across eight rollouts in uncluttered settings and three rollouts in cluttered settings. This definition measures the physical outcome of the maneuver. It allows a successful attempt to include some spillage, and a correct visual selection can still end in a failed pour if the arm places the bottle poorly.

The comparison policy learns from raw images and uses a spatial softmax architecture. A spatial softmax converts activation scores across image positions into weights, allowing the control system to use spatial information learned from the image. The comparison also uses visual pretraining. The paper notes ImageNet pretraining for its first convolutional layer and describes pretraining the convolutional layers to detect the training mug with 2000 labeled images. The comparison therefore involves different ways of using visual supervision for control.

The raw-image policy handled the training mug and another brown mug. According to the paper, it ignored the other mugs in the evaluation. The object-based policy succeeded with a wider range of mug appearances and worked in cluttered settings. This is evidence of transfer across mug instances in the tested task. The unchanged operation is pouring. The change the visual system has to absorb is the appearance of the vessel, along with differences in the scene.

The no-vision pouring baseline was trained without image features. Its behavior amounts to pouring towards the average of the target positions encountered during training. Its low performance shows why an arm trajectory aimed at a typical location is inadequate when the mug can move. The paper presents the per-condition pouring comparison in a figure and describes its main outcomes in words. The numerical comparisons below concern conditions for which the paper states values in the text.

The authors also report what happened when all four mugs were visible together. The policy selected the pink mug even though the attention had been trained with the brown mug. That observation illustrates that a new mug can become a stronger match for the scoring vector than the original. It also sets up a distinct evaluation question. Once several boxes look plausible, can demonstrations teach the robot which object it is meant to favor?

Keeping the brown mug as the target

The authors changed the pouring demonstrations so that a pink mug was present while the robot continued to perform the skill with the brown mug. They used 6 additional demonstrations to refine attention. The distinction between the mugs was conveyed by how the demonstrated arm movement related to their locations. The brown mug still explained the motion, while the pink mug was present without serving as the destination.

At test time, the refined attention led the policy to pour into the brown mug with either the pink mug or a black-and-white mug present. The reported correct-mug success was 100% in these distractor conditions. Attention trained only on demonstrations without distractors achieved 50% success in the comparison. The paper reports that the original attention preferred the pink mug over the brown one when the pink mug competed with it. The black-and-white mug also provides an example of a distractor outside the specific contrast introduced during the additional demonstrations.

Correct-mug success in pouring trials with mug distractors

Demonstrations with a distractor improved selection of the brown target mug.

Correct-mug success in pouring trials with mug distractorsAttention trained without distractors: 50Attention trained without distractors50Attention refined with a distractor (this paper): 100Attention refined with a distractor(this paper)100
The numbers
System or settingsuccess %
Attention trained without distractors50
Attention refined with a distractor (this paper)100

The change concerns the training of attention. The target criterion in this evaluation is stricter than accepting a successful pour into whichever mug receives the top score. The robot is expected to choose the brown mug. This is why the result tests customization of the visual representation as well as control of the bottle.

Expanding attention from an orange to other citrus

The authors also ask whether the same training procedure can make attention less selective. They begin with attention initialized to the appearance of an orange. They then demonstrate the task with a lime and a lemon so that locations corresponding to those appearances can help explain the movement as well. After refinement, the attention covered the lime and lemon shown in the demonstrations in addition to the orange.

The resulting sweeping policy tolerated an apple, an apricot, and a purple cup as distractors. Orange and green cups confused it. The authors suggest the round bases and the citrus-like colors of those cups may have contributed to their appearance as plausible targets. This explanation is their interpretation of the observed errors. The experiment is reported qualitatively, with the behavior described for these objects and illustrated through examples of the attended regions.

The citrus example uses the same adaptation mechanism as the selective pouring test. The demonstrations establish a different relationship between variation and movement. When an object is carried through the examples as an alternative target, its location becomes useful to predict the movement. When it appears only alongside the target, its presence gives the scoring rule a chance to learn a more selective preference.

Sweeping with a moving fruit location and dustpan location

The sweeping task requires the robot to move a plastic orange into a dustpan. The orange and dustpan can each start in different positions. This creates a geometric dependency between them. The robot’s approach needs to account for the orange’s position, and the sweep needs to send it towards wherever the dustpan is placed. The orange can also change appearance as it rolls, complicating visual selection during the motion.

Ten kinesthetic demonstrations were collected for learning the pair of attention vectors. The vectors were initialized from example crops of the relevant objects. One attended to the orange, and the other attended to the dustpan. The policy therefore received a separate image location for each, letting it learn actions that depend on their arrangement.

The object-based policy put the orange into the dustpan in 77% of trials. The no-images baseline succeeded at 11% of the test positions. The authors also report that the policy handled distractors and could sweep into a dustpan held by a person. The latter is a reported example of successful behavior under a changed scene arrangement.

Sweeping success on the robot test positions

The policy using the orange and dustpan locations succeeded more often than the policy without images.

Sweeping success on the robot test positionsPolicy without images: 11Policy without images11Policy with object attention (this paper): 77Policy with object attention (thispaper)77
The numbers
System or settingsuccess %
Policy without images11
Policy with object attention (this paper)77

The sweeping result measures completion of the physical maneuver. The attended boxes shown by the authors help explain what information the policy received. The success percentages tell whether that information was usable for the action, including the approach and the motion that sent the orange into the dustpan. They are separate from the correct-mug percentages because the targets, test arrangements, and success criteria differ.

What the ablations show

What the baseline comparisons isolate

The paper offers controlled comparisons and qualitative analyses around the complete method. Its direct removal of visual input is the closest comparison to a component ablation, where a part of a system is removed to test its contribution. In pouring, the no-vision policy behaves as if the target were at an average location. It gives the experiment a reference for how far the robot can get on experience with the training positions alone. The comparison helps establish that the camera is providing information the task actually needs.

In sweeping, the same kind of comparison is especially relevant because the target of the sweep and the object being moved can change independently. A policy without images can make a useful movement at favorable arrangements, which is consistent with the successes reported for that baseline. A policy that receives the two selected locations can adapt its movement to the observed arrangement. This comparison tests the value of the available visual input as a whole. Its design gives no separate estimate of how much each of the two locations contributes.

The raw-image comparison addresses a different question. Both policies can use images, and the raw-image policy learns a functioning behavior for the training mug. The differences become pronounced when the test calls for recognizing another mug as a suitable destination. This supports the authors’ argument that the visual representation used to learn the skill influences which new objects the policy can handle. The new mug is a test of what the system preserves across appearances after it has already learned the basic motor task.

Several design choices change together in that comparison. The object-based system uses a region proposal stage, pooled features from a late classification layer, and a task-specific scoring rule whose selected coordinates reach the policy. The raw-image system has a different perception architecture and pretraining setup. The comparison therefore supports the combined design in the tested setting. It does not yield separate effect estimates for the proposals, the feature depth, or the way locations reach the controller.

What changes when the demonstrations change

The selective pouring experiment is a closer probe of the task-specific training. The authors leave the generic visual machinery available and change what the attention learns from its examples. The added demonstrations make two plausible objects visible together while only one predicts the movement. The resulting improvement in correct-mug selection shows that attention can use this evidence to narrow its preference, even though its underlying appearance features were acquired for general image classification.

The result with the black-and-white distractor makes the comparison more informative. The added demonstrations featured the pink mug, while the evaluation also asked the robot to keep using the brown mug beside another distractor. The adapted attention succeeded in both reported conditions. That outcome is consistent with the scoring vector learning a stronger preference for features of the brown target, rather than only responding to the presence of the pink mug in a specific scene. The experiments establish the observed choices without identifying which appearance features carried the distinction.

The citrus exercise changes the examples in the opposite direction. A lime and a lemon become relevant in the demonstration data, giving the attention weights an incentive to accept visual features that the orange initialization did not already cover. The qualitative comparison before and after refinement shows that the attended region can move to these additional appearances. Because the lime and lemon were in the demonstrations, the result chiefly shows that the task’s accepted appearances can be expanded from examples.

The colored-cup errors show what that expansion permits. A broader preference can rank an unintended crop highly when its features resemble those associated with the desired objects. The line the attention draws depends on the visual features and on the contrasts present in the trajectories. Distractors of very different appearance may be easy to disregard, while an object a person would put in an entirely different category can share enough visual evidence to compete for attention.

What the visual examples explain

The paper shows proposal boxes and selected boxes together. These images let a reader inspect the path between the visual input and the control policy. When the proposal stage returns many regions, task-specific attention reduces them to coordinates relevant to the action. In sweeping, the boxes show the distinct locations supplied by the two attention vectors. This depicts how a single image can provide inputs for the orange and dustpan roles at once.

Such examples help distinguish a failure to propose a useful rectangle from a failure to rank a useful rectangle highly. The complete system can fail at either point. A poor proposal gives the later stage little to work with. A well-placed proposal can also lose to an attractive distractor. The paper illustrates selected regions and describes concrete successes and confusions, while its headline metrics measure the entire behavior from image to physical action.

Hard attention supplies a plausible explanation for the reported clutter tolerance. Once the correct box wins, the policy gets its coordinates without an average over unrelated boxes. The same rule makes a selection error consequential because a distractor that wins supplies the policy’s location instead. The paper uses soft coordinates during attention training and hard coordinates for control. It does not report a matched control evaluation of soft against hard selection, or a run that removes the entropy penalty to isolate its contribution.

The authors’ strongest evidence for adaptability comes from changing demonstrations while keeping the shared features. The strongest evidence for transfer to unfamiliar mugs comes from the full-system comparison with raw-image control. The no-vision baselines establish the relevance of spatial information in both tasks. These comparisons answer different questions, which is why the evidence supports the overall arrangement more directly than any claim that a particular training choice alone explains the performance.

Limitations

Limits identified by the authors

The authors identify the information supplied to the controller as a central limit. The visual representation delivered to the policy is a collection of image-space bounding boxes. These boxes give the positions of selected regions in the image and describe their rectangular extent. A rectangle cannot supply a detailed account of how an object is configured. The paper points to articulated and deformable objects as examples where a policy might need to know about a part, a bend, or some other internal state that the bounding box alone fails to capture.

The authors also identify dependence on pretrained vision as a limitation. The proposal and description stages benefit from external datasets, which supply examples beyond those a robot sees while learning a skill. They require those datasets or networks trained on them. The small number of trajectories for learning attention measures how much new task-specific supervision is needed after that prior visual work has been done. The paper’s approach makes use of that work without claiming that the visual competence emerges from the robot examples alone.

A further limitation is the staged training procedure. Proposals learn from existing visual data, attention learns from trajectories, and the policy learns from robot experience. The authors propose refining the entire system end to end as future work, particularly for tasks where the controller needs more subtle visual information. The reported experiments use the staged procedure. They leave open how much joint refinement would improve performance and how it would affect the cross-instance behavior of the pretrained features.

Limits visible in the evaluation

The generalization established by the experiments is concentrated in visual changes within the tested manipulation tasks. The mugs vary, and scenes can contain clutter, while the learned behavior still consists of positioning the bottle to pour. The sweeping examples show changes in the fruit or in the placement of the orange and dustpan within a familiar skill. A mug can also have physical properties that alter how it should be handled, and a different sweeping object can respond differently to contact. The reported tests give evidence about visual selection and the resulting actions under their particular conditions. They leave more extensive changes in object mechanics and task demands unresolved.

The evaluation of unfamiliar mugs uses a small number of rollouts per environment, with fewer attempts in the cluttered settings. A result under one arrangement can depend on the proposal, the attention choice, and the arm’s execution. The trials establish working examples of transfer and the reported pattern relative to the baselines. They offer limited information about how often these outcomes would recur across a much wider sample of mugs, backgrounds, and placements.

The distractor test likewise supports a bounded conclusion. The reported 100% is correct-mug success under the tested conditions with a pink or black-and-white mug present. It provides concrete evidence that attention could be narrowed with the added demonstrations. Other distractors could share features with the brown mug that the training examples never required the scoring vector to distinguish. The citrus failure illustrates this kind of gap directly, since the cups could compete despite belonging to a different everyday category.

The evaluation also uses outcome metrics that combine perception and action. Missing the mug or failing to get the orange into the dustpan can arise from several points in the pipeline. A useful box can be absent, an unsuitable box can receive the top score, or the controller can execute a poor movement given a reasonable selection. Conversely, success shows that the complete system found and used enough information in that trial. The visual examples indicate where attention landed in particular scenes, while the task scores leave the frequency of each failure mechanism open.

Limits of choosing among proposals

Because task-specific attention scores only the returned proposals, it cannot recover a target location that the proposal network failed to offer. A loosely placed box can also constrain localization precision even if its crop looks convincingly like the target. This follows from the design. The appearance vector determines which proposal to choose, and the coordinates delivered to the controller are the coordinates attached to that proposal. Their quality depends on the shared proposal stage as well as the task-specific preference.

The described selection rule chooses the best available region for each vector. The paper describes no separate decision for an absent target. A scene with several plausible objects can therefore have a clear winner under the scoring rule even when the task would call for withholding action. The experiments deal with choosing among candidates in scenes containing the objects needed for the skill, so handling missing targets remains outside the demonstrated behavior.

The use of a linear score on crop appearance fits tasks in which a relevant object can be recognized by how it looks. It gives the robot a flexible preference over region features, as the mug and citrus experiments show. A task can also define its object relationally, for example by requiring a choice that depends on where another object lies. In the reported sweeping setup, separate attention vectors select the fruit and the dustpan independently, and the policy uses both locations to determine the movement. The results thus establish that the controller can act on their relative configuration after they have been selected. How to select a target whose identity itself depends on relationships in the scene remains open.

The trajectory signal also supplies indirect supervision. A region can help predict movement because it tends to appear near the true target. If the two locations move together throughout training, prediction alone offers little basis for deciding which is genuinely necessary for executing the skill. The added pink mug is useful precisely because it supplies a plausible alternative whose location does not explain the demonstrated movement. The paper shows how deliberate changes to demonstrations can resolve such a choice in the tested case. It does not establish that a small collection of trajectories will resolve every ambiguity about what the person intended.

What came after

A later paper citing this work is Object-Centric Learning with Slot Attention. Its title places attention at the center of another approach to learning object-centered representations. The shared question is how a visual system can organize a scene around individual objects. The robot-learning paper gives that question a specific practical form by using attention to select regions whose locations help explain demonstrated movements.

The citation connects the papers at the level of object-centric learning and attention. It does not establish that the later work reused the robot paper’s region proposal network, trajectory prediction objective, or controller. The documented connection is the interest in making individual objects available as units of a learned representation. In the robot experiments, those units have a clear purpose after selection. Their image coordinates let the controller use a learned skill with objects whose appearance or location can change.

Cite

Cite as Coline Devin, Pieter Abbeel, Trevor Jackson Darrell and Sergey Levine. 2018. Deep Object-Centric Representations for Generalizable Robot Learning. Proceedings - IEEE International Conference on Robotics and Automation/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1109/icra.2018.8461196 · arXiv 1708.04225

@inproceedings{devin2018deep,
  title = {{Deep Object-Centric Representations for Generalizable Robot Learning}},
  author = {Coline Devin, Pieter Abbeel, Trevor Jackson Darrell and Sergey Levine},
  booktitle = {Proceedings - IEEE International Conference on Robotics and Automation/Proceedings},
  year = {2018},
  doi = {10.1109/icra.2018.8461196},
  eprint = {1708.04225},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/icra.2018.8461196}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/devin-2018-deep-object-centric-representations-generalizable/

References

34 references, from the paper's own bibliography.

  1. O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, et al., “Imagenet large scale visual recognition challenge,” International Journal of Computer Vision, vol. 115, no. 3, pp. 211–252, 2015. our card
  2. K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition. corr abs/1512.03385 (2015),” 2015. our card
  3. T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick, “Microsoft coco: Common objects in context,” in European conference on computer vision. 1em plus 0.5em minus 0.4em Springer, 2014, pp. 740–755. our card
  4. M. Jaderberg, V. Mnih, W. M. Czarnecki, T. Schaul, J. Z. Leibo, D. Silver, and K. Kavukcuoglu, “Reinforcement learning with unsupervised auxiliary tasks,” arXiv preprint arXiv:1611.05397, 2016. our card
  5. V. Mnih, A. P. Badia, M. Mirza, A. Graves, T. Lillicrap, T. Harley, D. Silver, and K. Kavukcuoglu, “Asynchronous methods for deep reinforcement learning,” in International Conference on Machine Learning, 2016, pp. 1928–1937. OpenAlex ↗ · Scholar ↗
  6. S. Daftry, J. A. Bagnell, and M. Hebert, “Learning transferable policies for monocular reactive mav control,” in International Symposium on Experimental Robotics. 1em plus 0.5em minus 0.4em Springer, 2016, pp. 3–11. OpenAlex ↗ · Scholar ↗
  7. H. Xu, Y. Gao, F. Yu, and T. Darrell, “End-to-end learning of driving models from large-scale video datasets,” in Computer Vision and Pattern Recognition, 2016. OpenAlex ↗ · Scholar ↗
  8. L. Pinto, D. Gandhi, Y. Han, Y.-L. Park, and A. Gupta, “The curious robot: Learning visual representations via physical interactions,” in European Conference on Computer Vision. 1em plus 0.5em minus 0.4em Springer, 2016, pp. 3–18. OpenAlex ↗ · Scholar ↗
  9. L. Pinto and A. Gupta, “Supersizing self-supervision: Learning to grasp from 50k tries and 700 robot hours,” in Robotics and Automation (ICRA), 2016 IEEE International Conference on. 1em plus 0.5em minus 0.4em IEEE, 2016, pp. 3406–3413. OpenAlex ↗ · Scholar ↗
  10. S. Levine, P. Pastor, A. Krizhevsky, and D. Quillen, “Learning hand-eye coordination for robotic grasping with deep learning and large-scale data collection,” in International Symposium on Experimental Robotics (ISER 2016), 2016. OpenAlex ↗ · Scholar ↗
  11. C. Finn, S. Levine, and P. Abbeel, “Guided cost learning: Deep inverse optimal control via policy optimization,” in International Conference on Machine Learning, 2016, pp. 49–58. OpenAlex ↗ · Scholar ↗
  12. J. Bohg, K. Hausman, B. Sankaran, O. Brock, D. Kragic, S. Schaal, and G. S. Sukhatme, “Interactive perception: Leveraging action in perception and perception in action,” IEEE Transactions on Robotics, 2017. OpenAlex ↗ · Scholar ↗
  13. T. Schmidt, K. Hertkorn, R. Newcombe, Z. Marton, M. Suppa, and D. Fox, “Depth-based tracking with physical constraints for robot manipulation,” in Robotics and Automation (ICRA), 2015 IEEE International Conference on. 1em plus 0.5em minus 0.4em IEEE, 2015, pp. 119–126. OpenAlex ↗ · Scholar ↗
  14. S. Hinterstoisser, S. Holzer, C. Cagniart, S. Ilic, K. Konolige, N. Navab, and V. Lepetit, “Multimodal templates for real-time detection of texture-less objects in heavily cluttered scenes,” in Computer Vision (ICCV), 2011 IEEE International Conference on. 1em plus 0.5em minus 0.4em IEEE, 2011, pp. 858–865. OpenAlex ↗ · Scholar ↗
  15. D. G. Lowe, “Distinctive image features from scale-invariant keypoints,” International journal of computer vision, vol. 60, no. 2, pp. 91–110, 2004. OpenAlex ↗ · Scholar ↗
  16. D. Held, S. Thrun, and S. Savarese, “Robust single-view instance recognition,” in Robotics and Automation (ICRA), 2016 IEEE International Conference on. 1em plus 0.5em minus 0.4em IEEE, 2016, pp. 2152–2159. OpenAlex ↗ · Scholar ↗
  17. S. Ren, K. He, R. Girshick, and J. Sun, “Faster r-cnn: Towards real-time object detection with region proposal networks,” in Advances in neural information processing systems, 2015, pp. 91–99. our card
  18. K. He, G. Gkioxari, P. Dollár, and R. Girshick, “Mask r-cnn. arxiv preprint,” arXiv preprint arXiv:1703.06870, 2017. OpenAlex ↗ · Scholar ↗
  19. S. Ekvall, D. Kragic, and P. Jensfelt, “Object detection and mapping for service robot tasks,” Robotica, vol. 25, no. 2, pp. 175–187, 2007. OpenAlex ↗ · Scholar ↗
  20. T. Kawanishi, H. Murase, and S. Takagi, “Quick 3d object detection and localization by dynamic active search with multiple active cameras,” in Pattern Recognition, 2002. Proceedings. 16th International Conference on, vol. 2. 1em plus 0.5em minus 0.4em IEEE, 2002, pp. 605–608. OpenAlex ↗ · Scholar ↗
  21. A. Collet, D. Berenson, S. S. Srinivasa, and D. Ferguson, “Object recognition and full pose registration from a single image for robotic manipulation,” in Robotics and Automation, 2009. ICRA'09. IEEE International Conference on. 1em plus 0.5em minus 0.4em IEEE, 2009, pp. 48–55. OpenAlex ↗ · Scholar ↗
  22. J. Tang, S. Miller, A. Singh, and P. Abbeel, “A textured object recognition pipeline for color and depth image data,” in Robotics and Automation (ICRA), 2012 IEEE International Conference on. 1em plus 0.5em minus 0.4em IEEE, 2012, pp. 3467–3474. OpenAlex ↗ · Scholar ↗
  23. S. Levine, C. Finn, T. Darrell, and P. Abbeel, “End-to-end training of deep visuomotor policies,” Journal of Machine Learning Research (JMLR), 2016. OpenAlex ↗ · Scholar ↗
  24. A. Ghadirzadeh, A. Maki, D. Kragic, and M. Björkman, “Deep predictive policy training using reinforcement learning,” arXiv preprint arXiv:1703.00727, 2017. OpenAlex ↗ · Scholar ↗
  25. C. Finn, X. Y. Tan, Y. Duan, T. Darrell, S. Levine, and P. Abbeel, “Deep spatial autoencoders for visuomotor learning,” in Robotics and Automation (ICRA), 2016 IEEE International Conference on. 1em plus 0.5em minus 0.4em IEEE, 2016, pp. 512–519. our card
  26. P. Agrawal, A. V. Nair, P. Abbeel, J. Malik, and S. Levine, “Learning to poke by poking: Experiential learning of intuitive physics,” in Advances in Neural Information Processing Systems, 2016, pp. 5074–5082. our card
  27. C. Finn and S. Levine, “Deep visual foresight for planning robot motion,” in International Conference on Robotics and Automation (ICRA), 2017. OpenAlex ↗ · Scholar ↗
  28. K. Simonyan and A. Zisserman, “Two-stream convolutional networks for action recognition in videos,” in Advances in neural information processing systems, 2014, pp. 568–576. OpenAlex ↗ · Scholar ↗
  29. P. Sermanet, D. Eigen, X. Zhang, M. Mathieu, R. Fergus, and Y. LeCun, “Overfeat: Integrated recognition, localization and detection using convolutional networks,” arXiv preprint arXiv:1312.6229, 2013. our card
  30. D. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014. our card
  31. A. Krizhevsky, I. Sutskever, and G. E. Hinton, “Imagenet classification with deep convolutional neural networks,” in Advances in neural information processing systems, 2012, pp. 1097–1105. our card
  32. S. Levine and P. Abbeel, “Learning neural network policies with guided policy search under unknown dynamics,” in Advances in Neural Information Processing Systems, 2014, pp. 1071–1079. OpenAlex ↗ · Scholar ↗
  33. E. Theodorou, J. Buchli, and S. Schaal, “A generalized path integral control approach to reinforcement learning.” JMLR, vol. 11, 2010. OpenAlex ↗ · Scholar ↗
  34. J. Peters, K. Mülling, and Y. Altun, “Relative entropy policy search,” in AAAI, 2010. OpenAlex ↗ · Scholar ↗