SCORES: Shape Composition with Recursive Substructure Priors

09/14/2018 ∙ by Chenyang Zhu, et al. ∙ 4

We introduce SCORES, a recursive neural network for shape composition. Our network takes as input sets of parts from two or more source 3D shapes and a rough initial placement of the parts. It outputs an optimized part structure for the composed shape, leading to high-quality geometry construction. A unique feature of our composition network is that it is not merely learning how to connect parts. Our goal is to produce a coherent and plausible 3D shape, despite large incompatibilities among the input parts. The network may significantly alter the geometry and structure of the input parts and synthesize a novel shape structure based on the inputs, while adding or removing parts to minimize a structure plausibility loss. We design SCORES as a recursive autoencoder network. During encoding, the input parts are recursively grouped to generate a root code. During synthesis, the root code is decoded, recursively, to produce a new, coherent part assembly. Assembled shape structures may be novel, with little global resemblance to training exemplars, yet have plausible substructures. SCORES therefore learns a hierarchical substructure shape prior based on per-node losses. It is trained on structured shapes from ShapeNet, and is applied iteratively to reduce the plausibility loss.We showresults of shape composition from multiple sources over different categories of man-made shapes and compare with state-of-the-art alternatives, demonstrating that our network can significantly expand the range of composable shapes for assembly-based modeling.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 10

page 12

page 13

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1. Introduction

[width=0.95tics=100]figures/img/overview

Figure 2. Overview of our SCORES shape composition pipeline, iterating over two key stages: (a) hierarchy inference, and (b-c) substructure adjustment. Adjustment comprises two passes: substructure embedding via bottom-up structure encoding (blue arrows); and substructure adjustment via top-down structure decoding (green arrows) and code adjustment (dashed arrows). The input consists of a group of parts, along with their OBBs, from two source shapes. Note that neither semantic nor relational information about the input parts is required throughout the pipeline; only that the source shapes are segmented.

Composition-based shape synthesis has been one of the most frequently adopted modeling paradigms for virtual 3D shapes since the seminal work of Funkhouser et al. [2004] on “modeling by example”. Instead of crafting shape geometry from scratch with low-level curve and surface primitives, shape composition is a data-driven approach which mixes-n-matches object parts already available in a shape collection. Such an approach allows even novice users to model 3D shapes with detailed geometry and complex structure, and facilitates design space exploration [Chaudhuri and Koltun, 2010; Xu et al., 2012; Cohen-Or and Zhang, 2016; Ritchie et al., 2018].

A primary challenge in mix-n-match modeling is how to resolve incompatibilities between selected parts to compose a well-structured, plausible 3D shape. Topological mismatches and significant positional misalignments between parts commonly cause such incompatibilities. From a modeling perspective, however, one often wants to combine incompatible parts in creative, yet sensible, ways to generate surprising and novel outcomes; see Figure 1.

Existing works on mix-n-match modeling [Chaudhuri et al., 2011; Jain et al., 2012; Kalogerakis et al., 2012; Xu et al., 2012; Laga et al., 2013; Zheng et al., 2013] have mainly focused on discovering and retrieving parts which are geometrically, semantically, or functionally compatible with their counterparts. Considerably less effort has been devoted to address the composition challenge of rearranging and deforming parts to resolve large discrepancies.

To address this challenge, we make the key observation that the ultimate goal of shape composition is to produce a final 3D shape that is plausible under a structure prior. While preserving the geometry and structure of the two (or more) sets of input parts is still an important criterion, the composition process should be allowed to significantly alter both attributes, possibly producing a novel overall structure for the composite shape. In particular, in light of possible large incompatibilities between the input parts, shape composition should not only be about connecting parts, it also has a structure synthesis aspect to it. The predominantly compositive process should also be able to add or remove parts to achieve the ultimate goal of mix-n-match shape modeling: to produce a plausible, coherent, and clean final 3D shape; see Figure 1.

In this paper, we introduce a machine learning

approach to shape composition. With a structure prior that is learned from training data, we aim to overcome limitations of existing, heuristic-driven part connection and substitution schemes, and expand the range of composable shape structures. The core of our learning approach is a novel

recursive neural network or RvNN. RvNNs can be trained to learn parse trees for sentences or images for classification tasks [Socher et al., 2011]. More recently, they have been used as generative models of global shape structures [Li et al., 2017]. However, such a global prior is insufficient for shape composition. The new challenge is that the composed shapes may possess novel structures which do not globally match any exemplar.

To address this new challenge, we make another key observation about the recurrent nature of substructures [Zheng et al., 2014]: salient part groups that frequently appear across a variety shapes and object categories. For instance, chairs, tables, and beds have different global structures but all contain a flat surface supported by legs, and bicycles and tricycles both combine a handlebar above a single front wheel. Even if a novel composite structure does not match any examplars globally, it often preserves recurrent substructures. Hence, our recursive neural architecture, called SCORES, learns to explicitly model substructures at various levels of abstraction, rather than concentrating on a monolithic global prior. When composing shapes, we are opting to perform substructure adjustments since it is infeasible to rely on global structure optimization when composing incompatible structures. Thus we need to learn a manifold of valid substructures, where the substructure adjustment can be interpreted as “docking” onto the learned manifold.

The input to our method is a set of parts from two or more source shapes, possibly belonging to different object categories. The output is a new composite shape, possibly with a novel overall structure. The input parts are only roughly aligned, and may have missing or redundant parts (Figure 1). SCORES formulates shape composition as a hierarchical substructure optimization problem, where the objective is to adjust part positions and geometry, and if necessary synthesize or remove parts, to account for the plausibility of each nested substructure rather than the global shape alone. Since the initial part alignment can be highly unreliable, we apply the trained network iteratively to progressively reduce the plausibility loss, interleaving hierarchy inference and substructure adjustment. To account for possible missing or redundant parts in the input, SCORES can synthesize novel shape structures by adding or removing parts if the plausibility loss resulting from the current parts is too large to overcome by geometric adjustments alone.

The performance of our trained network is benchmarked on the ComplementMe dataset [Sung et al., 2017], a subset of the ShapeNet repository [Chang et al., 2015]. The dataset contains more than 2000 3D shapes equipped with meaningful part segmentations for assembly-based shape modeling. Note that while the parts in ComplementMe are labeled, we do not use the labels in our learning and inference pipelines. We sample subsets of parts from dataset shapes, and merge them to form training and testing data. Performance is evaluated both with a structural plausibility measure based on projective shape comparison [Zhu et al., 2017], and by user studies.

In summary, our work makes the following contributions:

  • The first machine learning approach to 3D shape composition, where a trained neural network is able to resolve significant geometric and topological incompatibilities between parts, even allowing part insertion and removal to maximize plausibility of the final composite shape,

  • A formulation of shape composition with a plausibility objective based on substructure rectification,

  • A novel RvNN architecture trained to learn a substructure prior and to minimize the plausibility loss via iterative hierarchy inference and substructure adjustment, and

  • A benchmark for evaluating shape composition tasks.

2. Related work

There is a significant body of work on 3D modeling via part-based shape composition, also known as assembly-based modeling. The approach has its roots in real-world design prototyping by piecing together existing building blocks, as exemplified in “Kitbashing” [Wikipedia, 2017], or even children’s mix-n-match flipbooks for creating fantastical creatures [Ball, 1985]. Of course, the practice of constructing fixed designs with pre-fabricated components is even more widespread, e.g., in modular homes or IKEA furniture. Whether the goal is creative design, manufacturing ease, or transportation efficiency, a common thread in all forms of modular construction is the symbiosis of reuse and accessibility. These advantages carry over to virtual shape modeling as well.

