# US 12,647,611 B2 · Canonicalized codebook for 3D object generation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,647,611 B2
- Document ID: US12647611B2
- Status: Granted
- Kind: B2
- Application number: 18/413,163
- Filed: 2024-01-16
- Published: 2024-07-25
- Granted: 2026-06-02
- Earliest claimed: 2023-01-25
- Assignees: Dassault Systemes; Ecole Polytechnique; Centre National De La Recherche Scientifique
- Applicants: Dassault Systemes; Ecole Polytechnique; Centre National De La Recherche Scientifique
- Inventors: Mariem Mezghanni; Kawtar Zaher; Malika Boulkenafed; Maks Ovsjanikov
- Web page: https://patentgrep.com/patent/US12647611B2

## CPC

- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- H04N 19/597: specially adapted for multi-view video sequence encoding
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/092: Reinforcement learning
- G06T 17/00: Three-dimensional [3D] modelling for computer graphics
- H04N 19/94: Vector quantisation
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A computer-implemented method of machine-learning. The method includes obtaining a training dataset of 3D models of real-world objects. The method further includes learning, based on the training dataset and on a patch-decomposition of the 3D models of the training dataset, a finite codebook of quantized vectors and a neural network. The neural network comprises a rotation-invariant encoder. The rotation-invariant encoder is configured for rotation-invariant encoding of a patch of a 3D model into a quantized latent vector of the codebook. The neural network further includes a decoder. The decoder is configured for decoding a sequence of quantized latent vectors of the codebook into a 3D model. The sequence corresponds to a patch-decomposition. This constitutes an improved solution for 3D model generation.

## Claims

### Claim 1

A computer-implemented method of machine-learning, the method comprising:
obtaining a training dataset of 3D models of real-world objects; and
learning, based on the training dataset and on a patch-decomposition of the 3D models of the training dataset, a finite codebook of quantized vectors and a neural network, the neural network including:
a rotation-invariant encoder configured for rotation-invariant encoding of a patch of a 3D model into a quantized latent vector of the codebook, and
a decoder configured for decoding a sequence of quantized latent vectors of the codebook, the sequence corresponding to a patch-decomposition, into a 3D model.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the encoder is translation-invariant and rotation-invariant and is configured for translation-invariant and rotation-invariant encoding of a patch of a 3D model of the training dataset into a quantized latent vector of the codebook.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the decoder includes:
a first module configured for taking as input a sequence of quantized latent vectors of the codebook corresponding to a patch-decomposition and inferring patches rotations for reconstructing a 3D model; and
a second module configured for taking as input the sequence of quantized latent vectors of the codebook corresponding to the patch-decomposition and inferring patches geometries for reconstructing a 3D model.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the learning further comprises minimizing a loss, the loss including a reconstruction loss and a commitment loss, the commitment loss rewarding consistency between quantized latent vectors outputted by the encoder and vectors of the codebook.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the loss is of a type:
ℒ
⁡
(
x
;
ϕ
,
ψ
,
D
)
=
ℒ
r
(
o
x
,
σ
x
)
+
βℒ
V
⁢
Q
(
Z
,
Z
q
)
where r is a reconstruction binary cross-entropy loss, VQ is a commitment loss, x represents a 3D point, ψ represents a parameter of the decoder, β is a weighting parameter, represents a ground truth occupancy for x, ox represents a predicted occupancy for x, φ represents the parameter of the encoder, and where
ℒ
V
⁢
Q
(
Z
,
Z
q
)
=

Z
-
s
⁢
g
[
Z
q
]

2
2
where sg[.] denotes a stop-gradient operation,
Z
=
{
z
i
}
i
,
Z
q
=
{
z
i
q
}
i
,
where zi is a non-quantized encoding of patch Xi and where
V
⁢
Q
⁡
(
z
i
)
=
z
i
q
=
arg
min
e
∈
D

z
i
-
e

where D={ek∈RD}; k=1 . . . K is the codebook.

### Claim 6

