Go To:

Paper Title Paper Authors Table Of Contents Abstract References
Home
Report a problem with this paper

Rearrangement: A Challenge for Embodied AI

Authors

  • Dhruv Batra
  • A. Chang
  • S. Chernova
  • A. Davison
  • Jun Deng
  • V. Koltun
  • Sergey Levine
  • J. Malik
  • Igor Mordatch
  • R. Mottaghi
  • M. Savva
  • Hao Su
  • ArXiv
  • 2020
  • View in Semantic Scholar

Abstract

We describe a framework for research and evaluation in Embodied AI. Our proposal is based on a canonical task: Rearrangement. A standard task can focus the development of new techniques and serve as a source of trained models that can be transferred to other settings. In the rearrangement task, the goal is to bring a given physical environment into a specified state. The goal state can be specified by object poses, by images, by a description in language, or by letting the agent experience the environment in the goal state. We characterize rearrangement scenarios along different axes and describe metrics for benchmarking rearrangement performance. To facilitate research and exploration, we present experimental testbeds of rearrangement scenarios in four different simulation environments. We anticipate that other datasets will be released and new simulation platforms will be built to support training of rearrangement agents and their deployment on physical systems.

1. Introduction

Embodied AI is the study and development of intelligent systems with a physical or virtual embodiment. Over the past few years, significant advances have been made in developing intelligent agents that can navigate in previously unseen environments. These advances have been accelerated by dedicated software platforms [44, 61, 75, 62] and clear experimental protocols [1, 4] . Navigation research is

The authors are listed in alphabetical order. thriving in part due to healthy infrastructure and experimental methodology.

An exciting frontier for Embodied AI research concerns interaction and contact between the agent and the environment: tasks that call on the agent to actively engage with and modify the environment in order to accomplish its goals. A number of software platforms support such interaction scenarios [37, 44, 62, 76, 28] . These software platforms simulate realistic onboard perception and in some cases the physical dynamics of the agent, environment, and their interaction.

One missing ingredient is a clear task definition that can span different software platforms and catalyze coordinated accumulation of knowledge and ability across research groups. Clear task definitions and evaluation metrics are essential in the common task framework, which is substantially responsible for progress in computer vision and natural language processing [22] .

In computer vision, standard tasks such as image classification and object detection have facilitated the development of foundational techniques and architectures that have enriched the whole field [23, 59] . Language modeling and machine translation have served a similar role in natural language processing [69, 70, 2, 73] . In both fields, these standard tasks focus the development and validation of new representations and algorithms, and serve as a source of trained models that can be transferred to other tasks, as with convolutional backbones pretrained for image classification [35] , object detectors [58, 34] , and transformers pretrained on natural language [20, 57, 77, 11] . Goal state Current state Task Specification Figure 1 . Object rearrangement example. The goal and the current state of the scene are shown in the left and right images, respectively. The agent is required to move objects (e.g., chair) or change their state (e.g., close the fridge) to recover the goal configuration. The rightmost panel shows different ways of specifying the rearrangement task.

Figure 1. Object rearrangement example. The goal and the current state of the scene are shown in the left and right images, respectively. The agent is required to move objects (e.g., chair) or change their state (e.g., close the fridge) to recover the goal configuration. The rightmost panel shows different ways of specifying the rearrangement task.

In this report, we develop a task definition that can likewise align and accelerate research in Embodied AI. The task is rearrangement: Given a physical environment, bring it into a specified goal state. Figure 1 provides an example. We propose rearrangement as a canonical task for Embodied AI because it naturally unifies instances that are of clear practical interest: setting the table, cleaning the bedroom, loading the dishwasher, picking and placing orders in a fulfillment center, rearranging the furniture, and many more. Rearrangement scenarios can be defined with stationary manipulators that operate locally or with mobile systems that traverse complex scenes such as houses and apartments. Many experimental settings that have been explored in robotics can be viewed as instances of rearrangement, as well as many compelling settings that are beyond the reach of present-day systems ( Figure 2 ).

Figure 2. Examples of rearrangement tasks. Top row: examples of experimental settings in vision, robotics, and artificial intelligence that can be viewed as rearrangement tasks. From left to right: the MIT copy demo is a seminal demonstration of robotic rearrangement; the Amazon Robotics Challenge involves moving items from a shelf into a tote (image from Hernandez et al. [36]); RoboCup@Home is a longrunning robotics competition involving household tasks (image from Stuckler et al. [68]). Bottom row: people perform many rearrangement tasks that remain challenging for current robotic systems. From left to right: construction toys are a popular activity for children (image from toyhalloffame.org); setting a dining table, cleaning up a bedroom, stocking grocery shelves are all rearrangements performed by people.

We focus on rearrangement of rigid and articulated piecewise-rigid objects. This includes a broad range of interesting and challenging scenarios, as illustrated in Figure 2. In order to focus research on settings that we consider challenging but tractable in the near future, we deliberately exclude within-object transformations, such as melting (spot welding, soldering), destruction (cutting, drilling, sanding), and non-rigid dynamics (liquids, films, cloths, or ropes). Thus boiling water, chopping onions, stomping grapes, pouring coffee, making a smoothie, folding towels, ironing clothes, or making a bed are considered beyond the scope of the presented framework. We expect these scenarios to be incorporated as technology matures in the future.

Rearrangement calls upon a variety of abilities in an embodied intelligent system. Successful rearrangement can require recognizing the state of objects in the environment (is the cabinet open or closed?), inferring the differences between the current and the goal state, manipulating objects in cluttered environments (e.g., an object cannot be moved if it is blocked by another object), estimating forces required to move objects and predicting the effect of those forces, planning a sequence of actions, navigating through complex environments while maintaining a persistent internal representation, and learning the pre-conditions and postconditions of each action. Rearrangement is thus a comprehensive framework for research and evaluation in Embodied AI that subsumes component skills such as navigation and manipulation and integrates them into a broader roadmap towards embodied intelligence.

The goal state of rearrangement can be specified in different forms: geometric configuration, images of the desired state, natural language, a formal predicate-based specification, or an embodied specification that lets the system examine the environment in the goal state before being instantiated in the initial configuration. We define an evaluation protocol that can accommodate all of these specifications by evaluating predicates that score objects and object sets in terms of their compliance to the goal. A rearrangement episode receives a score between 0 and 1, enabling clear ranking of competing approaches.

We provide a number of guidelines in order to maximize the practical utility of this research program and assist subsequent deployment on physical systems. First, we emphasize the importance of acting based on perceptual input: sensing the environment with realistic sensors, rather than planning in an idealized map, configuration space, or logical abstraction. Embodied AI puts noisy and incomplete onboard perception in the control loop: this makes the development of robust systems challenging but is necessary for successful adoption in the real world. Our second key recommendation is to work either in the physical world or in physical dynamics simulation. Objects should be moved by forces, most commonly applied via contact. Lastly, we advocate prioritizing strong generalization: evaluating rearrangement agents with objects and environments that were never encountered during training, with no access Figure 2 . Examples of rearrangement tasks. Top row: examples of experimental settings in vision, robotics, and artificial intelligence that can be viewed as rearrangement tasks. From left to right: the MIT copy demo is a seminal demonstration of robotic rearrangement; the Amazon Robotics Challenge involves moving items from a shelf into a tote (image from Hernandez et al. [36] ); RoboCup@Home is a longrunning robotics competition involving household tasks (image from Stuckler et al. [68] ). Bottom row: people perform many rearrangement tasks that remain challenging for current robotic systems. From left to right: construction toys are a popular activity for children (image from toyhalloffame.org); setting a dining table, cleaning up a bedroom, stocking grocery shelves are all rearrangements performed by people.

to privileged information such as 3D models, ground-truth object poses, or perfect localization. Agents should be able to perform rearrangement tasks in previously unseen environments, the content and layout of which are accessibly solely through realistic onboard sensing.

To assist near-term research and development, we release suites of rearrangement scenarios in four simulation environments: THOR [44] , RLBench [37] , SAPIEN [76] , and Habitat [62] . We anticipate that other scenario datasets will be released and new simulation platforms will be built to support this line of work. We hope that the task specification, evaluation protocol, and broader discussion in this report will support healthy development of Embodied AI and the creation of intelligent systems that perceive, act, and accomplish increasingly long-term goals in complex physical environments.

2. Background

Rearrangement can be approached in a modular way, for example through a decomposition into submodules such as perception and planning. Here perception converts sensory input to a representation of the world, from which planning produces actions. Planning has been the subject of a long line of work in Artificial Intelligence [60] . Going back to the early days of AI, Newell and Simon [65] proposed GPS, the General Problem Solver, which could be related to even more classical work, the means-ends analysis of Aristotle. More concretely, the Shakey robot project [46] at SRI in the late 1960s led to the STRIPS [25] formulation of a plan as applying operators in sequence with each operator having its precondition, add and delete lists expressed in a logical formalism. The representation language used by STRIPS for specifying planning problems has been replaced by PDDL (Problem Domain Description Language), introduced by Ghallab et al. [31] , and there is a flourishing community with an annual conference and challenge competitions. A number of books and surveys cover this body of work [30, 32, 40] . This style of planning is sometimes called task planning to distinguish it from motion planning, which has been the subject of extensive study in robotics. The focus in motion planning is much more geometricplanning paths for moving objects while avoiding obstacles in configuration spaces. LaValle [47] is a good entry into this literature. The combination of task planning and motion planning has also been explored, for example by Kaelbling and Lozano-Pérez [39, 29] .