In this section, we discuss related works on assembly-based modeling. While most works have studied part suggestions for interactive modeling [Chaudhuri and Koltun, 2010; Chaudhuri et al., 2011; Sung et al., 2017], we largely omit them since suggestions are not directly relevant to our work. However, we will discuss other aspects of these systems as appropriate.

Part connection.

Several authors have studied how to seamlessly connect pairs of parts, assuming that the parts to be connected have already been selected and placed in close alignment. The main challenge is to deform and seal adjacent boundary loops of the parts to create smooth joins [Funkhouser et al., 2004; Sharf et al., 2006]. The work of Takayama et al. [2011] allow regions from one mesh to be grafted onto another without a pre-defined boundary loop on the target surface. Recent work by Duncan et al. [2016] optimizes a shape collection for seamless part interchangeability.

The above methods use local geometric deformations to splice parts. A complementary line of work optimizes shape structure for better connectivity. Representative approaches set up an optimization problem to minimize the separations of likely connections between parts, e.g. [Kalogerakis et al., 2012; Schulz et al., 2014].

In contrast to these works, our method aims to optimize the overall structure of a crudely assembled shape, both in geometry and in topology, to maximize a data-driven plausibility prior, optionally adding or removing parts for greater coherence and realism.

Part substitution and crossover.

The Modeling by Example system of Funkhouser et al. [2004] enables users to retrieve parts by drawing simple proxies augmenting partially modeled shapes. Kraevoy et al. [2007] automatically detect regions of exemplars matching a query shape to enable part exchange. Jain et al. [2012] and Alhashim et al. [2014] further automate the process by inferring a sequence of part substitutions to blend one shape into another. The Fit-and-Diverse system of Xu et al. [2012] evolves a population of shapes by exchanging parts between them. Ritchie et al. [2018] learn a probabilistic program from the consistent hierarchies of exemplar shapes to generate new shapes with plausible topology and geometry. All of these systems require known correspondences between parts in different shapes. However, finding correspondences between topologically disparate shapes is challenging, since semantically correct correspondences may not even exist. In contrast, SCORES is correspondence-free, does not require access to the complete source shapes, and can modify the structure to improve plausibility.

Zheng et al. [2013] detect a small number of manually-defined substructure templates (e.g. a particular form of symmetric support) in a shape collection and permit part substitutions if the source and target parts conform to the same template. The employment of substructure modeling allows their work, as well as others, e.g., [Bokeloh et al., 2010], to perform cross-category part substitution, like SCORES. However, such substitutions were designed to preserve the global structure of the target shape. In contrast, SCORES is not confined to (global) structure preservation. Moreover, it discovers and models a much larger variety of nested substructures directly from data, without human intervention, and learns plausible shape composition using a neural network.

Part placement.

Inferring the correct placement of a part newly added to an assembly is a challenging problem. Works such as that of Kalogerakis et al. [2012] address this with semantic annotations (e.g., “wing attaches to body”). SCORES relaxes this requirement by not needing such relation annotations at all: in fact, our method does not require any part labels. A very recent relevant work is the ComplementMe system of Sung et al. [2017], which trains a “placement network” to predict where a newly suggested part should be placed in the assembly. Sung et al. are arguably the first to apply neural networks to part layout during shape composition. However, it is designed only to place a single part, and does not generalize to novel shapes that do not globally resemble any training exemplar.

SCORES vs. GRASS.

Our neural network, SCORES, was inspired by GRASS [Li et al., 2017]. However, the two RvNNs tackle different problems. GRASS is designed to synthesize 3D shapes globally resembling exemplars. It works “intra-shape”, where symmetry and connectivity provide strong constraints between parts in a single shape; it also operates “within category”, where global alignment helps part placement for shapes belong to same category. In contrast, SCORES solves the shape composition problem; it works “inter-shape”, “cross-category”, and must handle much greater structural diversity and part discrepancies, making the problem technically challenging and the network difficult to structure and train.

Computationally, SCORES is built on iterative, hierarchical, substructure rectification based on a plausibility loss, while GRASS is a single pass without hierarchy resampling. Iterations are not needed for GRASS since it benefits from consistent global shape alignment. Further, SCORES models the space of valid substructures with discrete latent space learning (VQ-VAE), while GRASS models the space of complete shapes. Our experiments show that SCORES is significantly better than GRASS (and variants) for composition tasks. In a loose sense, the complexity gap between GRASS and SCORES is analogous to global vs. partial matching. It is well known that partial matching is considerably harder than global alignment.

Generative shape priors.

There is a variety of methods that learn generative statistical models of shape spaces – the survey of Mitra et al. [2013] provides a good overview. In recent years, deep neural networks have been used to synthesize several shape representations, e.g. volumetric grids [Girdhar et al., 2016; Zhirong Wu et al., 2015; Jiajun Wu et al., 2016], point clouds [Huang et al., 2015], and part assemblies [Li et al., 2017]. SCORES is not, strictly speaking, a fully generative model: it is an iterative, structure-enhancing autoencoder which performs structure synthesis while conditioned on the input parts. Nevertheless, it shares a common context with the aforementioned priors, and is especially influenced by the last in terms of its recursive design. Unlike the other priors, however, it defines shape plausibility in terms of learned nested substructures, and can accommodate shapes that are globally unlike any seen during training but have plausible local structure.

3. Method

3.1. Problem statement and method design

SCORES takes as input a set of parts, typically from two or more different shapes, which can be grossly misaligned, and have missing or redundant components. SCORES converts this noisy soup of parts into a coherent, plausible, synthesized shape with all such defects corrected. It does not rely on part labels or other annotation to do so, and the final synthesized shape can look quite different from the input part collection – adding, removing, and adjusting parts – in order to maximize plausibility. By using an underlying shape prior to control the output, SCORES goes beyond earlier methods that seek to simply fuse a fixed set of (typically heavily annotated) parts together.

[width=1.0tics=10]noise_types(a)(b)(c)

Figure 3. Different types of noise in the input including alignment errors (a), redundant parts (marked with red dashed circles in (b)), and missing parts (indicated with a blue dashed circle in (c)).
Input.

The input to our method is a set of parts abstracted as simple oriented bounding boxes (OBBs). These parts are assumed to come from two or more different shapes, roughly aligned to a common coordinate system. In our experiments, we worked with consistently oriented and scaled shapes whose centroids were aligned for this initial placement. This mixture commonly has three types of noise: alignment errors, redundant parts, and missing parts, as illustrated in Figure 3.

Output.

The output of our method is a set of parts that form a coherent shape while maintaining the overall features and layout of the input parts as much as possible. The output is generated in two stages: the first rectifies the noisy and misaligned input boxes into a plausible, connected layout; the second transforms the underlying parts based on their corresponding box adjustments. When a new box is generated, its underlying part geometry is retrieved from the shape database, following the contextual retrieval of Li et al. [2017].

Method design philosophy.

Since the input parts may come from different shapes, merging them into a coherent structure faces key challenges. First, it is very likely there is no observed shape structure in the training set that completely explains the input set of parts. We must thus simultaneously infer a structural representation to accommodate the topology of the part relations, and improve the connections between parts by adjusting their geometry. Structure inference and geometry adjustment are coupled problems, which are not best addressed with a one-pass solution. Second, due to incompatibility among input parts, single-level global adjustment over the entire structure is likely to fail.

To address these challenges, we follow three principles:

  • Local adjustment. Although the full set of input parts may not resemble any training structure, it is likely that its subsets form substructures which are echoed in exemplars [Zheng et al., 2014]. Hence, these substructures, at various scales, should be adjusted with reference to valid substructures.

  • Hierarchy-guided adjustment. Randomly sampling substructures to adjust is neither efficient nor effective. Instead, we parse the input parts into a hierarchy, and use this hierarchy to sequentially adjust nested substructures in a top-down, cascading fashion.

  • Iterative solution. The structural organization and individual geometry of the parts should be inferred in an interleaved manner through iterative optimization.

