Semantic understanding system based on linear mixed effect model in multi-language environment

By adopting a linear mixed effects model semantic understanding system in a multilingual environment, combined with user background information and text processing, the problem of ignoring individual differences and contextual effects in the existing technology is solved, and more efficient and accurate semantic understanding is achieved.

CN118690754APending Publication Date: 2024-09-24CHONGQING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410706114.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing technologies ignore individual differences and contextual effects in multilingual environments, resulting in poor semantic understanding and difficulty in improving communication efficiency and accuracy in practical applications.

Method used

A semantic understanding system based on the linear mixed effects model is used to obtain the text to be recognized and user background information through the data collection unit. The processing unit uses the linear mixed effects model for processing, combining fixed effects and random effects to process the text, and through the semantic output unit Generate visual results, including text translation, summary, and keyword extraction.

Benefits of technology

It improves the accuracy and efficiency of semantic understanding in multi-lingual environments, and can simultaneously consider the inherent properties of language and individual user differences to provide more accurate and personalized semantic understanding services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The invention discloses a semantic understanding system based on a linear mixed effect model in a multi-language environment. The semantic understanding system comprises a data collection unit, a processing unit and a semantic output unit, the data collection unit obtains a to-be-recognized text and user background information, and transmits the to-be-recognized text and the user background information to the processing unit; a linear mixing effect model is stored in the processing unit; the linear mixed effect model is used for processing a to-be-recognized text by utilizing a fixed effect and a random effect based on user background information to obtain a semantic recognition result, and transmitting the semantic recognition result to the semantic output unit; the semantic output unit is used for visualizing a semantic recognition result; the invention provides a multi-language semantic understanding system based on a linear mixed effect model, and the system can consider inherent attributes of languages and individual differences of subjects at the same time, so that the accuracy and efficiency of semantic understanding in a multi-language environment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of natural language processing (NLP), and in particular to a semantic understanding system based on a linear mixed effects model in a multilingual environment. Background Art

[0002] In today's world of globalization and multicultural communication, understanding semantic content in different language environments is the key to improving communication efficiency and accuracy. Existing technologies such as machine translation and semantic analysis often ignore individual differences and contextual influences, which limits their effectiveness in practical applications. Summary of the invention

[0003] The object of the present invention is to provide a semantic understanding system based on a linear mixed effects model in a multilingual environment, comprising a data collection unit, a processing unit and a semantic output unit;

[0004] The data collection unit acquires the text to be recognized and the user background information, and transmits them to the processing unit;

[0005] The processing unit stores a linear mixed effects model;

[0006] The linear mixed effect model processes the text to be recognized based on user background information, fixed effects and random effects, obtains a semantic recognition result, and transmits it to a semantic output unit;

[0007] The semantic output unit visualizes the semantic recognition result.

[0008] Furthermore, user background information includes, but is not limited to, the user's language habits, cultural background, language type, and context.

[0009] Furthermore, the random effects include the user's language habits and cultural background; the fixed effects include language type and context.

[0010] Furthermore, the semantic recognition results include text translation, text summary, and text keywords.

[0011] Furthermore, the processing unit performs text cleaning and encoding conversion on the text to be recognized before processing the text to be recognized;

[0012] The steps of text cleaning include: removing noise, unifying formats, correcting spelling and grammatical errors, removing stop words, word form processing, text segmentation, and sensitive information processing; the sensitive information includes personal and / or corporate privacy information; the steps of sensitive information processing include but are not limited to replacement, masking, encryption, data perturbation, data segmentation, and virtualization;

[0013] The steps of encoding conversion include: character encoding standardization, language type identification, character digital mapping, word embedding application, serialization processing, special tag processing and context encoding;

[0014] The character-to-digital mapping refers to converting characters into digital form using one-hot encoding or word embedding methods;

[0015] The word embedding application refers to converting words into vectors;

[0016] The serialization process refers to padding or truncating the text to keep the text length consistent;

[0017] The special marker processing refers to specific encoding of the special marker;

[0018] The context encoding refers to converting text into a vector representation to capture its semantic and context information. The steps include:

[0019] 1) Text preprocessing: including word segmentation and removal of stop words;

[0020] 2) Word vector representation: Use the pre-trained word embedding model Word2Vec to convert words into high-dimensional vectors;

[0021] 3) Use recurrent neural networks to capture contextual information in the sequence, encode the text, and generate context-dependent vector representations.

[0022] Further, based on the historical texts uploaded by the same user, the linear mixed effect model processes the text to be recognized through a maximum likelihood estimation function;

[0023] The estimation results of the maximum likelihood estimation function are as follows:

[0024]