In the task and motion planning literature, there has been a rich body of work on 'rearrangement planning' [6, 16, 18, 21, 41, 42, 45, 63, 64, 66] , the problem of searching for a sequence of actions that transform an initial configuration of objects into some goal configuration. A variety of problem formulations exist, with different kinds of permitted transformations, such as pushing versus grasping. Such rearrangement planners usually do not directly address the problem of perception, in the sense that they do not deal with raw sensory input such as pixels; instead, they typically assume that the shape and pose of objects are already provided, possibly partially and with uncertainty.

Our point of departure from the classic task and motion planning literature is our emphasis on standardized end-toend evaluation. End-to-end evaluation measures the capability of the full system from raw sensory input to actuation. Such evaluation is agnostic to the choice of approach and internal decomposition, putting more focus on real-world perception and action, as with physical sensors and actuators on robots and in physical simulation.

We believe that standardized end-to-end evaluation is synergistic with research on task and motion planning. Many of the existing task and motion planning methods are not easily comparable to each other due to different input/output assumptions. Standardized end-to-end evaluation can shed light on the role of planning techniques in the context of a full system that must handle real perception and actuation. It also allows comparing approaches that differ in design philosophy, such as modular systems based on classic planning techniques and monolithic neural networks that directly map sensory input to actuation commands.

Our work is of course not the first to present standardized evaluation protocols or benchmarks for Embodied AI problems. A number of efforts in robotics, computer vision, and machine learning have proposed various standardized evaluation methods, including protocols for evaluating robotic grasping [52, 72, 49] , navigation [1, 4] , manipulation tasks focusing on standardized real-world object sets [13] , and competition-style setups, such as RoboCup [43, 67] and the International Planning Competition [53] , as well as simulated benchmarks focusing on specific algorithmic approaches such as reinforcement learning [5, 9, 24, 79, 26] . Our proposal addresses a need that we believe is not met by these prior works.

Our aim is to develop a framework and protocol for evaluating Embodied AI systems that is general enough to cover a wide range of different capabilities (as compared, for example, to more narrow evaluations focusing on specific tasks, such as grasping) and can compare a large variety of algorithmic approaches on the same footing. We believe that such a framework for evaluation of Embodied AI systems will empower researchers to pursue general and ambitious goals in terms of capabilities, without constraining to a specific and narrow range of approaches.

3. Rearrangement

In this section, we provide a concrete and general but application-grounded definition for rearrangement. This is followed by recommendations on agent embodiment and sensor specification. Evaluation criteria are discussed in Sec. 4.

Notation. For a set S, we will use 2 S to denote the power set (the set of all possible subsets) of S. We specify Rearrangement using the language and notation of Partially Observable Markov Decision Processes (POMDP) because this is a familiar and convenient mathematical abstraction. We do not however take any stance on approaches used to solve the problem. Let s ∈ S denote a state and state space, o ∈ O denote an observation and observation space, a ∈ A denote an action and action space, T (s t , a t , s t+1 ) = P r(s t+1 | s t , a t ) denote the transition probability, g ∈ G denote a goal and goal space, and π(a t ; g) = P r(a t | o 0 , . . . , o t−1 , a 0 , . . . , a t−1 , g) denote the agent's goal-conditioned policy.

Articulated Rigid-body POMDPs. We will restrict our attention to worlds comprising a collection of rigid bodies and kinematic trees thereof. Specifically, robots and objects are modeled as a tree of rigid parts (legs, wheels, etc.) connected via joints that determine degrees of freedom (see Section 3.3.2 in [47] for a refresher). Let SO(3) denote the special orthogonal group, the space of 3D rotations, and SE(3) = R 3 × SO(3) denote the special Euclidean group, the space of rigid-body poses (3D locations and rotations). In Rearrangement, the world state space is factorized -i.e., can be written as the Cartesian product of the rigid-body pose spaces corresponding to each of the n parts:

S = S 1 × S 2 . . . S n (1a)

where

S i = SE(3) = R 3 × SO(3) ∀i. (1b)

Notice that the expression above does not account for the constraints imposed by the joints in the kinematic chains/trees and thus not all configurations in this state space may be achievable. Finally, we note that the above state-space specification ostensibly appears to exclude a number of important variables -any form of dynamics (velocities, acceleration, etc.), physical properties (mass, friction coefficients, etc.), or any notion of time at all. However, as we describe next, the only role of this state space is to specify the problem (in terms of the initial state, goal state(s), and the goal specifications). We do not take any stand on the intermediate states that a solution to this problem may pass through.

Initial and Goal State(s). In Rearrangement, we will be concerned about two special states -1. an initial or starting state s 0 where the agent and environment find themselves at the beginning of the task, and 2. a desired goal state s * that the agent attempts to rearrange the environment into. Importantly, s * may not be unique, but is rather an element from a set of acceptable goal states, i.e. s * ∈ S * ⊆ S. The exact specification of S * will depend on the task at hand, but one convenient characterization may be via a finite set of predicates P i (•). Thus, S * is the set of states s * for which all P i (s * ) hold true (∀i).

Goal Specification. Let φ : S × 2 S → G denote a goalspecification function. Specifically, given a starting state s 0 and a set of acceptable goal states S * , this function generates the goal specification g = φ(s 0 , S * ) for the agent. Since noisy and incomplete onboard perception is a firstclass citizen in Embodied AI, the agent will typically not have access to the state space or any goal state s * . Instead, the agent must operate solely from observations o and goal specification g. Note that this emphasis on partial visibility is only for the agent; the 'experiment designer' will typically have access to S * and use it for evaluation (and potentially training of the agent). This is a reasonable assumption for experiments conducted in simulation but may be infeasible for real hardware experiments.

Rearrangement Task Definition. With this notation in place, we can formally define Rearrangement.

Given a goal specification g = φ(s 0 , S * ), an agent must transform an environment from an initial starting state s 0 to a goal state s * ∈ S * , operating purely based on sensory observations o ∈ O.

This abstract definition covers many aforementioned examples as special cases, instantiated by picking appropriate choices of state, observation, and action space, and a goal specification. For instance, the state space in setting the table, cleaning the bedroom, loading the dishwasher, picking and placing orders in a fulfillment center, and rearranging the furniture can all be defined (to a first degree of approximation) as the product space of rigid-body pose spaces corresponding to each object.

We now describe a number of goal specification mechanisms.

• GeometricGoal. Consider a single object to be moved/rearranged. In this setting, g provides a geometric specification of the transformation that this object undergoes from s 0 to s * . This could be at various levels of detail -(e.g. the coordinates of the center of mass of the object in the goal state relative to the start state), via 3D bounding box transformations (e.g. coordinates of an axis-aligned or oriented bounding box around the object in the goal state in the coordinate system of the object in the start state), or via a full rigid-body pose transformations for articulated objects. In multi-object rearrangement, g can be a tuple of geometric configurations of each object to be moved. Note that g is likely to be much lower-dimensional than s, i.e. not all objects, agents, or places in the environment may be specified in the goal g.

• ImageGoal. In this setting, g provides a visual rendering or representation of s * , e.g. a 3rd person (say overhead, orthographic, perspective or isometric) image of the environment in the goal state. While this is a convenient and informative way to specify the goal state -simply by taking a picture -it is important to note that a goal image may be underspecified. For instance, if certain objects are not visible in the image goal, there are multiple possible valid goal placements where they may be out of view. A goal image may also limit our ability to specify that we want certain objects to be placed or contained inside other objects. One natural generalization of ImageGoal is VideoGoal, where the agent receives a sequence of images depicting the goal state. The camera pose corresponding to these images could be strategically chosen by the experiment designer to disambiguate the underspecification associated with ImageGoal.

• LanguageGoal. In this setting, g provides a linguistic description of the environment in the goal state (e.g. 'move the chair to the right of the sofa', 'move the blue block to the right edge of the table'). Note that language is typically underspecified and there may be several goal states that fulfill a given language goal. This will require care in evaluation.

• ExperienceGoal. In this setting, we side-step the problem of designing a goal specification function φ(•) by immersing the agent in the environment in the goal condition s * (under a time/interaction budget) and letting the agent build whatever representation it deems appropriate to bring the environment back to this state. Thus, the goal is essentially to 'make it like it was before'. This captures the scenario of asking a home robot to clean up the kitchen after a particularly messy session, where the robot has already experienced the kitchen in the clean state. This idea may be generalized by also immersing the agent in 'non-goal' environments, so that it can distinguish between important and unimportant attributes of the environment.

