Adversarial 3D morph learning

By using adversarial training to generate neural networks, the robustness and variability issues of existing 3D modeling object deformation techniques are solved, enabling the generation of highly realistic deformation bases under unsupervised conditions, which is applicable to a variety of 3D modeling applications.

CN114912337BActive Publication Date: 2026-11-27DASSAULT SYSTEMES SA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111596762.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-01-29
Filing Date
2021-12-24
Publication Date
2026-11-27
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

Existing 3D modeling object deformation techniques need improvement to better generate and apply deformation bases, especially to achieve robust and variable deformations under unsupervised conditions.

Method used

A generative neural network employing adversarial training is used to generate a deformable basis for the input object by learning from a 3D modeling dataset of real-world objects, and the realism and robustness of the output are continuously improved through adversarial training algorithms.

Benefits of technology

It enables the generation of highly realistic and robust deformation bases under unsupervised conditions, suitable for a variety of 3D modeling applications such as shape synthesis, reconstruction, segmentation and structure discovery, and is not limited by object category or label.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114912337B_ABST
    Figure CN114912337B_ABST
Patent Text Reader

Abstract

The invention relates in particular to a computer-implemented method of machine learning. The method comprises providing a dataset of 3D modeled objects representing real-world objects. The method further comprises learning a generative neural network based on the dataset. The generative neural network is configured for generating a morphable basis of an input 3D modeled object. The learning comprises adversarial training.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer programs and systems, and more specifically, to methods, systems, and programs for machine learning of 3D deformations. Background Technology

[0002] The market offers numerous systems and programs for the design, engineering, and manufacturing of objects. CAD is an acronym for Computer-Aided Design, which, for example, refers to software solutions for designing objects. CAE is an acronym for Computer-Aided Engineering, which, for example, refers to software solutions for simulating the physical behavior of future products. CAM is an acronym for Computer-Aided Manufacturing, which, for example, refers to software solutions for defining manufacturing processes and operations. In such computer-aided design systems, graphical user interfaces play a crucial role in the efficiency of the technology. These technologies can be embedded in Product Lifecycle Management (PLM) systems. PLM refers to a business strategy that helps companies share product data across the concept of an extended enterprise, apply common processes, and leverage enterprise knowledge to develop products from concept to the end of their lifecycle. PLM solutions offered by Dassault Systèmes (under the trademarks CATIA, ENOVIA, and DELMIA) provide an Engineering Center that organizes product engineering knowledge, a Manufacturing Center (which manages manufacturing engineering knowledge), and an Enterprise Center (which enables the integration and connection between the enterprise and both the Engineering and Manufacturing Centers). The system collectively delivers an open object model that links products, processes, and resources to enable dynamic, knowledge-based product creation and decision support that drive optimization in product definition, manufacturing readiness, production, and service.

[0003] In this context and others, deformable 3D modeling objects are becoming increasingly important.

[0004] However, there is still a need for improved solutions for deforming 3D modeled objects. Summary of the Invention

[0005] Therefore, a computer-implemented machine learning method is provided. The method includes: providing a dataset of 3D modeled objects representing real-world objects. The method further includes: learning a generative neural network based on the dataset. The generative neural network is configured to generate a deformable basis for the input 3D modeled object. The learning includes adversarial training.

[0006] The method may include one or more of the following:

[0007] The method further includes: training a discriminative neural network by minimizing a discriminative loss, the discriminative neural network being configured to determine whether a 3D modeled object generated from a linear combination of deformable bases generated by the generative neural network is real or synthetic;

[0008] The learning process of the generative neural network includes: training the generative neural network to deceive the discriminative neural network;

[0009] The learning of the generative neural network includes minimizing the generation loss, and the method alternates between minimizing the generation loss and minimizing the discrimination loss;

[0010] - The minimization of the discriminative loss is based on a stochastic linear combination of deformable bases generated by the generative neural network;

[0011] The learning is performed in mini-batches, and for each mini-batch, the learning includes: for each 3D modeling object in the mini-batch, generating a random linear combination of the deformation basis of the 3D modeling object generated by the generative neural network by randomly sampling the coefficients of the linear combination;

[0012] - The random sampling includes: random sampling of a plurality of non-zero coefficients, and / or, for each non-zero coefficient, random sampling of the coefficient values ​​according to a pseudo-bounded probability distribution;

[0013] The generative loss includes a term that rewards the linear combination of the deformable bases generated by the generative neural network for deceiving the discriminative neural network.

[0014] - The generation loss also includes a term for reporting the difference between the input 3D modeled object and the linear deformation of the input 3D modeled object spanned by the deformation basis generated by the generative neural network;

[0015] - The generation loss also includes a sparse term for rewarding the deformable basis generated by the generative neural network; and / or

[0016] -The generation loss is of the following type:

[0017]

[0018] in:

[0019] ○d is the discriminative neural network;

[0020] ○x1,...,x NN is a small batch of 3D modeling objects that form the dataset, where N is the number of objects in the small batch;

[0021] ○ The generative neural network in object x i The deformable basis generated at [location], where n is the number of vectors of the deformable basis, x i,1 ...x i,m It is x i The point or vertex;

[0022] ○m is the number of points or vertices of each 3D modeling object in the mini-batch;

[0023] ○y i The generative neural network in object x i The x-axis spanned by the deformed basis generated at the location i The linear deformation;

[0024] ○D CH It is the chamfer distance; and

[0025] ○λ and δ are the parameters of the generation loss.

[0026] Generative neural networks that can be learned according to the method are also provided, for example, generative neural networks learned by the method. The generative neural network forms a computer-implemented data structure having layers of neurons with weights (also called parameters), the values ​​of which are set (e.g., have already been set) by learning according to the learning method.

[0027] A method for using the aforementioned generative neural network, implemented in a computer, is also provided.

[0028] A computer program is also provided, which includes instructions for performing the method and / or the method of use.

[0029] An apparatus is also provided, including a data storage medium having the computer program and / or the neural network recorded thereon.

[0030] The device can form or serve as a non-transitory computer-readable medium, such as on SaaS (Software as a Service) or other servers, or cloud-based platforms. The device may alternatively include a processor coupled to the data storage medium. Therefore, the device can form wholly or partially a computer system (e.g., the device is a subsystem of an overall system). The system may also include a graphical user interface coupled to the processor. Attached Figure Description

[0031] Embodiments of the invention will now be described by way of non-limiting examples and with reference to the accompanying drawings, wherein:

[0032] - Figures 1 to 13 The method is shown; and

[0033] - Figure 14 An example of the system is shown. Detailed Implementation

[0034] A computer-based approach to machine learning is proposed. This approach includes providing a dataset of 3D modeled objects representing real-world objects. It also includes learning a generative neural network based on this dataset. The generative neural network is configured to generate a deformable basis for the input 3D modeled object. The learning process includes adversarial training. This approach may be referred to as a "learning method." This learning method constitutes an improved solution for deforming 3D modeled objects.

[0035] Specifically, the learning method learns a generative network capable of generating a deformation basis for the input 3D modeled object, i.e., the basis of each deformation vector forms the direction of deformation of the input 3D modeled object. Therefore, as discussed below, this basis can be used, for example, to deform the 3D modeled object using a generative neural network. Furthermore, the generative neural network is learned based on a dataset of 3D modeled objects representing real-world objects, enabling it to learn a basis for generating deformations of 3D representations of real-world objects, and thus this basis can be used to obtain the actual deformation of the 3D real-world object. In other words, the learning method thus provides a solution for obtaining the actual 3D deformation for any 3D modeled object.

[0036] Generative neural networks (GNNs) are trained using adversarial training. During the learning process, the GNN takes 3D modeled objects from a dataset as input and outputs several deformable bases for those objects. Each output forms an attempt by the GNN to generate a base for the actual deformables of the input 3D modeled objects. Training continues as long as the outputs do not achieve the actual deformables, meaning the weights of the network are continuously modified. Training continues until the GNN eventually generates deformable bases from the given input 3D modeled objects. These deformable bases, when linearly combined and then applied to the input, form the actual 3D modeled objects—the actual deformables of the input. The training is adversarial: the GNN is trained to provide outputs that achieve the actual deformables, but simultaneously, as the GNN itself improves, the requirement / urgency to assess the realism of the 3D modeled objects produced by these deformables increases during training. In other words, adversarial training trains the GNN to consistently improve itself in providing deformable bases for producing the actual deformables, while continuously increasing the requirement / urgency to assess the level of realism of the 3D modeled objects produced by these deformables. Ultimately, this adversarial training ensures the realism of the deformable basis generated by the generative neural network.