A computer-implemented method of applying a decoder and a codebook learnable according to a machine-learning including obtaining a training dataset of 3D models of real-world objects and learning, based on the training dataset and on a patch-decomposition of the 3D models of the training dataset, a finite codebook of quantized vectors and a neural network, the neural network including: a rotation-invariant encoder configured for rotation-invariant encoding of a patch of a 3D model into a quantized latent vector of the codebook, and a decoder configured for decoding a sequence of quantized latent vectors of the codebook, the sequence corresponding to a patch-decomposition, into a 3D model, the method comprising:
obtaining a sequence of quantized latent vectors of the codebook; and
applying the decoder to the sequence.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein obtaining the sequence further comprises:
applying a transformer neural network to obtain the sequence, the transformer neural network being configured for, given an input latent vector representing an input 3D model, generating a sequence of quantized latent vectors of the codebook that correspond to a patch-decomposition of the input 3D model.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the latent vector representing the input 3D model corresponds to an embedding of an image or point cloud representing the input 3D model.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the image is a single-view image or the point cloud is a partial point cloud.

### Claim 10 (depends on 6)

The computer-implemented method of claim 6, wherein obtaining the sequence further comprises applying the encoder to a patch-decomposition of an input 3D model.

### Claim 11 (depends on 6)

The computer-implemented method of claim 6, further comprising learning a transformer neural network.

### Claim 12

A device comprising:
a non-transitory computer-readable data storage medium having recorded thereon a computer program having instructions for
performing machine-learning that when executed by a processor causes the processor to be configured to:
obtain a training dataset of 3D models of real-world objects, and
learn, based on the training dataset and on a patch-decomposition of the 3D models of the training dataset, a finite codebook of quantized vectors and a neural network, the neural network including: a rotation-invariant encoder configured for rotation-invariant encoding of a patch of a 3D model into a quantized latent vector of the codebook, and a decoder configured for decoding a sequence of quantized latent vectors of the codebook, the sequence corresponding to a patch-decomposition, into a 3D model, and/or
applying a decoder and a codebook learnable according to the machine-learning that when executed by the processor causes the processor to be configured to:
obtain a sequence of quantized latent vectors of the codebook, and
apply the decoder to the sequence.

### Claim 13 (depends on 12)

The device of claim 12, wherein the encoder is translation-invariant and rotation-invariant and is configured for translation-invariant and rotation-invariant encoding of a patch of a 3D model of the training dataset into a quantized latent vector of the codebook.

### Claim 14 (depends on 13)

The device of claim 13, wherein the processor coupled to the data storage medium.

### Claim 15 (depends on 12)

The device of claim 12, wherein the decoder includes:
a first module configured for taking as input a sequence of quantized latent vectors of the codebook corresponding to a patch-decomposition and inferring patches rotations for reconstructing a 3D model; and
a second module configured for taking as input the sequence of quantized latent vectors of the codebook corresponding to the patch-decomposition and inferring patches geometries for reconstructing a 3D model.

### Claim 16 (depends on 15)

The device of claim 15, wherein the processor coupled to the data storage medium.

### Claim 17 (depends on 12)

The device of claim 12, wherein the processor is further configured to learn by being configured to minimize a loss, the loss including a reconstruction loss and a commitment loss, the commitment loss rewarding consistency between quantized latent vectors outputted by the encoder and vectors of the codebook.

### Claim 18 (depends on 17)

The device of claim 17, wherein the loss is of a type:
ℒ
⁡
(
x
;
ϕ
,
ψ
,
D
)
=
ℒ
r
(
0
x
,
σ
x
)
+
βℒ
V
⁢
Q
(
Z
,
Z
q
)
where r is a reconstruction binary cross-entropy loss, VQ is a commitment loss, x represents a 3D point, ψ represents a parameter of the decoder, β is a weighting parameter, represents a ground truth occupancy for x, ox represents a predicted occupancy for x, φ represents a parameter of the encoder, and where
ℒ
V
⁢
Q
(
Z
,
Z
q
)
=

Z
-
s
⁢
g
[
Z
q
]

2
2
where sg[.] denotes a stop-gradient operation,
Z
=
{
z
i
}
i
,
Z
q
=
{
z
i
q
}
i
,
where zi is a non-quantized encoding of patch Xi and where
VQ
⁡
(
z
i
)
=
z
i
q
=
arg
min
e
∈
D

z
i
-
e

where D={ek∈RD}; k=1 . . . K is the codebook.

### Claim 19 (depends on 12)

The device of claim 12, wherein the processor is further configured to obtain the sequence by being further configured to:
apply a transformer neural network to obtain the sequence, the transformer neural network being configured for, given an input latent vector representing an input 3D model, generating a sequence of quantized latent vectors of the codebook that correspond to a patch-decomposition of the input 3D model.

### Claim 20 (depends on 12)

The device of claim 12, wherein the processor coupled to the data storage medium.