• PredicateGoal. In this setting, g is a set of predicates that should be satisfied in the goal state (e.g. on(plate1, table1)). A PredicateGoal can be precisely specified and evaluated by defining the predicates (e.g. supported by, inside, is on), the symbols on which they act (e.g. plate, pizza, table, microwave), and their grounding to objects and relations. Symbols should map to objects or sets of objects, and each predicate should be evaluated by a func- Figure 3 . Magic pointer abstraction in Habitat [62] (left), using a mouse pointer, and AI2-THOR [44] (right) using a raycast from the camera origin to the point of interaction (cyan markings are just for visualization purposes and not visible to the agent).

Figure 3. Magic pointer abstraction in Habitat [62] (left), using a mouse pointer, and AI2-THOR [44] (right) using a raycast from the camera origin to the point of interaction (cyan markings are just for visualization purposes and not visible to the agent).
Table 1. Rearrangement tasks summary. A summary of the specifications for each of the experimental testbeds is provided. Detailed descriptions of the tasks are provided in Appendix A.

tion taking as input a state. A predicate may be implemented in a number of ways -geometric thresholding of positions of objects through a program, running a neural network classifier on the current state, or programatically checking the logical state of an object (e.g. is the microwave on or off). PredicateGoal forms a common substrate on top of which other goal types can be interpreted (e.g. by conversion of a Lan-guageGoal to a PredicateGoal). PredicateGoal is not necessarily a natural interface for humans, but it can be a useful interface for systems.

3.1. Embodiment: Actuators And Sensors

Manipulating and rearranging objects requires a simulated physical embodiment, leaving a number of open parameters, such as the action representation, the degree to which the manipulation interaction itself is simulated or abstracted away, and the particular capabilities afforded to the agent. The choice of embodiment in a given environment will inevitably influence the types of methods that are effective. We therefore do not prescribe a single specific embodiment, but instead recommend that benchmark and algorithm designers provide a clear and reproducible description, while we provide a brief discussion of several reasonable choices. Generally, the action and perception representation is known to have a large impact on the performance of some types of algorithms, such as reinforcement learning, and being overly prescriptive with the embodiment may result in excessive focus on the particular challenges of a specific embodiment rather than the broader challenges inherent in Embodied AI. The particular choice of embodiment in a given environment will fall on a spectrum between the most abstract and the most realistic. We provide a few examples of points on this spectrum, starting with the most abstract and ending with the most concrete. Although we recommend using the most realistic actuator and sensor embodiments whenever possible, the more abstract representations may nonetheless present a useful simplification of the problem to enable more targeted algorithmic progress in specific areas.

Actuation: magic pointer abstraction. One way to strike a compromise between abstraction and rich physical interaction is to borrow a commonly used metaphor in video games: instead of controlling a realistic simulated body, the agent navigates the environment and continuously controls its viewing direction (i.e., pitch and yaw) and, optionally, a virtual "mouse pointer" that can move on the screen (see Figure 3 ). The agent can trigger a "pick" action that results in a ray cast a short distance in front of the agent, picking the closest object that intersects this cast ray. In the view direction abstraction (Figure 3 , right), the ray passes through the specified point of interaction, while in the case of a virtual mouse pointer (Figure 3 , left) it passes through the location of the mouse pointer on the screen. This object is now "held" by the agent, at which point it may be freely rotated and, with another action, placed back into the environment. The release of the object may be simulated as a fall from a certain height in front of the agent, or being placed in the same pose (relative to the agent) as the object was during "pick-up". Optionally, this embodiment could provide an option for the agent to "stow" the currently held object into a virtual "backpack" (of fixed capacity). In contrast to the "discrete object grasping" abstraction, this more complex embodiment allows more precise relocation of objects, for example in settings where we might want to reposition a variety of small items on a table. It also provides for the ability to carry out rudimentary physical interactions, since the object held in front of the agent can still interact physically with other objects in the environment. On the other hand, it also requires more precision: instead of simply standing in front of an object, the agent Figure 4 . Full physical simulation. A simulated robot interacting with the environment in the SAPIEN [76] framework. Full physical simulation provides the highest fidelity in terms of modeling object interaction, but also a more challenging setting necessitating continuous feedback control. must choose a point on the image to interact with. This might be useful for example for inserting one object into another, rearranging deformable objects, or other physical interactions. However, this abstraction still omits most of the nuances of physical object interaction and controlling a simulated body. This abstraction is used in the AI2-THOR environment discussed in Section 3.2.

Figure 4. Full physical simulation. A simulated robot interacting with the environment in the SAPIEN [76] framework. Full physical simulation provides the highest fidelity in terms of modeling object interaction, but also a more challenging setting necessitating continuous feedback control.

Actuation: kinematic articulated arm with abstracted grasping. The next step along the spectrum from abstraction to realism is a simulated kinematic arm. In this setting, the agent controls a realistic model of a robotic arm, either via Cartesian end-effector control or joint space control (Cartesian 6-DoF end-effector should be sufficient in practice for most applications), but grasping of objects is abstracted away, such that any object that is located close enough to the end effector is automatically (virtually) "grasped" when the agent issues a "pick" command. This abstraction strikes a compromise between requiring control of an actual robotic body and avoiding some of the intricate dynamic complexities of object interaction, such as inertia and contact forces. This makes it appropriate for simplified manipulation scenarios and methods focusing on perception, while still providing some of the challenges and geometric constraints of a physical body.

Actuation: full physical simulation. A full physical simulation of a robotic manipulator can provide the highest degree of fidelity (see Figure 4 ), but also the greatest challenge in terms of requiring any algorithm to perform both effective closed-loop control and perception. Unlike the kinematic, abstracted grasping setting in the previous paragraph, a full physical simulation requires controlling a robotic arm to actually grasp objects physically, using accurately simulated contact forces. In this setting, the agent's actions directly map to actuation commands for simulated robotic joints. A number of choices must be made in instantiating such an embodiment: (1) end-effector Cartesian or jointspace arm control; (2) position control or force/torque control; (3) the type of gripper control afforded to the agent.

A reasonable balance of fidelity and simplicity is to use (1) Cartesian-space control, (2) position control, (3) binary (open/close) gripper commands. However, other variants may also be used, and it is reasonable to consider this choice as part of the algorithm designer's prerogative, since all combinations are realistic for use on real-world robotic systems. A full physical simulation provides challenges that are most representative of those encountered in the real world, and is the only way to perform more nuanced physical object interaction. By simulating the low-level control stack (e.g. PID or impedance control), appropriate actuation noise would also be simulated. This modality also poses additional perception challenges, since the robot must now determine not only which object to pick up, but also how to physically use its end-effector to pick up or manipulate the object successfully. Of course, this added complexity also places a heavier burden on algorithm designers. The SAPIEN and RLBench environments discussed in Section 3.2 use this embodiment, as do most robotics simulation packages in use today.

Sensors: ground truth positions abstraction. In some cases, researchers may choose to focus on planning and control without considering perception, in which case the coarsest abstraction of the perception problem is to utilize ground-truth positions and orientations of objects directly as input. This representation greatly simplifies the task and allows researchers to study the control problem in isolation. While we urge a combined and integrated effort to tackle perception and control jointly, we also recognize that some researchers may end up addressing these topics separately. In this case, reasonable representations could include positions and orientations of nearby objects, annotated with their identity and parameters of their geometric shape. Such positions should be provided with realistic noise, to ensure that any control or planning strategy is robust to perceptual uncertainty.

Sensors: intermediate representations. An intermediate abstraction of onboard sensing is to assume mid-level visual processing, as would be typical in a modern perception stack, and directly utilize segmented images and/or depth maps [81] . Many simulators can natively produce segmented images and depth maps, making this representation easy to obtain. This level of abstraction has a number of appealing properties: it allows researchers to avoid the need for training large pixel-level deep networks for processing raw pixels, abstracts away variation in lighting and appearance, and at the same time provides a realistic interface to current computer vision tools, since pixel-level segmentation and depth estimation are heavily studied topics. In this case, suitable noise should be added to the intermediate representations, including noise in the depth readings for depth maps and noise in the segmentation, including unlabeled pixels and pixels with erroneous labels.

Sensors: full simulated perception. A full simulation of the robot's onboard sensors provides the highest fidelity of evaluation for sensing. In this case, simulated sensors might include RGB cameras, depth from RGBD sensors or Li-DAR, as well as less common sensors, such as microphones and touch sensors. The sensors should be simulated with realistic noise and uncertainty and imperfect calibration (e.g. camera calibration with small added noise). This representation provides the most realistic simulation of real-world deployment and we recommend this as the default mode of operation.

3.2. Task Characterization

The complexity of a rearrangement task is characterized by several dimensions that can serve to define a taxonomy of rearrangement tasks. We group these axes of complexity into agent-centric and environment-centric dimensions (see Figure 5 ).

Figure 5. Dimensions of complexity characterizing the rearrangement task. Several parameters of the agent and the environment determine the complexity of the rearrangement task. On the agent side: mobility (e.g. fixed base, wheeled, bipedal), manipulator (e.g. force applicator, parallel jaw gripper, humanoid hand), and sensory suite (e.g. color camera, depth sensor, LiDAR). On the environment side: interactability (e.g. rearrangement of rigid bodies, containers with rigid bodies, and articulated rigid bodies), complexity (e.g. two objects, a full bookcase, a cluttered kitchen), and dynamicity (e.g. object fracture, dynamic objects, and dynamic objects changing the state of other objects).