[0025] Where θ represents the set of all parameters, including fixed effect parameters β and random effect parameters γ; X is the design matrix of fixed effects; Z is the design matrix of random effects; represents the estimated result; Y represents the observed semantic understanding result data; is the likelihood function.

[0026] Further, based on the historical texts uploaded by the same user, the linear mixed effect model processes the text to be recognized by using a restricted maximum likelihood estimation function;

[0027] The estimation results of the restricted maximum likelihood estimation function are as follows:

[0028]

[0029] In the formula, Y', X', and Z' are the data after Y, X, and Z are transformed by fixed effects respectively; X is the design matrix of fixed effects; Z is the design matrix of random effects; Y represents the observed semantic understanding result data; is the estimated result; Represents the restricted maximum likelihood estimation function.

[0030] Furthermore, the linear mixed effect model is trained, and the parameters to be optimized during the training process include the fixed effect parameter β, the random effect parameter γ, the variance σ of the model error term 2 .

[0031] Further, the steps of training the linear mixed effects model include:

[0032] 1) Using evaluation indicators to evaluate the performance of the linear mixed effect model; the evaluation indicators include accuracy, recall rate, and F1 score; if the evaluation indicators do not meet the preset requirements, proceed to step 2);

[0033] 2) Re-estimate the parameters using MLE or REML methods.

[0034] 3) Select the optimal model based on information criteria such as AIC / BIC.

[0035] 4) Adjust the parameters to be optimized;

[0036] Among them, the way to adjust the fixed effect parameter β is to increase or decrease the fixed effect factors, or change the factor weights.

[0037] The random effect parameter γ can be adjusted by increasing or decreasing the random effect factors or changing the factor weights.

[0038] Adjust the variance of the model error term σ 2 The method is: use the REML method to estimate the error term variance;

[0039] 5) Update the linear mixed effects model based on the adjusted parameters and return to step 1).

[0040] An application based on the semantic understanding method, wherein the semantic understanding method is used for text recognition in online education, international conference record analysis or social media.

[0041] The technical effect of the present invention is unquestionable. The present invention provides a multilingual semantic understanding system based on a linear mixed effects model, which can simultaneously consider the inherent properties of the language and the individual differences of the subjects, thereby improving the accuracy and efficiency of semantic understanding in a multilingual environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1Flowchart of the semantic understanding algorithm based on the linear mixed effects model in a multilingual environment. DETAILED DESCRIPTION

[0043] The present invention is further described below in conjunction with the embodiments, but it should not be understood that the above subject matter of the present invention is limited to the following embodiments. Without departing from the above technical ideas of the present invention, various substitutions and changes are made according to the common technical knowledge and customary means in the art, which should all be included in the protection scope of the present invention.

[0044] Embodiment 1:

[0045] See also Figure 1 , a semantic understanding system based on a linear mixed effects model in a multilingual environment, including a data collection unit, a processing unit and a semantic output unit;

[0046] The data collection unit acquires the text to be recognized and the user background information, and transmits them to the processing unit;

[0047] The processing unit stores a linear mixed effects model;

[0048] The linear mixed effect model processes the text to be recognized based on user background information, fixed effects and random effects, obtains a semantic recognition result, and transmits it to a semantic output unit;

[0049] The semantic output unit visualizes the semantic recognition result.

[0050] User background information includes but is not limited to the user's language habits, cultural background, language type, and context.

[0051] The random effects include the user's language habits and cultural background; the fixed effects include language type and context.

[0052] The semantic recognition results include text translation, text summary, and text keywords.

[0053] Before the processing unit processes the text to be recognized, the processing unit also performs text cleaning and encoding conversion on the text to be recognized;

[0054] The steps of text cleaning include: removing noise, unifying formats, correcting spelling and grammatical errors, removing stop words, word form processing, text segmentation, and sensitive information processing;

[0055] The sensitive information includes personal and / or corporate privacy information; the steps of sensitive information processing include but are not limited to replacement, masking, encryption, data perturbation, data segmentation, and virtualization;

[0056] The steps of encoding conversion include: character encoding standardization, language type identification, character digital mapping, word embedding application, serialization processing, special tag processing and context encoding;

[0057] The character-to-digital mapping refers to converting characters into digital form using one-hot encoding or word embedding methods;

[0058] The word embedding application refers to converting words into vectors;

[0059] The serialization process refers to padding or truncating the text to keep the text length consistent;

[0060] The special marker processing refers to specific encoding of the special marker;

[0061] The context encoding refers to converting text into a vector representation to capture its semantic and context information. The steps include:

[0062] 1) Text preprocessing: including word segmentation and removal of stop words;

[0063] 2) Word vector representation: Use the pre-trained word embedding model Word2Vec to convert words into high-dimensional vectors;

[0064] 3) Use recurrent neural networks to capture contextual information in the sequence, encode the text, and generate context-dependent vector representations.

[0065] Based on the historical texts uploaded by the same user, the linear mixed effect model processes the text to be recognized through a maximum likelihood estimation function;

[0066] The estimation results of the maximum likelihood estimation function are as follows:

[0067]

[0068] Where θ represents the set of all parameters, including fixed effect parameters β and random effect parameters γ; X is the design matrix of fixed effects; Z is the design matrix of random effects; represents the estimated result; Y represents the observed semantic understanding result data; is the likelihood function.

[0069] Based on the historical texts uploaded by the same user, the linear mixed effect model processes the text to be recognized by using a restricted maximum likelihood estimation function;

[0070] The estimation results of the restricted maximum likelihood estimation function are as follows:

[0071]

[0072] In the formula, Y', X', and Z' are the data after Y, X, and Z are transformed by fixed effects respectively; X is the design matrix of fixed effects; Z is the design matrix of random effects; Y represents the observed semantic understanding result data; is the estimated result; Represents the restricted maximum likelihood estimation function.

[0073] The linear mixed effect model has been trained, and the parameters to be optimized during the training process include the fixed effect parameter β, the random effect parameter γ, and the variance σ of the model error term 2 .

[0074] The steps to train a linear mixed effects model include:

[0075] 1) Using evaluation indicators to evaluate the performance of the linear mixed effect model; the evaluation indicators include accuracy, recall rate, and F1 score; if the evaluation indicators do not meet the preset requirements, proceed to step 2);

[0076] 2) Re-estimate the parameters using MLE or REML methods.

[0077] 3) Select the optimal model based on information criteria such as AIC / BIC.

[0078] 4) Adjust the parameters to be optimized;

[0079] Among them, the way to adjust the fixed effect parameter β is to increase or decrease the fixed effect factors, or change the factor weights.

[0080] The random effect parameter γ can be adjusted by increasing or decreasing the random effect factors or changing the factor weights.

[0081] Adjust the variance of the model error term σ 2 The method is: use the REML method to estimate the error term variance;

[0082] 5) Update the linear mixed effects model based on the adjusted parameters and return to step 1).

[0083] Embodiment 2:

[0084] A semantic understanding system based on a linear mixed effects model in a multilingual environment, including a data collection unit, a processing unit and a semantic output unit;

[0085] The data collection unit acquires the text to be recognized and the user background information, and transmits them to the processing unit;

[0086] The processing unit stores a linear mixed effects model;

[0087] The linear mixed effect model processes the text to be recognized based on user background information, fixed effects and random effects, obtains a semantic recognition result, and transmits it to a semantic output unit;

[0088] The semantic output unit visualizes the semantic recognition result.

[0089] Embodiment 3:

[0090] A semantic understanding system based on a linear mixed effects model in a multilingual environment, the technical content is the same as Example 2, and further, the user background information includes but is not limited to the user's language habits, cultural background, language type, and context.

[0091] Embodiment 4:

[0092] A semantic understanding system based on a linear mixed effects model in a multilingual environment, the technical content of which is the same as any one of Examples 2-3, further, the random effects include the user's language habits and cultural background; the fixed effects include language type and context.

[0093] Embodiment 5:

[0094] A semantic understanding system based on a linear mixed effects model in a multilingual environment, the technical content of which is the same as any one of Examples 2-4, and further, the semantic recognition results include text translation, text summary, and text keywords.

[0095] Embodiment 6:

[0096] A semantic understanding system based on a linear mixed effects model in a multilingual environment, the technical content of which is the same as any one of Embodiments 2-5, and further, the processing unit performs text cleaning and encoding conversion on the text to be recognized before processing the text to be recognized;

[0097] The steps of text cleaning include: removing noise, unifying formats, correcting spelling and grammatical errors, removing stop words, word form processing, text segmentation, and sensitive information processing;

[0098] The sensitive information includes personal and / or corporate privacy information; the steps of sensitive information processing include but are not limited to replacement, masking, encryption, data perturbation, data segmentation, and virtualization;

[0099] The steps of encoding conversion include: character encoding standardization, language type identification, character digital mapping, word embedding application, serialization processing, special tag processing and context encoding;

[0100] The character-to-digital mapping refers to converting characters into digital form using one-hot encoding or word embedding methods;

[0101] The word embedding application refers to converting words into vectors;

[0102] The serialization process refers to padding or truncating the text to keep the text length consistent;

[0103] The special marker processing refers to specific encoding of the special marker;

