# US 2026/0100027 A1 · Method and apparatus for training an object recognition model

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

- Number: US 2026/0100027 A1
- Document ID: US20260100027A1
- Status: Published application
- Kind: A1
- Application number: 19/228,098
- Filed: 2025-06-04
- Published: 2026-04-09
- Earliest claimed: 2024-10-08
- Assignees: Hyundai Motor Company; Kia Corporation
- Applicants: Hyundai Motor Company; Kia Corporation
- Inventors: Young Hyun Kim
- Web page: https://patentgrep.com/patent/US20260100027A1

## CPC

- G06V 10/778: Active pattern-learning, e.g. online learning of image or video features
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method for training an object recognition model includes receiving training data. The method also includes training the object recognition model using a loss function that includes a first loss function for a class score of an object and a first weight function for reflecting confidence for the class score of the object and the training data.

## Claims

### Claim 1

A method for training an object recognition model, the method comprising:
receiving training data; and
training the object recognition model using a loss function that includes a first loss function for a class score of an object and a first weight function for reflecting confidence for the class score of the object and the training data.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first weight function is configured to:
increase a loss value of the loss function based on a determination that the class score of the object according to the first loss function is a uniform distribution; and
decrease the loss value of the loss function based on a determination that a wrong class for the object satisfies a predetermined probability criterion.

### Claim 3 (depends on 2)

The method of claim 2, wherein the loss function includes a sum of the first loss function and the first weight function.

### Claim 4 (depends on 3)