Agent mobility. Examples of agents that can perform rearrangement are fixed-base manipulator arms and mobile robots with manipulators. The mobility characteristics of the agent restrict the rearrangement scenarios that can be performed (e.g. a fixed robotic manipulator cannot move objects long distances). The mobility of the agent also determines the available action space for navigation. The action space can range from a set of discrete actions ('turnleft', 'turn-right', 'go-forward'), to parameterized actions, to fully continuous control for each motor. Although the locomotion problem itself can be made quite complex, with the addition of fully simulated legged locomotion and other intricacies, this dimension of the problem can also be reasonably abstracted away, for example by assuming that the robot's embodiment consists of a holonomic base. We will assume that mobility is accomplished by means of such a holonomic base for the purpose of this article.

Agent manipulation. Examples of manipulator types include: the "magic pointer" abstraction, "sticky mittens" [56] , suction-based grippers [10] , needle/stick force applicators, parallel jaw grippers, and 5-finger humanoid grippers (see relevant survey in [71] ). Earlier in this document, we elaborated on several concrete examples of agent manipulation (discrete grasping, magic pointer, and kinematic articulated arm). We do not take a specific stance on manipulator types, though some manipulators are easier to simulate with current simulation platforms. The spectrum of manipulation capabilities also forms a natural abstraction for research on rearrangement at higher levels (i.e., planning) vs. lower levels (i.e., control).

Agent sensory suite. We encourage broad investigation into sensors of different types and modalities. A variety of sensor types are common: color vision cameras, depth sensors, contact/collision sensors, tactile sensors [50] , Li-DAR, microphones, and elastomeric sensors such as Gel-Sight [38, 80] are prominent examples. Specific rearrangement scenarios may benefit from long-range visual sensing (e.g. navigation-heavy rearrangement) or shorter-range haptic sensing (e.g. single object grasping). When using full simulated perception, we recommend that sensors should simulate noisy and incomplete onboard perception. Odometry may be provided by the simulator, but with suitable noise and drift, necessitating realistic closed-loop corrections.

Environment interactability. The level of abstraction for the objects undergoing manipulation is another dimension of complexity. In the simplest case, manipulated objects are rigid bodies with no additional state that the agent can manipulate. Depending on the dexterity of the manipulator, the object may be rotated while it is held. The agent may have a stowing capacity in which case the object can be stowed away from the manipulator. A common abstraction is a virtual "backpack" with infinite or limited capacity stated in number of items, volume, or weight. More complex scenarios may involve object articulation states (e.g. books that may open and close).

Environment complexity. The difficulty of the rearrangement task depends on what is to be rearranged, the target configuration, and the structure of the environment. Important parameters include the number of objects to be rearranged, the number of distractor objects, the degree of occlusion or containment in source and target configurations, whether the space the agent is moving in is relatively open or highly cluttered, and whether ordering is important (e.g. stacking objects in order). We focus on rearrangement of sets of piecewise rigid bodies in scenarios that may include containment and ordering constraints. Note that this includes many common articulated objects such as cabinets.

Environment dynamicity. The degree to which the environment is dynamic forms another dimension of complexity. Important parameters include whether the environment can change without the agent taking an action (e.g. oscillating pedestal fan), whether there are unrecoverable states (e.g. plates can break if dropped), and whether objects in the environment are subject to perturbations unrelated to the agent's actions (e.g. wind or vibrations).

3.3. Task Generalization Spectrum

In addition to the above dimensions of task complexity, there exists a spectrum of task generalization settings. Dif- Figure 5 . Dimensions of complexity characterizing the rearrangement task. Several parameters of the agent and the environment determine the complexity of the rearrangement task. On the agent side: mobility (e.g. fixed base, wheeled, bipedal), manipulator (e.g. force applicator, parallel jaw gripper, humanoid hand), and sensory suite (e.g. color camera, depth sensor, LiDAR). On the environment side: interactability (e.g. rearrangement of rigid bodies, containers with rigid bodies, and articulated rigid bodies), complexity (e.g. two objects, a full bookcase, a cluttered kitchen), and dynamicity (e.g. object fracture, dynamic objects, and dynamic objects changing the state of other objects).

ferent points on this spectrum may involve generalization to novel objects, novel environments, novel source and target arrangements of the objects, as well as potentially novel agent actuation and sensing configurations. On one extreme of the spectrum ('weak generalization') a system is evaluated with known objects in known environments, with only the arrangements of the objects being novel (i.e., there is a closed set of objects and environments shared between training and evaluation). On the other side of the spectrum ('strong generalization'), the agent is tasked with rearranging new objects in new environments, never encountered during training. We recommend strong generalization as the default mode of operation.

Regardless of where on the generalization spectrum a particular rearrangement problem falls, it is important to explicitly state the degree of overlap between prior experience or built-in knowledge (e.g. object CAD models, grasp demonstrations for objects), and the test-time environment. It is also possible to allow limited exploration of an unseen test-time environment before the task commences. An interesting question for future work lies in the quantification of these different forms of prior experience and their impact on task performance under different generalization settings.

3.4. Comparisons And Evaluation

The discussion in this section lays out a large number of potential decisions that can be made in evaluating an embodied system. From the choice of action abstraction, to the presence of dynamic and interactive components in the environment, these design choices create a spectrum of different levels of realism, and therefore a spectrum of difficulties. Naturally, any comparative evaluation that aims to compare different methods must take these differing difficulty levels into account: a method that uses the magic pointer abstraction is not directly comparable to one that uses a full physics simulation, and fair comparisons can only be performed at similar levels of abstraction and in similarly challenging environments. However, by reporting on these design dimensions and making clear the conditions under which each algorithm is evaluated, we can move closer to a setting where researchers can begin to put the performance of different methods in context, with evaluations that are at least conducted on tasks that vary along common axes of variation (action abstraction, sensor suite, interactability, complexity, and dynamicity).

4. Evaluation

A rearrangement task requires an agent (or agents) to accomplish a many-to-many transformation of a scene, and evaluation of success will necessarily therefore require the design of composite metrics which capture the quality of an overall performance. We believe that simplicity and the desire for rank-ordering make it valuable to focus on a single primary metric, and we propose that task completion, measured as a percentage, has high generality and flexibility for that purpose. We define completion as the percentage of binary target state tests concerning objects of interest which are successfully passed by the agent, while not doing any harm to other parts of the scene. We discuss the details required by this metric in this section.

Most tasks will have a natural range of difficulty among the objects which make them up, and so completion percentage will appropriately represent progression in agent performance. As tasks increase in complexity, requiring more objects to be moved, this metric will become increasingly continuous.

Besides the primary completion metric, we strongly believe that secondary metrics should also be reported, and in fact that these will often be crucial in determining whether an agent has performance which is on the path to useful Embodied AI applications. While there are many possibilities, we believe that the most important additional metrics should capture aspects of the agent's efficiency. We make several concrete suggestions below.

4.1. Primary Metric: Task Completion

A rearrangement task is defined in terms of goal locations for movable objects in a simulated 3D environment. As explained in Section 3, within our current scope we assume that all objects can be considered as rigid, or to consist of articulated rigid parts. Therefore the world state space S = S 1 × S 2 . . . S n is specified by the set of body pose spaces S i = SE(3) for the n objects or parts present in a scene. A particular current scene state is s ∈ S, and the goal state for a task is denoted s * . When an agent has finished working on a task, we must therefore determine our completion metric by comparing the final state s of all objects with goal state s * .

The most straightforward approach is to fully decompose s * in terms of a target pose s * i ∈ SE(3) for each individual object in absolute scene coordinates. The placement accuracy of each object would be evaluated via a norm N (s i , s * i ) on the difference between each object's final and target pose. The details of this norm can be designed to match the emphasis of a task:

• The norm could ignore rotation and be simply the translation between centers of mass.

• The norm could combine translation distance with a measure of rotation difference, for instance the angle between the two poses expressed in axis-angle form.

• An elegant metric to unify translation and rotation which is familiar from 2D object detection is the 3D intersection-over-union (IoU) between the overlapping volumes or convex hulls.

Having decided on an error metric for individual objects, these values for multiple objects must be combined to obtain an overall score. It is tempting to average the individual object distances to obtain a mean accuracy measure. We believe that a better approach is to define a threshold on the distance for each object, make a binary test for each one, and then to report an overall completion percentage which is the fraction of objects passing the threshold tests. This completion metric can take account of the fact that tasks will be heterogeneous, and there may be very different sensible tolerances on the locations of different objects. For instance, placing a book anywhere on a table may be acceptable, whereas a flower must be placed within a narrow vase.

We believe that completion also has desirable robustness properties which make sense in terms of task progression, where one or two misplaced objects out of many will not have a ruinous impact on an overall score, even if those objects are very far from their target locations.

