IP Library Granted Patent US 11,580,376
Granted Patent B2
US 11,580,376 · App. 16/002,649 · Granted Feb 14, 2023

Electronic apparatus and method for optimizing trained model

Inventors: Sungju Hwang (Daejeon, KR); Gunhee Kim (Seoul, KR); Juyong Kim (Jinju-si, KR); Yookoon Park (Seoul, KR)
Assignee: Korea Advanced Institute of Science and Technology
G06N3/08G06F17/16G06K9/627G06K9/6262G06K9/6271G06N3/0454G06N3/0472G06N3/063G06V30/194
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,580,376
App. No.
16/002,649
Granted
Feb 14, 2023
Kind
B2
Abstract

An electronic apparatus is provided. The electronic apparatus includes: a memory storing a trained model including a plurality of layers; and a processor initializing a parameter matrix and a plurality of split variables of a trained model, calculating a new parameter matrix having a block-diagonal matrix for the plurality of split variables and the trained model to minimize a loss function for the trained model, a weight decay regularization term, and an objective function including a split regularization term defined by the parameter matrix and the plurality of split variables, vertically splitting the plurality of layers according to the group based on the computed split parameters and reconstruct the trained model using the computed new parameter matrix as parameters of the vertically split layers.

Claims (32)

1. A method for optimizing a trained model, the method comprising:

initializing a parameter matrix and a plurality of split variables of a trained model configured of a plurality of layers;

calculating a new parameter matrix having a block-diagonal matrix for the plurality of split variables and the trained model to minimize a loss function for the trained model, a weight decay regularization term, and an objective function including a split regularization term defined by the parameter matrix and the plurality of split variables;

vertically splitting the plurality of layers according to a group based on computed split parameters; and

reconstructing the trained model using the calculated new parameter matrix as parameters of the vertically split layers,

wherein the split regularization term comprises a group weight regularization term that suppresses an inter-group connection and activates only an intra-group connection, a disjoint group assignment that makes each group be orthogonal to each other, and a balanced group assignment that regularizes against a difference between a size of one group and a size of another group.

2. The method as claimed in claim 1 , wherein in the initializing, the parameter matrix is initialized randomly and the plurality of split variables are initialized not to be uniform to each other.

3. The method as claimed in claim 1 , wherein in the computing, a stochastic gradient descent method is used so that the objective function is minimized.

4. The method as claimed in claim 1 , further comprising:

computing a second-order new parameter matrix for the reconstructed trained model to minimize the loss function for the trained model and a second objective function including only the weight decay regularization term, and

optimizing the trained model using the computed second-order new parameter matrix as parameters of the vertically split layers.

5. The method as claimed in claim 4 , further comprising:

parallelizing each of the vertically split layers within the optimized trained model using different processors.

6. An electronic apparatus comprising:

a memory configured to store a trained model configured of a plurality of layers; and

a processor configured to:

initialize a parameter matrix and a plurality of split variables of a trained model,

calculate a new parameter matrix having a block-diagonal matrix for the plurality of split variables and the trained model to minimize a loss function for the trained model, a weight decay regularization term, and an objective function including a split regularization term defined by the parameter matrix and the plurality of split variables,

vertically split the plurality of layers according to a group based on a computed split parameters, and

reconstruct the trained model using the calculated new parameter matrix as parameters of the vertically split layers,

wherein the split regularization term comprises a group weight regularization term that suppresses an inter-group connection and activates only an intra-group connection, a disjoint group assignment that makes each group be orthogonal to each other, and a balanced group assignment that regularizes against a difference between a size of one group and a size of another group.

7. The electronic apparatus as claimed in claim 6 , wherein the processor is further configured to randomly initialize the parameter matrix and initializes the plurality of split variables not to be uniform to each other.

8. The electronic apparatus as claimed in claim 6 , wherein the processor is further configured to use a stochastic gradient descent method to minimize the objective function.

9. The electronic apparatus as claimed in claim 6 , wherein the processor is further configured to:

compute the second-order new parameter matrix for the reconstructed trained model to minimize the loss function for the trained model and a second objective function including only the weight decay regularization, and

optimize the trained model using the computed second-order new parameter matrix as parameters of the vertically split layers.

10. A non-transitory computer readable recording medium including a program for executing a method for optimizing a trained model in an electronic apparatus, wherein the method for optimizing a trained model includes:

initializing a parameter matrix and a plurality of split variables of a trained model including a plurality of layers;

calculating a new parameter matrix having a block-diagonal matrix for the plurality of split variables and the trained model to minimize a loss function for the trained model, a weight decay regularization term, and an objective function including a split regularization term defined by the parameter matrix and the plurality of split variables;

vertically splitting the plurality of layers according to a group based on computed split parameters; and

reconstructing the trained model using the calculated new parameter matrix as parameters of the vertically split layers,

wherein the split regularization term comprises a group weight regularization term that suppresses an inter-group connection and activates only an intra-group connection, a disjoint group assignment that makes each group be orthogonal to each other, and a balanced group assignment that regularizes against a difference between a size of one group and a size of another group.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 7, 2018
From: HWANG, SUNGJU; KIM, GUNHEE; KIM, JUYONG; PARK, YOOKOON
To: KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY
Reel/Frame 046017/0882 →
Priority Claims (1)
KR 10-2018-0010938 · Jan 29, 2018 · national
Continuity (2)
Provisional Application 62517442 · Jun 9, 2017
Related Publication 20180357540A1 · Dec 13, 2018
Cited By (3)
US 12,204,954 US 12,625,745 US 12,705,112