[0104] The context encoding refers to converting text into a vector representation to capture its semantic and context information. The steps include:

[0105] 1) Text preprocessing:

[0106] Tokenization: Breaking text into individual words or subwords.

[0107] Stop word removal: Remove common but meaningless words.

[0108] 2) Word vector representation

[0109] Word embedding: Use the pre-trained word embedding model Word2Vec to convert words into high-dimensional vectors.

[0110] 3) Context Encoding Model

[0111] Recurrent Neural Networks (RNNs): specifically Long Short-Term Memory (LSTM) and Gated Recurrent Units (GRU), used to capture contextual information in sequences.

[0112] 4) Feature extraction

[0113] The above model is used to encode the text and generate context-dependent vector representations. These vector representations can be used for downstream tasks such as classification, question answering, translation, etc.

[0114] Embodiment 7:

[0115] A semantic understanding system based on a linear mixed effects model in a multilingual environment, the technical content of which is the same as any one of Embodiments 2-6, and further, based on the historical text uploaded by the same user, the linear mixed effects model processes the text to be recognized by using a maximum likelihood estimation function;

[0116] The maximum likelihood estimation function is as follows:

[0117]

[0118] Where θ represents the set of all parameters, including fixed effect parameters β and random effect parameters γ; X is the design matrix of fixed effects; Z is the design matrix of random effects; represents the estimated result; Y represents the observed semantic understanding result data.

[0119] Embodiment 8:

[0120] A semantic understanding system based on a linear mixed effects model in a multilingual environment, the technical content of which is the same as any one of Embodiments 2-7, and further, based on historical texts uploaded by the same user, the linear mixed effects model processes the text to be recognized by restricting the maximum likelihood estimation function;

[0121] The restricted maximum likelihood estimation function is as follows:

[0122]

[0123] In the formula, Y', X', and Z' are the data after Y, X, and Z are transformed by fixed effects respectively; X is the design matrix of fixed effects; Z is the design matrix of random effects; Y represents the observed semantic understanding result data; is the estimated result.

[0124] Embodiment 9:

[0125] A semantic understanding system based on a linear mixed effect model in a multilingual environment, the technical content of which is the same as any one of Examples 2-8, further, the linear mixed effect model is trained, and the parameters to be optimized during the training process include the fixed effect parameter β, the random effect parameter γ, the variance σ of the model error term 2 .

[0126] Embodiment 10:

[0127] A semantic understanding system based on a linear mixed effects model in a multilingual environment, the technical content of which is the same as any one of Embodiments 2-9, further, the step of training the linear mixed effects model comprises:

[0128] 1) Using evaluation indicators to evaluate the performance of the linear mixed effect model; the evaluation indicators include accuracy, recall rate, and F1 score; if the evaluation indicators do not meet the preset requirements, proceed to step 2);

[0129] 2) Re-estimate the parameters using MLE or REML methods.

[0130] 3) Select the optimal model based on information criteria such as AIC / BIC.

[0131] 4) Adjust the parameters to be optimized;

[0132] Among them, the way to adjust the fixed effect parameter β is to increase or decrease the fixed effect factors, or change the factor weights.

[0133] The random effect parameter γ can be adjusted by increasing or decreasing the random effect factors or changing the factor weights.

[0134] -Adjust the variance of the model error term σ 2 The method is: use the REML method to estimate the error term variance;

[0135] 5) Update the linear mixed effects model based on the adjusted parameters and return to step 1).

[0136] Embodiment 11:

[0137] An application of the semantic understanding method according to any one of embodiments 1 to 10, wherein the semantic understanding method is used for text recognition in online education, international conference record analysis, or social media.

[0138] Embodiment 12:

[0139] Semantic understanding system based on linear mixed effects model in multilingual environment, including:

[0140] Data collection unit: responsible for collecting multilingual text data and related user feedback.