A crucial final issue to address with the completeness metric concerns its scope, because in most environments there could be many objects present which are not related to the task at hand. It seems clear that completion should only concern tests on objects of direct relevance, rather than all objects. However, should we report an agent as successful if it achieves the correct state of the target objects but at the cost of making a mess of the rest of the scene, or even breaking other objects? We argue no, since our goal is the development of methods with value in real-world robotics, and a useful robot must understand the scope of the interactions it should attempt.

We believe that this is best addressed by requiring an agent to additionally pass a do no harm test in order to achieve a non-zero completion score. This test is a single binary predicate test which can be defined by the task designer in any way they choose. A simple choice consists of a logical 'and' of state tests on all non-task objects in the scene, checking that they have not been moved. The movement threshold for each object could be a simple rule such as requiring an IoU above a threshold between every object's starting and final poses.

More sophisticated 'do no harm' tests could be tuned per object (since it may not matter if some non-task objects are moved) or could test other properties than pure object pose, such as the maximum acceleration or forces experienced by objects within the simulator.

General evaluation in terms of scene predicates. A more general formulation of completeness will not necessarily take the form of one binary threshold test per object or part, but would define a set of predicates P j (s, s * ), each of which is a binary threshold test involving the individual final and target states of any number of objects. Overall completeness would be the percentage of these predicate tests which have been passed.

The most obvious use for more general predicates is to allow for tests of the relative poses of objects. For instance, if a saucer must be placed on a table, and a cup on the saucer, one predicate would set a threshold on the relative pose of the saucer and the table, and another on the relative pose of the cup and saucer. As with individual object pose tests, these predicates could use just relative translation, or also angular measures. Each predicate test would be given a suitable specific success threshold.

Our focus in rearrangement is physical object manipulation, but defining completion in terms of a set of general logical predicate tests does in principle allow other nonphysical binary tests to be part of an overall performance measure -e.g. whether a logical switch in the simulator has been touched to put it into the correct on/off state.

Evaluation programs. Evaluation of task completion should be carried out and reported automatically by the task simulator, and must therefore be implemented by an evaluation program. This program is passed the final and target state configurations once an agent has finished working, and performs the required threshold tests to determine the overall completion percentage.

The designers of agents should have a clear understanding of how evaluation is to take place, and therefore we propose that evaluation programs should be defined in a clear and public domain-specific language, which may eventually become a standard across different simulators.

Generally it is not appropriate that all of the parameters of the precise tests which make up a particular task should be published, because an important aspect of rearrangement agents is to be able to deduce the goal state of a task from the specification which could be provided in different forms as detailed in Section 3. General information such as IoU thresholds could be made available, or it could be considered part of the task for the agent itself to use background semantic knowledge to deduce suitable thresholds for each type of object.

Emergent properties of simple evaluation metrics. Although the formulation of completion in terms of general predicate tests allows arbitrary flexibility in task specification, we would like to point out some of the interesting emergent properties of simple completion specifications. These arise due to the properties of a physically simulated environment with a limited scope and range of possibilities.

At first thought, it might seem that target locations specified in relative terms will quickly be needed. For instance, if a saucer must be placed on a table, a cup on the saucer, and a spoon in the cup, the target location of each object could be specified relative to the previous one. However, a well-defined threshold test in absolute coordinates could still capture the situation well, and in particular translationonly pose tests are often sufficient. If the cup needs to achieve a height coordinate a few millimetres above the top of the table, in a task and environment where only a few objects are present the only way to achieve this might be to place it on the saucer, and if the centre of mass of the spoon needs to be somewhat higher still the only way to achieve this might be to place it in the cup. Similarly, if a key is to be placed in a lock, there will be no need to specify its target orientation, because within the physics simulator the only way to get the centre of mass of the key to the correct location will be at the orientation which fits into the lock.

When many objects must be packed into a tight space, but their order is unimportant, a simple threshold which is the same for all of the objects may work. For instance, if many books should be placed onto a bookshelf, each can be tested with a threshold based on the size of the whole shelf. The difficulty of placing many books in sequence will naturally increase as they must be fit into the smaller and smaller space that physics allows. We believe that many rearrangement tasks where the placement of multiple objects involves physical coupling will share these emergent properties of incremental difficulty from simple tests. Another example would be building a tower from blocks, where each block is tested in terms of target height. The final blocks will only be able to pass their evaluation tests if the lower blocks have been placed into a stable tower, and the early blocks must be placed precisely if a tall tower is to be built.

Predicates based on natural language. It is worth noting that the need for an automatic evaluation program poses some challenges for rearrangement tasks specified with free-form natural language. Effectively this means that we need a program that can recognize whether the state achieved by an agent satisfies a natural language predicate. In many cases, such a program can be difficult to handcraft. For example, the meaning of "on" may not be easily reducible to simple rules of geometric relations -"a cup on a table" would be very different from "clock on the wall". Thus even though simple evaluation programs are preferred, our formulation allows the evaluation program to take a more complex and less interpretable form, such as a neural network that has been trained to classify the "on" relationship.

Towards evaluation of real-world robotic agents. Despite our focus in this report on rearrangement in simulated environments, our general interests in Embodied AI mean that we have a long-term interest in whether the methods we propose are also applicable to real-world robotic agents. With regard to evaluation and the completion metric, this is certainly the case in principle, though automatic and accurate evaluation of real-world rearrangement presents huge technical challenges in anything but trivial tasks. Arbitrary objects would need to be tracked or instrumented in difficult situations of occlusion and contact. Building such systems will certainly be an area of important future research.

4.2. Secondary Metrics

Although we propose task completion as a unified primary metric, we believe that rearrangement simulators should also report additional measures of performance which are important in judging whether an agent has realworld value. In particular, we argue for metrics which measure efficiency, both of the performance of the agent in the simulated environment and of its computational requirements.

While multiple metrics can always be combined into single values via weighted addition or other formulae, this must be based on a choice of the relative importance of the different factors, and we believe that it is better to present the metrics separately so that potential users can make choices between agents based on their own criteria. An agent will usually have settings which allow performance metrics to be traded off against each other, and a sampling of these settings will produce a multi-objective performance manifold which can be displayed with a Pareto Front.

Useful secondary metrics include:

• Simulation time taken for an agent to report completion and stop action: this is in units of the time defined within the simulation, or the number of simulation 'ticks' required, with respect to which the agent program can take actions at a constant defined rate.

• Simulated energy required by the agent to take all of the actions within an episode. Again this is purely measured within the physics simulation, via integration of all of the virtual physical work done by the agent to move objects and its own body, and should be something that a good simulator is able to calculate. We believe that minimising simulated energy is ultimately a powerful and highly general metric that encompasses many aspects of efficiency and smoothness in an agent's actions.

• Computational measures of the agent program. How many FLOPS and how much memory does it need per 'tick' of the simulation, or to complete a whole episode? One way to measure this could be if the agent program is running on the same machine as the simulator, and requesting tick updates of the simulator when it is ready to deal with them: at what factor of 'realtime' in the simulator is the agent able to run?

These measures of efficiency are especially critical as the aim of building intelligent rearrangement agents is ultimately progress in real-world Spatial AI, where agents which must run on the limited embedded computation platforms in robots or other devices, although these platforms will surely be cloud-connected in general and some highlatency computation could be carried out remotely [19] . Later more sophisticated computational measures should also encompass the degree to which an agent's computation and storage can be parallelized, distributed or layered in terms of latency.

5. Experimental Testbeds

Here we summarize a set of experimental testbeds for rearrangement that we contribute with this report (see Figure 6) . These testbeds span a spectrum of environment complexities, as well as agent navigation and manipulation capabilities. We order the testbeds roughly by environment scale and navigational requirements (in addition to manipulating objects). T1: bimanual sweeping. A pair of fixed-base robot arms sweep 'trash' objects (simulated as small cubes) from the floor into a 'trash bin' container. Four third-person view camera and depth sensor pairs are positioned to observe the arms, and the position and velocity of the arm kinematic chain are also available. Both of the arms have spatulas as end effectors to sweep cubes from the floor into the trash bin. This scenario is implemented in SAPIEN [76] . See Appendix A.1 for details.

Figure 6. Suite of experimental testbeds. We contribute a set of experimental testbeds for rearrangement, spanning a spectrum of environment complexities, and agent navigation and manipulation capabilities. From left to right: T1: bimanual sweeping, T2: table organization, T3: storing groceries, T4: room rearrangement, T5: house cleanup.

6. Why Rearrangement?

The spectrum of possible rearrangement scenarios can be used to exercise and evaluate a broad set of agent abilities (see Figure 7) . Different research communities may focus on analyzing and evaluating subsets of these abilities. Here, we summarize several types of abilities that the rearrangement task can evaluate.

Figure 7. Agent abilities harnessed by rearrangement. Illustration of the broad spectrum of abilities the rearrangement task can exercise.