Method overview.

Based on these considerations, we formulate an iterative optimization which interleaves hierarchy inference and hierarchy-guided local adjustment. Given two sets of parts, SCORES composes them through iterating over two key stages. First, the parts are organized into a common hierarchy which best reflects their current layout. Second, the position and orientation of each part is adjusted to increase the plausibility of the assembly’s constituent substructures, i.e. the subtrees of the inferred hierarchy. This stage itself comprises two passes. First, a bottom-up structure encoding pass assigns representative codes to each node of the hierarchy, capturing the arrangement of parts in its subtree, i.e. its substructure, in a context-free manner. Second, a top-down structure decoding pass adjusts these codes to correspond to more plausible part arrangements. The code adjustment is conducted with the help of a pre-learned manifold of valid substructures. Both the encoding and decoding functions are recursive neural networks trained by iteratively composing parts from exemplar shapes. Figure 2 provides an overview of the pipeline.

// (OBB encoder/decoder omitted for clarity.)
// Training of SCORES: VQ-VAE and DAE
Input :  Training shape set: .
Output :  DAE encoder: ; DAE decoder:  (deform) and  (synthesis); VQ-VAE codebook: .
1 , , TrainVQVAE();
2 AddRandomNoise();
3 , , TrainDAE(, , );
4 return , , and ;
// Optimization by testing SCORES
Input :  Trained networks/codebook: , , and ;
groups of part OBBs: .
Output :  Fused shape : .
5 InitializeHierarchy();
6 repeat
7        HierarchyInference(, , );
8        LocalAdjustment(, , , , , );
9       
10until Stop condition is met;
PartGeometry(, );
  // Transform or generate parts
11 return ;
Algorithm 1 Training and testing of SCORES.

3.2. Iterative optimization

Objective.

To merge a set of part OBBs, we organize them into an optimal hierarchy whose subtrees are well explained by a learned substructure model. This objective is formulated as follows:

(1)

where is the substructure rooted at node , and is its set of OBBs. is an adjustment energy which measures the deviation of a substructure from valid counterparts. Such deviation is minimized by local adjustment of the substructure.

Interleaving optimization.

The above objective is optimized iteratively. Each iteration comprises two distinct steps: (a) hierarchy inference and (b) substructure adjustment. The first step computes a plausible hierarchical organization (parse tree) for the current set of part boxes. The second step adjusts the geometry of the boxes based on SCORES’s

recursive denoising autoencoder

, trained to optimize the box configuration according to a learned structure prior. While the encoding phase of SCORES aggregates structural information hierarchically, the decoding phase performs a cascading adjustment of the substructures in the hierarchy, based on the learned model of valid substructures (see Figure 2(a,b)). The latter may sometimes regenerate a substructure, thereby adding/removing boxes, if necessary. The process is guaranteed to converge if both steps decrease the energy (discussion in supplementary material).

The step-by-step training and optimization (testing) processes are shown in Algorithm 1. We first learn the model (prior) of valid substructures (Line 1; Section 3.3.1) and then train the encoder-decoder networks for substructure adjustment (Line 1; Section 3.3.2). The learned substructure prior and the trained networks are used for iterative optimization (Line 1 and 1; Section 3.4.1 and 3.4.2). Below, we describe these phases in detail.

3.3. Training: Substructure prior and denoising network

We train our structure fusion model in two stages. First, we learn a codebook for valid substructures at various levels of abstraction. This stage is trained with clean, ground-truth shapes. Second, we fine-tune the neural network associated with the (frozen) codebook, in order to denoise part assemblies corrupted by synthetic noise.

3.3.1. Discrete latent space of substructures

Each topologically and functionally valid substructure is a discrete and isolated point in the space of all part layouts, since every part in it needs to fit just so and random perturbations can break the careful arrangement. More accurately, each substructure represents a small family of variants, generated by highly correlated changes to its parameters that preserve connectivity and other functional properties, that lie on a low-dimensional local manifold. Each such family of local variants can be considered a mode of the highly multi-modal distribution of plausible substructures. Therefore, we model the space of valid substructures via learning a feature embedding of substructures sampled from exemplar shapes (see Figure 5).

Instead of modeling randomly sampled substructures, we encode part structures of complete exemplar shapes with recursive neural networks (RvNNs) [Li et al., 2017]. The resulting part hierarchy contains a cascade of nested valid substructures as subtrees. A major benefit of analyzing substructures in complete shape hierarchies is that it allows us to learn direct contextual dependencies between different substructures.

Context-enhanced substructure encoding.

To learn a space of valid substructures, we must first embed all substructures in the part hierarchies of training shapes to a common feature space. To this end, we propose a recursive autoencoder [Socher et al., 2011] which recursively generates fixed-dimensional codes for each node of the hierarchy representing a substructure. This is achieved with a bottom-up encoding for structural information aggregation, followed by a top-down decoding for contextual information propagation [Le and Zuidema, 2014].

The bottom-up encoding generates an inner code for each node, which captures the local geometry of the subtree rooted there. Inner codes of child nodes are concatenated and fed to a shared fully-connected module to yield their parent’s inner code (Figure 4(a)):

(2)

where , and denote the inner codes of two sibling nodes and their parent node, respectively.

is a multi-layer perceptron (MLP) with two hidden layers, which encodes either adjacency or symmetry-based grouping 

[Li et al., 2017].

[width=1.0tics=10]inner_outer(a) Inner code generation.(b) Outer code generation.

Figure 4. An illustration of bottom-up encoding of inner codes and top-down decoding of outer codes.

The top-down decoding produces an outer code for a node, through decoding from its parent’s outer code, as well as the inner codes of its siblings (Figure 4(b)):

(3)

where , and denote the outer codes for a node and its parent, and the inner code of a sibling, respectively. is a two-layer MLP decoder, again corresponding to either adjacency or symmetry-based ungrouping.

A node classifier is trained to determine whether a node represents adjacency or symmetry grouping 

[Li et al., 2017]. The principal role of the outer code is to capture a node’s global context in the overall layout.

An additional box encoder generates the initial codes for part OBBs (input to the bottom-up pass) from box features, and a box decoder generates the final adjusted OBBs from the concatenated inner and outer codes of the leaf nodes after the top-down pass:

(4)

where and denote the inner and outer codes for a leaf node, respectively. and

are the parameter vectors of input and output OBB, respectively.

and are two-layer MLPs for box encoding and decoding, respectively. Please refer to supplementary material for details on hyper-parameters.

We made some design decisions in our treatment of inner and outer codes. For instance, we could have chosen to condition outer code generation on the concatenated inner and outer codes of the parent, or on the inner code of the node itself (and not just its sibling). We experimented with these alternatives. Concatenation yielded similar results, but slower convergence. Conditioning on the node’s own inner code also did not affect results, but we chose to avoid it to force the outer code to learn meaningful structure on its own. We did use both inner and outer codes for final OBB reconstruction, in order to achieve a conservative adjustment that respects the input.

[width=1.0tics=10]embedding

Figure 5. A t-SNE visualization of outer code embedding (latent space) of substructures (indicated by dots). The substructures are sampled from the hierarchies of chairs in four categories (color-coded), including four-leg, swivel, folding and rocking chairs. The size of a dot indicates the number of parts of a substructure. Four representative substructures, corresponding to codebook vectors in the discrete latent space, are shown on the sides.
A codebook of valid substructures.

