User feature generation method and apparatus, device, storage medium, and program product
By dividing and differentiating the object set, the problem of data providers and feature generators struggling to balance the security of representation assets and the predictive effect in collaborative computing is solved, achieving both control over core representation assets and consideration of downstream predictive effect without leaving the domain.
Patent Information
- Application Number
- CN202611184760.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-05
- Publication Date
- 2026-11-20
AI Technical Summary
In the era of big data, the data provider holding the original user interaction behavior data and the feature generator holding the object embedding vector and prediction model are usually different entities. It is difficult to balance the security of the representation assets and the downstream prediction effect. Existing technologies are unable to achieve effective control over the core representation assets while ensuring the feasibility of collaborative computing.
The entire set of objects is divided into a first set of objects and a second set of objects. The embedding vectors of each object in the first set of objects are transformed and then sent to the data provider to generate the first aggregated feature. For the second set of objects, the data provider returns user interaction behavior data, and the feature generator generates the second aggregated feature based on the complete embedding vector. The feature generator then performs the fusion on the feature generator side to ensure control over the embedding vectors of the second set of objects.
While ensuring the feasibility of collaborative computing, it achieves effective control over core representation assets, while ensuring the prediction performance of downstream models and preventing the exposure of all representation assets on the data provider side and the risk of them being used for other modeling tasks.
Smart Images