Perception. Evaluation of the agent's performance on subtasks such as object detection [48] , rigid object state estimation and tracking [78] , and localization [27] of the agent relative to objects connects with a breadth of research problems in the vision community. Perceptual abilities underlying these subtasks are important for an agent to identify object instances that can be moved, judge whether it is in a position that affords manipulation of an object, and to estimate the current state of the object (e.g. is the cabinet door open or closed?). Evaluating whether a target rearrangement has been achieved may also involve perception. Perceptual abilities underlie both traditional vision tasks as well as emerging tasks such as prediction of object physical properties to enable interaction with the object (e.g. "is the bottle likely to break if it is dropped?" or "is the box light enough to be picked up or does it need to be pushed?"), or prediction of affordance heatmaps for objects [55] . The degree to which these abilities are stressed is linked to the choice of agent sensors and environment complexity, and how sensory information can be used for action prediction.

Navigation. Controlling an agent to achieve locomotion is required when performing rearrangement within larger environments. Consequently, rearrangement can be used to investigate agent navigation capabilities, a topic that is of interest to both the robotics and vision communities [8] . The formalization of navigation tasks for Embodied AI agents has been described in more depth by Anderson et al. [1] . We can view the rearrangement task as a generalization of the navigation task as the agent is required to change its own state relative to the environment (i.e. to navigate), as well as to change the state of the environment (i.e. to manipulate). Different choices of agent mobility and environment complexity lead to varying degrees of focus on collisionfree navigation and path efficiency within a rearrangement task.

Manipulation. To successfully rearrange objects, an agent must grasp and manipulate the objects. Grasping and manipulation are rich research areas within robotics [54, 51] . Different choices on the manipulation complexity axis lead to different levels of abstraction for manipulation. High-level abstractions such as the "magic pointer" manipulator reduce the importance of manipulation and may be more appropriate for focusing on perception. At a low level of abstraction, the rearrangement task can be used to investigate control policies for trajectory and grasp planning. Different choices of the number and types of objects to be rearranged (e.g. degree of instance variation in geometry and appearance), and varying the complexity of the environment (e.g. fairly open spaces to cluttered environments) can control the focus on manipulation. and recall information about the environment and the self is important. Investigating agent memory representations is a topic of great interest in the machine learning and Embodied AI communities [3, 17, 19] . Simultaneous Localization and Mapping (SLAM) research in robotics has produced algorithms which can incrementally and consistently build 2D or 3D scene representations from raw data from cameras and other sensors. These representations have gradually improved in geometric accuracy and completeness, and some SLAM systems now incorporate recognition and aim to build an explicit graph of interacting object instances which can be used to simulate and plan robot manipulation [74] . Communication. The rearrangement task allows studying grounding of language to perception and action, a topic relevant to natural language researchers interested in Embodied AI [7] . By specifying the "LanguageGoal" as either a series of instructions or a description of the final state of the environment, the task allows researchers to go beyond grounding nouns such as "chair" and "table", to spatial relations between objects and how they are expressed in different languages ("cup in cabinet", "painting on the wall"), to actions ("pick up" vs "put down" vs "open"), as well as higher-level concepts such as "set the table for four" and "clear the table and wash the dishes". A successful agent will also need to retain "common sense" and implicit knowledge about target arrangements that may not be precisely specified in the language (e.g. what objects and where they should be placed for "set the table for four"). The rearrangement task can also be used to study communication for coordination between multiple agents and emergent behaviors.

In summary, the rearrangement task provides a unified platform for investigating methods to endow agents with the above agent capabilities. By making different choices on the complexity axes, we can emphasize specific capabilities (e.g. more abstract agent control schemes to focus more on planning) or combinations of capabilities.

7. Discussion

Comparison to existing benchmarks. The rearrangement task presents a significantly more difficult challenge than prior navigation-based benchmarks for Embodied AI. Specifically, the degree of physical interaction with the environment is inherently much greater in rearrangement. In fact, the mobile variant of the rearrangement task can be viewed as encompassing prior work on PointGoal navigation [1] . Furthermore, rearrangement requires more precise reasoning about objects, including their physical properties (e.g. placing one object inside another, pouring liquids, grouping similar items) and geometric constraints (e.g. arranging books on a bookshelf). As a result, the embodied agents developed for the rearrangement task will need to be far more sophisticated than those of today, helping to advance the development of more effective world representations, sequential decision-making algorithms, perception techniques, task-oriented grasping methodologies, and physics simulations.

Complex tasks and processes. Example tasks described in this document have largely consisted of rearrangement tasks in which the end goal is specified directly, without guidance as to the intermediate stages that the environment must go through to reach the goal. However, many realworld tasks consist of complex processes that can be broken down into multiple sequential subtasks or subgoals. For example, cleaning the living room may consist of multiple subgoals corresponding to different parts of the room, or putting away groceries may be broken down by items that belong in the pantry, refrigerator, freezer, and counter. In the context of complex tasks, rearrangement can be viewed as sequentially addressing each individual subgoal. Many avenues for future work exist in this area, particularly in ordering subgoals and resolving dependencies between subgoals.

Application to physical robotic systems. The ultimate goal of Embodied AI is to develop systems that perceive and act in physical environments -i.e. physical robots in physical worlds. We believe that the simulation environments, tasks, and evaluation procedures proposed in this document directly aid this goal. Development in simulation presents a number of important benefits, including access to orders of magnitude more data, more precise evaluation techniques, and more efficient experimental procedures, which will all fuel more rapid research progress. However, this work must take into account a number of potential downsides to simulation-based development -mainly the potential development of techniques whose performance in simulation does not transfer to real-world domains. To address the potential disconnect between simulated and real-world performance, we propose that physical robot variants of the rearrangement tasks be also developed in parallel. Robust evaluation of performance (i.e. automated techniques for assessing the difference between the current state and the goal) remains the most challenging component of such an implementation. To aid progress in this area, early variants of the rearrangement task could be based on either simple table-top domains, or on instrumented environments. Evaluation could be based on standard object datasets, similar to the YCB dataset [12] . While more general and scalable evaluation techniques will be needed in the long term, in the short term such experimental domains can be used to ensure strong correlation between simulated and real-world experiments, such that progress in simulation effectively translates to, or is predictive of, performance on real-world systems.

Simulation fidelity. The fidelity of the simulator in terms of both the underlying physics and simulated sensing modalities will significantly influence task complexity. When investigating the rearrangement task in simulation, with the aim to transfer a learned model to the real world, the gap between simulation and reality will impact the additional effort to achieve successful transfer. Actuation and sensing noise can be simulated to better approximate realworld robots, adding complexity to the task. We believe that current simulation platforms are well-equipped to simulate rigid body dynamics, optionally with noise models on important physical parameters. Efficient and accurate simulation of deformable objects and phenomena such as fluids remains challenging and is a good direction for future work.

Future extensions. In this report, we propose a number of concrete instantiations of the rearrangement task. Importantly however, the proposed task leaves room for further extensions that would increase complexity and more comprehensively exercise the intelligence of the agent. Below, we discuss several extensions to the rearrangement task that are beyond the immediate horizon but that we believe are promising directions for future work.

• Deformable objects: The ability to manipulate and rearrange deformable objects (e.g. clothing, towels, curtains, or bed sheets) has many practical applications in everyday environments. However, deformable objects introduce many challenges, including simulating deformations, defining appropriate goal specifications, and evaluating the similarity between the end result and the goal. These challenges are significant, and thus preclude the inclusion of deformable objects in our initial formalization and instantiation of Rearrangement. This is an obvious practical extension for future years.

• Transformation of object state: Many everyday tasks involve the transformation of object state. Examples include pouring water into a glass, chopping vegetables, heating a skillet, washing a dish, turning on an oven, or whisking an egg. These state changes are fundamentally different from rigid-body transformations. They i) require the incorporation of deeper world knowledge, ii) rely on causal reasoning methods to interpret, iii) involve the execution of complex actions beyond pick-and-place, and iv) necessitate separate procedures to specify and evaluate such scenarios. As a result, we do not address such tasks within the scope of the presented formulation, although the predicate-based evaluation that we propose allows for natural future extensions of the rearrangement task in this important direction.

• Multi-agent rearrangement: In this report, we focused on single agents performing the rearrangement task.

We believe that extending the rearrangement task to multiple agents is natural and interesting. There are three types of agents that may be present: cooperative agents, adversarial agents, and non-participating agents. Cooperative agents can coordinate to achieve the task more efficiently than a single agent. Certain scenarios may require two agents to cooperate to accomplish a subgoal, such as moving a heavy sofa. Adversarial agents can actively prevent the agent performing rearrangement from achieving the task. These agents may either provide inaccurate or false information, or they may actively disrupt the agent or the environment. Non-participating agents are present but do not actively work towards or against the rearrangement-performing agent(s). The number of agents of each type may vary. There is also a spectrum of communication mechanisms that may be available to agents.

• Interactions with human users: All examples in our work are ultimately driven by the desire to develop systems that are able to assist users in a wide variety of everyday tasks. Toward this goal, future work should examine human interactions with rearrangement systems. Example topics include intuitive real-time interactions, dialog-based interfaces, and active learning from human input, among others.

We leave these and other interesting extensions of rearrangement as promising directions for future work.