For each internal node representing a valid substructure, we use its outer code as a globally contextualized feature representation and learn a latent space of such feature based on a variational autoencoder (VAE) [Doersch, 2016]. Since the subspace for valid substructures is discrete in nature, we model it using discrete latent representations, specifically a vector quantized-variational autoencoder (VQ-VAE) [van den Oord et al., 2017]. This approach combines VAE training with a dictionary learning: the latent code for an input is “snapped” to the nearest entry in a jointly learned finite codebook before being passed to the decoder. An input datapoint is represented in a VQ-VAE with learned codebook vectors as

where is the encoder output.

The VQ-VAE is trained on substructures sampled from hierarchies of training shapes. (These hierarchies are computed by GRASS [Li et al., 2017].) The details on learning the encoder/decoder, as well as the VQ codebook, can be found in supplementary material. Figure 5 visualizes the learned discrete latent space of valid substructures. Once trained, we can define for a given substructure rooted at node a VQ representation error, i.e. its deviation from the learned model of valid substructures:

(5)

where is the outer code of node . Figure 6 illustrates the VQ representation of a substructure via nearest neighbor search in a discrete latent space.

Consequently, the objective in Equation (1) can be written as the overall VQ error at all internal nodes in hierarchy :

(6)

[width=1.0tics=10]objective

Figure 6. Local adjustment of the substructure corresponding to the internal node shaded in red. The adjustment is conducted in a top-down pass, with outer code computation (embedding) and nearest neighbor snapping (demonstrated only for the right child) in a discrete latent space (rightmost) learned from valid substructures. The VQ representation error, which is the distance between embedded and snapped codes, measures how much the substructure deviates from a valid one.

3.3.2. Fine-tuning the autoencoder for denoising

The VQ-VAE codebook is trained on clean, ground-truth shapes, in order to learn the correct substructure prior. Now, holding this codebook frozen, we will fine-tune the encoder-decoder networks to repair noisy part assemblies, which is the main goal of this paper. We select random subtrees of training shape hierarchies as substructures to be denoised. We then add synthetic noise to them, to mimic the effect of creative assembly (details in supplementary material): the original substructure is the desired denoised output.

To perform the denoising, we re-use the recursive encoder-decoder networks used for substructure feature learning to create a denoising autoencoder (DAE), which performs cascading substructure adjustment guided by the current part hierarchy. Taking the current set of part OBBs as input, the DAE performs an RvNN encoding followed by an RvNN decoding, where the inner and outer codes for each node are computed as above. The key feature of the DAE is substructure adjustment performed at each internal node during the decoding phase, based on its outer code. The adjustment relies on the learned latent space of valid substructures. Specifically, we reduce the VQ representation error for an internal node by VQ-VAE denoising [van den Oord et al., 2017] – “snapping” its outer code to the nearest codebook vector – and continue decoding with the snapped outer code (see Figure 6 for an illustration of this process). After a full pass of top-down decoding is finished, a denoised configuration of OBBs is generated.

This training step results in updated networks and which can map even noisy substructures to outer codes close to the corresponding “clean” codebook entries. VQ-VAE “snapping” then handles the necessary residual denoising. These fine-tuned DAE networks, plus the VQ-VAE codebook, constitute the SCORES model for structure fusion via local adjustment.

In cases where a part of the input is too noisy to be fixed by local adjustment alone (e.g. parts must be added or removed), we fully re-synthesize this substructure using a jointly trained synthesizing decoder , details can be found in supplementary material. For ease of presentation, this component is discussed separately below.

3.4. Testing: Iteratively optimizing a noisy part assembly

Our structure fusion procedure proceeds in two alternating steps, repeated until convergence.

3.4.1. Alternating step 1: Hierarchy inference

The first step takes the current set of part OBBs as input, and infers an encoding hierarchy for it so that the substructures rooted at internal nodes are best explained by the VQ-VAE substructure prior. Our task is to search for a hierarchy minimizing Equation (6), which is an NP-hard problem. To avoid exhaustive search, we resort to an importance sampling strategy. Proceeding top-down from the root node of the current hierarchy, we select a set of internal nodes whose subtree hierarchies will be resampled. The selection is based on VQ error: a node with high error is likely to benefit from resampling. Specifically, we select a node , whose subtree is substructure

, for resampling with probability

, where is the maximum error among all internal nodes and by default. is set to 0 for the root node.

For each selected node, we randomly resample at most new hierarchical groupings of the leaf nodes in its subtree. The whole process is repeated times. Figure 7 shows an illustration of hierarchy resampling. If a hierarchy with smaller overall VQ error is found, it is used for the next iteration, else the previous hierarchy is retained.

To bootstrap the iteration, an initial hierarchy is constructed by inducing a tree for the parts from an individual source shape, as a subgraph of the shape’s reference hierarchy computed using GRASS [Li et al., 2017]. These subtrees are then linked together with a common parent. When the source shape or its hierarchy is unknown, we simply build a hierarchy with all input OBBs from scratch using, again, the method in GRASS.

In Figure 8(bottom), we show the effect of not recomputing the hierarchy after each local adjustment step. Without recomputation, correctly grouped substructures are not available for adjustment: the method converges slower and to worse output.

[width=1.0tics=10]hier_infer(a)(b)(c)

Figure 7.

An illustration of hierarchy resampling. Given the hierarchy from the previous iteration (a), a sampling probability is estimated for each internal node (numbers beside nodes), based on its representation error (small error implies large probability). Once an internal node is selected (e.g. node ‘B’), its descendants will not be selected. The selected nodes (red) are used to resample new hierarchies, with random permutations (only two are shown in (b) and (c)). In the new hierarchies, the subtree under ‘B’ from the old hierarchy is transplanted verbatim.

3.4.2. Alternating step 2: Local adjustment of substructures

The second alternating step of structure fusion is local adjustment, in which part OBB shapes and positions are adjusted for greater plausibility and coherence, guided by the inferred hierarchy. A straightforward approach would be a denoising version of GRASS [Li et al., 2017]: the part assembly is recursively encoded to a root code, and decoded back to a “clean” version, with training comprising noisy/clean shapes. But as noted above, this method fails for structure fusion. GRASS-type methods work when the desired output is globally similar to training shapes. However, for fusion, the input assemblies could be quite different from anything seen in training, with similarity only at the local level.

Hence, we use a prior over plausible substructures, rather than complete shapes alone. The recursive denoising autoencoder (DAE) learned in Section 3.3, guided by the VQ-VAE substructure prior, is used to adjust the OBBs towards greater plausibility over local contexts. The part OBBs of the noisy assembly are mapped to inner codes by the box encoder ; the inner codes are propagated up the hierarchy inferred above by recursively applying the encoder network ; outer codes are generated top-down using the decoder network and the the VQ-VAE codebook ; and finally the denoised codes at the leaf level are mapped back to clean OBBs using the box decoder .

Figure 8(top) shows the decrease in overall VQ error as the iterative optimization proceeds.

[width=1.0tics=10]converge

Figure 8. Change of representation error with iterative part adjustment, with (top row) and without (bottom row) hierarchy resampling. Given a randomly perturbed part configuration of a bicycle model, we show the results of adjustment at various iteration steps (marked with red vertical lines). Our method converges better with hierarchy resampling.
Deformation vs. Synthesis.

Aggregating parts from multiple different shapes may lead to redundant or missing parts (Figure 3). This can yield a substructure with large VQ error, which code snapping is unable to correct since it cannot change part counts. In this case, a denoising autoencoder that entirely re-synthesizes the substructure from its root code can fix the defect, at the loss of some fidelity to the input geometry. However, as we noted earlier, such an approach produces shapes similar to training exemplars. If applied at global scale, it is unsuited for open-ended design tasks where arbitrary and novel shapes may be created.

Hence, our local adjustment includes an exploratory tradeoff between geometric deformation (that preserves the number of input parts) and full synthesis (which may add or remove parts). Our metric is naturally the VQ error at each node. If the metric is small, we accept it as a plausible substructure and merely seek to improve its geometry via VQ-VAE based denoising, without changing its part composition. Otherwise, we re-synthesize it from scratch from its concatenated inner and outer codes:

(7)

where , and are the codes of a parent node and its two children, respectively, and is a two-layer MLP. The root node of the substructure is assigned the code . See Figure 9 for an illustration of full synthesis of a substructure.

The threshold determining when the error is large enough for full synthesis is an interactive, user-specified parameter. To avoid easily triggering re-synthesis of globally unusual part combinations (high error at the root node), we add node depth to the metric, suppressing re-synthesis of larger substructures:

(8)

where is the depth of node and the maximum depth of the hierarchy. We use for all experiments, and per-category fine-tuning of could get better performance.

[width=1.0tics=10]full_gen

Figure 9. Illustration of full re-synthesis of the substructure corresponding to the internal node shaded in red. Since the VQ representation loss is too large, the substructure is deemed implausible, and is recreated from scratch with the synthesis decoder . This decoder is trained for repairing substructures with redundant or missing parts.

3.4.3. Synthesizing fine-grained shape geometry

Having obtained the assembled structure of part OBBs, we transform each input part to its output (denoised) placement by aligning input and output OBBs. If a subtree is re-synthesized, we fill newly created OBBs with database parts retrieved by SARF codes [Li et al., 2017]. Since our local adjustment is over OBBs, transformed parts may have small misalignments at connection points. We improve these connections with least-squares optimization of closest “docking points” on adjacent parts [Kalogerakis et al., 2012]. SCORES already leads to a plausible assembly of parts, so this post-adjustment is sparse and minor: only shapes required it. The amount of post-adjustment is no more than of the OBB diagonal of the entire shape for translation, and for scaling. This is typically less than of the scale of our RvNN-based substructure adjustment.

Please refer to the source code on our project page111http://kevinkaixu.net/projects/scores.html to clarify details and reproduce our results.

4. Results and Evaluation

In this section, we evaluate the performance of SCORES for structure fusion and show results on multiple shape categories.

Dataset and benchmark.

We tested our algorithm on the publicly available ComplementMe dataset [Sung et al., 2017], which is a subset of the ShapeNet repository [Chang et al., 2015]. Each shape has part segmentations for the purpose of assembly-based shape modeling. Like extensive prior work [Mitra et al., 2013], we rely on access to a segmented dataset, typically obtained by some combination of automatic and manual annotation. While the method can handle some over-segmentation, we cannot work with completely unsegmented shapes. We did not use any part labels throughout the training and testing processes: our method is label-free.

Dataset statistics are given in Table 1. For each category, 20% of the shapes were chosen for testing, and the remaining 80% for training. The parts in each test shape were randomly partitioned into groups, which will be mixed and matched to test structure fusion. Each shape contributes at most different partitions. The number of parts per group ranges in ( is the shape’s part count). We call this the StructMerge benchmark, and will make this publicly available, along with all our code.

Category # Shapes # Substructures
Airplane
Bicycle
Candelabrum
Chair
Lamp
Table
Table 1. Dataset statistics. For each category, we list the shape count and the number of substructures sampled from the shape hierarchies.

We use this benchmark to test both local adjustment without structure synthesis, as well as structural composition that is free to judiciously add and remove parts to improve plausibility. In both cases, we employ an initial quantitative metric that measures whether two part groups from the same source shape, with added noise, can be successfully merged. (We discuss results for more than two part groups separately.) We test our method’s robustness to varying noise levels in the evaluation below. The error in part merging is measured as the sum of squared L2 distances between the (noise-free) ground-truth part OBBs and the corresponding OBBs in the merged output. This metric of course does not reflect the algorithm’s ability to merge parts from different source shapes, which is the significant application of our method. For this, we must resort to human visual evaluation, since no automatic test is suitable. In the tests below, we present both visual comparisons (Figures 1, 12 and 16) as well as the results from user experiments.

Exact composition (no synthesis).

We first present plots showing the performance of our method in merging part structures with only local adjustments of part placement and geometry. In Figure 10, we show the post-merge error (vs ground truth) with noisy input OBBs, averaged over all shapes in our benchmark. To add noise, the vector encoding the parameters (positions, axes and dimensions) of an input OBB is perturbed with Gaussian noise. The plots in 10(a) show the error for varying noise levels. For a more intuitive demonstration of the robustness of our method to initial misalignment of part groups, we plot in 10(b) the merge error over varying spatial distance between two groups. The distance is measured with respect to the OBB diagonal length of the full ground-truth shape.

In Figure 11, we show a quantitative comparison for several ablated alternative methods, namely:

  • No Sibling’s Inner. For each internal node, the computation of its outer code does not incorporate its sibling’s inner code.

  • Inner-Outer Concatenation. For each internal node, the computation of its outer code is based on the concatenation of both inner and outer codes of its parent node; not just outer.

  • No Inner for Leaves. At a leaf node, only its outer, but not inner, code is used to decode an OBB.

  • No VQ-VAE. No substructure prior.

  • No Hierarchy Resampling. The initial hierarchy is used for all iterations.

Vanilla GRASS [Li et al., 2017] is obtained by omitting the VQ-VAE (substructure prior), omitting the use of inner codes when computing outer codes (input prior), and inferring decoding hierarchies from root codes alone (instead of reversing encoding hierarchies). This version did not converge in training to denoise noisy part assemblies, so we compare to only the (more powerful) variants above.

Figure 10. Performance (merge-error against ground-truth) of our method over varying amounts of perturbation, evaluated on shapes in four categories from our StructMerge benchmark. (a): Increasing level of Gaussian noise is added to the input vector of OBB parameters. (b): Spatial distance between two part groups is increased. Noise level and spatial distance are measured w.r.t. the OBB diagonal of the entire shape.
Figure 11. Performance (merge-error) of our method vs alternatives for fusing structures with local adjustments only, over an increasing number of iterations. The evaluation is conducted with shapes in two categories (Chair and Bicycle) from our StructMerge benchmark.

Over two relatively challenging categories, Chair and Bicycle, we plot merge error over increasing number of iterations, for all alternatives. (The plots for other categories are similar.) As can be observed in the plots, our full method achieves the fastest convergence and produces the lowest error for both datasets, compared to these alternatives. Specifically, we found that the incorporation of inner codes for leaf nodes, the VQ-VAE substructure prior, and hierarchy resampling are the most critical design choices for our method, since removing them causes the most significant performance drops (error increase). Since the curves for “Inner-Outer Concatenation” are quite close to those of our presented method, they are not plotted for clarity. However, we found training the former takes longer to converge.

To test how well we can merge substructures from different source shapes, we first show visual examples of challenging merges successfully performed by our method (Figure 16, also see supplementary). Our method can also merge parts from more than two source shapes, as shown in Figure 12. Note that since the parts originate from different shapes, simple superimposition gives poor results and hence we do not need to add further noise. Next, we show how human raters compared our results in a preliminary user study.

Figure 12. Merging parts from multiple source shapes.
User study.

We design two user studies to evaluate our shape composition algorithm in generating plausible shapes. It should be noted that a shape composition algorithm is but one part of the puzzle of modeling good shapes. Selecting which parts should be merged is another essential factor. Therefore, we perform two different studies. The first study is a sanity check on merging parts from a single complete shape. In the second, input parts are chosen from two or more shapes, to see if our method can merge parts from possibly incompatible structures. Each study surveyed participants (graduate students from various majors and backgrounds).

In the first study, we split one single shape into two groups of parts. The groups may overlap or omit some parts, and each part is randomly oriented and posed. We show human evaluators two shapes in random order: the result of merging the groups with our algorithm, and the original source shape (the optimal merging result). Note that the test shapes used in this study were not included in the training set. We asked the evaluator: “which shape looks more plausible?”, explaining that plausibility should be judged in the context of the part’s category. In Figure 13, we plot the preference percentages for different combinations of parts from shape categories. The results show that the merging artifacts produced by our method are barely recognizable by a human observer.

Figure 13. Human evaluation of shape plausibility between our merging results and ground truth.
Category SCORES No VQ No Resampling
Airplane 4.7/4.4 3.1/3.5 4.1/3.7
Bicycle 4.2/4.1 3.3/3.0 4.0/3.8
Candelabrum 4.7/4.6 3.9/3.7 4.3/4.0
Chair 4.4/4.3 3.2/3.0 3.0/2.9
Lamp 4.6/4.5 3.9/3.6 3.0/3.5
Table 4.4/4.1 4.0/4.1 3.7/3.9
Table 2. Human evaluation of heterogeneous structure merging statistics, as rated by human evaluators, on a scale ranging from 1 (very poor) to 5 (very good). Statistics for output plausibility () and merge quality () are presented separately as .
Condition SCORES No VQ No Resampling
Single Sub-category 4.7/4.5 3.7/3.9 4.1/3.9
Across Sub-categories 4.1/4.3 2.9/3.3 3.0/3.5
Table 3. Human evaluation of heterogeneous structure merging statistics, within and across fine-grained sub-categories of chairs (e.g. swivel chairs, folding chairs, etc.). Statistics for output plausibility () and merge quality () are presented separately as .

In the second study, each participant is first presented with two randomly chosen groups of parts from two different shapes, and then the merged result with a randomly chosen algorithm, all rendered as in Figure 16. Since the two groups of parts may come from shapes with very incompatible structures, we do not set functionality or aesthetics as our goal, but focus only on merge quality. The participant rates the result from 1 (very poor) to 5 (very good). The rating targets two aspects: (1) Plausibility: how realistic the result looks independent of sources; and (2) Merge quality: how good the result is as a fusion of the source substructures. Table 2 reports results for all six categories, showing that SCORES fares better in both plausibility and merge quality. In Table 3, we show results for the Chair set, with a split for intra- and inter- sub-categories of chairs (e.g. swivel chairs, folding chairs, etc). SCORES achieves satisfactory quality in both cases, demonstrating the capability of our method in merging incompatible structures. Interestingly, VQ-VAE turns out to be more important than resampling for merging substructures from different shapes, in contrast to handling substructures from single shapes. This shows the importance of substructure snapping in latent VQ space for the adjustment of incompatible structures.

Figure 14. Examples of completing missing parts (a and b) and removing redundant parts (c and d), with different settings of . corresponds to exact composition, while lower values lead to greater structure re-synthesis.
Flexible composition (with structure synthesis).

SCORES differs from all prior structure merging methods in that it can add or remove parts to increase the plausibility of the resulting shape. Here, we demonstrate that our model is able to both complete missing parts and remove redundant (overlapping) parts in the input. In Figures 1 (left) and 16 (d, h), we show merges with missing parts that are corrected by our method. In contrast, purely assembly-oriented methods, such as Fit & Diverse [Xu et al., 2012], cannot handle such corrections. Similarly, we also show examples (Figures 1 (right) and 16 (c, g)) where the two merged groups have common (semantically similar) or overlapping parts, but these conflicts are resolved in the output. Figure 14 shows how our method can trade off between exact and flexible composition, controlled by the threshold determining when to invoke synthesis. As in the examples, a default of corrects most noticeable missing or redundant parts.

Figure 15. Visual comparison of shape composition results with ComplementMe [Sung et al., 2017] and Fit-and-Diverse [Xu et al., 2012].
Figure 16. Visual examples of challenging compositions achieved by SCORES over six object categories. In each block, the leftmost box shows parts selected from two source shapes for merging (red and green). The middle box shows the OBB inputs to the algorithm – an initial hierarchy is computed for each group of parts separately (as a subgraph of the inferred source hierarchy) and they are then linked by a common parent. The rightmost box shows the final merged result (OBB and fine-grained geometry). Redundant parts in the sources are circled with blue dots (b). New parts synthesized to better fit the shape prior are colored in blue (d). In (j), we show cross-category part merging between Chair and Table. Substructure adjustment was conducted based on the substructure model (discrete latent space) learned for chairs, thus yielding a chair-like final shape.
Comparisons.

We compare our method with two state-of-the-art methods for shape composition: ComplementMe [Sung et al., 2017] and Fit-and-Diverse [Xu et al., 2012]. First, in Figure 15, we show a few representative visual comparisons. ComplementMe inserts new parts, one at a time, into a partial part assembly. It learns both a part suggestion network and a part placement network from training data, where the latter predicts the most likely position of a new suggested part based on the current assembly. We only compare our method with the placement network of ComplementMe. The parts to be inserted or composed are given in the two input shapes. Since ComplementMe can insert parts from either input shape into the other, we tried both directions and picked the better result obtained to shown in Figure 15. The less than satisfactory results by ComplementMe can be mainly attributed to its paradigm of greedily inserting one part at a time. The part placement network cannot adjust the current shape parts to better accommodate a new part. The placement is based on local criteria and not guided by an overall plausibility prior of the target shape. In contrast, SCORES jointly and hierarchically optimizes placements of all parts from the inputs, based on learned substructure priors and a plausibility loss, leading to better overall realism of the final 3D shape.

The Fit-and-Diverse tool of Xu et al. [2012] evolves a 3D shape collection to fit user preferences. The fundamental modeling operator is shape crossover

, inspired by genetic algorithms, whereby corresponding parts from two shapes in the same category can be exchanged. Crossovers are performed between shapes based on a fuzzy one-to-one part correspondence. For shapes with incompatible structures, this correspondence can be quite unreliable, resulting in missing parts in the crossover results: see Figure 

15, first row. Hence, Fit-and-Diverse cannot handle high structural complexity and incompatibility. In contrast, SCORES is correspondence-free and relies on a data-driven plausibility prior for structure optimization.

To quantitatively compare merging results between Fit-and-Diverse and SCORES, we employ the structural plausibility measure of Zhu et al. [2017], based on multi-view depth images. This measure is learned by a deep neural network and trained on ShapeNet to predict the plausibility of a 3D shape with respect to an object category, i.e., “how much the shape looks like a chair from multiple views”. We evolve the same input set using the Fit-and-Diverse framework, where the only difference is the crossover operator: either SCORES, or the original scheme [Xu et al., 2012]. We compute plausibility scores for the crossover results obtained by the two options, and repeat the experiment over 10 input sets from 3 categories: chair, airplane, and bicycle. The overall result shows that the average plausibility score by SCORES is about higher than that by Fit-and-Diverse. Scores for individual runs are in supplementary material.

We also make a comparison based on subjective measures of plausibility. We asked 50 human raters to judge the evolved shapes as plausible or not. The average percentage of plausible crossover outputs is for SCORES and for Fit-and-Diverse.

Note that to ensure fairness of the above comparisons, our least-squares post-process for connecting docking points was omitted, so that only the arrangement priors were being compared.

Timing.

The runtime performance of our shape composition depends on the size of the input part structures. For most examples, where the input parts number less than 30, our method typically converges within 20 iterations, in less than minute. About of the time is spent on hierarchy inference. Training takes 8 hours for VQ-VAE, and 12 hours for DAE, on an NVIDIA GTX 1080Ti.

