IP Library › Granted Patent US 11,521,038
Granted Patent B2
US 11,521,038 · App. 16/516,387 · Granted Dec 6, 2022

Electronic apparatus and control method thereof

Inventors: Jongryul Lee (Suwon-si, KR); Jaedeok Kim (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
G06N3/02G06F3/048G06F9/5061G06V40/16G10L17/00
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,521,038
App. No.
16/516,387
Granted
Dec 6, 2022
Kind
B2
Abstract

A method for controlling an electronic apparatus includes storing a plurality of artificial intelligence models in a first memory, based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into a second memory, identifying an available memory size of the second memory, and based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, obtaining a first compression artificial intelligence model by compressing the first artificial intelligence model based om the available memory size of the second memory, and loading the first compression artificial intelligence model into the second memory.

Claims (82)

1. A method for controlling an electronic apparatus, the method comprising:

storing a plurality of artificial intelligence models in a first memory;

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into a second memory, identifying an available memory size of the second memory;

based on a size of the first artificial intelligence model being smaller than the available memory size of the second memory, loading the first artificial intelligence model into the second memory;

based on the size of the first artificial intelligence model being larger than the available memory size of the second memory, obtaining a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory;

identifying whether a performance of the first compression artificial intelligence model satisfies a predetermined condition; and

based on the performance of the first compression artificial intelligence model satisfying the predetermined condition, loading the first compression artificial intelligence model into the second memory.

2. The method as claimed in claim 1 , further comprising: based on the performance of the first compression artificial intelligence model not satisfying the predetermined condition, obtaining a second compression artificial intelligence model obtained by compressing the first artificial intelligence model using a different method than the first compression artificial intelligence model, and loading the second compression artificial intelligence model into the second memory.

3. The method as claimed in claim 2 , wherein the performance of the first compression artificial intelligence model is any one or any combination of a processor share rate of the first compression artificial intelligence model, the size of the first compression artificial intelligence model, and an accuracy of the first compression artificial intelligence model.

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

based on a plurality of compression artificial intelligence models obtained by compressing the first artificial intelligence model using a plurality of methods not satisfying the predetermined condition, displaying a message notifying that the predetermined condition is not satisfied.

5. A method for controlling an electronic apparatus, the method comprising:

storing a plurality of artificial intelligence models in a first memory;

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into a second memory, identifying an available memory size of the second memory;

based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, obtaining a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory, and loading the first compression artificial intelligence model into the second memory; and

based on the available memory size of the second memory being changed, obtaining a third compression artificial intelligence model by compressing the first artificial intelligence model based on the changed available memory size, and loading the third compression artificial intelligence model.

6. A method for controlling an electronic apparatus, the method comprising:

storing a plurality of artificial intelligence models in a first memory;

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into a second memory, identifying an available memory size of the second memory;

based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, obtaining a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory, and loading the first compression artificial intelligence model into the second memory; and

based on receiving a control signal for loading a second artificial intelligence model into the second memory, according to the available memory size of the second memory, loading a compression artificial intelligence model for the first artificial intelligence model obtained by compressing the first artificial intelligence model, and a compression artificial intelligence model for the second artificial intelligence model obtained by compressing the second artificial intelligence model.

7. A method for controlling an electronic apparatus, the method comprising:

storing a plurality of artificial intelligence models in a first memory;

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into a second memory, identifying an available memory size of the second memory;

based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, obtaining a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory, and loading the first compression artificial intelligence model into the second memory;

based on a plurality of artificial intelligence models being loaded in the second memory, identifying a number of times of use of the plurality of artificial intelligence models loaded in the second memory, and

based on the identified number of times of use, loading a compression artificial intelligence model for at least one of the plurality of artificial intelligence models.

8. A method for controlling an electronic apparatus, the method comprising:

storing a plurality of artificial intelligence models in a first memory;

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into a second memory, identifying an available memory size of the second memory;

based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, obtaining a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory, and loading the first compression artificial intelligence model into the second memory; and

displaying a user interface (UI) for receiving a performance of at least one of the plurality of artificial intelligence models,

wherein the first compression artificial intelligence model is an artificial intelligence model compressed based on a performance input through the UI.

9. The method as claimed in claim 1 , wherein the storing further comprises storing a plurality of compressed artificial intelligence models for the first artificial intelligence model in the first memory.

10. The method as claimed in claim 1 , wherein the first artificial intelligence model is compressed using any one or any combination of Pruning, Quantization, Decomposition, and Knowledge Distillation.

11. An electronic apparatus, comprising:

a first memory configured to store a plurality of artificial intelligence models;

a second memory configured to load at least one of the plurality of artificial intelligence models stored in the first memory; and

a processor configured to:

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into the second memory, identify an available memory size of the second memory,

based on a size of the first artificial intelligence model being smaller than the available memory size of the second memory, load the first artificial intelligence model into the second memory,

based on the size of the first artificial intelligence model being larger than the available memory size of the second memory, control to obtain a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory,

identify whether a performance of the first compression artificial intelligence model satisfies a predetermined condition, and

based on the performance of the first compression artificial intelligence model satisfying the predetermined condition, load the first compression artificial intelligence model into the second memory.

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

based on the performance of the first compression artificial intelligence model not satisfying the predetermined condition, control to obtain a second compression artificial intelligence model by compressing the first artificial intelligence model using a different method than the first compression artificial intelligence model, and load the second compression artificial intelligence model into the second memory.

13. The electronic apparatus as claimed in claim 12 , wherein the performance of the first compression artificial intelligence model is any one or any combination of a processor share rate of the first compression artificial intelligence model, the size of the first compression artificial intelligence model, and an accuracy of the first compression artificial intelligence model.

14. The electronic apparatus as claimed in claim 12 , further comprising:

a display,

wherein the processor is further configured to, based on a plurality of compression artificial intelligence models obtained by compressing the first artificial intelligence model using a plurality of methods not satisfying the predetermined condition, control the display to display a message notifying that the predetermined condition is not satisfied.

15. An electronic apparatus, comprising:

a first memory configured to store a plurality of artificial intelligence models;

a second memory configured to load at least one of the plurality of artificial intelligence models stored in the first memory; and

a processor configured to:

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into the second memory, identify an available memory size of the second memory, and

based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, control to obtain a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory, and load the first compression artificial intelligence model into the second memory,

wherein the processor is further configured to, based on the available memory size of the second memory being changed, control to obtain a third compression artificial intelligence model by compressing the first artificial intelligence model based on the changed available memory size, and load the third compression artificial intelligence model.

16. An electronic apparatus, comprising:

a first memory configured to store a plurality of artificial intelligence models;

a second memory configured to load at least one of the plurality of artificial intelligence models stored in the first memory; and

a processor configured to:

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into the second memory, identify an available memory size of the second memory, and

based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, control to obtain a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory, and load the first compression artificial intelligence model into the second memory,

wherein the processor is further configured to, based on a control signal for loading a second artificial intelligence model into the second memory being received, according to the available memory size of the second memory, control to load a compression artificial intelligence model for the first artificial intelligence model obtained by compressing the first artificial intelligence model, and a compression artificial intelligence model for the second artificial intelligence model obtained by compressing the second artificial intelligence model.

17. An electronic apparatus, comprising:

a first memory configured to store a plurality of artificial intelligence models;

a second memory configured to load at least one of the plurality of artificial intelligence models stored in the first memory; and

a processor configured to:

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into the second memory, identify an available memory size of the second memory, and

based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, control to obtain a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory, and load the first compression artificial intelligence model into the second memory,

wherein the processor is further configured to, based on a plurality of artificial intelligence models being loaded in the second memory, identify a number of times of use of the plurality of artificial intelligence models loaded in the second memory, and load a compression artificial intelligence model for at least one of the plurality of artificial intelligence models based on the identified number of times of use.

18. An electronic apparatus, comprising:

a display;

first memory configured to store a plurality of artificial intelligence models;

a second memory configured to load at least one of the plurality of artificial intelligence models stored in the first memory; and

a processor configured to:

based on receiving a control signal for loading a first artificial intelligence model among the plurality of stored artificial intelligence models into the second memory, identify an available memory size of the second memory, and

based on a size of the first artificial intelligence model being larger than the available memory size of the second memory, control to obtain a first compression artificial intelligence model by compressing the first artificial intelligence model based on the available memory size of the second memory, and load the first compression artificial intelligence model into the second memory,

wherein the processor is further configured to control the display to display a user interface (UI) for receiving a performance of at least one of the plurality of artificial intelligence models, and

wherein the first compression artificial intelligence model is an artificial intelligence model compressed based on a performance input through the UI.

19. The electronic apparatus as claimed in claim 11 , wherein the processor is further configured to control the first memory to store a plurality of compressed artificial intelligence models for the first artificial intelligence model in the first memory.

20. The electronic apparatus as claimed in claim 11 , wherein the first artificial intelligence model is compressed using any one or any combination of Pruning, Quantization, Decomposition, and Knowledge Distillation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 19, 2019
From: LEE, JONGRYUL; KIM, JAEDEOK
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 049798/0870 →
Priority Claims (1)
KR 10-2018-0084311 · Jul 19, 2018 · national
Continuity (1)
Related Publication 20200026977A1 · Jan 23, 2020
Cited By (1)
US 12,625,479