LOGAN: Unpaired Shape Transform in Latent Overcomplete Space
Abstract.
We introduce LOGAN, a deep neural network aimed at learning generalpurpose shape transforms from unpaired domains. The network is trained on two sets of shapes, e.g., tables and chairs, while there is neither a pairing between shapes from the domains as supervision nor any pointwise correspondence between any shapes. Once trained, LOGAN takes a shape from one domain and transforms it into the other. Our network consists of an autoencoder to encode shapes from the two input domains into a common latent space, where the latent codes concatenate multiscale shape features, resulting in an overcomplete representation. The translator is based on a generative adversarial network (GAN), operating in the latent space, where an adversarial loss enforces crossdomain translation while a feature preservation loss ensures that the right shape features are preserved for a natural shape transform. We conduct ablation studies to validate each of our key network designs and demonstrate superior capabilities in unpaired shape transforms on a variety of examples over baselines and stateoftheart approaches. We show that LOGAN is able to learn what shape features to preserve during shape translation, either local or nonlocal, whether content or style, depending solely on the input domains for training.
1. Introduction
Shape transform is one of the most fundamental and frequently encountered problems in computer graphics and geometric modeling. With much interest in geometric deep learning in the graphics community today, it is natural to explore whether a machine can learn shape transforms, particularly under the unsupervised setting. Specifically, can a machine learn to transform a table into a chair or vice versa, in a natural way, when it has only seen a set of tables and a set of chairs, without any pairings between the two sets?
In recent years, the intriguing unpaired domain translation problem has drawn much interest in computer vision and computer graphics, e.g., the domain transfer network (DTN) [Taigman et al., 2017], CycleGAN [Zhu et al., 2017], DualGAN [Yi et al., 2017], MUNIT [Huang et al., 2018], among others [Liu et al., 2017; Hoshen and Wolf, 2018; Hoffman et al., 2018; Almahairi et al., 2018; Gao et al., 2018]. However, most success on unpaired imagetoimage translation has been achieved only on transforming or transferring stylistic image features, not shapes. A symbolic example is the CycleGANbased cattodog transfiguration which sees the network only able to make minimal changes to the cat/dog shapes [Zhu et al., 2017]. The recently developed P2PNET [Yin et al., 2018] is able to learn generalpurpose shape transforms via point displacements. While significant shape changes, e.g., skeletontoshape or incompletetocomplete scans, are possible, the training of P2PNET is supervised and requires paired shapes from two domains.
In this paper, we develop a deep neural network aimed at learning generalpurpose shape transforms from unpaired domains. The network is trained on two sets of shapes, e.g., tables and chairs or different letters, each represented using a point cloud. There is neither a pairing between shapes in the two domains to guide the shape translation nor any pointwise correspondence between any shapes. Once trained, the network takes a pointset shape from one domain and transforms it into the other.
Without any point correspondence between the source and target shapes for the transform, one of the challenges is how to properly “normalize” the shapes, relating them so as to facilitate their translation. To this end, we perform shape translation in a common latent space shared by the source and target domains, rather than on the pointset shapes directly. The latent space is obtained by an autoencoder trained prior to shape transform; see Figure 2(a).
More importantly, a proper shape transform from chairs to tables should not translate a given chair to any table, but to a table that is clearly from that particular input chair. Hence, some features of the chair that are also common to tables should be preserved during a chairtable translation while the other features can be altered. This poses a key challenge: what features are to be preserved/altered is unknown — it must depend on the given shape domains and our network must learn it without supervision. To this end, our network is designed with two novel features to address this challenge:

Our autoencoder encodes shape features at multiple scales, which is common in convolutional neural networks (CNNs). However, unlike conventional methods which aggregate the multiscale featuers, e.g., in PointNET++ [Qi et al., 2017b], we concatenate the multiscale features to produce a latent code which is “overcomplete”. Specifically, the input shape can be reconstructed using only parts of the (overcomplete) code corresponding to different feature scales; see Figure 5.
Our intuition is that performing shape transforms in the latent space formed by such overcomplete codes, where multiscale feature codes are separated, would facilitate an implicit disentangling of the preserved and altered shape features — oftentimes, these features are found at different scales.

In addition, our chairtotable translator is not only trained to turn a chair code to a table code, but also trained to turn a table code to the same table code, as shown in Figure 2(b). Our motivation for the second translator loss, which we refer to as the feature preservation loss, is that it would help the translator preserve table features (in an input chair code) during chairtotable translation.
Figure 2 shows an overview of our network architecture, with shape translation operating in a latent space produced by an overcomplete autoencoder. The translator network itself is built on the basic framework of generative adversarial networks (GANs), guided by an adversarial loss and the feature preservation loss. We call our overall network a latent overcomplete GAN, or LOGAN for short, to signify the use of GANs for shapetoshape translation in a common, overcomplete, latent space. It is also possible to train a dual pair of translators between the source and target domains, reinforcing the results with an additional cyclic loss [Zhu et al., 2017].
Overall, LOGAN makes the following key contributions:

To the best of our knowledge, it is the first deep model trained for generalpurpose, unpaired shapetoshape translation.

It is the first translation network that can perform both content and style transfers between shapes (see Figure 3), without changing the network’s architecture or any of its hyperparameters. Owing to the overcomplete, multiscale representations it learns, LOGAN adapts its feature preservation solely based on the two input domains for training.

