This application is a national phase of International Patent Application No. PCT/CN2020/073042 filed on Jan. 19, 2020, which claims priority based on Chinese patent application 201911358987.3 filed on Dec. 25, 2019. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
The present invention relates to the technical field of literature analysis, in particular to an automatic industry classification method and system.
A rapid development of science and technology brings about a proliferation of patent texts and continuous emergence of new industries. In order to analyze the technical development in an industry background, a patent needs to be labeled with an industry label. A manual labeling method is slow, expensive, but high in accuracy. Therefore, an automatic classification method with less labeling amount, higher computational efficiency and more fully mining labeling information is needed.
Existing methods either require a large amount of manual labeling, or do not need manual labeling at all and this causes a corresponding relationship with a target industry cannot be directly established. The existing methods generally use the patent text to carry out natural language processing, which is computationally expensive and omits important information of International Patent Classification (IPC) dimension. Natural language processing methods used in the existing methods generally mine information from an angle of a single word, which makes information of word order relation lost. The natural language processing methods used in the existing methods generally mine information in one or more of title, abstract, claims and description, but do not use hierarchical vectors generated by the abstract, the claims and the description, which makes deep information contained in the patent text omitted.
An invention patent with publication No. CN105808524A discloses a patent automatic classification method based on the abstract of patent documents, the method comprises dictionary construction, generation of category feature vectors at all levels of IPC, selection of patent text features, vectorization of patent text, construction of an SVM-based classification model and classification of a to-be-classified patent. The disadvantage of this method is that the natural language processing method used loses the information of word order relation, and does not use the hierarchical vectors generated by the abstract, the claims and the description, and the deep information contained in the patent text is omitted.
In order to solve the above mentioned technical problems, an automatic industry classification method and system provided by the present invention uses a transductive learning method, so that full mining of small annotation quantity information is realized; uses information of IPC, so that information dimension is enriched, and calculation amount is reduced; uses the hierarchical vectors generated by the abstract, the claims and the description, so that the information of word order relation is reserved, and the patent text is deeply mined.
A first object of the present invention is to provide an automatic industry classification method. The method comprises determining a scope of target patents, and further comprises the following steps:
Preferably, the step 1 comprises that an industry tree I={i1, . . . , ij, . . . ., in} is defined as needed, wherein, ij∈I and is a first level industry, j is a serial number of the first level industry, 1≤j≤n, n is the number of all leaf nodes of I.
In any of the above solutions, it is preferred that the step 1 further comprises setting ijkl . . . ={ijkl . . . 1, . . . , ijkl . . . t} as any non-leaf node of I, degree of other nodes except the leaf nodes is greater than or equal to 2, wherein, k is a serial number of a second level industry, l is a serial number of a third level industry, and t is a serial number of a penultimate level industry.
In any of the above solutions, it is preferred that a step of determining a scope of target patents is to manually determine the scope of patents to be classified as needed.
In any of the above solutions, it is preferred that the step 2 comprises: according to resource constraints, determining the number p of patents which can be marked, p≥N, each leaf node of the industry tree should be marked with at least one patent belonging to the node, wherein, N is the number of the last level industry.
In any of the above solutions, it is preferred that the step 3 is determining nodes above the leaf node.
In any of the above solutions, it is preferred that the step 3 comprises the following sub-steps:
In any of the above solutions, it is preferred that the step 31 comprises that IPC(s) of each target patent is defined as an IPC combination IPCv={ipc1, . . . , ipcq} and all different IPC combinations of the target patents form the node set V.
In any of the above solutions, it is preferred that the step 32 comprises that the industry on the leaf node marked with patents is taken as a classification yi∈ of the leaf node, the number of nodes which have been marked is set to be l, a sequence of the nodes is adjusted, and the marked nodes is adjusted to be the front, then 1≤i≤l.
In any of the above solutions, it is preferred that the step 32 further comprises verifying whether l<<the number of unmarked nodes u, and if not, adjusting the marked patent, otherwise V={IPC1, . . . , IPCl, IPCl+1 . . . , IPCl+u}.
In any of the above solutions, it is preferred that the edge set E is a matrix, and weight eij of edges between two vertices is the number of patents in a union IPCi∪IPCj of IPCs of the two vertices, wherein, eij is value in the matrix E.
In any of the above solutions, it is preferred that the step 34 comprises the following sub-steps:
In any of the above solutions, it is preferred that a calculation formula of the distance matrix S is sij=∥ei−ej∥2, wherein, ei and ej are respectively the i-th row and the j-th row of the edge set E.
In any of the above solutions, it is preferred that the step 35 comprises the following sub-steps:
step 354: constructing a propagation matrix
wherein,
d represents diagonal elements of the degree matrix D;
step 355: generating an iterative calculation formula F(t+1)=αBF(t)+(1−α)Y, wherein, α∈(0,1) is a parameter, F(t) is a result of the t-th iteration, and Y is an initial matrix;
step 356: iterating the calculation formula to convergence to obtain a state
under convergence, wherein, M is a unit matrix;
step 357: performing a prediction of unmarked nodes yi=argmaxFij*, wherein, l+1≤i≤l+u.
In any of the above solutions, it is preferred that the step 4 comprises the following sub-steps:
In any of the above solutions, it is preferred that the step 41 comprises taking the patent nodes of each class divided in the step 3 as a group, that means patents corresponding to node marked as yi∈ are a group, there are |
| groups.
In any one of the above solutions, it is preferred that the step 42 comprises extracting abstract, claims and description of each patent in each group, performing word segmentation of text information of patent by using an existing tool, and generating a text set G={g1, . . . , gn}, wherein gi=(pi1,pi2,pi3), pi1, pi2 and pi3 are respectively word sequences obtained by word segmentation of the abstract, the claims, and the description of the i-th patent.
In any of the above solutions, it is preferred that the text sets to be trained comprise the text set G, a text set G1={p11, . . . , pn1}, a text set G2={p12, . . . , pn2} and a text set G3={p13, . . . , pn3}, which are respectively composed of word segmentation results of the all-texts, the abstracts, the claims, and the descriptions of the patents in the group.
In any of the above solutions, it is preferred that the step 44 comprises the following sub-steps:
In any of the above solutions, it is preferred that the step 441 comprises that: in each text set to be trained, an element P=(t1, . . . , tm) is a segmented word sequence with m elements, ti∈P is determined by w words ti, context={ti−w, . . . , ti−2, ti−1, ti+1, ti+2, . . . , ti+w} before and after it, and by maximizing
wherein, the pid is a paragraph number of ti in p,
γt
In any one of the above solutions, it is preferred that the step 442 comprises that the vectorization results of G={g1, . . . , gn}, G1={p11, . . . , pn1}, G2={p12, . . . , pn2} and G3={p13, . . . , pn3} are supposed to be respectively H1={h11, . . . , hn1}, H2={h12, . . . , hn2}, H3={h13, . . . , hn3}, and H4={h14, . . . , hn4}, then a generated set of matrix of text of target patents is H={h1, . . . , hn}, wherein hi=(hi1, hi2, hi3, hi4).
In any of the above solutions, it is preferred that the step 45 comprises that: marked patents are set as S=∪j=1kSj⊂H, wherein, Sj≠Ø is the marked patent of the j-th leaf node on the industry tree, j cluster centers of a k-means algorithm are initialized using the marked patents, and cluster membership of marked patents is not changed in an iterative updating process of clusters.
In any of the above solutions, it is preferred that the step 46 comprises the following sub-steps:
is calculated;
is calculated;
In any of the above solutions, it is preferred that if the following two conditions are met, k−distance(o)=d(p, o):
A second object of the present invention is to provide an automatic industry classification system, the system comprises a confirmation module for determining a scope of target patents, and further comprises the following modules:
The present invention provides the automatic industry classification method and system which reduce annotation quantity, and improve calculation efficiency and the classification accuracy at the same time.
The present invention is further described with reference to the drawings and specific embodiments.
As shown in
Step 1100 is executed, and a scope of target patents is determined by using a confirmation module 210. An industry tree I={i1, . . . , ij, . . . , in} is defined as needed, wherein, ij∈I and is a first level industry, j is a serial number of the first level industry, 1≤j≤n, n is the number of all leaf nodes of I. ijkl . . . ={ijkl . . . 1, . . . , ijkl . . . t} is set as any non-leaf node of I, degree of other nodes except the leaf nodes is greater than or equal to 2, wherein, k is a serial number of a second level industry, l is a serial number of a third level industry, and t is a serial number of a penultimate level industry.
Step 1200 is executed, and a mark generation module 220 is used to generate marks on the target industry tree. The number p of patents which can be marked is determined according to resource constraints, p≥N, each leaf node of the industry tree should be marked with at least one patent belonging to the node, wherein, N is the number of the last level industry.
Step 1300 is executed, and a rough classification module 230 is used to perform a rough classification for the target patents by using the marks, and nodes above the leaf node are determined. As shown in
Step 1320 is executed, and the marks are arranged. The industry on the leaf node marked with patents is taken as a classification γi∈ of the leaf node, the number of nodes which have been marked is set to be l, a sequence of the nodes is adjusted, and the marked nodes is adjusted to be the front, then 1≤i≤l. Whether l<<the number of unmarked nodes u is verified, and if not, adjusting the marked patent, otherwise V={IPC1, . . . , IPCl, IPCl+1 . . . , IPCl+u}.
Step 1330 is executed, and an edge set E of the graph is generated. The edge set E is a matrix, and weight eij of edges between two vertices is the number of patents in a union IPCi∪IPCj of IPCs of the two vertices, wherein, eij is value in the matrix E.
Step 1340 is executed, and an adjacency matrix is generated. As shown in
Step 1342 is executed, and the adjacency matrix W is generated by using the distance matrix S.
Step 1350 is executed, and node division is performed. As shown in
Step 1352 is executed, and a marked matrix is generated, a nonnegative (l+u)×|| marked matrix F=(F1T, F2T, . . . , Fl+uT)T, the element of the i-th row Fi=(Fi1, Fi2, . . . , Fi|
|) is a marked vector of IPCi in the node set, a classification rule is γi=argmax
Fij, wherein,
is a set of industries, T represents transpose of the matrix.
Step 1353 is executed, and the marked matrix F is initialized, for i=1, 2, . . . , m and j=1, 2, . . . , ||,
Step 1354 is executed, and a propagation matrix
is constructed, wherein,
d represents diagonal elements of the degree matrix D.
Step 1355 is executed, and an iterative calculation formula F(t+1)=αBF(t)+(1−α)Y is generated, wherein, α∈(0,1) is a parameter, F(t) is a result of the t-th iteration, and Y is an initial matrix.
Step 1356 is executed, and the calculation formula is iterated to convergence to obtain a state
under convergence, wherein, M is a unit matrix.
Step 1357 is executed, and a prediction of unmarked nodes γi=argmaxFij* is performed, wherein, l+1≤i≤l+u.
Step 1400 is executed, and a fine classification module 240 is used to perform a fine classification for the target patents according to a result of the rough classification. As shown in are a group, there are |
| groups.
Step 1420 is executed, and text information of patents is extracted. Abstract, claims and description of each patent in each group are extracted, word segmentation of text information of patent is performed by using an existing tool, and a text set G={g1, . . . , gn} is generated, wherein gi=(pi1,pi2,pi3), pi1, pi2, and pi3 are respectively word sequences obtained by word segmentation of the abstract, the claims, and the description of the i-th patent.
Step 1430 is executed, and text sets to be trained are generated. The text sets to be trained comprise the text set G, a text set G1={p11, . . . , pn1}, a text set G2={p12, . . . , pn2} and a text set G3={p13, . . . , pn3}, which are respectively composed of word segmentation results of the all-texts, the abstracts, the claims, and the descriptions of the patents in the group.
Step 1440 is executed, and text vectorization is performed. As shown in
wherein, the pid is a paragraph number of ti in p,
γt
Step 1442 is executed, and a matrix of text is generated. The vectorization results of G={g1, . . . , gn}, G1={p11, . . . , pn1}, G2={p12, . . . , pn2} and G3={p13, . . . , pn3} are supposed to be respectively H1={h11, . . . , hn1}, H2={h12, . . . , hn2}, H3={h13, . . . , hn3}, and H4={h14, . . . , hn4}, then a generated set of matrix of text of target patents is H={h1, . . . , hn}, wherein hi=(hi1, hi2, hi3, hi4).
Step 1450 is executed, and patent classification is performed. Marked patents are set as S=∪j=1kSj⊂H, wherein, Sj≠Ø is the marked patent of the j-th leaf node on the industry tree, j cluster centers of a k-means algorithm are initialized using the marked patents, and cluster membership of marked patents is not changed in an iterative updating process of clusters.
Step 1460 is executed, and in any leaf node classed by the step 45, the patent that does not belong to any industry of the leaf node on the tree is identified. As shown in
Step 1462 is executed, and a k-th distance domain of the patent p is calculated: a patent set whose distance from the patent p is ≤k−distance(o) is called the k-th distance domain Nk(p) of the patent p.
Step 1463 is executed, and a reachable distance reachdist(p, o)=max{k−distance(o), ∥p−∥} of the patent p relative to the patent o is calculated. If the following two conditions are met, k−distance(o)=d(p, o):
Step 1464 is executed, and a local reachable density
is calculated.
Step 1465 is executed, and a local outlier factor
is calculated.
Step 1466 is executed, and if LOF(p) is greater than a threshold, it is thought that p is an outlier, and does not belong to the leaf node.
An automatic industry classification method comprises the following steps.
1. Defining a target industry tree. An industry tree I={i1, . . . , ij, . . . , in} is defined as needed, wherein, ij∈I and is a first level industry, and ij may be divided into second level industries, ij={ij1, . . . , ijm}, and so on, any non-leaf node of I is ijkl . . . ={ijkl . . . 1, . . . , ijkl . . . t}. According to a general practice of industry division, degree of other nodes except the leaf nodes is greater than or equal to 2. The number of leaf nodes under I is set as N.
2. Determining a scope of target patents. The scope of patents to be classified is manually determined as needed, such as applications in a certain country or applications in certain years.
3. Generating marks. The number p of patents which can be marked is determined according to resource constraints, p≥N, each leaf node of the industry tree should be marked with at least one patent belonging to the node.
4. Performing a rough classification for the target patents, that is determining nodes above the leaf node.
(1) Generating a node set V of a graph: IPC(s) of each target patent is defined as an IPC combination IPCv={ipc1, . . . , ipcq}, and all different IPC combinations of the target patents form the node set V.
(2) Arranging marks: the industry on the leaf node marked with patents are taken as a classification γi∈ of the leaf node, the number of nodes which have been marked is set to be l, a sequence of the nodes is adjusted, and the marked nodes is adjusted to be the front, then 1≤i≤l, whether l<<the number of unmarked nodes u is verified, and if not, adjusting the marked patent until yes, otherwise V={IPC1, . . . , IPCl, . . . , IPCl+1 . . . , IPCl+u}.
(3) Generating an edge set E of the graph: the E may be expressed as a matrix, a union of IPCs of two vertices is IPCi∪IPCj, then weight of edges between the two vertices eij is equal to the number of patents with IPC in IPCi∪IPCj.
(4) Generating an adjacency matrix:
(4.1) a distance matrix S is generated using such as Euclidean distance, sij=∥ei−ej∥2;
(4.2) the adjacency matrix W is generated by using the distance matrix S by using such as a full-connected method of Gaussian kernel function.
(5) Performing node division:
(5.1) a degree matrix D=diag(d1, d2, . . . , dl+u) is generated, diagonal elements of the degree matrix is di=Σj=1l+uWij;
(5.2) a marked matrix is generated, a nonnegative (l+u)×|| marked matrix F=(F1T, F2T, . . . , Fl+uT)T, the element of the i-th row Fi=(Fi1, Fi2, . . . ,
) is a marked vector of IPCi in the node set, a classification rule is γi=argmax
Fij;
(5.3) the marked matrix F is initialized, for i=1, 2, . . . , m and j=1, 2, . . . , ||,
(5.4) a propagation matrix
is constructed, wherein,
(5.5) an iterative calculation formula F(t+1)=αBF(t)+(1−α)Y is generated, wherein, α∈(0,1) is a parameter;
(5.6) the calculation formula is iterated to convergence to obtain a state
(5.7) a classification prediction of unmarked nodes γi=argmaxFij* is performed, wherein, l+1≤i≤l+u.
5. Performing a fine classification for target patents, that is determining the leaf node.
(1) Setting objects to be classified: the patents corresponding to node of each class divided in the step 4 are taken as a group, that means patents corresponding to node marked as γi∈ are a group, there are |
| groups.
(2) Extracting text information of patents: abstract, claims and description (hereinafter referred to as “all-text”) of each patent in each group are extracted, word segmentation of text information of patent is performed by using an existing tool, and a text set G={g1, . . . , gn} is generated, wherein di=(pi1,pi2,pi3), pi1, pi2, and pi3 are respectively word sequences obtained by word segmentation of the abstract, the claims, and the description of the i-th patent.
(3) Generating 4 text sets to be trained: G, G1={p11, . . . , pn1}, G2={p12, . . . , pn2} and G3={p13, . . . , pn3}, which are respectively composed of word segmentation results of the all-texts, the abstracts, the claims, and the descriptions of the patents in the group.
(4) Text vectorization is performed.
(4.1) the text in the four text sets to be trained is vectored. In each text set to be trained, an element P=(t1, . . . , tm) is a segmented word sequence with m elements, ti∈P is determined by w words ti, context={ti−w, . . . , ti−2, ti−1, ti+1, ti+2, . . . , ti+w} before and after it, and by maximizing
wherein, the pid is a paragraph number of ti in p,
γt
(4.2) A matrix of text is generated. The vectorization results of G={g1, . . . , gn}, G1={p11, . . . , pn1}, G2={p12, . . . , pn2} and G3={p13, . . . , pn3} are supposed to be respectively H1={h11, . . . , hn1}, H2={h12, . . . , hn2}, H3={h13, . . . , hn3}, and H4={h14, . . . , hn4}, then a generated set of matrix of text of target patents is H={h1, . . . , hn}, wherein hi=hi1, hi2, hi3, hi4).
(5) Patent classification is performed. Marked patents are set as S=∪j=1kSj⊂H, wherein, Sj≠Ø is the marked patent of the j-th leaf node on the industry tree, j cluster centers of a k-means algorithm are initialized using the marked patents, and cluster membership of marked patents is not changed in a iterative updating process of clusters.
(6) The patent that does not belong to any industry of the leaf node industry on the tree is identified, in any leaf node classed in (5):
In order to better understand the present invention, the detailed description is made above in conjunction with the specific embodiments of the present invention, but it is not a limitation of the present invention. Any simple modification to the above embodiments based on the technical essence of the present invention still belongs to the scope of the technical solution of the present invention. Each embodiment in this specification focuses on differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. As for the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant part can refer to the part of the description of the method embodiment.
Number | Date | Country | Kind |
---|---|---|---|
201911358987.3 | Dec 2019 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/073042 | 1/19/2020 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2021/128521 | 7/1/2021 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
10832419 | Bharti | Nov 2020 | B2 |
12099816 | Jalaluddin | Sep 2024 | B2 |
20020042793 | Choi | Apr 2002 | A1 |
20140344195 | Drew | Nov 2014 | A1 |
20190005396 | Krutsch | Jan 2019 | A1 |
20190354589 | Aikawa | Nov 2019 | A1 |
20200372400 | Carreira-Perpiñán | Nov 2020 | A1 |
20210334475 | He | Oct 2021 | A1 |
Number | Date | Country |
---|---|---|
1494013 | May 2004 | CN |
102141978 | Aug 2011 | CN |
102567464 | Jul 2012 | CN |
103902591 | Jul 2014 | CN |
104978328 | Oct 2015 | CN |
105808524 | Jul 2016 | CN |
106845798 | Jun 2017 | CN |
107704469 | Feb 2018 | CN |
108304865 | Jul 2018 | CN |
3535419 | Sep 2019 | EP |
2018083467 | May 2018 | WO |
Entry |
---|
Meng-Jung Shih, et al., Patent Classification Using Ontology-Based Patent Network Analysis, PACIS 2010 Proceedings, 2010, pp. 962-972, vol. 95. |
Farshad Madani, Opportunity Identification for New Product Planning: Ontological Semantic Patent Classification, Dissertations and Theses, 2018, pp. 1-175, paper 4232, Portland State University. |
Christoph Quix, et al., Ontology Matching for Patent Classification. |
Number | Date | Country | |
---|---|---|---|
20220374462 A1 | Nov 2022 | US |