[0037] Adversarial training using this method also improves the variability of deformables obtainable using the bases generated by the generative neural network. In fact, the training of the neural network is unsupervised and not constrained by any label, object category, or target deformable to be achieved. Therefore, when given 3D objects from a dataset as input, the generative neural network explores a wide range of possibilities for deformable bases of the input objects as it attempts to generate deformable bases as output, not limited to target deformables or object categories. However, because the generative neural network is trained using adversarial training, although it explores a wide range of possibilities for deformable bases, ultimately, as adversarial training increases the urgency / requirement for evaluating realism while training the generative neural network to improve the realism of its output, the generative neural network is constrained to output deformable bases, thus allowing the input objects to be deformed into realistic 3D modeled objects. In other words, while the generative neural network can explore a vast variability of deformable bases, adversarial training allows for the preservation of those deformable bases that belong to realism. In other words, adversarial training helps to obtain robust generative neural networks with improved variability and agnosticity regarding object category or type.

[0038] Furthermore, the learning is unsupervised, specifically without any supervision of the structure. Therefore, generative neural networks can be learned to generate deformable bases consisting of vectors, each vector being a deformable localized on a portion of the input 3D modeled object. Thus, generative neural networks implicitly learn to represent the structure of their input 3D modeled object, making them particularly well-suited for 3D object segmentation or 3D structure discovery.

[0039] The deformable base generated by generative neural networks can be used in many applications, such as shape synthesis, shape reconstruction from images, shape matching (e.g., automatic) segmentation, 3D editing / intelligent 3D design tools, and 3D structure discovery.

[0040] Learning methods are used for machine learning.

[0041] As is known from the field of machine learning itself, the processing of inputs by a neural network involves applying operations to the inputs, which are defined by data including weight values. Therefore, learning a neural network involves determining the values ​​of the weights based on a dataset configured for such learning, which may be referred to as a learning dataset or training dataset. For this purpose, the dataset comprises data segments, each forming a separate training sample. Training samples represent the diversity of scenarios the neural network will use after learning. Any training dataset in this document may include a number of training samples greater than 1,000, 10,000, 100,000, or 1,000,000. In the context of this disclosure, "learning a neural network based on a dataset" means that the dataset is the learning / training dataset of the neural network, on which the values ​​of the weights (also referred to as "parameters") are set.

[0042] In the context of the learning methodology, the training dataset is the dataset of the provided 3D modeling objects, which will now be discussed. Before discussing the provided dataset, we will now discuss the data structures involved in it.

[0043] The training dataset is a dataset of 3D modeling objects, i.e., composed of 3D modeling objects. Therefore, the learning method typically manipulates these modeling objects. A modeling object is any object defined by data stored, for example, in a database. More broadly, the expression "modeling object" refers to the data itself. Depending on the type of system, the modeling object can be defined by different kinds of data. This system can actually be any combination of CAD, CAE, CAM, PDM, and / or PLM systems. In these different systems, the modeling object is defined by the corresponding data. Therefore, those skilled in the art can correspondingly refer to CAD objects, PLM objects, PDM objects, CAE objects, CAM objects, CAD data, PLM data, PDM data, CAM data, and CAE data. However, these systems are not mutually exclusive, because a modeling object can be defined by data corresponding to any combination of these systems. Thus, a system can advantageously be both CAD and PLM systems, as will be apparent from the definition of such a system provided below.

[0044] Any 3D modeling object in this document can represent a product, such as a part or an assembly of parts, or possibly an assembly of a product. For the purposes of “3D modeling object,” it means any object modeled through data that allows for its 3D representation. 3D representation allows viewing of a part from all viewpoints (e.g., from various angles and / or distances). For example, when performing a 3D representation, a 3D modeling object can be manipulated and rotated around any axis of its axis or around any axis of the screen on which the representation is displayed. This specifically excludes 2D icons that are not 3D modeled. A 3D modeling object can represent the geometry of a product that will be manufactured in the real world after a virtual design of the product is completed (e.g., using a CAD software solution or CAD system), such as (e.g., mechanical) parts or assemblies of parts (or equivalently assemblies of parts, since from a methodological perspective, an assembly of a part may be considered the part itself, or the method can be applied independently to each part of the assembly), or more generally, any rigid body assembly (e.g., a moving mechanism). CAD software solutions allow for the design of products in a wide range of unrestricted industrial sectors, including: aerospace, architecture, construction, consumer goods, high-tech equipment, industrial equipment, transportation, and marine and / or offshore oil / gas production or transportation. Therefore, the 3D modeling objects designed using this method can represent industrial products, which can be any mechanical parts, such as parts for land vehicles (including, for example, automobiles and light truck equipment, racing cars, motorcycles, trucks and motorized equipment, trucks and buses, trains), parts for aircraft (including, for example, fuselage equipment, aerospace equipment, propulsion equipment, defense products, aviation equipment, space equipment), parts for naval vehicles (including, for example, naval equipment, merchant ships, marine equipment, yachts and workboats, maritime equipment), general mechanical parts (including, for example, industrial manufacturing machinery, heavy mobile machinery or equipment, installed equipment, industrial equipment products, metal products, tire manufacturing products), electromechanical or electronic parts (including, for example, consumer electronics products, safety and / or control and / or instrument products, computing and communication equipment, semiconductors, medical devices and equipment), consumer goods (including, for example, furniture, home and garden products, leisure goods, fashion products, products of hard goods retailers, products of soft goods retailers), and packaging (including, for example, food and beverage and tobacco, beauty and personal care, and household product packaging).

[0045] Any 3D modeling object in this paper can form a discrete geometric representation of a 3D real-world object, such as a real-world object like the mechanical parts discussed earlier. A discrete geometric representation in this paper is a data structure comprising a collection of discrete data fragments. Each data fragment represents a respective geometric entity located in 3D space. Each geometric entity represents a respective location of the 3D object (in other words, a respective part of the material constituted by the entities represented by the 3D object). The aggregation (i.e., union or juxtaposition) of geometric entities collectively represents the 3D object. In the examples, any discrete geometric representation in this paper may include a number of such data fragments greater than 100, 1000, or 10000.

[0046] Any discrete geometric representation in this paper may be, for example, a 3D point cloud, where each geometric entity is a point. Alternatively, any discrete geometric representation in this paper may be a 3D mesh, where each geometric entity is a mesh tile or face. Any 3D mesh in this paper may be regular or irregular (i.e., may or may not include faces of the same type). Any 3D mesh in this paper may be a polygonal mesh, such as a triangular mesh. Any 3D mesh in this paper may alternatively be a B-Rep (boundary representation). Any 3D mesh in this paper may be obtained from a 3D point cloud, for example, by triangulating the 3D point cloud (e.g., using Deloni triangulation). Any 3D point cloud in this paper may be determined based on physical measurements of a real object, for example, within a 3D reconstruction process. The 3D reconstruction process may include: providing a real object; providing one or more physical sensors, each configured to acquire a respective physical signal; and acquiring one or more respective physical signals by operating the one or more physical sensors on the real object (i.e., scanning the real object using each sensor). Then, according to any known technique, the 3D reconstruction may automatically determine the 3D point cloud and / or 3D mesh based on the measurement results. One or more sensors may include multiple (e.g., RGB and / or image or video) cameras, and determination may include motion-based structural recovery analysis. One or more sensors may alternatively or additionally include one or more depth sensors (e.g., on an RGB depth camera), and determination may include 3D reconstruction from depth data. One or more depth sensors may include, for example, lasers (e.g., LiDAR) or ultrasonic transmitter-receiver pairs.

[0047] Any 3D point cloud or 3D mesh in this document may alternatively be obtained from a 3D modeling object representing the skin (i.e., the outer surface) of a solid (e.g., a B-Rep model corresponding to the skin (i.e., the precise surface)), for example, by ray casting or tessellate the 3D modeling object. Tessellation can be performed according to any 3D modeling object rendering process. Such a rendering process can be encoded on any CAD system to display a graphical representation of the 3D modeling object. The 3D modeling object can be designed by the user using a CAD system or has already been designed by the user using a CAD system.

[0048] Providing a dataset can include forming the dataset, for example, by creating 3D modeling objects. As discussed above, creating 3D modeling objects can, for example, involve acquiring the 3D modeling objects using a 3D reconstruction process. Alternatively, providing a dataset can include retrieving a dataset that has been stored in memory after its creation from (e.g., remote) memory. The 3D modeling objects of the training dataset can, for example, be retrieved wholly or partially from a known ShapenetCore.V2 dataset. The 3D modeling objects of the dataset can be entirely 3D point clouds, for example, generated by preprocessing 3D meshes. Alternatively, they can be entirely 3D meshes. In such a case, the learning method can include preprocessing these meshes, which samples them into a 3D point cloud. Preprocessing can include centering each 3D mesh. Preprocessing can then include independently resizing each 3D mesh so that the mesh vertices are precisely fitted within a unit sphere. Preprocessing can then include extracting dense point clouds from each normalized shape in the dataset, for example, by ray-casting each point cloud onto six orthographic views. Preprocessing can then include uniformly subsampling each point cloud (e.g., by downsampling each point cloud to the same size). Subsampling can start from random points in the point cloud and iteratively pick the furthest points in the point cloud from the already selected points until the desired number of points is reached. Alternatively, a 3D mesh can be directly formed into 3D modeled objects of the dataset, i.e., without any preprocessing. The 3D modeled objects of the dataset can all have the same number of points; in the case of a mesh, points are, for example, vertices; or in the case of a mesh, points are points sampled from the mesh surface; in the case of a point cloud, points are points in the point cloud. Alternatively, the number of points can vary from one dataset to another depending on the objects in the dataset.

[0049] The 3D modeled objects in the training dataset represent real-world objects; that is, each 3D modeled object in the training dataset represents a real-world object, such as a vehicle (e.g., an airplane), furniture (e.g., a sofa or chair), or a mechanical part. The 3D modeled objects in the training dataset can belong to different categories of objects: for example, the 3D modeled objects in the training dataset can include two or more of furniture, mechanical parts, and vehicles.

[0050] Now let's discuss the learning of generative neural networks.

[0051] Generative neural networks are configured to generate the deformation basis of an input 3D modeled object. In other words, a generative neural network takes a 3D modeled object as input and outputs the deformation basis of that 3D modeled object. Generating the deformation basis: Instead of attempting to infer deformations that satisfy the target object or user constraints, the generative neural network generates (i.e., creates) the deformation basis of the input object. For this purpose, the input 3D modeled object is a 3D modeled object of the same data type as the 3D modeled objects in the training dataset. For example, if the 3D modeled objects in the dataset are 3D meshes, then the input 3D modeled object is also a 3D mesh. Or, if the 3D modeled objects in the dataset are 3D point clouds, then the input 3D modeled object is also a 3D point cloud. However, the 3D modeled object can be a 3D point cloud generated from sampling a mesh.

[0052] The deformation basis is a set of vectors, where each vector represents the direction of deformation of the input 3D modeling object. In other words, the generative neural network learns to generate a set of vectors for the input object, where each vector represents the direction of deformation of the input object. Vectors form the basis, meaning they can be linearly combined to deform the input 3D modeling object. A linear combination with coefficients (also called amplitudes) has a set of values ​​that form the linear deformation of the input 3D modeling object. In other words, when applied to an input 3D modeling object, a linear combination of the deformation basis vectors is another 3D modeling object, which is a deformation of the input 3D modeling object. Vectors can be linearly combined in such a way that if the linear combination is small enough (i.e., the coefficients / amplitudes do not have very large values), the deformed input 3D modeling object approximates the input 3D modeling object. In such a case, the deformation is real. Mathematically, the deformation is real as long as its manifold remains sufficiently close to the deformation, which is in tangent space, defined by the deformation basis. The deformable basis can be a basis in the sense of linear algebra, i.e., a set of linearly independent (e.g., orthogonal) vectors, which may be normalized (e.g., orthogonalized). Specifically, the goal of the training is to enable the generative neural network to infer, or at least tend to infer, a basis of linearly independent deformable vectors (e.g., uncorrelated and / or orthogonal, as discussed further below). The deformable basis can have a fixed size (e.g., between 2 and 10 vectors, or more than 10 vectors). In other words, the generative neural network can always (i.e., for each input 3D modeled object) output a deformable basis with the same fixed number of vectors. The training dataset consists of 3D modeled objects representing real-world objects, and the generative neural network infers the basis of deformable vectors of the input 3D modeled objects, each of which represents the actual deformable direction of the input, because it is trained to do so. Thus, any small linear combination of vectors forms the actual representation of the deformable of the input (i.e., the 3D modeled object).

[0053] The difference between generating a deformation basis for a 3D model object and generating deformations of a 3D model object lies in the fact that the deformation basis consists of several vectors, each representing the deformation direction of the model object. These vectors can be linearly combined, with each linear combination forming its own deformation. Generating deformations corresponds to directly generating only one such combination. In other words, the learned generative neural network not only infers a deformation for each input but also provides the basis of deformation vectors, which can be arbitrarily linearly combined to generate various deformations without requiring further computation beyond linearly combining the vectors.

[0054] Generative neural networks have an architecture configured to take a 3D modeled object as input and output its deformable basis; that is, a generative neural network can have any architecture suitable for doing so. A generative neural network can be a deep neural network. For example, a neural network can include an encoder and a deep feedforward neural network. The encoder is configured to take a 3D modeled object as input and output a latent vector representing the input 3D modeled object. The encoder can therefore be configured to take a 3D mesh or (e.g., a 3D point cloud sampled from a 3D mesh) as input. The deep feedforward neural network is configured to take the latent vector output by the encoder as input and output the deformable basis of the 3D modeled object represented by the latent vector. The encoder architecture can be based on PointNet (e.g., as described in: C. Qi, H. Su, K. Mo, L. Guibas., “Pointnet: Deep learning on point sets for 3d classification and segmentation”, at the conference on Computer Vision and Pattern Recognition (CVPR), 2017, which is incorporated herein by reference) or any extension thereof. Alternatively, the encoder architecture can use a mesh topology (i.e., if the 3D modeling objects of the dataset are 3D meshes), for example, as in MeshCNN (e.g., as described in: R. Hanocka, A. Hertz, N. Fish, R. Giryes, S. Fleishman, D. Cohen-Or, “Meshcnn: A network with an edge”, at SIGGRAPH, 2019, which is incorporated herein by reference). Generative neural networks can also be called "generators".

[0055] The learning process of generative neural networks includes adversarial training.

[0056] Adversarial training is a training method implemented, for example, through an adversarial training algorithm executed by a learning method, which evaluates the realism of the output of a generative neural network with increasing urgency / requirement. Specifically, the generative neural network takes a series of 3D modeled objects from a training dataset as input, and for each input, generates a deformable basis with a certain level of realism; that is, the deformable basis, when linearly combined and applied to the input objects, forms a 3D modeled object with a certain level of realism. Now, adversarial training evaluates the quality of the realism of the generated deformable basis with increasing urgency, and if the quality is not satisfactory, i.e., the generated basis is not realistic enough, the training of the generative neural network continues, i.e., the weights of the generative neural network are modified so that the next deformable basis generated by the generative neural network is more realistic. In other words, adversarial training can include the following iterations:

[0057] - Select 3D modeling objects from the training dataset;

[0058] - The basis for generating deformations of 3D modeled objects using generative neural networks;

[0059] - Evaluate the realism of the generated deformation basis, that is, assess whether the generated deformation basis forms an actual 3D modeled object when linearly combined and applied to 3D modeled objects; and

[0060] - Modify the weights of the generative neural network to improve the realism of its generated base.

[0061] The urgency of evaluation increases with each iteration. This urgency / requirement increases because adversarial training, as it learns, increases the urgency of evaluating the realism of the generative neural network's output. In other words, as it learns, the generative neural network becomes more robust to the actual output (i.e., the deformable basis for forming realistic 3D modeled objects when linearly combined and applied to the input), but the requirement for realism in the output becomes increasingly urgent, which in turn makes the generative neural network more robust, and so on.

[0062] Now, generative neural networks (GNNs) do not rely on the labels of 3D objects in the dataset, or on target deformations or (e.g., user) constraints to generate bases, or on the categories of input objects. In other words, GNNs do not attempt to infer bases for satisfying target deformations, or adhering to (e.g., user-provided) deformation constraints, or labels, or for remaining within defined object categories. In other words, GNNs attempt to find a set of deformation directions of the objects when generating deformable bases, i.e., exploring the space of deformation directions. This allows GNNs to be unrestricted in generating bases: GNNs freely explore deformation directions, thus exploring a vast variability of possible deformable bases. Therefore, variability is improved. However, deformation remains a reality because GNNs are trained using adversarial training, which leverages increasing urgency to ensure that if the neural network attempts to output an unrealistic (i.e., synthetic) deformable base, the unrealistic output is identified and discarded; that is, training continues to modify the weights of the GNN to tend to avoid outputting such unrealistic bases. In other words, generative neural networks can generate a vast variability in the deformable basis without being constrained by labels, without requiring target deformability or (e.g., user-provided) deformability constraints, and without depending on the object category (i.e., the neural network is agnostic to the category of the input), yet the deformable basis is realistic due to adversarial training. To put it another way, adversarial training allows learning to be unsupervised yet robust, making generative neural networks robust while remaining agnostic to the object category or label.

[0063] This method may include training a discriminative neural network by minimizing the discriminative loss, i.e., as part of adversarial training. The discriminative neural network can also be called a "discriminator." The discriminative neural network and the generative neural network can co-form a deep neural network. The discriminative neural network and the generative neural network learn together through adversarial training. The discriminative neural network is configured to determine whether a 3D modeled object is real or synthetic, generated from an input 3D modeled object (i.e., the input to which the generative basis is generated) by applying a linear combination of the generated basis to the input 3D modeled object. In other words, the discriminative neural network evaluates the realism of the 3D modeled object generated from applying a linear combination of the generated basis to the input 3D modeled object. For example, the discriminative neural network can be trained to discriminate (e.g., distinguish) between an input 3D modeled object representing a real-world object (i.e., 3D modeled objects in the training dataset that are real) and a 3D modeled object that is a deformation generated from the application of a linear combination of the generated basis to the input (i.e., it is synthetic, but can be considered real if the generative neural network is sufficiently trained). Therefore, the discriminative neural network can only determine that a 3D modeling object is real, even though it is generated from a deformation, when the generated basis is linearly combined and applied to the input 3D modeling object to actually produce a real 3D modeling object. In terms of linear combination of deformation basis, it means "linear combination of vectors of deformation basis".