[0141] Processing unit: Implement a linear mixed effects model, including fixed effects (such as language type and context) and random effects (such as the user's language habits and cultural background).

[0142] Output unit: provides semantic understanding results, including translation, summary, keyword extraction, etc.

[0143] Workflow:

[0144] 1. Collect input data: including text and user background information.

[0145] 2. Data preprocessing: text cleaning, encoding conversion, etc.

[0146] Apply the linear mixed effects model: determine the language type and text context as fixed effects; construct random effects based on the user's language habits and cultural background; use the maximum likelihood estimation (MLE) or restricted maximum likelihood estimation (REML) method to analyze the text based on the fixed effect and random effect parameters based on the historical data set.

[0147] Maximum Likelihood Estimation (MLE) formula:

[0148] Assuming there is data Y and parameters θ, the likelihood function L(θ) represents the probability of observing data Y under given parameters θ:

[0149] L(θ)=P(Y|θ)

[0150] Take the logarithm of the likelihood function (log-likelihood function) and find the maximum value:

[0151]

[0152] Taking the derivative and setting it to zero, solve for θ:

[0153]

[0154] Restricted Maximum Likelihood Estimation (REML) formula:

[0155] In REML, we first transform the data Y * =AY, where A is a matrix that makes AX = 0 (X is the design matrix of fixed effects). The purpose of this transformation is to eliminate the influence of fixed effects. Then in the transformed data Y * Apply maximum likelihood estimation on:

[0156] L(θ;Y * )=P(Y * |θ)

[0157] The log-likelihood function is:

[0158]

[0159] Taking the derivative and setting it to zero, solve for θ:

[0160]

[0161] 3. Output results: Generate semantic understanding output based on model analysis.

[0162] Embodiment 13:

[0163] The semantic understanding system based on the linear mixed effect model in a multilingual environment has the same technical content as Example 12. Furthermore, the performance evaluation and optimization content are as follows:

[0164] (1) Model evaluation: Model performance is evaluated through indicators such as accuracy, recall, and F1 score.

[0165] (2) Parameter tuning: Adjust model parameters to optimize performance, including retraining the model or modifying the treatment of fixed and random effects.

[0166] Embodiment 14:

[0167] Semantic understanding system based on linear mixed effects model in multilingual environment, including:

[0168] Data collection unit: responsible for collecting multilingual text data and related user feedback.

[0169] Processing unit: Implement a linear mixed effects model, including fixed effects (such as language type and context) and random effects (such as the user's language habits and cultural background).

[0170] Output unit: provides semantic understanding results, including translation, summary, keyword extraction, etc.

[0171] In the semantic understanding system based on the linear mixed effects model in a multilingual environment, the specific application steps of fixed effects and random effects are as follows:

[0172] Steps for applying fixed effects:

[0173] 1. Define fixed effects: Identify fixed effect variables, such as language type and context. These are universal factors that affect the semantic understanding of text.

[0174] 2. Collect text data: Collect text data that needs to be semantically understood.

[0175] 3. Text preprocessing: Perform preprocessing steps such as cleaning and encoding conversion on text data to ensure data quality.

[0176] 4. Apply fixed effects: Based on the language type and context of the text, these fixed effect variables are used as input parameters of the model to guide the semantic understanding process.

[0177] 5. Adjustment of fixed effects: During model application, the fixed effect parameters are adjusted as needed to optimize model performance.

[0178] Steps for applying random effects:

[0179] 1. Define random effects: Determine the variables of random effects, such as the user's language habits and cultural background. These factors vary from user to user and have a personalized impact on semantic understanding.

[0180] 2. Collect user background information: Obtain user background information, including language habits and cultural background.

[0181] 3. User information integration: Integrate user background information into the model as the input of random effects.

[0182] 4. Apply random effects: During model processing, the model is adjusted to accommodate individual differences based on the random effect variables for each user.

[0183] 5. Personalized processing: For each user, the model will perform personalized semantic understanding based on their language habits and cultural background.

[0184] 6. Model evaluation and optimization: Evaluate the performance of the model in different user groups and adjust the random effect parameters based on the evaluation results to improve the accuracy and applicability of the model.

[0185] Through these steps, the linear mixed effects model is able to simultaneously consider the universal properties of text data (fixed effects) and the personalized characteristics of users (random effects), thereby providing more accurate and personalized semantic understanding services in a multilingual environment.

[0186] In a semantic understanding system based on a linear mixed - effects model in a multilingual environment, the pre - processing steps of text data can be simplified and integrated as follows:

[0187] Text data cleaning steps:

[0188] Noise removal: Delete irrelevant characters and special symbols.

[0189] Format unification: Standardize text formats such as dates and currencies.

[0190] Error correction: Correct spelling and grammar errors.

[0191] Stop - word removal: Delete common words that contribute little to understanding, such as "的" (in Chinese).

[0192] Morphological processing: Perform stemming or lemmatization.

[0193] Text segmentation: Segment the text into sentences or paragraphs.

[0194] Sensitive information processing: Identify and process sensitive information.

[0195] Coding conversion steps:

[0196] Character encoding standardization: Ensure that the text uses a unified character encoding.

[0197] Language identification: Automatically identify the language type of the text.

[0198] Character - digit mapping: Convert characters into numerical forms, such as using one - hot encoding or word embeddings.

[0199] Word embedding application: Use a pre - trained model to convert words into vectors.

[0200] Serialization processing: Perform padding or truncation to keep the text length consistent.

[0201] Special token processing: Appropriately encode special tokens.

[0202] Context encoding: Consider context information using appropriate tokens.

[0203] Based on the historical text uploaded by the same user, that is, the historical dataset, the linear mixed - effects model processes the text to be recognized through the maximum likelihood estimation function;

[0204] The maximum likelihood estimation function is as follows:

[0205] 1. Fixed - effect parameter estimation:

[0206] - MLE formula:

[0207] Among them, Y represents the observed semantic understanding result data, X is the design matrix of fixed effects, which includes factors such as the language type and context of the text, and β is the fixed effect parameter, which indicates the degree of influence of these factors on the semantic understanding results.

[0208] 2. Random effect parameter estimation:

[0209] -In the linear mixed effects model, the random effect parameter γ is estimated together with the fixed effect parameter β. The design matrix Z of the random effect includes factors such as the user's language habits and cultural background.

[0210] 3. Linear mixed effects model parameter estimation:

[0211] -MLE formula:

[0212] Among them, θ represents the set of all parameters, including fixed effect parameters β and random effect parameters γ. Through these formulas, we can estimate the parameters of fixed effects and random effects based on background information such as the user's language habits, cultural background, language type and context, thereby achieving accurate semantic understanding of the text.

[0213] In order to adjust the model parameters to optimize performance, the following are the parameters that need to be adjusted and the specific adjustment steps and formulas:

[0214] 1. Parameters that need to be adjusted:

[0215] -Fixed effect parameter β: represents the degree of influence of different fixed effect factors (such as language type, context, etc.) on the semantic understanding results.

[0216] - Random effect parameter γ: represents the influence of different random effect factors (such as user language habits, cultural background, etc.) on the semantic understanding results.

[0217] - Variance of the model error term σ 2 : represents the variance of the model prediction error.

[0218] 2. Adjust the steps and formulas:

[0219] -Model evaluation: Use metrics such as accuracy, recall, and F1 score to evaluate model performance.

[0220] - Parameter Estimation: Re-estimate parameters using MLE or REML methods.

[0221] -Model selection: Select the optimal model based on information criteria such as AIC / BIC.

[0222] -Parameter tuning: Adjust parameters through cross-validation, such as:

[0223] -Adjust β: add or remove fixed effect factors, or change factor weights.

[0224] -Adjust γ: add or remove random effect factors, or change factor weights.

[0225] - Adjust σ 2 : Use REML and other methods to estimate the error term variance.

[0226] 3. Adjust the formula:

[0227] -MLE adjustment formula:

[0228] 1.

[0229] Among them, θ represents the set of all parameters, including β, γ and σ 2 .

[0230] -REML adjustment formula:

[0231] 2.

[0232] Among them, Y', X', and Z' are the data of Y, X, and Z after fixed effect transformation respectively.

[0233] Through these formulas, we can estimate the parameters of fixed effects and random effects based on background information such as users' language habits, cultural background, language type and context, thereby achieving accurate semantic understanding of the text.

[0234] Embodiment 15:

[0235] Semantic understanding system based on linear mixed effects model in multilingual environment, including:

[0236] Data collection unit: responsible for collecting multilingual text data and related user feedback.

[0237] Processing unit: Implement a linear mixed effects model, including fixed effects (such as language type and context) and random effects (such as the user's language habits and cultural background).

[0238] Output unit: provides semantic understanding results, including translation, summary, keyword extraction, etc.

[0239] In the semantic understanding system based on the linear mixed effects model in a multilingual environment, the specific application steps of fixed effects and random effects are as follows:

[0240] Steps for applying fixed effects:

[0241] 1. Define fixed effects: Identify fixed effect variables, such as language type and context. These are universal factors that affect the semantic understanding of text.

[0242] 2. Collect text data: Collect text data that needs to be semantically understood.

[0243] 3. Text preprocessing: Perform preprocessing steps such as cleaning and encoding conversion on text data to ensure data quality.

[0244] 4. Apply fixed effects: Based on the language type and context of the text, these fixed effect variables are used as input parameters of the model to guide the semantic understanding process.

[0245] 5. Adjustment of fixed effects: During model application, the fixed effect parameters are adjusted as needed to optimize model performance.

[0246] Steps for applying random effects:

[0247] 1. Define random effects: Determine the variables of random effects, such as the user's language habits and cultural background. These factors vary from user to user and have a personalized impact on semantic understanding.

[0248] 2. Collect user background information: Obtain user background information, including language habits and cultural background.

[0249] 3. User information integration: Integrate user background information into the model as the input of random effects.

[0250] 4. Apply random effects: During model processing, the model is adjusted to accommodate individual differences based on the random effect variables for each user.

[0251] 5. Personalized processing: For each user, the model will perform personalized semantic understanding based on their language habits and cultural background.

[0252] 6. Model evaluation and optimization: Evaluate the performance of the model in different user groups and adjust the random effect parameters based on the evaluation results to improve the accuracy and applicability of the model.

[0253] Through these steps, the linear mixed effects model is able to simultaneously consider the universal properties of text data (fixed effects) and the personalized characteristics of users (random effects), thereby providing more accurate and personalized semantic understanding services in a multilingual environment.

[0254] In a semantic understanding system based on a linear mixed effects model in a multilingual environment, the preprocessing steps of text data can be simplified and integrated as follows:

[0255] Text data cleaning steps:

[0256] Noise Removal: Remove irrelevant characters and special symbols.

[0257] Formatting: Standardize text formats such as dates and currencies.

[0258] Error correction: Correct spelling and grammar mistakes.

[0259] Stop-word removal: Delete common words that contribute little to understanding, such as "de" (of).

[0260] Morphological processing: Perform stemming or lemmatization.

[0261] Text segmentation: Segment the text into sentences or paragraphs.

[0262] Sensitive information processing: Identify and process sensitive information.

[0263] Encoding conversion steps:

[0264] Character encoding standardization: Ensure that the text uses a unified character encoding.

[0265] Language identification: Automatically identify the language type of the text.

[0266] Character-to-digit mapping: Convert characters into digital forms, such as using one-hot encoding or word embeddings.

[0267] Word embedding application: Use a pre-trained model to convert words into vectors.

[0268] Serialization processing: Perform padding or truncation to keep the text length consistent.

[0269] Special token processing: Appropriately encode special tokens.

[0270] Context encoding: Consider context information using appropriate tokens.

[0271] Based on the historical dataset, the linear mixed-effects model processes the text to be recognized through the restricted maximum likelihood estimation function;

[0272] The restricted maximum likelihood estimation function is as follows:

[0273] 1. Fixed-effect parameter estimation:

[0274] - REML formula:

[0275] where Y' is the data after the fixed-effect transformation of Y, X' is the corresponding transformation matrix, and β′ is the transformed fixed-effect parameter.

[0276] 2. Random-effect parameter estimation:

[0277] In the linear mixed-effects model, the random-effect parameter γ and the fixed-effect parameter β are estimated together. The design matrix Z of the random effect includes factors such as the user's language habits and cultural background.

[0278] 3. Linear mixed effects model parameter estimation:

[0279] -REML formula:

[0280] Among them, Y', X', and Z' are the data of Y, X, and Z after fixed effect transformation respectively.

[0281] Through these formulas, we can estimate the parameters of fixed effects and random effects based on background information such as users' language habits, cultural background, language type and context, thereby achieving accurate semantic understanding of the text.

[0282] In order to adjust the model parameters to optimize performance, the following are the parameters that need to be adjusted and the specific adjustment steps and formulas:

[0283] 1. Parameters that need to be adjusted:

[0284] -Fixed effect parameter β: represents the degree of influence of different fixed effect factors (such as language type, context, etc.) on the semantic understanding results.

[0285] - Random effect parameter γ: represents the influence of different random effect factors (such as user language habits, cultural background, etc.) on the semantic understanding results.

[0286] - Variance of the model error term σ 2 : represents the variance of the model prediction error.

[0287] 2. Adjust the steps and formulas:

[0288] -Model evaluation: Use metrics such as accuracy, recall, and F1 score to evaluate model performance.

[0289] - Parameter Estimation: Re-estimate parameters using MLE or REML methods.

[0290] -Model selection: Select the optimal model based on information criteria such as AIC / BIC.

[0291] -Parameter tuning: Adjust parameters through cross-validation, such as:

[0292] -Adjust β: add or remove fixed effect factors, or change factor weights.

[0293] -Adjust γ: add or remove random effect factors, or change factor weights.

[0294] - Adjust σ 2 : Use REML and other methods to estimate the error term variance.

[0295] 3. Adjust the formula:

[0296] -MLE adjustment formula:

[0297] 3.

[0298] Among them, θ represents the set of all parameters, including β, γ and σ 2 .

[0299] -REML adjustment formula:

[0300] 4.

[0301] Among them, Y', X', and Z' are the data of Y, X, and Z after fixed effect transformation respectively.

[0302] Through these formulas, we can estimate the parameters of fixed effects and random effects based on background information such as users' language habits, cultural background, language type and context, thereby achieving accurate semantic understanding of the text.

Claims

1. A semantic understanding system based on a linear mixed effects model in a multilingual environment, characterized by: It includes data collection unit, processing unit and semantic output unit. The data collection unit acquires the text to be recognized and the user background information, and transmits them to the processing unit; The processing unit stores a linear mixed effects model; The linear mixed effect model processes the text to be recognized based on user background information, fixed effects and random effects, obtains a semantic recognition result, and transmits it to a semantic output unit; The semantic output unit visualizes the semantic recognition result.

2. The semantic understanding system based on linear mixed effect model in a multilingual environment according to claim 1, characterized in that: User background information includes but is not limited to the user's language habits, cultural background, language type, and context.

3. The semantic understanding system based on linear mixed effect model in a multilingual environment according to claim 1, characterized in that: The random effects include the user's language habits and cultural background; the fixed effects include language type and context.

4. The semantic understanding system based on linear mixed effect model in a multilingual environment according to claim 1, characterized in that: The semantic recognition results include text translation, text summary, and text keywords.

5. The semantic understanding system based on linear mixed effect model in a multilingual environment according to claim 1, characterized in that: Before processing the text to be recognized, the processing unit also performs text cleaning and encoding conversion on the text to be recognized; The steps of text cleaning include: removing noise, unifying formats, correcting spelling and grammatical errors, removing stop words, word form processing, text segmentation, and sensitive information processing; The sensitive information includes personal and / or corporate privacy information; the steps of sensitive information processing include but are not limited to replacement, masking, encryption, data perturbation, data segmentation, and virtualization; The steps of encoding conversion include: character encoding standardization, language type identification, character digital mapping, word embedding application, serialization processing, special tag processing and context encoding; The character-to-digital mapping refers to converting characters into digital form using one-hot encoding or word embedding methods; The word embedding application refers to converting words into vectors; The serialization process refers to padding or truncating the text to keep the text length consistent; The special marker processing refers to specific encoding of the special marker; The context encoding refers to converting text into a vector representation to capture its semantic and context information. The steps include: 1) Text preprocessing: including word segmentation and removal of stop words; 2) Word vector representation: Use the pre-trained word embedding model Word2Vec to convert words into high-dimensional vectors; 3) Use recurrent neural networks to capture contextual information in the sequence, encode the text, and generate context-dependent vector representations.