5. Applications

SCORES can be directly used for interactive assembly-based modeling: we show several example sessions with such an interface at the end of our accompanying video. In addition, we present two prototype applications demonstrating the applicability of SCORES beyond interactive modeling: crossover for shape evolution and data-driven scan reconstruction.

Figure 17. A chair collection (bottom) evolved from an input set of 9 chairs (top) using the Fit-and-Diverse framework of Xu et al. [2012], where the crossover operations were performed by SCORES.
Set evolution.

We can embed SCORES into the Fit-and-Diverse [Xu et al., 2012] modeling framework to improve the quality and inclusivity of shape crossover. Specifically, we use their fuzzy correspondence scheme to find corresponding parts in two shapes and swap the parts to initiate two shape composition tasks. We then apply SCORES to carry out the tasks. Figure 17 shows a collection of chairs generated from a set of input chairs in this way.

Figure 18. Complete shapes reconstructed from noisy, incomplete point clouds using SCORES. Newly generated OBBs are marked in blue.
Scan reconstruction.

Reconstructing complete, plausible shapes from incomplete and noisy point scans is an important, but ill-posed problem. Hence, it is natural to use data-driven priors for the task [Shen et al., 2012; Sung et al., 2015]. Our shape composition network SCORES can also be utilized for scan completion. As shown in Figure 18, with strong shape priors learned from training data, SCORES can reconstruct fine-grained shape geometry even for scans with significant missing portions. To produce these results, we first segment the scan using the supervised point clustering of Sung et al. [2015] (this is also the first step of their data-driven shape completion method). Then we fit OBBs to the point clusters and apply SCORES to the collection of OBBs via substructure rectification. SCORES can synthesize new parts based on learned substructure priors to improve the shape’s overall plausibility, while Sung et al. rely on pre-defined global shape templates to fit the incomplete point clouds. However, SCORES only performs structure rectification: to output fine-grained geometry, database parts are retrieved via SARF codes and transformed to fit output OBB parameters. Hence, the completed output may not precisely match the fine-grained geometry of the scan. This limitation can be addressed in the future by querying the part database with fine-grained segment geometries.

6. Discussion, limitation, and future work

Our work on learning to compose 3D shapes has two key “take-home” messages. First, shape composition is more general than part insertion (e.g. ComplementMe [Sung et al., 2017]), part exchange/crossover (e.g. Fit&Diverse [Xu et al., 2012]), and part connection, which are modeling paradigms adopted by previous works. In our general setting, we compose sets of parts whose union may not be a complete shape (hence, new parts need to be added) and there may be incompatibilities between parts (duplicates, significant geometry/topology mismatches). Our goal is to learn from data, to overcome all these issues and produce a plausible composed structure. Our paper realizes this promise with a recursive autoencoder network (SCORES). Results show that when trained on structured shapes from ShapeNet, the network is able to learn to compose inputs from multiple sources that may be corrupted by gross misalignments and missing or redundant parts.

The second insight is that it is possible to generate new shape structures, which are unseen in training data, through our shape composition, as long as the substructures in the input can be rectified from the training data. We believe this is a transferable concept that can empower generative models for other problems.

Unlabeled OBBs.

Our structural analysis and composition operate entirely on unlabeled OBBs without explicit encoding of part semantics. Like GRASS [Li et al., 2017], SCORES works with shape structures that not only depend on where the part BBs are but also how they are related to each other in the context of a shape. The basic premise is that the location of a part in a shape and its spatial context can well characterize what that part is, even without the precise geometry of the part itself and its meaning. It would be interesting to see whether unlabeled OBBs are sufficient when we extend the analysis to 3D scenes, where shape parts would become objects in a scene, but the object-object relations in scenes appear to be a lot looser than part-part relations in 3D shapes.

Generative capabilities.

Our network is not designed to be fully generative like GRASS [Li et al., 2017]: it can synthesize novel structures but will only do so when part composition alone incurs too large a plausibility loss. Specifically, when the VQ representation error is too large for an outer code, the ensuing structure synthesis is performed with a pre-trained denoising autoencoder, rather than based on VQ-VAE, as in GRASS. With VQ-VAE, we expect to obtain a more consistent solution, but we have found it to be hard to train. Part of the reason is that the outer code for an incomplete structure can be arbitrarily distant from that of its completed counterpart in the latent space. A possible remedy is to first learn a joint embedding of both complete and incomplete substructures, which we leave for future work. Nevertheless, it is interesting to observe the trade-off between composition and synthesis; see Figure 14. Like GRASS, SCORES is trained with and operates on segmented 3D models, but we do not require part labels. Another limitation is that each input part is assumed to be complete and not partial. Relaxing this assumption may not be a must for assembly-based modeling, but could be desirable in other problem settings.

Functionality, aesthetics, and creativity.

These are all modeling criteria that our method does not explicitly account for. SCORES learns substructure priors for shape composition; it is not trained to learn functionality, aesthetics, style, or creativity as there is no such knowledge embedded in the training data. Moreover, to obtain a plausible composite shape, a prerequisite is that the input parts could possibly lead to such a final shape. Currently, our method does not verify this; it simply minimizes the plausibility loss based on what SCORES was able to learn from the data.

Failure cases.

Clearly, the success of our learning-based approach hinges on data. Figure 19 shows two typical failure cases of our method, which relies strongly on the discrete latent space learned from valid substructures. When an improper model is learned or utilized, implausible results may result. For example, when some substructure is absent or rare in the training set, our method tends to adjust it into a known but different substructure, without preserving the original structure. When performing cross-category part merging, it is possible that the substructure model, learned for one category, cannot accommodate parts from a different category, leading to implausible placement of those parts.

Figure 19. Two typical failure cases. Top: As the training set contains too few folding chairs, our method tends to adjust the folding leg parts into a known, but undesirable substructure. Bottom: When input parts from chair and table (Figure 16(j)) are assembled based on latent space learned for tables, the output is less plausible — chair back cannot be placed well on a table.
Future work.

Our work also opens the door to several other future directions. Rather than emphasizing composition over synthesis, we could reverse them and turn our network into a conditional generative model, allowing large portions of a 3D model to be synthesized based on sparse inputs. The inputs themselves can be expanded to include hand-drawn sketches or images. Generative image/sketch composition is also a promising avenue to explore.

Acknowledgements

We thank the anonymous reviewers for their valuable comments and feedback. This work is supported in part by grants from NSFC (61572507, 61532003, 61622212) and Hunan Province (2017JJ1002) for Kai Xu, NSERC Canada (611370) and Adobe gift funds for Hao Zhang, and China Scholarship Council for Chenyang Zhu and Renjiao Yi.