[0064] Training the discriminative neural network is part of adversarial training: the discriminative neural network is a neural network trained to evaluate the realism of a 3D modeled object generated from an input 3D modeled object by applying a linear combination of the outputs of the generative neural network to the input 3D modeled object. In other words, the discriminative neural network takes a 3D modeled object as input that is generated from a linear combination of vectors representing the deformation basis output (i.e., generated) by the generative neural network for the input 3D modeled object, applied to the generative neural network (i.e., during the training of the generative neural network); and determines whether the 3D object generated from the linear combination (which corresponds to a deformation (i.e., a linear deformation of the input across the generated basis) is a real object, classifying the linear combination as real or synthetic. The discriminative neural network can, for example, output the probability of the linear combination being real or synthetic, i.e., a value between 0 and 1, where 1 indicates a real object and 0 indicates a synthetic object.

[0065] Training a discriminative neural network can include training it to determine whether a 3D modeled object generated from a linear combination of vectors applied to a base generated by a generative neural network is itself synthetic. In other words, the goal of training a discriminative neural network can be to consistently determine that 3D modeled objects, as linear deformations spanned by the output of the generative neural network, are synthetic. Training a discriminative neural network can also include training it to determine whether 3D modeled objects in the training dataset are realistic. For example, a discriminative neural network can be trained to discriminate between input 3D modeled objects in the dataset (which will be classified as realistic) and 3D modeled objects that are deformations of the input 3D modeled objects (i.e., generated from a linear combination of vectors applied to the bases of deformations generated by the generative neural network for the input 3D modeled objects) (which will be classified as synthetic). This allows for the training of a robust discriminative neural network, as it is trained to classify deformations generated from the bases as synthetic, such that the discriminative neural network will tend to classify a 3D modeled object as realistic only if the 3D modeled object generated from the deformation is or tends to be truly realistic (as 3D objects in the training dataset). Furthermore, as generative neural networks provide the basis for generating increasingly realistic 3D modeled objects with deformable forms, discriminative neural networks become increasingly crucial in determining the realism of such 3D modeled objects derived from deformation. This, in turn, allows generative neural networks to further enhance the realism of their derived objects. Training a discriminative neural network can, for example, include the following iterations:

[0066] - Select a linear combination of deformation bases generated by the generative neural network for the input 3D modeled object; and

[0067] - If the discriminative neural network determines or tends to determine that the 3D modeling object produced by applying a linear combination to the input 3D modeling object is realistic and / or if the discriminative neural network determines or tends to determine that the input 3D modeling object is synthetic, then modify the weights of the discriminative neural network.

[0068] Training a discriminative neural network involves minimizing the discriminative loss. The discriminative loss can be any loss that rewards a low probability that the 3D modeled object produced by applying a linear combination of the generated bases to the input 3D modeled object is realistic. In other words, the loss depends on the probability that the 3D modeled object produced by a linear combination of the generated bases is realistic, and the lower that probability, the lower the value of the loss. Conversely, a large loss value indicates a high probability that the 3D modeled object produced by a linear combination of the generated bases for the input 3D modeled object is realistic. Since training minimizes the loss, the weights of the discriminative neural network are modified to reduce the value of the loss. This ultimately allows the discriminative neural network to be trained to classify 3D modeled objects produced by a linear combination of the generated bases as synthetic, which improves the robustness of the discriminative neural network, and thus the robustness of the generative neural network as explained above. The discriminative loss can further reward a high probability that the input 3D modeled object is realistic. In other words, the loss can further depend on the probability that the input 3D modeled object is realistic, and when that probability is low, the loss has a large value. Since training minimizes the loss, the weights of the discriminative neural network are modified to reduce the value of the loss. Training the discriminative neural network can include the following iterations:

[0069] - Select a linear combination of the deformation basis generated by the generative neural network for the input 3D modeled object;

[0070] -Evaluate the values ​​of the discrimination loss for the 3D modeling object generated from the linear combination applied to the input 3D modeling object and for the input 3D modeling object;

[0071] - If the loss value is too high, modify the weights of the discriminative neural network.

[0072] In the example, the discriminative loss is of the following type:

[0073]

[0074] Where N is the number of input 3D modeling objects (e.g., the number of mini-batch 3D modeling objects if learning is done in mini-batches), d is the discriminative neural network, and x i It is the input 3D modeling object (i.e., the 3D modeling object of the training dataset), and y i From the input x by the generative neural network i A linear combination of the generated deformation basis is applied to the input x i The resulting 3D modeled object.

[0075] In other examples, the discriminative loss is of the following type:

[0076]

[0077] The discriminative neural network is trained during the learning phase; that is, while the generative neural network is trained, the discriminative neural network is also trained to determine whether a 3D modeled object generated from a linear combination of deformable bases generated by the generative neural network is realistic or synthetic. Its training depends on the discrimination made by the discriminative neural network. In other words, adversarial training trains the generative neural network to generate 3D modeled objects based on bases that can produce realistic deformable objects. Realism is evaluated during adversarial training by determining realism through the discriminative neural network, which is simultaneously trained to perform this evaluation. For example, adversarial training may include the following iterations:

[0078] -One or more iterations of the following:

[0079] ○ Select the input 3D modeling object for the training dataset;

[0080] ○ Generative neural networks are used to generate the deformation basis of the input 3D modeled object;

[0081] ○ The realism of the generated deformable basis is evaluated by applying a discriminative neural network to 3D modeling objects generated from input 3D modeling objects by applying a linear combination of basic principles; and

[0082] ○ If the deformable basis tends to be evaluated as synthetic, then modify the weights of the generative neural network; and

[0083] -One or more iterations of the following:

[0084] ○ Choose a linear combination of the deformable bases generated by the generative neural network;

[0085] ○ If the discriminant neural network determines or tends to determine that the 3D modeling object generated from the applied linear combination is realistic and / or if the discriminant neural network determines that the input 3D modeling object is synthetic, then modify the weights of the discriminant neural network.

[0086] What will be understood is that when the weights of the discriminative neural network are modified, the weights of the generative neural network are fixed, and conversely, when the weights of the generative neural network are modified, the weights of the discriminative neural network are fixed.

[0087] Learning a generative neural network can include training the generative neural network to deceive (i.e., trick) a discriminative neural network. As discussed earlier, the generative neural network is trained to output a realistic basis for deformation, that is, to make the 3D modeled object produced by applying a linear combination of basis vectors to the inputs tend to be realistic, while the discriminative neural network is trained to determine that the object produced by the deformation is synthetic. In the sense of "deceiving," this means that the training of the generative neural network to output a realistic basis is performed by constraining the generative neural network to output a basis for deformation, which, when linearly combined and applied to the inputs, should form a 3D modeled object that tends to be determined as realistic by the discriminative neural network. In other words, the discriminative neural network is trained to systematically correct the generative neural network, that is, to systematically classify 3D modeled objects (which are linear deformations of the inputs of the generative neural network) as synthetic, while simultaneously training the generative neural network to prevent the discriminative neural network from correcting it, that is, to prevent the discriminative neural network from determining the deformation produced by its output as synthetic. In other words, the generative neural network is trained to output the basis for a deformed 3D modeled object (a deformed version of the input) that, when linearly combined and applied to an input 3D modeled object, is to be considered real by the discriminative neural network. Simultaneously, the discriminative neural network is trained not to consider such deformed objects as real. This improves the robustness of the generative neural network, which is trained to deceive the discriminator, becoming increasingly robust and less likely to be fooled with adversarial training. In other words, adversarial training can train the generator to deceive the discriminator, while simultaneously training the discriminator to become increasingly wary of the generator's deception attempts.

[0088] Learning a generative neural network can include minimizing the generation loss, a method that alternates between minimizing the generation loss and minimizing the discriminative loss. The generation loss is any loss in return for the realism of the 3D modeled object produced by applying a linear combination of bases generated by the generative neural network to an input 3D modeled object. In other words, the generation loss depends on the realism of the 3D modeled object produced by the deformation (i.e., the 3D modeled object produced by the deformation is the variable of the loss) and has a high value when the realism tends to be low (i.e., the 3D modeled object produced by the deformation tends to be synthetic). For example, the generation loss can depend on the value of the discriminative neural network, which is fed as input to the loss, on the 3D modeled object produced by the deformation. The method alternates between minimizing the generation loss and the discriminative loss. In other words, minimizing the generation loss trains the generative neural network (i.e., leading to modifications of its weights), while minimizing the discriminative loss trains the discriminative neural network (i.e., leading to modifications of its weights), and the method alternates between these: learning includes one or more iterations of minimizing the generation loss and one or more iterations of minimizing the discriminative loss. This learning can, for example, include the following iterations:

[0089] -One or more iterations of the following:

[0090] ○ Select the input 3D modeling object for the training dataset;

[0091] ○ Generative neural networks are used to generate the deformation basis of the input 3D modeled object;

[0092] The realism of the generated deformable basis is evaluated by applying a discriminative neural network to 3D modeled objects generated from input 3D modeled objects by applying a basic linear combination to them, and by assessing the value of the generation loss for the 3D modeled objects generated from the applied linear combination; and

[0093] If the generation loss value is too large, modify the weights of the generative neural network; and

[0094] -One or more iterations of the following:

[0095] ○ Choose a linear combination of the deformable bases generated by the generative neural network;

[0096] If the discriminant loss values ​​for the 3D modeling objects generated from the application of linear combination and for the input 3D modeling objects are too large, then modify the weights of the discriminant neural network.

[0097] Minimizing the discriminative loss can be based on a stochastic linear combination of variant bases generated by a generative neural network. As explained earlier, the discriminative neural network is trained to determine whether the 3D modeled object produced by applying a linear combination of bases generated by the generative neural network to an input 3D modeled object is realistic or synthetic, for example, by selecting the combination, applying it to the input, feeding the resulting 3D modeled object as input to the discriminative loss, and evaluating whether the value of the loss is therefore large. In such cases, the weights of the discriminative neural network are modified (i.e., the loss is minimized). The minimization of the discriminative loss is based on stochastic linear combinations because the selection of the linear combinations is performed randomly, i.e., including the random selection (e.g., sampling) of the coefficients of the linear combinations. Thus, the linear combinations of bases generated by the generative neural network on which the minimization of the discriminative loss is performed are stochastic, allowing the discriminative neural network to be trained to determine realism based on significant variations in these combinations. This makes the discriminative neural network more robust.

[0098] Minimizing the generation loss can also be based on a random linear combination of the deformable basis generated by the generative neural network, i.e., including the random selection (e.g., sampling) of the coefficients of the linear combination. Thus, the linear combination of the basis generated by the generative neural network that minimizes the generation loss is random, allowing the generative neural network to be trained as an output basis upon which a large number of diverse linear combinations can be executed to form the actual deformability of the input object. This makes the generative neural network more robust.

[0099] Therefore, adversarial training can manipulate stochastic linear combinations of the underlyings while alternating between minimizing the loss. For example, learning could include iterations such as:

[0100] -One or more iterations of the following:

[0101] ○ Select the input 3D modeling object for the training dataset;

[0102] ○ Generate the deformation basis of the input 3D modeling object through a generative neural network;

[0103] ○ By randomly selecting (e.g., sampling) the coefficients of the linear combination, a linear combination of the deformable basis is randomly selected;

[0104] The realism of the generated deformable basis is evaluated by applying a discriminative neural network to a 3D modeling object generated from a linear combination of selected deformable bases applied to an input 3D modeling object, and by assessing the value of the generation loss for the linear combination; and

[0105] ○ If the loss value is too large, modify the weights of the generative neural network; and

[0106] -One or more iterations of the following:

[0107] For each selected linear combination or at least a portion thereof, if the discriminative loss for the 3D modeling object generated from the selected linear combination and for the input 3D modeling object is too large, then modify the weights of the discriminative neural network.

[0108] Learning can be performed mini-batch by mini-batch. A mini-batch is a subset of the training dataset. As explained earlier, learning a neural network involves feeding consecutive training samples from the training dataset as input to the neural network (up to preprocessing) and modifying the weights to correct the network's output. Mini-batch learning means that learning involves iterative selection of subsets (i.e., mini-batches) of training samples, with samples from each subset (i.e., mini-batch) continuously fed as input to the neural network (up to preprocessing). This learning method can perform any small-matching learning method, such as any mini-batch stochastic gradient descent method or any other mini-batch stochastic optimization method.

[0109] Thus, mini-batches are iteratively selected according to the learning method, and for each mini-batch, the training samples of the mini-batch are used to train the generative neural network and / or the discriminative neural network. The two networks can be trained on the same mini-batch or, alternatively, on different mini-batches. It will be understood that any 3D modeling object in the training dataset can belong to one or more mini-batches. For each 3D modeling object in a mini-batch, learning involves feeding the 3D modeling object as input to the generative neural network, which outputs / generates a deformable basis of the input 3D modeling object. Then, learning involves generating a stochastic linear combination of the generated deformable basis by randomly sampling the coefficients of the linear combination. In other words, learning involves randomly sampling coefficients (e.g., real numbers) that form the respective weights of the vector of deformable basis. Learning can include forming a linear combination using the randomly sampled coefficients and the vector of the generated basis. "Randomly sampling" means the random selection of coefficient values.

[0110] The linear combination and its randomly sampled coefficients can then be used to minimize the discriminative loss and / or the generative loss, as discussed above. For example, learning can include iterations such as:

[0111] - Select a mini-batch from the training dataset;

[0112] - One or more first iterations of the following:

[0113] ○ Select to input 3D modeling objects in small batches;

[0114] ○ Generative neural networks are used to generate the deformation basis of the input 3D modeled object;

[0115] ○ By randomly sampling the coefficients of the linear combination, the linear combination of the deformable basis is randomly selected;

[0116] The realism of the generated deformable basis is evaluated by applying a discriminative neural network to a 3D modeling object generated from an input 3D modeling object by applying a linear combination of selected bases, and by assessing the value of the generation loss for the linear combination; and

[0117] If the generation loss value is too large, modify the weights of the generative neural network; and

[0118] -One or more second iterations:

[0119] For each selected linear combination or at least a portion thereof, if the discriminative loss for the 3D modeling object generated from the selected linear combination and for the input 3D modeling object is too large, then modify the weights of the discriminative neural network.

[0120] Alternatively, one or more first iterations may be performed for more than one mini-batch, and then one or more second iterations may be performed for the same mini-batch or (e.g., partially) different mini-batch. In other words, a strict alternation between minimizing the generating loss and the discriminative loss is not required.

[0121] Random sampling can include random sampling of multiple non-zero coefficients. In other words, random sampling can include a random selection of that number of non-zero coefficients of a linear combination. This allows for the random selection during the training of a neural network of linear combinations with a small number (e.g., only one) of non-zero coefficients, as well as linear combinations with a large number or any number of non-zero coefficients, which are then used to minimize the loss. In particular, selecting a linear combination with a small number (e.g., only one) of non-zero coefficients that is then input to the loss allows for minimizing the loss based on deformations obtained from several vectors (e.g., only one) of the generated deformation basis. By minimizing the loss, this allows training to generate a neural network output deformation basis whose vectors themselves (i.e., themselves) form the actual deformation. Thus, each vector forms a deformation of the input object, which itself is real and meaningful. Furthermore, random sampling of non-zero coefficients improves the speed of learning because the actual deformation is better explored. Random sampling of multiple non-zero coefficients can, for example, include random sampling of the indices of the non-zero coefficients, for example, with a Bernoulli distribution at each index.

[0122] Alternatively, random sampling may include: for each non-zero coefficient, randomly sampling the coefficient values ​​according to a quasi-bounded probability distribution. "Quasi-bounded" means a probability distribution with small tails, such as an integrable probability distribution, like a Gaussian or uniform probability distribution. Random sampling of coefficient values ​​according to a quasi-bounded probability distribution allows sampling the amplitude of non-zero coefficients so that it is not too large, because large deformations have a higher chance of being unrealistic. In other words, according to a small-tailed probability distribution (such as a Gaussian distribution), this random sampling allows avoiding exploring too large and unrealistic deformations while minimizing the loss. This helps train generative neural networks so that their output deformation basis forms the actual deformation of the input object when linearly combined. This also allows for more efficient exploration of possible deformation basis by avoiding deformations that are unrealistically large anyway.

[0123] Alternatively, random sampling may include: for each non-zero coefficient, randomly sampling the sign of the coefficient, for example, according to a Bernoulli probability distribution. This allows for obtaining coefficients with different signs, and increases the variability of the sampled linear combinations, which improves the robustness of learning.

[0124] When random sampling includes random sampling of multiple non-zero coefficients, and random sampling of coefficient values ​​and signs according to a quasi-bounded probability distribution for each non-zero coefficient, learning will force the generative neural network to produce its own actual deformation.

[0125] Now let's discuss the generation loss further.

[0126] The generation loss can include a term that rewards the linear combination of deformable bases generated by the generative neural network for deceiving the discriminative neural network. This term depends on the discriminative neural network; that is, it quantifies the realism of the 3D modeled object by feeding it as input to the discriminative neural network, evaluating the realism of the 3D modeled object. This term is large when the discriminative neural network evaluates the 3D modeled object as synthetic, and small when it evaluates it as realistic. In other words, the term has a large value when the generative neural network generates bases that prevent the 3D modeled object from deceiving / bluffing the discriminative neural network—that is, when the discriminative neural network detects that the 3D modeled object originates from a linear combination of vectors applied to the bases generated by the generative neural network, and thus determines it as synthetic. Since the generation loss is to be minimized—that is, the weights of the generative neural network are modified as long as the generation loss does not have a sufficiently small value for its input—this helps train the generative neural network to output actual deformable bases, that is, bases that produce actual deformities when linearly combined, thus deceiving the discriminative neural network.

[0127] The generation loss may also include a term that reports the difference between the linear deformation of the input 3D modeled object and the deformation basis generated by the generative neural network across the input 3D modeled object. The linear deformation of the input 3D modeled object across the deformation basis generated by the generative neural network is a linear combination of vectors of the deformation basis generated by the generative neural network applied to the input 3D modeled object, from which the generative neural network has taken the input 3D modeled object as input. The coefficients of the linear deformation are, for example, randomly sampled as discussed above. This term reports the difference because it is small when the result of the linear deformation applied to the input 3D modeled object differs from the input 3D modeled object, and large when the result of the linear deformation applied to the input 3D modeled object tends to be close to the input 3D modeled object; however, the linear deformation and the result of the input are always different. Since the generation loss is to be minimized—that is, the weights of the generative neural network are modified as long as the generation loss does not have a sufficiently small value for its input—this helps to train the generative neural network to output a deformation basis that, when linearly combined and applied to the input, produces a deformation of the input object from which the deformation basis has been generated. This prevents any collapse of the generative neural network, that is, prevents the generative neural network from producing deformations that are not deformations (i.e., zero deformations). This term can be any term used to report the difference between the input 3D modeled object and the result of a linear deformation, such as the inverse of any distance between the input 3D modeled object and the result of a linear deformation. This distance could be, for example, a 3D bevel distance.

[0128] The generation loss can also include a term for rewarding the sparseness of the deformable basis generated by the generative neural network. The term for rewarding sparseness is any term that has a low value when the deformable basis is sparse (i.e., when the amplitude of each vector in the deformable basis is sparse). Since the loss is to be minimized, this term forces the generative neural network to be trained to output a sparse deformable basis, i.e., to force the amplitude of each vector in the basis to be sparse. Therefore, it forces vector formation to be localized on parts of the 3D modeled object in a completely unsupervised manner (without even knowing the structure of the 3D modeled object). In practice, sparse but seemingly reasonable deformations cannot involve too many vertices or points of the 3D modeled object, and deformations that only move a portion of some, but not all, points / vertices may not be practical. This term can be, for example, a group sparse term, also known as a group sparse loss, such as those discussed in the following document: J. Mairal, F. Bach, J. Ponce, “Sparse Modeling for Image and Vision Processing”, New Foundations and Trends, 2014, which is incorporated herein by reference.

[0129] The generation loss may also include independent terms, which are any terms that prevent redundancy in the deformed basis, i.e., that force the vectors of the basis to be linearly independent, for example, by forcing them to be orthogonal. Independent terms may be, for example, through orthogonality loss, or any term that forces each vector to be orthogonal to other vectors at every point. Alternatively or additionally, the generation loss may also include any other regularization terms, such as the Laplacian operator loss to force the Laplacian operator coordinates to be conserved over the deformed shape, as discussed in the following document: W. Wang, D. Ceylan, R. Mech, U. Neumann, “3dn: 3d deformation network”, at the conference on Computer Vision and Pattern Recognition (CVPR), 2019.

[0130] Losses can be of the following types:

[0131]

[0132] in:

[0133] -d indicates a discriminative neural network;

[0134] -x1, ...,x N It consists of a small batch of 3D modeling objects that form a dataset, where N is the number of objects in the small batch;

[0135] - It is generated by a generative neural network on object x i The deformable basis generated at point n, where n is the number of vectors of the deformable basis, x i,1 ... x i,m It is x i The point (at x) i In the case of point clouds) or vertices (in x) i (In the case of a grid);

