Language science and technology resource classification method based on multi-kernel function fuzzy support vector machine
By using multi-kernel function fuzzy support vector machine and TextRank algorithm in language science and technology resource text data classification, the problems of inaccurate classification and difficulty in kernel function selection in the existing technology are solved, and efficient language science and technology resource text data classification and security management are achieved. .
Patent Information
- Application Number
- CN202410761193.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technologies have limitations in classifying text data of language science and technology resources. In particular, it is difficult to maintain the role of support vectors when processing text data, and it is difficult to select an appropriate kernel function, resulting in inaccurate automated classification.
The fuzzy support vector machine (MK-FSVM) method based on multi-kernel functions is used to obtain and preprocess language science and technology resource text data, extract feature vectors, and use the fuzzy membership matrix for fuzzification. Multiple kernel functions are introduced and automatically generated based on the data. The learning method determines its weight, builds the target classifier, and combines the TextRank algorithm to evaluate and store the density score.
Achieved higher classification accuracy and recall rate, the average recall rate is 93.6%, the average precision rate is 92.0%, and the accuracy rate is always above 86.5%, which improves data processing efficiency and achieves secure authorized access to resources through secret-level marking. control.
Smart Images

Figure CN118733768A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of language technology, and in particular to a language technology resource classification method based on a multi-kernel function fuzzy support vector machine. Background Art
[0002] In today's society, with the rapid development of science and technology and the advent of the knowledge economy era, the boundaries between traditional disciplines are gradually blurred, prompting the education and research fields to increasingly tend to interdisciplinary integration and cooperation. Especially in the field of language technology, this interdisciplinary integration is particularly important. Language technology is not only a bridge between computer science, information technology and linguistics, but also a model of cross-integration of liberal arts and science. In order to meet the urgent needs of modern society for compound high-level talents, it is particularly important to build an open and shared language technology experimental platform. The construction of the language technology experimental platform is an extension and innovation of the concept of science and engineering experiments. It aims to break the boundaries of the division of liberal arts and science in traditional education, and provide students with a space for practice, exploration and innovation by integrating high-quality educational resources from multiple disciplines such as linguistics, computer science, and information science. This platform can effectively solve the bottleneck problems of scattered resources and difficulty in integration in the field of language technology, thereby promoting the cultivation of compound talents. The construction and operation of the language technology experimental platform is not only the creation of a physical space, but also an innovation of educational concepts and teaching methods. On this platform, students can directly access the latest language technology tools and technologies, and deepen their understanding and mastery of the field of language technology through project-driven learning, teamwork and problem solving. Then, focusing on language technology, which is an interdisciplinary subject between liberal arts and science, the training of students in the field of language technology in universities is mainly distributed in the School of Information Science and Technology and the Department of Linguistics. The School of Information Science and Technology has directions such as information retrieval, machine learning, data mining, speech processing and encoding; the Department of Linguistics has directions such as corpus, computational linguistics, speech processing, and psycholinguistics, which are all interdisciplinary training directions for language technology. Due to the lack of an operational training framework, there are currently some bottleneck problems in training: (1) Teachers are from pure liberal arts or pure science and engineering backgrounds, and cannot provide in-depth and effective guidance to students on knowledge outside of their disciplines. (2) The part of the student's graduation thesis involving interdisciplinary content is not understood by the instructor, judges, and classmates, and even the students themselves are not very thorough, so they just swallow it and graduate. (3) In terms of the curriculum system, there is unscientific or non-standard language technology literacy training. For example, the linguistics department cannot offer students technical courses that are close to their majors; students in the School of Information Science and Technology have no idea where to start when they are engaged in information retrieval and application, machine learning, and data mining research, which involves the needs of linguistics. These problems are all in language technology, which cannot be solved by simple liberal arts and science and engineering majors. To solve this problem, the most urgent task is to build a centralized resource platform to concentrate excellent language technology resources for language technology students to use. Language technology resources can be obtained from the data center of the linguistics professional experimental platform, can be manually entered by language technology experimenters, or can be obtained from the Internet.
[0003] The variability and ambiguity of language technology resource text data are not well handled by many intelligent algorithms. Based on these existing practical problems, support vector machines (SVM) have shown special advantages in small sample and high-dimensional deterministic classification problems, and their classification algorithms have strict statistical arguments and are transparent in programming logic, which makes it easier for the algorithm to meet the actual classification needs of language technology resource text data. Language technology resource text data has problems such as nonlinearity, uneven sample distribution, and high noise. Although support vector machines have shown many unique advantages in solving small sample data, they still have the following defects for practical problems such as the ambiguity of language technology resource text data:
[0004] (1) Since the support vector machine treats all training points equally during training, this will have certain limitations. When processing actual language technology resource text data, the role of support vectors should be maintained as much as possible, while the role of non-support vectors should be weakened.
[0005] (2) When solving nonlinear classification or regression problems, the selection of kernel function is very important. Traditional SVM or fuzzy support vector machine (FSVM) is based on a single kernel function. For the classification of language technology resource text data, it is difficult to find a suitable kernel function due to the differences between objects, and it is often completed by a lot of experience. Such operation is obviously not scientific for automatic classification of language technology resource text data. Summary of the invention
[0006] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a language science and technology resource classification method based on a multi-kernel function fuzzy support vector machine. The present invention solves the problems in the prior art of limitations in processing text data, difficulty in determining a suitable kernel function and inaccurate data classification in the process of automated language science and technology resource text data classification.
[0007] To achieve the above object, the present invention provides the following solutions:
[0008] A language technology resource classification method based on multi-kernel function fuzzy support vector machine, comprising:
[0009] Obtaining text data of language technology resources to be classified;
[0010] Inputting the language technology resource text data to be classified into a target classifier to obtain a data classification result;
[0011] The method for constructing the target classifier is as follows:
[0012] Obtain text data of scientific and technological resources in the target language;
[0013] Preprocessing the target language scientific and technological resource text data to obtain preprocessed data;
[0014] Extracting a feature vector from the preprocessed data to obtain a feature vector;
[0015] Based on a support vector machine, the characteristic vector is fuzzified using a fuzzy membership matrix to obtain a fuzzy support vector machine;
[0016] Introducing multiple kernel functions and determining weights corresponding to the multiple kernel functions according to a data self-learning method;
[0017] The target classifier is constructed according to the weights corresponding to the multiple kernel functions and the fuzzy support vector machine.
[0018] Preferably, it also includes:
[0019] Utilizing the TextRank algorithm to convexly extract target information of the classification result;
[0020] Obtaining a document confidentiality score of the language technology resource text data to be classified according to the target information;
[0021] The language technology resource text data to be classified is stored according to the document confidentiality score.
[0022] Preferably, the target language scientific and technological resource text data includes:
[0023] The data are captured from the Internet, experimental data and imported from the language technology subject experimental platform.
[0024] Preferably, the preprocessing of the target language scientific and technological resource text data to obtain preprocessed data includes:
[0025] Filtering the target language scientific and technological resource text data to obtain filtered data;
[0026] Performing Chinese word segmentation processing on the filtered data to obtain word segmentation data;
[0027] Stop word processing is performed on the word segmentation data to obtain preprocessed data.
[0028] Preferably, extracting a feature vector from the preprocessed data to obtain a feature vector comprises:
[0029] Calculate word frequency, TextRank score, TF-IDF weight and position information weight;
[0030] A feature vector is constructed based on the word frequency, TextRank score, TF-IDF weight and position information weight.
[0031] The present invention discloses the following technical effects:
[0032] The present invention provides a language technology resource classification method based on a multi-kernel function fuzzy support vector machine, comprising: obtaining text data of language technology resources to be classified; inputting the text data of language technology resources to be classified into a target classifier to obtain a data classification result; a method for constructing the target classifier is: obtaining text data of target language technology resources; preprocessing the text data of target language technology resources to obtain preprocessed data; extracting feature vectors from the preprocessed data to obtain feature vectors; based on a support vector machine, fuzzifying the feature vector using a fuzzy membership matrix to obtain a fuzzy support vector machine; introducing multiple kernel functions and determining the weights corresponding to the multiple kernel functions according to a data self-learning method; constructing the target classifier according to the weights corresponding to the multiple kernel functions and the fuzzy support vector machine. The classification results of language technology resource text data of the present invention have better classification effects than other technical reporting methods: the average recall rate can reach 93.6%, the average precision rate is 92.0%, and the accuracy rate is always above 86.5%; the present invention is not only based on a single-core function, but also greatly improves the efficiency of data processing; in view of the data security of the collected language technology resources, the present invention uses the TextRank algorithm to mark the classification results of resources, and realizes the access control of resources under security authorization for researchers to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0034] Figure 1 A flow chart of a method for classifying language technology resources based on a multi-kernel function fuzzy support vector machine provided in an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of the classification details of language technology resources provided by an embodiment of the present invention;
[0036] Figure 3 A diagram of the construction process of the MK-FSVM classifier provided in an embodiment of the present invention;
[0037] Figure 4 A mathematical model diagram of the SVM classifier provided in an embodiment of the present invention;
[0038] Figure 5 A diagram of a kernel function mapping model of an SVM classifier provided in an embodiment of the present invention;
[0039] Figure 6 A flow chart for classifying the results of a language technology resource experiment provided by an embodiment of the present invention;
[0040] Figure 7 A schematic diagram of the accuracy comparison results of language technology resource classification results provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0043] like Figure 1 As shown, the present invention provides a language technology resource classification method based on a multi-kernel function fuzzy support vector machine, comprising:
[0044] Step 100: Obtaining text data of language technology resources to be classified;
[0045] Step 200: inputting the language technology resource text data to be classified into a target classifier to obtain a data classification result;
[0046] The method for constructing the target classifier is as follows:
[0047] Step 201: Acquire target language scientific and technological resource text data;
[0048] Step 202: preprocessing the target language scientific and technological resource text data to obtain preprocessed data;
[0049] Step 203: extracting a feature vector from the preprocessed data to obtain a feature vector;
[0050] Step 204: Based on a support vector machine, the characteristic vector is fuzzified using a fuzzy membership matrix to obtain a fuzzy support vector machine;
[0051] Step 205: introducing multiple kernel functions and determining weights corresponding to the multiple kernel functions according to a data self-learning method;
[0052] Step 206: construct the target classifier according to the weights corresponding to the multiple kernel functions and the fuzzy support vector machine.
[0053] Furthermore, it also includes:
[0054] Utilizing the TextRank algorithm to convexly extract target information of the classification result;
[0055] Obtaining a document confidentiality score of the language technology resource text data to be classified according to the target information;
[0056] The language technology resource text data to be classified is stored according to the document confidentiality score.
[0057] Furthermore, the target language scientific and technological resource text data includes:
[0058] The data are captured from the Internet, experimental data and imported from the language technology subject experimental platform.
[0059] Specifically, we collected data directly related to language technology through various methods in order to build a language technology resource platform and improve the ability to accurately identify language technology data. These methods include crawling data from the Internet, experimental data entered by experimenters themselves, and importing data from specialized language technology experimental platforms. During the collection process, we paid special attention to screening directly related data sources to ensure that the collected data has high relevance and practical value for language technology research.
[0060] Furthermore, the preprocessing of the target language scientific and technological resource text data to obtain preprocessed data includes:
[0061] Filtering the target language scientific and technological resource text data to obtain filtered data;
[0062] Performing Chinese word segmentation processing on the filtered data to obtain word segmentation data;
[0063] Stop word processing is performed on the word segmentation data to obtain preprocessed data.
[0064] Specifically, by collecting experimental data, the important role of data preprocessing in improving the quality of language technology data was explored in depth. The preliminary processing of experimental data includes steps such as data filtering, Chinese word segmentation, and removal of stop words, aiming to convert the original unstructured text data into a format that is easy for computer processing and analysis.
[0065] (1) Data filtering. In the early stages of data processing of language technology resources, the first task is data filtering. The images, videos, hyperlinks, and various non-text symbols contained in the original data are both redundant and disruptive to text analysis. Filtering out these irrelevant contents can not only clean the data, but also improve the efficiency and accuracy of subsequent processing. Through meticulous filtering, we ensure that the data entering the analysis process is as pure and high-quality as possible, laying the experimental foundation for in-depth analysis.
[0066] (2) Chinese word segmentation. As a core step in data preprocessing, text segmentation directly affects the effects of subsequent label generation and text analysis. Unlike the whitespace character separation in English, Chinese word segmentation faces challenges such as no clear separator, strong vocabulary ambiguity, rich synonyms, and complex grammatical structure. This embodiment adopts Jieba word segmentation technology, which combines rule-based methods and statistical methods to effectively solve the problem of Chinese word segmentation. Jieba word segmentation improves scanning efficiency by constructing a triangular tree structure to scan the word graph, and uses a directed acyclic graph (DAG) to divide all possible word formation situations in detail, and finally determines the maximum probability path through dynamic programming to achieve accurate word segmentation. For new words outside the dictionary, Jieba word segmentation also introduces a hidden Markov model (HMM) and Viterbi algorithm based on Chinese characters to further improve the accuracy and flexibility of word segmentation. In addition, Jieba word segmentation supports user-defined dictionaries, which greatly improves the adaptability and accuracy of the word segmentation system in the field of language technology. By introducing language technology industry-specific terms, we can effectively avoid the situation where language technology professional terms are incorrectly segmented, thereby ensuring the accuracy and completeness of the language technology segmentation results.
[0067] Stop word removal and feature extraction. Stop word removal is another important step in text preprocessing. Although frequently appearing conjunctions, prepositions, pronouns, etc. in text are essential in language expression, they are not very helpful in capturing the core meaning of the text and conducting in-depth analysis. By removing these stop words, data noise can be further reduced and key information in text data can be highlighted. After completing basic text preprocessing, this paper constructs a normalized feature vector by calculating multiple feature values such as word frequency, TextRank score, TF-IDF weight, and position information weight. The calculation of these feature values not only reveals the key information of text data, but also provides data feature support for subsequent in-depth analysis. Word frequency statistics help us understand which words appear most frequently in the text, while TextRank scores evaluate the importance of each word based on the co-occurrence relationship between words, which is crucial for identifying key topics and concepts of the text. TF-IDF weight effectively distinguishes the importance of words by considering the frequency of words in the current document and the distribution in the entire corpus, which helps to extract words that have unique contributions to the content of a specific document. The position information weight is given different weights according to the position of the word in the text, which reflects the role of text structure in information transmission. By combining these features, we can construct a feature vector that comprehensively reflects the content characteristics of language technology texts and improve the availability and processing quality of experimental data.
[0068] Furthermore, this paper proposes the MK-FSVM computer automatic language technology resource text data classification algorithm. The MK-FSVM algorithm creates a fuzzy membership matrix to fuzzify the eigenvalues of language technology resource text data classification, trains the weights and parameter values of the linear combination of multi-kernel functions in the algorithm, and then constructs the MK-FSVM classifier algorithm, as shown in Table 1 below, which gives the sample situation, input data situation, and main characteristic parameters of the classifier of this experiment:
[0069] Table 1 Basic information of the experiment
[0070]
[0071] like Figure 2 As shown in the figure, in the algorithm processing flow, the target language technology resource text data is first preprocessed. This step involves the screening of documents, and only those documents that pass the screening will enter the next stage. Next, a series of preprocessing operations are performed on these documents, including word segmentation and removal of stop words. After that, the text data is converted into vector form using Doc2Vec technology. In the feature extraction stage, we focus on extracting noun and verb sentence vectors in the text, and use methods such as TextRank, position weights, and TF-IDF to calculate the features of language technology text. After that, the feature vectors are standardized to prepare for the next classification algorithm. In the classification process, we designed the MK-FSVM classification algorithm, which can automatically learn kernel function weights and algorithm parameters. Finally, the algorithm outputs classification results and statistical analysis results, providing effective data for subsequent research and application. This process not only enhances the availability of language technology text data, but also provides a basis for the management and utilization of language technology resources through precise classification and analysis.
[0072] On the one hand, language technology resource text data has a lot of noise interference. On the other hand, due to the large dispersion of the data sample set from the Internet, the nonlinear characteristics of language technology resource text data are generally more significant. In data classification, language technology resource text data is difficult to present the situation of compactness within the class and dispersion between classes like laboratory data and open database data. When there is a lot of classified data, there is overlap between classes. Through actual observation and analysis, even professional linguistics professors with rich knowledge of science and engineering find this work very difficult. This is also something that hard classification algorithms are not competent for. In classification, samples need to be given a relatively gentle category relationship to avoid coarse-grained erroneous divisions.
[0073] like Figure 3As shown in the figure, considering that the traditional support vector machine (SVM) has a special advantage in deterministic classification problems with small samples and high dimensions, and its classification algorithm has strict statistical arguments and is transparent in programming logic. This makes it easier for the algorithm to meet the classification needs of actual language technology resource text data. This experiment uses it as the basis of the hard classification algorithm to fuzzify the language technology resource text data set and construct the FSVM fuzzy classifier. At the same time, considering the nonlinear characteristics between language technology resource text data samples, multiple kernel functions are introduced to interact with each other to map the language technology resource text data to a high-dimensional feature space that is easier to classify. Finally, the MK-FSVM classifier is constructed for experimental classification and the results are analyzed and discussed.
[0074] like Figure 4 As shown in the figure, SVM is a machine learning method based on statistical learning theory. Since its introduction, it has received widespread attention and popularity in the field of data classification. SVM has a rigorous statistical theoretical foundation as a support, and has considerable advantages in solving small sample, high dimensional and nonlinear pattern recognition. Compared with other empirical risk minimization algorithms, it has stronger generalization ability and has important practical significance in reducing training and recognition time.
[0075] The basic mathematical idea of support vector machine is to map the original classified data into a high-dimensional feature space through nonlinear transformation, and then the classifier solves the optimal linear classification hyperplane in the feature space to achieve correct classification of the data and maximize (optimize) the classification interval between classes as much as possible.
[0076] Given the following data set:
[0077] {x i ,y i},i=1,…,N,y i ∈{-1,+1},x i ∈R d , x is the variable to be classified, y is the classification result, the linear discriminant function of the d-dimensional space is g(x)=w·x+b, then the classification hyperplane can be obtained:
[0078] w·x+b=0 (1);
[0079] In formula (1), w is the weight vector and b is the classification threshold. If all samples are to be correctly classified, the following constraints must be met:
[0080] y i (w·x i +b)-1≥0,i=1,2,…,n (2)
[0081] The hyperplane that satisfies the above conditions and maximizes the classification interval is the optimal classification surface. Figure 4shown.
[0082] By arranging the derivation of mathematical formulas, we can obtain that the optimal classification surface is essentially the following constrained optimization problem, that is, to find the minimum value of the function under the condition of satisfying formula (2):
[0083]
[0084] Finally, the optimal classification function is:
[0085]
[0086] In formula (4), a i is the Lagrangian factor to be solved for the quadratic programming problem. For linear inseparable problems, a penalty mechanism needs to be introduced in the objective function, so that the generalized classification optimal hyperplane problem can be derived as solving the minimum value of the following function:
[0087]
[0088] In formula (5), C is a constant that controls the penalty for misclassified samples.
[0089] If the problem is not separable in the defined space, it is necessary to introduce a kernel function mechanism to achieve correct classification. Kernel function K(x i x) Convert the classification problem into a new feature space, and the corresponding discriminant function evolves into the following form:
[0090]
[0091] It can be seen from this that SVM has a rigorous statistical theoretical derivation basis and is transparent in classification logic and programming, which facilitates future deduction and evolution.
[0092] However, since traditional SVM treats all samples equally when training the classifier, and includes all information in the scope of learning, it will have certain limitations. In the actual SVM training process, the role of sample points is different. The support vector plays a decisive role, while noise points and outliers play an erroneous role in the correct classification. In the SVM training process, noise points should be eliminated as much as possible to maintain the active role of the support vector.
[0093] Based on this, we use fuzzy support vector machine (FSVM) as the basic method for language technology resource text data classification to reduce the interference of non-important language technology resource text data samples on SVM classifier learning. FSVM classifier can effectively eliminate the influence of noise points and outliers on correct classification learning during training, thereby effectively improving classification accuracy. The logical structure of FSVM is as follows:
[0094] Definition 1: Let X be a non-empty set, then
[0095] F={ <x,u F (x i )>|x∈X,i=1,2,…,l} (7)
[0096] is a fuzzy set;
[0097] u F (x i ) is the membership degree of the i-th sample x in the fuzzy set F in the fuzzy membership matrix, u F (x i )The value range is between [0,1];
[0098] When training the FSVM classifier, we first need to preprocess the language technology resource text data, select a suitable membership function, and obtain each language technology resource text data sample x i The membership function u F (x i ) matrix. Membership function u F (x i ), this paper uses the language technology resource text data to classify and label the unsupervised self-learning method. So we can get the new fuzzy training set {x i ,y i ,u F (x i )},i=1,2,…,l. Each training point x i ∈R d ,y i ∈{1,2,…,l}, where 1,2,…,l represents the language technology resource category, where 0≤u F (x i )≤1. F (x i ) is the training set {x i ,y i ,u F (x i )},i=1,2,…,l’s output y i∈{1,2,…,l}(i=1,2,…,l).
[0099] Fuzzy membership u F (x i ) refers to the training set {x l ,y l ,u F (x)} belongs to a certain category, and ε i It is a measure of the degree of misclassification, so u F (x i )·ε i (i=1,2,…,l) measures the degree of misclassification of variables with different importance. The optimal structure of the objective function of the optimal classification hyperplane is obtained:
[0100]
[0101] Among them, the penalty factor C is a constant, and ω represents the weight coefficient of the linear classification function;
[0102] ε=(ε1,ε2,…,ε l ) T , Indicates that x i From R d Mapped to a high-dimensional feature space. The corresponding discriminant function of the optimal classification hyperplane is:
[0103]
[0104] Among them, K(x i ,x) is a kernel function, which converts complex operations in high-dimensional space into simple function operations in low-dimensional space. In order to mine the nonlinear relationship between text data of language technology resources, the kernel function method uses embedding mapping to map data features to a new feature space. Assume that there are M mappings, denoted as Φ={φ1,φ2,...,φ M}. Every nonlinear mapping φ k Map the l-dimensional data sample x into the new feature space k (x), the new dimension is L k . Let {κ1,κ2,...,κ M} is the Mercer kernel set corresponding to M or more of these implicit mappings, correspondingly:
[0105] κ k (x i ,x j )=φ k (x i ) T φ k (x j ) (10)
[0106] κ κ is the Mercer kernel corresponding to the implicit mapping, φ k is a nonlinear mapping function. In order to ensure that the result kernel after merging also satisfies the Mercer condition, we consider using a non-negative mapping φ' to merge the feature space mappings, as follows:
[0107]
[0108] Since the dimensions of the implicit mappings are not necessarily the same, the linear combination of the above equation is difficult to hold. Therefore, we have the original mapping set Φ = {φ1, φ2, ..., φ M} based on which a new mapping set Ψ={ψ1,ψ2,...,ψ M}, unify all the mapping dimensions to form a consistent transformation, and map the data transformation in the dimension of the high-dimensional space as follows Figure 5 As shown:
[0109] The data transformation formula is:
[0110]
[0111] The dimensions of the above elements are unified as The same dimensions allow their linear combination to be well defined. In addition, these mappings will form a new orthogonal basis, because:
[0112] ψ k (x i ) T ψ k (x j )=κ k (x i ,x j ) (13)
[0113] ψ k (x i ) T ψ k' (x j )=0,stk≠k'
[0114] Fuzzy factor u F (x i ) is the key to determine the performance of FSVM. F (x i ) is relatively small, the training effect of this sample on the support vector machine will be greatly reduced, thereby reducing its influence on the training process of the SVM classifier.
[0115] Furthermore, clustering is an unsupervised data partitioning method, which aims to make the data within a class have a high similarity and the data between classes have a low similarity. In the past few decades, many clustering algorithms have been proposed, including k-means clustering algorithm, mixed model clustering algorithm, spectral clustering algorithm, local sensitive hashing (LSH) clustering algorithm, and maximum margin clustering algorithm. Most of them are hard clustering methods, and each sample belongs to a single class. They have a good performance when the sample data is compact within the class and scattered between classes. However, in real life, many data show overlapping between classes, and a sample has the characteristics of two or more classes. Therefore, samples should be given a relatively gentle class relationship to avoid coarse-grained data division, and this clustering method is usually called soft clustering or fuzzy clustering.
[0116] Fuzzy C-Means (FCM) is a relatively effective fuzzy clustering method. In many applications, it is more flexible than other hard clustering algorithms.
[0117] The fuzzy membership function is determined by using the FCM algorithm i The FCM algorithm is an unsupervised, continuous self-learning method for matrices. Given the number of clusters C and the sample space X, where X contains N l-dimensional samples x i , i is the sample sequence number, and the FCM algorithm outputs the membership value u ic , that is, sample x i The probability of belonging to the cth class. So we need to minimize the following objective function:
[0118]
[0119] Among them, m is the degree of fuzzification, and its value is greater than 1; d(.,.) is the Euclidean distance; v c is the center of the cth class; U = [u ic ] i=1..N,c=1..C is an N×C membership matrix whose elements are u ic Composition; V = [v1, v2, ... v C ] is an l×C matrix whose column vectors correspond to C cluster centers. We can use the Lagrange multiplier method
[0120] Solving the constrained optimization problem, we get:
[0121]
[0122] The problem can be solved by iteratively updating the membership (fixed cluster center) and updating each type of center point (fixed membership). The partial derivative of (15) is taken and set to 0 to derive the following formula:
[0123]
[0124] Here, the non-negative constraint in equation (14) is not added to the Lagrange multiplier method because the above formula already implies u ic ≥0, In addition, when the value of m is close to 1, the FCM algorithm degenerates into the k-means algorithm (k-means and c-means are described in different literatures and are the same algorithm). Based on this, through unsupervised learning, we get u ic .
[0125] The implementation steps of the FCM algorithm are as follows:
[0126] Input: N data points Expected number of categories C;
[0127] Output: Membership matrix
[0128] Step 1: Procedure FCM(Data X,Number C);
[0129] Step 2: Initialize the membership matrix U (0) ;
[0130] Step 3: Repeat steps 4 and 5. Loop condition: ||U (t) -U (t-1) ||<ε;
[0131] Step 4: Update V (t) =[v c ];
[0132] Step 5: Update U (t) =[u ic ];
[0133] Step 6: Return U (t) ;
[0134] Step 7: End Procedure.
[0135] Similarly, the FSVM algorithm can also be extended to a multi-core FSVM algorithm to achieve better performance. However, the most critical step of these kernel-based data classification algorithms is to combine and select the best kernel function as much as possible, and this step is usually severely affected by the prior knowledge of the data and the mining mode we expect. At present, no specific method for finding the optimal kernel has been found. Selecting a suitable kernel function is the key to the construction of a kernel algorithm, and selecting a single kernel function from a predefined group is not enough to represent the characteristics of a sample in the text data of language technology resources with two or more categories. Therefore, in recent years, it has become popular to use the Multiple Kernel Learning (MKL) method to replace the fixed single kernel and achieve good results, and it should also have a wide range.
[0136] We apply MKL to FSVM and propose a multi-core FSVM algorithm (MK-FSVM), which can find the optimal membership and simultaneously optimize the non-negative weight array of a set of kernel function combinations. We also embed feature weight calculation in the process of language technology resource text data classification. Different selection of data features can produce different similarity measures (one-to-one correspondence of different kernel functions). The MK-FSVM algorithm is easy to implement and has good classification effect on language technology resource text data with significant overlap between classes. Based on the traditional SVM algorithm reported in the literature, this paper derives the MK-FSVM algorithm. We will discuss the experimental results and present a summary.
[0137] The principle of kernel selection is generally to use kernels (features) that have been proven to be effective. For example, the rbf kernel has been proven to be effective for many classification problems, and the poly kernel is a popular and effective feature recognition mapping that is used in image recognition. Generally speaking, the more kernels (features) you choose, the better the performance will be, but the performance is also limited by factors such as computing resources and the sensitivity of the algorithm to bad kernels.
[0138] We know that the decision tree in formula (9) can only correspond to a certain set of functions, not a mixed set of functions. In the classification of text data of language technology resources, the fuzzy support vector machine algorithm combining multi-core functions, its decision tree and algorithm are adjusted as follows:
[0139]
[0140] in, u i is the weight of the multi-kernel function. K j (x i ,x) represents the jth kernel function. In this paper, j is 1, 2, 3, and 4, corresponding to the common ‘linear’, ‘poly’, ‘rbf’, and ‘erbf’ kernel functions, respectively.
[0141] Theorem 1 If K is a kernel function, then is the multi-core fuzzy kernel function, in
[0142]
[0143] Among them, function K is the kernel function, and u is the weight of the multi-kernel function.
[0144] Lemma 1 A nonnegative linear combination of Mercer kernels is still a Mercer kernel.
[0145] Theorem 2 If K is a Mercer kernel, then Also known as Mercer core.
[0146] With Theorem 2 as the theoretical logic basis, we can use the existing commonly used 'linear', 'poly', 'rbf', and 'erbf' kernel functions to construct a new fuzzy multi-kernel kernel function, so that it can be suitable for the training and learning of language technology resource text data sample sets.
[0147] The steps for classifying text data of language science and technology resources using the MK-FSVM algorithm are as follows:
[0148] Step 1: Normalize the data in the feature matrix.
[0149] Step 2: According to formula (7), establish the fuzzy set for the classification of language technology resource text data.
[0150] Step 3: Determine the fuzzy membership of the language technology resource data sample points according to equations (16) and (17).
[0151] Step 4: Select different kernel functions for combination according to formula (19).
[0152] Step 5: According to the decision tree of formula (18), the MK-FSVM algorithm is trained using part of the data in the collected data set, and then sample testing is performed.
[0153] In the era of rapid development of information technology, the collection and integration of language technology resources has become an indispensable part of academic research and technological development. The language technology resource data involved in this article includes not only public information captured by Internet crawler technology, but also experimental data manually entered by users and professional experimental data directly imported from data centers. The diversity and complexity of these data put forward higher requirements for data processing and management, especially how to properly handle sensitive information, such as research results data that have not yet been made public, personal information of teachers and students, and other potentially confidential content, which has become a problem we need to solve. In order to effectively manage these complex language technology resources and ensure the security of sensitive information, the experiment re-adopted the feature value extraction and vectorization processing method based on the TextRank algorithm in the data processing stage. The TextRank algorithm is a graph-based sorting algorithm that constructs a graph model of words or sentences in the text and uses the PageRank algorithm in graph theory to evaluate the importance of text units (such as words or sentences) to extract keywords or summary information. The formula of the TextRank algorithm is as follows:
[0154]
[0155] Among them, WS(V i ) represents node V i The importance score of a word or a sentence, d is the damping coefficient, usually 0.85; In(V i ) indicates pointing to node V i The node set, Out(V j ) represents the slave node V j The set of nodes that start pointing to other nodes; w ji is node V j To V i The weight of the edge.
[0156] By applying the TextRank algorithm again, the weighted sentence vector and weight matrix are calculated by formula (23). The experiment can not only automatically extract key information from the document, but also evaluate the confidentiality of the document based on the importance of this information. By calculating the document confidentiality score, we can determine the confidentiality of each document and store this confidentiality as a document attribute. In this way, on an open and shared language technology resource platform, when a user requests access to a specific resource, the system can automatically determine whether it is necessary to obtain special permission from the resource provider based on the confidentiality attribute of the resource. The experiment is based on the confidentiality evaluation and management mechanism of the TextRank algorithm, which not only greatly improves the efficiency and accuracy of processing sensitive language technology resource information, but also provides strong technical support for protecting user privacy and the security of language technology research results. The confidentiality calibration process of language technology resource experimental results Figure 6For example, the ancient poems written by the author on the linguistics experiment platform, the materials used for computational linguistics experiments are considered to be private data that requires authorized access: "The divine dog lies on the peak, the jade pendant descends to the sky. The air connects to the top of the white cloud, and the sound is loud in the Zhenhai Tower. Ancient trees cover the secluded path, and red cotton stands at the top. A mat is woven on the green grass, and the fragrance of magnolia wafts. The wind blows the water of Longhu Lake, and a lone egret fishes on the stone bridge. Always caressing the lofty ambition, you can work hard all night. The guests from all over the world in Chengmen all enter the waves of the Yangtze River."
[0157] The TextRank algorithm used in the data processing stage not only demonstrates its powerful functions in the field of text analysis in the application of language technology resource management, but also provides an effective technical means to solve the potential sensitive information processing problems in language technology resource data. Through precise feature value extraction and vectorization processing, we can better protect the experimental data and user personal information of the language technology data center, avoid the leakage of sensitive data, and ensure the security and efficient use of language technology resources.
[0158] In this example, we use three key indicators to evaluate the effect of language technology resource classification: accuracy (Acc), precision (Pre), and recall (Rec). These indicators together constitute the core framework for evaluating model performance. Accuracy reflects the overall ability of the model to correctly predict positive and negative classes, precision measures the proportion of positive classes predicted by the model, and recall focuses on the model's ability to correctly identify all positive samples. Through the comprehensive evaluation of these three indicators, we can fully understand the performance of the model in language technology resource classification, thereby providing guidance for further model optimization and application. These indicators not only help identify the advantages of the model, but also reveal areas that need improvement.
[0159]
[0160] Among them, TP means that the true label is a positive example and the predicted label is also a positive example; TN means that the true label is a negative example and the predicted label is also a negative example; FP means that the true label is a negative example and the predicted label is a positive example; FN means that the true label is a positive example and the predicted label is a negative example.
[0161] We compared the recall rates of language science and technology resource text classification using three existing methods and the MK-FSVM method in this paper, and took the average value after performing 9 cross-validations. The results are shown in Table 2.
[0162] Table 2 Comparison of recall rates of language technology resource categories
[0163]
[0164]
[0165] By analyzing the data in Table 2, it can be seen that the maximum recall rate of the language science and technology resource classification results of the method of reference prior art 1 is 85.5%, the average value is 79.2%, and the minimum value is 76.5%. The maximum recall rate of the language science and technology resource classification results of the method of reference prior art 2 is 89.3%, the average value is 81.1%, and the minimum value is 63.5%. The maximum recall rate of the language science and technology resource classification results of the method of reference prior art 3 is 87.9%, the average value is 84.0%, and the minimum value is 78.6%. The maximum recall rate, average recall rate, and minimum recall rate of the language science and technology resource classification results of the MK-FSVM method in this paper are 98.3%, 93.6%, and 89.2%, respectively. In general, compared with the existing reference method, the experimental method has a higher recall rate for language science and technology resource classification and better practical application effect.
[0166] We compared the accuracy of language technology resource classification using three existing methods and the MK-FSVM method in this paper, and took the average value after 9 cross-validations. The results are shown in Table 3.
[0167] Table 3 Comparison of the accuracy of language technology resource classification
[0168]
[0169]
[0170] By analyzing the data in Table 3, it can be seen that the maximum accuracy of the language science and technology resource classification results of the method of reference prior art 1 is 81.2%, the average is 75.3%, and the minimum is 71.1%. The accuracy of the language science and technology resource classification results of the method of reference prior art 2 is 88.2%, 84.5% and 81.6% respectively. The accuracy of the language science and technology resource classification results of the method of reference prior art 3 is 82.1%, 76.8% and 68.2% respectively. The accuracy of the language science and technology resource classification results of the MK-FSVM method in this paper is 98.5%, 92.0% and 88.3% respectively. In general, compared with the existing reference methods, the experimental method in this paper has a higher accuracy rate for language science and technology resource classification and better practical application effect.
[0171] We compared the accuracy of language technology resource classification with three existing methods and the MK-FSVM method in this paper, and took the average value after 9 cross-validations. The results are as follows: Figure 7 shown.
[0172] By analyzing Figure 7From the data in , we can see that with the increase in the number of experiments, different methods have different trends in the accuracy of language technology resource classification. Among them, the accuracy of language technology resource classification in the method of reference prior art 1 is 60.2% to 80.5%, and the accuracy of the method of reference prior art 2 is 73.5% to 86.6%. The accuracy of the method of reference prior art 3 is between 63.2% and 73.6%, while the accuracy of language technology resource classification of the MK-FSVM method in this paper is always above 86.5%, indicating that the language technology resource classification of this method is more accurate and has good practical application effects.
[0173] By reapplying the TextRank algorithm, the experiment can not only automatically extract key information from the document, but also evaluate the confidentiality of the document based on the importance of this information. By calculating the confidentiality score of the document, we can determine the confidentiality of each document and store this confidentiality as a document attribute. In this way, on an open and shared language technology resource platform, when a user requests access to a specific resource, the system can automatically determine whether it is necessary to obtain special permission from the resource provider based on the confidentiality attribute of the resource. The experiment is based on the confidentiality evaluation and management mechanism of the TextRank algorithm, which not only greatly improves the efficiency and accuracy of processing sensitive language technology resource information, but also provides strong technical support for protecting user privacy and the security of language technology research results.
[0174] More specifically, the TextRank algorithm used in the data processing stage not only demonstrates its powerful function in the field of text example analysis in the application of language technology resource management, but also provides an effective technical means to solve the potential sensitive information processing problems in language technology resource data. Through precise feature value extraction and vectorization processing, we can better protect the experimental data and user personal information of the language technology data center, avoid the leakage of sensitive data, and ensure the security and efficient use of language technology resources.
[0175] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0176] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A language technology resource classification method based on multi-kernel function fuzzy support vector machine, It is characterized in that include: Obtaining text data of language technology resources to be classified; Inputting the language technology resource text data to be classified into a target classifier to obtain a data classification result; The method for constructing the target classifier is as follows: Obtain text data of scientific and technological resources in the target language; Preprocessing the target language scientific and technological resource text data to obtain preprocessed data; Extracting a feature vector from the preprocessed data to obtain a feature vector; Based on a support vector machine, the characteristic vector is fuzzified using a fuzzy membership matrix to obtain a fuzzy support vector machine; Introducing multiple kernel functions and determining weights corresponding to the multiple kernel functions according to a data self-learning method; The target classifier is constructed according to the weights corresponding to the multiple kernel functions and the fuzzy support vector machine.
2. According to the method for classifying language technology resources based on multi-kernel function fuzzy support vector machine described in claim 1, It is characterized in that Also includes: Utilizing the TextRank algorithm to convexly extract target information of the classification result; Obtaining a document confidentiality score of the language technology resource text data to be classified according to the target information; The language technology resource text data to be classified is stored according to the document confidentiality score.
3. According to the method for classifying language technology resources based on multi-kernel function fuzzy support vector machine as described in claim 1, It is characterized in that The target language scientific and technological resource text data includes: The data are captured from the Internet, experimental data and imported from the language technology subject experimental platform.
4. According to the method for classifying language technology resources based on multi-kernel function fuzzy support vector machine as described in claim 1, It is characterized in that The preprocessing of the target language scientific and technological resource text data to obtain preprocessed data includes: Filtering the target language scientific and technological resource text data to obtain filtered data; Performing Chinese word segmentation processing on the filtered data to obtain word segmentation data; Stop word processing is performed on the word segmentation data to obtain preprocessed data.
5. According to the method for classifying language technology resources based on multi-kernel function fuzzy support vector machine as described in claim 1, It is characterized in that extracting a feature vector from the preprocessed data, Get the feature vector, including: Calculate word frequency, TextRank score, TF-IDF weight and position information weight; A feature vector is constructed based on the word frequency, TextRank score, TF-IDF weight and position information weight.
Citation Information
Patent Citations
Hybrid Fourier kernel function support vector machine text classification method
CN108536730A
Cost-sensitive fuzzy multi-core classifier
CN108846424A
Intelligent analysis and precision pushing method based on policy resource big data
CN108932318A
Classification method of fuzzy semi-supervised support vector machine based on information entropy
CN114692746A