References

  • [1]
  • Alhashim et al. [2014] Ibraheem Alhashim, Honghua Li, Kai Xu, Junjie Cao, Rui Ma, and Hao Zhang. 2014. Topology-Varying 3D Shape Creation via Structural Blending. In SIGGRAPH.
  • Ball [1985] Sara Ball. 1985. Croc-gu-phant. Ragged Bears.
  • Bokeloh et al. [2010] Martin Bokeloh, Michael Wand, and Hans-Peter Seidel. 2010. A Connection Between Partial Symmetry and Inverse Procedural Modeling. In SIGGRAPH.
  • Chang et al. [2015] Angel X. Chang, Thomas A. Funkhouser, Leonidas J. Guibas, Pat Hanrahan, Qi-Xing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. 2015. ShapeNet: An Information-Rich 3D Model Repository. CoRR abs/1512.03012 (2015).
  • Chaudhuri et al. [2011] Siddhartha Chaudhuri, Evangelos Kalogerakis, Leonidas Guibas, and Vladlen Koltun. 2011. Probabilistic Reasoning for Assembly-based 3D Modeling. ACM Trans. Graph. 30, 4 (2011), 35:1–35:10.
  • Chaudhuri and Koltun [2010] Siddhartha Chaudhuri and Vladlen Koltun. 2010. Data-Driven Suggestions for Creativity Support in 3D Modeling. ACM Trans. Graph. 29, 6 (2010), 183:1–9.
  • Cohen-Or and Zhang [2016] Daniel Cohen-Or and Hao Zhang. 2016. From inspired modeling to creative modeling. The Visual Computer 32, 1 (2016), 1–8.
  • Jiajun Wu et al. [2016] Jiajun Wu, Chengkai Zhang, Tianfan Xue, William T. Freeman, and Joshua B. Tenenbaum. 2016. Learning a Probabilistic Latent Space of Object Shapes via 3D Generative-Adversarial Modeling. In NIPS.
  • Zhirong Wu et al. [2015] Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 2015. 3D ShapeNets: A deep representation for volumetric shapes. In CVPR.
  • Doersch [2016] Carl Doersch. 2016. Tutorial on variational autoencoders. arXiv preprint arXiv:1606.05908 (2016).
  • Duncan et al. [2016] Noah Duncan, Lap-Fai Yu, and Sai-Kit Yeung. 2016. Interchangeable Components for Hands-on Assembly Based Modelling. ACM Trans. Graph. 35, 6 (2016), 234:1–234:14.
  • Funkhouser et al. [2004] Thomas Funkhouser, Michael Kazhdan, Philip Shilane, Patrick Min, William Kiefer, Ayellet Tal, Szymon Rusinkiewicz, and David Dobkin. 2004. Modeling by Example. ACM Trans. Graph. 23, 3 (2004), 652–663.
  • Girdhar et al. [2016] Rohit Girdhar, David F Fouhey, Mikel Rodriguez, and Abhinav Gupta. 2016. Learning a predictable and generative vector representation for objects. In ECCV.
  • Huang et al. [2015] Haibin Huang, Evangelos Kalogerakis, and Benjamin Marlin. 2015.

    Analysis and synthesis of 3D shape families via deep-learned generative models of surfaces. In

    SGP.
  • Jain et al. [2012] Arjun Jain, Thorsten Thormählen, Tobias Ritschel, and Hans-Peter Seidel. 2012. Exploring Shape Variations by 3D-Model Decomposition and Part-based Recombination. In Eurographics.
  • Kalogerakis et al. [2012] Evangelos Kalogerakis, Siddhartha Chaudhuri, Daphne Koller, and Vladlen Koltun. 2012. A probabilistic model for component-based shape synthesis. ACM Trans. Graph. (SIGGRAPH) 31, 4 (2012).
  • Kraevoy et al. [2007] Vladislav Kraevoy, Dan Julius, and Alla Sheffer. 2007. Shuffler: Modeling with Interchangeable Parts. In Pacific Graphics.
  • Laga et al. [2013] Hamid Laga, Michela Mortara, and Michela Spagnuolo. 2013. Geometry and context for semantic correspondences and functionality recognition in man-made 3D shapes. ACM Trans. Graph. 32, 5 (2013), 150.
  • Le and Zuidema [2014] Phong Le and Willem Zuidema. 2014. The Inside-Outside Recursive Neural Network model for Dependency Parsing.. In on EMNLP. 729–739.
  • Li et al. [2017] Jun Li, Kai Xu, Siddhartha Chaudhuri, Ersin Yumer, Hao Zhang, and Leonidas Guibas. 2017. GRASS: Generative Recursive Autoencoders for Shape Structures. ACM Trans. Graph. 36, 4 (2017), 52:1–52:14.
  • Mitra et al. [2013] Niloy Mitra, Michael Wand, Hao Zhang, Daniel Cohen-Or, and Martin Bokeloh. 2013. Structure-aware shape processing. In Eurographics State-of-the-art Report (STAR).
  • Ritchie et al. [2018] Daniel Ritchie, Sarah Jobalia, and Anna Thomas. 2018. Example-based Authoring of Procedural Modeling Programs with Structural and Continuous Variability. Comp. Graph. For. 37, 2 (2018), 401–413.
  • Schulz et al. [2014] Adriana Schulz, Ariel Shamir, David I. W. Levin, Pitchaya Sitthi-amorn, and Wojciech Matusik. 2014. Design and Fabrication by Example. ACM Trans. Graph. 33, 4 (July 2014), 62:1–62:11.
  • Sharf et al. [2006] Andrei Sharf, Marina Blumenkrants, Ariel Shamir, and Daniel Cohen-Or. 2006. SnapPaste: An Interactive Technique for Easy Mesh Composition. In Pacific Graphics.
  • Shen et al. [2012] Chao-Hui Shen, Hongbo Fu, Kang Chen, and Shi-Min Hu. 2012. Structure Recovery by Part Assembly. ACM Trans. Graph. (SIGGRAPH Asia) 31, 6 (2012), 180:1–180:11.
  • Socher et al. [2011] Richard Socher, Cliff C. Lin, Andrew Y. Ng, and Christopher D. Manning. 2011. Parsing Natural Scenes and Natural Language with Recursive Neural Networks. In ICML.
  • Sung et al. [2015] Minhyuk Sung, Vladimir G. Kim, Roland Angst, and Leonidas Guibas. 2015. Data-driven Structural Priors for Shape Completion. ACM Trans. Graph. 34, 6 (2015).
  • Sung et al. [2017] Minhyuk Sung, Hao Su, Vladimir G. Kim, Siddhartha Chaudhuri, and Leonidas Guibas. 2017. ComplementMe: Weakly-Supervised Component Suggestions for 3D Modeling. ACM Trans. Graph. (SIGGRAPH Asia) (2017).
  • Takayama et al. [2011] Kenshi Takayama, Ryan Schmidt, Karan Singh, Takeo Igarashi, Tamy Boubekeur, and Olga Sorkine. 2011. GeoBrush: Interactive Mesh Geometry Cloning. Comp. Graph. For. (Eurographics) 30 (2011), 613–622.
  • van den Oord et al. [2017] Aäron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. 2017. Neural Discrete Representation Learning. CoRR abs/1711.00937 (2017).
  • Wikipedia [2017] Wikipedia. 2017. Kitbashing — Wikipedia, The Free Encyclopedia. (2017). https://en.wikipedia.org/wiki/Kitbashing [Online; accessed 23-December-2017].
  • Xu et al. [2012] Kai Xu, Hao Zhang, Daniel Cohen-Or, and Baoquan Chen. 2012. Fit and Diverse: Set Evolution for Inspiring 3D Shape Galleries. ACM Trans. Graph. 31, 4 (2012), 57:1–10.
  • Zheng et al. [2014] Youyi Zheng, Daniel Cohen-Or, Melinos Averkiou, and Niloy J Mitra. 2014. Recurring part arrangements in shape collections. Comp. Graph. For. 33, 2 (2014), 115–124.
  • Zheng et al. [2013] Youyi Zheng, Daniel Cohen-Or, and Niloy J. Mitra. 2013. Smart Variations: Functional Substructures for Part Compatibility. Comp. Graph. For. 32, 2 (2013).
  • Zhu et al. [2017] Chenyang Zhu, Renjiao Yi, Wallace Lira, Ibraheem Alhashim, Kai Xu, and Hao Zhang. 2017. Deformation-driven shape correspondence via shape recognition. ACM Trans. Graph. 36, 4 (2017), 51.