[0136] -m is the number of points or vertices per 3D modeling object in a mini-batch;

[0137] -y i It is generated by a generative neural network on object x i The x-axis spanned by the deformed basis generated at that location i The linear deformation, i.e., y i Applying linear combinations to x i The resulting 3D modeled object;

[0138] -D CH It is the chamfer distance; and

[0139] -λ and δ are parameters that generate the loss. For example, if the 3D modeled objects in the dataset are normalized, they are selected in [0, 1], or they are selected such that each term of the loss has similar weights at the start of training.

[0140] As discussed earlier, in the case of generative neural networks including encoders and deep feedforward neural networks, h is the latent vector encoding x. i g w It is a deep feedforward neural network, and h = f w (x i ), where f w It is an encoder. In this case, y i The following formula is given:

[0141]

[0142] in, It is y i The linear coefficients.

[0143] item

[0144]

[0145] It is a linear combination (y) used to reward the deformable basis generated by the generative neural network. i The term that represents the deception of the discriminative neural network. This term can be replaced by the following:

[0146]

[0147] item

[0148]

[0149] It is used to return the input 3D modeled object (x i ) and the linear deformation of the input 3D modeled object spanned by the deformation basis generated by the generative neural network (y i The difference between the terms. The chamfer distance D between the x and y points in the two point clouds. CH The following formula is given:

[0150]

[0151] Where p represents a point belonging to x, and q represents a point belonging to y.

[0152] item

[0153]

[0154] It is a sparse term used to reward the deformable basis generated by the generative neural network.

[0155] As explained above, the loss E2 can also include independent terms, meaning that E2 can be of the following types:

[0156]

[0157] Here, γ is a parameter that generates the loss E2. This parameter can have a relatively large value because the independent terms will tend to approach 0 during the learning period. Alternatively, if the 3D modeled objects in the dataset are normalized, this parameter can be selected in [0, 1], or it can be selected so that each term of the loss has a similar weight at the start of training.

[0158] In each example, the independent item can be of the following types:

[0159] ||g w (h, x) i )g w (h, x) i ) T -Id n×n ||2

