# US 2022/0292352 A1 · Machine-learning for 3d segmentation

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

- Number: US 2022/0292352 A1
- Document ID: US20220292352A1
- Status: Published application
- Kind: A1
- Application number: 17/691,703
- Filed: 2022-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: Dassault Systemes
- Applicants: Dassault Systemes
- Inventors: Ariane JOURDAN; Eloi MEHR
- Web page: https://patentgrep.com/patent/US20220292352A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06T 7/11: Region-based segmentation
- G06T 7/162: involving graph-based methods
- G06T 9/002: {using neural networks}
- G06T 17/00: Three-dimensional [3D] modelling for computer graphics
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06N 20/00: Machine learning
- G06T 2200/04: involving 3D image data
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30164: Workpiece; Machine component
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A computer-implemented method of machine-learning including obtaining a dataset of training samples. Each training sample includes a pair of 3D modeled object portions labelled with a respective value. The respective value indicates whether or not the two portions belong to a same segment of a 3D modeled object. The method further includes learning a neural network based on the dataset. The neural network takes as input two portions of a 3D modeled object representing a mechanical part and outputs a respective value. The respective value indicates an extent to which the two portions belong to a same segment of the 3D modeled object. The neural network is thereby usable for 3D segmentation. The method constitutes an improved solution for 3D segmentation.

## Claims

### Claim 1

A computer-implemented method of machine-learning, the method comprising:
obtaining a dataset of training samples each including a pair of 3D modeled object portions labelled with a respective value that indicates whether or not two portions belong to a same segment of a 3D modeled object; and
learning a neural network based on the dataset, the neural network being configured to
take as input two portions of a 3D modeled object representing a mechanical part, and
output a respective value that indicates an extent to which the two portions belong to a same segment of the 3D modeled object, the neural network being thereby usable for 3D segmentation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the neural network includes:
an encoding neural network configured to take as input a portion of a 3D modeled object and to encode the portion into a latent vector, and
a predictive neural network configured to take as input a pair of latent vectors outputted by the encoding neural network and to output a respective value that indicates an extent to which the two portions encoded by the latent vectors belong to a same segment of the 3D modeled object.

### Claim 3 (depends on 2)

The method of claim 2, wherein the encoding neural network is configured to take as input a portion of a 3D modeled object and neighboring portions of the input portion.

### Claim 4 (depends on 1)

The method of claim 1, wherein the learning of the neural network includes minimizing a loss comprising a term penalizing, for pairs of the dataset, a disparity between a respective value that indicates whether or not the two portions of a pair belong to a same segment of a 3D modeled object and a second respective value output by the neural network for the two portions.

### Claim 5 (depends on 4)

The method of claim 4, wherein the neural network transforms the input two portions each into a corresponding intermediary feature, and the loss further includes another term penalizing, for said pairs of the dataset, a disparity between the respective value that indicates whether or not the two portions of a pair belong to a same segment of a 3D modeled object and a proximity between the intermediary features corresponding to the two portions.

### Claim 6 (depends on 5)

The method of claim 5, wherein the term is of a type:
∑
i
=
1
N
d
CE
(
g
w
(
f
w
(
X
i
(
1
)
)
,
f
w
(
X
i
(
2
)
)
)
,
p
i
)
,
where ((X1(1), X2(2)), . . . , (XN(1), XN(2))) are pairs of the dataset, gw (fw(Xi(1)), fw(Xi(2))) is the respective value outputted by the neural network for the pair (Xi(1), Xi(2)), gw∘fw is the neural network, pi is the respective value that indicates whether or not portions Xi(1) and Xi(2) belong to a same segment of a 3D modeled object, and dCE is a loss penalizing a disparity between gw(fw(Xi(1)), fw(Xi(2))) and pi,
and the other term is of the type:
∑
i
=
1
N
d
M
(
f
w
(
X
i
(
1
)
)
,
f
w
(
X
i
(
2
)
)
,
p
i
)
,
where, fw(Xi(1)) and fw(Xi(2)) are the intermediary features corresponding to portions Xi(1) and Xi(2) of the pair (Xi(1), Xi(2)), and dM is a loss penalizing a disparity between pi and a proximity between fw(Xi(1)) and fw(Xi(2)).

### Claim 7 (depends on 1)

The method of claim 1, wherein the obtaining of the dataset includes:
obtaining an initial dataset of segmented 3D modeled objects; and
for each segmented 3D modeled object of the initial dataset, generating pairs of portions of the segmented 3D modeled object, the portions of a pair belonging either to a same segment of the segmented 3D modeled object or to different segments, each pair including a respective value that indicates whether or not the two portions belong to a same segment of a 3D modeled object.

### Claim 8 (depends on 7)

The method of claim 7, wherein for one or more segmented 3D modeled objects of the initial dataset, the generating of the pairs includes generating pairs of portions for which at least one portion does not belong entirely to a single segment.

### Claim 9 (depends on 7)

The method of claim 7, wherein the obtaining of the dataset further includes creating mini-batches of pairs, the learning being carried out mini-batch by mini-batch.

### Claim 10

A computer-implemented method of machine-learning for learning a neural network, the method comprising:
obtaining a dataset of training samples each including a pair of 3D modeled object portions labelled with a respective value that indicates whether or not two portions belong to a same segment of a 3D modeled object; and
learning the neural network based on the dataset, the neural network being configured to take as input two portions of a 3D modeled object representing a mechanical part and to output a respective value that indicates an extent to which the two portions belong to a same segment of the 3D modeled object, the neural network being thereby usable for 3D segmentation,
wherein the 3D segmentation comprises:
obtaining a 3D modeled object representing the mechanical part,
applying the neural network to pairs of portions of the 3D modeled object, thereby outputting a set of values, each for a respective pair of portions of the 3D modeled object, each indicating an extent to which the two portions belong to a same segment of the 3D modeled object, and
performing a segmentation of the 3D modeled object based on a set of one or more similarity indicators between neighboring portions of the 3D modeled object, the set of similarity indicators including the set of values.

### Claim 11 (depends on 10)

The method of use of claim 10, wherein the performing of the segmentation further comprises:
performing a network-based segmentation of the 3D modeled object based on the set of values and then another segmentation of the 3D modeled object based on at least one other similarity indicator, or performing said another segmentation and then the network-based segmentation, or
performing the segmentation of the 3D modeled object based only on the set of values, or
performing the segmentation of the 3D modeled object based on the set of values combined with at least one other similarity indicator.

### Claim 12

A device comprising:
a processor; and
a computer-readable data storage medium having recorded thereon a computer program comprising instructions for machine-learning that when executed by the processor causes the processor to be configured to:
obtain a dataset of training samples each including a pair of 3D modeled object portions labelled with a respective value that indicates whether or not two portions belong to a same segment of a 3D modeled object, and
learn a neural network based on the dataset, the neural network being configured to take as input two portions of a 3D modeled object representing a mechanical part and to output a respective value that indicates an extent to which the two portions belong to a same segment of the 3D modeled object, the neural network being thereby usable for 3D segmentation; and/or
implement 3D segmentation by the processor being configured to:
obtain a 3D modeled object representing a mechanical part,
apply the neural network to pairs of portions of the 3D modeled object, thereby outputting a set of values, each for a respective pair of portions of the 3D modeled object, each indicating an extent to which the two portions belong to a same segment of the 3D modeled object, and
perform a segmentation of the 3D modeled object based on a set of one or more similarity indicators between neighboring portions of the 3D modeled object, the set of similarity indicators including the set of values.

### Claim 13 (depends on 12)

The device of claim 12, wherein the neural network includes:
an encoding neural network configured to take as input a portion of a 3D modeled object and for encoding the portion into a latent vector, and
a predictive neural network configured to take as input a pair of latent vectors outputted by the encoding neural network and to output a respective value that indicates an extent to which the two portions encoded by the latent vectors belong to a same segment of the 3D modeled object.

### Claim 14 (depends on 13)

The device of claim 13, wherein the encoding neural network is configured to take as input a portion of a 3D modeled object and neighboring portions of the input portion.

### Claim 15 (depends on 12)

The device of claim 12, wherein the processor is further configured to learn the neural network by being further configured to minimize a loss comprising a term penalizing, for pairs of the dataset, a disparity between the respective value that indicates whether or not the two portions of a pair belong to a same segment of a 3D modeled object and the respective value output by the neural network for the two portions.

### Claim 16 (depends on 15)

The device of claim 15, wherein the neural network transforms the input two portions each into a corresponding intermediary feature, and the loss further includes another term penalizing, for said pairs of the dataset, a disparity between the respective value that indicates whether or not the two portions of a pair belong to a same segment of a 3D modeled object and a proximity between the intermediary features corresponding to the two portions.

### Claim 17 (depends on 16)

The device of claim 16, wherein the term is of a type:
∑
i
=
1
N
d
CE
(
g
w
(
f
w
(
X
i
(
1
)
)
,
f
w
(
X
i
(
2
)
)
)
,
p
i
)
,
where ((X1(1), X2(2)), . . . , (XN(1), XN(2))) are pairs of the dataset, gw (fw(Xi(1)), fw(Xi(2))) is the respective value outputted by the neural network for the pair (Xi(1), Xi(2)), gw∘fw is the neural network, pi is the respective value that indicates whether or not portions Xi(1) and Xi(2) belong to a same segment of a 3D modeled object, and dCE is a loss penalizing a disparity between gw(fw(Xi(1)), fw(Xi(2))) and pi,
and the other term is of the type:
∑
i
=
1
N
d
M
(
f
w
(
X
i
(
1
)
)
,
f
w
(
X
i
(
2
)
)
,
p
i
)
,
where, fw(Xi(1)) and fw(Xi(2)) are the intermediary features corresponding to portions Xi(1) and Xi(2) of the pair (Xi(1), Xi(2)), and dM is a loss penalizing a disparity between pi and a proximity between fw(Xi(1)) and fw(Xi(2)).

### Claim 18 (depends on 12)

The device of claim 12, wherein the processor is further configured to obtain the dataset by being further configured to:
obtain an initial dataset of segmented 3D modeled objects, and
for each segmented 3D modeled object of the initial dataset, generate pairs of portions of the segmented 3D modeled object, the portions of a pair belonging either to a same segment of the segmented 3D modeled object or to different segments, each pair including a respective value that indicates whether or not the two portions belong to a same segment of a 3D modeled object.

### Claim 19 (depends on 18)

The device of claim 18, wherein for one or more segmented 3D modeled objects of the initial dataset, the processor is further configured to generate the pairs by being configured to generate pairs of portions for which at least one portion does not belong entirely to a single segment.

### Claim 20 (depends on 18)

The device of claim 18, wherein the processor is further configured to obtain the dataset by being configured to create mini-batches of pairs, the learning being carried out mini-batch by mini-batch.