A. Experimental Testbed Details

To support research in the immediate term, we release a number of rearrangement scenarios within a set of existing simulators. We leverage AI2-THOR [44] , Habitat [62] , RL-Bench [37] , and SAPIEN [76] , but any simulator that supports the rearrangement task can be used in the future. A summary of the task specifications is provided in Table 1 . This scenario is instantiated in SAPIEN [76] , orignially as a final project in a robot learning course at UCSD. Participants are expected to control two robot arms to collaboratively pick up boxes randomly placed on the table and place them into the target bin efficiently. The task setup has been made available at https://github. com/haosulab/CSE291-G00-SP20.

A.1. Bimanual Sweeping In Sapien

Simulation Speed. SAPIEN allows using two renderers for this task: 1) a rasterization-based Vulkan engine to render scenes at 200-300 FPS (30-60 FPS if GPU-CPU data transfer is used), and 2) the ray-tracing based OptiX engine to render scenes with near-photorealistic appearance at 1 FPS. Physics simulation is supported by the PhysX engine, which performs rigid-body simulation at about 5000 Hz.

Scenes and Objects. The scene contains 2 robot arms, 10 boxes, and a trash bin, all of which are placed on a table as shown in Figure 8 . The positions of two robot arm bases are constant, while configurations of boxes and the trash bin (size, position, thickness) are generated randomly at the reset of the environment. Once generated, the trash bin is fixed on the table.

Figure 8. Bimanual sweeping task.

Episodes. Each episode ends when it reaches the predefined maximum time steps or when the agent returns False. It is noted that the environment will not end itself even all boxes have been placed correctly. Agents are expected to return False if they believe the task gets accomplished or stuck.

Embodiment. The robot arms used in this task are simulated Panda 7-axes robot arms by Franka. We replace the end effector with a spade. The arms are fully physically simulated based on physics simulation within SAPIEN. The control interfaces and action space will be introduced later.

Sensors. Visual observations from fixed RGBD cameras at 4 different viewpoints (front, left, right, top) are provided with known intrinsic and extrinsic parameters. We optionally provide ground-truth object segmentation to avoid introducing a vision challenge. Next, we provide the joint positions and velocities of the robot arm as robot state observation.

Action Space. Two control interfaces are available which are common in real robot control: 1. joint position and velocity control based on PD controllers with tunable drive parameters; 2. direct joint torque control. Convenient physical properties of the robot arm, including generalized inertia matrices, kinematic Jacobians, and forward/inverse dynamics, are also available to participants.

Metric. The objective is to place as many boxes as possible into the target bin within fixed time steps. Following the metric defined in Section 4, we introduce two metrics: success rate and efficiency. Success rate is the fraction of the number of boxes correctly placed among the number of boxes observed in all the scenes. Efficiency is the average number of boxes correctly placed per minute. Given a fixed time budget, efficiency is equivalent to the total number of boxes correctly placed. In conjunction with IROS 2020, Su et al. hold a challenge which focuses on the task of table organization (see Figure 9 ). The data and software of the challenge can be downloaded from http://ocrtoc.org/. Table 1 . Rearrangement tasks summary. A summary of the specifications for each of the experimental testbeds is provided. Detailed descriptions of the tasks are provided in Appendix A.

Figure 9. The IROS 2020 table organization challenge setup in simulator and the real world.

A.2. Cloud Robot

The competition contains two stages: simulation and real robot stage. Each stage begins with a trial period and ends with a contest. In the trial period participants can get familiar with the working environment and get prepared for the contest.

Stage1: Simulation. In the trial period of the simulation stage, participants can download the simulation package provided by the organizer, which comes with 1100 randomly generated initial/target scene pairs. Contestants are allowed to choose either SAPIEN [76] or Gazebo as the simulation platform. They can try out the scenarios and get familiar with the software environment. In the simulation contest, participants need to upload their solution to the competition platform where their solution will be evaluated on 300 additional scene pairs.

Stage2: Real robot. In the trial period participants can test their solution on real robots. The robot is controlled by a PC with GPU, on which the solution of participants will run. In the contest period participants need to solve several tasks. In the end they will be ranked according to the metrics introduced below.

The setup of the real robot contains the following hardware:

• A stationary camera: Kinect DK camera, • Level 4: 10 objects with complex geometry, and 5 disturbing objects that are not scored in the target configuration. For target configuration, there are relative position specifications.

• Level 5: 10 objects with complex geometry, and 10 disturbing objects. For target configuration, there are complex and hierarchical relative position specifications.

Objects. We include various categories of daily life objects in the task. In general, object models (triangle mesh models with texture) will be given for task solving. However, there are different difficulty levels:

• Known objects with precise models: For these objects, precise object mesh models are provided (already during the trial period). These objects will be used in the trial period so that contestants can test their solution during the trial. In addition, these objects will also be used in tasks (low-to mid-level) of the contest.

• Novel objects with precise models: For these objects, precise object mesh models are provided (in the contest). However, these objects will not be disclosed to contestants before the contest. They will be used in selected tasks (mid-to high-level) in the contest. • Novel objects with imprecise models: For these objects, only object models with similar geometry from the same semantic category are provided. These instance-level novel objects will only be used in tasks of high difficulty level in the contest.

Sensors. As described above, there are two RGBD cameras, one mounted to the robot wrist, the other fixed at the top left. Also, the joint positions and velocities of the robot arm are provided as robot state observation.

Action space. The ROS Control [15] interface is provided to command the robot in both simulation stage and real robot stage. Users can use any standard controllers defined in the protocol. To control the robot arm, user can utilize joint trajectory controller with joint-space trajectories on a group of joints. Trajectories are specified as a set of waypoints to be reached at specific time instants, which the controller attempts to execute as long as the mechanism allows. Waypoints consist of positions, and optionally velocities and accelerations.

Task. We define a pool of tasks, which combines typical working scenarios in the context of service robots. All tasks will be mixed together in a task pool that is organized by the difficulty level of the task. All the tasks must be solved autonomously without any human intervention. In Figure 10 , an example task is provided to illustrate the key idea. Metrics. Following the recommendations in Section 4, we use task completion as the primary metric, and also provide informative secondary metrics. Specifically, we measure how many objects were correctly organized. For each object in the target configuration, a distance error is calculated based on the difference between the actual pose and the target pose. There is a threshold for the distance error for each object. For each episode, the number of correctly rearranged objects is aggregated to compute the task completion metric. Additionally, we also calculate the average distance error (in centimeters) and the execution time for each team.

Figure 10. The initial and target arrangement of objects in the open cloud table organization challenge.

A.3. Storing Groceries In Rlbench

This scenario (see Figure 11) is instantiated in the RLBench task suite from the Dyson Robotics Lab at Imperial College [37] , available from https: //github.com/stepjam/RLBench.

Figure 11. Storing groceries in RLBench.

Having installed RLBench, see https://sites.google.com/ view/rlbench-rearrangement for details and code for setting up the Storing Groceries Rearrangement Task.

Introduction to RLBench. RLBench is a robot simulation environment which offers over 100 different tasks for training and testing embodied agents. The emphasis is on variety of realistic tasks that could be undertaken by a single fixed robot arm, using many different types of objects, and RLBench's original inspiration was as a testbed for metalearning: to what extent are abilities learned to solve one task useful in other tasks, and is there structure and hierarchy among a large number of tasks whose relationship is not immediately obvious?

Each task is human-designed using intuitive tools provided within RLBench. A special feature of RLBench is that random variations of each task can be automatically generated, such as the starting locations of objects, and that for any variation an automatic demonstration can be generated, where the robot uses precise state information and motion planning to solve the task. These demonstrations can be used to seed reinforcement learning algorithmss.

Many of the tasks currently built into RLBench are rearrangement tasks, including such things as setting up a checkers board, loading objects into a dishwasher, emptying objects from a bin, taking a tray out of an oven, or making an ordered tower from blocks. We have selected the task of putting grocery objects onto a shelf to highlight here because it involves putting variety of interestingly-shaped objects into a constrained space, requiring high level planning as well as precision perception and manipulation skills.

RLBench is built on top of the CoppeliaSim robot simulator previously known as V-REP, available from https: //www.coppeliarobotics.com. Scene. The scene consists of 7 objects randomly placed on a table surface within reach of the robot arm, and a box shelf space in front of the robot onto which the objects must be placed.

Initial State

Objects. The objects are accurately modeled grocery objects from the YCB dataset [13] .

Embodiment. RLBench features a simulated Franka Panda arm with a two-finger Franka gripper. The arm and objects are fully physically simulated, based on physics simulation within CoppeliaSim via Bullet. (Note that Cop-peliaSim also offers four other physics engines, and these can be easily selected between.)

Action space. Various control modes for the robot arm are available which are familiar from continuous control of real-world robots, including direct velocity or torque control of the arm joints, or end-effector action modes where the agent can directly control the pose or velocity of the robot gripper.

