Model training method, post information pushing method and device and computer equipment
By constructing job search behavior vectors and job coding features and training job matching models, it solves the problem of difficult processing of complex relationships in traditional job matching, improves matching accuracy and efficiency, and meets job search and recruitment needs.
Patent Information
- Application Number
- CN202410310396.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2024-09-17
AI Technical Summary
Traditional job-job matching methods cannot effectively handle the complex relationship between job seekers and jobs, resulting in low matching accuracy and inability to meet the needs of enterprises and job seekers.
By obtaining the job search behavior data and job data of job seekers, we build job search behavior vectors and job coding features, train job matching models, integrate job search intentions, personalized behaviors and job requirements, and improve matching accuracy.
It achieves more accurate matching of job seekers and job information, improves recruitment and job search efficiency, reduces labor costs, and enhances the accuracy and efficiency of matching.
Smart Images

Figure CN118657500A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a model training method, a job information push method, an apparatus, a computer device, a storage medium and a computer program product. Background Art
[0002] With the progress of society, the demand for recruitment and job hunting is increasing, and the classification of recruitment positions is becoming more and more refined. The traditional manual collection, registration and screening of resume information submitted by job seekers can no longer meet the needs of many companies for talent information collection. Therefore, the introduction of automated and intelligent job matching methods is needed to improve the efficiency of job matching and reduce labor costs.
[0003] Traditional job-person matching usually characterizes the matching degree between job seekers and positions based on the keyword matching between job seekers and job requirements. However, traditional job-person matching cannot handle the complex relationship between job seekers and positions, and cannot guarantee the accuracy of job-person matching. Summary of the invention
[0004] Based on this, it is necessary to provide a model training method, job information push method, device, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy of person-job matching in response to the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a model training method. The method comprises:
[0006] Acquire training sample data, wherein the training sample data includes job-seeking behavior data and sample job data of job seekers; the job-seeking behavior data includes intention-related behavior data and ordered behavior sequences;
[0007] Constructing a job-seeking behavior vector based on the job-seeking behavior data;
[0008] Based on the job-seeking behavior vector and the intention-associated behavior data, obtaining intention representation information;
[0009] Extracting features from the ordered behavior sequence to obtain behavior coding features; extracting features from the sample job data to obtain sample job coding features;
[0010] A job matching model is trained based on the intention representation information, the behavior coding features, and the sample job coding features.
[0011] In a second aspect, the present application also provides a model training device. The device comprises:
[0012] A training data acquisition module is used to acquire training sample data, wherein the training sample data includes job-seeking behavior data and sample job data of job seekers; the job-seeking behavior data includes intention-related behavior data and ordered behavior sequences;
[0013] A feature vector construction module, used to construct a job-seeking behavior vector based on the job-seeking behavior data;
[0014] an intention expression determination module, configured to obtain intention expression information based on the job-seeking behavior vector and the intention-associated behavior data;
[0015] A coding module is used to extract features from the ordered behavior sequence to obtain behavior coding features; extract features from the sample job data to obtain sample job coding features;
[0016] A matching model training module is used to train a job matching model based on the intention representation information, the behavior coding features, and the sample job coding features.
[0017] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps described in the above model training method when executing the computer program.
[0018] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps described in the above-mentioned model training method are implemented.
[0019] In a fifth aspect, the present application also provides a computer program product, which includes a computer program that implements the steps of the above-mentioned model training method when executed by a processor.
[0020] The above-mentioned model training method, device, computer equipment, storage medium and computer program product obtain training sample data, the training sample data includes job-seeking behavior data and sample job data of job seekers, the job-seeking behavior data includes intention-related behavior data and ordered behavior sequences, constructs a job-seeking behavior vector based on the job-seeking behavior data, obtains intention representation information based on the job-seeking behavior vector and the intention-related behavior data, extracts features from the ordered behavior sequence to obtain behavior coding features, extracts features from the sample job data to obtain sample job coding features, and trains a job matching model based on the intention representation information, behavior coding features and sample job coding features. That is, in the model training process, the job-seeking intention, personalized behavior and job requirements and other features are fully integrated, so that the trained model can match job seekers and sample job data from multiple dimensions, and can handle the complex relationship between job seekers and job information during the matching process, thereby improving the matching accuracy between job seekers and job information.
[0021] In a sixth aspect, the present application provides a method for pushing job information. The method comprises:
[0022] Obtain the job data of the jobs to be pushed and the job-seeking behavior data of the target objects;
[0023] Inputting the job data of the job to be pushed and the job-seeking behavior data of the target object into a target job matching model to obtain the job matching degree between the target object and the job to be pushed; the target job matching model is trained based on the above-mentioned model training method;
[0024] Based on the job matching degree, job information of a target job to be pushed to the target object is determined from the jobs to be pushed.
[0025] In a seventh aspect, the present application also provides a job information push device. The device comprises:
[0026] A data acquisition module is used to acquire the job data of the job to be pushed and the job-seeking behavior data of the target object;
[0027] A job matching module is used to input the job data of the job to be pushed and the job-seeking behavior data of the target object into a target job matching model to obtain the job matching degree between the target object and the job to be pushed; the target job matching model is trained based on the above-mentioned model training method;
[0028] The information push module is used to determine the job information of the target job to be pushed to the target object from the jobs to be pushed based on the job matching degree.
[0029] In an eighth aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above-mentioned job information push method are implemented.
[0030] In a ninth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned job information push method are implemented.
[0031] In a tenth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps described in the above-mentioned job information push method are implemented.
[0032] The above-mentioned job information pushing method, device, computer equipment, storage medium and computer program product obtain the job data of the job to be pushed and the job-seeking behavior data of the target object, input the job data of the job to be pushed and the job-seeking behavior data of the target object into the target job matching model, obtain the job matching degree between the target object and the job to be pushed, and based on the job matching degree, determine the job information of the target job to be pushed to the target object from the job to be pushed, so as to push the matching job information to the target object in combination with the job-seeking intention and job-seeking behavior of the target object, and the pushed job information can maximize the job-seeking intention of the job-seeking object, thereby accurately pushing the job information that meets the job-seeking intention to the target object, thereby further improving the accuracy of job information pushing, as well as improving the job-seeking efficiency of the job-seeking object and the recruitment efficiency of the recruiting unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for describing the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative labor.
[0034] Figure 1 An application environment diagram of a model training method in an embodiment;
[0035] Figure 2 A schematic diagram of a flow chart of a model training method in one embodiment;
[0036] Figure 3 is a flow chart of step 206 in one embodiment;
[0037] Figure 4 is a flow chart of step 210 in one embodiment;
[0038] Figure 5 A schematic diagram of a process of performing model training according to aggregated features in one embodiment;
[0039] Figure 6 A schematic diagram of a flow chart of a model training method in another embodiment;
[0040] Figure 7 A schematic diagram of a model structure in an embodiment;
[0041] Figure 8 A schematic diagram of a process of pushing job information in one embodiment;
[0042] Fig. 9 A schematic diagram of the model structure of a target position matching model in one embodiment;
[0043] Fig.10 is a structural block diagram of a model training device in one embodiment;
[0044] Fig.11 It is a structural block diagram of a position information pushing device in one embodiment;
[0045] Fig.12 is an internal structure diagram of a computer device in one embodiment;
[0046] Fig.13 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] In the recruitment process, the job seekers are matched with the job requirements according to their abilities and experiences, so as to achieve the matching between the job seekers and the positions. The suitable job seekers can be matched with the positions, and the suitable positions can be matched with the job seekers, which is conducive to improving the efficiency of enterprise recruitment and the job search efficiency of the job seekers. In the traditional method, the job seekers submit resumes, and the resume information of the job seekers is manually registered and screened, which is time-consuming and labor-intensive, resulting in high labor costs. In addition, manual screening is easily mixed with the subjective opinions of the screeners, resulting in low accuracy of the screening results. For large-scale resume information of job seekers or job requirements, it is not possible to quickly and accurately match.
[0049] With the development of computer technology, the matching of job seekers and positions is gradually being completed in an automated and intelligent way to improve the efficiency and accuracy of matching job seekers and positions. At present, the relevant technologies for matching job seekers and positions mainly include text matching, keyword and skill matching, machine learning model matching, context information matching, and graph model matching. Among them, text matching is a method based on natural language processing and deep learning, which can encode and match the establishment information of job seekers and job requirements to obtain the matching degree; keyword and skill matching is to extract and match the keywords and skills in the resume information and job requirements of job seekers to obtain the matching degree between job seekers and positions; machine learning model matching is to use machine learning and deep learning technology to establish a matching degree prediction model through a large amount of job seekers' resume data and job data to predict the matching degree. The matching degree prediction model can consider multiple features and contextual information to improve the accuracy of matching between job seekers and positions; contextual information matching means that in addition to matching keywords and skills, it also matches the contextual information of job seekers and job requirements, such as work experience, project experience, educational background, etc., to provide a more comprehensive evaluation and matching basis; graph model matching is to use job seekers, positions and other related information as nodes of the graph, and to transmit node information and predict the matching between job seekers and positions based on graph neural networks (Graph Neural Network, GNN) and the like.
[0050] Traditional methods for automatically matching job seekers with positions are based solely on preset conditions, without fully considering the job-seeking intentions and historical behaviors of job seekers. The multimodal information between job seekers and positions is not fully integrated into the matching process, making it difficult to handle the complex relationship between job seekers and positions, resulting in low accuracy in matching between job seekers and positions.
[0051] Based on the problems existing in the traditional automatic matching method, the embodiment of the present application provides a model training method and a job information push method. The job matching model obtained by the model training method fully considers the job-seeking intention of the job seeker, matches the job seeker with a job that meets the job-seeking intention, and achieves a more accurate match between the job seeker and the job; through the job information push method, the matching job information can be pushed to the job seeker, thereby achieving a more efficient job search and recruitment process.
[0052] The model training method and job information push method provided in the embodiments of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. For example, the terminal 102 sends the object's job-seeking behavior data and the job data to be pushed to the server 104, and the server 104 receives the training sample data sent by the terminal 102. The training sample data includes the job-seeking behavior data and sample job data of the job-seeking object. The job-seeking behavior data includes intention-related behavior data and ordered behavior sequences. The server 104 constructs a job-seeking behavior vector based on the job-seeking behavior data. The server 104 obtains intention representation information based on the job-seeking behavior vector and the intention-related behavior data. The server 104 extracts features from the ordered behavior sequence to obtain behavior coding features, extracts features from the sample job data to obtain sample job coding features, and trains the job matching model based on the intention representation information, behavior coding features, and sample job coding features.
[0053] For example, the terminal 102 obtains the job data of the job to be pushed and the job-seeking behavior data of the target object, and sends the obtained job data of the job to be pushed and the job-seeking behavior data of the target object to the server 104. The server 104 inputs the job data of the job to be pushed and the job-seeking behavior data of the target object into the target job matching model to obtain the job matching degree between the target object and the job to be pushed; wherein the target job matching model is trained based on the above model training method. Based on the job matching degree, the server 104 determines the job information of the target job to be pushed to the target object from the jobs to be pushed, and the server 104 can also send the job information of the target job to the terminal 102.
[0054] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0055] It should be noted here that the model training method and job information push method provided in the embodiments of the present application are not only applicable to the above-mentioned scenario of server-terminal interaction, but also to the scenario of a single server or a single terminal.
[0056] For example, the server obtains training sample data, which includes job-seeking behavior data and sample job data of job seekers; the job-seeking behavior data includes intention-associated behavior data and ordered behavior sequences; the server constructs a job-seeking behavior vector based on the job-seeking behavior data, and the server obtains intention representation information based on the job-seeking behavior vector and the intention-associated behavior data. The server extracts features from the ordered behavior sequence to obtain behavior coding features, and the server extracts features from the sample job data to obtain sample job coding features; the server trains a job matching model based on the intention representation information, behavior coding features, and sample job coding features.
[0057] For example, the terminal obtains the job data of the job to be pushed and the job-seeking behavior data of the target object, and inputs the job data of the job to be pushed and the job-seeking behavior data of the target object into the target job matching model to obtain the job matching degree between the target object and the job to be pushed; wherein the target job matching model is obtained based on the above model training method. Based on the job matching degree, the terminal determines the job information of the target job to be pushed to the target object from the jobs to be pushed.
[0058] Alternatively, the terminal obtains training sample data, the training sample data includes the job-seeking behavior data and sample position data of the job seeker, the job-seeking behavior data includes intention-associated behavior data and an ordered behavior sequence, the terminal constructs a job-seeking behavior vector based on the job-seeking behavior data, and obtains intention representation information based on the job-seeking behavior vector and the intention-associated behavior data, the terminal performs feature extraction on the ordered behavior sequence to obtain behavior coding features, performs feature extraction based on the sample position data to obtain sample position coding features, and trains a position matching model based on the intention representation information, behavior coding features, and sample position coding features.
[0059] The server obtains the job data of the job to be pushed and the job-seeking behavior data of the target object, inputs the job data of the job to be pushed and the job-seeking behavior data of the target object into the target job matching model, and obtains the job matching degree between the target object and the job to be pushed, wherein the target job matching model is trained based on the above-mentioned model training method, and the server determines the job information of the target job to be pushed to the target object from the job to be pushed based on the job matching degree.
[0060] In one embodiment, Figure 2 As shown, a model training method is provided, which is applied to Figure 1 Taking the server in as an example, the method includes the following steps 202 to 210.
[0061] Step 202, obtaining training sample data, the training sample data including job-seeking behavior data and sample job data of job seekers; the job-seeking behavior data includes intention-related behavior data and ordered behavior sequences.
[0062] Job search behavior data refers to data corresponding to job search-related behaviors generated by job seekers during the job search process. Job search behavior data is, for example, at least one of job posting data, job click data, and job page browsing data. For example, job posting data can be the number and frequency of job postings submitted by job seekers, and job click data can be the number and frequency of job postings clicked by job seekers. Job click data refers to data of job postings that are clicked but not submitted, and job submission data refers to data of job postings that are clicked and resumes are submitted. Sample job data refers to job requirement data of jobs that are to be matched with job seekers, that is, sample job data can be data corresponding to jobs with recruitment needs, or data corresponding to all jobs, that is, sample job data can be data of jobs posted on the recruitment platform, or data of jobs that are not posted on the recruitment platform. Sample job data at least includes data such as job title, job skill requirements, educational background requirements, and job responsibilities. Job skill requirements can be, for example, requirements such as mastering programming languages and database skills for the job, and educational background requirements can be, for example, requirements such as undergraduate college graduation, master's degree, and law major, and job responsibilities refer to the work content and responsibilities corresponding to the job. The training sample data can be feature-labeled data or unfeature-labeled data.
[0063] In this embodiment, the job-seeking behavior data includes intention-associated behavior data and ordered behavior sequences. Intention-associated behavior data refers to data associated with job-seeking intentions, and ordered behavior sequences refer to sequences composed of job-seeking behavior operation information arranged in chronological order. Optionally, the intention-associated behavior data can be obtained by manual selection, or the behavior data associated with job-seeking intentions can be obtained from the job-seeking behavior data by an intention recognition algorithm as intention-associated behavior data. The intention-associated behavior data, for example, can be data characterizing the intention behavior, such as the type of position applied for and the type of field clicked. It should be noted that whether the job-seeking behavior data is associated with the job-seeking intention and the degree of association can be set according to the actual application scenario. When implementing the embodiment of the present application, the intention-associated behavior data can be obtained from the job-seeking behavior data according to the preset intention association conditions. For example, the preset intention association conditions can be that the degree of association with the job-seeking intention is greater than the association degree threshold, or that there is an association with the job-seeking intention, etc. The ordered behavior sequence is a sequence obtained by arranging the job-seeking behavior operation information of the job-seeking object in chronological order, that is, the ordered behavior sequence can characterize the personalized job-seeking characteristics of the job-seeking object.
[0064] The server can obtain the training sample data by receiving the training sample data sent by the terminal, or it can obtain the training sample data from the data transmission interface or human-computer interaction interface of the server. It is easy to understand that the more training sample data, the more helpful it is for model training. Among them, the job search behavior data can be feature-labeled data or unfeature-labeled data.
[0065] Step 204: construct a job-seeking behavior vector based on the job-seeking behavior data.
[0066] The server can construct a job-seeking behavior vector based on the job-seeking behavior data, and the job-seeking behavior vector is used to characterize the interactive relationship between the job-seeking object and the position involved in the job-seeking behavior data. Job-seeking behavior data refers to the data corresponding to the job-seeking related behavior generated by the job-seeking object in the job-seeking process. Therefore, the degree of interaction between the job-seeking object and the position involved in the job-seeking behavior data can be determined based on the job-seeking behavior data, and the job-seeking behavior vector can be obtained. The greater the degree of interaction between the job-seeking object and the position, the greater the degree of association between the job-seeking object and the position. Conversely, the smaller the degree of interaction between the job-seeking object and the position, the smaller the degree of association between the job-seeking object and the position. The job-seeking behavior vector can also characterize the degree of association between the job-seeking object and the position involved in the job-seeking behavior data.
[0067] Optionally, the positions involved by the job seeker can be determined based on the job-seeking operation of the job seeker in the job-seeking behavior data, and the job seeker and the positions involved by the job seeker can be used as nodes, and the lines between the job seeker and the positions involved can be used as edges to obtain an object-position interaction graph. Among them, the lines between the job seeker and the positions involved represent the degree of interaction between the job seeker and the corresponding positions involved. Based on the job seeker's click, delivery or browsing of the positions involved, the degree of interaction between the job seeker and the corresponding positions involved is determined, and the job-seeking behavior vector is obtained according to the degree of interaction between the job seeker and the positions involved. For example, the job-seeking behavior vector of the job-seeking behavior data can be constructed by a graph neural network (GNN), and the job-seeking behavior data of the job seeker can be input into the graph neural network to obtain the job-seeking behavior vector corresponding to the job-seeking behavior data.
[0068] In one example, the job-seeking behavior data of job seeker A includes: job seeker A has applied for position X and clicked on position Y. The object-position interaction graph between job seeker A and positions X and Y is constructed through a graph neural network, and the job-seeking behavior vector of job seeker A is obtained as [0.5, 0.3]. In the job-seeking behavior vector of job seeker A, 0.5 represents the correlation between job seeker A and position X, and 0.3 represents the correlation between job seeker A and position Y. In other words, the job-seeking behavior vector quantifies the correlation between the job seeker and the positions involved. The greater the correlation between the job seeker and the positions involved, the greater the degree of interaction between the job seeker and the positions involved. Conversely, the smaller the correlation between the job seeker and the positions involved, the smaller the degree of interaction between the job seeker and the positions involved.
[0069] Step 206, obtaining intention representation information based on the job-seeking behavior vector and the intention-associated behavior data.
[0070] The server can obtain intent representation information based on the job-seeking behavior vector and the intention-associated behavior data, wherein the intent representation information is used to characterize the job-seeking intention of the job seeker. Optionally, an intent representation vector can be constructed based on the intention-associated behavior data, and the intent representation vector and the job-seeking behavior vector can be fused to obtain the intent representation vector, and the intent representation vector can be subjected to latent variable learning to obtain the intent representation information. Among them, latent variable learning refers to learning the latent information in the intention representation vector to capture the implicit information of the job seeker in the job-seeking process. For example, latent variable learning can be achieved by compression and reconstruction, so that the obtained intent representation information retains the important features of the original data as much as possible.
[0071] In an optional embodiment, the encoder and decoder are trained based on the intent representation vector sample, that is, the encoder encodes and compresses the intent representation vector sample to obtain the latent variable representation, and the decoder reconstructs the latent variable representation to obtain the reconstructed intent representation vector, and a loss function is constructed based on the difference between the intent representation vector and the reconstructed intent representation vector until the loss value of the loss function meets the preset loss value to obtain the target encoder and target decoder. An intent behavior vector is constructed based on the intent-associated behavior data, and the intent behavior vector and the job-seeking behavior vector are fused to obtain the intent representation vector, and the intent representation vector is input into the target encoder to obtain the intent representation information.
[0072] Step 208, extract features from the ordered behavior sequence to obtain behavior coding features, and extract features from the sample job data to obtain sample job coding features.
[0073] The server performs feature extraction on the ordered behavior sequence to obtain behavior coding features, and performs feature extraction on the sample job data to obtain sample job coding features. The server can perform feature extraction on the ordered behavior sequence or the sample job data based on a machine learning algorithm. The manner in which the server performs feature extraction on the ordered behavior sequence and the manner in which the server performs feature extraction on the sample job data can be the same or different, that is, different feature extraction methods can be used to respectively implement feature extraction on the ordered behavior sequence and feature extraction on the sample job data. It can be understood that feature extraction on the ordered behavior sequence and feature extraction on the sample job data can be implemented by any feature extraction method. This embodiment does not specifically limit the feature extraction method. For example, a recurrent neural network (RNN) or a convolutional neural network (GNN) can be used to perform feature extraction on the ordered behavior sequence to obtain behavior coding features, and feature extraction on the sample job data to obtain sample job coding features.
[0074] An ordered behavior sequence is a sequence of job-seeking behavior operation information arranged in chronological order. Feature extraction is performed on the ordered behavior sequence to obtain behavior coding features. Behavior coding features are features that characterize the job-seeking operation sequence of the job-seeking object. An ordered behavior sequence can be a job-seeking behavior operation record generated by the job-seeking object in a preset period of time in chronological order. For example, the job-seeking behavior data of the job-seeking object in the past month, including data such as the positions applied for, the job information clicked, and the recruitment websites browsed, can be arranged in order from morning to night or from night to morning to obtain an ordered behavior sequence. It can be understood that the ordered behavior sequence can characterize the personalized job-seeking features of the job-seeking object in the job-seeking process. The sample job data includes job requirement data of the recruitment position. The job requirements are, for example, job skill requirements, educational background requirements, and job responsibility requirements. The server extracts features from the sample job data to obtain sample job features. The sample job features are features that can characterize job requirements. The sample job data can be feature-labeled data or unlabeled data.
[0075] Step 210, training a job matching model based on the intention representation information, behavior coding features, and sample job coding features.
[0076] The server trains a job matching model based on the intention representation information, the behavior coding features, and the sample job coding features to obtain a target job matching model. The target job matching model is used to determine the matching degree between the job-seeking behavior data and the job information of the job seeker, thereby matching the job seeker with the job information. For example, the job-seeking behavior data of the job seeker and the job information to be matched are input into the target job matching model to obtain the matching degree between the job-seeking behavior data of the job seeker and the job information to be matched, and the job information to be matched includes job information of multiple jobs. Optionally, the job matching model can be trained based on the aggregated features obtained from the intention representation information, the behavior coding features, and the sample job coding features, and the target job matching model is obtained when the training completion condition is met. The training completion condition can be that the loss value of the training loss function of the job matching model meets the loss condition, or the number of training times reaches a preset number of times, etc.
[0077] Optionally, the job matching model may include an intention coding layer, a behavior coding layer, and a job coding layer. The intention coding layer may be trained based on the intention representation information, the behavior coding layer may be trained based on the behavior coding features, and the job coding layer may be trained based on the sample job coding features, until the intention training completion conditions, the behavior training completion conditions, and the job training completion conditions are met, respectively, to obtain a target job matching model. Alternatively, the intention coding layer may be trained based on the intention representation information, the behavior coding layer may be trained based on the behavior coding features, and the job coding layer may be trained based on the job coding features, until the target training completion conditions are met, to obtain a target job matching model.
[0078] In the above model training method, by obtaining training sample data, the training sample data includes sample job data of job-seeking behavior data of job seekers, the job-seeking behavior data includes intention-related behavior data and ordered behavior sequences, a job-seeking behavior vector is constructed based on the job-seeking behavior data, intention representation information is obtained based on the job-seeking behavior vector and the intention-related behavior data, feature extraction is performed on the ordered behavior sequence to obtain behavior coding features, feature extraction is performed on the sample job data to obtain sample job coding features, and a job matching model is trained based on the intention representation information, behavior coding features and sample job coding features. In the process of training the job matching model, the job-seeking intention, personalized behavior and job requirements of the job seekers are fully integrated, so that the trained model can match the job seekers and sample job data from multiple dimensions, and can handle the complex relationship between the job seekers and job information during the matching process, thereby improving the matching accuracy between the job seekers and job information.
[0079] In some embodiments, step 204 of constructing a job-seeking behavior vector based on job-seeking behavior data includes:
[0080] Based on the job-seeking behavior data, the job-seeking object and the positions involved in the job-seeking object are obtained; according to the interactive information of the job-seeking object on the positions involved in the job-seeking object, the degree of association between the job-seeking object and the positions involved is determined; according to the degree of association between the job-seeking object and the positions involved, a job-seeking behavior vector is constructed.
[0081] In this embodiment, since the job-seeking behavior data is data corresponding to the job-seeking related behaviors generated by the job-seeking object during the job-seeking process, that is, the job-seeking behavior data includes information about the job-seeking object and the position corresponding to the job-seeking behavior of the job-seeking object, the position corresponding to the job-seeking behavior of the job-seeking object is the position involved by the job-seeking object. Optionally, the position involved by the job-seeking object can be obtained by extracting the position keywords from the job-seeking behavior data of the job-seeking object.
[0082] The job-seeking behavior data includes the interactive information of the job seeker on the positions involved, and the degree of association between the job seeker and the positions involved is determined according to the interactive information of the job seeker on the positions involved. The interactive information includes click information, delivery information or browsing information, that is, the interactive information between the job seeker and the positions involved is the click information, delivery information or browsing information of the job seeker on the positions involved. The click information may include the number of clicks, the frequency of clicks, etc., the delivery information may include the number of deliveries, etc., and the browsing information may include the browsing time, etc. Optionally, the more interactive information the job seeker has on the positions involved, the greater the degree of association between the job seeker and the positions involved. For example, under the same other conditions, the number of clicks of the job seeker on the position A involved is 3 times, and the number of clicks on the position B involved is 5 times. Since the number of clicks of the job seeker on the position B is more than the number of clicks on the position A, that is, the interactive information of the job seeker on the position B is more than the interactive information of the job seeker on the position A, the degree of association between the job seeker and the position B is greater than the degree of association between the job seeker and the position A. On the contrary, the less interactive information a job seeker has about the positions involved, the smaller the correlation between the job seeker and the positions involved.
[0083] Optionally, the deeper the interactive degree of the job seeker to the interactive information of the involved position, the greater the correlation between the job seeker and the involved position. For example, under the same other conditions, the interactive information of the job seeker to the involved position C is delivery information, and the interactive information of the job seeker to the involved position D is click information. Since the interactive degree of delivery information is deeper than the interactive degree of click information, that is, the interactive degree of the job seeker to the interactive information of position C is deeper than the interactive degree of the interactive information of position D, the correlation between the job seeker and position C is greater than the correlation between the job seeker and position D. Conversely, the shallower the interactive degree of the job seeker to the interactive information of the involved position, the smaller the correlation between the job seeker and the involved position.
[0084] Optionally, the degree of association between the job seeker and the position involved can be normalized to a normalized value of [0,1], and the degree of association between the job seeker and the position involved can be represented by the corresponding normalized value. For example, the degree of association between the job seeker and the position A involved is represented by 0.2, and the degree of association between the job seeker and the position B involved is represented by 0.4. The larger the normalized value, the greater the degree of association between the job seeker and the corresponding position, and vice versa, the smaller the normalized value, the smaller the degree of association between the job seeker and the corresponding position.
[0085] After obtaining the degree of association between the job seeker and the positions involved, the various degrees of association can be arranged in the preset order of the positions involved to obtain the job-seeking behavior vector of the job seeker. For example, assuming that the degree of association between the job seeker and position A is 0.2, the degree of association between the job seeker and position B is 0.4, the degree of association between the job seeker and position C is 0.6, and the degree of association between the job seeker and position D is 0.3, then the numerical sequence obtained by arranging in the preset order of position A, position B, position C, and position D is 0.2 0.4 0.6 0.3, and the job-seeking behavior vector of the job seeker is [0.20.4 0.6 0.3], and if the numerical sequence obtained by arranging in the preset order of position C, position D, position A, and position B is 0.60.3 0.2 0.4, the job-seeking behavior vector of the job seeker is [0.6 0.3 0.2 0.4].
[0086] In an optional embodiment, a GNN can be used to construct an object-position interaction graph between the job seeker and the positions involved based on the job-seeking behavior data of the job seeker. The job seeker and the positions involved are used as graph nodes in the object-position interaction graph, and the connection between the job seeker and the positions involved represents the degree of association between the job seeker and the corresponding positions. That is, the degree of association between the job seeker and the positions involved can be obtained based on the connection in the object-position interaction graph, thereby obtaining a job-seeking behavior vector.
[0087] In this embodiment, the positions involved in the job seeker are obtained based on the job seeker behavior data, and the degree of association between the job seeker and the positions involved is determined according to the job seeker's interaction information with the positions involved. According to the degree of association between the job seeker and the positions involved, a job seeker behavior vector is constructed. This can make the constructed job seeker behavior vector more consistent with the interaction information between the job seeker and the positions involved, that is, the constructed job seeker behavior vector can characterize the position information interacted by the job seeker, as well as the degree of interaction with the interacted positions, and can more accurately reflect the personalized job seeker characteristics and job seeker intentions of the job seeker, thereby achieving a more accurate match between the job seeker and the positions.
[0088] In some embodiments, Figure 3 As shown, step 206 of obtaining intention representation information based on the job-seeking behavior vector and the intention-associated behavior data includes the following steps 302 to 306 .
[0089] Step 302: construct an intention behavior vector based on the intention-associated behavior data; merge the job-seeking behavior vector and the intention behavior vector to obtain an intention representation vector.
[0090] The intention-associated behavior data refers to the behavior data associated with the job-seeking intention, and the server can construct the intention-behavior vector based on the intention-associated behavior data. Optionally, the job seeker and the intended position involved by the job seeker can be determined based on the intention-associated behavior data, and the degree of association between the job seeker and the intended position involved can be determined based on the interactive information between the job seeker and the intended position involved by the job seeker, and the intention representation vector can be obtained based on the degree of association between the job seeker and the intended position involved, and the intention representation vector is used to characterize the job-seeking intention corresponding to the intention-associated behavior data.
[0091] The server merges the job-seeking behavior vector and the intention behavior vector to obtain an intention representation vector. Optionally, the job-seeking behavior vector and the numerical values corresponding to the same position in the intention behavior vector can be added to obtain the intention representation vector, or the job-seeking behavior vector and the numerical values corresponding to the same position in the intention behavior vector can be weighted summed to obtain the intention representation vector.
[0092] Step 304, mapping the intention representation vector from the original feature space to the latent feature space to obtain a latent variable representation; back-mapping the latent variable representation from the latent feature space to the original feature space to obtain a reconstructed intention representation vector; wherein the dimension of the latent feature space is lower than the dimension of the original feature space.
[0093] In this embodiment, the intention representation vector is mapped from the original feature space to the latent feature space, and the dimension of the latent feature space is lower than the dimension of the original feature space, that is, the intention representation vector is mapped from the original feature space to the lower-dimensional latent feature space to obtain the latent variable representation. It can be understood that the process of mapping the intention representation vector from the original feature space to the latent feature space is equivalent to the process of compressing the intention representation vector. During the compression process, the important information of the intention representation vector will be retained as much as possible. The latent variable representation is reversely mapped from the latent feature space to the original feature space, that is, the intention representation vector is reversely mapped from the latent feature space to the high-dimensional original feature space to obtain the reconstructed intention representation vector. The process of reversely mapping the intention representation vector from the latent feature space to the original feature space is equivalent to the process of reconstructing the reconstructed intention representation vector to the original intention representation vector. During the reconstruction process, the data structure of the original intention representation vector will be restored as much as possible.
[0094] Step 306: When the difference between the reconstructed intention representation vector and the intention representation vector is less than the difference threshold, the corresponding latent variable representation is used as the intention representation information.
[0095] In this embodiment, the mapping and de-mapping process in step 304 is continuously repeated until the difference between the reconstructed intention representation vector and the intention representation vector is less than the difference threshold, and the server represents the corresponding latent variable as the intention representation information. The intention representation information is used to characterize the job-seeking intention of the job seeker. The difference threshold can be set according to the actual application scenario.
[0096] In one example, the server maps the intention representation vector from the original feature space to the latent feature space to obtain the latent variable representation, and reversely maps the latent variable representation from the latent feature space to the original feature space to obtain the reconstructed intention representation vector. If the difference between the reconstructed intention representation vector and the intention representation vector is not less than the difference threshold, the server repeatedly maps the reconstructed intention representation vector from the original feature space to the latent feature space to obtain the candidate latent variable representation, and reversely maps the candidate latent variable representation from the latent feature space to the original feature space to obtain the candidate reconstructed intention representation vector. If the difference between the candidate reconstructed intention representation vector and the reconstructed intention representation vector is less than the difference threshold, the corresponding candidate latent variable representation is used as the intention representation information; if the difference between the candidate reconstructed intention representation vector and the reconstructed intention representation vector is not less than the difference threshold, the above-mentioned feature space mapping and reverse mapping process is repeated until the difference between the reconstructed intention representation vector and the intention representation vector is less than the difference threshold, and the latent variable representation of the corresponding round is used as the intention representation information, which can ensure the precision and accuracy of reconstruction.
[0097] In this embodiment, an intention behavior vector is constructed based on intention-associated behavior data, the intention behavior vector and the job-seeking behavior vector are fused to obtain an intention representation vector, the intention representation vector is mapped from the original feature space to the latent feature space to obtain a latent variable representation, and the latent variable representation is reversely mapped from the latent feature space to the original feature space to obtain a reconstructed intention representation vector, until the difference between the reconstructed intention representation vector and the intention representation information is less than the difference threshold, and the corresponding latent variable representation is used as the intention representation information, that is, by compressing and reconstructing the intention representation vector, it is possible to use the important information of the intention representation vector as the intention representation information, and the potential job-seeking intention of the job seeker can be effectively mined, thereby improving the accuracy of the intention representation information. In addition, by compressing and reconstructing the intention representation vector, the intention representation information can be obtained, and there is no need to feature-label the intention representation vector, thereby reducing the data labeling cost.
[0098] In one embodiment, in step 210, a job matching model is trained based on intention representation information, behavior coding features, and sample job coding features, including: aggregating the intention representation information, behavior coding features, and sample job coding features to obtain aggregated features; and training the job matching model according to the aggregated features to obtain a target job matching model.
[0099] In this embodiment, the intention representation information, the behavior coding features and the sample position coding features are aggregated to obtain the aggregate features, and the position matching model is trained according to the aggregate features until the training completion condition is met, and the position matching model corresponding to the training completion condition is used as the target position matching model. Optionally, the intention representation information, the behavior coding features and the sample position coding features can be weighted and summed to obtain the aggregate features, and the position matching model is trained according to the aggregate features until the training completion condition is met, and the position matching model corresponding to the training completion condition is used as the target position matching model.
[0100] In an optional embodiment, the intention representation information, the behavior coding features, and the sample position coding features are spliced to obtain aggregate features, and the position matching model is trained according to the aggregate features until the training completion condition is met, and the position matching model corresponding to the training completion condition is used as the target position matching model. For example, the intention representation information, the behavior coding features, and the sample position coding features are spliced in dimensions to obtain aggregate features.
[0101] In this embodiment, by aggregating the intention representation information, behavior coding features, and sample job coding features to obtain aggregate features, a job matching model is trained based on the aggregate features to obtain a target job matching model. The trained target job matching model can match job seekers and jobs from multiple dimensions, and can comprehensively process the complex relationships among job seekers' job-seeking intentions, job-seeking behaviors, and job requirements. This can increase the scope of adapted application scenarios and improve the matching accuracy between job seekers and job information.
[0102] In some embodiments, Figure 4 As shown, the step 210 of training the job matching model according to the aggregated features to obtain the target job matching model includes the following steps 402 to 410.
[0103] Step 402, determining a first similarity and a second similarity based on the aggregated features, wherein the first similarity is used to characterize the degree of match between the job seeker and the intended position involved in the intention-associated behavior data, and the second similarity is used to characterize the degree of match between the job seeker and other positions involved in the job-seeking behavior data except the intended position, and obtaining a comparison loss based on the first similarity and the second similarity.
[0104] In this embodiment, the server can determine the first similarity and the second similarity based on the aggregated features, wherein the first similarity is used to characterize the degree of match between the job seeker and the intended position involved in the intention-associated behavior data, the job seeker behavior data includes the intention-associated behavior data, the position involved in the job seeker in the intention-associated behavior data is the intended position, and the intended position can be labeled, so that the degree of match between the job seeker and the intended position can be obtained from the aggregated features. The second similarity is used to characterize the degree of match between the job seeker and other positions involved in the job seeker behavior data except the intended position, and other positions refer to positions involved in the job seeker behavior data except the intended position, and the second similarity is the degree of match between the job seeker and other positions. It can be understood that the aggregated features can be represented in the form of an aggregated vector, the elements of the aggregated vector are the similarities between the job seeker and each position in the sample position data, the similarity between the job seeker and the intended position can be used as the first similarity, and the similarity between the job seeker and other positions can be used as the second similarity. For positions that the job seeker does not cover, the similarity between the job seeker and the positions that are not covered is 0, so the matching degree between the job seeker and the positions that are not covered is also 0. It can be understood that there may be positions that the job seeker does not cover among the positions corresponding to the sample position data.
[0105] Based on the first similarity and the second similarity, a contrast loss can be obtained, and the contrast loss is intended to enable the trained job matching model to maximize the first similarity and minimize the second similarity. Optionally, a contrast loss can be obtained based on the difference between the first similarity and the second similarity. Alternatively, a preset value can be used as the first comparison value, and the difference between the first similarity and the second similarity can be used as the second comparison value. According to the first comparison value and the second comparison value, a contrast loss is obtained. Alternatively, the difference between the first similarity and the second similarity can be fused with a boundary parameter to obtain a second comparison value, and a contrast loss is obtained according to the first comparison value and the second comparison value. The boundary parameter is a parameter used to control the first similarity to be higher than the second similarity. For example, the larger value of the first comparison value and the second comparison value is used as the contrast loss. Among them, the preset value and the boundary parameter are both constants, which can be set according to the specific application scenario.
[0106] In step 404, a regularization loss is obtained according to the difference between the intent representation information and the aggregated features.
[0107] The server can obtain the regularization loss based on the difference between the intent representation information and the aggregated features. The difference between the intent representation information and the aggregated features can be characterized by the relative entropy between the intent representation information and the aggregated features. The relative entropy is also called KL (Kullback-Leibler) divergence or information divergence. It is an asymmetric measure of the difference between two probability distributions and represents the information loss generated when the theoretical distribution is used to fit the real distribution.
[0108] Optionally, a regularization loss may be obtained based on a relative entropy between the intent distribution of the intent representation information and the aggregated features, wherein the intent distribution refers to the distribution of intent categories corresponding to the intent representation information. For example, a clustering algorithm may be used to cluster the intent representation information to obtain the distribution of intent categories of the intent representation information.
[0109] Optionally, the server may use the relative entropy between the intent representation information and the aggregated features as the regularization loss. Alternatively, the server may use the product of the relative entropy between the intent representation information and the aggregated features and the regularization parameter as the regularization loss. The regularization parameter is a parameter used to control the complexity of the model to prevent the model from overfitting.
[0110] In one example, the regularization loss L i The calculation method of is shown in the following formula (1).
[0111] L i =λ·KL(I u , Z u,j ) Formula (1)
[0112] Among them, λ is the regularization parameter, KL() represents the relative entropy function, I u Characterize the intention information of the job seeker, Z u,j Characterize aggregation characteristics.
[0113] Step 406, obtain the attention constraint loss according to the attention weight of the intention representation information, the attention weight of the behavior coding feature, the attention weight of the sample position coding feature and the constraint control parameter, and the constraint control parameter is used to control the attention strength of the attention mechanism.
[0114] In this embodiment, the job matching model includes an aggregate coding layer, which assigns corresponding attention weights to the intention representation information, behavior coding features and sample job coding features through the attention mechanism. The server can obtain the attention constraint loss based on the attention weight of the intention representation information, the attention weight of the behavior coding features, the attention weight of the sample job coding features and the constraint control parameters. The attention constraint loss is used to make the job matching model have a certain sparsity and concentration during the training process, so as to focus on more important features and improve the accuracy of matching job seekers with job information.
[0115] Optionally, based on a preset constant, an exponential operation can be performed on the attention weight of the intention representation information, the attention weight of the behavior coding feature, and the attention weight of the sample position coding feature to obtain the corresponding first index, second index, and third index, and the attention constraint loss can be obtained based on the first index, the second index, the third index, and the constraint control parameter. Among them, the constraint control parameter is a parameter used to control the attention strength of the attention mechanism, and the constraint control parameter can be set according to the actual application scenario.
[0116] In step 408, the contrast loss, regularization loss and attention constraint loss are integrated to obtain the target loss.
[0117] In this embodiment, the server fuses the contrast loss, regularization loss and attention constraint loss to obtain the target loss. Corresponding fusion weights can be assigned to the contrast loss, regularization loss and attention constraint loss, and the contrast loss, regularization loss and attention constraint loss are weighted and summed to obtain the target loss. The contrast loss is used to improve the accuracy of the match between the job search behavior data and the job information of the job matching model, the regularization loss is used to improve the matching ability between the job search intention and the job information in the job search behavior data of the job matching model, and the attention constraint loss is used to constrain the distribution of attention weights to improve the ability of the job matching model to focus on important features. Therefore, according to the actual application scenario, the contrast loss, regularization loss and attention constraint loss can be assigned corresponding fusion weights. For example, the fusion weight assigned to the contrast loss is 0.6, the fusion weight assigned to the regularization loss is 0.3, and the fusion weight assigned to the attention constraint loss is 0.1. Alternatively, the contrast loss, regularization loss and attention constraint loss can be directly summed to obtain the target loss.
[0118] Step 410, adjusting the parameters of the job matching model according to the target loss to obtain a target job matching model.
[0119] The model parameters of the job matching model are adjusted according to the target loss until the target loss satisfies the loss condition, thereby obtaining the target job matching model. The target loss satisfies the loss condition, for example, the target loss value may be less than a preset loss value, or the target loss value may be within a preset loss range.
[0120] In this embodiment, a first similarity and a second similarity are determined based on aggregate features, a contrast loss is obtained based on the first similarity and the second similarity, a regularization loss is obtained according to the difference between the intention representation information and the aggregate features, and an attention constraint loss is obtained according to the attention weight of the intention representation information, the attention weight of the behavior coding features, the attention weight of the sample job coding features, and the constraint control parameters. The contrast loss, the regularization loss, and the attention constraint loss are fused to obtain a target loss, and the parameters of the job matching model are adjusted according to the target loss to obtain a target job matching model. That is, the job matching model is trained by integrating the contrast loss, the regularization loss, and the target loss of the attention constraint loss. This can improve the job matching model's ability to match job seekers with job information, its ability to match job seekers' personalized intentions, and its ability to focus on important features. This allows the trained target job matching model to comprehensively improve the matching accuracy between job seekers and job information, and at the same time allows the target job matching model to be applicable to more application scenarios.
[0121] In some embodiments, obtaining the contrast loss based on the first similarity and the second similarity includes:
[0122] The preset value is used as the first comparison value; the difference between the first similarity and the second similarity is merged with the boundary parameter to obtain the second comparison value; the larger value between the first comparison value and the second comparison value is used as the comparison loss, wherein the boundary parameter refers to a parameter used to control the first similarity to be higher than the second similarity.
[0123] Optionally, the preset value can be used as the first comparison value, the sum of the difference between the first similarity and the second similarity and the boundary parameter can be used as the second comparison value, and the larger value of the first comparison value and the second comparison value can be used as the comparison loss. The preset value and the boundary parameter in this embodiment are both constants and can be set according to actual application scenarios. For example, the preset value can be 0, 1, 10, etc., and the boundary parameter can be 0, 0.1, 2, etc.
[0124] In one example, the preset value is 0, that is, the first comparison value is 0, and the comparison loss L r The calculation method of is shown in the following formula (2).
[0125] L r =max(0,m+sim(u,j)-sim(u,j neg )) Formula (2)
[0126] Where u represents the job seeker, j represents the position, sim(u, j) represents the first similarity of the matching degree between the job seeker u and the intended position j, and sim(u, j neg ) represents the job seeker u and other positions j neg The second similarity of the matching degree between them, m is a boundary parameter, and m is used to control the degree to which the first similarity is higher than the second similarity.
[0127] In this embodiment, a preset value is used as the first comparison value, the difference between the first similarity and the second similarity is fused with the boundary parameter to obtain the second comparison value, and the larger value of the first comparison value and the second comparison value is used as the contrast loss to facilitate the calculation of the contrast loss. In addition, the difference between the first similarity and the second similarity is constrained by the boundary parameter to improve the accuracy of the contrast loss, thereby enabling the job matching model to better distinguish between matching and mismatching situations and improve the matching accuracy between job seekers and job information in the job matching model.
[0128] In some embodiments, the attention constraint loss is obtained according to the attention weight of the intention representation information, the attention weight of the behavior coding feature, the attention weight of the sample position coding feature, and the constraint control parameter, including:
[0129] Based on the preset constants, exponential operations are performed on the attention weights of the intention representation information, the attention weights of the behavior coding features, and the attention weights of the sample position coding features to obtain the corresponding first index, second index, and third index; based on the statistical characteristics and constraint control parameters of the first index, the second index, and the third index, the attention constraint loss is obtained.
[0130] In this embodiment, the preset constant can be set according to the actual application scenario, for example, the preset constant is 2, 3, e, etc., where e is a natural constant, an infinite non-repeating decimal, and the base of the function of the natural logarithm. Optionally, based on the preset constant and the attention weight of the intention representation information, an exponential operation can be performed to obtain a first exponent with the preset constant as the base and the attention weight of the intention representation information as the power; based on the preset constant and the attention weight of the behavior coding feature, an exponential operation can be performed to obtain a second exponent with the preset constant as the base and the attention weight of the intention representation information as the power; based on the preset constant and the attention weight of the sample position coding feature, an exponential operation can be performed to obtain a third exponent with the preset constant as the base and the attention weight of the sample position coding feature as the power. Based on the statistical characteristics and constraint control parameters of the first, second and third exponents, the attention constraint loss can be obtained.
[0131] In one example, the attention constraint loss L aThe calculation method of is shown in the following formula (3).
[0132]
[0133] Among them, A k represents the kth attention weight, K is the number of attention weights, is a statistical feature of an exponent with e as the base and attention weight as the power, and α is a constraint control parameter. In this embodiment, K=3, that is, there are 3 attention weights, which are the attention weight of intention representation information, the attention weight of behavior coding features, and the attention weight of sample position coding features.
[0134] In this embodiment, by performing exponential operations on the attention weights of the intention representation information, the attention weights of the behavior coding features, and the attention weights of the sample job coding features based on preset constants, the corresponding first index, second index, and third index are obtained. Based on the statistical characteristics and constraint control parameters of the first index, the second index, and the third index, a more accurate attention constraint loss can be obtained, which is conducive to the job matching model to fully learn the sparsity and concentration of attention weights during training, thereby focusing on important features more accurately and improving the accuracy of matching job seekers with job information.
[0135] In one embodiment, Figure 5 As shown, the job matching model includes an intention coding layer and a job coding layer; the job matching model is trained according to the aggregated features to obtain a target job matching model, including the following steps 502 to 506.
[0136] Step 502, train the intention encoding layer of the job matching model according to the first aggregated feature corresponding to the current training round until the first training condition is met to obtain an intermediate job matching model.
[0137] In this embodiment, the job matching model includes an intention coding layer and a job coding layer. The intention coding layer can be used to construct a job-seeking behavior vector based on job-seeking behavior data, and obtain intention representation information based on the job-seeking behavior vector and the intention-related behavior data. The job coding layer can be used to extract features from sample job data to obtain sample job coding features. In the process of training the job matching model, the server can train the intention coding layer of the job matching model according to the first aggregate feature corresponding to the current training round, and when the first training condition is met, an intermediate job matching model is obtained, wherein the current training round can refer to any training of the job matching model, and the first aggregate feature is the aggregate feature obtained in the corresponding training round. The first training condition is a training condition corresponding to the intention coding layer of the job matching model. For example, the first training condition can be that the corresponding training loss value meets the preset condition, and the training loss value can be the loss value of the regularization loss function. That is, the intention coding layer of the job matching model can be trained based on the first aggregate feature, and the model parameters of the intention coding layer can be adjusted according to the regularization loss until the corresponding regularization loss meets the first preset condition, and the intermediate job matching model is obtained. Alternatively, the first training condition can be that the number of training times meets the first preset number.
[0138] It should be noted here that in the process of training the intent coding layer of the job matching model according to the first aggregate feature, the other model parameters in the job matching model except the intent coding layer can be treated as constants, that is, the other model parameters in the job matching model except the intent coding layer can be fixed unchanged, and only the parameters of the intent coding layer are trained according to the first aggregate feature.
[0139] Step 504: Obtain a second aggregate feature based on the model parameters of the intermediate job matching model.
[0140] The server can obtain the second aggregate feature based on the model parameters of the intermediate position matching model. Optionally, in the training round corresponding to the intermediate position matching model, the corresponding aggregate feature can be obtained, and the aggregate feature of the training round corresponding to the intermediate position matching model can be used as the second aggregate feature. Alternatively, the training sample data can also be input into the intermediate position matching model, the training sample data includes the job-seeking behavior data and sample position data of the job seeker, the job-seeking behavior data includes intention-associated behavior data and ordered behavior sequence, the intermediate position matching model constructs a job-seeking behavior vector based on the job-seeking behavior data in the training sample data, obtains intention representation information based on the job-seeking behavior vector and the intention-associated behavior data, performs feature extraction on the ordered behavior sequence to obtain behavior coding features, performs feature extraction on the sample position data to obtain sample position coding features, aggregates the intention representation information, behavior coding features and sample position coding features to obtain aggregate features, and uses the aggregate features as the second aggregate features.
[0141] Step 506, keeping the model parameters of the intention coding layer in the intermediate job matching model unchanged, training the job coding layer of the intermediate job matching model according to the second aggregated features until the second training condition is met, and obtaining the target job matching model.
[0142] In this embodiment, the model parameters of the intention coding layer obtained by training according to the first aggregated features are kept unchanged, and the position coding layer of the intermediate position matching model is trained according to the second aggregated features. If the second training condition is met, the intermediate position matching model that meets the second training condition is used as the target position matching model.
[0143] The second training condition is a training condition for the position coding layer of the intermediate position matching model. The second training condition may be, for example, that the training loss value for training the position coding layer of the intermediate position matching model satisfies the second preset condition, or that the number of trainings satisfies the second preset number. It can be understood that in the process of training the position coding layer of the intermediate position matching model according to the second aggregate feature, other model parameters except the position coding layer in the intermediate position matching model can be fixed. For example, the intermediate position matching model includes an intention coding layer, a behavior coding layer and a position coding layer. When training the position coding layer of the intermediate position matching model according to the second aggregate feature, the parameters corresponding to the intention coding layer and the behavior coding layer in the intermediate position matching model can be treated as constants.
[0144] In this embodiment, the intention coding layer of the job matching model is trained according to the first aggregation feature of the current training round until the first training condition is met to obtain an intermediate job matching model, and the second aggregation feature is obtained based on the model parameters of the intermediate job matching model. The model parameters of the intention coding layer of the intermediate job matching model are kept unchanged, and the job coding layer of the intermediate job matching model is trained according to the second aggregation feature until the second training condition is met to obtain the target job matching model. The intention coding layer and the job coding layer of the job matching model can be alternately trained, thereby maximizing the accuracy of the intermediate intention coding layer and the job coding layer, thereby improving the matching accuracy of the target job matching model for job seekers and job information. In addition, the convergence speed of the model training process can be accelerated, the model training time can be saved, and the model training efficiency can be improved.
[0145] In one embodiment, Figure 6 As shown, a model training method is provided, including the following steps 602 to 622.
[0146] Step 602, obtaining training sample data, the training sample data including job-seeking behavior data and sample job data of job seekers, the job-seeking behavior data including intention-related behavior data and ordered behavior sequences.
[0147] Step 604: construct a job-seeking behavior vector based on the job-seeking behavior data.
[0148] Step 606, construct an intention behavior vector based on the intention-associated behavior data, and fuse the job-seeking behavior vector and the intention behavior vector to obtain an intention representation vector.
[0149] Step 608, maps the intention representation vector from the original feature space to the latent feature space to obtain the latent variable representation; reversely maps the latent variable representation from the latent feature space to the original feature space to obtain the reconstructed intention representation vector, until the difference between the reconstructed intention representation vector and the intention representation vector is less than the difference threshold, then the corresponding latent variable representation is used as the intention representation information.
[0150] Step 610, extract features from the ordered behavior sequence to obtain behavior coding features; extract features from the sample job data to obtain sample job coding features.
[0151] Step 612, aggregate the intention representation information, behavior coding features, and sample position coding features to obtain aggregated features.
[0152] Step 614: determine a first similarity and a second similarity based on the aggregated features, and obtain a comparison loss based on the first similarity and the second similarity.
[0153] In step 616, a regularization loss is obtained according to the difference between the intent representation information and the aggregated features.
[0154] Step 618, obtain the attention constraint loss according to the attention weight of the intention representation information, the attention weight of the behavior coding feature, the attention weight of the sample position coding feature and the constraint control parameter.
[0155] In step 620, the contrast loss, regularization loss and attention constraint loss are integrated to obtain the target loss.
[0156] Step 622, adjusting the parameters of the job matching model according to the target loss to obtain the target job matching model.
[0157] In one example, if Figure 7As shown, the training sample data includes the job-seeking behavior data and sample job data of job seekers. The job-seeking behavior data of job seekers include the job-seeking behavior data of object A and the job-seeking behavior data of object B. For example, the job-seeking behavior data of object A is: applied for position X and clicked on position Y; the job-seeking behavior data of object B is: clicked on position X and clicked on position Z. The sample job data includes the job data of position X and the job data of position Y. For example, the job data of position X is: master Java programming and database management technology, bachelor's degree; the job data of position Y is: master data analysis skills, master's degree, etc. The job-seeking behavior data and sample job data are input into the job matching model. The job matching model constructs a job-seeking behavior vector based on the job-seeking behavior data. The intention representation information is obtained based on the job-seeking behavior vector and the intention-related behavior data. The ordered behavior sequence is feature extracted to obtain the behavior coding feature. The sample job data is feature extracted to obtain the sample job coding feature. The intention representation information, the behavior coding feature and the sample job coding feature are aggregated to obtain the aggregate feature. Based on the aggregate feature, the matching degree between the job seeker and the job in the sample job data can be predicted to obtain the predicted matching degree. A loss function can be constructed based on the predicted matching degree to iteratively train the job matching model. The model parameters of the job matching model are adjusted through the target loss back propagation of the loss function. The training is iteratively continued until the target loss of the loss function satisfies the preset loss condition and the number of iterative training reaches at least one of the preset numbers of iterations to obtain the target job matching model.
[0158] It can be understood that the training sample data of the target job matching model may include a large amount of job-seeking behavior data and sample job data of job seekers. The target job matching model trains the job matching model through a large amount of training data, so that the target job matching model can learn how to predict the matching degree.
[0159] In the above embodiment, the job matching model is trained by integrating the intention-associated behavior data and the ordered behavior sequence in the job-seeking behavior data, as well as the sample job data, so that the job matching model can learn to match the job seeker with the job information from multiple dimensions during the training process, so that the trained target job matching model can handle the complex relationship between the job seeker and the job information, and improve the matching accuracy between the job seeker and the job information. At the same time, the matched job information can meet the job-seeking intention and personalized characteristics of the job seeker, thereby realizing personalized job matching and improving matching accuracy.
[0160] In one embodiment, Figure 8 As shown, a method for pushing job information is provided, and the method is applied to Figure 1 The server in is taken as an example to illustrate, including the following steps 802 to 806.
[0161] Step 802, obtaining the job data of the job to be pushed and the job-seeking behavior data of the target object.
[0162] The server can obtain the job data and the job-seeking behavior data of the target object sent by the terminal, or obtain the job data and the job-seeking behavior data of the target object through a data transmission interface or a human-computer interaction interface. Among them, the job data of the job to be pushed refers to the job information data to be pushed to the target object, and the job data at least includes data such as the job title, job skill requirements, educational background requirements, and job responsibilities. Job skill requirements can be, for example, requirements such as the need to master programming languages and database skills. Educational background requirements can be, for example, undergraduate college graduation, master's degree, law major, etc. Job responsibilities refer to the work content and responsibilities corresponding to the job. There can be multiple jobs to be pushed. The job-seeking behavior data of the target object refers to the job-seeking behavior data generated by the target object during the job search process, and can include at least one of the target object's job submission data, job click data, and job page browsing data.
[0163] Step 804, inputting the job data of the job to be pushed and the job-seeking behavior data of the target object into the target job matching model to obtain the job matching degree between the target object and the job to be pushed, wherein the target job matching model is trained by the above-mentioned model training method.
[0164] In this embodiment, the job data of the job to be pushed and the job-seeking behavior data of the target object are input into the target job matching model to obtain the job matching degree between the target object and the job to be pushed, wherein the job matching degree between the target object and the job to be pushed is essentially the matching degree between the job-seeking behavior data of the target object and the job information of the job to be pushed. If there are multiple jobs to be pushed, the job matching degree correspondingly includes multiple jobs, that is, the job matching degree includes the matching degree between the target object and each job to be pushed.
[0165] The target job matching model in this embodiment can be obtained by obtaining intention representation information, behavior coding features and sample job coding features through training sample data, and training the job matching model, wherein the training sample data includes the job-seeking behavior data and sample job data of the job seeker, the job-seeking behavior data includes intention-associated behavior data and ordered behavior sequences, the intention representation information is obtained based on the job-seeking behavior vector and the intention-associated behavior data, the job-seeking behavior vector is constructed based on the job-seeking behavior data, the behavior coding features are obtained by extracting features from the ordered behavior sequences, and the sample job coding features are obtained by extracting features from the sample job data. The target job matching model can be obtained by training based on the model training method in the above embodiment.
[0166] Step 806: Based on the job matching degree, determine the job information of the target job to be pushed to the target object from the jobs to be pushed.
[0167] The server determines the target position information to be pushed to the target object based on the position matching degree. For example, the position corresponding to the highest position matching degree can be used as the target position, or a preset number of positions can be selected as the target positions in descending order of position matching degree, and then the target position information is determined based on the target position.
[0168] Optionally, after determining the target position information to be pushed to the target object based on the position matching degree, the target position information is pushed to the target object. For example, the target position information may be pushed to a user identifier or a terminal identifier corresponding to the target object.
[0169] It can be understood that the target job matching model can be obtained by training based on the job matching model. The training process of the target job matching model can refer to the steps of the above-mentioned model training method, which will not be repeated here.
[0170] In the above embodiment, by obtaining the job data of the job to be pushed and the job-seeking behavior data of the target object, the job data of the job to be pushed and the job-seeking behavior data of the target object are input into the target job matching model to obtain the job matching degree, and based on the job matching degree, the job information of the target job to be pushed to the target object is determined from the job to be pushed, so that the job information matching the job-seeking behavior data of the target object can be accurately pushed to the target object, and the matching job information can be pushed to the target object in combination with the job-seeking intention and job-seeking behavior of the target object, so as to maximize the satisfaction of the job-seeking intention of the job-seeking object, and accurately push the job that meets the job-seeking intention to the target object, thereby improving the pushing accuracy of the job information; in addition, by automatically matching the job-seeking object and the job information, and pushing the matching job information to the job-seeking object, the human factors mixed in by manual matching can be avoided, the matching accuracy and matching efficiency can be improved, and the job-seeking time of the job-seeking object and the recruitment time of the recruiter can be saved, thereby improving the job-seeking efficiency of the job-seeking object and the recruitment efficiency of the recruiting unit.
[0171] In an example, the model structure of the target position matching model is as follows: Fig. 9As shown, the target job matching model includes an input layer, an intention coding layer, a behavior coding layer, a job coding layer, an aggregation layer, and an output layer. The input layer obtains the intention-related behavior data, the ordered behavior sequence, and the job data to be pushed in the job-seeking behavior data of the target object; the input layer constructs a job-seeking behavior vector based on the job-seeking behavior data; the intention coding layer processes and encodes the intention-related behavior data and the job-seeking behavior vector to obtain the intention representation information; the behavior coding layer extracts features from the ordered behavior sequence to obtain the behavior coding features; the job coding layer extracts features from the job data to be pushed to obtain the job coding features; the aggregation layer aggregates the intention representation information, the behavior coding features, and the job coding features to obtain the aggregated features; based on the aggregated features, the output layer predicts the job matching degree between the target object and the job data to be pushed; based on the job matching degree, the job information of the target job to be pushed to the target object is determined.
[0172] In this example, by obtaining the job-seeking behavior data of the job seeker and the job data to be pushed, the job matching degree between the job seeker and the job data to be pushed is obtained through the input layer, intention coding layer, behavior coding layer, job coding layer, aggregation layer and output layer in the target job matching model. Based on the job matching degree, the job information of the target job to be pushed to the job seeker is determined, so that job information that meets the job-seeking intention and personalized characteristics of the job seeker can be pushed to the job seeker, and job information that meets his job-seeking intention can be accurately pushed to the job seeker, thereby improving the accuracy of job information push. By pushing matching job information to the job seeker in an automatic matching manner, the job search time of the job seeker and the recruitment time of the recruiter can be reduced, thereby improving the job search efficiency of the job seeker and the recruitment efficiency of the recruiting unit.
[0173] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0174] Based on the same inventive concept, the embodiment of the present application also provides a model training device for implementing the model training method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more model training device embodiments provided below can refer to the limitations on the model training method above, and will not be repeated here.
[0175] In one embodiment, Fig.10 As shown, a model training device is provided, including: a training data acquisition module 1002, a feature vector construction module 1004, an intention representation determination module 1006, an encoding module 1008, and a matching model training module 1010, wherein:
[0176] The training data acquisition module 1002 is used to acquire training sample data, wherein the training sample data includes job-seeking behavior data and sample job data of job seekers; the job-seeking behavior data includes intention-related behavior data and ordered behavior sequences;
[0177] A feature vector construction module 1004 is used to construct a job-seeking behavior vector based on the job-seeking behavior data;
[0178] An intention expression determination module 1006, configured to obtain intention expression information based on the job-seeking behavior vector and the intention-associated behavior data;
[0179] The coding module 1008 is used to extract features from the ordered behavior sequence to obtain behavior coding features; extract features from the sample job data to obtain sample job coding features;
[0180] The matching model training module 1010 is used to train a job matching model based on the intention representation information, behavior coding features, and sample job coding features.
[0181] In one embodiment, the feature vector construction module 1004 is further used to:
[0182] Based on the job-seeking behavior data, job-seeking objects and positions involved in the job-seeking objects are obtained; based on the interactive information of the job-seeking objects on the positions involved in the job-seeking objects, the degree of association between the job-seeking objects and the positions involved is determined; based on the degree of association between the job-seeking objects and the positions involved, the job-seeking behavior vector is constructed.
[0183] In one embodiment, the intent expression determination module 1006 is further configured to:
[0184] Construct an intention behavior vector based on the intention-associated behavior data; fuse the job-seeking behavior vector and the intention behavior vector to obtain an intention representation vector; map the intention representation vector from the original feature space to the latent feature space to obtain a latent variable representation; reversely map the latent variable representation from the latent feature space to the original feature space to obtain a reconstructed intention representation vector; the dimension of the latent feature space is lower than the dimension of the original feature space; until the difference between the reconstructed intention representation vector and the intention representation vector is less than a difference threshold, the corresponding latent variable representation is used as the intention representation information. In one embodiment, the matching model training module 1010 is also used to:
[0185] The intention representation information, the behavior coding features, and the sample job coding features are aggregated to obtain aggregate features; the job matching model is trained according to the aggregate features to obtain a target job matching model.
[0186] In one embodiment, the matching model training module 1010 is further used to:
[0187] Based on the aggregated features, a first similarity and a second similarity are determined, the first similarity being used to characterize the degree of match between the job seeker and the intended position involved in the intention-associated behavior data, and the second similarity being used to characterize the degree of match between the job seeker and other positions involved in the job-seeking behavior data except the intended position; a contrast loss is obtained based on the first similarity and the second similarity; a regularization loss is obtained based on the difference between the intention representation information and the aggregated features; an attention constraint loss is obtained based on the attention weight of the intention representation information, the attention weight of the behavior coding feature, the attention weight of the sample position coding feature, and a constraint control parameter, and the constraint control parameter is used to control the attention strength of the attention mechanism; the contrast loss, the regularization loss, and the attention constraint loss are fused to obtain a target loss; the parameters of the position matching model are adjusted according to the target loss to obtain the target position matching model.
[0188] In one embodiment, the matching model training module 1010 is further used to:
[0189] A preset value is used as a first comparison value; a difference between the first similarity and the second similarity is merged with a boundary parameter to obtain a second comparison value; the boundary parameter refers to a parameter used to control the first similarity to be higher than the second similarity; and a larger value between the first comparison value and the second comparison value is used as the comparison loss.
[0190] In one embodiment, the matching model training module 1010 is further used to:
[0191] Based on the preset constant, the attention weight of the intention representation information, the attention weight of the behavior coding feature, and the attention weight of the sample position coding feature are respectively subjected to exponential operation to obtain the corresponding first index, second index, and third index; based on the statistical characteristics of the first index, the second index, and the third index and the constraint control parameter, the attention constraint loss is obtained. In one embodiment, the position matching model includes an intention coding layer and a position coding layer; the matching model training module 1010 is also used to:
[0192] The intention coding layer of the job matching model is trained according to the first aggregation feature corresponding to the current training round until the first training condition is met to obtain an intermediate job matching model; the second aggregation feature is obtained based on the model parameters of the intermediate job matching model; the model parameters of the intention coding layer in the intermediate job matching model are kept unchanged, and the job coding layer of the intermediate job matching model is trained according to the second aggregation feature until the second training condition is met to obtain the target job matching model.
[0193] Based on the same inventive concept, the embodiment of the present application also provides a job information push device for implementing the job information push method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the job information push device provided below can refer to the limitations of the job information push method above, and will not be repeated here.
[0194] In one embodiment, Fig.11 As shown, a job information push device is provided, including: a data acquisition module 1102, a job matching module 1104 and an information push module 1106, wherein:
[0195] The data acquisition module 1102 is used to acquire the job data of the job to be pushed and the job-seeking behavior data of the target object;
[0196] The job matching module 1104 is used to input the job data of the job to be pushed and the job-seeking behavior data of the target object into a target job matching model to obtain the job matching degree between the target object and the job to be pushed; the target job matching model is trained based on the above-mentioned model training method;
[0197] The information pushing module 1106 is used to determine the job information of the target job to be pushed to the target object from the jobs to be pushed based on the job matching degree.
[0198] Each module in the above-mentioned model training device or job information push device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0199] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.12 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store model parameter data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a model training method is implemented.
[0200] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.13As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for pushing job information is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0201] Those skilled in the art will understand that Fig.12 , Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0202] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned model training method embodiment or the job information push method embodiment are implemented.
[0203] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned model training method embodiment or the job information push method embodiment are implemented.
[0204] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps in the above-mentioned model training method embodiment or the job information pushing method embodiment.
[0205] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws and regulations and standards.
[0206] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0207] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0208] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A model training method, characterized in that: The method comprises: Acquire training sample data, wherein the training sample data includes job-seeking behavior data and sample job data of job seekers; the job-seeking behavior data includes intention-related behavior data and ordered behavior sequences; Constructing a job-seeking behavior vector based on the job-seeking behavior data; Based on the job-seeking behavior vector and the intention-associated behavior data, obtaining intention representation information; Extracting features from the ordered behavior sequence to obtain behavior coding features; extracting features from the sample job data to obtain sample job coding features; A job matching model is trained based on the intention representation information, the behavior coding features, and the sample job coding features.
2. The method according to claim 1, characterized in that The step of constructing a job-seeking behavior vector based on the job-seeking behavior data includes: Based on the job-seeking behavior data, obtaining job seekers and positions involved in the job seekers; Determining the degree of association between the job seeker and the position involved according to the job seeker's interactive information on the position involved; The job-seeking behavior vector is constructed according to the degree of association between the job-seeking object and the position involved.
3. The method according to claim 1, characterized in that The obtaining intention representation information based on the job-seeking behavior vector and the intention-associated behavior data includes: Constructing an intention behavior vector based on the intention-associated behavior data; fusing the job-seeking behavior vector with the intention behavior vector to obtain an intention representation vector; Mapping the intention representation vector from the original feature space to the latent feature space to obtain a latent variable representation; inversely mapping the latent variable representation from the latent feature space to the original feature space to obtain a reconstructed intention representation vector; the dimension of the latent feature space is lower than the dimension of the original feature space; In a case where the difference between the reconstructed intention representation vector and the intention representation vector is smaller than a difference threshold, the latent variable representation is used as the intention representation information.
4. The method according to claim 1, characterized in that: The training of the job matching model based on the intention representation information, the behavior coding features, and the sample job coding features includes: Aggregating the intention representation information, the behavior coding features, and the sample position coding features to obtain aggregate features; The job matching model is trained according to the aggregated features to obtain a target job matching model.
5. The method according to claim 4, characterized in that The step of training the job matching model according to the aggregated features to obtain a target job matching model includes: Determining a first similarity and a second similarity based on the aggregated features, wherein the first similarity is used to characterize the degree of match between the job seeker and the intended position involved in the intention-associated behavior data, and the second similarity is used to characterize the degree of match between the job seeker and other positions involved in the job seeking behavior data except the intended position; and obtaining a comparison loss based on the first similarity and the second similarity; Obtaining a regularization loss according to the difference between the intent representation information and the aggregated features; Obtaining an attention constraint loss according to the attention weight of the intention representation information, the attention weight of the behavior coding feature, the attention weight of the sample position coding feature, and a constraint control parameter, wherein the constraint control parameter is used to control the attention strength of the attention mechanism; The contrast loss, regularization loss and attention constraint loss are combined to obtain the target loss; The parameters of the job matching model are adjusted according to the target loss to obtain the target job matching model.
6. The method according to claim 5, characterized in that The obtaining the contrast loss based on the first similarity and the second similarity includes: Using a preset value as a first comparison value; The difference between the first similarity and the second similarity is merged with a boundary parameter to obtain a second comparison value; the boundary parameter refers to a parameter used to control the first similarity to be higher than the second similarity; The larger value between the first comparison value and the second comparison value is used as the contrast loss.
7. The method according to claim 5, characterized in that The attention constraint loss is obtained according to the attention weight of the intention representation information, the attention weight of the behavior coding feature, the attention weight of the sample position coding feature and the constraint control parameter, including: Based on the preset constant, an exponential operation is performed on the attention weight of the intention representation information, the attention weight of the behavior coding feature, and the attention weight of the sample position coding feature to obtain the corresponding first index, second index, and third index; The attention constraint loss is obtained based on the statistical characteristics of the first index, the second index, the third index and the constraint control parameter.
8. The method according to claim 4, characterized in that The job matching model includes an intention coding layer and a job coding layer; the job matching model is trained according to the aggregated features to obtain a target job matching model, including: Training the intention encoding layer of the job matching model according to the first aggregated feature corresponding to the current training round until the first training condition is met to obtain an intermediate job matching model; Obtaining a second aggregate feature based on the model parameters of the intermediate job matching model; The model parameters of the intention coding layer in the intermediate job matching model are kept unchanged, and the job coding layer of the intermediate job matching model is trained according to the second aggregated features until the second training condition is met, so as to obtain the target job matching model.
9. A method for pushing job information, characterized in that: The method comprises: Obtain the job data of the jobs to be pushed and the job-seeking behavior data of the target objects; Inputting the job data of the job to be pushed and the job-seeking behavior data of the target object into a target job matching model to obtain the job matching degree between the target object and the job to be pushed; the target job matching model is trained based on the model training method according to any one of claims 1 to 8; Based on the job matching degree, job information of a target job to be pushed to the target object is determined from the jobs to be pushed.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