6. The semantic understanding system based on linear mixed effect model in a multilingual environment according to claim 1, characterized in that: Based on the historical texts uploaded by the same user, the linear mixed effect model processes the text to be recognized through a maximum likelihood estimation function; The estimation results of the maximum likelihood estimation function are as follows: Where θ represents the set of all parameters, including fixed effect parameters β and random effect parameters γ; X is the design matrix of fixed effects; Z is the design matrix of random effects; represents the estimated result; Y represents the observed semantic understanding result data; is the likelihood function.

7. The semantic understanding system based on linear mixed effect model in a multilingual environment according to claim 1, characterized in that: Based on the historical texts uploaded by the same user, the linear mixed effect model processes the text to be recognized by using a restricted maximum likelihood estimation function; The estimation results of the restricted maximum likelihood estimation function are as follows: In the formula, Y', X', and Z' are the data after Y, X, and Z are transformed by fixed effects respectively; X is the design matrix of fixed effects; Z is the design matrix of random effects; Y represents the observed semantic understanding result data; is the estimated result; Represents the restricted maximum likelihood estimation function.

8. The semantic understanding system based on linear mixed effect model in a multilingual environment according to claim 1, characterized in that: The linear mixed effect model has been trained, and the parameters to be optimized during the training process include the fixed effect parameter β, the random effect parameter γ, and the variance σ of the model error term 2 .

9. The semantic understanding system based on the linear mixed effects model in a multilingual environment according to claim 8, characterized in that: The steps to train a linear mixed effects model include: 1) Using evaluation indicators to evaluate the performance of the linear mixed effect model; the evaluation indicators include accuracy, recall rate, and F1 score; if the evaluation indicators do not meet the preset requirements, proceed to step 2); 2) Re-estimate the parameters using MLE or REML methods. 3) Select the optimal model based on information criteria such as AIC / BIC. 4) Adjust the parameters to be optimized; Among them, the way to adjust the fixed effect parameter β is to increase or decrease the fixed effect factors, or change the factor weights. The random effect parameter γ can be adjusted by increasing or decreasing the random effect factors or changing the factor weights. Adjust the variance of the model error term σ 2 The method is: use the REML method to estimate the error term variance; 5) Update the linear mixed effects model based on the adjusted parameters and return to step 1).

10. An application of the semantic understanding method according to any one of claims 1 to 9, characterized in that: The semantic understanding method is used for text recognition in online education, international conference proceedings analysis, or social media.