Sensors specification. The sensory suite is broad, and includes proprioceptive force/torque sensing on all arm joints, and multiple color and depth cameras. Two cameras are mounted statically over the shoulder, and two others are located on the wrist and gripper. These function throughout operation, even when the robot has grasped an object which may cause significant occlusion.

Evaluation. Evaluation of the final state of each object is via a simple threshold on its translational pose, testing whether it is within the volume of the box shelf. The state tests are implemented in RLBench via simulated 'proximity sensors' in its specification language, the sensing space of which can be easily visualised which is very helpful when designing tasks.

A.4. Room Rearrangement In Ai2-Thor

This scenario is instantiated in AI2-THOR [44] . It involves rearranging randomly placed household objects in a room. More specifically, the scene has an initial configuration. We make changes to the scene by placing N objects at different locations or changing their state (only open/close state is considered for this version). The task of the agent is to recover the initial configuration of the scene. The agent is allowed to navigate within the scene with the initial configuration and collect data for 1000 steps. This task specification falls under the category of ExperienceGoal described in Section 3.

Scenes. We use the scenes of iTHOR for version 0.1 of the dataset. It includes 120 rooms across four categories (bathroom, bedroom, kitchen, and livingroom). Each category includes 30 rooms. Following the standard practice for AI2-THOR, we use the first 20 scenes in each category for training, the next 5 scenes for validation and the last 5 scenes for test. The agent is allowed to navigate and interact with the test scenes at their initial configuration. However, no metadata (object positions in 3D, segmentation masks, etc.) is available at test time. The metadata is available only for training and validation scenes.

Objects. There are 125 object categories in AI2-THOR. Version 0.1 of the rearrangement dataset includes 53 categories. These include mostly categories that can be moved around easily (for example, small objects such as mug that can be moved to several different locations).

Dataset. Version 0.1 of the rearrangement dataset includes 4000, 1000, 1000 scenarios for training, validation, and test, respectively. There are scenarios with different levels of difficulty. The number of objects whose state has changed varies, but we limit the maximum number to 5. Some scenarios involve only moving objects to a different location, while some involve changing the state (e.g., open/close a fridge). The dataset can be accessed at the following link: https://ai2thor.allenai.org/ rearrangement . Embodiment. The collision geometry for the agent is a capsule with height 1.8m and radius 0.2m. The agent has a virtual arm, which is defined by a radius around the center of the camera i.e. the agent can move and manipulate objects anywhere within that radius. The virtual arm can go anywhere within the camera's frustum and within the agent's interaction distance (the default value is 1.5m). We consider a single agent for this version of the task specification. Action space. There are two types of actions we consider for the rearrangement task: Navigation and Manipulation actions. Navigation actions include: Move Forward, Turn Right (θ degrees), Turn Left (θ degrees), Look Up (θ degrees), Look Down (θ degrees). For simplicity, we assume the agent moves on a grid of adjustable size, but the simulator supports continuous and noisy movements as well. Manipulation actions include: Open/Close (point on the image), Pick Up (point on the image), Drop, Move Hand (to a relative x, y, z coordinate if allowed), Rotate Hand (θ degrees around x, y, or z axes) and Apply Force (point on the image, magnitude, direction). For actions that require a point on the image, the agent specifies a point. We trace a 3D ray from the camera center to that point. We apply that action to the first object that the ray hits. The object should be within a threshold of distance so the action succeeds.

Sensors specification. We use three types of sensors for this version of the dataset: RGB, depth, haptic feedback. The haptic feedback indicates whether the virtual arm of the agent has touched an object or not. If the arm touches an object, the arm length will be returned to the agent. During training and validation, the simulator also returns the type of the touched object. The category information must not be used during test.

Metric. Following the metric defined in Section 4, we compute the average of the percentage of the satisfied predicated for each scenario. The predicate that we consider for this task is a conjunction of two propositions: (a) The IOU of the bounding boxes for the agent placement and the groundtruth placement of the object should be more than 50%. (b) The object's 'open/close' state should be within 20% of the groundtruth. For example, if the fridge is closed, the task is considered successful if the fridge is at most 20% open. Figure 12 shows an example of agent and groundtruth placements along with the parameters used for the metric. Note that the episode will be considered unsuccessful if the agent changes objects that are not changed at the initial and the goal states of the scene.

Figure 12. Room rearrangement evaluation in AI2-THOR. The pose of the laptop and its open/close state are used for computing the evaluation metric.

A.5. House Cleanup In Habitat

In this scenario, the agent is spawned randomly in a house and is asked to find a small set of objects scattered around the house and place them in their desired final position as efficiently as possible. In the following, we will describe the agent's observation space, action space, dataset and evaluation metrics in more detail. This scenario is instantiated in AI Habitat [62] , with code and data available at the following link: https://dexter1691.github. io/projects/rearrangement/.

Scenes. We use a manually-selected subset of 55 photorealistic scans (35 for training, 10 for validation, 10 for testing) of indoor environments from the Gibson dataset [75] . These scenes are uncluttered 'empty' apartments/houses, i.e. they do not contain any furniture as part of the scanned mesh. Scanned object meshes are programmatically inserted into these scenes to create scenarios. This combination of empty houses and inserted objects allows for controlled generation of training and testing episodes. Moreover, this setup ensures that all objects in the house are interactive. Notice that if we had used non-empty houses from Gibson, the objects included in the house scan would be non-interactive (since Gibson scans are static meshes). This would result in an artificial separation between static baked objects and dynamic inserted objects.

Objects. We use object scans from the YCB Dataset [13] . These objects are small enough they can pass through doors and hallways within the house.

Episodes. Each episode requires the agent to rearrange 2-5 objects. The episode definition follows the Geometric-Goal specification and consists of the scan name, spawn location and rotation of the agent, initial object location, rotation, and type in the environment. Finally, for each goal object, the episode defines initial and desired position of the center of mass.

Embodiment. The agent is a virtual Locobot [14] . The simulated agent's base-radius is 0.61m and the height is 0.175m which matches the LoCoBot dimensions.

Figure 13. Rearrangement task in Habitat: Top-down visualization of a single rearrangement episode. Green circles denote the starting locations of two objects (1 and 2) and red circles denote the goal positions for the two objects. White circle with blue arrow denotes current agent location and pose. The colored lines indicates the path taken by an agent to solve this episode.

Sensors. Similar to the PointGoal navigation task in Habitat [1, 62] , the agent is equipped with an RGB-D camera placed at the height of 1.5m from the center of the agent's base and is looking in the 'forward' direction. The sensor has a resolution of 256x256 pixels and a 90 degree field of view. To mimic the depth camera's limitations, we clip simulated depth sensing to 10m. The agent is also equipped with a GPS+Compass sensor, providing agent location (x, y, z) and heading (azimuth angle) in an episodic coordinate system defined by agent's spawn location (origin) and heading (0 • ). Figure 14 . The grab/release action in Habitat uses the 'magic pointer' abstraction to pick up objects within range. Any object under a fixed crosshair in the agent's viewport can be picked by the agent if it is within a certain distance threshold.

Figure 14. The grab/release action in Habitat uses the ‘magic pointer’ abstraction to pick up objects within range. Any object under a fixed crosshair in the agent’s viewport can be picked by the agent if it is within a certain distance threshold.

Action Space. The action space for the rearrangement task consists of navigation and interactive actions. Navigation actions includes move forward 0.25m, turn left 10 • , turn right 10 • and stop. Interactive action grab release uses the magic pointer abstraction discussed earlier to pick nearby objects that are visible in the agent's field of view. Specifically, any object under a fixed crosshair in the agent's viewport can be picked by the agent if it is within a certain distance threshold. As illustrated in Figure 14 , this action works by tracing a 3D ray from the camera to the crosshair position in the near-plane of the viewing frustum and extending it until it hits a object or the distance threshold is reached. The object that intersects the ray is picked. For this scenario, the crosshair position is located at 128x176 in a 256x256 viewport and the distance threshold is 1.0m. The grab release action put the object in an invisible backpack. The agent can only carry one object at a time and calling the grab release action will release the object and put it back at the same relative location w.r.t. to the agent as it was picked.

Metric. Following Section 4, we use task completion as the primary metric. Specifically, an object is considered to have been rearranged successfully if it is placed within 1m of its desired goal location (as measured by the distance between the center of mass of the object in the desired and final pose). Task completion is the percentage of goal objects rearranged successfully. We also report episode-level success -an episode is considered successful (S = 1) if all objects specified in that episode are placed correctly. This episodic success metric can be useful in measuring the combinatorial planning aspects of the problem; for instance, if certain objects simply cannot be successfully placed in their goal locations without first moving another object. However, it is also noisier and thus is not considered the primary metric.

To measure how efficiently the agent performed the task, we measure Episodic Success Weighted by Path Length (SPL) using the length of the shortest-path trajectory l and the length of an agent's path l a for an episode. SPL is defined as Sl/max(l a , l). SPL intuitively captures how closely the agent followed the shortest path and successfully completed the episode. Shortest path is computed by posing the rearrangement task as an extension of the traveling salesman problem. We use OR-Tools [33] , a combinatorial optimization library, to find the solution to the generalized traveling salesman problem.