Task object behavior trajectory-based treatment strategy matching method, system and medium
By generating a spatiotemporal behavior trajectory matrix and utilizing deep representation learning and density adaptive clustering algorithms, the optimal treatment strategy is automatically matched, solving the problem of low accuracy in treatment pattern matching in existing technologies and achieving efficient dynamic optimization and intelligent matching of strategies.
Patent Information
- Application Number
- CN202611045632.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-14
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies lack in-depth analysis of the spatiotemporal behavioral characteristics of task objects, resulting in low accuracy in matching handling patterns and an inability to dynamically optimize and adjust strategies based on actual feedback.
By acquiring multi-source interaction data, a spatiotemporal behavior trajectory matrix is generated. A deep representation learning model is used to extract spatiotemporal behavior embedding vectors, and a density adaptive clustering algorithm is used to automatically divide behavior groups. The optimal treatment strategy is matched by combining historical treatment effect data, and the model is updated by feedback data.
It achieves a closed-loop process from object behavior feature extraction, deep representation, automatic clustering to strategy matching and dynamic feedback optimization, significantly improving the accuracy, real-time performance and intelligence of handling mode matching.
Smart Images

Figure CN123178990A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of service management and resource scheduling technology, specifically involving a method, system and medium for matching disposal strategies based on the behavior trajectory of task objects. Background Technology
[0002] In the field of modern service management and resource scheduling, selecting the appropriate handling strategy or service model for the service object (such as a customer, user, or entity to be processed) has a decisive impact on the final execution effect. Current resource allocation systems mainly suffer from the following technical bottlenecks in matching processing models: Relying on static labels and lacking dynamic perception capabilities: Existing allocation systems typically allocate strategies based solely on static attributes. These static labels cannot reflect the dynamic evolution of service recipient behavior. For example, two objects with the same static attributes may exhibit vastly different behaviors: one may show a continuously declining willingness to respond and frequent changes in activity range (indicating a risk of churn or loss of contact), while the other may show stable responses but repeated breaches of commitment (indicating subjective resistance). Clearly, these require drastically different handling strategies, but static labels cannot effectively distinguish such differences.
[0003] Ignoring the spatiotemporal evolution of behavioral patterns: The behavioral patterns of service recipients exhibit significant evolutionary patterns in both time and space. In the time dimension, interactive behaviors, fulfillment behaviors, and communication attitudes exhibit specific evolutionary patterns over time (such as a gradual deterioration pattern of "initial cooperation → mid-term delay → later confrontation," or a cyclical fluctuation pattern of "intermittent response → sudden silence → resumption of contact"). In the spatial dimension, changes in geographical location and migration of activity ranges constitute spatial behavioral patterns. Existing systems often overlook the deep behavioral pattern information contained within these spatiotemporal evolutionary patterns.
[0004] Low match between disposal patterns and behavioral characteristics: Due to a lack of in-depth analysis of implicit patterns in behavioral trajectories, objects with similar behavioral patterns are assigned to different disposal processes, while objects with significantly different behavioral patterns are assigned to the same process. This "mismatch" severely reduces the utilization efficiency of disposal resources and the overall recovery or service effectiveness.
[0005] Lack of data-driven automatic adaptation mechanism: The applicable conditions of the handling mode template are usually determined by human experience, lacking an automatic matching and updating mechanism based on data feedback, making it difficult to adapt to the continuous evolution of the service recipient's behavior patterns and the emergence of new patterns. Summary of the Invention
[0006] The technical problem to be solved by this application is to provide a method, system and medium for matching disposal strategies based on the behavior trajectory of task objects, so as to solve the problem that the existing technology lacks in-depth mining of the spatiotemporal behavior characteristics of task objects, resulting in low accuracy of disposal mode matching and inability to dynamically optimize and adjust strategies based on actual feedback.
[0007] To address the aforementioned technical problems, this application provides the following technical solution: Firstly, this application provides a method for matching handling strategies based on the behavioral trajectory of task objects, including: Acquire multi-source interaction data of the object to be dealt with, and extract the behavioral features of the object in the time and space dimensions within a preset observation window based on the multi-source interaction data. Then, concatenate the behavioral features in the time and space dimensions into a unified spatiotemporal behavioral trajectory matrix. Each of the spatiotemporal behavior trajectory matrices is encoded and mapped using a pre-defined deep representation learning model. The encoding and mapping includes extracting multi-scale temporal evolution patterns using a causal dilated convolutional network and capturing spatial distribution features using a spatial attention mechanism to obtain a fixed-dimensional spatiotemporal behavior embedding vector for each object. Density adaptive clustering algorithm is used to cluster the spatiotemporal behavior embedding vectors of all objects, automatically determine the number of clusters and obtain multiple cluster groups, wherein the object behavior patterns in each cluster group are the same or similar; Based on historical treatment effect data, the optimal treatment strategy is determined for each cluster group; Calculate the spatiotemporal behavior embedding vector of the new object to be disposed of, determine the cluster group of the new object to be disposed of based on the spatiotemporal behavior embedding vector of the new object to be disposed of, and automatically assign the corresponding disposal strategy based on the cluster group affiliation result.
[0008] Furthermore, the method also includes: The system continuously collects feedback data during the execution of the disposal strategy and determines whether to change the disposal strategy based on the feedback data; it also performs incremental training on the deep representation learning model and updates the clustering structure in the clustering algorithm within a preset period.
[0009] Furthermore, multi-source interaction data of the object to be dealt with is acquired, and behavioral features of the object within a preset observation window in terms of time and space are extracted based on the multi-source interaction data. These temporal and spatial behavioral features are then concatenated into a unified spatiotemporal behavioral trajectory matrix, including: Acquire multi-source interaction data of the object to be processed within a preset observation window, extract the timestamp, event type and associated geographical location of each behavioral event from the multi-source interaction data, arrange them in the order of the events occurring, and generate the object's original behavioral event sequence. The preset observation window is divided into several consecutive time periods. The behavioral events in each time period are aggregated and statistically analyzed to generate time dimension behavioral feature vectors for each time period. The time dimension behavioral feature vectors of all time periods are arranged in chronological order to form a time dimension behavioral trajectory matrix. For behavioral events with geographic location information, spatial dimension behavioral features are extracted within the preset observation window, including activity range, activity concentration, spatial entropy, displacement rate, number of times the permanent residence changes, and distance offset from the registered location, to generate a spatial dimension behavioral feature vector. The temporal-dimensional behavior trajectory matrix and the spatial-dimensional behavior feature vector are concatenated along the feature dimension to generate a unified spatiotemporal behavior trajectory matrix.
[0010] Furthermore, each of the spatiotemporal behavior trajectory matrices is encoded and mapped using a pre-defined deep representation learning model. This encoding and mapping includes extracting multi-scale temporal evolution patterns using a causal dilated convolutional network and capturing spatial distribution features using a spatial attention mechanism, resulting in a fixed-dimensional spatiotemporal behavior embedding vector for each object, including: The temporal dimension of the spatiotemporal behavior trajectory matrix is encoded by a multi-layer causal dilated convolutional network. The dilation rate of each layer increases exponentially with the number of network layers, and each convolutional layer is superimposed through residual connections to extract multi-scale temporal evolution patterns and obtain temporal encoded output. The temporal coding output is spatially enhanced by a spatial attention mechanism, which includes a spatial feature gating submodule and a cross-time step spatial correlation self-attention submodule, to obtain a spatially enhanced temporal representation. The spatially enhanced temporal representation is globally aggregated: masked weighted average pooling is performed on the output of all valid time steps to obtain the global average representation, the output of the last valid time step is extracted as the terminal state representation, and the difference between the terminal state representation and the global average representation is calculated as the trend representation. The global average representation, the terminal state representation, and the trend representation are concatenated along the feature dimension and mapped through a fully connected layer to form a fixed-dimensional spatiotemporal behavior embedding vector.
[0011] Furthermore, the spatiotemporal behavior embedding vectors of all objects are clustered using a density-adaptive clustering algorithm, automatically determining the number of clusters and obtaining multiple cluster groups. Within each cluster group, the object behavior patterns are the same or similar, including: Perform a dimension reduction mapping on the spatiotemporal behavior embedding vectors of all objects to obtain the dimension-reduced embedding vectors; In the dimension-reduced embedding space, the local density of each object is calculated based on the Euclidean distance between the embedding vector of each object and its k-th nearest neighbor, and the core distance of each object is calculated based on the local density. Based on the core distance and Euclidean distance between any two objects, calculate the cross-distance between samples, and construct a minimum spanning tree based on the cross-distance. Delete the edges in the minimum spanning tree in ascending order of mutual distance to construct a hierarchical clustering tree; By traversing the hierarchical clustering tree from top to bottom, the stability index of each candidate cluster is calculated. The stability index is calculated based on the minimum distance threshold for a sample to leave a cluster and the cluster splitting distance threshold. The cluster partition that maximizes stability is selected as the final clustering result. The number of clusters is automatically determined and multiple cluster groups are obtained. Objects that do not belong to any dense cluster are marked as noise points.
[0012] Furthermore, based on historical treatment effect data, the optimal treatment strategy is determined for each cluster group, including: Obtain the disposal strategies and corresponding disposal effect records assigned to each object in each cluster group in the historical disposal process. The disposal effect records include recovery rate, cost efficiency, recovery speed and compliance indicators. For each cluster group and each treatment strategy combination, calculate the average of each effect index for all objects in that group who have been assigned that strategy, and construct a multidimensional effect evaluation matrix based on the average value; The prior mean of the effect score is predicted by a dual-tower matching network based on the behavioral pattern characteristics of each cluster group and the strategy attribute characteristics of each treatment strategy. For group-strategy combinations with historical observation data, the prior mean is used as the prior and the actual observation mean is used as the likelihood. The posterior mean is calculated using the normal-normal conjugate Bayesian update formula, and the posterior mean gradually converges to the actual observation value of the sample as the effective observation sample size increases. For combinations with insufficient data, the prior prediction value is directly used as the performance score. Based on the effectiveness scores of each group under each strategy, the treatment strategy with the highest effectiveness score is selected as the optimal treatment strategy for each cluster group, and the strategy with the second highest score is determined as the alternative treatment strategy.
[0013] Further, the calculation of the spatiotemporal behavior embedding vector of the new object to be disposed of, the determination of the cluster group of the new object to be disposed of based on the spatiotemporal behavior embedding vector, and the automatic allocation of the corresponding disposal strategy based on the cluster group affiliation result include: Obtain the original behavioral event sequence of the new object to be dealt with, and generate a spatiotemporal behavioral embedding vector through the preset deep representation learning model; Calculate the distance from the embedding vector of the new object to be disposed of to the center of each cluster group, and calculate the probability of the new object to be disposed of belonging to each cluster group by combining the embedding variance of each group; Based on the relationship between the maximum attribution probability and the preset probability threshold, and the relationship between the distance from the embedding vector to the cluster center and the cluster boundary radius, a three-level attribution determination is performed: When the maximum attribution probability exceeds the first threshold and the distance from the embedding vector to the center of the corresponding cluster is less than the boundary radius of the corresponding cluster, it is determined to be a clear attribution, and the optimal handling strategy for the corresponding cluster is assigned. When the maximum attribution probability exceeds the first threshold but the distance from the embedding vector to the center of the corresponding cluster is not less than the boundary radius of the corresponding cluster, it is determined to be a boundary sample, the optimal handling strategy for the corresponding cluster is assigned and it is marked as needing early effect evaluation; When the maximum probability of attribution does not exceed the first threshold, it is judged as an unclassified sample and transferred to the manual review queue or assigned a default handling strategy.
[0014] Secondly, this application also provides a system for matching disposal strategies based on the behavioral trajectory of task objects, including: The behavior trajectory generation module acquires multi-source interaction data of the object to be dealt with, and extracts the time and space dimensions of the object to be dealt with within a preset observation window based on the multi-source interaction data, and splices the time and space dimension behavior features into a unified spatiotemporal behavior trajectory matrix. The embedding vector generation module encodes and maps each of the spatiotemporal behavior trajectory matrices using a preset deep representation learning model. The encoding and mapping includes using a causal dilated convolutional network to extract multi-scale temporal evolution patterns and using a spatial attention mechanism to capture spatial distribution features, thereby obtaining a fixed-dimensional spatiotemporal behavior embedding vector for each object. The clustering module is used to cluster the spatiotemporal behavior embedding vectors of all objects using a density-adaptive clustering algorithm, automatically determine the number of clusters and obtain multiple cluster groups, wherein the object behavior patterns within each cluster group are the same or similar. The matching module is used to determine the optimal treatment strategy for each cluster group based on historical treatment effect data. The allocation module calculates the spatiotemporal behavior embedding vector of the new object to be disposed of, determines the cluster group of the new object to be disposed of based on the spatiotemporal behavior embedding vector, and automatically allocates the corresponding disposal strategy based on the cluster group affiliation result.
[0015] Thirdly, this application also provides a computer electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the handling strategy matching method based on the behavior trajectory of the task object as described above.
[0016] Fourthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the handling strategy matching method based on the behavior trajectory of a task object as described above.
[0017] This application provides a method, system, and medium for matching disposal strategies based on the behavior trajectory of task objects, the advantages of which are: This application extracts multi-source behavioral data of objects within a preset observation window and concatenates them to generate a spatiotemporal behavioral trajectory matrix. A deep representation learning model is then used to map this matrix into fixed-dimensional spatiotemporal behavioral embedding vectors. Based on vector similarity, a density-adaptive clustering algorithm is employed to automatically divide behavioral groups with similar behavioral patterns. Furthermore, historical treatment effect data is combined to calculate the comprehensive effect score of each behavioral group under different treatment modes. The optimal treatment mode matching result is output for each group, and for new objects, their group affiliation is determined in real time to automatically assign a treatment mode. Simultaneously, actual treatment effect data is collected to update model parameters and clustering structure. This application achieves a closed-loop process from object behavioral feature extraction, deep representation, automatic clustering to strategy matching and dynamic feedback optimization. It effectively solves the problems of existing technologies, such as reliance on human experience for treatment strategy matching, lack of in-depth mining of object spatiotemporal behavioral features, difficulty in adapting to dynamic changes in behavioral patterns, and inability to achieve accurate and automated matching. This significantly improves the accuracy, real-time performance, and intelligence level of treatment mode matching. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating a method for matching handling strategies based on the behavior trajectory of a task object in an embodiment of this application. Figure 2 This is a schematic diagram of the structure of a handling strategy matching system based on the behavior trajectory of a task object in an embodiment of this application; Figure 3This is a schematic diagram of the structure of a computer electronic device according to an embodiment of this application. Detailed Implementation
[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] Please see Figure 1 The present application provides a method for matching handling strategies based on the behavior trajectory of task objects, which can be applied to fields such as customer relationship management, service strategy allocation, and risk control that require differentiated strategy matching based on user behavior.
[0022] The following embodiments are illustrated using a service object management scenario as an example, but those skilled in the art should understand that the application scenarios are not limited to this. This application provides a method for matching disposal strategies based on task object behavior trajectories, which includes at least the following steps: S10. Obtain multi-source interaction data of the object to be dealt with, and extract the time and space dimensions of the object to be dealt with within a preset observation window based on the multi-source interaction data, and splice the time and space dimension behavioral features into a unified spatiotemporal behavioral trajectory matrix.
[0023] Specifically, this step transforms the raw interaction records scattered across different data sources into a structured spatiotemporal behavioral trajectory matrix, providing standardized input for subsequent deep representation learning.
[0024] The purpose of this step is to transform the original interaction records from different business systems, which are in various formats, into a unified and structured mathematical representation, namely the "spatiotemporal behavior trajectory matrix," for subsequent processing by deep learning models.
[0025] In one embodiment of this application, step S10 includes: S101. Obtain multi-source interaction data of the object to be processed within a preset observation window, extract the timestamp, event type and associated geographical location of each behavioral event from the multi-source interaction data, arrange them in the order of the events occurring, and generate the object's original behavioral event sequence. S102. Divide the preset observation window into several consecutive time periods, aggregate and statistically analyze the behavioral events in each time period, generate time dimension behavioral feature vectors for each time period, and arrange the time dimension behavioral feature vectors of all time periods in chronological order to form a time dimension behavioral trajectory matrix. S103. For behavioral events with geographic location information, extract spatial dimension behavioral features within the preset observation window, including activity range, activity concentration, spatial entropy, displacement rate, number of times the permanent residence changes, and distance offset from the registered location, and generate a spatial dimension behavioral feature vector. S103. The time-dimensional behavior trajectory matrix and the spatial-dimensional behavior feature vector are concatenated along the feature dimension to generate a unified spatiotemporal behavior trajectory matrix.
[0026] Specifically, this step is achieved through the following sub-steps: First, extract the original behavioral events from the multi-source data and unify the data format; then, perform feature extraction and aggregation in both the time and spatial dimensions; finally, concatenate the features from the two dimensions into a unified trajectory matrix. These are detailed below: (I) Generation of the original behavioral event sequence First, data from multiple sources, including the interaction record system, the performance tracking system, the communication record system, and the location service system, is used to obtain information about the objects to be processed within a preset observation window. All behavioral events within. For the current decision-making moment, The historical observation window length is a preset value; in a preferred embodiment, the historical observation window length is... The value is set to 180 days, i.e., based on the current decision-making time. The endpoint is tracing back 180 days.
[0027] For each behavioral event, a unified data structure is defined as follows: in, The timestamp of the event is stored in UTC time format; This serves as an event type identifier, and its value set is... ={ Actively answering calls, not answering calls, rejecting calls, messages read, messages not read, successful fulfillment of obligations, failed fulfillment of obligations, promised to fulfill obligations, breach of promise, proactively contacting, complaining, requesting negotiation, address change, job change, contact information change, marked as out of contact, restored contact, home visit, home visit refusal, high-consumption behavior}; This is an event attribute vector containing additional attributes related to the event type, such as the proportion of the performance amount to the total performance amount for a performance event, the call duration for a call event, and the promised performance amount for a promised performance event. Inapplicable attribute dimensions are filled with zero values. The location coordinates associated with the event are provided. Data sources include communication base station positioning, application positioning, or registered address coordinates. Events without location information are marked as missing values.
[0028] Task object All behavioral events within the observation window are arranged in chronological order to obtain the original sequence of behavioral events: in, For the task object in The total number of behavioral events in the observation window, arranged in chronological order.
[0029] (II) Generation of Time-Dimensional Behavioral Trajectory Matrix Divide the preset observation window into equal parts A series of consecutive time periods, each with a granularity of [missing information]. In a preferred embodiment, The value is 30, corresponding to approximately 6 days for each time period.
[0030] For each time period ( Aggregate and statistically analyze behavioral events within a given time frame to generate a time-dimensional behavioral feature vector. in, The time dimension is the feature dimension. It includes the following feature components: (1) Frequency of occurrence of each event type: For all Statistical analysis was conducted separately. (2) Active call answering rate: The ratio of the number of calls answered proactively to the total number of calls (initially answered + unanswered + rejected) within a given time period; (3) Success rate of contract fulfillment: The ratio of the number of successful performances within a time period to the number of performances due by the due date; (4) Commitment fulfillment rate: The ratio of the number of commitments fulfilled within a given time period to the total number of commitments made; (5) Average interaction time: the first The average duration of all call events within the time period; (6) Response timeliness: The first The average time interval from service outreach to object response within a given time period; (7) Mean and variance of event intervals: The mean and variance of the time intervals between adjacent events within a time period are used to reflect the activity and regularity of behavior.
[0031] Arrange the feature vectors of all time periods in chronological order to form a time-dimensional behavioral trajectory matrix: (III) Generation of Spatial Dimensional Behavioral Feature Vectors Objects to be processed For all behavioral events with location information, extract spatial dimension behavioral features.
[0032] First, the spatial activity area is divided: the geographic activity space of the object is processed into a grid, with a preset grid precision of [value missing]. In a preferred embodiment, Corresponding to a geohash accuracy of approximately 1 kilometer, the frequency of events within each grid cell is statistically analyzed to obtain a spatial activity heatmap.
[0033] Spatial behavior feature vector It contains the following components: (1) Activity range index: the area of the convex hull formed by the coordinates of all event locations (after standardization). (2) Activity concentration: The percentage of events in the top 3 grids with the highest access frequency; (3) Spatial entropy: The Shannon entropy of the distribution of events on each grid. in, For the first The percentage of event frequency in each grid. A small constant to prevent overflow in logarithmic calculations; (4) Displacement rate sequence: The geographical distance between adjacent location events divided by the time interval reflects the frequency and range of movement; (5) Number of times the permanent residence has changed: based on multiple consecutive days (not less than the preset number of days for determining permanent residence). The permanent residence is defined within the same grid area, and the number of changes in the permanent residence during the observation period is counted. In a preferred embodiment, The value is 7 days; (6) Distance sequence from the registered address: the mean, maximum and growth trend of the distance sequence between each event location and the registered address or workplace of the object; (7) High-frequency activity area type: The distribution of point of interest types in geographical locations where the object frequently appears, including residential areas, commercial areas, industrial areas, transportation hubs, etc.
[0034] In order to take into account the dynamic changes in spatial characteristics, for each time period The spatial features are calculated separately to obtain the spatiotemporal joint trajectory matrix: (iv) Generation of the joint spatiotemporal behavior trajectory matrix By concatenating the temporal and spatial behavioral trajectory matrices along the feature dimension, a unified spatiotemporal behavioral trajectory matrix is obtained. in, This indicates a concatenation operation along the feature dimension.
[0035] For situations where there are no behavioral events within a certain time period, a marker mask vector is used. To identify valid time periods, feature vectors of missing time periods are filled with zero vectors.
[0036] The output of step S10 is a set of spatiotemporal behavioral trajectory matrices for all objects to be disposed of. and the original behavioral event sequence .
[0037] S20. Encode and map each of the spatiotemporal behavior trajectory matrices using a preset deep representation learning model. The encoding and mapping includes using a causal dilated convolutional network to extract multi-scale temporal evolution patterns and using a spatial attention mechanism to capture spatial distribution features, thereby obtaining a fixed-dimensional spatiotemporal behavior embedding vector for each object.
[0038] Specifically, after obtaining the spatiotemporal behavioral trajectory matrix for each object, the purpose of this step is to transform this matrix into a fixed-length, highly discriminative "behavioral fingerprint," i.e., an embedding vector. Directly using the original trajectory matrix for subsequent processing presents two problems: first, different objects have varying numbers of behavioral events, making direct comparison impossible; second, the original features contain a large amount of redundant information, requiring the extraction of deep features that truly reflect behavioral patterns. This step uses a deep neural network to encode and map the trajectory matrix, ensuring that objects with similar behavioral patterns are closer together in the embedding space, and vice versa.
[0039] In one embodiment of this application, step S20 includes: S201. The temporal dimension of the spatiotemporal behavior trajectory matrix is encoded by a multi-layer causal dilated convolutional network. The dilation rate of each layer increases exponentially with the number of network layers, and each convolutional layer is superimposed through residual connections to extract multi-scale temporal evolution patterns and obtain temporal encoded output. S202. Spatial feature enhancement is performed on the temporal coding output through a spatial attention mechanism, the spatial attention mechanism including a spatial feature gating submodule and a cross-time step spatial correlation self-attention submodule, to obtain a spatially enhanced temporal representation. S203. Perform global aggregation on the spatially enhanced temporal representation: perform masked weighted average pooling on the output of all valid time steps to obtain the global average representation, extract the output of the last valid time step as the terminal state representation, and calculate the difference between the terminal state representation and the global average representation as the trend representation. S204. The global average representation, the terminal state representation, and the trend representation are concatenated along the feature dimension and mapped through a fully connected layer to form a fixed-dimensional spatiotemporal behavior embedding vector.
[0040] Specifically, this step first employs a causal dilated convolutional network to extract the evolutionary patterns of behavior over time. Then, it enhances the representation of spatial features through a spatial attention mechanism. Finally, it fuses multiple representations into a fixed-dimensional embedding vector. This step also describes the training method for this deep representation learning model. These are detailed below: (I) Temporal Convolutional Coding First, the input spatiotemporal behavior trajectory matrix is processed. Perform input projection: in, For the projection matrix, This is a preset number of convolution channels. In a preferred embodiment, The value is 64.
[0041] Then, a multi-layer causal dilated convolutional network is used to extract multi-scale temporal evolution patterns. The nth layer ( The formula for calculating causal dilated convolution is: in, Indicates the kernel size as The causal dilation of one-dimensional convolution has a dilation rate of This design ensures time steps The output depends only on Previous inputs will not incorporate future information; Residual connection Used to alleviate the gradient vanishing problem in deep networks; ReLU is the activation function.
[0042] In a preferred embodiment, the kernel size... The value is 3, representing the number of network layers. The value is 4. At this point, the network's receptive field coverage... One time step is sufficient to cover the entire observation window (30 time periods).
[0043] The output of the temporal convolution module is: (II) Spatial Attention Encoding Based on temporal convolution to extract temporal patterns, a spatial attention mechanism is introduced to enhance the selective attention to spatial dimension features.
[0044] Spatial feature gating submodule: for each time step The spatial components are used to calculate the importance weights of spatial features through an attention mechanism: in, for The Line, ⊙ represents element-wise multiplication. This is the learnable parameter matrix.
[0045] Cross-timestep spatial correlation self-attention submodule: Captures the correlation of spatial behavior between different timesteps through a self-attention mechanism, such as the correlation between a sudden change in location at a timestep and a loss of connection event in subsequent timesteps. in, , For mask vector based The generated attention mask matrix resets the attention weights for the missing time periods to negative infinity.
[0046] (III) Global Spatiotemporal Representation Aggregation The output of the spatial attention module is aggregated into a fixed-dimensional object spatiotemporal behavior embedding vector.
[0047] Mask-weighted average pooling (global average representation): End-time step representation (capturing the latest behavioral state): in, This is the last valid time step.
[0048] Characterization of change trends (capturing the direction of behavioral evolution): splicing and blending: in, To fuse the projection matrix, This represents the dimension of the final embedded vector. In a preferred embodiment, The value is 128.
[0049] (iv) Training of the representation learning model The representation learning model is optimized using a multi-task joint training strategy.
[0050] Task T1 – Behavioral Sequence Reconstruction: Reconstruct the original time series using a decoder, ensuring that the embedded vectors retain complete behavioral information. in, This represents the behavior trajectory reconstructed by the decoder based on the embedding vector.
[0051] Task T2 – Temporal Contrastive Learning: Through contrastive learning, objects with similar behavioral patterns are grouped closer together in the embedding space, while objects with different patterns are grouped further apart. in, For cosine similarity, For object Positive sample embeddings (obtained by applying data augmentation such as time shift or local occlusion to the original trajectory). This is a preset temperature coefficient. In a preferred embodiment, The value is 0.07.
[0052] Task T3 – Predicting the Outcome of Actions (Auxiliary Task): Utilizing existing action results as a weak monitoring signal. in, For object A label indicating whether the desired effect was achieved in the historical process. This is the binary cross-entropy loss.
[0053] Joint training objectives: in, These are preset task weight coefficients; in a preferred embodiment, The values are 1.0, 0.5 and 0.3 respectively.
[0054] The output of step S20 is a set of spatiotemporal behavior embedding vectors for all objects. and the parameters of the trained representation model .
[0055] S30. The density adaptive clustering algorithm is used to cluster the spatiotemporal behavior embedding vectors of all objects, automatically determine the number of clusters and obtain multiple cluster groups, wherein the object behavior patterns in each cluster group are the same or similar.
[0056] Specifically, after obtaining the embedding vectors of all objects, the purpose of this step is to automatically discover the implicit behavioral pattern groups, that is, to group objects with similar behavioral trajectories into the same category, without having to pre-specify the number of groups. Traditional clustering methods require manual specification of the number of clusters and are sensitive to noisy data; this step adopts a density-adaptive hierarchical clustering method, which can automatically determine the number of groups based on the data distribution, while identifying objects that do not belong to any dense area as noise points, effectively dealing with various complex situations in real-world business data.
[0057] In one embodiment of this application, step S30 includes: S301. Perform dimensionality reduction mapping on the spatiotemporal behavior embedding vectors of all objects to obtain the dimensionality-reduced embedding vectors. S302. In the dimension-reduced embedding space, calculate the local density of each object based on the Euclidean distance between the embedding vector of each object and its k-th nearest neighbor, and calculate the core distance of each object based on the local density. S303. Based on the core distance and Euclidean distance between any two objects, calculate the cross-distance between samples, and construct a minimum spanning tree according to the cross-distance. S304. Delete the edges in the minimum spanning tree in ascending order of mutual distance to construct a hierarchical clustering tree; S305. By traversing the hierarchical clustering tree from top to bottom, the stability index of each candidate cluster is calculated. The stability index is calculated based on the minimum distance threshold for a sample to leave a cluster and the cluster splitting distance threshold. The cluster partition that maximizes stability is selected as the final clustering result. The number of clusters is automatically determined and multiple cluster groups are obtained. Objects that do not belong to any dense cluster are marked as noise points.
[0058] Specifically, this step first reduces the dimensionality of the embedding vectors to alleviate distance distortion in high-dimensional space, then constructs a hierarchical clustering tree based on the density distribution and automatically extracts the optimal cluster partitions, and finally characterizes and describes the behavioral pattern features of each cluster. These are detailed below: (I) Embedded Space Dimensionality Reduction Due to the high dimensionality of the original embedding space ( =128), directly using Euclidean distance may be affected by the curse of dimensionality, so we first perform dimensionality reduction mapping on the embedding vector: in, To retain the previous PCA dimensionality reduction of principal components The choice ensures that the cumulative variance explained is not lower than a preset threshold. In a preferred embodiment, The value is 0.95.
[0059] Subsequent density estimation and clustering operations are performed in the dimensionality-reduced space.
[0060] (II) Calculation of core distance and local density Embedded space after dimensionality reduction Density estimation is performed on the distribution of embedding vectors for all objects. Local density estimation based on k-nearest neighbor distance is employed. For each object Calculate its local density in the embedding space: in, The preset number of nearest neighbors; in one embodiment, The value is 20; For zi to reach its first Euclidean distance between nearest neighbors; The volume constant of a 1D unit sphere.
[0061] Core distance is defined as: in, The preset minimum number of neighborhood samples parameter is set to 15 in a preferred embodiment.
[0062] (III) Reach Distance and Minimum Spanning Tree Construction The cross-distance between any two sample points is defined as: Construct a minimum spanning tree (MST) for all sample points based on the reach distance.
[0063] (iv) Hierarchical clustering tree construction and cluster extraction Edges in the MST are deleted sequentially from smallest to largest reach distance to form a hierarchical clustering tree (tree diagram).
[0064] For each candidate cluster in the hierarchical clustering tree Calculate its stability index: in, For the sample De-cluster The minimum distance threshold, For clusters Distance threshold for splitting or disappearing.
[0065] By traversing the hierarchical clustering tree from top to bottom, the cluster partition that maximizes stability is selected as the final clustering result: in, The number of clusters is determined automatically. This is a set of noise points (samples that do not belong to any dense cluster). This is the preset minimum cluster size. In a preferred embodiment, The value is 50.
[0066] (V) Characterization of Cluster Behavioral Patterns For each cluster ( ), and extract its behavioral pattern feature labels.
[0067] Cluster center calculation: Key behavioral pattern extraction: cluster Statistical analysis was performed on the original behavioral trajectories of all objects within the cluster to extract typical behavioral pattern description vectors. : in, For object In the The average value within the observation window for each behavioral feature dimension.
[0068] Temporal evolution pattern extraction: The average temporal behavioral features of objects within a cluster are used to obtain the typical temporal evolution curve of the cluster. Based on the morphological characteristics of typical time-series curves, the behavioral evolution types of clusters are automatically labeled, including but not limited to: gradual degradation, sudden loss of contact, periodic fluctuation, stable cooperation, continuous confrontation, and false cooperation. The labeling method is as follows: calculate the trend slope and abrupt change points for the key feature dimensions of typical curves (active answering rate curve, fulfillment success rate curve), and classify them according to preset morphological judgment rules.
[0069] Spatial behavior pattern extraction: Statistical distribution of spatial behavior features of objects within a cluster: in, For object Global spatial feature vectors within the entire observation window.
[0070] (vi) Noise point treatment For objects classified as noise points ( The soft assignment strategy is used to calculate its membership probability to each cluster: in, For clusters The embedding variance. For those with the highest membership probability exceeding a preset threshold... Noise points are soft-assigned to the corresponding clusters; otherwise, they are left in an "unclassified" state for manual review or subsequent re-clustering. In a preferred embodiment, The value is 0.4.
[0071] The output of step S30 is the clustering result { }, each cluster center { }, Characteristics of each cluster's behavioral patterns { } and the variance of each cluster { }
[0072] S40. Based on historical treatment effect data, determine the optimal treatment strategy for each cluster group.
[0073] Specifically, after grouping the target behavior patterns, the purpose of this step is to match an optimal handling strategy template for each behavior pattern group. Different behavior pattern groups may respond significantly differently to the same handling strategy—some strategies may be highly effective in one group but have little effect or even lead to complaints in another. This step uses historical data to quantitatively evaluate the overall effect of each group under each strategy, thereby finding the "most suitable" strategy for each group.
[0074] In one embodiment of this application, step S40 includes: S401. Obtain the disposal strategies and corresponding disposal effect records assigned to each object in each cluster group in the historical disposal process. The disposal effect records include recovery rate, cost efficiency, recovery speed and compliance indicators. S402. For each cluster group and each treatment strategy combination, calculate the average value of each effect index of all objects in the group that have been assigned the strategy, and construct a multi-dimensional effect evaluation matrix based on the average value. S403. The prior mean of the effect score is predicted by using a dual-tower matching network to analyze the behavioral pattern characteristics of each cluster group and the strategy attribute characteristics of each treatment strategy. S404. For group-policy combinations with historical observation data, the prior mean is used as the prior and the actual observation mean is used as the likelihood. The posterior mean is calculated using the normal-normal conjugate Bayes update formula, and the posterior mean gradually converges to the actual observation value of the sample as the effective observation sample size increases. For combinations with insufficient data, the prior prediction value is directly used as the effect score. S404. Based on the effect scores of each group under each strategy, select the treatment strategy with the highest effect score for each cluster group as the optimal treatment strategy for that group, and determine the strategy with the second highest score as the alternative treatment strategy.
[0075] Specifically, this step first defines a structured description of the disposal strategy template, then constructs a multidimensional effect scoring matrix for each group-strategy combination based on historical disposal data. For combinations lacking sufficient historical data, the effect score is inferred through Bayesian posterior estimation. Finally, the optimal matching relationship is determined under resource capacity constraints and compliance constraints. These are detailed below.
[0076] (I) Definition of Disposal Strategy Template definition Type of disposal strategy template Each template contains the following structured description: in, Core strategy types include, but are not limited to, high-frequency proactive outreach, low-frequency reminders, negotiation and mediation, external intervention, legal action warnings, contact restoration, and combined tiered strategies. : Response intensity parameters, including maximum number of contacts per day, target duration of a single interaction, and pressure level; The main channels of communication, including the priority order of telephone, SMS, letters, app push notifications, in-person visits, lawyer's letters, etc. : Reach frequency parameters, including average daily reach, number of days reached per week, and preferred time of day for reaching; Upgrade conditions and paths, i.e., under what conditions to upgrade to a higher intensity mode or switch to other processes; The template has a preset execution period, which is the maximum number of days that it can run continuously in this mode. Once this period is exceeded, it needs to be re-evaluated.
[0077] (II) Construction of Historical Treatment Effect Matrix For objects with historical disposal records, construct a cluster-template effect matrix. For each cluster... China was once assigned a disposal strategy. object subset Calculate the average treatment effect index of this cluster under this strategy: The components are defined as follows: Target achievement rate effect: in, For object The actual amount or effect achieved under this disposal strategy The amount or target value to be disposed of at the start of the disposal process.
[0078] Cost efficiency: in, As the object of disposal The costs incurred include human resources costs, communication costs, and costs of field visits.
[0079] Response speed: in, This refers to the number of days from the start of the intervention to the achievement of the goal.
[0080] Compliance score: in, For object A marker indicating whether a valid complaint was generated during the processing period.
[0081] For cases where the sample size corresponding to the cluster-template is insufficient ( This metric is marked as "insufficient confidence" and given a lower decision weight in subsequent matching. In a preferred embodiment, The value is 20.
[0082] (III) Calculation of Comprehensive Treatment Effectiveness Score Calculate the overall treatment effect score for each cluster-template combination: in, For Min-Max standardization The performance index values for each interval, These are preset effect dimension weight coefficients, and their sum is 1. In a preferred embodiment, the values are 0.4, 0.25, 0.2, and 0.15, respectively.
[0083] (iv) Matching Relationship Learning Based on Bayesian Optimization For cases where historical data coverage is incomplete (some cluster-template combinations lack sufficient observation data), Bayesian posterior estimation is used to infer the missing performance scores.
[0084] For each cluster Templates (handling strategies) The performance evaluation model is as follows: Prior mean prediction based on the matching degree of cluster behavioral pattern features and template features: in, For clusters behavioral pattern feature vector template The feature encoding vector, The matching degree prediction function (using a dual-tower network structure) is used. These are learnable parameters.
[0085] Posterior update: When actual observation data exists, a posterior estimate is obtained based on a Bayesian update. in, The average effect score is the one actually observed. To observe the sample size, To observe the noise variance.
[0086] (V) Determining the Optimal Match For each cluster Determine the optimal handling strategy template: Simultaneously determine the suboptimal alternative template: Match confidence assessment: when If the matching result is considered to have high confidence, it can be executed automatically; otherwise, it is marked as "suggested matching, pending manual confirmation". In a preferred embodiment, The value is 1.0.
[0087] (vi) Constraint handling The following business constraints must be met when determining matching relationships.
[0088] Resource capacity constraints: Each disposal strategy template has a capacity limit for disposal resources. It must be ensured that the total number of objects allocated to the same template across all clusters does not exceed the resource carrying capacity of that template. When constraints are not met, clusters with smaller differences in matching confidence ( Lower-quality clusters are preferentially adjusted to the second-best alternative templates.
[0089] Compliance constraints: Specific behavioral patterns must not be assigned to specific handling strategies (e.g., clusters marked as high complaint risk must not be assigned to high-intensity outreach strategies): in, This is a pre-defined set of prohibited matching pairs.
[0090] The output of step S40 is the optimal handling strategy matching result for each cluster. Matching degree prediction model parameters and the posterior effect rating matrix { }
[0091] S50. Calculate the spatiotemporal behavior embedding vector of the new object to be disposed of, determine the cluster group of the new object to be disposed of based on the spatiotemporal behavior embedding vector of the new object to be disposed of, and automatically assign the corresponding disposal strategy based on the cluster group affiliation result.
[0092] Specifically, after discovering behavioral pattern groups and achieving optimal group-policy matching, the purpose of this step is to apply the above model to actual business operations—when a new object to be dealt with enters the system, its behavioral embedding vector is calculated in real time to determine which existing group it belongs to, and the optimal policy corresponding to that group is automatically assigned to it. This is the key step in achieving automation and intelligence in this method, directly affecting the user experience and the timeliness of policy matching.
[0093] In one embodiment of this application, step S50 includes: S501. Obtain the original behavioral event sequence of the new object to be disposed of, and generate a spatiotemporal behavioral embedding vector through the preset deep representation learning model; S502. Calculate the distance from the embedding vector of the new object to be disposed of to the center of each cluster group, and calculate the probability of the new object to be disposed of belonging to each cluster group by combining the embedding variance of each group. S503. Based on the relationship between the maximum attribution probability and the preset probability threshold, and the relationship between the distance from the embedding vector to the cluster center and the cluster boundary radius, perform a three-level attribution determination: When the maximum attribution probability exceeds the first threshold and the distance from the embedding vector to the center of the corresponding cluster is less than the boundary radius of the corresponding cluster, it is determined to be a clear attribution, and the optimal handling strategy for the corresponding cluster is assigned. When the maximum attribution probability exceeds the first threshold but the distance from the embedding vector to the center of the corresponding cluster is not less than the boundary radius of the corresponding cluster, it is determined to be a boundary sample, the optimal handling strategy for the corresponding cluster is assigned and it is marked as needing early effect evaluation; When the maximum probability of attribution does not exceed the first threshold, it is judged as an unclassified sample and transferred to the manual review queue or assigned a default handling strategy.
[0094] Specifically, this step first extracts the behavioral trajectory of the new object and generates an embedding vector. Then, it calculates the probability of its affiliation to each group and performs a three-level affiliation determination based on a preset threshold. Finally, it automatically assigns the corresponding strategy based on the determination result and supports both batch processing and real-time processing modes. These are described in detail below.
[0095] (I) Extraction and embedding of new object behavior trajectories For newly added objects in the disposal queue Extract its spatiotemporal behavior trajectory matrix according to the method in step S10. Then, the embedding vector is generated using the representation model trained in step S20: Perform the same PCA dimensionality reduction mapping on the embedding vectors as during training: (II) Cluster Attribution Determination Calculate the distance from the new object's embedding vector to the center of each cluster: Attribution probability calculation: Ownership determination rules: The judgment criteria are: in The preset attribution probability threshold is set to 0.35 in a preferred embodiment; For clusters The boundary radius is defined as the 95th percentile of the distance from the sample within the cluster to the center.
[0096] (III) Automatic allocation of disposal strategies Based on the attribution determination results, the appropriate action strategy will be implemented: Clear attribution Object: Optimal handling strategy for allocating this cluster ; For boundary samples: Assign the optimal strategy However, if the early response is marked as "requires early effect evaluation", the strategy adjustment will be triggered in advance if the early response does not meet expectations. For unclassified samples: enter the manual review queue, or assign a default handling strategy with high generalization based on the weighted average of their distances to the cluster centers.
[0097] (iv) Dual Mode of Batch Processing and Real-Time Processing The system supports two operating modes: Batch mode: Performs trajectory extraction, embedding calculation and clustering classification on batches (tens to thousands) of objects entering the pool, which is suitable for periodic batch allocation scenarios; Real-time mode: For a single new object, trajectory extraction, embedding calculation, and attribution determination are completed immediately upon entering the processing queue, with the response latency requirement not exceeding the preset real-time response threshold. In a preferred embodiment, The value is 5 seconds. Real-time mode achieves low-latency response by preloading model parameters and embedding indexes.
[0098] In one embodiment of this application, the method further includes: S60. Continuously collect feedback data during the execution of the disposal strategy, and determine whether to change the disposal strategy based on the feedback data; and incrementally train the deep representation learning model and update the clustering structure in the clustering algorithm within a preset period.
[0099] Specifically, steps S10 to S50 above construct a complete automatic matching process for handling strategies. However, the business environment and object behavior patterns are constantly evolving—new behavior patterns may emerge continuously, and the effectiveness of existing models may diminish over time. Therefore, this application also sets up a model update and feedback optimization mechanism to achieve dynamic adjustment of strategies and continuous evolution of models by continuously collecting feedback data during the handling execution process.
[0100] Specifically, this section describes the model's update and optimization mechanism from the following five aspects: collection of treatment effect data, early effect evaluation and strategy switching, incremental update and full re-clustering of cluster structures, incremental training of the representation learning model, and matching effect statistics and template parameter tuning. These will be described in detail below.
[0101] (I) Data Collection on the Effects of the Treatment For objects for which disposal strategies have been assigned and disposal has begun, continuously collect disposal effect data: in, The number of days elapsed since the start of the treatment; Deadline The cumulative amount or effect achieved; Deadline The cumulative disposal costs; To determine whether a complaint will be generated; Summary of the object's response behavior (changes in proactive answering rate, changes in fulfillment behavior, etc.).
[0102] (II) Early Effect Evaluation and Strategy Switching For objects undergoing treatment, a pre-set observation period will be implemented after the treatment begins. Internal assessment of whether the treatment effect met expectations: in, The expected response value is calculated based on the historical average response level of the cluster to which the object belongs under this disposal strategy.
[0103] When the early performance score is lower than the preset warning threshold hour: Triggering a suggestion to adjust the handling strategy: Change the handling strategy for this object from the current template. Adjusted to the suboptimal alternative template for this cluster Alternatively, the clustering attribution determination can be re-executed (considering new behavioral data generated after the processing began). In a preferred embodiment, The value is 14 days. The value is 0.5.
[0104] (III) Dynamic Update of Cluster Structure The clustering structure employs two strategies: incremental updates and full re-clustering.
[0105] Incremental update strategy: based on a preset update cycle Perform incremental updates to the clustering structure: 1. For newly added object embedding vectors, attempt to classify them into existing clusters. When a large number of new samples are classified as "unclassified" (the proportion exceeds a preset threshold),... When this occurs, it is determined that a new behavioral pattern group may have emerged; 2. Perform local clustering on the "unclassified" sample set: 3. For newly discovered clusters, perform behavioral pattern feature characterization and predict their optimal treatment strategy through a matching model (initially using prior prediction values, and updating to posterior values after accumulating sufficient historical data).
[0106] In a preferred embodiment, The value is 30 days. The value is 0.15.
[0107] Full-scale re-clustering strategy: with a preset full-scale update cycle. A full re-clustering is performed on the latest embedding vectors of all active objects, updating the cluster structure and cluster centers. In a preferred embodiment, The value is 180 days.
[0108] (iv) Incremental training of the representation model Based on the newly accumulated behavioral data and treatment outcome data, incremental training is performed on the representation learning model: in, For the joint loss calculated on the new data batch, The preset incremental training learning rate. In a preferred embodiment, Values .
[0109] Incremental training employs an experience replay mechanism: a certain proportion of historical data samples are mixed into new data batches to prevent catastrophic forgetting. In a preferred embodiment, the replay proportion is... The value is 0.3.
[0110] (V) Matching Results Statistics and Template Optimization With a pre-set evaluation cycle The overall matching effect is statistically evaluated. In a preferred embodiment, The value is 30 days.
[0111] Match accuracy assessment: This refers to the proportion of objects whose early results meet expectations out of the total number of matched objects.
[0112] Relative improvement assessment (compared to static label assignment methods): in, This represents the average goal achievement rate of the target group matched by this method. This represents the average target achievement rate of the control group that used the traditional static label allocation method during the same period.
[0113] Template parameter optimization: For cluster-template combinations that consistently perform poorly, adjust the template's internal parameters or replace it with a more suitable template. This will trigger template parameter tuning or template switching. The preset tolerance for performance degradation is set to 0.1 in a preferred embodiment; The preset tolerance period is 60 days in a preferred embodiment.
[0114] This application provides a method for matching handling strategies based on the behavior trajectory of task objects, the advantages of which are: This application extracts multi-source behavioral data of objects within a preset observation window and concatenates them to generate a spatiotemporal behavioral trajectory matrix. A deep representation learning model is then used to map this matrix into fixed-dimensional spatiotemporal behavioral embedding vectors. Based on vector similarity, a density-adaptive clustering algorithm is employed to automatically divide behavioral groups with similar behavioral patterns. Furthermore, historical treatment effect data is combined to calculate the comprehensive effect score of each behavioral group under different treatment modes. The optimal treatment mode matching result is output for each group, and for new objects, their group affiliation is determined in real time to automatically assign a treatment mode. Simultaneously, actual treatment effect data is collected to update model parameters and clustering structure. This application achieves a closed-loop process from object behavioral feature extraction, deep representation, automatic clustering to strategy matching and dynamic feedback optimization. It effectively solves the problems of existing technologies, such as reliance on human experience for treatment strategy matching, lack of in-depth mining of object spatiotemporal behavioral features, difficulty in adapting to dynamic changes in behavioral patterns, and inability to achieve accurate and automated matching. This significantly improves the accuracy, real-time performance, and intelligence level of treatment mode matching.
[0115] Please see Figure 2 This application also provides a handling strategy matching system 200 based on the behavior trajectory of a task object, including: The behavior trajectory generation module 201 acquires multi-source interaction data of the object to be dealt with, and extracts the time and space dimensions of the object to be dealt with within a preset observation window based on the multi-source interaction data, and splices the time and space dimension behavior features into a unified spatiotemporal behavior trajectory matrix. The embedding vector generation module 202 encodes and maps each of the spatiotemporal behavior trajectory matrices through a preset deep representation learning model. The encoding and mapping includes using a causal dilated convolutional network to extract multi-scale temporal evolution patterns and using a spatial attention mechanism to capture spatial distribution features, thereby obtaining a fixed-dimensional spatiotemporal behavior embedding vector for each object. Clustering module 203 is used to cluster the spatiotemporal behavior embedding vectors of all objects using a density-adaptive clustering algorithm, automatically determine the number of clusters and obtain multiple cluster groups, wherein the object behavior patterns within each cluster group are the same or similar. The matching module 204 is used to determine the optimal treatment strategy for each cluster group based on historical treatment effect data. The allocation module 205 calculates the spatiotemporal behavior embedding vector of the new object to be disposed of, determines the cluster group of the new object to be disposed of based on the spatiotemporal behavior embedding vector of the new object to be disposed of, and automatically allocates the corresponding disposal strategy based on the cluster group affiliation result.
[0116] Please see Figure 3This application also provides a computer electronic device 300, including a memory 503 and a processor 302. The memory 303 stores a computer program, and the processor 302 executes the computer program to implement the steps of the handling strategy matching method based on the behavior trajectory of the task object described above.
[0117] Specifically, the computer electronic device 300 includes: a transceiver 301, a bus interface, and a processor 302. The processor 302 is used to acquire multi-source interaction data of the object to be dealt with, and extract the temporal and spatial behavioral features of the object within a preset observation window based on the multi-source interaction data. The temporal and spatial behavioral features are then concatenated into a unified spatiotemporal behavioral trajectory matrix. Each spatiotemporal behavioral trajectory matrix is encoded and mapped using a preset deep representation learning model. The encoding and mapping includes using a causal dilated convolutional network to extract multi-scale temporal evolution patterns and using a spatial attention mechanism to capture... Based on spatial distribution characteristics, a fixed-dimensional spatiotemporal behavior embedding vector is obtained for each object. A density-adaptive clustering algorithm is used to cluster the spatiotemporal behavior embedding vectors of all objects, automatically determining the number of clusters and obtaining multiple cluster groups. Within each cluster group, the object behavior patterns are the same or similar. Based on historical treatment effect data, the optimal treatment strategy is matched and determined for each cluster group. The spatiotemporal behavior embedding vector of a new object to be treated is calculated, and the cluster group of the new object to be treated is determined based on the spatiotemporal behavior embedding vector. The corresponding treatment strategy is automatically assigned based on the cluster group affiliation result.
[0118] In this embodiment of the application, the computer electronic device 300 further includes a memory 303. Figure 3 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors 302 (represented by processor 302) and various circuits of memory 303 (represented by memory 303). The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 301 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. The processor 302 is responsible for managing the bus architecture and general processing, and the memory 303 can store data used by the processor 302 during operation.
[0119] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the handling strategy matching method based on the task object behavior trajectory described above.
[0120] In this embodiment, the computer-readable storage medium can be a non-volatile storage medium or a volatile storage medium. For example, the computer storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0121] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limitations; therefore, other examples of exemplary embodiments may have different values.
[0122] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0123] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, in alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0124] In addition, the functional modules or units in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0125] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a terminal device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0126] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A method for matching handling strategies based on the behavioral trajectory of task objects, characterized in that, include: Acquire multi-source interaction data of the object to be dealt with, and extract the behavioral features of the object in the time and space dimensions within a preset observation window based on the multi-source interaction data. Then, concatenate the behavioral features in the time and space dimensions into a unified spatiotemporal behavioral trajectory matrix. Each spatiotemporal behavior trajectory matrix is encoded and mapped using a pre-defined deep representation learning model. The encoding and mapping includes extracting multi-scale temporal evolution patterns using a causal dilated convolutional network and capturing spatial distribution features using a spatial attention mechanism to obtain a fixed-dimensional spatiotemporal behavior embedding vector for each object. Density adaptive clustering algorithm is used to cluster the spatiotemporal behavior embedding vectors of all objects, automatically determine the number of clusters and obtain multiple cluster groups, wherein the object behavior patterns in each cluster group are the same or similar; Based on historical treatment effect data, the optimal treatment strategy is determined for each cluster group; Calculate the spatiotemporal behavior embedding vector of the new object to be disposed of, determine the cluster group of the new object to be disposed of based on the spatiotemporal behavior embedding vector of the new object to be disposed of, and automatically assign the corresponding disposal strategy based on the cluster group affiliation result.
2. The method according to claim 1, characterized in that, The method further includes: The system continuously collects feedback data during the execution of the disposal strategy and determines whether to change the disposal strategy based on the feedback data; it also performs incremental training on the deep representation learning model and updates the clustering structure in the clustering algorithm within a preset period.
3. The method according to claim 1, characterized in that, Acquire multi-source interaction data of the object to be dealt with, and extract the behavioral features of the object in the time and space dimensions within a preset observation window based on the multi-source interaction data. Concatenate the behavioral features in the time and space dimensions into a unified spatiotemporal behavioral trajectory matrix, including: Acquire multi-source interaction data of the object to be processed within a preset observation window, extract the timestamp, event type and associated geographical location of each behavioral event from the multi-source interaction data, arrange them in the order of the events occurring, and generate the object's original behavioral event sequence. The preset observation window is divided into several consecutive time periods. The behavioral events in each time period are aggregated and statistically analyzed to generate time dimension behavioral feature vectors for each time period. The time dimension behavioral feature vectors of all time periods are arranged in chronological order to form a time dimension behavioral trajectory matrix. For behavioral events with geographic location information, spatial dimension behavioral features are extracted within the preset observation window, including activity range, activity concentration, spatial entropy, displacement rate, number of times the permanent residence changes, and distance offset from the registered location, to generate a spatial dimension behavioral feature vector. The temporal-dimensional behavior trajectory matrix and the spatial-dimensional behavior feature vector are concatenated along the feature dimension to generate a unified spatiotemporal behavior trajectory matrix.
4. The method according to claim 1, characterized in that, Each of the aforementioned spatiotemporal behavior trajectory matrices is encoded and mapped using a pre-defined deep representation learning model. This encoding and mapping includes extracting multi-scale temporal evolution patterns using a causal dilated convolutional network and capturing spatial distribution features using a spatial attention mechanism, resulting in a fixed-dimensional spatiotemporal behavior embedding vector for each object. The temporal dimension of the spatiotemporal behavior trajectory matrix is encoded by a multi-layer causal dilated convolutional network. The dilation rate of each layer increases exponentially with the number of network layers, and each convolutional layer is superimposed through residual connections to extract multi-scale temporal evolution patterns and obtain temporal encoded output. The temporal coding output is spatially enhanced by a spatial attention mechanism, which includes a spatial feature gating submodule and a cross-time step spatial correlation self-attention submodule, to obtain a spatially enhanced temporal representation. The spatially enhanced temporal representation is globally aggregated: masked weighted average pooling is performed on the output of all valid time steps to obtain the global average representation, the output of the last valid time step is extracted as the terminal state representation, and the difference between the terminal state representation and the global average representation is calculated as the trend representation. The global average representation, the terminal state representation, and the trend representation are concatenated along the feature dimension and mapped through a fully connected layer to form a fixed-dimensional spatiotemporal behavior embedding vector.
5. The method according to claim 1, characterized in that, The spatiotemporal behavior embedding vectors of all objects are clustered using a density-adaptive clustering algorithm. The number of clusters is automatically determined, resulting in multiple cluster groups. Within each cluster group, objects exhibit the same or similar behavior patterns, including: Perform a dimension reduction mapping on the spatiotemporal behavior embedding vectors of all objects to obtain the dimension-reduced embedding vectors; In the dimension-reduced embedding space, the local density of each object is calculated based on the Euclidean distance between the embedding vector of each object and its k-th nearest neighbor, and the core distance of each object is calculated based on the local density. Based on the core distance and Euclidean distance between any two objects, calculate the cross-distance between samples, and construct a minimum spanning tree based on the cross-distance. Delete the edges in the minimum spanning tree in ascending order of mutual distance to construct a hierarchical clustering tree; By traversing the hierarchical clustering tree from top to bottom, the stability index of each candidate cluster is calculated. The stability index is calculated based on the minimum distance threshold for a sample to leave a cluster and the cluster splitting distance threshold. The cluster partition that maximizes stability is selected as the final clustering result. The number of clusters is automatically determined and multiple cluster groups are obtained. Objects that do not belong to any dense cluster are marked as noise points.
6. The method according to claim 1, characterized in that, Based on historical treatment effect data, the optimal treatment strategy is determined for each cluster group, including: Obtain the disposal strategies and corresponding disposal effect records assigned to each object in each cluster group in the historical disposal process. The disposal effect records include recovery rate, cost efficiency, recovery speed and compliance indicators. For each cluster group and each treatment strategy combination, calculate the average of each effect index for all objects in that group who have been assigned that strategy, and construct a multidimensional effect evaluation matrix based on the average value; The prior mean of the effect score is predicted by a dual-tower matching network based on the behavioral pattern characteristics of each cluster group and the strategy attribute characteristics of each treatment strategy. For group-strategy combinations with historical observation data, the prior mean is used as the prior and the actual observation mean is used as the likelihood. The posterior mean is calculated using the normal-normal conjugate Bayesian update formula, and the posterior mean gradually converges to the actual observation value of the sample as the effective observation sample size increases. For combinations with insufficient data, the prior prediction value is directly used as the performance score. Based on the effectiveness scores of each group under each strategy, the treatment strategy with the highest effectiveness score is selected as the optimal treatment strategy for each cluster group, and the strategy with the second highest score is determined as the alternative treatment strategy.
7. The method according to claim 1, characterized in that, The process includes calculating the spatiotemporal behavior embedding vector of a new object to be disposed of, determining the cluster group of the new object based on the spatiotemporal behavior embedding vector, and automatically assigning a corresponding disposal strategy based on the cluster group affiliation result, including: Obtain the original behavioral event sequence of the new object to be dealt with, and generate a spatiotemporal behavioral embedding vector through the preset deep representation learning model; Calculate the distance from the embedding vector of the new object to be disposed of to the center of each cluster group, and calculate the probability of the new object to be disposed of belonging to each cluster group by combining the embedding variance of each group. Based on the relationship between the maximum attribution probability and the preset probability threshold, and the relationship between the distance from the embedding vector to the cluster center and the cluster boundary radius, a three-level attribution determination is performed: When the maximum attribution probability exceeds the first threshold and the distance from the embedding vector to the center of the corresponding cluster is less than the boundary radius of the corresponding cluster, it is determined to be a clear attribution, and the optimal handling strategy for the corresponding cluster is assigned. When the maximum attribution probability exceeds the first threshold but the distance from the embedding vector to the center of the corresponding cluster is not less than the boundary radius of the corresponding cluster, it is determined to be a boundary sample, the optimal handling strategy for the corresponding cluster is assigned and it is marked as needing early effect evaluation; When the maximum attribution probability does not exceed the first threshold, it is judged as an unclassified sample and transferred to the manual review queue or assigned a default handling strategy.
8. A system for matching handling strategies based on the behavioral trajectory of task objects, characterized in that, include: The behavior trajectory generation module acquires multi-source interaction data of the object to be dealt with, and extracts the time and space dimensions of the object to be dealt with within a preset observation window based on the multi-source interaction data, and splices the time and space dimension behavior features into a unified spatiotemporal behavior trajectory matrix. The embedding vector generation module encodes and maps each of the spatiotemporal behavior trajectory matrices using a preset deep representation learning model. The encoding and mapping includes using a causal dilated convolutional network to extract multi-scale temporal evolution patterns and using a spatial attention mechanism to capture spatial distribution features, thereby obtaining a fixed-dimensional spatiotemporal behavior embedding vector for each object. The clustering module is used to cluster the spatiotemporal behavior embedding vectors of all objects using a density-adaptive clustering algorithm, automatically determine the number of clusters and obtain multiple cluster groups, wherein the object behavior patterns within each cluster group are the same or similar. The matching module is used to determine the optimal treatment strategy for each cluster group based on historical treatment effect data. The allocation module calculates the spatiotemporal behavior embedding vector of the new object to be disposed of, determines the cluster group of the new object to be disposed of based on the spatiotemporal behavior embedding vector, and automatically allocates the corresponding disposal strategy based on the cluster group affiliation result.
9. A computer electronic device, characterized in that, It includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the handling strategy matching method based on the behavior trajectory of a task object as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the handling strategy matching method based on the behavior trajectory of a task object as described in any one of claims 1-7.