[0160] Alternatively, in other examples, it could be of the following type:

[0161]

[0162] Now let's discuss how to implement the learning method.

[0163] This implementation provides a novel solution for computing the actual deformation basis for any 3D model. Furthermore, the learned deformations are located on parts of the object without any supervision (especially without structural supervision), and therefore they implicitly represent the structure of the shape. Such deformations can then be used to perform shape synthesis, shape reconstruction from an image, shape matching, or segmentation.

[0164] This implementation introduces a fully unsupervised adversarial deep generative model, where the generative neural network / generator predicts a linear basis for deformations of any 3D input. To learn meaningful and practical deformations, the generative network is trained to fool the discriminative neural network / discriminator, which is trained to classify between a training shape and a synthesized shape. The synthesized shape is derived from the input shape, and random deformations are applied to it within a linear span of the predicted basis for that shape. Through several rule terms, this implementation forces the generator not to collapse due to the independence of the learned deformations and that the learned deformations are limited to parts of the object. The structure of the object is never given to the model during training, so the model implicitly learns a meaningful structure for the input. Thus, the learned generator can be used in a variety of applications, such as intelligent 3D design tools, automatic 3D segmentation, or 3D structure discovery.

[0165] This implementation method offers the following advantages:

[0166] - It does not require clustering different types of 3D models to learn each category separately. Instead, this implementation is suitable for learning the entire dataset directly at once, because learning deformations is easier than generating shapes from scratch.

[0167] -When an existing shape is deformed, the resulting composite shape can be obtained by using the learned generator.

[0168] - Learn the linear basis of variations that can be used in real-time applications.

[0169] - There are no constraints on deformation through any deformation method; deformation is free-form.

[0170] - Due to adversarial training, the generator learns better deformations.

[0171] The structure learned by the generator does not require any supervision during training.

[0172] This implementation method follows the principle of Figure 1 The production line shown in the image.

[0173] Dataset preprocessing

[0174] This step enables the provision of a training dataset for 3D modeled objects.

[0175] This step may include: providing a 3D point cloud dataset and resampling it so that they all have the same number of points, and the resampled point cloud forms a training dataset.

[0176] Alternatively, given a dataset of 3D meshes, preprocessing includes centering each mesh and rescaling them within a unit sphere. To do this, preprocessing extracts a dense point cloud from each normalized mesh by ray-casting onto each normalized mesh in the dataset on six orthographic views, and then uniformly subsamples each point cloud. In doing so, preprocessing starts with random points in the point cloud and iteratively picks the furthest points from the already selected points until the desired number of points is reached.

[0177] In another alternative approach, this step may include providing a dataset of 3D meshes.

[0178] In the remainder of the description of this implementation, the training dataset is considered as a dataset of 3D point clouds with the same number of points. However, this description also applies to datasets of 3D meshes or point clouds with different numbers of points. Let m be the common number of points for all 3D point clouds in the dataset.