It puts forth the interesting concept of implicit feature disentanglement, enabled by the overcomplete representation, which may hold potential in other application settings.
We conduct ablation studies to validate each of our key network designs: the autoencoder, the multiscale and overcomplete latent codes, as well as the feature preservation loss. We demonstrate superior capabilities in unpaired shape transforms on a variety of examples over baselines and stateoftheart approaches. We show that LOGAN is able to learn what shape features to preserve during shape transforms, either local or nonlocal, whether content or style, etc., depending solely on the input domain pairs; see Figure 1.
2. Related work
Computing image or shape transforms is a fundamental problem in visual data processing and covers a vast amount of literature. In the classical setting for shape transforms, source shapes are deformed into target shapes anchored on corresponding points or parts. The key is how to formulate and compute deformation energies to ensure detail preservation [Sorkine et al., 2004], structure preservation [Mitra et al., 2013], or topology variation [Alhashim et al., 2014]. On the other hand, our work is related to learning generalpurpose, crossdomain image/shape transforms. As such, we mainly cover learningbased methods from vision and graphics that are most closely related to our approach.
Unpaired imagetoimage translation
A wave of notable works on unsupervised/unpaired crossdomain image translation have emerged in 2017. In DTN, Taigman et al. [2017] train a GANbased domain transfer network which enforces consistency of the source and generated samples under a given function . For example, can capture face identities, allowing their network to generate identitypreserving emojis from facial images. CycleGAN [Zhu et al., 2017] and DualGAN [Yi et al., 2017] both train dual translators with a cyclic loss to address the challenge of unpaired imagetoimage translation. However, by performing the translations on images directly, based on pixelwise losses, these methods perform well on transferring stylistic images features, but poorly on shape transforms.
Dong et al. [2017] train a conditional GAN to learn shared global features from two image domains and to synthesize plausible images in either domain from a noise vector and a domain label. To enable imagetoimage translation, they separately train an encoder to learn a mapping from an image to its latent code, which would serve as the noise input to the conditional GAN. In UNIT, Liu et al. [2017] assume that corresponding images from two domains can be mapped to the same code in a shared latent space. Based on this assumption, they train two GANs, coupled with weight sharing, to learn a joint distribution over images from two unpaired domains. By sharing weight parameters corresponding to high level semantics in both the encoder and decoder networks, the coupled GANs are enforced to interpret these image semantics in the same way.
Architecturally, there are some similarities between LOGAN and UNIT [Liu et al., 2017]. Both networks take inputs from two domains, map them into a latent space, and enforce some notion of “selfreconstruction”. However, LOGAN does not make the shared latent space/code assumption: it is not aiming to map the two inputs into the same latent code. Moreover, the notion of selfreconstruction in UNIT is realized by a variational autoencoder (VAE) loss and the VAE is trained together with the GANs. In contrast, LOGAN trains its autoencoder and translator networks separately, where the notion of selfreconstruction is applied to latent codes in the translators, via the feature preservation loss.
Identity loss in domain translation
Our feature preservation loss is equivalent, in form, to the identity loss in the DTN of Taigman et al. [2017] for reinforcing face identity preservation during emoji generation; it was later utilized in CycleGAN [Zhu et al., 2017] as an additional regularization term for color preservation. In our work, by enforcing the same loss in latent space, rather than on images directly, and over the multiscale overcomplete codes in LOGAN, we show that the loss can play a critical role in feature preservation for a variety of shape transformation tasks. The preserved features can be quite versatile and adapt to the input domain pairs.
Disentangled representations for content generation
Disentangled image representations have been utilized to produce manytomany mappings so as to improve the diversity of unsupervised imagetoimage translation [Lee et al., 2018; Huang et al., 2018]. Specifically, in MUNIT, a multimodal extension of UNIT [Liu et al., 2017], Huang et al. [2018] relax the assumption of fully shared latent space between the two input domains by postulating that only part of the latent space, the content, can be shared whereas the other part, the style, is domainspecific. Their autoencoders are trained to encode input images into a disentangled latent code consisting of a content part and a style part. During image translation, a fixed content code is recombined with a random style code to produce diverse, styletransferred target images. Most recently, Press et al. [2019] learn disentangled codes in a similar way, but for a different kind of unsupervised content transfer task, i.e., that of adding certain information, e.g., glasses or facial hair, to source images.
In contrast, LOGAN does not learn a disentangled shape representation explicitly. Instead, our autoencoder learns a multiscale representation for shapes from both input domains and explicitly assigns encodings at different shape scales to subvectors of the latent codes. Specifically, codes for shapes from different domains are not enforced to share any subcodes or content subspace; the codes are merely constructed in the same manner and they belong to a common latent space. Feature preservation during shape translation is enforced in the translator networks, with the expectation that our overcomplete latent representation, with feature separation, would facilitate the disentangling of preserved and altered features. Note that in other contexts and for other applications using CNNs, there have been works, e.g., [Eigen et al., 2014; Song et al., 2016; Cui et al., 2016], which also encode and concatenate multiscale features.
Learning shape motions and transforms
Earlier work on spatial transformer networks [Jaderberg et al., 2015] allows deep convolutional models to learn invariance to translation, scale, rotation, and more generic shape warping for improved object recognition. Byravan and Fox [2017] develop a deep neural network to learn rigid body motions for robotic applications, while deep reinforcement learning has been employed to model controllers for a variety of character motions and skills [Peng et al., 2018]. For shape transforms, Berkiten et al. [2017] present a metric learning approach for analogybased mesh detail transfer. In P2PNET, Yin et al. [2018] develop a point displacement network which learns transforms between pointset shapes from two paired domains.
More closely related to our work is the VAECycleGAN recently developed by Gao et al. [2018] for unpaired shape deformation transfer. Their network is trained on two unpaired animated mesh sequences, e.g., animations of a camel and a horse or animations of two humans with different builds. Then, given a deformation sample from one set, the network generates a shape belonging to the other set which possesses the same pose. One can view this problem as a special instance of the general shape transform problem. Specifically, it is a posepreserving shape transform where the source meshes (respectively, the target meshes) model different poses of the same shape and they all have the same mesh connectivity. LOGAN, on the other hand, is designed to be a generalpurpose translation network for pointset shapes, where much greater geometric and topological variations among the source or target shapes are allowed.
Technically, the VAECycleGAN of Gao et al. [2018] encodes each input set into a separate latent space and trains a CycleGAN to translate codes between the two latent spaces. 3D models can then be recovered from the latent codes by the VAE decoder. In contrast, LOGAN encodes shapes from both input domains into a common latent space and performs shape translations in that space. To enable generic shape transforms, the key challenge we address is learning what shape features to preserve during the translation.
Deep learning for pointset shapes
Recently, several deep neural networks, including PointNET [Qi et al., 2017a], PointNET++ [Qi et al., 2017b], PCPNET [Guerrero et al., 2018], PointCNN [Li et al., 2018], and PCNN [Atzmon et al., 2018], have been developed for feature learning over point clouds. Generative models of pointset shapes [Fan et al., 2017; Achlioptas et al., 2018] and supervised, generalpurpose pointset transforms [Yin et al., 2018] have also been proposed. To the best of our knowledge, our work represents the first attempt at learning general shape transforms from unpaired domains. While LOGAN relies on PointNET++ for its multiscale feature encodings, it produces an overcomplete latent code via feature concatenation rather than feature aggregation.
3. Method
Given two sets of unpaired shapes and , our goal is to establish two mappings and , to translate shapes between the two domains. The translation should be natural and intuitive, with emphasis given to the preservation of common features. We make no special assumptions on the two domains, except that certain common features exist in both domains. Note that such features can be both local and global in nature, and hence are difficult to define or model directly. Therefore, we employ deep neural networks to implicitly learn those features.
3.1. Overview of networks and network loss
As shown in Figure 2, our network comprises of two parts that are trained in separate steps. First, an autoencoder is trained. The multiscale encoder (Sec. 3.2) takes point clouds from both domains as input, and encodes them into compact latent codes in a common latent space. The decoder decodes the latent codes back into point clouds. After training, the autoencoder produces the overcomplete latent codes for the input shapes, denoted by and , where and .
The second part of our network is a latent code translator network that transforms between and . It consists of two translators: and . We only show in the figure for simplicity. The translators take latent codes in both domains as input, and treat them differently with two different loss functions. Once trained, given a shape , its translated shape in domain is obtained by .
We use three loss terms for the translator network to create a natural and featurepreserving mapping:

Adversarial loss: We take in Figure 2(b) as an example. Given , the network performs the translation and an adversarial loss is applied on the translated latentcode. The discriminator would judge the output codes from the groundtruth codes in , to ensure that the distribution of the translator outputs matches the target distribution of .

Feature preservation loss: Given , since this network serves only transfer, the output still falls in , and we use a feature preservation loss (identity loss) to enforce the output of the network to be similar to the original input . Feature preservation loss is the key for our network to learn meaningful mappings, since it encourages the translator to keep most portions of the code intact and only changes the parts that are really important for the domain translation.

Cycleconsistency loss: The two loss terms above play critical roles in our translator network and already allow the generation of satisfactory results. However, we may introduce a third loss term, the cycleconsistency loss or simply, the cycle loss, to further regularize the translation results.
The cycle loss pushes each shape to reconstruct itself after being translated to the opposite domain and then translated back to its original domain. The term encourages the mappings and to be onetoone. It further reduces the possibility that shapes in one domain only map to a handful of shapes in the opposite domain, i.e., mode collapse.
Note that our translator network still maintains a crossdomain similarity, which results from a joint effort of the feature preservation and adversarial losses — the former loss forces the result to be similar to the source shape, while the latter loss ensures plausibility in the target domain. The cycle loss only serves a supportive role in our network. Without cycleconsistency loss, our network is still able to suppress mode collapse. The multiscale encoder pushes the codes from both domains to share the common space in different scales, bringing large distribution overlap and making it hard to collapse in without collapsing in , and the latter is unlikely to happen due to the feature preservation loss. In our experiments, cycle loss becomes prominent when the size of the dataset is very small. Details of the translator network and the loss functions can be found in Sec. 3.3.
3.2. Multiscale overcomplete autoencoder
Our multiscale autoencoder is depicted in Figure 4. The input to our encoder is a set of points. It passes through four set abstraction layers of PointNet++ [Qi et al., 2017b] with increasing sampling radius. The output point features from each of the four layers are further processed by an MLP and a maxpooling layer to form a single 64dimensional subvector. We pad the 4 subvectors , , , from the 4 branches with zeros to make them 256dimensional vectors, and sum them up to get an overcomplete 256 dimensional latent vector . The detailed network structure can be found in the supplementary material.
During training, we feed the padded subvectors and the overcomplete latent vector to the same decoder. Similar to [Achlioptas et al., 2018], our decoder is a multilayer perceptron (MLP) with 4 fullyconnected layers. Each of the first 3 fullyconnected layers are followed by a ReLU layer for nonlinear activation. The last fullyconnected layer outputs an point cloud for each input 256dimensional vector. As shown in Figure 5, our decoder is able to reconstruct point clouds from the 5 vectors simultaneously. The quality of reconstruction from is higher than the 4 subvectors as it contains most information. The loss function of the autoencoder considers all the 5 point clouds reconstructed from the 5 vectors:
(1) 
where is a scalar weight set to 0.1 by default. and denote reconstruction losses for code and . When training the autoencoder, the input point cloud contains 2,048 points. Our decoder produces 2,048 points from each of the 5 latent vectors. Note that we choose the Earth Mover’s Distance (EMD) [Rubner et al., 2000] to define the reconstruction losses for all the 5 latent vectors, since EMD has been found to produce less noisy outputs compared to Chamfer Distance [Fan et al., 2017].
Note that our current choices of the latent code length (256) and number of scales (4) are both empirical. We tested autoencoding using shorter/longer codes as well as scale counts from two to six. Generally, short codes do not allow the multiscale shape features to be well encoded and using too few scales compromises the translator’s ability to disentangle and preserve the right features during crossdomain translation. On the other hand, employing latent codes longer than 256 or increasing the number of scales beyond 4 would only introduce extra redundancy in the latent space, which did not improve translation results in our experiments.
3.3. Featurepreserving shape transform
Our translators and work in the common latent space. Similar to the decoder, they are implemented as MLPs with 5 fullyconnected (FC) layers, as shown in Figure 6. The detailed network structure can be found in the supplementary material.
The two discriminators and work in the latent space as well. They are implemented as MLPs with 3 FC hidden layers where each of them are followed by a BN layer and a ReLU layer, as shown in Figure 6. We adopt WGAN [Arjovsky et al., 2017] in our implementation. To that end, we directly take the result of the output layer without sigmoid activation.
In the common latent space, the translators and discriminators work directly over the overcomplete latent code, and , as they already contain the information of the subvectors. For simplification, in the following part of this section, we will only explain the loss function in details for . The opposite direction can be derived directly by swapping and in the equations. The loss function for is,
(2) 
where is a scalar weight set to 20 by default. Similar to WGAN [Gulrajani et al., 2017], the adversarial loss for is defined as:
(3) 
where is the output of translation for . is the gradient penalty term introduced by [Gulrajani et al., 2017] for regularization. is a scalar weight set to 10 by default. During training, our discriminator aims to maximize the adversarial loss, while our translator aims to minimize it.
As shown in Figure 6, our feature preservation loss is defined in the latent space. For translator , it is defined as the distance between the input vector and its translated output vector :
(4) 
Training our translators with the loss function or is able to produce reasonable result as shown in Figure 8 (g). However, having a cycleconsistency term could further improve the result by encouraging onetoone mapping between the two input domains. For latent code , applying followed by should produce a code similar to itself: . Similarly for we have: . Thus, the cycleconsistency loss term is defined as,
(5)  
The overall loss function is defined as:
(6) 
where is a scalar weight set to 20 by default. With the overall loss function, the goal of training the translators is to solve:
(7) 
where denotes , denotes . In Sec. 4, we perform an ablation study to show that all loss terms play active roles in achieving highquality results.
3.4. Training details and point upsampling
We train the AE and the translator networks separately in two steps, since an insufficiently trained autoencoder can misguide the translators into poor local minima. In our experiments, we train the autoencoder for 400 epochs with an Adam optimizer (learning rate = 0.0005, batch size = 32). After that, we train the translator networks with Adam and the training schema of [Gulrajani et al., 2017] for 600 epochs. We set the number of discriminator iterations per generator iteration to two. The batch size we set for training the translator networks is 128. The learning rate starts at 0.002 and is halved after every 100 training epochs, until reaching 5e4. Assuming each of the datasets of two domains contains 5000 shapes, the training of autoencoder takes about 20 hours and the training of two translators takes about 10 mins on a NVIDIA Titan Xp GPU.
By default, we train LOGAN on point clouds each of which contains 2,048 points and the networks output point clouds at the same resolution. However, we allow the addition of an upsampling layer to our network to produce higherresolution outputs when desired. Specifically, we attach a single upsampling layer to the secondtolast layer of the trained decoder. We train the upsampling layer independently after the shape translation has been complete, so it would not affect the translation results. As shown in Figure 7, the upsampling layer recombines the neural outputs from the secondtolast layer and predicts local displacement vectors for each point in the output point cloud. As a result, it splits each point into points and turns the sparse point cloud of size into a dense point cloud of size . The upsampling layer is a fullyconnected layer which is followed by a sigmoid function. We scale the output of the sigmoid function to make it lie in the interval .
To train the upsampling layer, we sample 16,384 points from each training shape as the ground truth (GT). The loss function is defined as the distance between the dense point cloud of size and the dense GT point cloud. To reduce computation and memory costs, we randomly select 4,096 points from each of the two dense point clouds, and compute the EMD between the downsampled point clouds as an approximation of the EMD between the dense point clouds. Note that sometimes one of the two domains does not require upsampling (e.g., mesoskeletons). In that case, we train the upsampling layer with only the dataset of the other domain. The upsampling layer is trained independently for 80 epochs, with an Adam optimizer (learning rate = 0.0005, batch size = 32). Assuming that each of the two domains contains 5,000 shapes, training the upsampler takes about 5 hours on a NVIDIA Titan Xp GPU.
4. Results and evaluation
To demonstrate the capability of LOGAN in learning unpaired shape transforms, we conduct experiments including ablation studies and comparisons to baselines and stateoftheart techniques. Throughout the experiments, specifically for all results shown in Sections 4.1, 4.2, 4.3 and 4.4, LOGAN was trained with the same default network settings as described in Section 3 and the supplementary material; there is no hyperparameter or architecture tuning for any specific input datasets. The only tuning was applied when training LOGAN on the small datasets of [Gao et al., 2018], to avoid overfitting. All visual results are presented without any postprocessing.
4.1. Shape transform results and ablation studies
The first domain pair we tested LOGAN on is the chair and table datasets from ShapeNet Core [Chang et al., 2015], which contains mesh models. The chair dataset consists of 4,768 training shapes and 2,010 test shapes, while the table dataset has 5,933 training and 2,526 test shapes. We normalize each chair/table mesh to make the diagonal of its bounding box equal to unit length and sample the normalized mesh uniformly at random to obtain 2,048 points for our pointset shape representation. If upsampling is required, we sample from each training mesh another set of 16,384 points with Poisson disk sampling [Corsini et al., 2012] to form the training dataset for the upsampler. But note that the autoencoder and the translator networks are always trained by point clouds of size 2,048.
Comparing autoencoding.
With the chairtable domain pair, we first compare our autoencoder, which produces multiscale and overcomplete latent codes, with two baseline alternatives:

In Baseline AE 1, we apply the original PointNet++, as described in [Qi et al., 2017b], as the encoder to produce latent vectors of length 256 (the same as in our autoencoder) and use the same decoder as described in Section 3.2. With this alternative, there is no separate encoding of mulitscale features (into subvectors as in our case) to produce an overcomplete latent code; features from all scales are aggregated.

In Baseline AE 2, we set in the loss function (1) of our autoencoder. With this alternative, the autoencoder still accounts for shape features from all scales (via the vector ), but the impact of each subvector (one of the ’s, ) for a specific feature scale is diminished.
An examination on reconstruction errors of the three autoencoders, based on the Earth Mover’s Distance (EMD), reveals that our autoencoder may not be the best at reconstructing shapes. However, the main design goal of our autoencoder is to facilitate shape translation between unpaired domains, not accurate selfreconstruction.
In Figure 8 (b, d, e), we show that with the same translator network but operating in different latent spaces, our autoencoder leads to the best crossdomain transforms, compared to the two baselines.
With Baseline AE 1, the translator is unable to preserve input features and can suffer from mode collapse. With a multiscale overcomplete code , Baseline AE 2 clearly improves results, but it can still miss input features that should be preserved, e.g., more global features such as the roundness at the top (row 1), the oblique angles at the legs (row 4), and more local features such as the bottom slat between the legs (row 8); it could also add erroneous features such as armrests (row 5) and extra holes (row 7).
In contrast, with a more overcomplete and multiscale encoding into the latent space by using all five vectors (), our default autoencoder produces the most natural tablechair translations. This is likely attributed to a better disentangling of the preserved and altered features in the latent codes.
Note that the results shown in Figure 8 were casually picked as representative examples to demonstrate the capability of our network. Larger sets of randomly selected outputs can be found in the supplementary material and they reveal the same trend: our method consistently outperforms the baselines.
Comparison to retrieval results.
As a sanity check, we show that our network indeed generates shape transforms; it does not simply retrieve a training shape from the target domain. In Figure 8, column (c), we show retrieved training shapes from the target domain that are the closest (based on EMD) to the test input and to our translator output. It is quite evident that in general, these training shapes are far from being similar to outputs from our translator, with a couple of exceptions shown in rows 4 and 5. In these rare cases, it so happens that there are similar shapes in the target training set.
Joint embedding of latent codes.
Figure 9 visualizes the common latent spaces constructed by the three AEs by jointly embedding the chair and table latent codes. For each domain, we standardize every latent dimension by moving the mean to 0 and scaling the values to a standard deviation of 1.0. We discretize the values in each dimension by multiplying it by 3 and rounding it to an integer. Finally, we measure distances between all the latent codes using Hamming distance and embed the codes into 2D space via tSNE.
We can observe that, compared to the two baselines, our default AE brings the chairs and tables closer together in the latent space, before the translation, effectively “tangling” together the distributions of the generated latent codes to better discover their common features. During translation, the overcomplete codes facilitate an implicit disentanglement of the preserved and altered features. After chairtable translation, the chair codes are closer to the tables in all three cases, but our default network clearly produces a better coverage of the target (table) domain. This makes the translated chair latent codes more plausible in the table domain, which can explain, in part, a superior performance for the translation task.
Comparing translator settings.
In the second ablation study, we fix our autoencoder as presented in Figure 4, but change the translator network configuration by altering the loss function into two baseline alternatives: WGAN loss Cycle loss and WGAN loss feature preservation (FP) loss. Note that our default network LOGAN has all three losses. It is quite evident, from the visual results in Figure 8, that the feature preservation loss has significant positive impact on crossdomain translation, while the cycle loss provides additional regularization for improved results.
Part removal/insertion.
Chairtable translations mainly involve transforms between local shape structures. As another example, we show that LOGAN is able to learn to remove/add armrests for the chair dataset; see Figure 10. The dataset split was obtained from the chairs in ShapeNet Core by a handcrafted classifier. It contains 2,138 armchairs and 3,572 armless chairs, where we used 80% of the data for training and the rest for testing. The results demonstrate that our network can work effectively on partlevel manipulation, as it learns which parts to alter and which parts to preserve purely based on the observation of the input shapes from the two domains, without supervised training. In addition, the insertion/removal of the armrest parts are carried out naturally.
We show in Figure 10 (right) that we can use the learned point cloud transforms to guide mesh editing. We remove/add mesh parts according to the difference between the original and transformed point clouds. The mesh parts are retrieved from the ShapeNet part dataset [Yi et al., 2016] by Chamfer distance. Details of retrieval and more examples can be found in the supplementary material.
Transforming global 3D shape attribute.
At last, we show that LOGAN is able to learn to increase/decrease heights of tables, which can be considered as a style for 3D shapes, as shown in Figure 11. To obtain such a suitable dataset, we sort the heightwidth ratios of all the tables from ShapeNet Core dataset. The first 3,000 tables are selected as tall tables, while the last 3,000 as short tables. From each of the two sets, we randomly choose 500 shapes as the test set, and the rest are used for training. The results demonstrate that LOGAN is able to alter global attributes of 3D shapes.
4.2. Unpaired style/content transfer and comparisons
AH  GR  MN  

