WO2023284434A1 - Target information recommendation method and apparatus, and electronic device and storage medium - Google Patents
Target information recommendation method and apparatus, and electronic device and storage medium Download PDFInfo
- Publication number
- WO2023284434A1 WO2023284434A1 PCT/CN2022/096666 CN2022096666W WO2023284434A1 WO 2023284434 A1 WO2023284434 A1 WO 2023284434A1 CN 2022096666 W CN2022096666 W CN 2022096666W WO 2023284434 A1 WO2023284434 A1 WO 2023284434A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- subset
- information
- candidate
- target
- weight
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Recommending goods or services
Definitions
- the present disclosure relates to the field of information processing but is not limited to the field of information processing, and in particular relates to a method and device for recommending target information, electronic equipment, and a storage medium.
- Embodiments of the present disclosure provide a method and device for recommending target information, electronic equipment, and a storage medium.
- the first aspect of the embodiments of the present disclosure provides a method for recommending target information, including: acquiring a reference parameter set of at least one dimension information of the candidate information to be recommended and multiple candidate parameter sets of the at least one dimension information ;
- the reference parameter set includes: a reference weight subset of at least one dimension information and a reference mapping value subset corresponding to the reference weight subset;
- the candidate parameter set includes: the at least one dimension information The candidate weight subsets and the candidate mapping value subsets corresponding to each of the candidate weight subsets;
- the first sum value is: any one of the candidate mapping value The sum of the elements in the subset;
- the second sum is the sum of the elements in the reference mapping value subset, and each element in the candidate mapping value subset has a proportional coefficient, and the proportional coefficient is configured to represent the The degree of influence of the dimension information on determining the recommended target information from the candidate information;
- the target weight subset includes: a target weight affecting at least one dimension information of the candidate information;
- the second aspect of the embodiments of the present disclosure provides an apparatus for recommending target information, the apparatus including:
- the obtaining module is configured to obtain a reference parameter set of at least one dimension information of the candidate information to be recommended and a plurality of candidate parameter sets of the at least one dimension information; wherein the reference parameter set includes: at least one A reference weight subset of one dimension information and a reference mapping value subset corresponding to the reference weight subset; the candidate parameter set includes: the candidate weight subset of the at least one dimension information and each of the candidate the subset of alternative mapping values corresponding to the subset of weights;
- a target mapping value subset determining module configured to determine a target mapping value subset from the candidate mapping value subset according to the difference between the first sum and the second sum; wherein the first and The value is: the sum of elements in any one of the candidate mapping value subsets; the second sum value is the sum of elements in the reference mapping value subset, and each element in the candidate mapping value subset has a proportional coefficient , the proportional coefficient is configured to represent the degree of influence of the dimensional information on determining recommended target information from the candidate information;
- the target weight subset determination module is configured to determine a target weight subset according to the target mapping value subset; the target weight subset includes: target weights affecting at least one dimension information of the candidate information;
- the recommendation module is configured to select the recommended target information from the candidate information according to the target weight.
- a third aspect of the embodiments of the present disclosure provides an electronic device, including:
- memory configured to store processor-executable instructions
- the processor is configured to execute the method for recommending target information as provided in any technical solution of the aforementioned first aspect.
- the fourth aspect of the embodiments of the present disclosure provides a non-transitory computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, the aforementioned first A recommended method for target information provided by any technical solution.
- the method in this embodiment when determining the first sum value, by adding a proportional coefficient to each element in the candidate mapping value subset, that is, before each candidate mapping value, the method in this embodiment can improve the accuracy of the target information.
- Recommendation accuracy reducing the mutual influence and restriction between the weights corresponding to multiple dimension information, reducing the influence of the weight corresponding to one part of the dimension information on the weight corresponding to the other part of the dimension information, and reducing the weight corresponding to the other part of the dimension information
- the degree of sacrifice of the accuracy of determining the target information further improves the effect of the weight corresponding to another part of the dimension information on the accuracy of determining the target information, thus improving the weight corresponding to the multiple dimension information in determining the target information.
- Fig. 1 is a schematic flowchart of a method for recommending target information according to an exemplary embodiment
- Fig. 2 is a schematic flowchart of determining a subset of target mapping values according to an exemplary embodiment
- Fig. 3 is a schematic flow diagram of obtaining a set of candidate parameters according to an exemplary embodiment
- Fig. 4 is a schematic flow chart of updating a proportional coefficient according to an exemplary embodiment
- Fig. 5 is a schematic diagram showing a change trend of alternative mapping values in an application scenario according to an exemplary embodiment
- Fig. 6 is a schematic diagram showing a change trend of alternative mapping values in an application scenario according to an exemplary embodiment
- Fig. 7 is a schematic flowchart of another method for recommending target information according to an exemplary embodiment
- Fig. 8 is a block diagram of a terminal device according to an exemplary embodiment.
- the degree of determination of the final recommended information by these key reference factors will be reduced, resulting in
- the determination degree of other reference information to the final recommended information is far less than that of this one or several reference factors, so that the relationship between multiple reference factors cannot be balanced according to multiple reference factors to achieve an overall optimal effect.
- the accuracy of the final recommended information is reduced, and the most suitable or matching recommendation information cannot be recommended, thereby reducing the recommendation effect and user experience.
- FIG. 1 it is a schematic flowchart of a method for recommending target information provided by an embodiment of the present disclosure.
- the data processing method includes the following steps:
- Step S100 obtaining a reference parameter set of at least one dimension information of the candidate information to be recommended and multiple candidate parameter sets of the at least one dimension information; wherein, the reference parameter set includes: at least one dimension information The reference weight subset of the reference weight subset and the reference mapping value subset corresponding to the reference weight subset; the candidate parameter set includes: the candidate weight subset of the at least one dimension information and each of the candidate weight subsets The corresponding subset of alternative mapping values.
- Step S200 determine the target mapping value subset from the candidate mapping value subset; wherein, the first sum value is: any one of the candidate mapping value subsets The sum of the elements in the selected mapping value subset; the second sum value is the sum of the elements in the reference mapping value subset, and each element in the candidate mapping value subset has a proportional coefficient, and the proportional coefficient is used to represent The degree of influence of the dimension information on determining the recommended target information from the candidate information.
- Step S300 according to the subset of target mapping values, determine a subset of target weights; the subset of target weights includes: target weights affecting at least one dimension information of the candidate information.
- Step S400 selecting the recommended target information from the candidate information according to the target weight subset.
- the method can at least be executed in the mobile terminal, that is, the execution body of the method can at least include the mobile terminal.
- Mobile terminals can include mobile phones, tablet computers, vehicle-mounted central control devices, wearable devices, smart devices, etc., and smart devices can include smart office equipment and smart home devices.
- the method of this embodiment can be executed by the execution terminal in various recommendation scenarios, and can be applied in a recommendation scenario in which a recommendation result is determined by one dimension information, or can be applied in a recommendation scenario in which a recommendation result is determined by multiple dimension information.
- the candidate information to be recommended has multiple dimension information that can be referred to, and the final recommendation information can be determined according to these dimension information. Different dimensions of information have different proportions in determining whether a certain candidate information is the final recommendation information, so different dimensions of information have different reference values for determining the final recommendation information.
- this method can also be executed by the execution terminal in various recommendation scenarios.
- some candidate targets have multiple dimension information, as long as it is determined according to these different dimension information whether the candidate target is the final target scenario, all Within the protection scope of this embodiment.
- the optimal target weight corresponding to each dimension information can be determined, so as to determine the recommended target information according to the optimal target weight.
- the candidate information to be recommended includes at least one of the following: video, official account, article and/or product description information, and the like.
- Products here include, but are not limited to: physical goods and/or services.
- other types of content may also be included, which will not be listed one by one here, as long as the content including multiple dimensions of information can be used as candidate information to be recommended, all within the scope of protection of this embodiment.
- the dimensional information of the candidate information to be recommended includes at least one of the following: downloads, favorites, likes, number of users who follow the author of the candidate information, average browsing time, number of comments, and forwarding Quantity etc.
- different candidate information may have at least one dimension information matching the candidate information.
- the dimension information of the candidate information to be recommended may be: generated according to historical operations on the candidate information by the user who has received the information.
- the dimensional information of the candidate information to be recommended includes at least one of the following: the difference between the amount of information of the information to be recommended and the amount of information preferred by the recommended user, the difference between the information content of the information to be recommended and the amount of information to be recommended The similarity between the recommended user's preferred content, the strength of the information to be recommended, etc.
- videos, official accounts or articles may be downloaded, favorited, liked, commented and/or forwarded, etc.
- the author of the target message such as an account or an article may also be followed and so on. Downloads, favorites, likes, the number of users followed by the author of the alternative information, the average browsing time, the number of comments, and the number of reposts, etc., can reflect the user's awareness of the videos, official accounts and The degree of liking for content such as articles.
- Different dimension information occupies different weights in the candidate information to be recommended.
- the weight of these dimension information in the candidate information can determine whether the candidate information is the target information, that is, the candidate information can be ranked according to these dimension information.
- the weight occupied by the target information is determined from the alternative information.
- the target information that needs to be recommended is determined in the alternative information.
- This embodiment is to determine the weight of the target information from the candidate information according to the weights of different dimension information of the candidate information illustrate.
- step S100 obtain a reference parameter set of at least one dimension information of the candidate information to be recommended, the reference parameter set is used as a basic parameter set for determining the target information, combine the information in the candidate parameter set with the reference parameter set In the information, determine the target information.
- the reference parameter set includes: a reference weight subset of at least one dimension information and a reference mapping value subset corresponding to the reference weight subset.
- the reference weight subset is a collection of reference weights of at least one dimension information, that is, the reference weight subset includes reference weights of at least one dimension information.
- the reference mapping value subset is a set of mapping values corresponding to the reference weights of at least one dimension information, that is, the reference mapping value subset includes the mapping values of the reference weights of at least one dimension information.
- the set of reference parameters may be a predetermined set.
- each weight in the reference weight subset is referred to as an element of the reference weight subset.
- the candidate information to be recommended is a video, which includes seven dimensions of information: downloads, collections, likes, number of users who follow the author of the candidate information, average browsing time, number of comments, and number of reposts.
- Each dimension information has its own reference weight.
- the weight value corresponding to each dimension information in the reference weight subset, that is, the value of each element may be predetermined, that is, a reference value matching the candidate information to be recommended, or a randomly initialized value.
- Each mapping value in the reference mapping value subset is referred to as an element of the reference mapping value subset, and the number of elements in the subset is equal to the number of elements in the reference weight subset.
- the corresponding mapping value can be determined according to the reference weight.
- the mapping value ybase1 of xbase1 can be determined, and the mapping value ybase2 of xbase2 can be determined.
- Each reference The weight corresponds to a reference mapping value, so that the mapping value of each element in the reference weight subset can be determined, thereby determining the reference mapping value subset.
- Ybase ⁇ ybase1, ybase2, ybase3, ybase4, ybase5, ybase6, ybase7 ⁇ .
- step S100 it also includes: obtaining a plurality of candidate parameter sets of at least one dimension information, that is, acquiring a plurality of candidate reference sets, and each candidate parameter set includes: candidate weights of at least one dimension information set and a subset of alternative mapping values corresponding to each subset of alternative weights.
- the number of candidate weights included in the candidate weight subset is the same as the number of reference weights of the dimension information included in the reference weight subset, and each candidate weight in the candidate weight subset is also used as each element of the candidate weight subset. That is, the number of elements included in the candidate weight subset is the same as the number of elements in the reference weight subset.
- the number of candidate weight subsets may be determined according to actual requirements, for example, three or five.
- the candidate weight subsets may be expressed as X1, X2, X3...Xt, that is, t candidate weight subsets are included.
- Each candidate weight subset includes the same number of elements as the number of elements in the reference map value subset, for example, 7 elements.
- X1 ⁇ x11, x12, x13, x14, x15, x16, x17 ⁇
- X2 ⁇ x21, x22, x23, x24, x25 , x26, x27 ⁇
- x3 ⁇ x31, x32, x33, x34, x35, x36, x37 ⁇
- x4 ⁇ x41, x42, x43, x44, x45, x46, x47 ⁇
- x5 ⁇ x51, x52, x53 , x54, x55, x56, x57 ⁇ .
- the two candidate weight subsets when the candidate weight values corresponding to at least one dimension information in the candidate weight subsets are different, the two candidate weight subsets are different.
- the weights included in any two different candidate weight subsets may be the same or may not be the same. In this embodiment, for the same dimensional information, the weights included in any two different candidate weight subsets are different as an example.
- the determined target information is different. By determining the target weight subsets from these different candidate weight subsets, the optimal target weight subset can be determined, thereby determining the recommended The target information with the highest accuracy improves the accuracy of recommendation.
- Each candidate weight in the candidate weight subset can be predetermined, or can be a candidate weight matched from the database and matched with the candidate information to be recommended, of course, it can also be determined by other methods, and will not be limited here .
- the candidate mapping value subsets corresponding to the candidate weight subsets can be expressed as Y1, Y2, Y3...Yt, and the number of candidate mapping value subsets is the same as the number of candidate weight subsets. If there are 5 candidate weight subsets, then there are 5 candidate mapping value subsets, there is a mapping relationship between Y1 and X1, there is a mapping relationship between Y2 and X2, ... there is a mapping relationship between Y5 and X5.
- the number of mapping values included in each candidate mapping value subset is the same as the number of weights in the candidate weight subset, that is, the number of elements in the candidate mapping value subset is the same as the number of elements in the candidate weight subset.
- Y1 ⁇ y11, y12, y13, y14, y15, y16, y17 ⁇
- Y2 ⁇ y21, y22, y23, y24, y25, y26, y27 ⁇
- Y3 ⁇ y31, y32, y33, y34, y35 , y36, y37 ⁇ and so on, Y4 and Y5 and so on.
- mapping relationship between y11 and x11 there is a mapping relationship between y12 and x12
- mapping relationship between y13 and x13 there is a mapping relationship between y17 and x17.
- mapping relationship between y21 and x21 there is a mapping relationship between y22 and x22, there is a mapping relationship between y23 and x23, ... there is a mapping relationship between y27 and x27, and so on.
- the candidate mapping value subset may be determined according to the candidate weight subset, or the candidate mapping value subset may be determined according to the candidate weight subset by using a preset model or functional relationship.
- the preset model or functional relationship here may be the same as the preset model or functional relationship used to determine the reference mapping value subset according to the reference weight subset.
- the subset of candidate weights and the subset of candidate mapping values may be used to determine the subset of target weights, thereby determining target information.
- the target mapping value subset can be determined through this step.
- the first sum value is: the sum of elements in any candidate mapping value subset.
- each element in each candidate mapping value subset has a proportional coefficient, which is used to represent the corresponding The degree of influence of dimension information on determining recommended target information from alternative information.
- the first sum value is determined according to each element in the candidate mapping value subset and the proportionality factor of each element.
- the alternative mapping value subset Y1 ⁇ y11, y12, y13, y14, y15, y16, y17 ⁇
- the first sum value corresponding to Y1 can be expressed as sum(a*y11, b*y12, c*y13, d*y14, e*y15, f*y16, g*y17).
- the first sum corresponding to Y2 is sum(a*y21, b*y22, c*y23, d*y24, e*y25, f*y26, g*y27).
- proportional coefficients are used to represent the dimensional information corresponding to the weights that have a mapping relationship with the mapping values, and the weights occupied when determining the target information from the candidate information to be recommended.
- the second sum value is: the sum of the elements in the reference map value subset.
- the elements in the reference mapping value subset can be directly added. For example, sum(ybase1, ybase2, ybase3, ybase4, ybase5, ybase6, ybase7).
- a target subset of mapped values is determined from the subset of candidate mapped values.
- the specific determination method is not limited, for example, reference may be made to subsequent embodiments, for example, the candidate mapping value subset with the largest difference may be used as the target mapping value subset, and so on.
- a target weight subset is determined according to the determined target mapping value subset. Since the target mapping value subset is selected from the candidate mapping value subsets, and each candidate mapping value subset corresponds to an alternative weight subset that has a mapping relationship, the corresponding existence of the target mapping value subset has a mapping A subset of alternative weights for the relationship, as a subset of target weights. That is, the candidate weight subset corresponding to the target mapping value subset is determined as the target weight subset.
- the target weight subset includes: a target weight affecting at least one dimension information of the candidate information.
- the target weight subset includes target weights corresponding to at least one dimension information, and the target weights can affect the determination of target information from candidate information, that is, influence whether a certain candidate information is enough target information.
- each element in the candidate mapping value subset that is, adding a proportional coefficient before each candidate mapping value
- recommended target information can be selected from candidate information according to the target weight subset. Since the target weight subset includes the weight of at least one dimension information, the target information can be determined from candidate information to be recommended according to the weight of at least one dimension information.
- the recommendation accuracy of target information can be improved, the mutual influence and restriction between the weights corresponding to multiple dimension information can be reduced, and the weight corresponding to some dimension information can be reduced to the weight corresponding to another part of dimension information.
- reduces the sacrifice degree of the weight corresponding to another part of the dimension information on the accuracy of determining the target information and then improves the effect of the weight corresponding to the other part of the dimension information on the accuracy of determining the target information, thereby improving
- the balance of the weights corresponding to the multi-dimensional information when determining the target information facilitates the improvement of the accuracy of determining the encoded information.
- the proportional coefficients of each element in the candidate mapping value subset may be a preset value, and the preset value may be fixed.
- the specific value of the proportional coefficient is determined according to actual business requirements, that is, according to the candidate information to be recommended. For example, according to the recommendation requirements of the candidate information to be recommended, if the degree of influence of some of the dimension information on the determination of the target information is greater than that of the other part of the dimension information on the determination of the target information, the weight corresponding to a part of the dimension information will be adjusted to a certain part of the dimension
- the scaling factor of the mapping value corresponding to the information is set to be larger than the scaling factor of the mapping value corresponding to another part of dimension information.
- step S200 it is a schematic flow chart for determining the target mapping value subset, step S200, according to the difference between the first sum value and the second sum value, determining the target mapping value subset from the candidate mapping value subset, including:
- Step S201 determining a first sum value according to the proportional coefficients of each element in the candidate mapping value subset.
- the first sum value is: the sum of elements in any candidate mapping value subset.
- each element in each candidate mapping value subset has a proportional coefficient, which is used to represent the corresponding The degree of influence of dimension information on determining recommended target information from alternative information.
- the first sum value is determined according to each element in the candidate mapping value subset and the proportionality factor of each element.
- the alternative mapping value subset Y1 ⁇ y11, y12, y13, y14, y15, y16, y17 ⁇
- the first sum value corresponding to Y1 can be expressed as sum(a*y11, b*y12, c*y13, d*y14, e*y15, f*y16, g*y17).
- the first sum corresponding to Y2 is sum(a*y21, b*y22, c*y23, d*y24, e*y25, f*y26, g*y27).
- proportional coefficients are used to represent the dimensional information corresponding to the weights that have a mapping relationship with the mapping values, and the weights occupied when determining the target information from the candidate information to be recommended.
- Step S202 according to the difference between the first sum and the second sum, determine the candidate mapping value subset with the largest difference, or the candidate mapping value subset whose difference is greater than the preset difference, as the target mapping value Subset.
- the candidate mapping with the largest difference is determined as the target mapping value subset, so that an optimal mapping value subset among all candidate mapping value subsets can be determined, and the optimal mapping value subset is used as the target mapping value subset.
- the candidate mapping value subset whose difference is greater than the preset difference can be used as the target mapping value subset.
- the preset difference can be determined according to the candidate information and match the preset difference with the candidate information.
- the optimal mapping value subset can be determined among the candidate mapping value subsets, and the optimal mapping value subset can be determined as the target mapping value Subset.
- the target information may be determined according to the target weight subset corresponding to the optimal mapping value subset.
- the step S100 of obtaining multiple set of candidate parameters of the at least one dimension information includes:
- Step S101 preset T initialization parameter sets, the initialization parameter sets include: an initialization weight subset of at least one dimension information and an initialization mapping value subset corresponding to the initialization weight subset.
- T initialization parameter sets can be preset in a preset manner, and each initialization parameter set includes an initialization weight subset of at least one dimension information and an initialization mapping value subset corresponding to the initialization weight subset Set, that is, there is a mapping relationship between the initialized weight subset and the initialized map value subset.
- Each initialization weight subset includes weights of at least one dimension information, and the number of initialization weights in the subset is the same as the number of weights in the reference weight subset.
- Each initialization mapping value subset includes mapping values corresponding to weights of at least one dimension information, and the number of mapping values in the subset is the same as the number of initialization weights in the initialization weight subset.
- the number of T can be set according to actual needs, for example, it can be a positive integer such as 3 or 5.
- the initialization weight subsets are X6, X7, X8, X9 and X10
- the initialization mapping value subsets are Y6 to Y10
- X6 ⁇ x61, x62, x63, x64, x65, x66, x67 ⁇
- X7 ⁇ x71, x72, x73, x74, x75, x76, x77 ⁇ , X3, X4 and X5 and so on.
- Y6 ⁇ y61, y62, y63, y64, y65, y66, y67 ⁇
- Y7 ⁇ y71, y72, y73, y74, y75, y76, y77 ⁇ and so on, Y8, Y9 and Y10 and so on.
- Y61 and x61 there is a mapping relationship between y62 and x62, there is a mapping relationship between y63 and x73, ... there is a mapping relationship between y67 and x67.
- Y71 and x71 there is a mapping relationship between y72 and x72, there is a mapping relationship between y73 and x73, ... there is a mapping relationship between y77 and x77, and so on.
- Step S102 according to the third sum of each element in the initialization weight subset in each initialization parameter set, and the fourth sum of each element in each initialization mapping value subset, determine the T+1th parameter set;
- the T+1th The parameter set includes: a T+1th weight subset and a T+1th mapping value subset, where T is a positive integer greater than 1.
- the sum of all initialization weights in each initialization weight subset is determined as the third sum value.
- the sum of all initialization mapping values in each subset of initialization mapping values is determined as the fourth sum value.
- each initialization weight subset corresponds to an initialization mapping value subset
- the initialization weight subset and the initialization weight subset with mapping relationship can be used as a set parameter.
- Different initialization parameter sets include a subset of initialization weights and a subset of initialization mapping values, so the third sum corresponding to a subset of initialization weights and the fourth sum corresponding to a subset of initialization mapping values can form The coordinates of an initialization parameter in the coordinate system.
- the third sum corresponds to the X-axis
- the fourth sum corresponds to the Y-axis.
- the T+1th parameter set includes a T+1th weight subset and a T+1th mapping value subset, and there is a mapping relationship between the T+1th mapping value subset and the T+1th weighting subset.
- the specific prediction method can be determined according to the Gaussian distribution and the conditional probability distribution of each subset of mapping values. For example:
- the optimal target information can be determined from the alternative information, and whether the target information is optimal is evaluated by Y corresponding to X, that is, the subset of mapping values, such as Y takes an extreme value (in a certain interval maximum or minimum value).
- the recommendation method of target information can be realized through the recommendation model.
- auc and gauc are generally used to evaluate the accuracy of the recommendation model of target information.
- the surrogate function can obtain the optimal solution by evaluating the score of the surrogate function on X. Assuming that X and Y obey the Gaussian distribution, the posterior probability distribution of (X,Y) can be fitted through the Gaussian distribution, then we can predict the value of Y based on X. Every time Y obtained according to X can correct the prediction of the posterior probability distribution. Of course, the more samples are taken, the closer the obtained distribution is to the real one, but the cost of calculation is huge. If any infinite sampling is performed, time-consuming and traversal The time-consuming of X to find Y is close.
- a sampling limit is set, called the harvest function. , which can be max(mean+var).
- mean represents the mean value, and the higher the mean value, the region sampling where the global optimal solution is most likely to appear.
- var represents the variance, and the higher the variance, the more likely the global optimal solution is in the unsampled area, that is, to obtain sampling points in the unsampled area. Blindly pursuing the global optimal solution, the optimal X will linger at the points around X, which is not conducive to quickly fitting the real distribution. Therefore, it is also necessary to add variance to expand the variance and find some unsampled areas.
- the optimal X under the current distribution can be determined, and Y can be obtained through f, and (X, Y) is the predicted information. Use To update the data distribution, continue to iterate.
- the sum of each weight in the T+1th weight subset of the T+1th parameter set is a local maximum value, and the sum of each mapping value in the T+1th mapping value subset is a local maximum value.
- Step S103 according to the T+n parameter sets, determine the T+n+1th parameter set; n is a positive integer, and the sum of the elements in the T+nth mapping value subset is a local maximum value.
- the T+1th parameter set can be determined according to the known T initialization parameter sets, that is, according to the third sum corresponding to the initialization weight subset in the known T initialization parameter sets and the first corresponding to the initialization mapping value subset
- the four sum values can determine the positions in the coordinate system of the third sum value and the fourth sum value respectively corresponding to the first initialization parameter set to the Tth initialization parameter set.
- the position of the sum value corresponding to the weight subset in the T+1th parameter set and the sum value corresponding to the mapping value subset in the coordinate system can be predicted, so as to determine the weight subset in the T+1th parameter set The corresponding sum value and the sum value corresponding to the mapping value subset, and then determine the weight subset and mapping value subset corresponding to the T+1th parameter set.
- the third sum value and the fourth sum value corresponding to the T initialization parameter set and the T+1th parameter set respectively, determine the sum value of the weight subset and the sum value of the mapping value subset in the T+2th parameter set , so as to determine the weight subset and mapping value subset corresponding to the T+2th parameter set.
- the sum value corresponding to the weight subset in the T+nth parameter set and the sum value corresponding to the mapping value subset can be based on the sum value and mapping corresponding to the weight subset in the first T+n-1 parameter set
- the sum value corresponding to the subset of values is determined. According to the sum value corresponding to the weight subset in the first T+n parameter sets and the sum value corresponding to the mapping value subset, determine the corresponding sum value corresponding to the weight subset in the T+n+1 parameter set and the mapping value subset correspondence , so as to determine the T+n+1th parameter set.
- n may be determined according to actual requirements, for example, may be a positive integer ranging from 1 to 10000.
- the sum of the weights of the weight subsets in each parameter set is a local maximum value, and the sum of the mapping values in the mapping value subset is also a local maximum value.
- Step S104 determining T+n+1 parameter sets as candidate parameter sets.
- T+n+1 parameter sets After determining T+n+1 parameter sets, determine these T+n+1 parameter sets as alternative parameter sets, and determine the target parameter set from these T+n+1 parameter sets, thereby determining the target mapping value Subset.
- T+n parameter sets may also be determined as candidate parameter sets.
- step S101 preset T sets of initialization parameters, including:
- the historical parameter set of the candidate information determine T initialization parameter sets that match the candidate information; wherein, the historical parameter set includes: a historical weight subset of at least one dimension information and a historical mapping value sub-set corresponding to the historical weight subset set.
- the number of elements in the historical weight subset and the historical mapping value subset included in the historical parameter set may be equal to the number of elements in the reference weight subset and the reference mapping value subset.
- the degree of matching between the initialization parameter sets and candidate information can be improved, thereby improving the accuracy of the determined target information.
- the method further includes: updating the scaling factor according to the subset of candidate mapping values.
- the proportional coefficient can be changed dynamically.
- the proportional coefficient of each element in the candidate mapped value subset can be dynamically updated. In this way, the degree of influence of at least one dimension information on the target information is balanced, and the mutual constraints between the target weights corresponding to multiple dimension information are reduced, resulting in a situation where the accuracy of the determined target information is low, thereby improving the accuracy of determining the target information Spend.
- FIG. 4 is a schematic flow chart of updating the proportional coefficient. Update the scale factor based on a subset of alternative mapping values, including:
- Step S10 according to the plurality of candidate mapping values corresponding to each dimension information, determine the change trend of the plurality of candidate mapping values respectively corresponding to each dimension information.
- each mapping value in the candidate mapping value subsets in each candidate parameter set can be determined, and each candidate mapping value subset Both include mapping values corresponding to each dimension information, so that multiple mapping values corresponding to each dimension information can be determined, and thus the change trend of each mapping value corresponding to each dimension information can be obtained. That is, each dimension information corresponds to a change trend of multiple mapping values corresponding to the dimension information.
- Step S20 adjust the proportional coefficient according to each change trend until each change trend reaches the target range; wherein, the change trends corresponding to different dimension information have corresponding target ranges respectively.
- the target range is: a threshold range determined according to a proportion of dimension information in selecting target information from candidate information. That is, each change trend corresponds to a threshold range, and the threshold range is determined by the proportion of information in different dimensions when selecting target information from candidate information.
- the proportional coefficient of the candidate mapping value corresponding to each dimension information can be adjusted according to the change trend, and the different change trends can be adjusted to the corresponding target range.
- the degree of influence of at least one dimensional information on the target information can be balanced, and the mutual constraints between the target weights corresponding to multiple dimensional information can be reduced, resulting in a situation where the accuracy of the determined target information is low, thereby improving the accuracy of determining the target information. Accuracy.
- the seven dimension information of downloads, favorites, likes, number of users followed by the author of alternative information, average browsing time, number of comments, and number of retweets correspond to thresholds ranging from 0 to 0.02% and 0.1% respectively to 0.3%, 0.2% to 0.5%, 0.3% to 0.7%, 0.1% to 0.6%, -0.9% to 0 and 0.05% to 0.08%, etc.
- the change rate corresponding to the change trend reaches the corresponding threshold range, the adjustment of the proportional coefficient can be realized.
- the rate of change is outside the corresponding threshold range, the corresponding rate of change is adjusted to be within the corresponding threshold range.
- it may also be: according to the change trend, when the multiple candidate mapping values corresponding to each dimension information exceed the corresponding threshold range, adjust the proportional coefficients of the candidate mapping values corresponding to each dimension information, and The candidate mapping values respectively corresponding to the dimension information are adjusted within a threshold range, and the threshold range in this embodiment is the numerical range of the candidate mapping values.
- FIG. 5 it is a schematic diagram of an apparatus for recommending target information, which includes:
- the acquisition module 1 is configured to acquire a reference parameter set of at least one dimension information of the candidate information to be recommended and a plurality of candidate parameter sets of the at least one dimension information; wherein, the reference parameter set includes: at least A reference weight subset of dimension information and a reference mapping value subset corresponding to the reference weight subset; the candidate parameter set includes: the candidate weight subset of the at least one dimension information and each of the candidate parameters Select a subset of alternative mapping values corresponding to the subset of weights;
- the target mapping value subset determination module 2 is configured to determine the target mapping value subset from the candidate mapping value subset according to the difference between the first sum value and the second sum value; wherein, the first The sum value is: the sum of elements in any one of the candidate mapping value subsets; the second sum value is the sum of elements in the reference mapping value subset, and each element in the candidate mapping value subset has a ratio A coefficient, the proportional coefficient is used to represent the degree of influence of the dimension information on determining the recommended target information from the candidate information;
- the target weight subset determining module 3 is configured to determine a target weight subset according to the target mapping value subset; the target weight subset includes: a target weight affecting at least one dimension information of the candidate information;
- the recommendation module 4 is configured to select the recommended target information from the candidate information according to the target weight.
- the proportional coefficient is a preset value
- Target mapping value subset determination module 2 including:
- a first sum value determination unit configured to determine the first sum value according to the proportionality coefficient of each element in the candidate mapping value subset
- the target mapping value subset determining unit is configured to, according to the difference between the first sum and the second sum, select the candidate mapping value subset with the largest difference, or the difference
- the candidate mapping value subset greater than a preset difference is determined as the target mapping value subset.
- the device also includes:
- a scaling factor updating module configured to update the scaling factor according to the subset of candidate mapping values.
- the scale factor update module includes:
- the change trend determination unit is configured to determine the change trend of the plurality of candidate mapping values corresponding to each dimension information respectively according to the plurality of candidate mapping values corresponding to each dimension information;
- the adjustment unit is configured to adjust the proportional coefficient according to each change trend until each change trend reaches a target range; wherein the change trends corresponding to different dimensional information have corresponding target ranges respectively.
- the target range is: a threshold range determined according to a proportion of the dimension information when selecting the target information from the candidate information.
- the initialization parameter set acquisition unit is configured to preset T initialization parameter sets, the initialization parameter sets include: the initialization weight subset of the at least one dimension information and the initialization mapping value subset corresponding to the initialization weight subset ;
- the T+1th parameter set determining unit is configured to, according to the third sum of each element in the initialization weight subset in each initialization parameter set, and the fourth sum of each element in each of the initialization mapping value subsets, Determine the T+1th parameter set; wherein, the T+1th parameter set includes: the T+1th weight subset and the T+1th mapping value subset, and T is a positive integer greater than 1;
- the T+n+1th parameter set determining unit is configured to determine the T+n+1th parameter set according to the T+n parameter set; n is a positive integer, and in the T+nth mapping value subset The sum of each element is a local maximum;
- the candidate parameter set determining unit is configured to determine the T+n+1 parameter sets as the candidate parameter sets.
- the initialization parameter set acquisition unit is also configured as:
- the historical parameter set of the candidate information determine T initialization parameter sets matching the candidate information; wherein, the historical parameter set includes: a historical weight subset of at least one dimension information and the historical weight A subset of historical mapping values corresponding to the subset;
- the target weight subset determination module 3 is further configured to:
- a candidate weight subset corresponding to the target mapping value subset is determined as the target weight subset.
- the candidate information to be recommended includes at least one of the following:
- the dimension information includes at least one of the following:
- the number of downloads, favorites, likes the number of users who follow the author of the alternative information, the average browsing time, the number of comments, and the number of reposts.
- An embodiment of the present disclosure provides an electronic device, including:
- memory for storing processor-executable instructions
- the processor is configured to execute the video processing method provided by any of the foregoing technical solutions by executing the computer-executable instructions stored in the memory.
- the processor may include various types of storage media, which are non-transitory computer storage media, and can continue to memorize and store information thereon after the mobile terminal is powered off.
- the processor may be connected to the memory through a bus, etc., and configured to read the executable program stored on the memory, for example, at least one of the methods shown in any one of Figures 1 to 4 and the method shown in Figure 7 one.
- Another method for recommending target information is provided.
- the automatic parameter tuning methods used include grid search, random search, and Bayesian optimization.
- grid search is often not suitable for rapid product iteration due to the waste of a lot of time and space; random search is likely to miss the optimal point; traditional Bayesian optimization, Although a hyperparameter black box is provided, it is easy to fall into a local optimum under multiple interacting parameters, or it is difficult to find a balance to optimize the overall effect, especially in multi-parameter scenarios, multiple If the parameters restrict each other and affect each other, the optimal hyperparameters selected by the Bayesian algorithm are often not effective.
- Bayesian often seeks the optimal point, which is not the optimal result of the effect in many scenarios. It can be seen that the above expression seeks to maximize the total value.
- the parameters are mutually restricted. Under the influence of this goal, often The effect brought by some parameters will be sacrificed. In some cases, the effect brought by these sacrificed parameters will play a crucial role in the overall improvement.
- This embodiment provides a combination method based on Bayesian principle and strong constraint algorithm. On the one hand, it retains Bayesian ability to solve the waste of calculation time and space. On the other hand, the strong constraint algorithm of parameters solves the problem of Bayesian It is easy to fall into local optimum, and finally it is difficult to achieve the ideal income. The overall effect of the optimized hyperparameters caused by multiple parameters due to mutual constraints and influences is not increased but decreased. At the same time, the usable business experience is transformed into usable The solved equation is convenient for repeated use.
- This is the traditional business scenario selection and delivery target equation The form is mainly improved here, see the detailed explanation in the notes of the next steps for details. (Not necessary, can be used to determine step 5, stop iteration)
- FIG. 6 is a schematic diagram of a change trend of alternative mapping values in an application scenario.
- p1, p2, p3, p4, p5, and p6 are 6 different dimensions of information
- the abscissa indicates the number of alternative mapping values
- the ordinate indicates the rate of change of the alternative mapping values as the number of alternative mapping values increases .
- the change of the alternative mapping value corresponding to the ordinate coordinate includes the change of the parameter auc.
- f(X) Max(a*y1+b*y2+c*y3+d*y4+e*y5) appears as a constraint condition.
- FIG. 7 it is a schematic flowchart of another method for recommending target information.
- the business experience analyzer in this figure is used to determine the candidate information to be recommended in combination with actual business needs, and the equation builder in the target equation builder can be used to determine the first sum value, the second sum value, and the first sum value sum The difference of the second sum, etc.
- Numeric converters can be used to convert between weights and map values.
- Fig. 8 is a block diagram of an electronic device 800 according to an exemplary embodiment.
- the electronic device 800 may be a mobile phone, a mobile computer, and the like.
- the electronic device may be a terminal for executing the foregoing method.
- electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816.
- the processing component 802 generally controls the overall operations of the electronic device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations.
- the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
- the memory 804 is configured to store various types of data to support operations at the device 800 . Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like.
- the memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read-only memory
- EPROM erasable Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Magnetic or Optical Disk Magnetic Disk
- the power supply component 806 provides power to various components of the electronic device 800 .
- Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 800 .
- the multimedia component 808 includes a screen providing an output interface between the electronic device 800 and the user.
- the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
- the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or a swipe action, but also detect duration and pressure associated with the touch or swipe operation.
- the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operating state, such as a shooting state or a video state, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
- the audio component 810 is configured to output and/or input audio signals.
- the audio component 810 includes a microphone (MIC), which is configured to receive an external audio signal when the electronic device 800 is in an operating state, such as a calling state, a recording state, and a speech recognition state. Received audio signals may be further stored in memory 804 or sent via communication component 816 .
- the audio component 810 also includes a speaker for outputting audio signals.
- the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
- Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of electronic device 800 .
- the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and the keypad of the electronic device 800, and the sensor component 814 can also detect the position of the electronic device 800 or a component of the electronic device 800 changes, the presence or absence of user contact with the electronic device 800 , the orientation or acceleration/deceleration of the electronic device 800 and the temperature change of the electronic device 800 .
- Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
- Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
- the communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices.
- the electronic device 800 can access a wireless network based on communication standards, such as Wi-Fi, 4G or 5G, or a combination thereof.
- the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
- the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication.
- the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
- RFID Radio Frequency Identification
- IrDA Infrared Data Association
- UWB Ultra Wide Band
- Bluetooth Bluetooth
- electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable A programmable gate array
- controller microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
- non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, which can be executed by the processor 820 of the electronic device 800 to complete the above method.
- the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
- An embodiment of the present disclosure provides a non-transitory computer-readable storage medium.
- the mobile terminal can execute the prompt method for image acquisition provided by any of the foregoing embodiments, and can execute At least one of the methods as shown in any one of Fig. 1 , Fig. 3 to Fig. 6 .
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本公开要求申请号202110807187.6且申请日为2021年07月16日的中国申请的优先权;优先权涉及的中国申请的所有内容均为本公开的内容。This disclosure claims the priority of the Chinese application with application number 202110807187.6 and the filing date is July 16, 2021; all the content of the Chinese application involved in the priority is the content of this disclosure.
本公开涉及信息处理领域但不限于信息处理领域,尤其涉及一种目标信息的推荐方法及装置、电子设备及存储介质。The present disclosure relates to the field of information processing but is not limited to the field of information processing, and in particular relates to a method and device for recommending target information, electronic equipment, and a storage medium.
随着科学技术的发展,出现了很多新兴的应用技术和应用场景,这些应用技术可以适被配置为相关应用场景中。在不同的应用场景中都会产生与该应用场景对应的信息,通过对这些信息的处理,可以将这些信息在相关应用场景中得更好的应用,取得更好的应用效果。With the development of science and technology, many emerging application technologies and application scenarios have emerged, and these application technologies can be adapted to be configured in relevant application scenarios. Information corresponding to the application scenario will be generated in different application scenarios, and by processing the information, the information can be better applied in related application scenarios and better application effects can be achieved.
例如,在信息推荐时,通过信息处理技术对相关信息进行处理后,可以将更加匹配的信息推荐给用户。For example, when recommending information, after processing relevant information through information processing technology, more matching information can be recommended to users.
发明内容Contents of the invention
本公开实施例提供一种目标信息的推荐方法及装置、电子设备及存储介质。Embodiments of the present disclosure provide a method and device for recommending target information, electronic equipment, and a storage medium.
本公开实施例第一方面提供一种目标信息的推荐方法,包括:获取待推荐的备选信息的至少一种维度信息的参考参数集合及多个所述至少一种维度信息的备选参数集合;其中,所述参考参数集合包括:至少一种维度信息的参考权重子集和所述参考权重子集对应的参考映射值子集;所述备选参数集合包括:所述至少一种维度信息的备选权重子集和各所述备选权重子集对应的备选映射值子集;The first aspect of the embodiments of the present disclosure provides a method for recommending target information, including: acquiring a reference parameter set of at least one dimension information of the candidate information to be recommended and multiple candidate parameter sets of the at least one dimension information ; Wherein, the reference parameter set includes: a reference weight subset of at least one dimension information and a reference mapping value subset corresponding to the reference weight subset; the candidate parameter set includes: the at least one dimension information The candidate weight subsets and the candidate mapping value subsets corresponding to each of the candidate weight subsets;
根据第一和值与第二和值之间的差值,从所述备选映射值子集中确定目标映射值子集;其中,所述第一和值为:任意一个所述备选映射值子集中元素之和;所述第二和值为所述参考映射值子集内元素之和,所述备选映射值子集中各个元素都具有比例系数,所述比例系数被配置为表示所述维度信息对从所述备选信息确定推荐的目标信息的影响程度;Determine the target mapping value subset from the candidate mapping value subset according to the difference between the first sum value and the second sum value; wherein, the first sum value is: any one of the candidate mapping value The sum of the elements in the subset; the second sum is the sum of the elements in the reference mapping value subset, and each element in the candidate mapping value subset has a proportional coefficient, and the proportional coefficient is configured to represent the The degree of influence of the dimension information on determining the recommended target information from the candidate information;
根据所述目标映射值子集,确定目标权重子集;所述目标权重子集中包括:影响所述备选信息的至少一种维度信息的目标权重;Determine a target weight subset according to the target mapping value subset; the target weight subset includes: a target weight affecting at least one dimension information of the candidate information;
根据所述目标权重子集,从所述备选信息中选择推荐的所述目标信息。Selecting the recommended target information from the candidate information according to the target weight subset.
本公开实施例第二方面提供一种目标信息的推荐装置,所述装置包括:The second aspect of the embodiments of the present disclosure provides an apparatus for recommending target information, the apparatus including:
获取模块,被配置为获取待推荐的备选信息的至少一种维度信息的参考参数集合及多个所述至 少一种维度信息的备选参数集合;其中,所述参考参数集合包括:至少一种维度信息的参考权重子集和所述参考权重子集对应的参考映射值子集;所述备选参数集合包括:所述至少一种维度信息的备选权重子集和各所述备选权重子集对应的备选映射值子集;The obtaining module is configured to obtain a reference parameter set of at least one dimension information of the candidate information to be recommended and a plurality of candidate parameter sets of the at least one dimension information; wherein the reference parameter set includes: at least one A reference weight subset of one dimension information and a reference mapping value subset corresponding to the reference weight subset; the candidate parameter set includes: the candidate weight subset of the at least one dimension information and each of the candidate the subset of alternative mapping values corresponding to the subset of weights;
目标映射值子集确定模块,被配置为根据第一和值与第二和值之间的差值,从所述备选映射值子集中确定目标映射值子集;其中,所述第一和值为:任意一个所述备选映射值子集中元素之和;所述第二和值为所述参考映射值子集内元素之和,所述备选映射值子集中各个元素都具有比例系数,所述比例系数被配置为表示所述维度信息对从所述备选信息确定推荐的目标信息的影响程度;A target mapping value subset determining module configured to determine a target mapping value subset from the candidate mapping value subset according to the difference between the first sum and the second sum; wherein the first and The value is: the sum of elements in any one of the candidate mapping value subsets; the second sum value is the sum of elements in the reference mapping value subset, and each element in the candidate mapping value subset has a proportional coefficient , the proportional coefficient is configured to represent the degree of influence of the dimensional information on determining recommended target information from the candidate information;
目标权重子集确定模块,被配置为根据所述目标映射值子集,确定目标权重子集;所述目标权重子集中包括:影响所述备选信息的至少一种维度信息的目标权重;The target weight subset determination module is configured to determine a target weight subset according to the target mapping value subset; the target weight subset includes: target weights affecting at least one dimension information of the candidate information;
推荐模块,被配置为根据所述目标权重,从所述备选信息中选择推荐的所述目标信息。The recommendation module is configured to select the recommended target information from the candidate information according to the target weight.
本公开实施例第三方面提供一种电子设备,包括:A third aspect of the embodiments of the present disclosure provides an electronic device, including:
被配置为存储处理器可执行指令的存储器;memory configured to store processor-executable instructions;
处理器,与所述存储器连接;a processor connected to the memory;
其中,所述处理器被配置为执行如前述第一方面任意技术方案提供的目标信息的推荐方法。Wherein, the processor is configured to execute the method for recommending target information as provided in any technical solution of the aforementioned first aspect.
本公开实施例第四方面提供一种非临时性计算机可读存储介质,其中,所述计算机可读存储介质中存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现前述第一方面任意技术方案提供的目标信息的推荐方法。The fourth aspect of the embodiments of the present disclosure provides a non-transitory computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, the aforementioned first A recommended method for target information provided by any technical solution.
本公开实施例中,在确定第一和值时,通过在备选映射值子集中各个元素,即在各个备选映射值之前附加比例系数,通过该实施例中的方法,可以提高目标信息的推荐准确度,减少多个维度信息对应的权重之间的相互影响和制约,降低了其中一部分维度信息对应的权重对另一部分维度信息对应的权重的影响,减少了另一个部分维度信息对应的权重对确定目标信息的准确度的牺牲程度,进而提升了另一部分维度信息对应的权重对确定目标信息的准确度所带来的效果,从而提高了多个维度信息对应的权重在确定目标信息时的平衡性,便于提高确定目标信息的准确度。In the embodiment of the present disclosure, when determining the first sum value, by adding a proportional coefficient to each element in the candidate mapping value subset, that is, before each candidate mapping value, the method in this embodiment can improve the accuracy of the target information. Recommendation accuracy, reducing the mutual influence and restriction between the weights corresponding to multiple dimension information, reducing the influence of the weight corresponding to one part of the dimension information on the weight corresponding to the other part of the dimension information, and reducing the weight corresponding to the other part of the dimension information The degree of sacrifice of the accuracy of determining the target information further improves the effect of the weight corresponding to another part of the dimension information on the accuracy of determining the target information, thus improving the weight corresponding to the multiple dimension information in determining the target information. Balanced, it is convenient to improve the accuracy of determining the target information.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的一种目标信息的推荐方法的流程示意图;Fig. 1 is a schematic flowchart of a method for recommending target information according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种确定目标映射值子集的流程示意图;Fig. 2 is a schematic flowchart of determining a subset of target mapping values according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种获取备选参数集合的流程示意图;Fig. 3 is a schematic flow diagram of obtaining a set of candidate parameters according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种更新比例系数的流程示意图;Fig. 4 is a schematic flow chart of updating a proportional coefficient according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种应用场景中备选映射值的变化趋势示意图;Fig. 5 is a schematic diagram showing a change trend of alternative mapping values in an application scenario according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种应用场景中备选映射值的变化趋势示意图;Fig. 6 is a schematic diagram showing a change trend of alternative mapping values in an application scenario according to an exemplary embodiment;
图7是根据一示例性实施例示出的另一种目标信息的推荐方法的流程示意图;Fig. 7 is a schematic flowchart of another method for recommending target information according to an exemplary embodiment;
图8是根据一示例性实施例示出的一种一种终端设备的框图。Fig. 8 is a block diagram of a terminal device according to an exemplary embodiment.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.
通常情况下,在信息推荐时,由于参考因素较多,即影响信息推荐结果的因素较多,在推荐信息时会结合多个参考因素推荐最终的信息。但是,一般情况下,多个参考因素之间会相互制约和相互影响,在推荐信息时,会受一个或几个参考因素的影响,可能导致最终推荐的信息受其中某一个或者某几个参考因素的影响较大,容易陷入局部最优。Usually, when recommending information, since there are many reference factors, that is, there are many factors affecting information recommendation results, multiple reference factors are combined to recommend the final information when recommending information. However, under normal circumstances, multiple reference factors will restrict and influence each other. When recommending information, it will be affected by one or several reference factors, which may cause the final recommended information to be affected by one or several of them. The influence of factors is large, and it is easy to fall into local optimum.
在这种情况下,若其他参考因素中有对最终推荐的信息起到关键性作用的参考因素时,这些起到关键性作用的参考因素对最终推荐的信息的决定程度就会降低,从而导致其他参考信息对最终推荐的信息的决定程度远远小于这个一个或者几个参考因素的决定程度,从而不能根据多个参考因素,平衡多个参考因素之间的关系,达到总体最优的效果。从而导致最终推荐的信息的准确程度降低,不能将最适合或者最匹配的推荐信息进行推荐,从而降低了推荐效果和用户的使用体验。In this case, if there are reference factors that play a key role in the final recommended information among other reference factors, the degree of determination of the final recommended information by these key reference factors will be reduced, resulting in The determination degree of other reference information to the final recommended information is far less than that of this one or several reference factors, so that the relationship between multiple reference factors cannot be balanced according to multiple reference factors to achieve an overall optimal effect. As a result, the accuracy of the final recommended information is reduced, and the most suitable or matching recommendation information cannot be recommended, thereby reducing the recommendation effect and user experience.
参考图1,为本公开实施例提供的一种目标信息的推荐方法的流程示意图,该数据处理方法包括以下步骤:Referring to FIG. 1 , it is a schematic flowchart of a method for recommending target information provided by an embodiment of the present disclosure. The data processing method includes the following steps:
步骤S100,获取待推荐的备选信息的至少一种维度信息的参考参数集合及多个所述至少一种维度信息的备选参数集合;其中,所述参考参数集合包括:至少一种维度信息的参考权重子集和所述参考权重子集对应的参考映射值子集;所述备选参数集合包括:所述至少一种维度信息的备选权重子集和各所述备选权重子集对应的备选映射值子集。Step S100, obtaining a reference parameter set of at least one dimension information of the candidate information to be recommended and multiple candidate parameter sets of the at least one dimension information; wherein, the reference parameter set includes: at least one dimension information The reference weight subset of the reference weight subset and the reference mapping value subset corresponding to the reference weight subset; the candidate parameter set includes: the candidate weight subset of the at least one dimension information and each of the candidate weight subsets The corresponding subset of alternative mapping values.
步骤S200,根据第一和值与第二和值之间的差值,从所述备选映射值子集中确定目标映射值子集;其中,所述第一和值为:任意一个所述备选映射值子集中元素之和;所述第二和值为所述参考映射值子集内元素之和,所述备选映射值子集中各个元素都具有比例系数,所述比例系数用于表示所述维度信息对从所述备选信息确定推荐的目标信息的影响程度。Step S200, according to the difference between the first sum value and the second sum value, determine the target mapping value subset from the candidate mapping value subset; wherein, the first sum value is: any one of the candidate mapping value subsets The sum of the elements in the selected mapping value subset; the second sum value is the sum of the elements in the reference mapping value subset, and each element in the candidate mapping value subset has a proportional coefficient, and the proportional coefficient is used to represent The degree of influence of the dimension information on determining the recommended target information from the candidate information.
步骤S300,根据所述目标映射值子集,确定目标权重子集;所述目标权重子集中包括:影响所述备选信息的至少一种维度信息的目标权重。Step S300, according to the subset of target mapping values, determine a subset of target weights; the subset of target weights includes: target weights affecting at least one dimension information of the candidate information.
步骤S400,根据所述目标权重子集,从所述备选信息中选择推荐的所述目标信息。Step S400, selecting the recommended target information from the candidate information according to the target weight subset.
该方法的至少可以在移动终端中执行,即该方法的执行主体至少可以包括移动终端。移动终端可以包括手机、平板电脑、车载中控设备、可穿戴设备、智能设备等,智能设备又可包括智能办公设备和智能家居设备等。The method can at least be executed in the mobile terminal, that is, the execution body of the method can at least include the mobile terminal. Mobile terminals can include mobile phones, tablet computers, vehicle-mounted central control devices, wearable devices, smart devices, etc., and smart devices can include smart office equipment and smart home devices.
该实施例的方法可以由执行终端正在各种推荐场景中执行,可以是由一种维度信息决定推荐结果的推荐场景中,也可以应用在由多种维度信息决定推荐结果的推荐场景中。在这些推荐场景中,待推荐的备选信息具有多个可以参考的维度信息,根据这些维度信息可以确定最终的推荐信息。不同的维度信息在确定某一备选信息是否是最终的推荐信息中所占的比重是不同的,所以不同的维度信息对于确定最终的推荐信息的参考价值是不同的。The method of this embodiment can be executed by the execution terminal in various recommendation scenarios, and can be applied in a recommendation scenario in which a recommendation result is determined by one dimension information, or can be applied in a recommendation scenario in which a recommendation result is determined by multiple dimension information. In these recommendation scenarios, the candidate information to be recommended has multiple dimension information that can be referred to, and the final recommendation information can be determined according to these dimension information. Different dimensions of information have different proportions in determining whether a certain candidate information is the final recommendation information, so different dimensions of information have different reference values for determining the final recommendation information.
当然,该方法还可以由执行终端正在各种推荐场景中执行,例如,某些候选目标都具有多个维度信息,只要是根据这些不同的维度信息确定该候选目标是否是最终目标的场景,都在该实施例的保护范围之内。Of course, this method can also be executed by the execution terminal in various recommendation scenarios. For example, some candidate targets have multiple dimension information, as long as it is determined according to these different dimension information whether the candidate target is the final target scenario, all Within the protection scope of this embodiment.
通过该方法可以确定各个维度信息对应的最优的目标权重,从而根据该最优的目标权重确定推荐的目标信息。Through this method, the optimal target weight corresponding to each dimension information can be determined, so as to determine the recommended target information according to the optimal target weight.
在该实施例中,待推荐的备选信息包括以下至少之一:视频、公众号、文章和/或产品的描述信息等。此处的产品包括但不限于:实体商品和/或服务。当然还可以包括其他类型的内容,这里不再一一列举,只要是包括多个维度信息的内容均可以作为待推荐的备选信息,均在该实施例的保护范围之内。In this embodiment, the candidate information to be recommended includes at least one of the following: video, official account, article and/or product description information, and the like. Products here include, but are not limited to: physical goods and/or services. Of course, other types of content may also be included, which will not be listed one by one here, as long as the content including multiple dimensions of information can be used as candidate information to be recommended, all within the scope of protection of this embodiment.
在一个实施例中,待推荐的备选信息的维度信息至少包括以下之一包括:下载量、收藏量、点赞量、备选信息的作者的关注用户数、平均浏览时长、评论数量和转发数量等。当然,对于不同的备选信息可以具有与该备选信息匹配的至少一个维度信息。在该实施例中,待推荐的备选信息的维度信息可为:根据已接收到该信息的用户针对该备选信息的历史操作生成的。In one embodiment, the dimensional information of the candidate information to be recommended includes at least one of the following: downloads, favorites, likes, number of users who follow the author of the candidate information, average browsing time, number of comments, and forwarding Quantity etc. Of course, different candidate information may have at least one dimension information matching the candidate information. In this embodiment, the dimension information of the candidate information to be recommended may be: generated according to historical operations on the candidate information by the user who has received the information.
在另一个实施例中,待推荐的备选信息的维度信息至少包括以下之一包括:待推荐信息的信息量和被推荐用户偏好的信息量之间的差异、待推荐信息的信息内容与被推荐用户偏好内容之间的相似度、待推荐信息的待推荐力度等。In another embodiment, the dimensional information of the candidate information to be recommended includes at least one of the following: the difference between the amount of information of the information to be recommended and the amount of information preferred by the recommended user, the difference between the information content of the information to be recommended and the amount of information to be recommended The similarity between the recommended user's preferred content, the strength of the information to be recommended, etc.
在具体的应用场景中,例如,在观看或者浏览视频、公众号和文章等时,视频、公众号或者文章等可能会被下载、收藏、点赞、评论和/或转发等,这些视频、公众号或者文章等目标消息的作者还可能会被关注等等情况。下载量、收藏量、点赞量、备选信息的作者的关注用户数、平均浏览时长、评论数量和转发数量等这些不同的维度信息可以反映用户对已经观看或者浏览过的视频、公众号和文章等内容的喜好程度。In specific application scenarios, for example, when watching or browsing videos, official accounts and articles, videos, official accounts or articles may be downloaded, favorited, liked, commented and/or forwarded, etc. The author of the target message such as an account or an article may also be followed and so on. Downloads, favorites, likes, the number of users followed by the author of the alternative information, the average browsing time, the number of comments, and the number of reposts, etc., can reflect the user's awareness of the videos, official accounts and The degree of liking for content such as articles.
不同的维度信息在待推荐的备选信息中占有不同的权重,这些维度信息在备选信息中所占有的权重,可以确定备选信息是否为目标信息,即可以根据这些维度信息在备选信息中占有的权重,从备选信息中确定目标信息。在向用户推荐后续的视频、公众号或者文章时,即可根据待推荐的视频、公众号、文章或其他形式的内容的下载、收藏、点赞、评论和/或转发等信息,从待推荐的备选信息中确定需要推荐的目标信息。Different dimension information occupies different weights in the candidate information to be recommended. The weight of these dimension information in the candidate information can determine whether the candidate information is the target information, that is, the candidate information can be ranked according to these dimension information. The weight occupied by the target information is determined from the alternative information. When recommending follow-up videos, official accounts or articles to users, it can be based on information such as downloads, favorites, likes, comments, and/or forwarding of videos, official accounts, articles or other forms of content to be recommended. The target information that needs to be recommended is determined in the alternative information.
所以,待推荐的备选信息的不同维度信息的权重,在确定目标信息时起到了关键作用,该实施例即为根据备选信息的不同维度信息的权重,从备选信息中确定目标信息的说明。Therefore, the weights of different dimension information of the candidate information to be recommended play a key role in determining the target information. This embodiment is to determine the weight of the target information from the candidate information according to the weights of different dimension information of the candidate information illustrate.
对于步骤S100,获取待推荐的备选信息的至少一种维度信息的参考参数集合,该参考参数集合 用于作为确定目标信息的基础参数集合,结合备选参数集合中的信息与该参考参数集合中的信息,确定目标信息。For step S100, obtain a reference parameter set of at least one dimension information of the candidate information to be recommended, the reference parameter set is used as a basic parameter set for determining the target information, combine the information in the candidate parameter set with the reference parameter set In the information, determine the target information.
参考参数集合中包括:至少一种维度信息的参考权重子集和参考权重子集对应的参考映射值子集。参考权重子集为至少一种维度信息的参考权重的集合,即参考权重子集中包括至少一种维度信息的参考权重。参考映射值子集为至少一种维度信息的参考权重对应的映射值的集合,即参考映射值子集中包括至少一种维度信息的参考权重的映射值。参考参数集合可以是预先确定的集合。The reference parameter set includes: a reference weight subset of at least one dimension information and a reference mapping value subset corresponding to the reference weight subset. The reference weight subset is a collection of reference weights of at least one dimension information, that is, the reference weight subset includes reference weights of at least one dimension information. The reference mapping value subset is a set of mapping values corresponding to the reference weights of at least one dimension information, that is, the reference mapping value subset includes the mapping values of the reference weights of at least one dimension information. The set of reference parameters may be a predetermined set.
参考权重子集可以表示为Xbase={xbase1,xbase2,xbase3,……,xbasen},即待推荐的备选信息具有n个维度信息,每个维度信息具有相应的参考权重,n可以根据待推荐的备选信息进行确定。在该实施例中,将参考权重子集中的各个权重称作为该参考权重子集的元素。The reference weight subset can be expressed as Xbase={xbase1, xbase2, xbase3, ..., xbasen}, that is, the candidate information to be recommended has n dimension information, each dimension information has a corresponding reference weight, and n can be based on the The alternative information is determined. In this embodiment, each weight in the reference weight subset is referred to as an element of the reference weight subset.
例如,待推荐的备选信息为视频,该视频包括下载量、收藏量、点赞量、备选信息的作者的关注用户数、平均浏览时长、评论数量和转发数量这七个维度信息,每个维度信息具有各自的参考权重。如,参考权重子集为Xbase={xbase1,xbase2,xbase3,xbase4,xbase5,xbase6,xbase7}。参考权重子集中各个维度信息对应的权重值,即各元素的数值可以是预先确定的,即与根据待推荐的备选信息相匹配的参考数值,还可以是随机初始化的数值等。For example, the candidate information to be recommended is a video, which includes seven dimensions of information: downloads, collections, likes, number of users who follow the author of the candidate information, average browsing time, number of comments, and number of reposts. Each dimension information has its own reference weight. For example, the reference weight subset is Xbase={xbase1, xbase2, xbase3, xbase4, xbase5, xbase6, xbase7}. The weight value corresponding to each dimension information in the reference weight subset, that is, the value of each element may be predetermined, that is, a reference value matching the candidate information to be recommended, or a randomly initialized value.
参考映射值子集可以表示为Ybase={ybase1,ybase2,ybase3……,ybasen},即n个维度信息具有的权重对应的映射值。将参考映射值子集中的各个映射值称作为参考映射值子集的元素,该子集中的元素数量与参考权重子集中元素的数量相等。参考映射值与参考权重之间具有相应的映射关系,该映射关系可以根据实际的业务需求进行确定,也可以是预设的映射关系等。The reference mapping value subset may be expressed as Ybase={ybase1, ybase2, ybase3...,ybasen}, that is, the mapping values corresponding to the weights of the n dimension information. Each mapping value in the reference mapping value subset is referred to as an element of the reference mapping value subset, and the number of elements in the subset is equal to the number of elements in the reference weight subset. There is a corresponding mapping relationship between the reference mapping value and the reference weight, and the mapping relationship may be determined according to actual business requirements, or may be a preset mapping relationship.
例如,通过预设模型或者函数关系等,可以根据参考权重确定对应的映射值,如,可以根据预设模型或者函数关系,确定xbase1的映射值ybase1,确定xbase2的映射值ybase2等,每个参考权重对应有一个参考映射值,从而可以确定参考权重子集中各个元素的映射值,从而确定参考映射值子集。如,Ybase={ybase1,ybase2,ybase3,ybase4,ybase5,ybase6,ybase7}。For example, through a preset model or functional relationship, the corresponding mapping value can be determined according to the reference weight. For example, according to the preset model or functional relationship, the mapping value ybase1 of xbase1 can be determined, and the mapping value ybase2 of xbase2 can be determined. Each reference The weight corresponds to a reference mapping value, so that the mapping value of each element in the reference weight subset can be determined, thereby determining the reference mapping value subset. For example, Ybase={ybase1, ybase2, ybase3, ybase4, ybase5, ybase6, ybase7}.
在步骤S100中,还包括:获取多个至少一种维度信息的备选参数集合,即获取多个备选参考集合,每个备选参数集合都包括:至少一种维度信息的备选权重子集和各备选权重子集对应的备选映射值子集。In step S100, it also includes: obtaining a plurality of candidate parameter sets of at least one dimension information, that is, acquiring a plurality of candidate reference sets, and each candidate parameter set includes: candidate weights of at least one dimension information set and a subset of alternative mapping values corresponding to each subset of alternative weights.
备选权重子集中包括的备选权重数量,与参考权重子集中包括的维度信息的参考权重数量相同,这里同样将备选权重子集中的各个备选权重作为备选权重子集的各个元素。即备选权重子集中包括的元素的数量与参考权重子集中的元素的数量相同。The number of candidate weights included in the candidate weight subset is the same as the number of reference weights of the dimension information included in the reference weight subset, and each candidate weight in the candidate weight subset is also used as each element of the candidate weight subset. That is, the number of elements included in the candidate weight subset is the same as the number of elements in the reference weight subset.
该实施例中,备选权重子集的数量可以根据实际的需求进行确定,例如3个或者五个等。备选权重子集可以表示为X1、X2、X3……Xt,即包括t个备选权重子集。每个备选权重子集中都包括与参考映射值子集中元素数量相同数量的元素,例如,7个。In this embodiment, the number of candidate weight subsets may be determined according to actual requirements, for example, three or five. The candidate weight subsets may be expressed as X1, X2, X3...Xt, that is, t candidate weight subsets are included. Each candidate weight subset includes the same number of elements as the number of elements in the reference map value subset, for example, 7 elements.
例如,获取5个备选权重子集X1、X2、X3、X4和X5,X1={x11,x12,x13,x14,x15,x16,x17},X2={x21,x22,x23,x24,x25,x26,x27},X3={x31,x32,x33,x34,x35,x36,x37},X4={x41,x42,x43,x44,x45,x46,x47},X5={x51,x52,x53,x54,x55,x56,x57}。For example, to obtain 5 candidate weight subsets X1, X2, X3, X4 and X5, X1={x11, x12, x13, x14, x15, x16, x17}, X2={x21, x22, x23, x24, x25 , x26, x27}, x3 = {x31, x32, x33, x34, x35, x36, x37}, x4 = {x41, x42, x43, x44, x45, x46, x47}, x5 = {x51, x52, x53 , x54, x55, x56, x57}.
对于任意两个备选权重子集而言,备选权重子集中至少有一个维度信息对应的备选权重值不同时,则这两个备选权重子集不同。对于同一维度信息而言,任意两个不同的备选权重子集中包括的权重可能相同,也可能不相同。在该实施例中,以对于同一维度信息而言,任意两个不同的备选权重子集中包括的权重不相同为例。不同的备选权重子集在作为目标权重子集时,确定的目标信息不同,通过从这些不同的备选权重子集中确定目标权重子集,可以确定最优的目标权重子集,从而确定推荐准确度最高的目标信息,提高推荐的准确度。For any two candidate weight subsets, when the candidate weight values corresponding to at least one dimension information in the candidate weight subsets are different, the two candidate weight subsets are different. For information of the same dimension, the weights included in any two different candidate weight subsets may be the same or may not be the same. In this embodiment, for the same dimensional information, the weights included in any two different candidate weight subsets are different as an example. When different candidate weight subsets are used as target weight subsets, the determined target information is different. By determining the target weight subsets from these different candidate weight subsets, the optimal target weight subset can be determined, thereby determining the recommended The target information with the highest accuracy improves the accuracy of recommendation.
备选权重子集中各备选权重可以预先确定的,也可以是从数据库匹配的与待推荐的备选信息相匹配的备选权重,当然还可以是通过其他方法确定的,这里不再进行限定。Each candidate weight in the candidate weight subset can be predetermined, or can be a candidate weight matched from the database and matched with the candidate information to be recommended, of course, it can also be determined by other methods, and will not be limited here .
备选权重子集对应的备选映射值子集可以表示为Y1、Y2、Y3……Yt,备选映射值子集的个数与备选权重子集的数量相同。如备选权重子集有5个,则备选映射值子集为5个,Y1和X1存在映射关系,Y2和X2存在映射关系,……Y5和X5存在映射关系。每个备选映射值子集中包括的映射值的数量,与备选权重子集中权重的数量相同,即备选映射值子集中元素的数量和备选权重子集中元素的数量相同。The candidate mapping value subsets corresponding to the candidate weight subsets can be expressed as Y1, Y2, Y3...Yt, and the number of candidate mapping value subsets is the same as the number of candidate weight subsets. If there are 5 candidate weight subsets, then there are 5 candidate mapping value subsets, there is a mapping relationship between Y1 and X1, there is a mapping relationship between Y2 and X2, ... there is a mapping relationship between Y5 and X5. The number of mapping values included in each candidate mapping value subset is the same as the number of weights in the candidate weight subset, that is, the number of elements in the candidate mapping value subset is the same as the number of elements in the candidate weight subset.
例如,Y1={y11,y12,y13,y14,y15,y16,y17},Y2={y21,y22,y23,y24,y25,y26,y27},Y3={y31,y32,y33,y34,y35,y36,y37}等等,Y4和Y5以此类推。y11与x11存在映射关系,y12和x12存在映射关系,y13和x13存在映射关系,……y17和x17存在映射关系。y21和x21存在映射关系,y22和x22存在映射关系,y23和x23存在映射关系,……y27和x27存在映射关系,以此类推。For example, Y1={y11, y12, y13, y14, y15, y16, y17}, Y2={y21, y22, y23, y24, y25, y26, y27}, Y3={y31, y32, y33, y34, y35 , y36, y37} and so on, Y4 and Y5 and so on. There is a mapping relationship between y11 and x11, there is a mapping relationship between y12 and x12, there is a mapping relationship between y13 and x13, ... there is a mapping relationship between y17 and x17. There is a mapping relationship between y21 and x21, there is a mapping relationship between y22 and x22, there is a mapping relationship between y23 and x23, ... there is a mapping relationship between y27 and x27, and so on.
在该实施例中,备选映射值子集可以是根据备选权重子集确定的,同样可以是利用预设模型或者函数关系,根据备选权重子集确定备选映射值子集。这里的预设模型或者函数关系可以是与根据参考权重子集确定参考映射值子集所用到的预设模型或者函数关系相同。In this embodiment, the candidate mapping value subset may be determined according to the candidate weight subset, or the candidate mapping value subset may be determined according to the candidate weight subset by using a preset model or functional relationship. The preset model or functional relationship here may be the same as the preset model or functional relationship used to determine the reference mapping value subset according to the reference weight subset.
备选权重子集和备选映射值子集可以用于确定目标权重子集,进而确定目标信息。The subset of candidate weights and the subset of candidate mapping values may be used to determine the subset of target weights, thereby determining target information.
对于步骤S200,通过该步骤可以确定目标映射值子集。For step S200, the target mapping value subset can be determined through this step.
第一和值为:任意一个备选映射值子集中元素之和,在确定第一和值时,各个备选映射值子集中各个元素都具有比例系数,该比例系数用于表示该元素对应的维度信息对从备选信息确定推荐的目标信息的影响程度。根据备选映射值子集中各个元素和各元素具有的比例系数,确定第一和值。The first sum value is: the sum of elements in any candidate mapping value subset. When determining the first sum value, each element in each candidate mapping value subset has a proportional coefficient, which is used to represent the corresponding The degree of influence of dimension information on determining recommended target information from alternative information. The first sum value is determined according to each element in the candidate mapping value subset and the proportionality factor of each element.
例如,备选映射值子集Y1={y11,y12,y13,y14,y15,y16,y17},在确定第一和值时,备选映射值子集Y1中各个元素具有比例系数,如Y1={a*y11,b*y12,c*y13,d*y14,e*y15,f*y16,g*y17},a、b、c、d、e、f和g即为比例系数。Y1对应的第一和值可以表示为sum(a*y11,b*y12,c*y13,d*y14,e*y15,f*y16,g*y17)。其他备选映射值子集中的各个元素同理,也具有比例系数,如Y2={a*y21,b*y22,c*y23,d*y24,e*y25,f*y26,g*y27},Y2对应的第一和值为sum(a*y21,b*y22,c*y23,d*y24,e*y25,f*y26,g*y27)。For example, the alternative mapping value subset Y1={y11, y12, y13, y14, y15, y16, y17}, when determining the first sum value, each element in the alternative mapping value subset Y1 has a proportional coefficient, such as Y1 ={a*y11, b*y12, c*y13, d*y14, e*y15, f*y16, g*y17}, a, b, c, d, e, f and g are proportional coefficients. The first sum value corresponding to Y1 can be expressed as sum(a*y11, b*y12, c*y13, d*y14, e*y15, f*y16, g*y17). Each element in other candidate mapping value subsets is the same, and also has a proportional coefficient, such as Y2={a*y21, b*y22, c*y23, d*y24, e*y25, f*y26, g*y27} , the first sum corresponding to Y2 is sum(a*y21, b*y22, c*y23, d*y24, e*y25, f*y26, g*y27).
这些比例系数用于表示与映射值存在映射关系的权重所对应的维度信息,在从待推荐的备选信息中确定目标信息时所占的权重,比例系数越大,表示所占的权重越大,影响程度越大。These proportional coefficients are used to represent the dimensional information corresponding to the weights that have a mapping relationship with the mapping values, and the weights occupied when determining the target information from the candidate information to be recommended. The larger the proportional coefficient, the greater the weight. , the greater the degree of influence.
第二和值为:参考映射值子集内元素之和。在确定第一和值时,直接将参考映射值子集内的元素相加即可。例如,sum(ybase1,ybase2,ybase3,ybase4,ybase5,ybase6,ybase7)。The second sum value is: the sum of the elements in the reference map value subset. When determining the first sum value, the elements in the reference mapping value subset can be directly added. For example, sum(ybase1, ybase2, ybase3, ybase4, ybase5, ybase6, ybase7).
然后,根据第一和值与第二和值之间的差值,从备选映射值子集中确定目标映射值子集。具体的确定方法并不限定,例如可以参考后续实施例,例如可以将差值最大的备选映射值子集作为目标映射值子集等等。Then, according to the difference between the first sum and the second sum, a target subset of mapped values is determined from the subset of candidate mapped values. The specific determination method is not limited, for example, reference may be made to subsequent embodiments, for example, the candidate mapping value subset with the largest difference may be used as the target mapping value subset, and so on.
例如,根据备选映射值子集为Y5={y51,y52,y53,y54,y55,y56,y57}对应的第一和值sum(a*y51,b*y52,c*y53,d*y54,e*y55,f*y56,g*y57)与第二和值sum(ybase1,ybase2,ybase3,ybase4,ybase5,ybase6,ybase7)的差值,确定目标映射值子集为Y5={y51,y52,y53,y54,y55,y56,y57}。For example, the first sum value sum(a*y51, b*y52, c*y53, d*y54 , e*y55, f*y56, g*y57) and the second sum value sum (ybase1, ybase2, ybase3, ybase4, ybase5, ybase6, ybase7), determine the target mapping value subset as Y5={y51, y52, y53, y54, y55, y56, y57}.
对于步骤S300,For step S300,
在确定目标映射值子集之后,根据确定的目标映射值子集,确定目标权重子集。由于目标映射值子集是从备选映射值子集中选出的,每个备选映射值子都对应有存在映射关系的备选权重子集,所以将目标映射值子集对应的存在有映射关系的备选权重子集,作为目标权重子集。即将目标映射值子集对应的备选权重子集,确定为目标权重子集。After the target mapping value subset is determined, a target weight subset is determined according to the determined target mapping value subset. Since the target mapping value subset is selected from the candidate mapping value subsets, and each candidate mapping value subset corresponds to an alternative weight subset that has a mapping relationship, the corresponding existence of the target mapping value subset has a mapping A subset of alternative weights for the relationship, as a subset of target weights. That is, the candidate weight subset corresponding to the target mapping value subset is determined as the target weight subset.
目标权重子集中包括:影响备选信息的至少一种维度信息的目标权重。目标权重子集中包括至少一种维度信息对应的目标权重,该目标权重可以影响从备选信息中确定目标信息,即影响某一备选信息是够为目标信息。The target weight subset includes: a target weight affecting at least one dimension information of the candidate information. The target weight subset includes target weights corresponding to at least one dimension information, and the target weights can affect the determination of target information from candidate information, that is, influence whether a certain candidate information is enough target information.
例如,目标映射值子集为Y5={y51,y52,y53,y54,y55,y56,y57},由于与Y5存在映射关系的备选权重子集为X5={x51,x52,x53,x54,x55,x56,x57},所以X5即为目标权重子集。For example, the target mapping value subset is Y5={y51, y52, y53, y54, y55, y56, y57}, and the alternative weight subset due to the mapping relationship with Y5 is X5={x51, x52, x53, x54, x55, x56, x57}, so X5 is the target weight subset.
在确定第一和值时,通过在备选映射值子集中各个元素,即在各个备选映射值之前附加比例系数,一方面保留了贝叶斯算法解决计算时间和空间浪费的能力,另一方面,还减少了贝叶斯算法容易陷入局部最优,多个维度信息的权重之间相互制约和影响,导致确定的目标信息不准确的问题,从而提高了确定目标信息的准确性。When determining the first sum, each element in the candidate mapping value subset, that is, adding a proportional coefficient before each candidate mapping value, on the one hand retains the Bayesian algorithm’s ability to solve the waste of computing time and space, and on the other hand On the one hand, it also reduces the problem that the Bayesian algorithm is easy to fall into local optimum, and the weights of multi-dimensional information are mutually restricted and influenced, resulting in inaccurate determined target information, thereby improving the accuracy of determined target information.
对于步骤S400,For step S400,
在确定目标权重子集之后,可以根据目标权重子集,从备选信息中选择推荐的目标信息。由于目标权重子集中包括至少一个维度信息的权重,所以可以根据至少一个维度信息的权重,从待推荐的备选信息中,确定目标信息。After the target weight subset is determined, recommended target information can be selected from candidate information according to the target weight subset. Since the target weight subset includes the weight of at least one dimension information, the target information can be determined from candidate information to be recommended according to the weight of at least one dimension information.
例如,目标权重子集为X5={x51,x52,x53,x54,x55,x56,x57},则根据该目标权重子集中各个元素,即根据7个维度信息对应的权重,从待推荐的备选视频中确定目标视频。For example, if the target weight subset is X5={x51, x52, x53, x54, x55, x56, x57}, then according to each element in the target weight subset, that is, according to the weights corresponding to the information of the seven dimensions, from the recommended Select the video to determine the target video.
通过该实施例中的方法,可以提高目标信息的推荐准确度,减少多个维度信息对应的权重之间的相互影响和制约,降低了其中一部分维度信息对应的权重对另一部分维度信息对应的权重的影响,减少了另一个部分维度信息对应的权重对确定目标信息的准确度的牺牲程度,进而提升了另一部分维度信息对应的权重对确定目标信息的准确度所带来的效果,从而提高了多个维度信息对应的权重在确定目标信息时的平衡性,便于提高确定编码信息的准确度。Through the method in this embodiment, the recommendation accuracy of target information can be improved, the mutual influence and restriction between the weights corresponding to multiple dimension information can be reduced, and the weight corresponding to some dimension information can be reduced to the weight corresponding to another part of dimension information. , which reduces the sacrifice degree of the weight corresponding to another part of the dimension information on the accuracy of determining the target information, and then improves the effect of the weight corresponding to the other part of the dimension information on the accuracy of determining the target information, thereby improving The balance of the weights corresponding to the multi-dimensional information when determining the target information facilitates the improvement of the accuracy of determining the encoded information.
在另一实施例中,确定第一和值时,备选映射值子集中各个元素具有的比例系数可以为预设值,该预设值可以是固定的。根据实际的业务需求,即根据待推荐的备选信息确定该比例系数的具体数值。例如可以根据待推荐的备选信息的推荐需求,其中一部分维度信息对确定目标信息的影响程度,大于另一部分维度信息对确定目标信息的影响程度,则将一部分维度信息对应的权重将某一部分维度信息对应的映射值的比例系数,设置为大于另一部分维度信息对应的映射值的比例系数。In another embodiment, when determining the first sum value, the proportional coefficients of each element in the candidate mapping value subset may be a preset value, and the preset value may be fixed. The specific value of the proportional coefficient is determined according to actual business requirements, that is, according to the candidate information to be recommended. For example, according to the recommendation requirements of the candidate information to be recommended, if the degree of influence of some of the dimension information on the determination of the target information is greater than that of the other part of the dimension information on the determination of the target information, the weight corresponding to a part of the dimension information will be adjusted to a certain part of the dimension The scaling factor of the mapping value corresponding to the information is set to be larger than the scaling factor of the mapping value corresponding to another part of dimension information.
参考图2,为确定目标映射值子集的流程示意图,步骤S200,根据第一和值与第二和值之间的差值,从备选映射值子集中确定目标映射值子集,包括:Referring to FIG. 2, it is a schematic flow chart for determining the target mapping value subset, step S200, according to the difference between the first sum value and the second sum value, determining the target mapping value subset from the candidate mapping value subset, including:
步骤S201,根据备选映射值子集中各元素的比例系数,确定第一和值。Step S201, determining a first sum value according to the proportional coefficients of each element in the candidate mapping value subset.
第一和值为:任意一个备选映射值子集中元素之和,在确定第一和值时,各个备选映射值子集中各个元素都具有比例系数,该比例系数用于表示该元素对应的维度信息对从备选信息确定推荐的目标信息的影响程度。根据备选映射值子集中各个元素和各元素具有的比例系数,确定第一和值。The first sum value is: the sum of elements in any candidate mapping value subset. When determining the first sum value, each element in each candidate mapping value subset has a proportional coefficient, which is used to represent the corresponding The degree of influence of dimension information on determining recommended target information from alternative information. The first sum value is determined according to each element in the candidate mapping value subset and the proportionality factor of each element.
例如,备选映射值子集Y1={y11,y12,y13,y14,y15,y16,y17},在确定第一和值时,备选映射值子集Y1中各个元素具有比例系数,如Y1={a*y11,b*y12,c*y13,d*y14,e*y15,f*y16,g*y17},a、b、c、d、e、f和g即为比例系数。Y1对应的第一和值可以表示为sum(a*y11,b*y12,c*y13,d*y14,e*y15,f*y16,g*y17)。其他备选映射值子集中的各个元素同理,也具有比例系数,如Y2={a*y21,b*y22,c*y23,d*y24,e*y25,f*y26,g*y27},Y2对应的第一和值为sum(a*y21,b*y22,c*y23,d*y24,e*y25,f*y26,g*y27)。For example, the alternative mapping value subset Y1={y11, y12, y13, y14, y15, y16, y17}, when determining the first sum value, each element in the alternative mapping value subset Y1 has a proportional coefficient, such as Y1 ={a*y11, b*y12, c*y13, d*y14, e*y15, f*y16, g*y17}, a, b, c, d, e, f and g are proportional coefficients. The first sum value corresponding to Y1 can be expressed as sum(a*y11, b*y12, c*y13, d*y14, e*y15, f*y16, g*y17). Each element in other candidate mapping value subsets is the same, and also has a proportional coefficient, such as Y2={a*y21, b*y22, c*y23, d*y24, e*y25, f*y26, g*y27} , the first sum corresponding to Y2 is sum(a*y21, b*y22, c*y23, d*y24, e*y25, f*y26, g*y27).
这些比例系数用于表示与映射值存在映射关系的权重所对应的维度信息,在从待推荐的备选信息中确定目标信息时所占的权重,比例系数越大,表示所占的权重越大,影响程度越大。These proportional coefficients are used to represent the dimensional information corresponding to the weights that have a mapping relationship with the mapping values, and the weights occupied when determining the target information from the candidate information to be recommended. The larger the proportional coefficient, the greater the weight. , the greater the degree of influence.
步骤S202,根据第一和值与第二和值的差值,将差值最大的备选映射值子集,或者差值大于预设差值的备选映射值子集,确定为目标映射值子集。Step S202, according to the difference between the first sum and the second sum, determine the candidate mapping value subset with the largest difference, or the candidate mapping value subset whose difference is greater than the preset difference, as the target mapping value Subset.
在确定第一和值和第二和值的差值之后,由于选择最优的目标映射子集是通过该差值的最大化确定的,所以在该实施例中将差值最大的备选映射值子集确定为目标映射值子集,这样可以确定所有备选映射值子集中最优的映射值子集,将该最优的映射值子集作为目标映射值子集。After determining the difference between the first sum and the second sum, since the selection of the optimal target mapping subset is determined by maximizing the difference, in this embodiment, the candidate mapping with the largest difference The value subset is determined as the target mapping value subset, so that an optimal mapping value subset among all candidate mapping value subsets can be determined, and the optimal mapping value subset is used as the target mapping value subset.
还可以将差值大于预设差值的备选映射值子集作为目标映射值子集,预设差值可以是根据备选信息确定,与备选信息相匹配的预设差值,在第一和值和第二和值的差值大于该预设差值时,可以确定备选映射值子集中确定最优的映射值子集,将该最优的映射值子集确定为目标映射值子集。It is also possible to use the candidate mapping value subset whose difference is greater than the preset difference as the target mapping value subset. The preset difference can be determined according to the candidate information and match the preset difference with the candidate information. When the difference between the first sum value and the second sum value is greater than the preset difference value, the optimal mapping value subset can be determined among the candidate mapping value subsets, and the optimal mapping value subset can be determined as the target mapping value Subset.
在该实施例中,根据最优的映射值子集对应的目标权重子集可以确定目标信息。In this embodiment, the target information may be determined according to the target weight subset corresponding to the optimal mapping value subset.
在另一实施例中,参考图3,为一种获取备选参数集合的流程示意图,步骤S100中的获取多个所述至少一种维度信息的备选参数集合,包括:In another embodiment, referring to FIG. 3 , which is a schematic flowchart of obtaining a set of candidate parameters, the step S100 of obtaining multiple set of candidate parameters of the at least one dimension information includes:
步骤S101,预设T个初始化参数集合,初始化参数集合包括:至少一种维度信息的初始化权重子集和初始化权重子集对应的初始化映射值子集。Step S101, preset T initialization parameter sets, the initialization parameter sets include: an initialization weight subset of at least one dimension information and an initialization mapping value subset corresponding to the initialization weight subset.
在该步骤中,可以通过预设的方式,预设T个初始化参数集合,每个初始化参数集合中都包括至少一种维度信息的初始化权重子集和该初始化权重子集对应的初始化映射值子集,即初始化权重 子集与初始化映射值子集之间存在映射关系。In this step, T initialization parameter sets can be preset in a preset manner, and each initialization parameter set includes an initialization weight subset of at least one dimension information and an initialization mapping value subset corresponding to the initialization weight subset Set, that is, there is a mapping relationship between the initialized weight subset and the initialized map value subset.
每个初始化权重子集中都包括至少一种维度信息的权重,该子集中的初始化权重的数量和参考权重子集中权重的数量相同。每个初始化映射值子集中都包括至少一种维度信息的权重对应的映射值,该子集中映射值的数量和初始化权重子集中初始化权重的数量相同。Each initialization weight subset includes weights of at least one dimension information, and the number of initialization weights in the subset is the same as the number of weights in the reference weight subset. Each initialization mapping value subset includes mapping values corresponding to weights of at least one dimension information, and the number of mapping values in the subset is the same as the number of initialization weights in the initialization weight subset.
T的数量可以根据实际需求间设定,例如可以是3个或者5个等正整数个。The number of T can be set according to actual needs, for example, it can be a positive integer such as 3 or 5.
例如,初始化权重子集为X6、X7、X8、X9和X10,初始化映射值子集为Y6至Y10,X6和Y6存在映射关系,X7和Y7存在映射关系等,以此类推。X6={x61,x62,x63,x64,x65,x66,x67},X7={x71,x72,x73,x74,x75,x76,x77},X3、X4和X5以此类推。Y6={y61,y62,y63,y64,y65,y66,y67},Y7={y71,y72,y73,y74,y75,y76,y77}等等,Y8、Y9和Y10以此类推。Y61与x61存在映射关系,y62和x62存在映射关系,y63和x73存在映射关系,……y67和x67存在映射关系。Y71和x71存在映射关系,y72和x72存在映射关系,y73和x73存在映射关系,……y77和x77存在映射关系,以此类推。For example, the initialization weight subsets are X6, X7, X8, X9 and X10, the initialization mapping value subsets are Y6 to Y10, there is a mapping relationship between X6 and Y6, there is a mapping relationship between X7 and Y7, and so on. X6={x61, x62, x63, x64, x65, x66, x67}, X7={x71, x72, x73, x74, x75, x76, x77}, X3, X4 and X5 and so on. Y6={y61, y62, y63, y64, y65, y66, y67}, Y7={y71, y72, y73, y74, y75, y76, y77} and so on, Y8, Y9 and Y10 and so on. There is a mapping relationship between Y61 and x61, there is a mapping relationship between y62 and x62, there is a mapping relationship between y63 and x73, ... there is a mapping relationship between y67 and x67. There is a mapping relationship between Y71 and x71, there is a mapping relationship between y72 and x72, there is a mapping relationship between y73 and x73, ... there is a mapping relationship between y77 and x77, and so on.
步骤S102,根据各初始化参数集合中初始化权重子集中各元素的第三和值,和各初始化映射值子集中各元素的第四和值,确定第T+1个参数集合;第T+1个参数集合包括:第T+1个权重子集和第T+1个映射值子集,T为大于1的正整数。Step S102, according to the third sum of each element in the initialization weight subset in each initialization parameter set, and the fourth sum of each element in each initialization mapping value subset, determine the T+1th parameter set; the T+1th The parameter set includes: a T+1th weight subset and a T+1th mapping value subset, where T is a positive integer greater than 1.
在该步骤中,根据各个初始化权重子集中各个元素,即初始化权重,确定各个初始化权重子集中所有初始化权重之和,作为第三和值。根据各初始化映射值子集中各个元素,即初始化映射值,确定各个初始化映射值子集中所有初始化映射值之和,作为第四和值。In this step, according to each element in each initialization weight subset, that is, the initialization weight, the sum of all initialization weights in each initialization weight subset is determined as the third sum value. According to each element in each subset of initialization mapping values, that is, the initialization mapping value, the sum of all initialization mapping values in each subset of initialization mapping values is determined as the fourth sum value.
由于初始化权重子集和初始化映射值子集之间存在映射关系,所以每个初始化权重子集都对应一个初始化映射值子集,初始化权重子集和存在映射关系的初始化权重子集可以作为一组参数。不同的初始化参数集合中的均包括一个初始化权重子集和一个初始化映射值子集,所以一个初始化权重子集对应的第三和值,和一个初始化映射值子集对应的第四和值可以构成一个初始化参数在坐标系中的坐标。第三和值对应X轴,第四和值对应Y轴。Since there is a mapping relationship between the initialization weight subset and the initialization mapping value subset, each initialization weight subset corresponds to an initialization mapping value subset, and the initialization weight subset and the initialization weight subset with mapping relationship can be used as a set parameter. Different initialization parameter sets include a subset of initialization weights and a subset of initialization mapping values, so the third sum corresponding to a subset of initialization weights and the fourth sum corresponding to a subset of initialization mapping values can form The coordinates of an initialization parameter in the coordinate system. The third sum corresponds to the X-axis, and the fourth sum corresponds to the Y-axis.
根据已知的T个初始化参数集合中第一个初始参数集合至第T个初始参数集合的坐标位置的发展趋势,预测第T+1个参数集合的坐标。第T+1个参数集合包括第T+1个权重子集和第T+1个映射值子集,第T+1个映射值子集和第T+1个权重子集存在映射关系。Predict the coordinates of the T+1th parameter set according to the development trend of the coordinate positions from the first initial parameter set to the Tth initial parameter set in the known T initialization parameter sets. The T+1th parameter set includes a T+1th weight subset and a T+1th mapping value subset, and there is a mapping relationship between the T+1th mapping value subset and the T+1th weighting subset.
具体的预测方法可以根据高斯分布和各个映射值子集的条件概率分布确定。例如:The specific prediction method can be determined according to the Gaussian distribution and the conditional probability distribution of each subset of mapping values. For example:
通过调整X中的x可以从备选信息中确定最优的目标信息,通过与X对应的Y,即映射值子集评估目标信息是否是最优的,如Y取到极值(在一定区间内最大值或者最小值)。目标信息的推荐方法可以通过推荐模型实现,在推荐场景里一般使用auc和gauc来评估目标信息的推荐模型的准确度,通过auc和gauc的方程f,通过f(X)=Y,即可以评估模型的推荐准确度。所以,在f确定的情况下,需要确定一组X使Y最大。By adjusting x in X, the optimal target information can be determined from the alternative information, and whether the target information is optimal is evaluated by Y corresponding to X, that is, the subset of mapping values, such as Y takes an extreme value (in a certain interval maximum or minimum value). The recommendation method of target information can be realized through the recommendation model. In the recommendation scene, auc and gauc are generally used to evaluate the accuracy of the recommendation model of target information. Through the equation f of auc and gauc, f(X)=Y can be used to evaluate The recommendation accuracy of the model. Therefore, when f is determined, it is necessary to determine a set of X to maximize Y.
通过构建f目标函数的替代函数,替代函数可以通过评估替代函数在X上的得分,获取最优解。假设X和Y是服从高斯分布的,通过高斯分布可以拟合出(X,Y)的后验概率分布,那我们就可以根 据X预估Y的值。每次根据X得到的Y都可以矫正后验概率分布的预估,当然采样越多,得到的分布就越接近真实,但是计算的代价是巨大的,如果任意无限的采样,耗时和遍历所以的X找到Y的耗时是接近的。By constructing a surrogate function of the f objective function, the surrogate function can obtain the optimal solution by evaluating the score of the surrogate function on X. Assuming that X and Y obey the Gaussian distribution, the posterior probability distribution of (X,Y) can be fitted through the Gaussian distribution, then we can predict the value of Y based on X. Every time Y obtained according to X can correct the prediction of the posterior probability distribution. Of course, the more samples are taken, the closer the obtained distribution is to the real one, but the cost of calculation is huge. If any infinite sampling is performed, time-consuming and traversal The time-consuming of X to find Y is close.
所以在该实施例中,设定一个采样的限制,称作收获函数。,可以是max(mean+var)。mean表示均值,均值越高,则表示最可能出现全局最优解的区域采样。var表示方差,方差越高,则表示全局最优解越可能在未取样的区域,即在未取样的区域获取采样点。一味的追求全局最优解,最优的X会徘徊在X周围的点,不利于快速的拟合真实分布。因而还需要加入方差,让方差扩大,寻找一些未采样过的区域。根据收获函数max(mean+var)再加上mean和var之间的制约关系,可以确定当前分布下最优的X,通过f可以得到Y,(X,Y)即为预测后的信息,用于更新数据分布,继续迭代。So in this embodiment, a sampling limit is set, called the harvest function. , which can be max(mean+var). mean represents the mean value, and the higher the mean value, the region sampling where the global optimal solution is most likely to appear. var represents the variance, and the higher the variance, the more likely the global optimal solution is in the unsampled area, that is, to obtain sampling points in the unsampled area. Blindly pursuing the global optimal solution, the optimal X will linger at the points around X, which is not conducive to quickly fitting the real distribution. Therefore, it is also necessary to add variance to expand the variance and find some unsampled areas. According to the harvest function max(mean+var) plus the constraint relationship between mean and var, the optimal X under the current distribution can be determined, and Y can be obtained through f, and (X, Y) is the predicted information. Use To update the data distribution, continue to iterate.
同样,通过函数Y=f(X),y和x之间同样满足该函数,等价于优化y1+y2+y3…..yn=f(x1)+f(x2)+f(x3)…..f(xn),利用函数f可以确定X中包括的x,在确定x之后,根据函数f可以确定y。具体过程这里不再详细说明,参考贝叶斯优化算法。Similarly, through the function Y=f(X), the function between y and x is also satisfied, which is equivalent to optimizing y1+y2+y3.....yn=f(x1)+f(x2)+f(x3)... ..f(xn), the x included in X can be determined by using the function f, and after x is determined, y can be determined according to the function f. The specific process will not be described in detail here, refer to the Bayesian optimization algorithm.
第T+1个参数集合的第T+1个权重子集中各权重之和为局部极大值,第T+1个映射值子集中各映射值之和为局部极大值。The sum of each weight in the T+1th weight subset of the T+1th parameter set is a local maximum value, and the sum of each mapping value in the T+1th mapping value subset is a local maximum value.
步骤S103,根据T+n个参数集合,确定第T+n+1个参数集合;n为正整数,第T+n个映射值子集中各元素之和为局部极大值。Step S103, according to the T+n parameter sets, determine the T+n+1th parameter set; n is a positive integer, and the sum of the elements in the T+nth mapping value subset is a local maximum value.
根据已知的T个初始化参数集合可以确定第T+1个参数集合,即根据已知的T个初始化参数集合中的初始化权重子集对应的第三和值和初始化映射值子集对应的第四和值,可以确定第一个初始化参数集合至第T个初始化参数集合分别对应的第三和值和第四和值在坐标系中的位置。根据高斯分布,可以预测第T+1个参数集合中权重子集对应的和值和映射值子集对应的和值在坐标系中的位置,从而确定第T+1个参数集合中权重子集对应的和值和映射值子集对应的和值,进而确定第T+1个参数集合对应的权重子集和映射值子集。The T+1th parameter set can be determined according to the known T initialization parameter sets, that is, according to the third sum corresponding to the initialization weight subset in the known T initialization parameter sets and the first corresponding to the initialization mapping value subset The four sum values can determine the positions in the coordinate system of the third sum value and the fourth sum value respectively corresponding to the first initialization parameter set to the Tth initialization parameter set. According to the Gaussian distribution, the position of the sum value corresponding to the weight subset in the T+1th parameter set and the sum value corresponding to the mapping value subset in the coordinate system can be predicted, so as to determine the weight subset in the T+1th parameter set The corresponding sum value and the sum value corresponding to the mapping value subset, and then determine the weight subset and mapping value subset corresponding to the T+1th parameter set.
根据T个初始化参数集合和第T+1个参数集合分别对应的第三和值和第四和值,确定第T+2个参数集合中权重子集的和值和映射值子集的和值,从而确定第T+2个参数集合对应的权重子集和映射值子集。According to the third sum value and the fourth sum value corresponding to the T initialization parameter set and the T+1th parameter set respectively, determine the sum value of the weight subset and the sum value of the mapping value subset in the T+2th parameter set , so as to determine the weight subset and mapping value subset corresponding to the T+2th parameter set.
以此类推,第T+n个参数集合中权重子集对应的和值和映射值子集对应的和值,可以根据前T+n-1个参数集合中权重子集对应的和值和映射值子集对应的和值进行确定。根据前T+n个参数集合中权重子集对应的和值和映射值子集对应的和值,确定第T+n+1个参数集合中权重子集对应的和值和映射值子集对应的和值,从而确定第T+n+1个参数集合。By analogy, the sum value corresponding to the weight subset in the T+nth parameter set and the sum value corresponding to the mapping value subset can be based on the sum value and mapping corresponding to the weight subset in the first T+n-1 parameter set The sum value corresponding to the subset of values is determined. According to the sum value corresponding to the weight subset in the first T+n parameter sets and the sum value corresponding to the mapping value subset, determine the corresponding sum value corresponding to the weight subset in the T+n+1 parameter set and the mapping value subset correspondence , so as to determine the T+n+1th parameter set.
在该步骤中,n可以根据实际需求进行确定,例如可以是1至10000的正整数等。在确定第T+n个参数集合时,每个参数集合中权重子集的权重之和都是局部极大值,映射值子集中的映射值之和也都是局部极大值。In this step, n may be determined according to actual requirements, for example, may be a positive integer ranging from 1 to 10000. When determining the T+nth parameter set, the sum of the weights of the weight subsets in each parameter set is a local maximum value, and the sum of the mapping values in the mapping value subset is also a local maximum value.
步骤S104,将T+n+1个参数集合确定为备选参数集合。Step S104, determining T+n+1 parameter sets as candidate parameter sets.
在确定T+n+1个参数集合之后,将这T+n+1个参数集合确定为备选参数集合,从这T+n+1个参数集合中确定目标参数集合,从而确定目标映射值子集。After determining T+n+1 parameter sets, determine these T+n+1 parameter sets as alternative parameter sets, and determine the target parameter set from these T+n+1 parameter sets, thereby determining the target mapping value Subset.
在另一实施例中,还可以将T+n个参数集合确定为备选参数集合。In another embodiment, T+n parameter sets may also be determined as candidate parameter sets.
在另一实施例中,步骤S101,预设T个初始化参数集合,包括:In another embodiment, step S101, preset T sets of initialization parameters, including:
根据备选信息的历史参数集合,确定与备选信息匹配的T个初始化参数集合;其中,历史参数集合包括:至少一种维度信息的历史权重子集和历史权重子集对应的历史映射值子集。According to the historical parameter set of the candidate information, determine T initialization parameter sets that match the candidate information; wherein, the historical parameter set includes: a historical weight subset of at least one dimension information and a historical mapping value sub-set corresponding to the historical weight subset set.
历史参数集合中包括的历史权重子集和历史映射值子集中元素的数量,可以是与参考权重子集和参考映射值子集中元素的数量相等。The number of elements in the historical weight subset and the historical mapping value subset included in the historical parameter set may be equal to the number of elements in the reference weight subset and the reference mapping value subset.
通过在历史参数集合中确定T个初始化参数集合,可以提高初始化参数集合与备选信息的匹配程度,进而提高确定的目标信息的准确度。By determining T initialization parameter sets in the historical parameter sets, the degree of matching between the initialization parameter sets and candidate information can be improved, thereby improving the accuracy of the determined target information.
或者,or,
根据待推荐的备选信息,随机生成T个初始化参数集合。Randomly generate T sets of initialization parameters according to the candidate information to be recommended.
在另一实施例中,该方法还包括:根据备选映射值子集,更新比例系数。In another embodiment, the method further includes: updating the scaling factor according to the subset of candidate mapping values.
在该实施例中,比例系数是可以动态变化的,通过动态调节比例系数,根据备选映射值子集中映射值之和的变化,可以动态更新备选映射值子集中各个元素具有的比例系数,从而均衡至少一种维度信息对目标信息的影响程度,减少多个维度信息对应的目标权重之间的相互制约,导致的确定的目标信息准确度较低的情况,从而提高了确定目标信息的准确度。In this embodiment, the proportional coefficient can be changed dynamically. By dynamically adjusting the proportional coefficient, according to the change of the sum of the mapped values in the candidate mapped value subset, the proportional coefficient of each element in the candidate mapped value subset can be dynamically updated. In this way, the degree of influence of at least one dimension information on the target information is balanced, and the mutual constraints between the target weights corresponding to multiple dimension information are reduced, resulting in a situation where the accuracy of the determined target information is low, thereby improving the accuracy of determining the target information Spend.
在另一实施例中,参考图4,为一种更新比例系数的流程示意图。根据备选映射值子集,更新比例系数,包括:In another embodiment, refer to FIG. 4 , which is a schematic flow chart of updating the proportional coefficient. Update the scale factor based on a subset of alternative mapping values, including:
步骤S10,根据各维度信息分别对应的多个备选映射值,确定各维度信息分别对应的多个备选映射值的变化趋势。Step S10, according to the plurality of candidate mapping values corresponding to each dimension information, determine the change trend of the plurality of candidate mapping values respectively corresponding to each dimension information.
在确定至少一个维度信息对应的多个备选参数集合中的备选映射值子集之后,可以确定各个备选参数集合中备选映射值子集中各个映射值,每个备选映射值子集中都包括各个维度信息对应的映射值,从而可以确定各个维度信息分别对应的多个映射值,这样即可得到的各个维度信息分别对应的各个映射值的变化趋势。即每个维度信息都对应有一个与该维度信息对应的多个映射值的变化趋势。After determining the candidate mapping value subsets in the plurality of candidate parameter sets corresponding to at least one dimension information, each mapping value in the candidate mapping value subsets in each candidate parameter set can be determined, and each candidate mapping value subset Both include mapping values corresponding to each dimension information, so that multiple mapping values corresponding to each dimension information can be determined, and thus the change trend of each mapping value corresponding to each dimension information can be obtained. That is, each dimension information corresponds to a change trend of multiple mapping values corresponding to the dimension information.
步骤S20,根据各变化趋势,调节比例系数,直至各变化趋势达到目标范围;其中,不同维度信息对应的的变化趋势,分别具有对应的目标范围。该目标范围为:根据维度信息在从备选信息中选择目标信息时所占比例确定的阈值范围。即各个变化趋势都对应有一个阈值范围,该阈值范围为不同维度信息在从备选信息中选择目标信息时所占比例确定。Step S20, adjust the proportional coefficient according to each change trend until each change trend reaches the target range; wherein, the change trends corresponding to different dimension information have corresponding target ranges respectively. The target range is: a threshold range determined according to a proportion of dimension information in selecting target information from candidate information. That is, each change trend corresponds to a threshold range, and the threshold range is determined by the proportion of information in different dimensions when selecting target information from candidate information.
在确定各个维度信息对应的变化趋势之后,可以该根据该变化趋势调节各个维度信息对应的备选映射值的比例系数,将不同的变化趋势调节至对应的目标范围内。这样可以均衡至少一种维度信息对目标信息的影响程度,减少多个维度信息对应的目标权重之间的相互制约,导致的确定的目标信息准确度较低的情况,从而提高了确定目标信息的准确度。After the change trend corresponding to each dimension information is determined, the proportional coefficient of the candidate mapping value corresponding to each dimension information can be adjusted according to the change trend, and the different change trends can be adjusted to the corresponding target range. In this way, the degree of influence of at least one dimensional information on the target information can be balanced, and the mutual constraints between the target weights corresponding to multiple dimensional information can be reduced, resulting in a situation where the accuracy of the determined target information is low, thereby improving the accuracy of determining the target information. Accuracy.
例如,下载量、收藏量、点赞量、备选信息的作者的关注用户数、平均浏览时长、评论数量和转发数量这七个维度信息,分别对应的阈值范围为0至0.02%、0.1%至0.3%、0.2%至0.5%、0.3%至0.7%、0.1%至0.6%、-0.9%至0和0.05%至0.08%等。在变化趋势对应的变化率到达相应的阈值范围之内时,即可实现对比例系数的调节。在变化率在相应的阈值范围之外时,将相应的变化率调节至相应的阈值范围内。For example, the seven dimension information of downloads, favorites, likes, number of users followed by the author of alternative information, average browsing time, number of comments, and number of retweets correspond to thresholds ranging from 0 to 0.02% and 0.1% respectively to 0.3%, 0.2% to 0.5%, 0.3% to 0.7%, 0.1% to 0.6%, -0.9% to 0 and 0.05% to 0.08%, etc. When the change rate corresponding to the change trend reaches the corresponding threshold range, the adjustment of the proportional coefficient can be realized. When the rate of change is outside the corresponding threshold range, the corresponding rate of change is adjusted to be within the corresponding threshold range.
在另一实施例中,还可以是:根据变化趋势,各维度信息分别对应的多个备选映射值超出对应的阈值范围时,调节各维度信息分别对应的备选映射值的比例系数,将维度信息分别对应的备选映射值调节在阈值范围内,该实施例中的阈值范围为备选映射值的数值范围。In another embodiment, it may also be: according to the change trend, when the multiple candidate mapping values corresponding to each dimension information exceed the corresponding threshold range, adjust the proportional coefficients of the candidate mapping values corresponding to each dimension information, and The candidate mapping values respectively corresponding to the dimension information are adjusted within a threshold range, and the threshold range in this embodiment is the numerical range of the candidate mapping values.
在另一实施例中,参考图5,为一种目标信息的推荐装置的示意图,该装置包括:In another embodiment, referring to FIG. 5 , it is a schematic diagram of an apparatus for recommending target information, which includes:
获取模块1,被配置为获取待推荐的备选信息的至少一种维度信息的参考参数集合及多个所述至少一种维度信息的备选参数集合;其中,所述参考参数集合包括:至少一种维度信息的参考权重子集和所述参考权重子集对应的参考映射值子集;所述备选参数集合包括:所述至少一种维度信息的备选权重子集和各所述备选权重子集对应的备选映射值子集;The acquisition module 1 is configured to acquire a reference parameter set of at least one dimension information of the candidate information to be recommended and a plurality of candidate parameter sets of the at least one dimension information; wherein, the reference parameter set includes: at least A reference weight subset of dimension information and a reference mapping value subset corresponding to the reference weight subset; the candidate parameter set includes: the candidate weight subset of the at least one dimension information and each of the candidate parameters Select a subset of alternative mapping values corresponding to the subset of weights;
目标映射值子集确定模块2,被配置为根据第一和值与第二和值之间的差值,从所述备选映射值子集中确定目标映射值子集;其中,所述第一和值为:任意一个所述备选映射值子集中元素之和;所述第二和值为所述参考映射值子集内元素之和,所述备选映射值子集中各个元素都具有比例系数,所述比例系数用于表示所述维度信息对从所述备选信息确定推荐的目标信息的影响程度;The target mapping value subset determination module 2 is configured to determine the target mapping value subset from the candidate mapping value subset according to the difference between the first sum value and the second sum value; wherein, the first The sum value is: the sum of elements in any one of the candidate mapping value subsets; the second sum value is the sum of elements in the reference mapping value subset, and each element in the candidate mapping value subset has a ratio A coefficient, the proportional coefficient is used to represent the degree of influence of the dimension information on determining the recommended target information from the candidate information;
目标权重子集确定模块3,被配置为根据所述目标映射值子集,确定目标权重子集;所述目标权重子集中包括:影响所述备选信息的至少一种维度信息的目标权重;The target weight
推荐模块4,被配置为根据所述目标权重,从所述备选信息中选择推荐的所述目标信息。The recommendation module 4 is configured to select the recommended target information from the candidate information according to the target weight.
在另一实施例中,比例系数为预设值;In another embodiment, the proportional coefficient is a preset value;
目标映射值子集确定模块2,包括:Target mapping value subset determination module 2, including:
第一和值确定单元,被配置为根据所述备选映射值子集中各元素的比例系数,确定所述第一和值;A first sum value determination unit configured to determine the first sum value according to the proportionality coefficient of each element in the candidate mapping value subset;
目标映射值子集确定单元,被配置为根据所述第一和值与所述第二和值的差值,将所述差值最大的所述备选映射值子集,或者所述差值大于预设差值的所述备选映射值子集,确定为所述目标映射值子集。The target mapping value subset determining unit is configured to, according to the difference between the first sum and the second sum, select the candidate mapping value subset with the largest difference, or the difference The candidate mapping value subset greater than a preset difference is determined as the target mapping value subset.
在另一实施例中,该装置还包括:In another embodiment, the device also includes:
比例系数更新模块,被配置为根据所述备选映射值子集,更新所述比例系数。A scaling factor updating module configured to update the scaling factor according to the subset of candidate mapping values.
比例系数更新模块包括:The scale factor update module includes:
变化趋势确定单元,被配置为根据各维度信息分别对应的多个备选映射值,确定各维度信息分别对应的多个所述备选映射值的变化趋势;The change trend determination unit is configured to determine the change trend of the plurality of candidate mapping values corresponding to each dimension information respectively according to the plurality of candidate mapping values corresponding to each dimension information;
调节单元,被配置为根据各所述变化趋势,调节所述比例系数,直至各所述变化趋势达到目标范围;其中,不同维度信息对应的变化趋势,分别具有对应的所述目标范围。The adjustment unit is configured to adjust the proportional coefficient according to each change trend until each change trend reaches a target range; wherein the change trends corresponding to different dimensional information have corresponding target ranges respectively.
在另一实施例中,所述目标范围为:根据所述维度信息在从所述备选信息中选择所述目标信息时所占比例确定的阈值范围。In another embodiment, the target range is: a threshold range determined according to a proportion of the dimension information when selecting the target information from the candidate information.
获取模块1包括:Acquisition Module 1 includes:
初始化参数集合获取单元,被配置为预设T个初始化参数集合,所述初始化参数集合包括:所述至少一种维度信息的初始化权重子集和所述初始化权重子集对应的初始化映射值子集;The initialization parameter set acquisition unit is configured to preset T initialization parameter sets, the initialization parameter sets include: the initialization weight subset of the at least one dimension information and the initialization mapping value subset corresponding to the initialization weight subset ;
第T+1个参数集合确定单元,被配置为根据各初始化参数集合中所述初始化权重子集中各元素的第三和值,和各所述初始化映射值子集中各元素的第四和值,确定第T+1个参数集合;其中,所述第T+1个参数集合包括:第T+1个权重子集和第T+1个映射值子集,T为大于1的正整数;The T+1th parameter set determining unit is configured to, according to the third sum of each element in the initialization weight subset in each initialization parameter set, and the fourth sum of each element in each of the initialization mapping value subsets, Determine the T+1th parameter set; wherein, the T+1th parameter set includes: the T+1th weight subset and the T+1th mapping value subset, and T is a positive integer greater than 1;
第T+n+1个参数集合确定单元,被配置为根据T+n个参数集合,确定第T+n+1个参数集合;n为正整数,所述第T+n个映射值子集中各元素之和为局部极大值;The T+n+1th parameter set determining unit is configured to determine the T+n+1th parameter set according to the T+n parameter set; n is a positive integer, and in the T+nth mapping value subset The sum of each element is a local maximum;
备选参数集合确定单元,被配置为将所述T+n+1个参数集合确定为所述备选参数集合。The candidate parameter set determining unit is configured to determine the T+n+1 parameter sets as the candidate parameter sets.
初始化参数集合获取单元,还被配置为:The initialization parameter set acquisition unit is also configured as:
根据所述备选信息的历史参数集合,确定与所述备选信息匹配的T个初始化参数集合;其中,所述历史参数集合包括:至少一种维度信息的历史权重子集和所述历史权重子集对应的历史映射值子集;According to the historical parameter set of the candidate information, determine T initialization parameter sets matching the candidate information; wherein, the historical parameter set includes: a historical weight subset of at least one dimension information and the historical weight A subset of historical mapping values corresponding to the subset;
或者,or,
根据所述待推荐的备选信息,随机生成T个初始化参数集合。Randomly generate T initialization parameter sets according to the candidate information to be recommended.
在另一实施例中,目标权重子集确定模块3,还被配置为:In another embodiment, the target weight
将所述目标映射值子集对应的备选权重子集,确定为所述目标权重子集。A candidate weight subset corresponding to the target mapping value subset is determined as the target weight subset.
在另一实施例中,所述待推荐的备选信息包括以下至少之一:In another embodiment, the candidate information to be recommended includes at least one of the following:
视频;video;
公众号;the public;
文章;article;
所述维度信息至少包括以下之一包括:The dimension information includes at least one of the following:
下载量、收藏量、点赞量、备选信息的作者的关注用户数、平均浏览时长、评论数量和转发数量。The number of downloads, favorites, likes, the number of users who follow the author of the alternative information, the average browsing time, the number of comments, and the number of reposts.
本公开实施例提供一种电子设备,包括:An embodiment of the present disclosure provides an electronic device, including:
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
处理器,分别存储器连接;Processor, memory connection respectively;
其中,处理器被配置为通过执行存储在所述存储器上的计算机可执行指令,能够执行前述任意技术方案提供的视频处理方法。Wherein, the processor is configured to execute the video processing method provided by any of the foregoing technical solutions by executing the computer-executable instructions stored in the memory.
处理器可包括各种类型的存储介质,该存储介质为非临时性计算机存储介质,在移动终端掉电之后能够继续记忆存储其上的信息。The processor may include various types of storage media, which are non-transitory computer storage media, and can continue to memorize and store information thereon after the mobile terminal is powered off.
所述处理器可以通过总线等与存储器连接,被配置为读取存储器上存储的可执行程序,例如, 如图1至图4任一所示的方法以及图7所示的方法的至少其中之一。The processor may be connected to the memory through a bus, etc., and configured to read the executable program stored on the memory, for example, at least one of the methods shown in any one of Figures 1 to 4 and the method shown in Figure 7 one.
在另一实施例中,还提供另一种目标信息的推荐方法。In another embodiment, another method for recommending target information is provided.
随着大数据技术和机器学习技术的日新月异,机器学习的应用也愈加丰富和复杂,导致其中大量的参数调节不仅需要较多的机器学习背景和算法的业务知识,尤其是在现在模型更新日新月异,快速的产品迭代。对自动化调参的需求也愈加强烈,但传统的自动化调参并不能完全解决同时调节多个参数,往往对于相互作用的多个调参的调节结果并不理想,因而本发明孕育而生,解决了多个参数影响下,也能有效的选择合理的超参数。With the rapid development of big data technology and machine learning technology, the application of machine learning has become more abundant and complex, resulting in a large number of parameter adjustments that not only require more machine learning background and business knowledge of algorithms, especially now that the model update is changing with each passing day. Rapid product iteration. The demand for automatic parameter adjustment is becoming more and more intense, but traditional automatic parameter adjustment cannot completely solve the problem of simultaneously adjusting multiple parameters, and the adjustment results of multiple interactive parameter adjustments are often unsatisfactory. Therefore, the present invention was conceived to solve Under the influence of multiple parameters, reasonable hyperparameters can also be effectively selected.
通常情况下所采用的自动调参方法有网格搜索,随即搜索,贝叶斯优化等方式。但是这些方式都存在着各种各样的问题:网格搜索由于浪费了大量的时间和空间,往往不符合快速的产品迭代;随机搜索很有可能会错过最优点;传统的贝叶斯优化,尽管提供了一个超参的黑盒子但是在多个相互作用的参数下,很容易陷入局部最优,或者很难达找到平衡使总体效果达到最优,尤其是在多参数的场景里,多个参数如果相互制约相互影响,最后贝叶斯算法选择出来的最优超参数往往效果并不明显。Usually, the automatic parameter tuning methods used include grid search, random search, and Bayesian optimization. However, there are various problems in these methods: grid search is often not suitable for rapid product iteration due to the waste of a lot of time and space; random search is likely to miss the optimal point; traditional Bayesian optimization, Although a hyperparameter black box is provided, it is easy to fall into a local optimum under multiple interacting parameters, or it is difficult to find a balance to optimize the overall effect, especially in multi-parameter scenarios, multiple If the parameters restrict each other and affect each other, the optimal hyperparameters selected by the Bayesian algorithm are often not effective.
在此过程中贝叶斯的优化都是依赖于的目标函数y=f(x),也就是Max(sum(y1,y2…..yt)-sum(ybase1,ybase2,…ybaset)),但是传统的目标函数在多个参数的调节上贝叶斯往往寻求的最优点,在很多场景下不是效果的最优结果。可以看出上述表达式寻求的是总值的最大化,在多个参数相互独立的场景下,是可以达到理想的效果,但是在很多场景下,参数相互制约,在这个目标的影响下,往往会牺牲某些参数所带来的效果,在有些时候这些牺牲掉的参数所带来的效果反而对总体的提升起到至关重要的作用,于是定义了强约束算法结合贝叶斯优化,去改善的目标方程的盲目性,避免获取局部最优或者效果偏离,在这个过程中可以强有力的限制参数相互作用,也可以有效的业务经验有效的转化成可求解的方程反复利用。In this process, Bayesian optimization depends on the objective function y=f(x), that is, Max(sum(y1,y2…..yt)-sum(ybase1,ybase2,…ybaset)), but In the adjustment of multiple parameters of the traditional objective function, Bayesian often seeks the optimal point, which is not the optimal result of the effect in many scenarios. It can be seen that the above expression seeks to maximize the total value. In the scenario where multiple parameters are independent of each other, the ideal effect can be achieved. However, in many scenarios, the parameters are mutually restricted. Under the influence of this goal, often The effect brought by some parameters will be sacrificed. In some cases, the effect brought by these sacrificed parameters will play a crucial role in the overall improvement. Therefore, a strong constraint algorithm is defined in combination with Bayesian optimization, to The blindness of the improved objective equation avoids obtaining local optimum or effect deviation. In this process, the interaction of parameters can be strongly restricted, and effective business experience can be effectively transformed into solvable equations for repeated use.
首先来看单个参数的优化,一般定义目标方程Ysingle=f(Xsingle),通过寻找最优的一个参数xt使结果yt是最优解,也就是获取到max(yn)n=1,2,3…..t.,对于多个参数来说会找到多个Ysingle之和的最大化,也就是找到一组参数Xt={x1,x2…..xn}使结果最大化,找到Max(Yt)。Max(Yt)=Max(y1+y2+y3…yt)。这里就暴露了之前提到的两个问题,一是每一个参数yt随着xt的变化而变化的速率不一样,会导致变化较快的yt会分配到更多的权重,也就是对于一个变化较快(斜率更大的方程g(x))g(x+1)会比斜率较小f(x+1)的值的增长更大,因而贝叶斯会更加愿意去调节斜率更大的g(x)。二是,业务的经验很难落到贝叶斯的方程中,于是对于无论是那种自动调参都没法学习到业务的经验。First look at the optimization of a single parameter. Generally, the objective equation Ysingle=f(Xsingle) is defined. By finding the optimal parameter xt, the result yt is the optimal solution, that is, max(yn)n=1, 2, 3 is obtained. …..t., for multiple parameters, the maximum of the sum of multiple Ysingles will be found, that is, a set of parameters Xt={x1,x2…..xn} will be found to maximize the result, and Max(Yt) will be found . Max(Yt)=Max(y1+y2+y3...yt). Here the two problems mentioned before are exposed. One is that the rate at which each parameter yt changes with the change of xt is different, which will cause more weights to be assigned to the faster-changing yt, that is, for a change Faster (equation with greater slope g(x)) g(x+1) will increase more than the value of f(x+1) with smaller slope, so Bayesian will be more willing to adjust the larger slope g(x). The second is that it is difficult for business experience to fall into the Bayesian equation, so no matter what kind of automatic parameter tuning, it is impossible to learn business experience.
本实施例提供了一种基于贝叶斯原理和强约束算法的结合方法,一方面保留了贝叶斯解决了计算时间和空间的浪费的能力,另一方面参数的强约束算法解决了贝叶斯容易陷入局部最优最后难以达到理想收益,破解了多个参数因为相互制约和影响导致优化出来的超参数带来的总体效果不升反降,于此同时把可以使用的业务经验转化为可求解的方程,方便反复使用。This embodiment provides a combination method based on Bayesian principle and strong constraint algorithm. On the one hand, it retains Bayesian ability to solve the waste of calculation time and space. On the other hand, the strong constraint algorithm of parameters solves the problem of Bayesian It is easy to fall into local optimum, and finally it is difficult to achieve the ideal income. The overall effect of the optimized hyperparameters caused by multiple parameters due to mutual constraints and influences is not increased but decreased. At the same time, the usable business experience is transformed into usable The solved equation is convenient for repeated use.
为了达到上述目的,本发明采用如下技术方案,具体步骤如下:In order to achieve the above object, the present invention adopts following technical scheme, and concrete steps are as follows:
步骤一:人工经验选择一组超参数的集合X,或者随机初始化一组超参数集合X,对超参数集合Xbase={xbase1,xbase2,xbase3,……,xbasen}计算对应的每个目标的得分Ybase={ybase1,ybase2,ybase3……,ybasen}。这就构成了基本组(Xbase,Ybase),基本组用于和实验组进行对照。Step 1: Manually select a set of hyperparameters X, or randomly initialize a set of hyperparameters X, and calculate the corresponding score of each target for the hyperparameter set Xbase={xbase1,xbase2,xbase3,...,xbasen} Ybase={ybase1, ybase2, ybase3...,ybasen}. This constitutes the basic group (Xbase, Ybase), which is used for comparison with the experimental group.
步骤二:定义优化目标,每一次在优化过程中选择的超参X都会得到目标得分Y={y1,y2,y3…..,yn},要扩大目标得分Y的加和与基本组加和之间的距离,也就是Max(sum(y1,y2…..yn)-sum(ybase1,ybase2,…ybasen)),选大于0的,(选实验组)这就是传统业务场景选择发目标方程的形式,主要是在这里进行改进,详见后续步骤备注里的详细阐述。(不必须的,可以用于确定步骤五,停止迭代)Step 2: Define the optimization goal. Every time the hyperparameter X selected in the optimization process will get the target score Y={y1,y2,y3...,yn}, it is necessary to expand the sum of the target score Y and the sum of the basic group The distance between them, that is, Max(sum(y1,y2…..yn)-sum(ybase1,ybase2,…ybasen)), choose the one greater than 0, (select the experimental group) This is the traditional business scenario selection and delivery target equation The form is mainly improved here, see the detailed explanation in the notes of the next steps for details. (Not necessary, can be used to determine
步骤三:贝叶斯在初始化阶段会随机生成几组超参数的集合X1,X2,X3…..Xt,以及其对应的目标得分结果结合Y1,Y2,Y3,Y4….Yt。贝叶斯认为其服从高斯分布于是可以构建好数据集合D={(X1,Y1),(X2,Y2)….(Xt,Yt)}和更新D之后Y的条件概率分布。Step 3: In the initialization stage, Bayesian will randomly generate several sets of hyperparameters X1, X2, X3...Xt, and their corresponding target score results combined with Y1, Y2, Y3, Y4...Yt. Bayesian believes that it obeys the Gaussian distribution, so the data set D={(X1,Y1),(X2,Y2)...(Xt,Yt)} and the conditional probability distribution of Y after updating D can be constructed.
步骤四:贝叶斯使用步骤三中初始化的高斯分布,和步骤二中定义的目标方程在开发和探索之间找到平衡,寻找到下一组最大化Y(y的和)的参数集合Dt=(Xt,Yt),然后再把Dt=(Xt,Yt)加入到总集合D中。可以在迭代次数t达到一定次数停下。Step 4: Bayesian uses the Gaussian distribution initialized in
步骤五:每一次迭代找到的最大化参数聚合Dt=(Xt,Yt)都会去更新原始的数据集合D,原始数据集的改变带来了,新的条件概率分布Y,又可以利用新的分布需找到下一次最优解。于是反复迭代步骤四直到最后的收敛,使后验分布贴近于真实分布。获取最优超参。Step 5: The maximum parameter aggregation Dt=(Xt,Yt) found in each iteration will update the original data set D, the change of the original data set brings the new conditional probability distribution Y, and the new distribution can be used The next optimal solution needs to be found. Then iterate step four until the final convergence, so that the posterior distribution is close to the real distribution. Get the best hyperparameters.
在另一实施例中,参考图6,为一种应用场景中备选映射值的变化趋势示意图。In another embodiment, refer to FIG. 6 , which is a schematic diagram of a change trend of alternative mapping values in an application scenario.
其中,p1,p2,p3,p4,p5,p6为6种不同维度信息,横坐标表示备选映射值的数量,纵坐标表示随着备选映射值的数量增加,备选映射值的变化率。随着横坐标参数数值选取的增加,纵坐标坐标所对应备选映射值的变化,包括参数auc的变化。Among them, p1, p2, p3, p4, p5, and p6 are 6 different dimensions of information, the abscissa indicates the number of alternative mapping values, and the ordinate indicates the rate of change of the alternative mapping values as the number of alternative mapping values increases . As the value of the abscissa parameter increases, the change of the alternative mapping value corresponding to the ordinate coordinate includes the change of the parameter auc.
传统的贝叶斯迭代计算会去求解Y=MAX(X*AUC),最终会导致p6取值过大因为他的增长速率很快,p3可能会渐渐趋近于消失,因为他在较快的递减。但是其实这不是想要的。因为可能p1 1%的增长所带来的线上的收益会比p6 10%的增长所带来的线上收益更多。The traditional Bayesian iterative calculation will solve Y=MAX(X*AUC), which will eventually cause the value of p6 to be too large because its growth rate is very fast, and p3 may gradually disappear because it is faster decrease. But in fact this is not what you want. Because it is possible that the online income brought by the 1% growth of p1 will be more than the online income brought by the 10% growth of p6.
因此约束条件出现了f(X)=Max(a*y1+b*y2+c*y3+d*y4+e*y5)。Therefore, f(X)=Max(a*y1+b*y2+c*y3+d*y4+e*y5) appears as a constraint condition.
可以在p1上增加比p6 10倍的权重来平衡收益。这样可以合理结合业务把所有的限制条件和约束要求落成可求解的方程。It is possible to add 10 times more weight on p1 than p6 to balance the gains. In this way, all the constraints and constraints can be reasonably combined with the business to form a solvable equation.
参考图7,为另一种目标信息的推荐方法的流程示意图。Referring to FIG. 7 , it is a schematic flowchart of another method for recommending target information.
该图中的业务经验分析器用于结合实际业务需求确定待推荐的备选信息等,目标方程构建器中的方程构成器可以用于确定第一和值、第二和值以及第一和值和第二和值的差值等。数值转化器可以用于权重和映射值之间的转换。The business experience analyzer in this figure is used to determine the candidate information to be recommended in combination with actual business needs, and the equation builder in the target equation builder can be used to determine the first sum value, the second sum value, and the first sum value sum The difference of the second sum, etc. Numeric converters can be used to convert between weights and map values.
图8是根据一示例性实施例示出的一种电子设备800的框图。例如,电子设备800可以是移动电话,移动电脑等。该电子设备可为执行前述方法的终端。Fig. 8 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a mobile computer, and the like. The electronic device may be a terminal for executing the foregoing method.
参照图8,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。8, electronic device 800 may include one or more of the following components: processing
处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The
电源组件806为电子设备800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。The
多媒体组件808包括在电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作状态,如拍摄状态或视频状态时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当电子设备800处于操作状态,如呼叫状态、记录状态和语音识别状态时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存 在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如Wi-Fi,4G或5G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The
在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由电子设备800的处理器820执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the
本公开实施例提供一种非临时性计算机可读存储介质,当存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行前述任意实施例提供的图像采集的提示方法,能够执行如如图1、图3至图6任一所示方法的至少其中之一。An embodiment of the present disclosure provides a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute the prompt method for image acquisition provided by any of the foregoing embodiments, and can execute At least one of the methods as shown in any one of Fig. 1 , Fig. 3 to Fig. 6 .
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in this disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (12)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110807187.6 | 2021-07-16 | ||
| CN202110807187.6A CN113590941B (en) | 2021-07-16 | 2021-07-16 | Recommendation method and device for target information, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023284434A1 true WO2023284434A1 (en) | 2023-01-19 |
Family
ID=78248047
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/096666 Ceased WO2023284434A1 (en) | 2021-07-16 | 2022-06-01 | Target information recommendation method and apparatus, and electronic device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113590941B (en) |
| WO (1) | WO2023284434A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120297588A (en) * | 2025-06-11 | 2025-07-11 | 国网四川省电力公司电力科学研究院 | A line icing warning analysis method and system combining micro-topography and micro-meteorology |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113590941B (en) * | 2021-07-16 | 2024-11-29 | 北京快乐茄信息技术有限公司 | Recommendation method and device for target information, electronic equipment and storage medium |
| CN114996487B (en) * | 2022-05-24 | 2023-04-07 | 北京达佳互联信息技术有限公司 | Media resource recommendation method and device, electronic equipment and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018176083A1 (en) * | 2017-03-31 | 2018-10-04 | Village Roadshow IP Pty Ltd | "recommending media items" |
| US20200233863A1 (en) * | 2019-01-22 | 2020-07-23 | Exaptive, Inc. | Systems and methods for dynamic computer aided innovation via multidimensional complementary difference recommendation and exploration |
| CN112100509A (en) * | 2020-11-17 | 2020-12-18 | 腾讯科技(深圳)有限公司 | Information recommendation method, device, server and storage medium |
| CN113590941A (en) * | 2021-07-16 | 2021-11-02 | 北京快乐茄信息技术有限公司 | Target information recommendation method and device, electronic equipment and storage medium |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108304429B (en) * | 2017-05-16 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Information recommendation method, apparatus and computer equipment |
| CN109241425B (en) * | 2018-08-31 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Resource recommendation method, device, equipment and storage medium |
| CN112395489B (en) * | 2019-08-15 | 2023-04-11 | 中移(苏州)软件技术有限公司 | Recommendation method, recommendation device, recommendation equipment and computer storage medium |
| CN112084410B (en) * | 2020-09-10 | 2023-07-25 | 北京百度网讯科技有限公司 | Recommended method, apparatus, electronic device and readable storage medium for document type |
| CN112163159B (en) * | 2020-10-09 | 2024-07-30 | 北京百度网讯科技有限公司 | Resource recommendation and parameter determination methods, devices, equipment and media |
-
2021
- 2021-07-16 CN CN202110807187.6A patent/CN113590941B/en active Active
-
2022
- 2022-06-01 WO PCT/CN2022/096666 patent/WO2023284434A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018176083A1 (en) * | 2017-03-31 | 2018-10-04 | Village Roadshow IP Pty Ltd | "recommending media items" |
| US20200233863A1 (en) * | 2019-01-22 | 2020-07-23 | Exaptive, Inc. | Systems and methods for dynamic computer aided innovation via multidimensional complementary difference recommendation and exploration |
| CN112100509A (en) * | 2020-11-17 | 2020-12-18 | 腾讯科技(深圳)有限公司 | Information recommendation method, device, server and storage medium |
| CN113590941A (en) * | 2021-07-16 | 2021-11-02 | 北京快乐茄信息技术有限公司 | Target information recommendation method and device, electronic equipment and storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120297588A (en) * | 2025-06-11 | 2025-07-11 | 国网四川省电力公司电力科学研究院 | A line icing warning analysis method and system combining micro-topography and micro-meteorology |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113590941A (en) | 2021-11-02 |
| CN113590941B (en) | 2024-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023284434A1 (en) | Target information recommendation method and apparatus, and electronic device and storage medium | |
| CN109918684B (en) | Model training method, translation method, related device, equipment and storage medium | |
| CN108076224A (en) | application control method, device and storage medium and mobile terminal | |
| CN107992841A (en) | The method and device of identification objects in images, electronic equipment, readable storage medium storing program for executing | |
| CN111860970B (en) | River flow prediction method and device, electronic equipment and storage medium | |
| CN113486978B (en) | Training method and device for text classification model, electronic equipment and storage medium | |
| CN107451240B (en) | interaction-based knowledge-graph question-answer Q/A system retrieval and promotion method and device | |
| CN107729880A (en) | Method for detecting human face and device | |
| CN107330619A (en) | Determine method, device and the computer-readable recording medium of comprehensive evaluation value | |
| CN108154093B (en) | Face information identification method and device, electronic equipment and machine-readable storage medium | |
| CN113052198A (en) | Data processing method, device, equipment and storage medium | |
| CN116521493A (en) | Fault detection method, device and storage medium | |
| CN115271043A (en) | Model tuning method, model tuning device and storage medium | |
| CN112734027A (en) | Method and device for determining model parameters | |
| CN117237742A (en) | Knowledge distillation method and device for initial model | |
| CN115794809A (en) | Resource data retrieval method, device, electronic device and storage medium | |
| CN116069898A (en) | Processing method, device, terminal and storage medium based on entity heat | |
| CN117808014A (en) | Training method of translation model, text translation method, device, equipment and medium | |
| CN114926227B (en) | Rating prediction model training method, device, electronic device and storage medium | |
| CN106327326A (en) | Credit rating method and device | |
| CN106778543A (en) | Single face detecting method, device and terminal | |
| CN107870932B (en) | User word stock optimization method and device and electronic equipment | |
| CN115494965B (en) | Request sending method and device for sending request | |
| CN118400235A (en) | Modulation identification method, device, computer equipment, storage medium and program product | |
| CN118052126A (en) | Panel parameter generation method, device, electronic device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22841074 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22841074 Country of ref document: EP Kind code of ref document: A1 |