[0179] Neural Network Architecture

[0180] Let n be the size of the deformation basis. Let w and w′ be the weights of the entire learned deep neural network (i.e., the discriminator and generator). The generator consists of the encoder architecture f. w It takes 3D point clouds or 3D meshes as input and outputs latent vectors. It represents the input shape. Such an encoder architecture can be based on PointNet (as described in, for example, the following document: C. Qi, H. Su, K. Mo, L. Guibas., “Pointnet: Deep learning on point sets for 3d classification and segmentation”, presented at the conference on Computer Vision and Pattern Recognition (CVPR), 2017, which is incorporated herein by reference) or its many extensions. Alternatively, when the input is a mesh rather than a point cloud, the encoder architecture can use a mesh topology (i.e., if the 3D modeling objects of the dataset are 3D meshes), for example, as done in MeshCNN (as described in, for example, the following document: R. Hanock, A. Hertz, N. Fish, R. Giryes, S. Fleishman, D. Cohen-Or, “Meshcnn: A network with an edge”, in SIGGRAPH, 2019, which is incorporated herein by reference). In other words, f wIt is designed to take grid x or its sampled point cloud as input.

[0181] Besides f w In addition, the generator includes a deep feedforward neural network g w The network takes the latent vector h of the shape and a 3D point p as input, and outputs the basis of its deformation at point p.

[0182] To further simplify the notation, let g w (h, X) j j∈{1,...,n} is a vector (for any point cloud or mesh containing m points or vertices) ).therefore, It is the basis for calculation at all points of X.

[0183] In addition, g w The basis vectors in the vector are normalized (i.e., this implementation includes a step of normalizing the basis vectors) such that for all basis vectors u j ,||u j || 2,∞ =1, where ||u i || ∞,2 Defined as This normalization ensures that each vector basis has its maximum 3D amplitude of 1 at every 3D point. Therefore, regardless of the amplitude at different points, the maximum amplitude will always be the same for any basis vector.

[0184] The discriminator is labeled d w′ The function takes a shape as input and outputs the probability that the shape is a real / actual shape or a synthetic shape.

[0185] train

[0186] Learning based on this implementation method involves adversarial training, targeting N inputs x1, ..., x2 for each mini-batch. N Alternately minimizing the two energies E1 and E2, all network d is learned through mini-batch stochastic gradient descent (or any other mini-batch stochastic optimization). w′ f w and g w .

[0187] For each input x in the mini-batch i Learning based on this implementation includes learning about input x. i The deformation within the predicted deformation base span is randomly sampled. In doing so, the sampling is performed on the coefficients of a linear combination. Sampling is performed. Several distributions can be used for sampling. For example, the following distributions can be used:

[0188] - The index of the non-zero coefficient p is sampled using a Bernoulli distribution on each index;

[0189] - For each non-zero coefficient, its sign is sampled using another Bernoulli distribution;

[0190] - For each non-zero coefficient, its amplitude is sampled using a central Gaussian distribution.

[0191] Therefore, the resulting deformed shape is:

[0192]

[0193] The shape y i It can be called a "synthetic shape" because it has already been generated by the generator.

[0194] For each mini-batch, learning based on this implementation minimizes the following two losses:

[0195] - Discriminator / Discrimination Loss:

[0196]

[0197] - Generator / Generation Loss:

[0198]

[0199] Minimization can minimize E1 for several mini-batches before minimizing E2; that is, strict alternation between the two minimizations is not mandatory. Any techniques specifically designed to improve GAN training can be used, such as those discussed in the following document: T. Salimans, I. Goodfellow, W. Zaremba, V. Cheung, A. Radford, X. Chen, “Improved Techniques for Training GANs”, NeurIPS, 2016. For example, the logarithm can be varied using least squares to make the discriminator's gradient stronger. The batch size can be normalized.

[0200] D CH (x, y) is the beveled 3D distance, measured between two point clouds:

[0201]

[0202] Maximizing the chamfer distance between the source and the deformed shape ensures that the deformed shape is different from the input, and thus helps prevent any generator crashes.

[0203] item This is a sparse loss function, described in the following document: J. Mairal, F. Bach, J. Ponce, “Sparse Modeling for Image and Vision Processing”, New Foundations and Trends, 2014, which is incorporated herein by reference. It is a term that forces deformations to be located on parts of an object in a completely unsupervised manner, even without knowing the object's structure. In fact, it forces the amplitude of each deformation to be sparse. It seems reasonable that the most efficient way for the generator to learn sparse deformations is to locate the deformations on parts of the object, because sparse deformations cannot involve too many vertices, and deformations that only move some, but not all, vertices of a part may not be practical.

[0204] An independent term is any term that prevents redundancy in the transformation. This term can be an orthogonality loss, such as...

[0205] ||g w (f w (x i ), x i )g w (f w (x i ), x i ) T -Id n×n ||2

[0206] Alternatively, this term can enforce that each deformation is orthogonal to each other at every point (note that such a constraint mathematically stipulates that the base of no more than 3 deformation vectors at each point can be non-zero), for example, by being of the following type:

[0207]

[0208] The generator loss can also include any other regularization term, such as the Laplacian operator loss, to force the Laplacian operator coordinates to be conserved over the deformed shape, as discussed in the following document: W. Wang, D. Ceylan, R. Mech, U. Neumann, “3dn: 3d deformation network”, at the conference on Computer Vision and Pattern Recognition (CVPR), 2019.

[0209] refer to Figures 2 to 13 We will now discuss examples of deformations that can be obtained using a deformation base learned from a generative neural network according to the previously discussed implementation. In these examples, the training dataset exists in a 3D point cloud dataset obtained from the ShapeNetCore.V2 dataset.

[0210] Figure 2 The input 3D modeling object representing the chair is shown. Figure 3 Show Figure 2 The chair's deformation. The deformation corresponds to the deformation basis generated by the generative neural network when applied... Figure 2 A single vector when the chair is in use. Figure 3 The deformation shown only affects the armrests of the chair, indicating that it is positioned on the armrests.

[0211] Figure 4 The input 3D modeling object representing the chair is shown. Figure 5 Show Figure 4 The chair's deformation. The deformation corresponds to the deformation basis generated by the generative neural network when applied... Figure 4 A single vector when the chair is in use. Figure 5 The deformation shown only deforms the chair back, indicating that it is positioned on the backrest.

[0212] Figure 6 The input 3D modeling object representing the sofa is shown. Figure 7 Show Figure 6 The sofa's deformation. The deformation corresponds to the deformation basis generated by the generative neural network when applied... Figure 6 A single vector when the sofa is in use. Figure 7 The deformation shown only deforms the side of the sofa, indicating that it is positioned on the side.

[0213] Figure 8 The input 3D modeling object representing the sofa is shown. Figure 9 Show Figure 8 The sofa's deformation. The deformation corresponds to the deformation basis generated by the generative neural network when applied... Figure 8 A single vector when the sofa is in use. Figure 9 The deformation shown only affects the back of the sofa, indicating that it is positioned at the back.

[0214] Figure 10 The input 3D modeling object representing the aircraft is shown. Figure 11 Show Figure 10 The deformation of the aircraft. The deformation corresponds to the deformation basis generated by the generative neural network when applied... Figure 10 A single vector in a plane. Figure 11The deformation shown only affects the aircraft's wings and the engines attached to them, indicating that it is positioned on the wings.

[0215] Figure 12 The input 3D modeling object representing the aircraft is shown. Figure 13 Show Figure 12 The deformation of the aircraft. The deformation corresponds to the deformation basis generated by the generative neural network when applied... Figure 12 A single vector in a plane. Figure 13 The deformation shown only affects the aircraft's wings and the engines attached to them, indicating that it is positioned on the wings.

[0216] It also provides generative neural networks that can learn according to learning methods, such as generative neural networks that have already been learned by learning methods. Generative neural networks form a computer-implemented data structure with layers of neurons having weights (also called parameters), the values ​​of which can be set (e.g., have already been set) by learning according to the learning method.

[0217] It also provides methods for using a computer-implemented generative neural network. These methods include applying the generative neural network to an input 3D modeling object to generate a deformation basis for the input 3D modeling object.

[0218] The method can be used for 3D editing, also known as shape compositing. In such cases, the method involves applying a generative neural network to one or more of the respective input 3D modeled objects to obtain respective deformation bases for the input objects. For each respective deformation base, the method includes forming a linear combination of deformation bases to produce a linear deformation of the input 3D modeled object.

[0219] In the example of usage methods for 3D editing, the usage methods include:

[0220] - Provides the first 3D modeling object;

[0221] - Starting with the first 3D modeled object, perform one or more iterations of the following:

[0222] ○ Apply the generative neural network to a previous deformation of the first 3D modeled object to obtain the deformation basis of the previous deformation;

[0223] ○ A linear combination that forms the basis of deformation, thereby producing the next deformation of the first 3D modeled object.