MSE  IOU  MSE  IOU  MSE  IOU  
CycleGAN  0.246  0.385  0.229  0.412  0.266  0.383 
UNIT  0.253  0.376  0.264  0.377  0.295  0.348 
MUNIT  0.280  0.286  0.358  0.171  0.363  0.292 
Ours  0.195  0.490  0.213  0.472  0.207  0.506 
Most deep networks for unpaired crossdomain translation operate on images, aiming for contentpreserving style transfer [Zhu et al., 2017; Yi et al., 2017; Liu et al., 2017; Huang et al., 2018]. We conduct an experiment to compare LOGAN with these stateoftheart networks on a Font dataset we collected. The dataset consists of 7,466 fonts of English letters. For each letter, we produce a rendered image by normalizing the letter to make the longest edge of its bounding box equal to . Then we obtain a point cloud by uniformly sampling 2,048 points over the pixels inside each letter shape.
In the first test, style transfer, we train the networks to translate between different styles of various fonts, while keeping the source and target letters the same. In Figures 12, we show examples including regularA/HitalicA/H, thinG/RthickG/R, and wideM/NnarrowM/N. Since most fonts in our collected dataset do not have paired regular and italic types, nor paired regular and boldface types, we split the dataset ourselves. To split the dataset for regularA/HitalicA/H, we simply sort the fonts by checking how vertical the letter “I” is for each font. The first 2,500 fonts with more vertical “I”s are regarded as regularA/Hs, while the last 2,500 as italicA/Hs. Similarly, we split the set of all s and s in the dataset simply by sorting them based on how many pixels are inside the letter shapes. The first 2,500 letters with more interior pixels are regarded as thickG/Rs, and the last 2,500 as thinG/Rs. To obtain the dataset for wideM/NnarrowM/N, we sort s and s by looking at their widthheight ratios. Finally, we randomly selected 500 fonts from each of the above sets to serve as test set for the specific tasks, while using the rest for training. An ideal translator would only change the specific style of an input letter while keeping the letter in the same font.
The second comparison is on stylepreserving content transfer, via letter translation tasks on three subsets: AH, GR, and MN. To obtain the GR dataset, from the 7,466 pairs of uppercase s and s, each in the same font, we randomly selected 1,000 to serve as the testing set while using the rest for training. The datasets for AH and MN are obtained in the same way. For these task, we expect an ideal translator to transform samples between the two domains by changing the letter (content) only, while preserving its style, e.g., font width, height, thickness, skewness, etc.
We compare LOGAN with three unpaired image translation networks: the original CycleGAN [Zhu et al., 2017] which translates images directly, as well as UNIT [Liu et al., 2017] and MUNIT [Huang et al., 2018], both of which utilize shared latent spaces. While LOGAN operates on point clouds, the other networks all input and output images. We trained each of the four networks for 15 hours for each of the regularA/HitalicA/H, thinG/RthickG/R, and wideM/NnarrowM/N translations; and 27 hours for each of the AH, GR, and MN translations. To help with comparison, we convert the output point clouds from LOGAN to images: for each point in a given point cloud, we find all its neighbors within pixels away, and then fill the convex hull of these points; we used in our tests.
Results for contentpreserving style translation are shown in Figures 12, while Figure 13 compares results for stylepreserving content transfer. More results can be found in the supplementary material. We observe that CycleGAN, UNIT, and MUNIT are unable to learn transforms between global shape structures, which are necessary for letter translations and certain style translations.
Overall, our network can adaptively learn which features (content vs. style) to preserve and which to transfer according to the training domain pairs. We also provide quantitative comparisons in Table 1 for letter translations since we have groundtruth target letters. These results again demonstrate the superiority of LOGAN.
4.3. Implicit disentanglement over latent codes
We examine how our latent space representations may help disentangle preserved vs. altered shape features during crossdomain translation. In Figure 14, we plot latent code dimensions with the largest (top 64 out of 256 dimensions, in orange color) and smallest changes (bottom 64, in blue color) for three translation tasks: airplane skeleton surface (Section 4.4), GR, and chairtable. Note that the plots reflect the mean magnitude of code changes in each dimension, over the respective whole test sets.
We can observe that our network automatically learns the right features to preserve (e.g., more global or coarserscale features for airplane skeleton surface and more local features for GR), solely based on the input domain pairs. For the chairtable translation, coarselevel and finelevel features are both impacted. Compared to PointNET++ encoding (baseline AE 1), our default autoencoder with overcomplete codes better disentangles parts of the latent codes that are preserved vs. altered— this is more pronounced for the first two examples and less so for the chairtable translation.
Skeleton Shape  Scan Shape  Profiles Surface  