Figure CN123139130A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of data processing technology, and more particularly to a method, apparatus, device, storage medium, and program product for generating user characteristics. Background Technology
[0002] In the era of big data, various business systems generally need to construct user characteristics based on the interaction behavior between users and multiple objects for downstream predictive analysis. Interaction behavior refers to any form of contact or operation between a user and an object, such as a user's use of an application, browsing or purchasing goods, etc. With the development of deep learning technology, each object is typically mapped to an embedding vector, which is the latent feature representation of the object in a predefined semantic space learned through machine learning methods, used to characterize the semantic associations and co-occurrence relationships between objects.
[0003] In real-world computing scenarios, the data provider holding the original user interaction behavior data and the feature generator holding the object embedding vector and prediction model are usually different entities. Under the premise that the data provider needs to participate in feature processing to ensure the feasibility of collaborative computing, it is difficult to balance the security of the representation assets and the downstream prediction effect. Summary of the Invention
[0004] In view of the above, one or more embodiments of this specification provide the following technical solutions: According to a first aspect of one or more embodiments of this specification, a method for generating user features is proposed, applied to a feature generator, the method comprising: Obtain the first set of objects, the second set of objects, and the embedding vectors of the objects, where each object corresponds to one embedding vector; The embedding vectors of each object in the first object set are transformed to obtain a transformed representation, and the transformed representation is sent to the data provider. The system receives a first aggregated feature sent by the data provider, which is generated by the data provider based on the user's interaction behavior data with each object in the first object set and the transformation representation. Receive user interaction behavior data on each object in the second object set sent by the data provider, and generate a second aggregate feature based on the interaction behavior data and the embedding vector of each object in the second object set; By combining the first aggregated feature and the second aggregated feature, the user's user features are obtained.
[0005] Optionally, the process of partitioning the first object set and the second object set includes: Determine at least one indicator dimension based on the application scenario of the user characteristics; Calculate the score for each object on at least one indicator dimension, and calculate the comprehensive score for each object based on the scores; Objects whose comprehensive scores meet the first condition are assigned to the first object set, and objects whose comprehensive scores meet the second condition are assigned to the second object set. The second condition is different from the first condition.
[0006] Optionally, the method further includes: The user features are input into the prediction model to obtain the prediction result for the user; wherein, the prediction result is used to characterize the predicted attributes of the user in the target business dimension.
[0007] Optionally, the transformation process performed on the embedding vectors of each object in the first object set to obtain the transformed representation includes: For each object in the first object set, at least one of the following processes is performed on the object's embedding vector: dimensionality reduction, random projection, linear mixing, bucketing, dimension clipping, basis vector transformation, and weak semantic recoding, to obtain the transformed representation.
[0008] Optionally, the fusion of the first aggregated feature and the second aggregated feature to obtain the user's user features includes at least one of the following methods: The first aggregated feature is concatenated with the second aggregated feature; The first aggregated feature and the second aggregated feature are weighted and summed. Calculate the ratio of the first aggregation feature to the second aggregation feature; Calculate the difference between the first aggregation feature and the second aggregation feature; Calculate the offset of the first aggregated feature relative to the second aggregated feature; Calculate the intensity ratio of the first aggregation feature to the second aggregation feature; Construct a hierarchical cross feature between the first aggregation feature and the second aggregation feature.
[0009] Optionally, the object is an application, and the interaction behavior data includes at least one of the following: user identifier, application identifier, number of days used, number of times used, duration of use, and most recent use time.
[0010] According to a second aspect of one or more embodiments of this specification, a user feature generation apparatus is provided, applied to a feature generation party, the apparatus comprising: The acquisition unit acquires a first set of objects, a second set of objects, and the embedding vectors of the objects, wherein each object corresponds to an embedding vector; The transformation unit performs transformation processing on the embedding vectors of each object in the first object set to obtain a transformation representation, and sends the transformation representation to the data provider; The receiving unit receives a first aggregated feature sent by the data provider, the first aggregated feature being generated by the data provider based on the user's interaction behavior data with each object in the first object set and the transformation representation; The generation unit receives user interaction behavior data on each object in the second object set sent by the data provider, and generates a second aggregated feature based on the interaction behavior data and the embedding vectors of each object in the second object set. The fusion unit merges the first aggregated feature and the second aggregated feature to obtain the user's user features.
[0011] According to a third aspect of one or more embodiments of this specification, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor performs the steps of the aforementioned method by executing the executable instructions.
[0012] According to a fourth aspect of one or more embodiments of this specification, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the steps of the aforementioned method.
[0013] According to a fifth aspect of one or more embodiments of this specification, a computer program product is provided, comprising a computer program / instructions that, when executed by a processor, implement the steps of the aforementioned method.
[0014] As can be seen from the above embodiments, this specification pre-divides all objects into a first object set and a second object set, performs transformation processing on the embedding vectors of each object in the first object set, and sends the resulting transformed representation to the data provider. This ensures that while the data provider receives usable representation data for performing specified aggregation operations, it does not receive the transformed representation of all objects, thus preventing the exposure of the full representation assets on the data provider's side and the risk of them being used for other modeling tasks. Subsequently, the first aggregated feature returned by the data provider based on the transformed representation is received, enabling the feature generator to obtain user-level aggregation information corresponding to the first object set without acquiring the original interaction behavior data, satisfying the collaborative computing requirement of data not leaving the domain. Simultaneously, the user's interaction behavior data on the second object set sent by the data provider is received, and a second aggregated feature is generated on the feature generator's side based on the complete embedding vector of the second object set. Throughout this process, the complete embedding vector of the second object set is always held by the feature generator, thus ensuring control over the embedding vectors of each core object in the second object set. Ultimately, user features are obtained by fusing the first and second aggregated features. This approach, while protecting the core representation assets, still yields a relatively comprehensive representation of user features, taking into account downstream prediction performance. Thus, while ensuring the feasibility of collaborative computing, effective control over the core representation assets is achieved, while simultaneously guaranteeing the predictive performance of downstream models. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the architecture of a user feature generation system provided in an exemplary embodiment.
[0016] Figure 2 This is a flowchart of a method for generating user features provided in an exemplary embodiment.
[0017] Figure 3 This is a flowchart of an exemplary embodiment of a method for partitioning an object set.
[0018] Figure 4 This is a schematic diagram of the structure of a device provided in an exemplary embodiment.
[0019] Figure 5 This is a block diagram of a user feature generation apparatus provided in an exemplary embodiment. Detailed Implementation
[0020] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this manual are all information and data authorized by the user or fully authorized by all parties. The collection, use and processing of related data shall comply with the relevant laws, regulations and standards of the relevant regions, and corresponding operation portals shall be provided for users to choose to authorize or refuse.
[0021] In the era of big data, various business systems generally need to construct user characteristics based on the interaction behavior between users and multiple objects for downstream predictive analysis. Interaction behavior refers to any form of contact or operation between a user and an object, such as a user's use of an application, browsing or purchasing goods, etc. With the development of deep learning technology, each object is typically mapped to an embedding vector, which is the latent feature representation of the object in a predefined semantic space learned through machine learning methods, used to characterize the semantic associations and co-occurrence relationships between objects.
[0022] In real-world computing scenarios, the data provider holding the original user interaction behavior data and the feature generator holding the object embedding vector and prediction model are usually different entities. In engineering deployments, the data provider often needs to perform some feature processing logic to meet the requirements of data not leaving the domain or collaborative computing.
[0023] Currently, the feature generator distributes the embedded vectors of all trained objects to the data provider as object-level callable vectors. The data provider then processes these vectors based on user interactions and returns the results. However, as a general representation, the value of embedded vectors is not tied to a specific task or aggregation logic. Once the data provider obtains the complete callable vector mapping table, it can persistently store it and use it independently for any downstream task, causing the feature generator to lose control over the core representation assets. Furthermore, the feature generator can also anonymize the embedded vectors of all objects before distributing them. However, such transformations typically preserve the distance structure and relative relationships of the original vector space mathematically. If the transformation fidelity is high, the data provider can still perform transfer learning or approximate reconstruction based on the transformed vectors; however, if the transformation intensity is too large, the information loss of the aggregated features is significant, leading to a decline in downstream prediction performance, making it difficult to balance asset protection and prediction effectiveness. The feature generator can also completely avoid sending any embedding vectors to the data provider, and instead require the provider to directly send back the user's original interaction behavior data, with the feature generator centrally completing all feature calculations. However, the amount of original interaction behavior data is huge and is often prohibited from leaving the domain due to the presence of sensitive information, making it impractical in most real-world collaboration scenarios.
[0024] Therefore, given that data providers need to participate in feature processing to ensure the feasibility of collaborative computing, it is difficult to balance the security of the representation assets and the predictive effectiveness of downstream applications.
[0025] This specification provides a user feature generation scheme. It divides all objects into a first object set and a second object set. The embedding vectors of each object in the first object set are transformed and then sent to the data provider, who generates a first aggregated feature locally. For the second object set, the data provider returns user interaction behavior data, and the feature generator generates a second aggregated feature based on the corresponding embedding vectors. Finally, the two aggregated features are fused to obtain the user feature. Through this differentiated processing strategy, the data provider only obtains the transformed, limited representation, while the complete embedding vectors of the core objects in the second object set remain with the feature generator. This ensures effective control over core representation assets while guaranteeing the feasibility of collaborative computing, and simultaneously ensures the predictive performance of downstream models.
[0026] In this specification, the method for generating user characteristics described above can be applied to a characteristic generator. This characteristic generator can be an independent server, server cluster, cloud service platform, or a software functional module deployed on the aforementioned devices. The characteristic generator communicates with one or more data providers. The data providers hold user interaction data on multiple objects. This interaction refers to any form of contact or operation between the user and the object, such as the user's use of an application (including opening, running, uninstalling, etc.), browsing or purchasing goods, accessing web pages, watching or clicking on content, calling or subscribing to services, etc. The data provider can be an entity holding the original user interaction data, such as a mobile phone manufacturer's server, an e-commerce platform server, or a content platform server. The characteristic generator and the data provider exchange data via wired or wireless networks.
[0027] The collection, transmission, and processing of the aforementioned interactive behavior data all comply with relevant data protection laws and regulations, and are conducted only with the explicit authorization of the user and in accordance with the principle of data minimization. Encrypted channels may be used during the transmission of interactive behavior data to ensure its security and confidentiality.
[0028] To facilitate understanding of the technical solutions in this specification, some of the terms used in this specification are explained below.
[0029] An embedding vector is a multidimensional numerical vector learned through machine learning methods to represent the latent features of an object in a predefined semantic space. This vector typically has tens to hundreds of dimensions. While its numerical value itself is not directly interpretable, the distance or similarity between the embedding vectors of different objects can reflect the degree of semantic association and co-occurrence relationship between them. Embedding vectors can be pre-trained in various ways, including but not limited to attention-based sequence modeling, co-occurrence-based embedding learning, graph embedding, contrastive learning, self-supervised learning, and multi-task learning.
[0030] Object: In this specification, an object refers to a physical or digital entity that can interact with a user. Objects include, but are not limited to, applications, goods, web pages, content services (such as video, audio, and graphic content), and electronic devices. Each object corresponds to a unique object identifier, which can be used to identify and match objects between data providers and feature generators.
[0031] Interaction behavior data refers to data that records the interaction behavior between users and objects. When the object is an application, interaction behavior data includes user identifier, application identifier, number of days used, number of uses, usage duration, and last usage time. When the object is a product, interaction behavior data includes user identifier, product identifier, number of views, browsing duration, number of times added to cart, number of purchases, and last purchase time. When the object is a webpage or content, interaction behavior data includes user identifier, content identifier, number of visits, viewing duration, and last access time. The specific fields of interaction behavior data can be flexibly determined according to the object type and application scenario.
[0032] Figure 1 This is a schematic diagram of the architecture of a user feature generation system provided in an exemplary embodiment.
[0033] Please refer to Figure 1 The system includes a feature generator 100 and a data provider 200. The feature generator 100 and the data provider 200 are connected via a network 300.
[0034] The feature generator 100 holds the embedding vectors of all objects, the partitioning information of the object set, and performs computational operations such as transforming the embedding vectors, generating the second aggregated feature, and fusing the first aggregated feature and the second aggregated feature. The feature generator 100 can be an independent physical server, a virtual machine server, a containerized computing node, or a server cluster or cloud service platform composed of multiple of the above devices.
[0035] Data provider 200 holds interaction behavior data from multiple users and generates a first aggregated feature based on the transformation representation issued by feature generator 100 and the interaction behavior data held locally. Data provider 200 can be a server device or server cluster that holds raw user interaction behavior data, such as a mobile phone manufacturer's log server, an e-commerce platform's transaction database server, or a content platform's behavior analysis server. Data provider 200 typically does not store the complete embedding vector of any object.
[0036] Network 300 can be a wired network, a wireless network, or a combination of wired and wireless networks, including but not limited to the Internet, local area network, metropolitan area network, wide area network, mobile communication network, etc. Data transmission between feature generator 100 and data provider 200 can employ secure encryption protocols (such as Secure Sockets Layer SSL or Transport Layer Security TLS) to ensure confidentiality and integrity during data transmission.
[0037] exist Figure 1 In the system architecture shown, feature generator 100 and data provider 200 perform differentiated data processing tasks. For the first object set, feature generator 100 transforms the embedding vectors of each object to generate a transformed representation, which is then sent to data provider 200 via network 300. Data provider 200 generates a first aggregated feature based on the transformed representation and locally held interaction behavior data, and sends the first aggregated feature back to feature generator 100. For the second object set, feature generator 100 does not issue any form of embedding vector or transformed representation; instead, data provider 200 sends the user's interaction behavior data with each object in the second object set to feature generator 100 via network 300. Feature generator 100 generates a second aggregated feature based on the complete embedding vectors of each object in the second object set and the received interaction behavior information. Feature generator 100 also fuses the first and second aggregated features to obtain the user's user features.
[0038] Figure 2 This is a flowchart of a method for generating user features provided in an exemplary embodiment.
[0039] Please refer to Figure 2 The method for generating these user features can be applied to feature generators and includes the following steps: Step 202: Obtain the first set of objects, the second set of objects, and the embedding vectors of the objects, wherein each object corresponds to an embedding vector.
[0040] In some embodiments, the feature generator may first obtain the embedding vectors of all objects, as well as the pre-defined first and second object sets. The embedding vectors are the latent feature representations of each object in a pre-defined semantic space, and can be pre-trained using various machine learning methods.
[0041] For example, the embedding vector is stored in the feature generator's storage module as key-value pairs, where the key is the object identifier and the value is the multi-dimensional embedding vector corresponding to that object. The object set partitioning information is stored in the feature generator's storage module as a list, with each list including the identifiers of objects belonging to that set. In actual implementation, the feature generator can complete the retrieval operation by reading the aforementioned key-value pair database and set lists.
[0042] In some embodiments, the first object set and the second object set together constitute the full set of objects. The second object set includes objects from the full set that contribute significantly to downstream prediction tasks, or whose embedding vectors carry high intellectual property value and cross-scenario transfer potential. For example, in a prediction model trained on historical data, the feature importance score, SHAP (SHapley Additive exPlanations) value, or gain value corresponding to the embedding vector of this object are significantly higher than other objects; or, from a business semantic perspective, this object itself has a strong correlation with the main focus dimension of the target prediction task. Another example: the embedding vector of this object not only has high value in the current prediction task, but also has transferability across different business scenarios and prediction tasks. Once obtained by the data provider, it may be used to train other models or build other profiles, resulting in the loss of core representational assets. For these reasons, the second object set is the core object set, and its complete embedding vectors are retained by the feature generator and not exposed to the data provider. The first set of objects includes all objects in the full set except for the second set of objects. It is a non-core set of objects, that is, objects that contribute relatively little to the downstream prediction task or whose embedding vectors have relatively low asset sensitivity. The embedding vectors of these objects can be distributed to the data provider for collaborative computing after transformation.
[0043] Step 204: Perform transformation processing on the embedding vectors of each object in the first object set to obtain a transformation representation, and send the transformation representation to the data provider.
[0044] In some embodiments, after completing the above acquisition operations, the feature generator performs a transformation process on each object in the first object set. The purpose of this transformation process is to convert the original complete embedding vector into a restricted representation form, so that the transformed representation can still support the data provider in performing the prescribed aggregation operations.
[0045] Specifically, the feature generator reads the complete embedding vectors of each object in the first object set, applies a preset mathematical transformation to each embedding vector, and generates a corresponding transformed representation. After generating the transformed representation, the feature generator sends the object identifiers of each object in the first object set and their corresponding transformed representations to the data provider via the network.
[0046] The triggering timing of the above-mentioned sending operation can be varied. For example, the feature generator may trigger the sending operation in response to receiving a feature generation request from the data provider. Another example is that the feature generator may proactively send the transformed representation to the data provider according to a preset time period (e.g., daily, weekly). Yet another example is that the feature generator may proactively send the updated transformed representation to the data provider after detecting an update to the partitioning result of the first object set or an update to the object's embedding vector. These different triggering methods can be applied to different deployment scenarios, and this specification does not impose any limitations on them.
[0047] Step 206: Receive the first aggregated feature sent by the data provider. The first aggregated feature is generated by the data provider based on the user's interaction behavior data with each object in the first object set and the transformation representation.
[0048] In some embodiments, upon receiving the transformed representation, the data provider can read the target user's interaction behavior data with each object in the first object set within a preset time window (e.g., the last 30 days, the last 60 days, etc.) from local storage. Then, the data provider determines the corresponding behavior weight (e.g., usage days, usage frequency, or usage duration) for each object based on the aforementioned interaction behavior data. This behavior weight is then weighted and summed or averaged with the corresponding transformed representation to obtain the user's first aggregated feature. The specific length of the preset time window can be flexibly set according to actual business needs. For example, in scenarios with sparse behavior data, a longer time window (e.g., the last 180 days) can be used to accumulate sufficient interaction data; in scenarios with dense behavior data, a shorter time window (e.g., the last 30 days) can be used to reflect the user's recent behavior patterns.
[0049] For example, suppose the first set of objects includes object A, object B, and object C. The data provider reads that the target user used object A for 5 days, object B for 3 days, and object C for 0 days in the past 30 days. In the transformation representation issued by the feature generator, the transformation representation corresponding to object A is a vector. The transformation representation of object B is a vector. The transformation representation of object C is a vector. The data provider can use the number of days used as the behavioral weight, and perform a weighted summation of the transformation representations of the three objects to obtain the first aggregated feature: F1 = 5 × +3× +0× In other examples, the data provider may also divide the result of the weighted summation above by the total number of days used (8 days) to obtain the mean vector, or use other methods such as logarithmic weighting for aggregation, which is not limited in this specification.
[0050] During the calculation of the first aggregation feature, the data provider can only obtain the transformed representation after transformation processing, and cannot obtain the complete embedding vector of each object in the first object set. At the same time, the data provider can only obtain the transformed representation of each object in the first object set, and cannot obtain the transformed representation of all objects. Therefore, it is also impossible to use these transformed representations to perform other computational tasks (such as cluster analysis, similarity calculation, model training, etc.).
[0051] After completing the calculation of the first aggregated feature, the data provider sends the calculation result to the feature generator via the network. During the transmission, the data provider may simultaneously send the user identifier, time window identifier, and aggregation method identifier (such as weighted summation) corresponding to the calculation, so that the feature generator can correctly identify the source and meaning of the feature after receiving the first aggregated feature.
[0052] Step 208: Receive user interaction behavior data on each object in the second object set sent by the data provider, and generate a second aggregated feature based on the interaction behavior data and the embedding vectors of each object in the second object set.
[0053] In some embodiments, unlike the processing of the first object set, for the second object set, the feature generator does not send any form of embedding vector or transformed representation. Instead, the data provider sends back the user's interaction behavior data with each object in the second object set to the feature generator. The feature generator receives the interaction behavior data sent by the data provider and then generates a second aggregated feature based on the interaction behavior data and the complete embedding vectors of each object in the second object set.
[0054] In some embodiments, in response to receiving a set indication information from the feature generator, or according to preset rules, the data provider reads the interaction behavior data of the target user with each object in the second object set within a preset time window from local storage and sends it to the feature generator via the network. Unlike the previous step where the data provider sends the first aggregated feature, in this step the data provider sends the raw interaction behavior data (rather than the feature vector after aggregation calculation). Since the number of objects in the second object set is usually much smaller than the total number of objects, the amount of interaction behavior data sent is relatively small.
[0055] After receiving the interaction behavior data sent by the data provider, the feature generator reads the complete embedding vectors of each object in the second object set from local storage. These complete embedding vectors are untransformed multidimensional numerical vectors. The feature generator determines the behavior weights corresponding to each object based on the interaction behavior data, and then performs weighted summation or averaging operations on these behavior weights and the corresponding complete embedding vectors to obtain the user's second aggregated feature.
[0056] Step 210: Merge the first aggregated feature and the second aggregated feature to obtain the user's user features.
[0057] In some embodiments, after obtaining the first aggregated feature and the second aggregated feature respectively, the feature generator merges the two to generate the final user feature. The user feature obtained after fusion can more comprehensively reflect the user's overall behavior pattern.
[0058] There are several ways to implement the above fusion, including at least one of the following: concatenating the first aggregated feature with the second aggregated feature; performing a weighted summation of the first aggregated feature and the second aggregated feature; calculating the ratio of the first aggregated feature to the second aggregated feature; calculating the difference between the first aggregated feature and the second aggregated feature; calculating the offset of the first aggregated feature relative to the second aggregated feature; calculating the intensity ratio of the first aggregated feature and the second aggregated feature; constructing a hierarchical cross feature of the first aggregated feature and the second aggregated feature, etc.
[0059] For example, the feature generator can directly concatenate the first aggregated feature and the second aggregated feature into a single vector. For instance, if the first aggregated feature is a 128-dimensional vector and the second aggregated feature is also a 128-dimensional vector, the concatenation will result in a 256-dimensional user feature vector.
[0060] For example, the feature generator can first perform a weighted summation of the first aggregated feature and the second aggregated feature to obtain the final user features. The weights used in the above weighted summation can be preset fixed values (such as a weight of 0.4 for the first aggregated feature and a weight of 0.6 for the second aggregated feature), or they can be adaptive weights learned during model training.
[0061] For example, the feature generator may calculate the ratio, difference, or offset between the first aggregated feature and the second aggregated feature, and use these statistics as components of the user features, or combine these statistics with the first aggregated feature and the second aggregated feature to form the final user features.
[0062] It should be noted that the various fusion methods mentioned above are not mutually exclusive, but can be flexibly selected and combined according to actual application scenarios and business needs. For example, the splicing method can be used as the basic fusion method because it is simple to operate and does not lose any information. Another example is the combination of splicing and difference, where the final user feature simultaneously includes the first aggregated feature itself, the second aggregated feature itself, and the difference between the two. This difference feature can reflect the difference in the intensity of user behavior on "core objects" and "non-core objects," and this difference itself may include information with predictive value.
[0063] In some embodiments, the feature generator outputs the final user features. These user features can be directly used as input to a downstream prediction model to generate a prediction result for the user, which characterizes the user's predicted attributes in the target business dimension. For example, in a risk prediction scenario, the prediction model can be a risk scoring model, the target business dimension is credit risk, and the prediction result can be a risk score or risk level. In a product recommendation scenario, the prediction model can be a purchase probability prediction model, the target business dimension is purchase tendency, and the prediction result can be the probability value of a user's purchase of a certain type of product. The specific types of the above prediction models can include tree models, logistic regression models, deep neural network models, graph models, sequence models, etc., and this specification does not limit them.
[0064] As described above, the embodiments pre-divide all objects into a first object set and a second object set. Transformation processing is performed on the embedding vectors of each object in the first object set, and the resulting transformed representation is sent to the data provider. This ensures that while the data provider receives usable representation data for performing specified aggregation operations, it does not receive the transformed representations of all objects, thus preventing the exposure of the full representation assets on the data provider's side and the risk of them being used for other modeling tasks. Subsequently, the first aggregated feature returned by the data provider based on the transformed representation is received, enabling the feature generator to obtain user-level aggregation information corresponding to the first object set without acquiring the original interaction behavior data, satisfying the collaborative computing requirement of data not leaving the domain. Simultaneously, the user's interaction behavior data on the second object set sent by the data provider is received, and a second aggregated feature is generated on the feature generator's side based on the complete embedding vectors of the second object set. Throughout this process, the complete embedding vectors of the second object set are always held by the feature generator, ensuring control over the embedding vectors of each core object in the second object set. Ultimately, user features are obtained by fusing the first and second aggregated features. This approach, while protecting the core representation assets, still yields a relatively comprehensive representation of user features, taking into account downstream prediction performance. Thus, while ensuring the feasibility of collaborative computing, effective control over the core representation assets is achieved, while simultaneously guaranteeing the predictive performance of downstream models.
[0065] Figure 3 This is a flowchart of an exemplary embodiment of a method for partitioning an object set.
[0066] Please refer to Figure 3 The process of partitioning an object set may include the following steps: Step 302: Determine at least one indicator dimension based on the application scenario of user characteristics.
[0067] In some embodiments, the specific application scenario corresponding to the current user characteristics can be determined before partitioning the object set. The application scenario determines the evaluation dimension system used when partitioning the object set. The aforementioned application scenarios can be risk prediction scenarios, product recommendation scenarios, content distribution scenarios, advertising scenarios, or user profiling scenarios, etc. Different application scenarios focus on different object attributes, and therefore use different indicator dimensions.
[0068] Taking application scenarios as an example, user characteristics are often used for risk prediction (such as credit risk and fraud risk). In this case, the object is the application, and the at least one indicator dimension identified can include a risk contribution dimension and an asset sensitivity dimension.
[0069] Risk contribution score measures the degree to which an application's embedding vector contributes to the performance of a downstream prediction model. For example, in a tree model trained on historical data, this contribution can be quantified using model-related metrics such as feature importance, SHAP value, gain, or number of splits. Generally, higher feature importance or a higher SHAP value indicates that the application's embedding vector is more critical to the model's decision-making, and its risk contribution score is also higher.
[0070] Asset sensitivity measures the intellectual property value and cross-scenario transfer potential of an application's embedding vectors. It can be quantified using metrics such as user coverage (the proportion of users using the application out of all users), category coverage (the distribution of the application's category within behavioral data), cross-scenario transfer value (whether the embedding vector can be effectively applied to other prediction tasks), and whether it constitutes a key semantic anchor. Generally, applications with higher asset sensitivity are at greater risk of their embedding vectors being misappropriated by data providers for other modeling tasks once exposed; these are typically core applications.
[0071] Taking a product scenario as an example, user characteristics are typically used for purchase prediction (such as whether a user will buy a certain type of product, a user's spending power rating, etc.). In this case, the object is the product, and at least one indicator dimension can be determined, including a purchase prediction contribution dimension and a business sensitivity dimension.
[0072] Purchase prediction contribution measures the degree to which a product's embedding vector contributes to the effectiveness of the purchase prediction model. This can be quantified by the feature importance, SHAP value, or gain of the product's embedding vector within the model. Commercial sensitivity measures the commercial and competitive value carried by a product's embedding vector. This can be quantified by indicators such as the product's sales contribution ratio, gross profit margin, user coverage, and whether it is a private label brand. Products with high commercial sensitivity (such as high-margin products, private label products, and best-selling products) may have their embedding vectors exposed and potentially used by competitors to analyze product strategies or user preferences; these are typically core products.
[0073] It should be noted that the determination method and specific indicator types of the above-mentioned indicator dimensions can be flexibly adjusted according to the actual deployment scenario. Those skilled in the art will understand that the selected indicator dimensions and their weight configurations can differ under different application scenarios and different business needs. For example, in scenarios where prioritizing model performance is crucial, the weight of predictive contribution dimensions can be increased.
[0074] Step 304: Calculate the score of each object on the at least one indicator dimension, and calculate the comprehensive score of each object based on the score.
[0075] In some embodiments, after determining the metric dimensions, for each object in the full set of objects, its score on each metric dimension is calculated separately. The scores for different dimensions can be calculated in different ways, and their original units may be different (for example, the risk contribution score can be a continuous value between 0 and 1, and the user coverage score can be a percentage value, etc.).
[0076] In some embodiments, before calculating the comprehensive score, the original scores of each dimension can be normalized to map scores of different dimensions to the same numerical range (such as between 0 and 1), and then the comprehensive score can be calculated to eliminate the interference of differences in dimensions and scales between different dimensions on the comprehensive score calculation.
[0077] In some embodiments, after the normalization process described above is completed, a comprehensive score for each object is calculated based on the normalized scores of each object across each dimension. For example, the comprehensive score can be calculated using a weighted summation method, that is, the normalized scores of each dimension are multiplied by their corresponding weights and then summed. These weights can be flexibly configured according to actual business needs. In risk prediction within application scenarios, if both risk contribution and asset sensitivity are used, the weight of risk contribution can be configured as 0.6 and the weight of asset sensitivity as 0.4 to slightly favor model performance; alternatively, both weights can be configured as 0.5 to achieve a balance. In purchase prediction within product scenarios, if both purchase prediction contribution and business sensitivity are used, the weights can be configured according to business priorities. For example, in scenarios where priority needs to be given to ensuring recommendation performance, the weight of purchase prediction contribution can be configured as 0.7 and the weight of business sensitivity as 0.3; in scenarios where priority needs to be given to protecting high-value product information, the weights can be swapped, etc.
[0078] In some embodiments, the overall score can also be calculated using a weighted average method, that is, the sum of the weighted scores of each dimension divided by the total weight, etc. The specific calculation method can be determined according to actual needs, and this specification does not limit it.
[0079] Step 306: Objects whose comprehensive scores meet the first condition are assigned to the first object set, and objects whose comprehensive scores meet the second condition are assigned to the second object set. The second condition is different from the first condition.
[0080] In some embodiments, after calculating the comprehensive score for each object, all objects are divided into a first object set and a second object set based on the comprehensive score and preset conditions.
[0081] For example, the first condition is that the overall score is lower than a preset threshold, and the second condition is that the overall score is not lower than the preset threshold. That is, objects with an overall score lower than the preset threshold are classified into a first object set, and objects with an overall score not lower than the preset threshold are classified into a second object set.
[0082] The aforementioned preset threshold can be a fixed value. For example, setting the threshold to 0.7 would assign objects with a comprehensive score below 0.7 to the first set, and objects with a comprehensive score not lower than 0.7 to the second set. The threshold can also be dynamically determined based on the size of the target set. For example, if the goal is for the first object set to comprise 90% of all objects, the threshold can be set to the value corresponding to the 10th percentile of the comprehensive score distribution. In risk prediction within application scenarios, applications with higher comprehensive scores (i.e., those contributing significantly to risk prediction or exhibiting high asset sensitivity) will be assigned to the second object set, and their complete embedding vectors will be retained by the feature generator; applications with lower comprehensive scores will be assigned to the first object set, and their embedding vectors can be used to distribute them to the data provider.
[0083] For example, the first and second conditions can also be based on a comprehensive score ranking. For instance, objects ranking in the top K% of the comprehensive score can be assigned to the second object set, while objects ranking in the bottom (100-K)% of the comprehensive score can be assigned to the first object set. Compared to a threshold-based approach, the advantage of this ranking-based method is that it can control the size of each object set, making it suitable for deployment scenarios with specific limitations on set size.
[0084] It should be noted that, in this embodiment, the difference between the first condition and the second condition refers to the difference in logical judgment between the two conditions (e.g., "below the threshold" and "not below the threshold" are opposite conditions), rather than to a distinction between superior and inferior or primary and secondary conditions. After the above division is completed, the first object set and the second object set constitute a complementary division of all objects, that is, each object in the total number of objects is assigned to one and only one of the two sets, and there is no situation where an object belongs to both sets simultaneously or does not belong to either set.
[0085] Therefore, by dividing the entire set of objects into a first set and a second set, and employing differentiated processing strategies, the data provider can only obtain a limited representation of the transformed first set of objects, while the complete embedding vectors of the second set of objects remain with the feature generator. This "layered open, two-sided collaborative" architecture ensures that while the data provider can participate in feature computation, it cannot obtain complete, directly reusable representation assets. Simultaneously, because the complete embedding vectors of the second set of objects are retained by the feature generator to generate the second aggregated feature, this crucial semantic information is fully preserved. Finally, the fusion of the first and second aggregated features ensures the overall prediction performance.
[0086] Furthermore, the method of dividing the first and second object sets mentioned above is not limited to the specified application scenario. In other examples, a unified and general metric dimension, independent of the application scenario, can also be used to divide the object sets. For example, all objects can be uniformly evaluated and divided based solely on general attribute metrics of the objects themselves (such as user coverage, interaction activity, and object distribution density in the embedding space). Under this unified division method, the selection of metric dimensions and weight configuration are fixed relative to the entire set of objects and do not change with the application scenario. In actual deployment, the choice between the two methods can be made according to business needs, and this specification does not impose any restrictions on this.
[0087] In some embodiments, the feature generator may perform transformation processing on the embedding vectors of each object in the first object set in various ways to obtain a transformed representation.
[0088] For example, the feature generator performs dimensionality reduction on the embedding vector of each object in the first object set to obtain a transformed representation. Dimensionality reduction refers to projecting the original high-dimensional embedding vector into a lower-dimensional space, thereby reducing the information density and data volume of the vector. Common dimensionality reduction methods include principal component analysis, linear discriminant analysis, and autoencoder dimensionality reduction. Dimensionality reduction can effectively reduce the information density of the embedding vector, making it difficult for the data provider to recover the original complete embedding vector from the dimensionality-reduced transformed representation, while still preserving the distribution characteristics of the embedding vector in the main dimensions to support aggregation operations.
[0089] For example, the feature generator can perform random projection processing on the embedding vector to obtain a transformed representation. Random projection refers to multiplying a randomly generated projection matrix with the original embedding vector to obtain a new vector. Since the random projection matrix is randomly generated and can change each time, the data provider cannot infer the distribution characteristics of the original embedding vector by accumulating multiple transformed representations. At the same time, random projection processing can maintain the distance relationship between the original vectors with a certain probability, thus having a certain degree of usability. In specific implementation, the feature generator can dynamically generate a new random projection matrix before each transformation representation is issued, so that each issued transformation representation is based on a different projection direction, further reducing the possibility of the data provider accumulating information for reverse recovery.
[0090] For example, the feature generator can perform linear blending on the embedding vectors to obtain a transformed representation. Linear blending refers to linearly combining the embedding vectors of multiple objects in the first object set according to preset blending coefficients to generate one or more blended vectors as the transformed representation. For example, the embedding vectors of object A, object B, and object C can be multiplied by blending coefficients α, β, and γ respectively and then summed to obtain the transformed representation. In this case, the transformed representation obtained by the data provider no longer corresponds to a single object, but to a mixture of multiple objects. The data provider cannot separate the original embedding vector of any object from this mixture. The blending coefficients can be randomly generated and updated periodically to further improve security.
[0091] For example, the feature generator can perform bucketing on the embedding vector to obtain a transformed representation. Bucketing refers to mapping the continuous values of each dimension in the embedding vector to discrete bucket numbers or bucket center values according to a preset numerical interval. For example, the values of each dimension can be divided into 10 intervals of equal width or equal frequency, and each value can be replaced with the center value or interval number of its respective interval. While reducing numerical precision, bucketing makes it difficult for the data provider to reconstruct the original continuous values based on the discretized approximations.
[0092] For example, the feature generator can perform dimensionality pruning on the embedding vector to obtain a transformed representation. Dimensional pruning refers to cutting off part of the dimensional information in the embedding vector, such as retaining only the first 64 dimensions and discarding the last 64 dimensions, or retaining dimensions with higher scores according to a preset dimensional importance score. Dimensional pruning is a simple operation with extremely low computational overhead, making it suitable for use in high-concurrency scenarios.
[0093] For example, the feature generator can project the embedded vectors onto a predefined basis vector space to obtain a transformed representation. Basis vector transformation refers to converting the original embedded vectors from the original space to another predefined basis vector space for representation. This basis vector space can be defined by a set of orthogonal or non-orthogonal basis vectors. The coordinate values of the transformed vectors in different spaces undergo fundamental changes relative to the original coordinates. If the data provider does not understand the specific definition of the basis vectors, it cannot map the transformed representation back to the original space.
[0094] For example, the feature generator can perform weak semantic recoding on the fields of the embedded vector to obtain a transformed representation. Weak semantic recoding refers to performing some reversible or irreversible encoding transformation on the values of each dimension without changing the overall statistical distribution characteristics of the vector, so that the encoded values lose their original interpretable semantics. For example, the dimensions of the embedded vector can be randomly rearranged, so that even if the data provider obtains the transformed representation, it cannot understand the specific meaning of each dimension in the original semantic space.
[0095] It should be noted that the various transformation methods described above are not mutually exclusive and can be combined according to actual needs. For example, dimensionality reduction can be performed on the embedding vector first, followed by random projection on the dimensionality reduction result, and then bucketing on the random projection result. The specific combination of transformation methods and parameter configurations can be flexibly determined based on actual business needs, data scale, and security requirements. The above transformation processes can be executed locally at the feature generator. The parameters used during the transformation process (such as the target dimension for dimensionality reduction, random projection matrix, mixing coefficients, bucketing intervals, number of pruned dimensions, basis vector matrix, recoding mapping table, etc.) are held by the feature generator, and the data provider cannot obtain the above parameter information.
[0096] Through the above transformation process, the transformed representation sent from the feature generator to the data provider is mathematically deviated from the spatial distribution of the original embedding vectors. The data provider typically cannot recover the original embedding vectors from the transformed representation, nor can it reuse the transformed representation as a general representation asset for other modeling tasks. Simultaneously, the transformation process retains sufficient statistical information, ensuring that the first aggregated feature obtained by the data provider through weighted summation or mean aggregation based on the transformed representation exhibits a high correlation in distribution with the features obtained through aggregation based on the original embedding vectors. This guarantees that the performance of downstream prediction tasks will not be significantly affected.
[0097] In a specific application scenario described in this specification, the object is an application program. In this scenario, the interaction between the user and the object manifests as the user's actions such as installing, opening, using, and uninstalling the application. The data regarding these interactions is collected and provided by a data provider (such as a mobile phone manufacturer's server, an app store's server, or a mobile application statistics platform).
[0098] In the above application scenarios, the interaction behavior data includes at least one of the following: user identifier, application identifier, number of days used, number of times used, duration of use, and most recent use time.
[0099] The user identifier is used to uniquely identify a user and can be a device identifier, user account ID, or an anonymized identifier that has been desensitized.
[0100] An application identifier is used to uniquely identify an application. It can be the application's package name, a unique ID assigned by an app store, or an encoded application name. During data exchange between the data provider and the feature generator, the application identifier must match the application identifier corresponding to the embedding vector held by the feature generator to ensure that the feature generator can find the corresponding embedding vector based on the received application identifier.
[0101] Usage days refer to the number of days a user uses an application within a preset time window. In practice, usage days can be calculated in calendar days; that is, if a user opens or uses the application at least once on a given day, it counts as one day. For example, in a 30-day time window, if a user uses application A for 20 days out of those 30 days, then the usage days for application A are 20 days. Using usage days as a behavior weight reflects the frequency and persistence of a user's use of the application.
[0102] Usage count refers to the total number of times a user opens or launches an application within a preset time window. In practice, usage count can be based on application launch events, such as each time a user launches the application by clicking its icon on the desktop, or when the application is switched from the background to the foreground, it is counted as one usage. Usage count reflects the intensity of a user's use of the application.
[0103] Usage time refers to the total time a user spends using an application within a preset time window, usually measured in minutes or seconds. Usage time statistics can be based on the cumulative time the application runs in the foreground, reflecting the user's level of immersion and engagement.
[0104] Recent usage time refers to the last time a user used an application, usually recorded as a timestamp. Recent usage time reflects the timeliness of a user's use of the application; the shorter the recent usage time, the higher the user's current interest in or dependence on the application; the longer the recent usage time, the more likely the user has lost interest in the application or switched to other alternative applications.
[0105] In the aforementioned application scenario, taking credit risk prediction as an example, the usage of the aforementioned interactive behavior data is illustrated below. The data provider can collect user interaction behavior data for each application in the first and second object sets within the past 30 days. For the first object set, the feature generator sends the transformation representations of each application to the data provider. The data provider, based on user identifier, application identifier, usage days, and other interactive behavior data, uses the usage days as a behavior weight and performs a weighted sum with the corresponding transformation representation to generate a first aggregated feature, which is then sent back to the feature generator. For the second object set, the data provider only sends back data such as user identifier, application identifier, usage days, usage frequency, usage duration, and most recent usage time to the feature generator. The feature generator generates a second aggregated feature based on the above information and the complete embedding vectors of each application in the second object set. The feature generator then merges the first and second aggregated features to obtain the user features for the corresponding user.
[0106] After inputting the aforementioned user characteristics into the prediction model, the model outputs a risk score (e.g., a score between 0 and 1000, with higher scores indicating higher risk) or a risk level (e.g., low risk, medium risk, high risk). This risk score or risk level can then be used by downstream business systems in specific business processes such as credit approval, credit limit adjustment, transaction monitoring, or anti-fraud decision-making.
[0107] Figure 4 This is a schematic structural diagram of a device provided in an exemplary embodiment. Please refer to... Figure 4 At the hardware level, the device includes a processor 402, an internal bus 404, a network interface 406, memory 408, and non-volatile memory 410, and may also include other hardware required for its functions. One or more embodiments of this specification can be implemented in software, for example, the processor 402 reads the corresponding computer program from the non-volatile memory 410 into memory 408 and then runs it. Of course, in addition to software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0108] Please refer to Figure 5 The user feature generation device 500 can be applied to, for example... Figure 4 The device shown implements the technical solution of this specification. The user feature generation device 500 may include: Acquisition unit 501 acquires a first object set, a second object set, and the embedding vectors of the objects, wherein each object corresponds to an embedding vector; Transformation unit 502 performs transformation processing on the embedding vectors of each object in the first object set to obtain a transformation representation, and sends the transformation representation to the data provider; The receiving unit 503 receives a first aggregated feature sent by the data provider. The first aggregated feature is generated by the data provider based on the user's interaction behavior data with each object in the first object set and the transformation representation. The generation unit 504 receives user interaction behavior data on each object in the second object set sent by the data provider, and generates a second aggregate feature based on the interaction behavior data and the embedding vector of each object in the second object set; The fusion unit 505 fuses the first aggregated feature and the second aggregated feature to obtain the user's user features.
[0109] Optionally, the process of partitioning the first object set and the second object set includes: Determine at least one indicator dimension based on the application scenario of the user characteristics; Calculate the score for each object on at least one indicator dimension, and calculate the comprehensive score for each object based on the scores; Objects whose comprehensive scores meet the first condition are assigned to the first object set, and objects whose comprehensive scores meet the second condition are assigned to the second object set. The second condition is different from the first condition.
[0110] Optionally, the device further includes: The prediction unit 506 inputs the user features into the prediction model to obtain the prediction result for the user; wherein the prediction result is used to characterize the predicted attributes of the user in the target business dimension.
[0111] Optionally, the transformation process performed on the embedding vectors of each object in the first object set to obtain the transformed representation includes: For each object in the first object set, at least one of the following processes is performed on the object's embedding vector: dimensionality reduction, random projection, linear mixing, bucketing, dimension clipping, basis vector transformation, and weak semantic recoding, to obtain the transformed representation.
[0112] Optionally, the fusion of the first aggregated feature and the second aggregated feature to obtain the user's user features includes at least one of the following methods: The first aggregated feature is concatenated with the second aggregated feature; The first aggregated feature and the second aggregated feature are weighted and summed. Calculate the ratio of the first aggregation feature to the second aggregation feature; Calculate the difference between the first aggregation feature and the second aggregation feature; Calculate the offset of the first aggregated feature relative to the second aggregated feature; Calculate the intensity ratio of the first aggregation feature to the second aggregation feature; Construct a hierarchical cross feature between the first aggregation feature and the second aggregation feature.
[0113] Optionally, the object is an application, and the interaction behavior data includes at least one of the following: user identifier, application identifier, number of days used, number of times used, duration of use, and most recent use time.
[0114] Based on the same concept as the methods described above, this specification also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor performs the steps of the method as described in any of the above embodiments by executing the executable instructions.
[0115] Based on the same concept as the methods described above, this specification also provides a computer-readable storage medium having computer instructions stored thereon that, when executed by a processor, implement the steps of the methods as described in any of the above embodiments.
[0116] Based on the same concept as the methods described above, this specification also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the methods as described in any of the above embodiments.
Claims
1. A method for generating user features, applied in a feature generation party, the method comprising: Obtain the first set of objects, the second set of objects, and the embedding vectors of the objects, where each object corresponds to one embedding vector; The embedding vectors of each object in the first object set are transformed to obtain a transformed representation, and the transformed representation is sent to the data provider. The system receives a first aggregated feature sent by the data provider, which is generated by the data provider based on the user's interaction behavior data with each object in the first object set and the transformation representation. Receive user interaction behavior data on each object in the second object set sent by the data provider, and generate a second aggregate feature based on the interaction behavior data and the embedding vector of each object in the second object set; By combining the first aggregated feature and the second aggregated feature, the user's user features are obtained.
2. The method according to claim 1, wherein the process of partitioning the first object set and the second object set includes: Determine at least one indicator dimension based on the application scenario of the user characteristics; Calculate the score for each object on at least one indicator dimension, and calculate the comprehensive score for each object based on the scores; Objects whose comprehensive scores meet the first condition are assigned to the first object set, and objects whose comprehensive scores meet the second condition are assigned to the second object set. The second condition is different from the first condition.
3. The method according to claim 1, further comprising: The user features are input into the prediction model to obtain the prediction result for the user; wherein, the prediction result is used to characterize the predicted attributes of the user in the target business dimension.
4. The method according to claim 1, wherein performing transformation processing on the embedding vectors of each object in the first object set to obtain a transformed representation includes: For each object in the first object set, at least one of the following processes is performed on the object's embedding vector: dimensionality reduction, random projection, linear mixing, bucketing, dimension clipping, basis vector transformation, and weak semantic recoding, to obtain the transformed representation.
5. The method according to claim 1, wherein fusing the first aggregated feature and the second aggregated feature to obtain the user's user features includes at least one of the following methods: The first aggregated feature is concatenated with the second aggregated feature; Perform a weighted summation of the first aggregated feature and the second aggregated feature; Calculate the ratio of the first aggregation feature to the second aggregation feature; Calculate the difference between the first aggregation feature and the second aggregation feature; Calculate the offset of the first aggregated feature relative to the second aggregated feature; Calculate the intensity ratio of the first aggregation feature to the second aggregation feature; Construct a hierarchical cross feature between the first aggregation feature and the second aggregation feature.
6. The method according to claim 1, wherein the object is an application, and the interaction behavior data includes at least one of the following: user identifier, application identifier, number of days of use, number of times of use, duration of use, and recent use time.
7. A user feature generation apparatus, applied in a feature generation unit, the apparatus comprising: The acquisition unit acquires a first set of objects, a second set of objects, and the embedding vectors of the objects, wherein each object corresponds to an embedding vector; The transformation unit performs transformation processing on the embedding vectors of each object in the first object set to obtain a transformation representation, and sends the transformation representation to the data provider; The receiving unit receives a first aggregated feature sent by the data provider, the first aggregated feature being generated by the data provider based on the user's interaction behavior data with each object in the first object set and the transformation representation; The generation unit receives user interaction behavior data on each object in the second object set sent by the data provider, and generates a second aggregate feature based on the interaction behavior data and the embedding vectors of each object in the second object set; The fusion unit merges the first aggregated feature and the second aggregated feature to obtain the user's user features.
8. An electronic device, comprising: processor; A memory for storing processor-executable instructions; wherein the processor implements the steps of the method as claimed in any one of claims 1 to 6 by executing the executable instructions.
9. A computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the steps of the method as claimed in any one of claims 1 to 6.
10. A computer program product comprising a computer program / instructions that, when executed by a processor, implement the steps of the method as claimed in any one of claims 1 to 6.