[0224] In this example, a method is used to perform an iterative linear deformation of a first 3D modeled object, which ultimately produces a nonlinear deformation of the first 3D modeled object into a second 3D modeled object. The method used in this example can be any method used to deform / determine the deformation of a 3D modeled object iteratively using the deformation basis as described above.

[0225] The method can be alternatively used for depth frame reconstruction. Depth frame reconstruction involves providing a 3D mesh and a depth map of another object. The other object is placed close to the provided 3D mesh. Depth frame reconstruction includes applying a generative neural network to the 3D mesh, which produces a deformation basis for the 3D mesh. Depth frame reconstruction uses this deformation basis to deform the provided 3D mesh into the other object represented by the depth map. Depth frame reconstruction then also includes optimizing the deformation basis to fit the depth map; that is, depth frame reconstruction includes optimizing the coefficients of a linear combination of deformation basis vectors such that the 3D mesh is deformed to fit the depth map through a linear combination. The goal of the reconstruction is to obtain a 3D modeled object corresponding to the depth map.

[0226] This method can be used alternatively for shape reconstruction from an image, working in a similar manner to the previously described use for depth frame reconstruction, but with the difference that the depth map is replaced by an image. The above use may need to be modified to better account for the fact that 2D views may be characterized by ambiguity (e.g., due to a lack of 3D information). Additional regularization, as is known per se, may be required.

[0227] Alternatively, shape matching can be used. Shape matching involves providing two closely spaced 3D meshes e1 and e2. Shape matching then involves computing the deformation basis of the first 3D mesh e1 by applying a generative neural network, and optimizing the coefficients of a linear combination of the deformation basis vectors to deform the first 3D mesh e1 such that it matches the second 3D mesh e2. For example, shape matching can compute:

[0228]

[0229] in

[0230]

[0231] Where p1 is the point cloud sampled from e1, and p2 is the point cloud sampled from e2.

[0232] The method can be used alternatively for segmentation. In such cases, the method used includes:

[0233] - Provides 3D modeling objects;

[0234] - Applying a generative neural network to a 3D modeling object produces a deformation basis for the 3D modeling object, which consists of vectors, each representing a local deformation of the 3D modeling object;

[0235] - Determine the local parts of a 3D modeling object by (e.g., automatically) inferring the respective local parts for each vector of the base, by (e.g., automatically) performing the following:

[0236] ○ For each vector, deform the object by multiplying the vector by a unit (i.e., the common amplitude / coefficient for all vectors);

[0237] For each unit deformation, identify the points / vertices of the 3D modeling object that have been deformed beyond a predefined threshold. These identified points form segments of the 3D modeling object.

[0238] Thus, methods (e.g., automatically) are used to segment 3D modeled objects.

[0239] In other words, since the deformation basis vectors are located on parts of the input 3D modeling object as explained above, they can be used to extract the structure of the input 3D modeling object.

[0240] The method can also be used for 3D structure discovery: since each deformation vector forms a deformation that is located on a part of the object, knowledge of the deformation vectors allows for knowledge of local parts of the object (i.e., in cases where they are unknown beforehand), which yields the 3D structure of the object.

[0241] The learning method and the usage method can be performed independently. Alternatively, they can be integrated into the same computer implementation process for 3D object deformation, which integrates the methods, i.e., first includes the learning method and then includes the usage method.

[0242] These methods are implemented by computers. This means that the steps (or essentially all steps) of the method are performed by at least one computer or any similar system. Therefore, the steps of these methods, performed by a computer, may be fully automatic or semi-automatic. In the examples, the triggering of at least some of the steps of the method may be performed through user-computer interaction. The required level of user-computer interaction may depend on the level of automation anticipated and balanced with the need to fulfill the user's wishes. In the examples, this level may be user-defined and / or predefined.

[0243] A typical example of a computer implementation of the method is to utilize a system suitable for this purpose to execute the method. This system may include a processor coupled to memory and a graphical user interface (GUI), on which a computer program containing instructions for executing the method is already recorded. The memory may also store a database. The memory is any hardware suitable for such storage and may comprise several physically distinct parts (e.g., one for the program and another for the database).

[0244] Figure 14 An example of a system is shown, where the system is a client computer system, such as a user's workstation.

[0245] The example client computer includes a central processing unit (CPU) 1010 connected to an internal communication bus 1000 and random access memory (RAM) 1070 also connected to the bus. The client computer is also provided with a graphics processing unit (GPU) 1110 associated with video random access memory 1100 connected to the bus. The video RAM 1100 is also referred to in the art as a frame buffer. A mass storage device controller 1020 manages access to a mass storage device, such as a hard disk drive 1030. Mass storage devices suitable for tangibly representing computer program instructions and data include all forms of non-volatile memory, including, for example: semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROMs 1040. Any of the above may be supplemented or incorporated by a specially designed ASIC (Application-Specific Integrated Circuit). A network adapter 1050 manages access to a network 1060. The client computer may also include a haptic device 1090, such as a cursor control device, a keyboard, etc. A cursor control device is used on the client computer to allow the user to selectively position the cursor at any desired location on the monitor 1080. Furthermore, the cursor control device allows the user to select various commands and input control signals. The cursor control device includes multiple signal generating devices for inputting control signals to the system. Typically, the cursor control device can be a mouse, with mouse buttons used to generate signals. Alternatively or additionally, the client computer system may include a sensitive pad and / or a sensitive screen.

[0246] A computer program may include computer-executable instructions, which include units for causing the system to perform one or more of the methods described above. The program may be recordable on any data storage medium, including the system's memory. The program may be implemented, for example, in digital circuitry or in computer hardware, firmware, software, or a combination thereof. The program may be implemented as an apparatus, such as tangibly embodied in a machine-readable storage device for execution by a programmable processor. The method steps may be executed by a programmable processor executing instructions to perform the function of the method by manipulating input data and generating output. Thus, the processor may be programmable and coupled to receive data and instructions from the data storage system, at least one input device, and at least one output device, and to send data and instructions to the data storage system, at least one input device, and at least one output device. The application program may be implemented in a high-level program or an object-oriented programming language, or, if desired, in assembly language or machine language. In any case, the language may be a compiled or interpreted language. The program may be a complete installation program or update program. In any case, the application of the program on the system results in instructions for performing the method.

Claims

1. A computer-implemented machine learning method, the method comprising: - Provides a dataset of 3D modeled objects for representing real-world objects; as well as - A generative neural network is learned based on the dataset, the generative neural network being configured to generate deformable bases for the input 3D modeled object, the learning including adversarial training. The method further includes training a discriminative neural network by minimizing a discriminative loss, the discriminative neural network being configured to determine whether a 3D modeled object generated from a linear combination of deformable bases generated by the generative neural network is real or synthetic. The learning process of the generative neural network includes minimizing the generation loss, and the method alternates between minimizing the generation loss and minimizing the discrimination loss. The generative loss includes a term that rewards the linear combination of the deformable bases generated by the generative neural network for deceiving the discriminative neural network. The generation loss also includes a term for reporting the difference between the linear deformation of the input 3D modeled object and the deformation basis generated by the generative neural network across the input 3D modeled object. The generation loss further includes a sparse term for rewarding the deformable basis generated by the generative neural network, and The generation loss is of the following type: in: - It is the discriminative neural network; - These are small batches of 3D modeling objects that form the dataset. This refers to the number of objects in the mini-batch; - It is the generative neural network in the object The deformed base generated therein, It is the number of vectors of the fundamental deformation. yes The point or vertex; - It is the number of points or vertices of each 3D modeling object in the mini-batch; - It is the generative neural network in the object The deformed foundation generated at the location spans The linear deformation; - It is the chamfer distance; and - and is the parameter of the generated loss.

2. The method according to claim 1, wherein, The learning process of the generative neural network includes: training the generative neural network to deceive the discriminative neural network.

3. The method according to claim 1, wherein, The minimization of the discriminative loss is based on a random linear combination of deformable bases generated by the generative neural network.

4. The method according to claim 3, wherein, The learning is performed in mini-batches, and for each mini-batch, the learning includes: for each 3D modeling object in the mini-batch, generating a random linear combination of the deformation basis of the 3D modeling object generated by the generative neural network by randomly sampling the coefficients of the linear combination.

5. The method according to claim 4, wherein, The random sampling includes: random sampling of a plurality of non-zero coefficients, and / or, for each non-zero coefficient, random sampling of the coefficient values ​​according to a quasi-bounded probability distribution.

6. A computer-implemented method of using a generative neural network learned according to any one of claims 1 to 5.

7. A computer program product comprising instructions for performing the method according to any one of claims 1 to 5 and / or the method according to claim 6.

8. A computer device, comprising: A data storage medium having instructions recorded thereon for performing the method according to any one of claims 1 to 5 and / or the method according to claim 6.

9. The computer device according to claim 8, further comprising: A processor coupled to the data storage medium.

Citation Information

Patent Citations

  • Reconstructing A 3D Modeled Object

    US20170193699A1

  • Set of neural networks

    US20200210814A1