Chamfer  EMD  Chamfer  EMD  Chamfer  EMD  
PointNET++ autoencoder (AE) + Our translator with all three losses  5.30  0.071  5.30  0.079  9.29  0.099 
Our AE () + Our translator with all three losses  2.24  0.048  2.42  0.051  3.08  0.061 
Our AE () + Our translator with only WGAN + Cycle losses  14.06  0.098  16.74  0.127  17.06  0.116 
Our AE () + Our translator with only WGAN + FP losses  2.22  0.047  2.53  0.054  3.37  0.064 
LOGAN: Our AE () + Our translator with all three losses  2.11  0.046  2.18  0.048  3.09  0.061 
P2PNET: Supervised method with paired domains  0.44  0.020  0.66  0.060  1.36  0.056 
4.4. Comparison with supervised P2PNET
In Figure 15, we show unpaired crossdomain shape transform results obtained by LOGAN, on several domain pairs from the recent work P2PNET [Yin et al., 2018], where the specific input shapes are also from their work. We compare these results to P2PNET, as well as results from other network configurations as done in Figure 8. Note that these shape transforms, e.g., crosssectional profiles to shape surfaces, are of a completely different nature compared to tablechair translations. Yet, our network is able to produce satisfactory results, as shown in column (b), which are visually comparable to results obtained by P2PNET, a supervised method.
Both LOGAN and P2PNET aim to learn generalpurpose crossdomain transforms between pointset shapes. P2PNET works on paired domains but without explicit feature preservation, while LOGAN is trained on unpaired data but enforces a feature preservation loss in the GAN translator. The results show that LOGAN is able to preserve the right global features for skeleton/scantoshape translations. At the same time, some finer details, e.g., the swivel chair legs and the small bump near the back of the fuselage in row 1, can also be recovered. However, the unsupervised LOGAN cannot quite match P2PNET in this regard; see the back of the swivel chair.
Since P2PNET is supervised, groundtruth target shapes are available to allow us to quantitatively measure the approximation quality of the translation results. As shown in Table 2, our default LOGAN network achieves the best quality, compared to other baseline alternatives, but still falls short of the supervised P2PNET.
4.5. Comparison with unpaired deformation transfer
The latent VAECycleGAN developed by Gao et al. [2018] was designed for the specific task of unpaired deformation transfer on meshes. In this last experiment, we further test the generality of our shape transformation network, by training it on datasets from [Gao et al., 2018]. In Figure 16, we compare results obtained by LOGAN and results from [Gao et al., 2018] as provided by the authors. The point clouds for training were obtained by uniformly sampling 2,048 points from the corresponding meshes. Note that the horse camel dataset contains a total of 384 shapes in the training set; fit fat contains 583 shapes. Since these datasets are significantly smaller than those from the previous experiments, we adjusted the hyperparameter to in order to better avoid overfitting, and increase the number of training epochs for translators to 1,200.
The results show that, qualitatively, LOGAN, which is designed as a generalpurpose crossdomain shape transform network, is also able to learn to preserve poserelated features and achieve posepreserving shape transform, like Gao et al. [2018]. However, since our current implementation of the network is limited in training resolution (at 2,048 points), the visual quality of the generated point clouds does not quite match that of their mesh outputs.
5. Discussion, limitation, and future work
Shape transform, or shapetoshape translation, is a basic problem in geometric modeling. We believe that it is as fundamental to computer graphics as imagetoimage translation is to computer vision. We develop a deep neural network for learning generic crossdomain shape translations. The key challenge posed is how to ensure that the network can learn shape transforms between two domains without any paired shapes. Our motivation is that for most modeling tasks, especially those involving 3D models, it is difficult to find preexisting paired data due to a lack of 3D models to begin with. On the other hand, synthesizing paired 3D data is unrealistic since 3D modeling is generally a nontrivial task; this is the very reason why we seek learning methods to automate the process.
Our ultimate goal is to have machine learning assist in any transformative design tasks carried out by a graphics artist/modeler, where there are no ground truth targets, only a target domain as inspiration. LOGAN only makes a first step towards this direction, laying a foundation for followup research.
Crossdomain shape translation is not suitable for all domain pairs, e.g., (chair, airplane) or (human body, face). Hence, there is an implicit assumption that shapes from the two domains should share some commonalities. In general, these commonalities may be latent; they may reflect global or local features and represent either content or style. The key is for the network to learn the right commonalities and keep them during shape translations, in a way that is adaptive to the input domain pairs and the input shapes. Our network is designed with several important features to accomplish this: autoencoding shapes from two domains into a common latent space; the feature preservation loss; and perhaps most importantly, the use of multiscale and overcomplete latent codes.
Another aspect of our work is the separation of autoencoder training from the latent crossdomain translation network. Unlike most previous works on unpaired crossdomain image translation, e.g., [Liu et al., 2017; Huang et al., 2018], we do not use a combined loss. Similar to Gao et al. [2018], we train the autoencoder and translator separately. We also believe that the separation facilitates training of the GAN translators and leads to improved results.
We regard our work as only making a first step towards generic, unpaired crossdomain shape transform, and it still has quite a number of limitations. First, due to the inherent nature of point cloud representations, the output shapes from our network are not necessarily clean and compact. The points can be scattered around the desired locations, especially when there are thin parts; see Figure 17(a) and some results in Figure 13.
Second, due to our assumption of shared commonalities between the input domains, if an input shape in one domain cannot find sufficient commonalities in the other domain, our network cannot learn a natural translation for it; see Figures 17(bc). In such cases, the adversarial loss plays a more dominant role. We can observe the impact of this loss in rows 13 of Figure 8. These chairtable translation results by LOGAN cannot retain the squared tops, which may be judged by some as an unnatural transform; the reason is that most tables in the training set have rectangular tops. Similarly, the result in Figure 17(b) is not a complete failure as the output table did preserve the square top as well as certain leg features. Simply removing the chair back would result in an unusual table.
Third, performing translations in a common space and measuring the feature preservation loss entrybyentry imply that we implicitly assume a “scalewise alignment” between the input shapes. That is, the common features to be preserved should be in the same scales. Figure 17 (d) shows a result from LOGAN which was trained to translate between arrow shapes of very different scales; the result is unnatural due to a lack of that scalewise alignment. Last but not least, as a consequence of employing latent space transforms, our method is unable to output shape correspondences between the source and target shapes as prior works could.
In future work, we would like to consider other overcomplete, concatenated shape encodings where the different representations reflect other, possibly semantic, aspects of the shapes, beyond their multiscale features. We would also like to expand and broaden the scope of shape transforms to operations such as shape completion, style/content analogy, and more. Finally, semisupervision or conditional translations [Huang et al., 2018] to gain more control on the transform tasks are also worth investigating.
Acknowledgments
The authors would like to thank the anonymous reviewers for their valuable comments. Thanks also go to Haipeng Li and Ali MahdaviAmiri for their discussions, and Akshay Gadi Patil for proofreading. This work was supported by NSERC Canada (611370), gift funds from Adobe, NSF China (61761146002,61861130365), GD Science and Technology Program (2015A030312015), LHTD (20170003), ISF (2366/16), and ISFNSFC Joint Research Program (2472/17).
References
 [1]
 Achlioptas et al. [2018] Panos Achlioptas, Olga Diamanti, Ioannis Mitliagkas, and Leonidas Guibas. 2018. Learning Representations and Generative Models for 3D Point Clouds. In Proc. of ICML.
 Alhashim et al. [2014] Ibraheem Alhashim, Honghua Li, Kai Xu, Junjie Cao, Rui Ma, and Hao Zhang. 2014. TopologyVarying 3D Shape Creation via Structural Blending. ACM Trans. on Graph 33, 4 (2014), Article 158.
 Almahairi et al. [2018] Amjad Almahairi, Sai Rajeswar, Alessandro Sordoni, Philip Bachman, and Aaron Courville. 2018. Augmented CycleGAN: Learning ManytoMany Mappings from Unpaired Data. In Proc. of ICML.
 Arjovsky et al. [2017] Martin Arjovsky, Soumith Chintala, and Léon Bottou. 2017. Wasserstein Generative Adversarial Networks. In Proc. of ICML. 214–223.
 Atzmon et al. [2018] Matan Atzmon, Haggai Maron, and Yaron Lipman. 2018. Point Convolutional Neural Networks by Extension Operators. ACM Trans. on Graph 37, 4 (2018).
 Berkiten et al. [2017] Sema Berkiten, Maciej Halber, Justin Solomon, Chongyang Ma, Hao Li, and Szymon Rusinkiewicz. 2017. Learning detail transfer based on geometric features. In Computer Graphics Forum (Eurographics), Vol. 36. 361–373.
 Byravan and Fox [2017] Arunkumar Byravan and Dieter Fox. 2017. SE3Nets: Learning Rigid Body Motion using Deep Neural Networks. In Proc. of ICRA. IEEE, 173–180.
 Chang et al. [2015] Angel X. Chang, Thomas A. Funkhouser, Leonidas J. Guibas, Pat Hanrahan, QiXing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. 2015. ShapeNet: An InformationRich 3D Model Repository. CoRR abs/1512.03012 (2015).
 Corsini et al. [2012] Massimiliano Corsini, Paolo Cignoni, and Roberto Scopigno. 2012. Efficient and flexible sampling with blue noise properties of triangular meshes. IEEE Trans. Vis. & Comp. Graphics 18, 6 (2012), 914–924.
 Cui et al. [2016] Zhicheng Cui, Wenlin Chen, and Yixin Chen. 2016. MultiScale Convolutional Neural Networks for Time Series Classification. CoRR abs/1603.06995 (2016). arXiv:1603.06995 http://arxiv.org/abs/1603.06995
 Dong et al. [2017] Hao Dong, Paarth Neekhara, Chao Wu, and Yike Guo. 2017. Unsupervised imagetoimage translation with generative adversarial networks. In Proc. of ICML.
 Eigen et al. [2014] David Eigen, Christian Puhrsch, and Rob Fergus. 2014. Depth Map Prediction from a Single Image Using a Multiscale Deep Network. In NIPS. 2366–2374.
 Fan et al. [2017] Haoqiang Fan, Hao Su, and Leonidas Guibas. 2017. A point set generation network for 3d object reconstruction from a single image. In Proc. of CVPR.
 Gao et al. [2018] Lin Gao, Jie Yang, YiLing Qiao, YuKun Lai, Paul L Rosin, Weiwei Xu, and Shihong Xia. 2018. Automatic unpaired shape deformation transfer. In ACM Trans. on Graph, Vol. 37. ACM, 1–15.
 Guerrero et al. [2018] Paul Guerrero, Yanir Kleiman, Maks Ovsjanikov, and Niloy J Mitra. 2018. PCPNET: Learning Local Shape Properties from Raw Point Clouds. In Computer Graphics Forum (Eurographics), Vol. 37. Wiley Online Library, 75–85.
 Gulrajani et al. [2017] Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. 2017. Improved training of Wasserstein GANs. In NIPS. 5767–5777.
 Hoffman et al. [2018] Judy Hoffman, Eric Tzeng, Taesung Park, JunYan Zhu, Phillip Isola, Kate Saenko, Alexei A Efros, and Trevor Darrell. 2018. CyCADA: CycleConsistent Adversarial Domain Adaptation. In Proc. of Machine Learning Research.
 Hoshen and Wolf [2018] Yedid Hoshen and Lior Wolf. 2018. NAM: NonAdversarial Unsupervised Domain Mapping. In Proc. of ECCV.
 Huang et al. [2018] Xun Huang, MingYu Liu, Serge Belongie, and Jan Kautz. 2018. Multimodal Unsupervised ImagetoImage Translation. In Proc. of ECCV.
 Jaderberg et al. [2015] Max Jaderberg, Karen Simonyan, Andrew Zisserman, et al. 2015. Spatial transformer networks. In NIPS. 2017–2025.
 Lee et al. [2018] HsinYing Lee, HungYu Tseng, JiaBin Huang, Maneesh Singh, and MingHsuan Yang. 2018. Diverse imagetoimage translation via disentangled representations. In Proc. of ECCV, Vol. 1. 5.
 Li et al. [2018] Yangyan Li, Rui Bu, Mingchao Sun, Wei Wu, Xinhan Di, and Baoquan Chen. 2018. PointCNN: Convolution On XTransformed Points. In NIPS. 828–838.
 Liu et al. [2017] MingYu Liu, Thomas Breuel, and Jan Kautz. 2017. Unsupervised imagetoimage translation networks. In NIPS. 700–708.
 Mitra et al. [2013] Niloy Mitra, Michael Wand, Hao Zhang, Daniel CohenOr, Vladimir Kim, and QiXing Huang. 2013. Structureaware Shape Processing. In SIGGRAPH Asia 2013 Courses. 1:1–1:20.
 Peng et al. [2018] Xue Bin Peng, Pieter Abbeel, Sergey Levine, and Michiel van de Panne. 2018. DeepMimic: ExampleGuided Deep Reinforcement Learning of PhysicsBased Character Skills. ACM Trans. on Graph 37, 4 (2018).
 Press et al. [2019] Ori Press, Tomer Galanti, Sagie Benaim, and Lior Wolf. 2019. Emerging Disentanglement in AutoEncoder Based Unsupervised Image Content Transfer. In Proc. of ICLR.
 Qi et al. [2017a] Charles R. Qi, Hao Su, Kaichun Mo, and Leonidas J. Guibas. 2017a. PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. In Proc. of CVPR.
 Qi et al. [2017b] Charles R. Qi, Li Yi, Hao Su, and Leonidas J. Guibas. 2017b. PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Space. In NIPS.
 Rubner et al. [2000] Yossi Rubner, Carlo Tomasi, and Leonidas J Guibas. 2000. The earth mover’s distance as a metric for image retrieval. Int. J. Comp. Vis. 40, 2 (2000), 99–121.
 Song et al. [2016] Shuran Song, Fisher Yu, Andy Zeng, Angel X Chang, Manolis Savva, and Thomas Funkhouser. 2016. Semantic Scene Completion from a Single Depth Image. In Proc. of CVPR.
 Sorkine et al. [2004] Olga Sorkine, Daniel CohenOr, Yaron Lipman, Marc Alexa, Chris Rössl, and HansPeter Seidel. 2004. Laplacian surface editing. In Symp. on Geom. Proc. ACM, 175–184.
 Taigman et al. [2017] Yaniv Taigman, Adam Polyak, and Lior Wolf. 2017. Unsupervised crossdomain image generation. In Proc. of ICLR.
 Yi et al. [2016] Li Yi, Vladimir G Kim, Duygu Ceylan, I Shen, Mengyan Yan, Hao Su, Cewu Lu, Qixing Huang, Alla Sheffer, Leonidas Guibas, et al. 2016. A scalable active framework for region annotation in 3D shape collections. 35, 6 (2016).
 Yi et al. [2017] Zili Yi, Hao Zhang, Ping Tan, and Minglun Gong. 2017. DualGAN: Unsupervised Dual Learning for ImagetoImage Translation. In Proc. of ICCV.
 Yin et al. [2018] Kangxue Yin, Hui Huang, Daniel CohenOr, and Hao Zhang. 2018. P2PNET: Bidirectional Point Displacement Net for Shape Transform. ACM Trans. on Graph 37, 4 (2018), Article 152.
 Zhu et al. [2017] JunYan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. 2017. Unpaired imagetoimage translation using cycleconsistent adversarial networks. In Proc. of ICCV.