The method of claim 3, wherein the first weight function is represented as (1+Lse)·(1-Lcer), wherein
L
se
=
-
∑
i
=
1
n
(
P
i
·
log
2
⁢
P
i
)
L
cer
=
∑
i
=
1
n
(
w
i
·
P
i
)
,
w
i
=
{
1
,
i
=
C
gt
0
,
else
and wherein
Pi is an output value of the object recognition model for all classes of a target object,
wi is a predetermined weight, and
Cgt is a ground-truth class.

### Claim 5 (depends on 1)

The method of claim 1, wherein the loss function further includes a second loss function for a three-dimensional (3D) location of the object and a second weight function for reflecting confidence for the 3D location of the object.

### Claim 6 (depends on 5)

The method of claim 5, wherein the loss function includes a sum of the second weight function and the second loss function represented by (Luc_xz+Luc_vl+Luc_a)|, wherein
L
uc
⁢
_
⁢
xz
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
x
)
⁢
g
⁡
(
x
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
-
log
⁢
(
N
⁡
(
D
p
⁡
(
z
)
⁢
g
⁡
(
z
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
L
uc
⁢
_
⁢
vl
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
l
)
⁢
g
⁡
(
l
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
,
L
uc
⁢
_
⁢
a
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
a
)
⁢
g
⁡
(
a
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
D
pg
=
1
1
+
exp
⁢
(
-
(
p
-
g
)
)
U
=
(
(
1
+
L
se
)
·
(
1
-
L
cer
)
)
L
se
=
-
∑
i
=
1
n
(
P
i
·
log
2
⁢
P
i
)
L
cer
=
∑
i
=
1
n
(
w
i
·
P
i
)
,
w
i
=
{
1
,
i
=
C
gt
0
,
else
N
max
=
max
⁡
(
1
,
N
⁡
(
D
pg
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
)
wherein
Pi is an output value of the object recognition model for all classes of a target object,
wi is a predetermined weight,
Cgt is a ground-truth class,
p (x) and p (z) are an estimated x-coordinate value and an estimated z-coordinate value of the object, respectively,
g (x) and g (z) are a ground-truth x-coordinate value and a ground-truth z-coordinate value of the object, respectively,
p (l) and p (a) are an estimated volume value and an estimated heading angle of the object, respectively, and
g(l) and g (a) refer to a ground-truth volume value and a ground-truth heading angle of the object, respectively.

### Claim 7

An object recognition method comprising:
receiving an input image; and
recognizing at least one object included in the input image using an object recognition model trained by a loss function that includes a first loss function for a class score of an object and a first weight function for reflecting confidence for the class score of the object.

### Claim 8 (depends on 7)

The object recognition method of claim 7, wherein the first weight function is configured to:
increase a loss value of the loss function based on a determination that the class score of the object by the first loss function is a uniform distribution; and
decrease the loss value of the loss function based on a determination that a class that is wrong for the object satisfies a predetermined probability criterion.

### Claim 9 (depends on 8)

The object recognition method of claim 8, wherein the first weight function is represented as (1+Lse)·(1-Lcer), wherein
L
se
=
-
∑
i
=
1
n
(
P
i
·
log
2
⁢
P
i
)
L
cer
=
∑
i
=
1
n
(
w
i
·
P
i
)
,
w
i
=
{
1
,
i
=
C
gt
0
,
else
and wherein
Pi is an output value of the object recognition model for all classes of a target object,
wi is a predetermined weight, and
Cgt is a ground-truth class.

### Claim 10 (depends on 7)

The object recognition method of claim 7, wherein the loss function further includes a second loss function for a 3D location of the object and a second weight function for reflecting confidence for the 3D location of the object.

### Claim 11 (depends on 10)

The object recognition method of claim 10, wherein the loss function includes a sum of second weight function and the second loss function represented as (Luc_xz+Luc_vl+Luc_a), wherein
L
uc
⁢
_
⁢
xz
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
x
)
⁢
g
⁡
(
x
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
-
log
⁢
(
N
⁡
(
D
p
⁡
(
z
)
⁢
g
⁡
(
z
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
L
uc
⁢
_
⁢
vl
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
l
)
⁢
g
⁡
(
l
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
,
L
uc
⁢
_
⁢
a
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
a
)
⁢
g
⁡
(
a
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
D
pg
=
1
1
+
exp
⁢
(
-
(
p
-
g
)
)
U
=
(
(
1
+
L
se
)
·
(
1
-
L
cer
)
)
L
se
=
-
∑
i
=
1
n
(
P
i
·
log
2
⁢
P
i
)
L
cer
=
∑
i
=
1
n
(
w
i
·
P
i
)
,
w
i
=
{
1
,
i
=
C
gt
0
,
else
N
max
=
max
⁡
(
1
,
N
⁡
(
D
pg
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
)
and wherein
Pi is an output value of the object recognition model for all classes of a target object,
wi is a predetermined weight,
Cgt is a ground-truth class,
p (x) and p (z) are an estimated x-coordinate value and an estimated z-coordinate value of the object, respectively,
g (x) and g (z) are a ground-truth x-coordinate value and a ground-truth z-coordinate value of the object, respectively,
p (l) and p (a) are an estimated volume value and an estimated heading angle of the object, respectively,
and g(l) and g (a) are a ground-truth volume value and a ground-truth heading angle of the object, respectively.

### Claim 12

An apparatus for training an object recognition model, the apparatus comprising:
a memory storing computer-readable instructions; and
at least one processor coupled to the memory and configured to execute the computer-readable instructions,
wherein the at least one processor is configured to
receive training data, and
train the object recognition model using a loss function that includes a first loss function for a class score of an object and a first weight function for reflecting confidence for the class score of the object and the training data.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the first weight function is configured to:
increase a loss value of the loss function based on a determination that the class score of the object by the first loss function is a uniform distribution; and
decrease the loss value of the loss function based on a determination that a class wrong for the object satisfies a predetermined probability criterion.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the loss function includes a sum of the first loss function and the first weight function.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the first weight function is represented as (1+Lse)·(1-Lcer), wherein,
L
se
=
-
∑
i
=
1
n
(
P
i
·
log
2
⁢
P
i
)
L
cer
=
∑
i
=
1
n
(
w
i
·
P
i
)
,
w
i
=
{
1
,
i
=
C
gt
0
,
else
and wherein
Pi is an output value of the object recognition model for all classes of a target object,
wi is a predetermined weight, and
Cgt is a ground-truth class.

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein the loss function further includes a second loss function for a 3D location of the object and a second weight function for reflecting confidence for the 3D location of the object.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the loss function includes a sum of the second weight function and the second loss function represented as (Luc_xz+Luc_vl+Luc_a), wherein
L
uc
⁢
_
⁢
xz
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
x
)
⁢
g
⁡
(
x
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
-
log
⁢
(
N
⁡
(
D
p
⁡
(
z
)
⁢
g
⁡
(
z
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
L
uc
⁢
_
⁢
vl
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
l
)
⁢
g
⁡
(
l
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
,
L
uc
⁢
_
⁢
a
=
-
log
⁢
(
N
⁡
(
D
p
⁡
(
a
)
⁢
g
⁡
(
a
)
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
N
max
)
D
pg
=
1
1
+
exp
⁢
(
-
(
p
-
g
)
)
U
=
(
(
1
+
L
se
)
·
(
1
-
L
cer
)
)
L
se
=
-
∑
i
=
1
n
(
P
i
·
log
2
⁢
P
i
)
L
cer
=
∑
i
=
1
n
(
w
i
·
P
i
)
,
w
i
=
{
1
,
i
=
C
gt
0
,
else
N
max
=
max
⁡
(
1
,
N
⁡
(
D
pg
⁢
❘
"\[LeftBracketingBar]"
0.5
,
U
)
)
and wherein
Pi is an output value of the object recognition model for all classes of a target object,
wi is a predetermined weight,
Cgt is a ground-truth class,
p (x) and p (z) are an estimated x-coordinate value and an estimated z-coordinate value of the object, respectively,
g (x) and g (z) are a ground-truth x-coordinate value and a ground-truth z-coordinate value of the object, respectively,
p (l) and p (a) are an estimated volume value and an estimated heading angle of the object, respectively, and
g(l) and g (a) refer to a ground-truth volume value and a ground-truth heading angle of the object, respectively.
