An automated visa management system based on machine learning
Through machine learning and reinforcement learning technology, an automated visa management system was built, which solved the problems of low efficiency and lack of fairness in existing visa approvals, and achieved efficient and objective visa approval decisions.
Patent Information
- Application Number
- CN202410270183.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-11
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-03-11
AI Technical Summary
The existing visa approval is inefficient, labor costs are high, lacking fairness and scientificity, and cannot dynamically adjust the approval model, making it difficult to continuously improve decision-making capabilities.
The visa automation management system based on machine learning is adopted, and the application information is received through the data input module. The machine learning model training module preprocesses and outputs the approved visa probability score. The optimal strategy decision is made in combination with the reinforcement learning algorithm, and a social credit scoring system is built.
It greatly improves the efficiency of visa approval, reduces labor costs, improves the objectivity and fairness of approval, and realizes the automation and continuous optimization of approval decisions.
Smart Images

Figure CN118261553B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visa management technology, and more specifically, to an automated visa management system based on machine learning. Background Art
[0002] The patent with application publication number CN111798195A discloses a low-cost visa management system, including an online application subsystem, an approval system, a visa system and a material database. The online application subsystem is connected to the approval system, the approval system is connected to the visa system, and the visa system is connected to the material database. In actual application, the applicant enters the application materials by himself through the online application subsystem, which saves the visa agency fee and has a low error rate. The approval system quickly compares and reviews the original and electronic materials of the application materials provided by the user, and the visa system quickly issues certificates, which reduces the cost of outsourced visa officers, has high application efficiency, low error rate and fast application speed. The visa system carries the entry and exit records of visa personnel, and after the material database stores and encrypts the application information, the material database automatically analyzes the entry and exit records, and the analysis results can be used to guide the national economy or policy formulation.
[0003] The existing visa approval process is inefficient and has high labor costs. Most traditional approval processes rely on manual operations, which are inefficient and require a large amount of manpower, resulting in high labor costs. Secondly, the approval process is highly subjective and lacks fairness. It relies too much on the subjective judgment of auditors, making it difficult to comprehensively and objectively evaluate all aspects of the applicant's information, and the fairness of the approval results is questioned. In addition, the quality of approval decisions needs to be improved. Manual decisions are easily affected by personal experience and cognitive biases, and the quality of decisions varies, lacking scientificity and consistency. In addition, the existing system lacks a mechanism for continuously optimizing the approval model, and is unable to dynamically adjust and improve the approval model based on the applicant's actual feedback behavior, making it difficult to continuously improve decision-making capabilities. There is a lack of comprehensive grasp of the applicant's comprehensive quality and credibility.
[0004] In view of this, the present invention proposes a visa automation management system based on machine learning to solve the above problems. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solutions: A visa automation management system based on machine learning, comprising: a data input module for receiving personal information and visa application materials of a visa applicant;
[0006] The machine learning model training module pre-processes personal information and visa application materials and inputs them into a pre-trained classification model based on a supervised learning algorithm to obtain the applicant's visa approval probability score;
[0007] The application processing module uses personal information and the predicted probability score of the applicant being granted a visa as state input into the optimal strategy model based on the reinforcement learning algorithm and outputs the application behavior results;
[0008] The notification module is used to notify the applicant and the examiner of the application result; each module is connected by wired and / or wireless means to realize data transmission between modules.
[0009] Furthermore, the personal information includes identity information, educational background and professional experience; the visa application materials include applicant materials and system matching materials;
[0010] The applicant materials include passport validity, application purpose, destination country and health status; the system matching materials include social credit score and applicant's economic status;
[0011] The identity information includes name, date of birth, nationality, marital status and city; the educational background includes academic qualifications, major and graduation school; professional experience includes work unit, position and years of work; the applicant's financial status includes monthly income, assets and bank statements; the application results include visa approval, visa rejection or request for additional materials.
[0012] Furthermore, the social credit score is obtained by:
[0013] Using web crawler technology to legally crawl the applicant's behavior data from the applicant's social media accounts, online shopping platform accounts, review websites, and public channels on credit list websites; the behavior data includes behavior feature data and comment information;
[0014] Preprocessing the behavior data to convert the behavior data into a structured data set; the preprocessing includes cleaning, deduplication and formatting;
[0015] Collect historical behavioral data of n natural persons, perform data preprocessing on each behavioral data, obtain preprocessed behavioral data, manually label the preprocessed behavioral data with credit scores, and the n preprocessed behavioral data with credit scores constitute a training data set; the data in the training data set is the sample;
[0016] The training data set is screened using the chi-square test method to obtain the scoring data set;
[0017] The scoring data set is divided into a scoring training set and a scoring validation set; the data in the scoring training set is used as a scoring sample;
[0018] One-hot encode categorical or textual behavior data and standardize / normalize numerical features;
[0019] Constructing a basic framework of a scoring regression model and initializing hyperparameters of the scoring regression model to obtain an initial scoring regression model; the basic framework of the scoring regression model is any one of logistic regression, decision tree, random forest, gradient boosting tree, support vector machine or deep neural network;
[0020] Initialize the scoring regression model by defining the loss function, choosing the activation function, and applying optimizer search to determine the hyperparameters;
[0021] Divide the scoring training set into batches, input the initial scoring regression model by batch, and record the function value of the loss function; when the function value of the loss function obtained for p consecutive batches no longer decreases, save the initial scoring regression model obtained at this time and the previous b batches;
[0022] Use the validation set to evaluate the model effects of the saved b+1 initial scoring regression models; use the initial scoring regression model with the best model effect as the trained scoring regression model;
[0023] The obtained behavioral data of applicants are screened to obtain real-time data; the real-time data is input into the trained scoring regression model, and the output credit score is the social credit score.
[0024] Furthermore, the method of screening the training data set includes:
[0025] Take the behavioral data as features and the social credit score as the target variable; construct a contingency table of features and target variables; construct a contingency table of r rows and c columns by rows and columns for the values of features and target variables; each cell in the table records the number of samples of the corresponding value combination;
[0026] Calculate the expected number of cells under the assumption that the features and target variables are independent of each other Where W1 is the row total; W2 is the column total; W is the total number of samples; calculate the chi-square statistic The chi-square statistic reflects the degree of deviation between the observed value and the expected value; ij represents the number of actual observed samples of the value of the i-th feature and the value of the j-th target variable; Q ij It represents the expected number of samples for the value of the i-th feature and the value of the j-th target variable under the assumption that the features and target variables are independent;
[0027] The row total is the total number of samples in the i-th row, the column total is the total number of samples in the j-th column, and the total number of samples is the total number of samples in the entire table;
[0028] Calculate the degrees of freedom df = (r-1) × (c-1);
[0029] Given the degrees of freedom and significance level; query the corresponding critical value in the chi-square distribution table; if the chi-square statistic is greater than the critical value, the feature is related to the target variable; if the chi-square statistic is less than or equal to the critical value, the feature is independent of the target variable;
[0030] The chi-square statistics of all features are sorted from large to small; the top K features are selected and the remaining features are filtered out.
[0031] Furthermore, the loss function includes a supervision loss part and a credit feedback loss part; the activation function selects a Sigmoid activation function, and the optimizer adopts an Adagrad optimizer;
[0032] Supervision loss part Among them, y true,i' is the credit score of the i'th scoring sample; y pred,i' is the predicted credit score of the i'th scoring sample; N is the total number of scoring samples;
[0033] The credit feedback loss is based on the predicted credit score y pred,i' ; y pred,i' As a condition, the risk level is divided according to the predetermined score range, and the applicant corresponding to the i'th score sample is approved or rejected accordingly;
[0034] After observing for a period of time, the actual behavior feedback of the applicant is recorded, and the data corresponding to the actual behavior feedback is encoded into a behavior score y behav,i' ;
[0035] Calculate the difference between the behavior score and the predicted credit score as the credit feedback loss part L feed ;
[0036] L feed =λ·|y behav,i' -y pred,i' |; where λ is the weight coefficient, belonging to [0, 1]; initially it is 1, and the model prediction is fully trusted;
[0037] Update λ according to the feedback loss increment, and the update formula is: δ·λ=η·L feed ; Where η is the learning rate and δ is the update parameter;
[0038] Loss function L = L sup +L feed .
[0039] Furthermore, the method of pre-processing personal information and visa application materials includes:
[0040] Clean personal information and visa application materials, remove invalid data and duplicate data; one-hot encode categorical or textual data in personal information and visa application materials, and standardize / normalize numerical data;
[0041] The construction method of the classification model based on the supervised learning algorithm includes:
[0042] Defining the underlying network architecture of the classification model; the underlying network architecture includes a convolutional neural network structure, a long short-term memory network structure, a feedforward neural network structure, and a fully connected classifier network structure;
[0043] The convolutional neural network structure includes word embedding layer, convolution layer, nonlinear activation layer and feature representation layer;
[0044] The long short-term memory network structure includes a behavior embedding layer, an attention weighted LSTM layer and a high-level feature representation layer;
[0045] Perform multimodal feature fusion on the pattern feature vector output by the convolutional neural network structure and the behavior feature vector output by the long short-term memory network structure;
[0046] The multimodal feature fusion method includes:
[0047] The feedforward neural network structure is used to calculate the correlation weight e'=tanh(W e ·[v text ;v behav ]+b e ), then pass through a linear layer W a Get the attention weight a of the pattern feature vector text and the attention weight a of the behavior feature vector behav ;
[0048] According to the corresponding attention weight, the control gate is used to control the fusion ratio of the mode feature vector and the behavior feature vector; the multimodal vector is obtained;
[0049] Multimodal vector v fused =Zx·(a text ·v text )+(1-Zx)·(a behav ·v behav );
[0050] Where Zx=σ(W z ·[a text ·v text ; a behav ·v behav ]+b z );
[0051] Where σ is the sigmoid activation function, W z is the trainable modal parameter; b z is the trainable modal bias parameter;
[0052] Input the multimodal vector into the fully connected classifier network structure and output the probability score of the applicant being approved for a visa;
[0053] Collect R group of historical visa application cases and their review results as original data; the original data includes applicants' personal information, visa application materials and reviewer's review opinions; divide the annotated original data into a probability training set and a probability verification set; preprocess the data in the probability training set and the probability verification set;
[0054] Define the loss function of the fully connected classifier network structure as the cross entropy loss function; use the probability training set to train the classification model; use the gradient descent optimization algorithm to minimize the function value of the cross entropy loss function; and continuously adjust the parameters in the classification model; use the probability verification set to verify the accuracy of the classification model, and save the classification model with the best accuracy as the completed classification model.
[0055] Furthermore, the word embedding layer constructs the encoded data into a word embedding vector sequence according to the original text order;
[0056] The convolution layer sets m one-dimensional convolution kernels with different window sizes; the convolution kernels slide in parallel on the word embedding sequence to perform convolution operations; and the feature mapping results are obtained;
[0057] The nonlinear activation layer applies a nonlinear activation function to the feature mapping results to extract the high-level patterns of the feature mapping results;
[0058] The pooling layer applies maximum pooling or average pooling on the high-level patterns of the feature mapping results to obtain low-feature dimension patterns; the feature representation layer concatenates the low-feature dimension patterns to obtain the pattern feature vector;
[0059] The behavior embedding layer encodes the standardized / normalized data according to the time step classification to form a behavior embedding vector sequence;
[0060] The attention-weighted LSTM layer introduces the attention mechanism based on the standard LSTM and calculates the attention weights of the behavior embedding vector sequence according to the time step;
[0061] The calculation formula of the attention weight is: In the formula, a t is the normalized attention weight at time step t; W w is the linear transformation parameter; b w is bias; V Tis the transpose of the trainable parameter V; h t is the hidden state vector at time step t;
[0062] Use a t For each time step h t Perform weighted summation to obtain the attention weighted hidden state representation S = ∑a of the behavior embedding vector sequence t ·h t ;
[0063] Introducing the monitoring loss term L attn =-∑a t ·ln(a t ); assign the hidden state vector of each time step to the corresponding attention weight to form a weighted hidden state representation;
[0064] The high-level feature representation layer includes a fully connected mapping inner layer, a nonlinear activation inner layer and a feature dimension expansion inner layer;
[0065] The inner layer of the fully connected map performs a high-order mapping on the attention-weighted hidden state representation to obtain high-order behavior pattern features;
[0066] The formula of the high-order mapping is: Z=W4·S+b'; wherein Z is the high-order behavior pattern feature; W4 is a trainable weight parameter; b' is a trainable bias parameter;
[0067] The nonlinear activation inner layer transforms Z through the nonlinear activation function Tanh function; obtains the high-level pattern features; the transformed Z is the behavioral feature vector; the feature dimension expansion inner layer sets the dimension expansion so that the dimension of the transformed Z is higher than S.
[0068] Furthermore, the optimal strategy model is constructed in the following manner:
[0069] Encode the applicant's personal information and the applicant's visa approval probability score into a state feature vector; define the state space as the set of all possible state feature vectors;
[0070] Define a set of approval actions for selection A = {a1, a2, a3}, where a1 indicates visa approval, a2 indicates visa rejection, and a3 indicates request for additional documents;
[0071] Define the environment state transition probability P(s"|s',a'), P(s"|s',a') represents the probability of the environment state transitioning to state s" when the approval action a' is executed under the current state feature vector s'; the state s" means that the approval is completed or waiting for supplementary materials;
[0072] The manner in which the environmental state is transferred is modeled by the rules of the visa approval process;
[0073] Define the linear combination reward and punishment function R(s',a') = w1 eff(s',a') + w2 sat(s',a'); where eff(s',a') is the system efficiency score, with a value of [0, 1]; sat(s',a') is the applicant satisfaction score, with a value of [0, 1]; w1 is the system weight coefficient; w2 is the satisfaction weight coefficient;
[0074] The policy gradient algorithm is used to interact with the state sequence, execute the approval behavior a' and observe the next state s" and the function value of the real-time linear combination reward and punishment function;
[0075] Define the policy function and value function; use temporal difference learning to update the policy and value function V'(s'); the policy function maps s' to a probability distribution, which represents the probability of selecting each approval behavior a' under s';
[0076] The value function V'(s') represents the expected cumulative reward that can be obtained by executing the policy function under s'; according to the value function, the policy function gradually converges to the optimal policy model.
[0077] Furthermore, the modeling process includes:
[0078] Define P(application approved | individual low risk, a' is approved visa) as high probability;
[0079] Define P(application rejection|personal high risk, a' is visa rejection) as high probability;
[0080] Define P(pending|personal information missing, a' is required supplementary materials) as high probability; simulate the state sequence that conforms to the real environment based on the environmental state transition probability;
[0081] The system efficiency score is obtained by:
[0082] When a' is a visa approval or visa rejection, eff(s',a') takes the value of 1; when a' is a request for additional documents, eff(s',a') takes the value of Calculation; where d' is the replenishment round; D' is the maximum number of replenishment rounds;
[0083] The applicant satisfaction score is obtained by:
[0084] When a' is a visa approval, sat(s',a') takes the maximum value of 1; when a' is a visa rejection, sat(s',a') is calculated according to 1-H'; where H' is the probability score of the applicant being approved for a visa; when a' is a request for additional materials, sat(s',a') is calculated according to calculate.
[0085] Furthermore, the method of notifying the applicant and the examiner of the application result includes:
[0086] For applicants, the latest application approval results are displayed in the form of text and icons through their personal account pages or mobile applications; and the applicants are notified of the results by email or text message;
[0087] For examiners, in the list of their work interface, the application forms for which application action results have been generated are marked with colors or labels; and the application action results are displayed in text form;
[0088] For special types of visas, the application results will be announced online; a special column for the announcement of application results will be opened on the official website or other platforms to announce the application results.
[0089] Technical effects and advantages of the visa automation management system based on machine learning of the present invention:
[0090] By automatically evaluating applicants' information and materials through machine learning algorithms, the efficiency of visa approval has been greatly improved and labor costs have been reduced. Secondly, by utilizing multimodal feature fusion technology, the applicants' text information, behavioral information and other multi-dimensional data are comprehensively mined to improve the objectivity and fairness of approval. In addition, the optimal strategy model based on reinforcement learning can make approval decisions independently according to the evaluation results, thus improving the quality of approval. The actual feedback behavior of applicants is introduced into model training to achieve continuous optimization of the model's decision-making ability. In addition, a social credit scoring system has been constructed to rationally use information from public channels to evaluate the credit level of applicants, providing strong support for approval decisions. In general, the automation, objectivity and efficiency of visa approval have been achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] Figure 1 A schematic diagram of a visa automation management system based on machine learning according to the present invention;
[0092] Figure 2 A schematic diagram of a visa automation management method based on machine learning according to the present invention;
[0093] Figure 3 It is a schematic diagram of an electronic device of the present invention. DETAILED DESCRIPTION
[0094] 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.
[0095] Example 1
[0096] See also Figure 1 As shown, the visa automation management system based on machine learning described in this embodiment includes: a data input module for receiving personal information and visa application materials of a visa applicant;
[0097] The machine learning model training module pre-processes personal information and visa application materials and inputs them into a pre-trained classification model based on a supervised learning algorithm to obtain the applicant's visa approval probability score;
[0098] The application processing module uses personal information and the predicted probability score of the applicant being granted a visa as state input into the optimal strategy model based on the reinforcement learning algorithm and outputs the application behavior results;
[0099] The user interface module is used to display the application behavior results to the applicant and the examiner; each module is connected by wired and / or wireless means to realize data transmission between modules.
[0100] Furthermore, the personal information includes identity information, educational background and professional experience; the visa application materials include applicant materials and system matching materials;
[0101] The applicant materials include passport validity, application purpose, destination country and health status; the system matching materials include social credit score and applicant's economic status;
[0102] The identity information includes name, date of birth, nationality, marital status and city; the educational background includes academic qualifications, major and university of graduation; professional experience includes work unit, position and years of work; the applicant's financial status includes monthly income, assets and bank statements;
[0103] The social credit score is obtained by:
[0104] Using web crawler technology, legally crawl the applicant's behavior data from the applicant's social media accounts (such as Facebook, Twitter, Weibo, etc.), online shopping platform accounts (such as Amazon, Taobao, etc.), review websites (such as Yelp, Dianping, etc.), and public channels of credit list websites; the behavior data includes behavior feature data and comment information;
[0105] The behavioral characteristic data includes social media behavior, online shopping behavior, review behavior, and website browsing behavior;
[0106] The social media behaviors described include posting frequency, number of likes, number of comments, number of reposts, and number of friends;
[0107] The online shopping behavior includes purchase frequency, types of goods purchased, price range and order time;
[0108] The review behavior includes the number of reviews, review word tendency (positive / negative), number of likes, number of replies, and types of businesses / services reviewed; the website browsing behavior includes visit frequency, length of stay, and types of pages browsed (news, forums, videos);
[0109] The review information includes social media reviews, online shopping platform reviews and review website reviews; social media reviews include text reviews, picture reviews and video reviews posted on one’s own account, comments on other people’s content and the emotional tendency of the reviews (positive, negative); online shopping platform reviews include descriptive reviews of purchased goods, evaluations of sellers’ services and score ratings; review website reviews include evaluations of merchant service quality, comments on the environment, hygiene, prices and overall satisfaction;
[0110] Preprocessing the behavior data to convert the behavior data into a structured data set; the preprocessing includes cleaning, deduplication and formatting;
[0111] Collect historical behavioral data of n natural persons, perform data preprocessing on each behavioral data, obtain preprocessed behavioral data, manually label the preprocessed behavioral data with credit scores, and the n preprocessed behavioral data with credit scores constitute a training data set; the data in the training data set is the sample;
[0112] The training data set is screened using the chi-square test method to exclude redundant and irrelevant features, and the scoring data set is obtained;
[0113] The method of screening the training data set includes:
[0114] Take the behavioral data as features and the social credit score as the target variable; construct a contingency table of features and target variables; construct a contingency table of r rows and c columns by rows and columns for the values of features and target variables; each cell in the table records the number of samples of the corresponding value combination;
[0115] Calculate the expected number of cells under the assumption that the features and target variables are independent of each other Where W1 is the row total; W2 is the column total; W is the total number of samples; calculate the chi-square statistic The chi-square statistic reflects the degree of deviation between the observed value and the expected value; ij represents the number of actual observed samples of the value of the i-th feature and the value of the j-th target variable; Q ij It represents the expected number of samples for the value of the i-th feature and the value of the j-th target variable under the assumption that the features and target variables are independent;
[0116] The row total is the total number of samples in the i-th row, the column total is the total number of samples in the j-th column, and the total number of samples is the total number of samples in the entire table;
[0117] Calculate the degrees of freedom df = (r-1) × (c-1);
[0118] Given the degrees of freedom and significance level (usually 0.05), query the corresponding critical value in the chi-square distribution table;
[0119] If the chi-square statistic is greater than the critical value, the feature is related to the target variable; if the chi-square statistic is less than or equal to the critical value, the feature is independent of the target variable;
[0120] Sort the chi-square statistics of all features from large to small; select the top K features, and filter out the remaining features;
[0121] Divide the scoring data set into a scoring training set and a scoring validation set. The specific division ratio can be determined according to the actual situation, such as 80% scoring training set and 20% scoring validation set. Use the data in the scoring training set as scoring samples.
[0122] One-hot encode categorical or textual behavior data and standardize / normalize numerical features;
[0123] Constructing a basic framework of a scoring regression model and initializing hyperparameters of the scoring regression model to obtain an initial scoring regression model; the basic framework of the scoring regression model is any one of logistic regression, decision tree, random forest, gradient boosting tree, support vector machine or deep neural network;
[0124] Initialize the scoring regression model by defining the loss function, choosing the activation function, and applying optimizer search to determine the hyperparameters;
[0125] The loss function includes a supervision loss part and a credit feedback loss part; the activation function selects the Sigmoid activation function, and the optimizer adopts the Adagrad optimizer;
[0126] Supervision loss part Among them, y true,i' is the credit score of the i'th scoring sample; y pred,i' is the predicted credit score of the i'th scoring sample; N is the total number of scoring samples;
[0127] The credit feedback loss is based on the predicted credit score y pred,i' ; y pred,i' As a condition, the risk level is divided according to the predetermined score range, and the corresponding approval or rejection strategy is executed for the applicant corresponding to the i'th scoring sample;
[0128] After observing for a period of time, the actual behavior feedback of the applicant is recorded, and the data corresponding to the actual behavior feedback is encoded into a behavior score y behav,i' ;
[0129] Calculate the difference between the behavior score and the predicted credit score as the credit feedback loss part L feed ;
[0130] L feed =λ·|y behav,i' -y pred,i' |; where λ is the weight coefficient, belonging to [0, 1]; initially it is 1, and the model prediction is fully trusted;
[0131] Update λ according to the feedback loss increment, and the update formula is: δ·λ=η·L feed ; Where η is the learning rate, δ is the update parameter; L feed The larger it is, the faster λ decreases, and the model pays more attention to actual feedback;
[0132] Loss function L = L sup +L feed ;
[0133] Divide the scoring training set into batches, input the initial scoring regression model by batch, and record the function value of the loss function; when the function value of the loss function obtained for p consecutive batches no longer decreases, save the initial scoring regression model obtained at this time and the previous b batches; the value of b is less than the value of p;
[0134] Use the validation set to evaluate the model effects of the saved b+1 initial scoring regression models; use the initial scoring regression model with the best model effect as the trained scoring regression model; the evaluation model effect can be obtained through accuracy, precision or F1;
[0135] The obtained behavioral data of applicants are screened to obtain real-time data; the real-time data is input into the trained scoring regression model, and the output credit score is the social credit score.
[0136] Furthermore, the method of pre-processing personal information and visa application materials includes:
[0137] Clean personal information and visa application materials, remove invalid data and duplicate data; one-hot encode categorical or textual data in personal information and visa application materials, and standardize / normalize numerical data;
[0138] The construction method of the classification model based on the supervised learning algorithm includes:
[0139] Defining the underlying network architecture of the classification model; the underlying network architecture includes a convolutional neural network structure, a long short-term memory network structure, a feedforward neural network structure, and a fully connected classifier network structure;
[0140] The convolutional neural network structure includes word embedding layer, convolution layer, nonlinear activation layer and feature representation layer;
[0141] The word embedding layer constructs the encoded data into a word embedding vector sequence according to the original text order;
[0142] The convolution layer sets m one-dimensional convolution kernels with different window sizes (such as 3, 4, and 5); the convolution kernels slide in parallel on the word embedding sequence to perform convolution operations; the feature mapping results are obtained; each convolution kernel can be regarded as a pattern detector with different semantic granularity; the small window kernel captures the semantic features at the word level, such as phrases and modifying semantics; the large window kernel captures the semantic features at the phrase level, such as themes and emotional tendencies;
[0143] The nonlinear activation layer applies a nonlinear activation function (such as ReLU) to the feature mapping results to extract the high-level patterns of the feature mapping results;
[0144] The pooling layer applies maximum pooling or average pooling on the high-level pattern of the feature mapping results to obtain a low feature dimension pattern, alleviating the risk of overfitting;
[0145] The feature representation layer concatenates low feature dimension patterns to obtain pattern feature vectors; the pattern feature vectors comprehensively describe the patterns of text at different semantic granularities;
[0146] The long short-term memory network structure includes a behavior embedding layer, an attention weighted LSTM layer and a high-level feature representation layer;
[0147] The behavior embedding layer encodes the standardized / normalized data according to the time step classification to form a behavior embedding vector sequence;
[0148] The attention-weighted LSTM layer introduces the attention mechanism based on the standard LSTM and calculates the attention weight of each behavior embedding vector sequence according to the time step;
[0149] The calculation formula of the attention weight is: In the formula, a t is the normalized attention weight at time step t; W w is the linear transformation parameter; b w is bias; V T is the transpose of the trainable parameter V, used to calculate the original score of attention; h t is the hidden state vector at time step t; the hidden state vector is the hidden state of the vector in the behavior embedding vector sequence;
[0150] Use a t For each time step h t Perform weighted summation to obtain the attention weighted hidden state representation S = ∑a of the behavior embedding vector sequence t ·h t ;
[0151] In this process, in order to enable the long short-term memory network structure to actively learn and allocate reasonable attention weights, the monitoring loss term L is introduced. attn =-∑a t ·ln(a t ); The smaller the monitoring loss term, the more parallax and identifiability the attention distribution at has;
[0152] The hidden state vector of each time step is assigned a corresponding attention weight. The attention weight can adaptively learn the importance assigned to different behaviors, form a weighted hidden state representation, and highlight the key behaviors with great influence.
[0153] The high-level feature representation layer includes a fully connected mapping inner layer, a nonlinear activation inner layer and a feature dimension expansion inner layer;
[0154] The fully connected mapping inner layer performs high-order mapping on the weighted hidden state representation to obtain high-order behavior pattern features;
[0155] The formula of the high-order mapping is: Z = W4·S + b'; where Z is the high-order behavior pattern feature; W4 is a trainable weight parameter; b' is a trainable bias parameter; the inner layer of the fully connected mapping can linearly combine and re-encode S to extract potential high-order behavior pattern features;
[0156] The nonlinear activation inner layer transforms Z through the nonlinear activation function Tanh function to obtain high-level pattern features; nonlinear activation gives the network the ability to extract complex nonlinear mapping relationships; the transformed Z is the behavioral feature vector;
[0157] The inner layer of feature dimension expansion sets the dimension expansion so that the transformed Z dimension is higher than S; the high dimension has stronger representation ability and can describe more abstract and complex behavior patterns;
[0158] Perform multimodal feature fusion on the pattern feature vector output by the convolutional neural network structure and the behavior feature vector output by the long short-term memory network structure;
[0159] The multimodal feature fusion method includes:
[0160] The feedforward neural network structure is used to calculate the correlation weight e'=tanh(W e ·[v text ;vbehav ]+b e ), then pass through a linear layer W a Get the attention weight a of the pattern feature vector text and the attention weight a of the behavior feature vector behav ;
[0161] According to the corresponding attention weight, the control gate is used to control the fusion ratio of the mode feature vector and the behavior feature vector; the final multimodal vector is obtained;
[0162] Multimodal vector v fused =Zx·(a text ·v text )+(1-Zx)·(a behav ·v behav );
[0163] Where Zx=σ(W z ·[a text ·v text ; a behav ·v behav ]+b z );
[0164] Where σ is the sigmoid activation function, W z is the trainable modal parameter; b z is the trainable modal bias parameter;
[0165] Input the multimodal vector into the fully connected classifier network structure and output the probability score of the applicant being approved for a visa;
[0166] Collect R group of historical visa application cases and their review results as raw data; the raw data includes the applicant's personal information, visa application materials and reviewer's review opinions; remove sensitive information in the raw data to ensure data security and privacy; the reviewer's review opinions are used to manually annotate the review results of historical visa application cases and do not participate in the input of the classification model; manual annotation includes but is not limited to approval, rejection and materials to be supplemented;
[0167] Divide the labeled original data into a probability training set and a probability verification set; ensure that the probability training set and the probability verification set have consistent distributions to avoid data offset; preprocess the data in the probability training set and the probability verification set;
[0168] Define the loss function of the fully connected classifier network structure as the cross entropy loss function; use the probability training set to train the classification model; use the gradient descent optimization algorithm to minimize the function value of the cross entropy loss function; and continuously adjust the parameters in the classification model; use the probability verification set to verify the accuracy of the classification model, and save the classification model with the best accuracy as the completed classification model;
[0169] During the training process, the model will learn to output accurate visa classification results, and at the same time, it will promote the two major modal features of text and behavior to be closer and more coordinated in representation, thereby enhancing the model's comprehensive grasp and discrimination capabilities for multimodal signals.
[0170] Furthermore, the optimal strategy model is constructed in the following manner:
[0171] Encode the applicant's personal information and the applicant's visa approval probability score into a state feature vector; define the state space as the set of all possible state feature vectors;
[0172] Define a set of selectable approval actions A = {a1, a2, a3}, where a1 means "visa approval", a2 means "visa rejection", and a3 means "request for additional materials";
[0173] Define the environment state transition probability P(s"|s',a'), P(s"|s',a') represents the probability of the environment state transitioning to state s" when the approval action a' is executed under the current state feature vector s'; the state s" means that the approval is completed or waiting for supplementary materials;
[0174] The manner in which the environmental state is transferred is modeled by the rules of the visa approval process;
[0175] The modeling process includes:
[0176] Define P(application approved | individual low risk, a' is approved visa) as high probability;
[0177] Define P(application rejection|personal high risk, a' is visa rejection) as high probability;
[0178] Define P(pending|personal information missing, a' is required supplementary materials) as high probability; simulate the state sequence that conforms to the real environment based on the environmental state transition probability;
[0179] The application approval, application rejection, waiting for supplement, individual low risk, individual high risk and missing personal information are all within the rules of the visa approval process;
[0180] Define the linear combination reward and punishment function R(s',a') = w1 eff(s',a') + w2 sat(s',a'); where eff(s',a') is the system efficiency score, with a value of [0, 1]; sat(s',a') is the applicant satisfaction score, with a value of [0, 1]; w1 is the system weight coefficient; w2 is the satisfaction weight coefficient; w1 and w2 are determined according to actual needs;
[0181] When a' is visa approval or visa rejection, eff(s',a') takes the maximum value of 1 (high approval efficiency); when a' is a request for additional materials, eff(s',a') is calculated according to Calculation; where d' is the supplementary round; D' is the maximum supplementary round calculation; the supplementary round refers to the number of times the applicant is required to provide additional materials or information during the approval process; the maximum supplementary round is the maximum number of times the applicant can provide additional materials or information allowed by the system;
[0182] When a' is a visa approval, sat(s',a') takes the maximum value of 1; when a' is a visa rejection, sat(s',a') is calculated as 1-H'; where H' is the probability score of the applicant being approved for a visa;
[0183] When a' is a required supplementary material, sat(s',a') is calculated according to calculate;
[0184] The policy gradient algorithm is used to interact with the state sequence, execute the approval behavior a' and observe the next state s" and the function value of the real-time linear combination reward and punishment function;
[0185] Define the policy function and value function; use temporal difference learning to update the policy and value function V'(s'); the policy function maps s' to a probability distribution, which represents the probability of selecting each approval behavior a' under s';
[0186] The value function V'(s') represents the expected cumulative reward that can be obtained by executing the policy function under s'; according to the value function, the policy function gradually converges to the optimal policy model; maximize the expected cumulative reward under all s'; for each application to be reviewed, the state feature vector is input into the optimal policy model; the optimal policy model will output a decision on the approval behavior, guiding the approval of the visa, the rejection of the visa, or the request for additional materials;
[0187] The application results include visa approval, visa rejection or request for additional documents;
[0188] Furthermore, the method of notifying the applicant and the examiner of the application result includes:
[0189] For applicants, the latest application approval results are displayed in the form of text and icons through their personal account pages or mobile applications; and the applicants are notified of the results by email or text message;
[0190] For examiners, in the list of their work interface, the application forms for which application action results have been generated are marked with colors or labels; and the application action results are displayed in text form;
[0191] For special types of visas, the application results will be announced online; a special column for the announcement of application results will be opened on the official website or other platforms to announce the application results.
[0192] In this embodiment, the applicant's information and materials are automatically evaluated through machine learning algorithms, which greatly improves the efficiency of visa approval and reduces labor costs. Secondly, multimodal feature fusion technology is used to comprehensively mine the applicant's text information, behavioral information and other multi-dimensional data, thereby improving the objectivity and fairness of the approval. In addition, the optimal strategy model based on reinforcement learning can independently make approval decisions based on the evaluation results, thereby improving the quality of approval. The actual feedback behavior of the applicant is introduced into the model training, thereby achieving continuous optimization of the model's decision-making ability. In addition, a social credit scoring system is also constructed, which reasonably uses information from public channels to evaluate the applicant's credit level and provide strong support for approval decisions. In general, the automation, objectivity and efficiency of visa approval are achieved.
[0193] Example 2
[0194] See also Figure 2 As shown, the part not described in detail in this embodiment is described in Example 1, which provides a visa automation management method based on machine learning, including:
[0195] S1. Receive the visa applicant’s personal information and visa application materials;
[0196] S2. Pre-process the personal information and visa application materials and input them into a pre-trained classification model based on a supervised learning algorithm to obtain the applicant's visa approval probability score;
[0197] S3, using personal information and the predicted probability score of the applicant being granted a visa as state input into the optimal strategy model based on the reinforcement learning algorithm, and outputting the application behavior result;
[0198] S4. Notify the applicant and examiner of the results of the application.
[0199] Example 3
[0200] See also Figure 3 As shown, this embodiment discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the operation mode of the above-mentioned automatic visa management method based on machine learning is implemented.
[0201] Since the electronic device introduced in this embodiment is an electronic device used to implement a visa automation management method based on machine learning in the embodiment of this application, based on the visa automation management method based on machine learning introduced in the embodiment of this application, the technical personnel of this field can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of this application is not described in detail here. As long as the technical personnel of this field implement the electronic device used in the visa automation management method based on machine learning in the embodiment of this application, it belongs to the scope of protection of this application.
[0202] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.
[0203] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technical users in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A visa automation management system based on machine learning, characterized in that: include: Data input module, used to receive visa applicants’ personal information and visa application materials; The machine learning model training module pre-processes personal information and visa application materials and inputs them into a pre-trained classification model based on a supervised learning algorithm to obtain the applicant's visa approval probability score; The application processing module uses personal information and the predicted probability score of the applicant being granted a visa as state input into the optimal strategy model based on the reinforcement learning algorithm and outputs the application behavior results; Notification module, used to notify applicants and examiners of application results; each module is connected by wired and / or wireless means to achieve data transmission between modules; The personal information includes identity information, educational background and professional experience; the visa application materials include applicant materials and system matching materials; The applicant materials include passport validity, application purpose, destination country and health status; the system matching materials include social credit score and applicant's economic status; The identity information includes name, date of birth, nationality, marital status and city; the educational background includes academic qualifications, major and university of graduation; professional experience includes work unit, position and years of work; the applicant's financial status includes monthly income, assets and bank statements; the application results include visa approval, visa rejection or request for additional documents; The social credit score is obtained by: Using web crawler technology to legally crawl the applicant's behavior data from the applicant's social media accounts, online shopping platform accounts, review websites, or public channels on credit list websites; the behavior data includes behavior feature data and comment information; Preprocessing the behavior data to convert the behavior data into a structured data set; the preprocessing includes cleaning, deduplication and formatting; Collect historical behavioral data of n natural persons, perform data preprocessing on each behavioral data, obtain preprocessed behavioral data, manually label the preprocessed behavioral data with credit scores, and the n preprocessed behavioral data with credit scores constitute a training data set; the data in the training data set is the sample; The training data set is screened using the chi-square test method to obtain the scoring data set; The scoring data set is divided into a scoring training set and a scoring validation set; the data in the scoring training set is used as a scoring sample; One-hot encode categorical or textual behavior data and standardize / normalize numerical features; Constructing a basic framework of a scoring regression model and initializing hyperparameters of the scoring regression model to obtain an initial scoring regression model; the basic framework of the scoring regression model is any one of logistic regression, decision tree, random forest, gradient boosting tree, support vector machine or deep neural network; Initialize the scoring regression model by defining the loss function, choosing the activation function, and applying optimizer search to determine the hyperparameters; Divide the scoring training set into batches, input the initial scoring regression model by batch, and record the function value of the loss function; when the function value of the loss function obtained for p consecutive batches no longer decreases, save the initial scoring regression model obtained at this time and the previous b batches; Use the validation set to evaluate the model effects of the saved b+1 initial scoring regression models; use the initial scoring regression model with the best model effect as the trained scoring regression model; The obtained behavioral data of the applicant is screened to obtain real-time data; the real-time data is input into the trained scoring regression model, and the output credit score is the social credit score; The method of screening the training data set includes: Take the behavioral data as features and the social credit score as the target variable; construct a contingency table of features and target variables; construct a contingency table of r rows and c columns by rows and columns for the values of features and target variables; each cell in the table records the number of samples of the corresponding value combination; Calculate the expected number of cells under the assumption that the features and target variables are independent of each other Where W1 is the row total; W2 is the column total; W is the total number of samples; calculate the chi-square statistic The chi-square statistic reflects the degree of deviation between the observed value and the expected value; ij represents the number of actual observed samples of the value of the i-th feature and the value of the j-th target variable; Q ij It represents the expected number of samples for the value of the i-th feature and the value of the j-th target variable under the assumption that the features and target variables are independent; The row total is the total number of samples in the i-th row, the column total is the total number of samples in the j-th column, and the total number of samples is the total number of samples in the entire table; Calculate the degrees of freedom df = (r-1) × (c-1); Given the degrees of freedom and significance level; query the corresponding critical value in the chi-square distribution table; if the chi-square statistic is greater than the critical value, the feature is related to the target variable; if the chi-square statistic is less than or equal to the critical value, the feature is independent of the target variable; The chi-square statistics of all features are sorted from large to small; the top K features are selected and the remaining features are filtered out.
2. The automatic visa management system based on machine learning according to claim 1, characterized in that: The loss function includes a supervision loss part and a credit feedback loss part; the activation function selects the Sigmoid activation function, and the optimizer adopts the Adagrad optimizer; Supervision loss part Among them, y true,i' is the credit score of the i'th scoring sample; y pred,i' is the predicted credit score of the i'th scoring sample; N is the total number of scoring samples; The credit feedback loss is based on the predicted credit score y pred,i' ; y pred,i' As a condition, the risk level is divided according to the predetermined score range, and the applicant corresponding to the i'th score sample is approved or rejected accordingly; After observing for a period of time, the actual behavior feedback of the applicant is recorded, and the data corresponding to the actual behavior feedback is encoded into a behavior score y behav,i' ; Calculate the difference between the behavior score and the predicted credit score as the credit feedback loss part L feed ; L feed =λ·|y behav,i' -y pred,i' |; where λ is the weight coefficient, belonging to [0, 1]; initially it is 1, and the model prediction is fully trusted; Update λ according to the feedback loss increment, and the update formula is: δ·λ=η·L feed ; Where η is the learning rate and δ is the update parameter; Loss function L = L sup +L feed .
3. The visa automation management system based on machine learning according to claim 2, characterized in that: The methods of pre-processing personal information and visa application materials include: Clean personal information and visa application materials, remove invalid data and duplicate data; one-hot encode categorical or textual data in personal information and visa application materials, and standardize / normalize numerical data; The construction method of the classification model based on the supervised learning algorithm includes: Defining the underlying network architecture of the classification model; the underlying network architecture includes a convolutional neural network structure, a long short-term memory network structure, a feedforward neural network structure, and a fully connected classifier network structure; The convolutional neural network structure includes word embedding layer, convolution layer, nonlinear activation layer and feature representation layer; The long short-term memory network structure includes a behavior embedding layer, an attention weighted LSTM layer and a high-level feature representation layer; Perform multimodal feature fusion on the pattern feature vector output by the convolutional neural network structure and the behavior feature vector output by the long short-term memory network structure; The multimodal feature fusion method includes: The feedforward neural network structure is used to calculate the correlation weight e'=tanh(W e ·[v text ;v behav ]+b e ), and then pass through the linear layer W a Get the attention weight a of the pattern feature vector text and the attention weight a of the behavior feature vector behav ; According to the corresponding attention weight, a control gate is used to control the fusion ratio of the mode feature vector and the behavior feature vector to obtain a multimodal vector; Multimodal vector v fused =Zx·(a text ·v text )+(1-Zx)·(a behav ·v behav ); where, Zx = σ(W z ·[a text ·v text ; a behav ·v behav +b z ); Where σ is the sigmoid activation function, W z is the trainable modal parameter; b z is the trainable modal bias parameter; Input the multimodal vector into the fully connected classifier network structure and output the probability score of the applicant being approved for a visa; Collect R group of historical visa application cases and their review results as original data; the original data includes applicants' personal information, visa application materials and reviewer's review opinions; divide the annotated original data into a probability training set and a probability verification set; preprocess the data in the probability training set and the probability verification set; Define the loss function of the fully connected classifier network structure as the cross entropy loss function; use the probability training set to train the classification model; use the gradient descent optimization algorithm to minimize the function value of the cross entropy loss function; and continuously adjust the parameters in the classification model; use the probability verification set to verify the accuracy of the classification model, and save the classification model with the best accuracy as the completed classification model.
4. The visa automation management system based on machine learning according to claim 3, characterized in that: The word embedding layer constructs the encoded data into a word embedding vector sequence according to the original text order; The convolution layer sets m one-dimensional convolution kernels with different window sizes; the convolution kernels slide in parallel on the word embedding sequence to perform convolution operations; Get the feature mapping result; The nonlinear activation layer applies a nonlinear activation function to the feature mapping results to extract the high-level patterns of the feature mapping results; The pooling layer applies maximum pooling or average pooling on the high-level patterns of the feature mapping results to obtain low-feature dimension patterns; the feature representation layer concatenates the low-feature dimension patterns to obtain the pattern feature vector; The behavior embedding layer encodes the standardized / normalized data according to the time step classification to form a behavior embedding vector sequence; The attention-weighted LSTM layer introduces the attention mechanism based on the standard LSTM and calculates the attention weights of the behavior embedding vector sequence according to the time step; The calculation formula of the attention weight is: In the formula, a t is the normalized attention weight at time step t; W w is the linear transformation parameter; b w is bias; V T is the transpose of the trainable parameter V; h t is the hidden state vector at time step t; Use a t For each time step h t Perform weighted summation to obtain the attention weighted hidden state representation S = ∑a of the behavior embedding vector sequence t ·h t ; Introducing the monitoring loss term L attn =-∑a t ·ln(a t ); assign the hidden state vector of each time step to the corresponding attention weight to form a weighted hidden state representation; The high-level feature representation layer includes a fully connected mapping inner layer, a nonlinear activation inner layer and a feature dimension expansion inner layer; The inner layer of the fully connected map performs a high-order mapping on the attention-weighted hidden state representation to obtain high-order behavior pattern features; The formula of the high-order mapping is: Z = W4·S + b'; wherein Z is the high-order behavior pattern feature; W4 is a trainable weight parameter; b' is a trainable bias parameter; The nonlinear activation inner layer transforms Z through the nonlinear activation function Tanh function; obtains the high-level pattern features; the transformed Z is the behavioral feature vector; the feature dimension expansion inner layer sets the dimension expansion so that the dimension of the transformed Z is higher than S.
5. The visa automation management system based on machine learning according to claim 4, characterized in that: The optimal strategy model is constructed in the following ways: Encode the applicant's personal information and the applicant's visa approval probability score into a state feature vector; define the state space as the set of all possible state feature vectors; Define a set of approval actions for selection A = {a1, a2, a3}, where a1 indicates visa approval, a2 indicates visa rejection, and a3 indicates request for additional documents; Define the environment state transition probability P(s"|s',a'), P(s"|s',a') represents the probability of the environment state transitioning to state s" when the approval action a' is executed under the current state feature vector s'; the state s" means that the approval is completed or waiting for supplementary materials; The manner in which the environmental state is transferred is modeled by the rules of the visa approval process; Define the linear combination reward and punishment function R(s',a') = w1 eff(s',a') + w2 sat(s',a'); where eff(s',a') is the system efficiency score, with a value of [0, 1]; sat(s',a') is the applicant satisfaction score, with a value of [0, 1]; w1 is the system weight coefficient; w2 is the satisfaction weight coefficient; The policy gradient algorithm is used to interact with the state sequence, execute the approval behavior a' and observe the next state s" and the function value of the real-time linear combination reward and punishment function; Define the policy function and value function; use temporal difference learning to update the policy and value function V'(s'); the policy function maps s' to a probability distribution, which represents the probability of selecting each approval behavior a' under s'; The value function V'(s') represents the expected cumulative reward that can be obtained by executing the policy function under s'; according to the value function, the policy function gradually converges to the optimal policy model.
6. The visa automation management system based on machine learning according to claim 5, characterized in that: The modeling process includes: Define P(application approved | individual low risk, a' is approved visa) as high probability; Define P(application rejection|personal high risk, a' is visa rejection) as high probability; Define P(pending|personal information missing, a' is required supplementary materials) as high probability; simulate the state sequence that conforms to the real environment based on the environmental state transition probability; The system efficiency score is obtained by: When a' is a visa approval or visa rejection, eff(s',a') takes the value of 1; when a' is a request for additional documents, eff(s',a') takes the value of Calculation; where d' is the replenishment round; D' is the maximum number of replenishment rounds; The applicant satisfaction score is obtained by: When a' is a visa approval, sat(s',a') takes the maximum value of 1; when a' is a visa rejection, sat(s',a') is calculated according to 1-H'; where H' is the probability score of the applicant being approved for a visa; when a' is a request for additional materials, sat(s',a') is calculated according to calculate.
7. The automatic visa management system based on machine learning according to claim 6, characterized in that: The methods of notifying the applicant and examiner of the results of the application action include: For applicants, the latest application approval results will be displayed in the form of text or icons through their personal account pages or mobile applications; applicants will be notified of the results by email or SMS; For examiners, in the list of their work interface, the application forms for which application action results have been generated are marked with colors or labels; and the application action results are displayed in text form; For special types of visas, the application results will be announced online; a special column for the announcement of application results will be opened on the official website or other platforms to announce the application results.
