Abstract: This disclosure relates to method and system for optimizing memory requirement for training an artificial neural network (ANN) model employed for natural language processing (NLP). In one embodiment, the method may include receiving a plurality of training parameters and a plurality of model parameters, selecting a set of model parameters from among the plurality of model parameters for training the ANN model based on a characteristic and an architecture of the ANN model, masking the set of model parameters in one or more layers of the ANN model based on a set of pre-defined rules to generate a set of masked model parameters, determining an amount of memory required for training the ANN model based on the set of masked model parameters, and providing the set of masked model parameters for training the ANN model when the amount of memory required is less than a determined threshold. Figure 2
Claims:WE CLAIM:
1. A system for optimizing memory requirement for training an artificial neural network (ANN) model employed for natural language processing (NLP), the system comprising:
a memory optimization device comprising at least one processor and a computer-readable medium storing instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
receiving a plurality of training parameters and a plurality of model parameters, wherein the plurality of training parameters are derived from training data corpus for training the ANN model, and wherein the plurality of model parameters are associated with the ANN model and are derived based on the plurality of training parameters and input from user with respect to the ANN model;
selecting a set of model parameters from among the plurality of model parameters for training the ANN model based on a characteristic and an architecture of the ANN model;
masking the set of model parameters in one or more layers of the ANN model based on a set of pre-defined rules to generate a set of masked model parameters;
determining an amount of memory required for training the ANN model based on the set of masked model parameters; and
providing the set of masked model parameters for training the ANN model when the amount of memory required is less than a determined threshold.
2. The system of claim 1, wherein the operations further comprise:
receiving the training data corpus and the input from the user;
deriving the plurality of training parameters by processing the training data corpus;
deriving the plurality of model parameters based on the plurality of training parameters and the input from the user;
temporarily storing the plurality of training parameters; and
deploying the plurality of model parameters.
3. The system of claim 1, wherein determining the amount of memory required comprises performing multi-linear regression with known values of the set of model parameters.
4. The system of claim 3, wherein determining the amount of memory required further comprises performing logistic regression when one or more of then known values are binary values.
5. The system of claim 1, wherein the plurality of model parameters comprise at least one of tokens, intents, named entities, word vectors, part of speech (PoS) tags, input features, input neurons, and output neurons.
6. The system of claim 5, wherein masking the set of model parameters using the set of pre-defined rules comprises at least one of stemming tokens, lemmatizing tokens, de-duplicating tokens, adjusting weights of tokens, converting tokens in hard coded binary numbers, and converting token types in hard coded binary numbers.
7. The system of claim 1, wherein masking the set of model parameters comprise masking the set of model parameters in one or more hidden layers of the ANN model.
8. The system of claim 1, wherein the operations further comprise:
training the ANN model with the set of masked model parameters; and
unmasking a resultant by back-propagating using the set of pre-defined rules.
9. The system of claim 1, wherein the operations further comprise:
iteratively selecting an updated set of model parameters, masking the updated set of model parameters, and determining the amount of memory required based on an updated set of masked model parameters until the amount of memory required is less than the determined threshold.
10. A method of optimizing memory requirement for training an artificial neural network (ANN) model employed for natural language processing (NLP), the method comprising:
receiving, by a memory optimization device, a plurality of training parameters and a plurality of model parameters, wherein the plurality of training parameters are derived from training data corpus for training the ANN model, and wherein the plurality of model parameters are associated with the ANN model and are derived based on the plurality of training parameters and input from user with respect to the ANN model;
selecting, by the memory optimization device, a set of model parameters from among the plurality of model parameters for training the ANN model based on a characteristic and an architecture of the ANN model;
masking, by the memory optimization device, the set of model parameters in one or more layers of the ANN model based on a set of pre-defined rules to generate a set of masked model parameters;
determining, by the memory optimization device, an amount of memory required for training the ANN model based on the set of masked model parameters; and
providing, by the memory optimization device, the set of masked model parameters for training the ANN model when the amount of memory required is less than a determined threshold.
Dated 15th day of February, 2019
R Ramya Rao
Of K&S Partners
Agent for the Applicant
IN/PA-1607 , Description:TECHNICAL FIELD
This disclosure relates generally to natural language processing (NLP), and more particularly to method and system for optimizing memory requirement for training an artificial neural network (ANN) model employed for NLP.
| # | Name | Date |
|---|---|---|
| 1 | 201941006134-FORM-26 [12-02-2025(online)].pdf | 2025-02-12 |
| 1 | 201941006134-Information under section 8(2) [26-05-2022(online)].pdf | 2022-05-26 |
| 1 | 201941006134-STATEMENT OF UNDERTAKING (FORM 3) [15-02-2019(online)].pdf | 2019-02-15 |
| 1 | 201941006134-US(14)-HearingNotice-(HearingDate-28-01-2025).pdf | 2025-01-10 |
| 2 | 201941006134-ABSTRACT [07-03-2022(online)].pdf | 2022-03-07 |
| 2 | 201941006134-Information under section 8(2) [26-05-2022(online)].pdf | 2022-05-26 |
| 2 | 201941006134-PETITION UNDER RULE 137 [12-02-2025(online)].pdf | 2025-02-12 |
| 2 | 201941006134-REQUEST FOR EXAMINATION (FORM-18) [15-02-2019(online)].pdf | 2019-02-15 |
| 3 | 201941006134-ABSTRACT [07-03-2022(online)].pdf | 2022-03-07 |
| 3 | 201941006134-AMENDED DOCUMENTS [07-03-2022(online)].pdf | 2022-03-07 |
| 3 | 201941006134-POWER OF AUTHORITY [15-02-2019(online)].pdf | 2019-02-15 |
| 3 | 201941006134-Written submissions and relevant documents [12-02-2025(online)].pdf | 2025-02-12 |
| 4 | 201941006134-AMENDED DOCUMENTS [07-03-2022(online)].pdf | 2022-03-07 |
| 4 | 201941006134-CLAIMS [07-03-2022(online)].pdf | 2022-03-07 |
| 4 | 201941006134-Correspondence to notify the Controller [15-01-2025(online)].pdf | 2025-01-15 |
| 4 | 201941006134-FORM 18 [15-02-2019(online)].pdf | 2019-02-15 |
| 5 | 201941006134-US(14)-HearingNotice-(HearingDate-28-01-2025).pdf | 2025-01-10 |
| 5 | 201941006134-FORM 1 [15-02-2019(online)].pdf | 2019-02-15 |
| 5 | 201941006134-COMPLETE SPECIFICATION [07-03-2022(online)].pdf | 2022-03-07 |
| 5 | 201941006134-CLAIMS [07-03-2022(online)].pdf | 2022-03-07 |
| 6 | 201941006134-Information under section 8(2) [26-05-2022(online)].pdf | 2022-05-26 |
| 6 | 201941006134-DRAWINGS [15-02-2019(online)].pdf | 2019-02-15 |
| 6 | 201941006134-DRAWING [07-03-2022(online)].pdf | 2022-03-07 |
| 6 | 201941006134-COMPLETE SPECIFICATION [07-03-2022(online)].pdf | 2022-03-07 |
| 7 | 201941006134-ABSTRACT [07-03-2022(online)].pdf | 2022-03-07 |
| 7 | 201941006134-DECLARATION OF INVENTORSHIP (FORM 5) [15-02-2019(online)].pdf | 2019-02-15 |
| 7 | 201941006134-DRAWING [07-03-2022(online)].pdf | 2022-03-07 |
| 7 | 201941006134-FER_SER_REPLY [07-03-2022(online)].pdf | 2022-03-07 |
| 8 | 201941006134-AMENDED DOCUMENTS [07-03-2022(online)].pdf | 2022-03-07 |
| 8 | 201941006134-COMPLETE SPECIFICATION [15-02-2019(online)].pdf | 2019-02-15 |
| 8 | 201941006134-FER_SER_REPLY [07-03-2022(online)].pdf | 2022-03-07 |
| 8 | 201941006134-FORM 13 [07-03-2022(online)].pdf | 2022-03-07 |
| 9 | 201941006134-CLAIMS [07-03-2022(online)].pdf | 2022-03-07 |
| 9 | 201941006134-FORM 13 [07-03-2022(online)].pdf | 2022-03-07 |
| 9 | 201941006134-OTHERS [07-03-2022(online)].pdf | 2022-03-07 |
| 9 | 201941006134-Request Letter-Correspondence [19-02-2019(online)].pdf | 2019-02-19 |
| 10 | 201941006134-COMPLETE SPECIFICATION [07-03-2022(online)].pdf | 2022-03-07 |
| 10 | 201941006134-OTHERS [07-03-2022(online)].pdf | 2022-03-07 |
| 10 | 201941006134-POA [07-03-2022(online)].pdf | 2022-03-07 |
| 10 | 201941006134-Power of Attorney [19-02-2019(online)].pdf | 2019-02-19 |
| 11 | 201941006134-DRAWING [07-03-2022(online)].pdf | 2022-03-07 |
| 11 | 201941006134-FER.pdf | 2021-10-17 |
| 11 | 201941006134-Form 1 (Submitted on date of filing) [19-02-2019(online)].pdf | 2019-02-19 |
| 11 | 201941006134-POA [07-03-2022(online)].pdf | 2022-03-07 |
| 12 | 201941006134-FER.pdf | 2021-10-17 |
| 12 | 201941006134-FER_SER_REPLY [07-03-2022(online)].pdf | 2022-03-07 |
| 12 | 201941006134-Proof of Right (MANDATORY) [14-08-2019(online)].pdf | 2019-08-14 |
| 12 | Correspondence by Agent_Form-1 _19-08-2019.pdf | 2019-08-19 |
| 13 | Correspondence by Agent_Form-1 _19-08-2019.pdf | 2019-08-19 |
| 13 | 201941006134-Proof of Right (MANDATORY) [14-08-2019(online)].pdf | 2019-08-14 |
| 13 | 201941006134-FORM 13 [07-03-2022(online)].pdf | 2022-03-07 |
| 14 | 201941006134-FER.pdf | 2021-10-17 |
| 14 | 201941006134-Form 1 (Submitted on date of filing) [19-02-2019(online)].pdf | 2019-02-19 |
| 14 | 201941006134-OTHERS [07-03-2022(online)].pdf | 2022-03-07 |
| 14 | 201941006134-Proof of Right (MANDATORY) [14-08-2019(online)].pdf | 2019-08-14 |
| 15 | 201941006134-Form 1 (Submitted on date of filing) [19-02-2019(online)].pdf | 2019-02-19 |
| 15 | 201941006134-POA [07-03-2022(online)].pdf | 2022-03-07 |
| 15 | 201941006134-Power of Attorney [19-02-2019(online)].pdf | 2019-02-19 |
| 16 | 201941006134-FER.pdf | 2021-10-17 |
| 16 | 201941006134-OTHERS [07-03-2022(online)].pdf | 2022-03-07 |
| 16 | 201941006134-Power of Attorney [19-02-2019(online)].pdf | 2019-02-19 |
| 16 | 201941006134-Request Letter-Correspondence [19-02-2019(online)].pdf | 2019-02-19 |
| 17 | 201941006134-Request Letter-Correspondence [19-02-2019(online)].pdf | 2019-02-19 |
| 17 | Correspondence by Agent_Form-1 _19-08-2019.pdf | 2019-08-19 |
| 17 | 201941006134-COMPLETE SPECIFICATION [15-02-2019(online)].pdf | 2019-02-15 |
| 17 | 201941006134-FORM 13 [07-03-2022(online)].pdf | 2022-03-07 |
| 18 | 201941006134-FER_SER_REPLY [07-03-2022(online)].pdf | 2022-03-07 |
| 18 | 201941006134-Proof of Right (MANDATORY) [14-08-2019(online)].pdf | 2019-08-14 |
| 18 | 201941006134-DECLARATION OF INVENTORSHIP (FORM 5) [15-02-2019(online)].pdf | 2019-02-15 |
| 18 | 201941006134-COMPLETE SPECIFICATION [15-02-2019(online)].pdf | 2019-02-15 |
| 19 | 201941006134-DECLARATION OF INVENTORSHIP (FORM 5) [15-02-2019(online)].pdf | 2019-02-15 |
| 19 | 201941006134-DRAWING [07-03-2022(online)].pdf | 2022-03-07 |
| 19 | 201941006134-DRAWINGS [15-02-2019(online)].pdf | 2019-02-15 |
| 19 | 201941006134-Form 1 (Submitted on date of filing) [19-02-2019(online)].pdf | 2019-02-19 |
| 20 | 201941006134-Power of Attorney [19-02-2019(online)].pdf | 2019-02-19 |
| 20 | 201941006134-FORM 1 [15-02-2019(online)].pdf | 2019-02-15 |
| 20 | 201941006134-DRAWINGS [15-02-2019(online)].pdf | 2019-02-15 |
| 20 | 201941006134-COMPLETE SPECIFICATION [07-03-2022(online)].pdf | 2022-03-07 |
| 21 | 201941006134-CLAIMS [07-03-2022(online)].pdf | 2022-03-07 |
| 21 | 201941006134-FORM 1 [15-02-2019(online)].pdf | 2019-02-15 |
| 21 | 201941006134-FORM 18 [15-02-2019(online)].pdf | 2019-02-15 |
| 21 | 201941006134-Request Letter-Correspondence [19-02-2019(online)].pdf | 2019-02-19 |
| 22 | 201941006134-AMENDED DOCUMENTS [07-03-2022(online)].pdf | 2022-03-07 |
| 22 | 201941006134-COMPLETE SPECIFICATION [15-02-2019(online)].pdf | 2019-02-15 |
| 22 | 201941006134-FORM 18 [15-02-2019(online)].pdf | 2019-02-15 |
| 22 | 201941006134-POWER OF AUTHORITY [15-02-2019(online)].pdf | 2019-02-15 |
| 23 | 201941006134-ABSTRACT [07-03-2022(online)].pdf | 2022-03-07 |
| 23 | 201941006134-DECLARATION OF INVENTORSHIP (FORM 5) [15-02-2019(online)].pdf | 2019-02-15 |
| 23 | 201941006134-POWER OF AUTHORITY [15-02-2019(online)].pdf | 2019-02-15 |
| 23 | 201941006134-REQUEST FOR EXAMINATION (FORM-18) [15-02-2019(online)].pdf | 2019-02-15 |
| 24 | 201941006134-DRAWINGS [15-02-2019(online)].pdf | 2019-02-15 |
| 24 | 201941006134-Information under section 8(2) [26-05-2022(online)].pdf | 2022-05-26 |
| 24 | 201941006134-REQUEST FOR EXAMINATION (FORM-18) [15-02-2019(online)].pdf | 2019-02-15 |
| 24 | 201941006134-STATEMENT OF UNDERTAKING (FORM 3) [15-02-2019(online)].pdf | 2019-02-15 |
| 25 | 201941006134-FORM 1 [15-02-2019(online)].pdf | 2019-02-15 |
| 25 | 201941006134-STATEMENT OF UNDERTAKING (FORM 3) [15-02-2019(online)].pdf | 2019-02-15 |
| 25 | 201941006134-US(14)-HearingNotice-(HearingDate-28-01-2025).pdf | 2025-01-10 |
| 26 | 201941006134-FORM 18 [15-02-2019(online)].pdf | 2019-02-15 |
| 26 | 201941006134-Correspondence to notify the Controller [15-01-2025(online)].pdf | 2025-01-15 |
| 27 | 201941006134-Written submissions and relevant documents [12-02-2025(online)].pdf | 2025-02-12 |
| 27 | 201941006134-POWER OF AUTHORITY [15-02-2019(online)].pdf | 2019-02-15 |
| 28 | 201941006134-PETITION UNDER RULE 137 [12-02-2025(online)].pdf | 2025-02-12 |
| 28 | 201941006134-REQUEST FOR EXAMINATION (FORM-18) [15-02-2019(online)].pdf | 2019-02-15 |
| 29 | 201941006134-FORM-26 [12-02-2025(online)].pdf | 2025-02-12 |
| 29 | 201941006134-STATEMENT OF UNDERTAKING (FORM 3) [15-02-2019(online)].pdf | 2019-02-15 |
| 1 | 201941006134_searchE_01-10-2021.pdf |