Unlock instant, AI-driven research and patent intelligence for your innovation.

Model similarity comparison method, system and device and medium

A similarity and model technology, which is applied in biological neural network models, character and pattern recognition, complex mathematical operations, etc., can solve the problems of different model similarity values, inconvenient practical application, time and hardware resources required, etc., and achieve wide application Effect

Active Publication Date: 2021-01-12
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Existing model similarity calculation methods measure the similarity value between models through the test results of real data sets, and the execution process requires time and hardware resources. Easy to use
Moreover, the existing model similarity calculation methods depend on specific test data sets, and different data sets will have different test results, resulting in different model similarity values.
For a given model, this method makes the result of model similarity uncertain, and has no theoretical guiding significance for the definition of model similarity

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Model similarity comparison method, system and device and medium
  • Model similarity comparison method, system and device and medium
  • Model similarity comparison method, system and device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0051] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0052] According to one aspect of the present invention, an embodiment of the present invention proposes a model similarity comparison method, such as figure 2 As shown, it may include the steps of:

[0053] S1, acquiring parameters of multiple mo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a model similarity comparison method, which comprises the following steps of: obtaining parameters of a plurality of to-be-compared models so as to construct a directed graph corresponding to each model according to the parameters; calculating a transformation vector of each directed graph from a first layer to a last layer; expanding the dimensions of the rest transformation vectors according to the transformation vector of the maximum dimension, so as to enable the dimensions of the transformation vectors to be the same; and calculating a cosine distance between everytwo of the plurality of transformation vectors, and determining similarities of the to-be-compared models according to the cosine distances. The invention further discloses a system, computer equipment and a readable storage medium. According to the scheme provided by the invention, the similarities between the models are measured through a vector distance-based calculation method. According to the scheme, starting from the structure and semantics of the model, the similarity information of the given model is rapidly described without depending on a specific data set, and the invention has wide application in practice.

Description

technical field [0001] The invention relates to the field of similarity comparison, in particular to a model similarity comparison method, system, device and storage medium. Background technique [0002] In order to quickly obtain a suitable model, a model database is usually built for different types of networks that have been trained in history. In the process of building the model database, in order to ensure the diversity of the models, it is required that the new model is not highly correlated with the models in the database. Therefore, the research model similarity becomes the key. [0003] Such as figure 1 As shown, the current common model similarity calculation method is, given two deep learning models A and B, for the sample set S, perform the same task, and analyze the similarity of the models from the results. For example, for binary classification tasks, common similarity comparison methods are defined as follows: [0004] [0005] Among them, the numerat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06K9/62G06F17/16G06N3/04
CPCG06F17/16G06N3/045G06F18/22
Inventor 张潇澜李峰张清
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD