Driving behavior heterogeneity prediction method based on vehicle interaction mode and aggressive tendency

By dividing the vehicle interaction process into action stages and combining aggressive tendencies and historical state coding, the problem of incomplete description of heterogeneous driving behavior is solved, and accurate prediction of the next action stage is achieved.

CN123169930APending Publication Date: 2026-11-27HEFEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611698793.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to characterize continuous differences within the same category, resulting in incomplete descriptions of driving behavior heterogeneity and a lack of effective prediction of behavior types and continuous response levels in the next local driving phase.

Method used

The vehicle interaction process is divided into multiple action stages. The trend state and effective trend boundary of the vehicle state variable are obtained by univariate trend segmentation, and the boundary set is formed by fusion. The effective action stages are screened, and the stage-level vehicle motion features and multivariate trend state combinations are extracted. Combined with the determination of aggressive tendencies and historical state encoding, the interaction mode and aggressive tendencies of the next action stage are predicted.

Benefits of technology

It achieves a complete description of the heterogeneity of driving behavior, improves the predictive completeness of the vehicle interaction state and response tendency in the next action stage, and reduces the impact of pattern misjudgment on subsequent continuous predictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169930A_ABST
    Figure CN123169930A_ABST
Patent Text Reader

Abstract

The application provides a driving behavior heterogeneity prediction method based on vehicle interaction mode and aggressive tendency, and relates to the technical field of intelligent driving. By organizing the continuous vehicle interaction process into action stages with local physical meaning, and retaining the two-dimensional representation of discrete interaction mechanism and internal continuous difference of the mode at the action stage level, the driving behavior heterogeneity description is more complete. By establishing the time sequence coding of the historical action stage sequence and the mode probability driven conditional prediction soft fusion mechanism, the interaction form and response intensity of the next action stage can be jointly predicted, and the uncertainty degree of the continuous prediction result is also given. The overall scheme forms a mutually related processing link, solves the problems of incomplete driving behavior heterogeneity description and difficulty in simultaneously predicting the behavior type and continuous response degree of the next local driving stage, and improves the prediction completeness of the subsequent action stage vehicle interaction state and response tendency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent driving technology, and more specifically, to a method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies. Background Technology

[0002] Against the backdrop of the rapid development of intelligent transportation systems and vehicle-assisted driving technologies, refined modeling of driving behavior during vehicle following is a crucial foundation for vehicle trajectory prediction, driving risk assessment, and driving decision support. Due to significant differences in driving habits among different drivers and the operational responses of the same driver in different traffic situations, heterogeneity analysis of driving behavior has gradually become a research focus in the field of traffic behavior modeling.

[0003] Existing research uses fixed time window division, discrete driving mode recognition, or single continuous index description to characterize local driving behavior during vehicle interaction, and uses discrete categories such as action patterns, potential states, or behavioral primitives as the basic descriptive units of local driving behavior.

[0004] However, while this method can distinguish different types of driving response patterns, it is difficult to characterize the continuous differences within the same category in terms of acceleration, relative speed, headway, and control fluctuations, resulting in an incomplete description of the heterogeneity of driving behavior; consequently, it lacks an effective means to simultaneously predict the behavior type and continuous response level of the next local driving phase. Summary of the Invention

[0005] The problem that this invention aims to solve is that existing methods are unable to characterize continuous differences within the same category.

[0006] To address the aforementioned problems, in a first aspect, the present invention provides a method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies, comprising: Multiple vehicle state variables are acquired during vehicle interaction, and univariate trend segmentation is performed to obtain the trend state and effective trend boundary of each vehicle state variable. The effective trend boundaries of each vehicle state variable are merged into the same time axis to form a boundary set. The vehicle interaction process is divided into multiple candidate action stages according to the boundaries. The effective action stages are selected and the stage-level vehicle motion features and multivariate trend state combinations of each effective action stage are extracted. For each effective action phase, the vehicle-to-vehicle interaction pattern is determined based on the phase-level vehicle motion characteristics, and the aggressive tendency of that effective action phase is determined based on representative variables characterizing the degree of driving response. By selecting multiple consecutive historical action stages in chronological order, the stage-level vehicle motion characteristics, multivariate trend state combinations, stage duration, and aggressive tendency encoding of each action stage are fused to obtain a shared historical state representation. Based on the shared historical state representation, the probability of the next action stage belonging to each candidate vehicle interaction mode is predicted. The shared historical state representation is then input into the prediction branch corresponding to each candidate vehicle interaction mode to obtain the change in the aggressive tendency of the next action stage relative to the current action stage and its uncertainty under each interaction mode. Based on the probability, the corresponding change in aggressive tendency, and the uncertainty, the predicted value of aggressive tendency for the next action stage is obtained, and the vehicle-to-vehicle interaction mode, aggressive tendency, and prediction uncertainty for the next action stage are output.

[0007] Secondly, the present invention also provides a driving behavior heterogeneity prediction system based on vehicle interaction patterns and aggressive tendencies, comprising: The action phase construction module is used to acquire multiple vehicle state variables during vehicle interaction, perform univariate trend segmentation, and obtain the trend state and effective trend boundary of each vehicle state variable. The vehicle interaction mode determination module is used to merge the effective trend boundaries of each vehicle state variable into the same time axis to form a boundary set, divide the vehicle interaction process into multiple candidate action stages according to the boundaries, filter out the effective action stages, and extract the stage-level vehicle motion features and multivariate trend state combinations of each effective action stage. The aggressive tendency determination module is used to determine the inter-vehicle interaction pattern for each effective action phase based on the phase-level vehicle motion characteristics, and to determine the aggressive tendency of that effective action phase based on representative variables characterizing the degree of driving response. The historical action phase encoding module is used to select multiple consecutive historical action phases in chronological order and fuse the phase-level vehicle motion characteristics, multivariate trend state combinations, phase duration and aggressive tendency encoding of each action phase to obtain a shared historical state representation. The joint prediction module is used to predict the probability that the next action stage belongs to each candidate vehicle interaction mode based on the shared historical state representation, and inputs the shared historical state representation into the prediction branch corresponding to each candidate vehicle interaction mode to obtain the change in aggressive tendency of the next action stage relative to the current action stage and its uncertainty under each interaction mode; it is also used to obtain the predicted value of aggressive tendency of the next action stage based on the probability, the corresponding change in aggressive tendency and uncertainty, and output the vehicle interaction mode, aggressive tendency and prediction uncertainty of the next action stage.

[0008] This invention provides a method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies. Compared with existing technologies, it has the following advantages: By organizing continuous vehicle interaction processes into action stages with local physical meaning, and preserving a two-dimensional representation of discrete interaction mechanisms and continuous differences within patterns at the action stage level, the heterogeneity description of driving behavior is made more complete. Through the establishment of a soft fusion mechanism of temporal encoding of historical action stage sequences and pattern probability-driven conditional prediction, the interaction form and response intensity of the next action stage can be jointly predicted, while simultaneously providing the uncertainty of continuous prediction results. The overall scheme integrates action stage construction, interaction pattern determination, aggressive tendency determination, historical state encoding, probability prediction, branch prediction, and uncertainty fusion into an interconnected processing chain, solving the problems of incomplete description of driving behavior heterogeneity and the difficulty in simultaneously predicting the behavior type and continuous response intensity of the next local driving stage. It reduces the impact of pattern misjudgment on subsequent continuous predictions and improves the completeness of predicting the vehicle interaction state and response tendency of subsequent action stages. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the 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.

[0010] Figure 1 A flowchart illustrating a method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies, provided in an embodiment of the present invention. Figure 2 This is an overall framework diagram provided for an embodiment of the present invention; Figure 3 This is a schematic diagram of the internal data processing of the joint prediction module provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of a driving behavior heterogeneity prediction system based on vehicle interaction patterns and aggressive tendencies, provided in an embodiment of the present invention. Detailed Implementation

[0011] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application are described clearly and completely. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0012] To address the shortcomings of existing heterogeneity analysis of driving behavior, such as insufficient representation of local driving behavior, difficulty in simultaneously characterizing driving response type and intensity, and insufficient predictive ability for the next local driving stage, this invention proposes a driving behavior heterogeneity prediction method based on vehicle interaction patterns and aggressive tendencies. This method uses the action stage as the unit of local driving behavior analysis, combining discrete interaction patterns with continuous aggressive tendencies to achieve fine-grained representation of driving behavior heterogeneity. Furthermore, it utilizes historical action stage sequences to predict the interaction patterns and aggressive tendencies of the next action stage, thereby improving the ability to describe and predict dynamic changes in driving behavior and subsequent vehicle interaction responses.

[0013] To better understand the above technical solutions, the following will provide a detailed explanation of the technical solutions in conjunction with the accompanying drawings and specific implementation methods.

[0014] like Figure 1 As shown in the embodiment of this application, a method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies includes: S1: Obtain multiple vehicle state variables during vehicle interaction, perform univariate trend segmentation, and obtain the trend state and effective trend boundary of each vehicle state variable.

[0015] Vehicle interaction refers to the time interval during which a vehicle interacts with surrounding vehicles in the road environment. This process can be supported by vehicle state data provided by onboard sensors, roadside equipment, or trajectory data, and segmented, encoded, and predicted by a computing platform. A continuous vehicle interaction process can be a complete vehicle following process. Vehicle state variables can be selected from multiple factors, including vehicle speed, vehicle acceleration, headway between the vehicle and the preceding vehicle, and relative speed between the vehicle and the preceding vehicle. Univariate trend segmentation refers to the process of dividing the time series of a single vehicle state variable into intervals according to its trend change. Through univariate trend segmentation, the time series of vehicle state variables is divided into multiple intervals with a consistent trend. Univariate trend segmentation can first preprocess the time series data of each variable and remove invalid observations, then identify the inflection points where the local change pattern of each variable curve changes, and form local trend intervals by adjacent inflection points. The trend state is determined based on the amount and duration of variable change within the local trend interval. The effective trend boundary represents the time position where the trend state of a vehicle state variable changes. The effective trend boundary is used to determine the time point when the trend state of a vehicle state variable changes. A trend state represents the direction of change or stable property of a vehicle's state variable over a single time interval. Trend states can include increasing, decreasing, and stable.

[0016] Vehicle speed and acceleration can be collected using onboard sensors, relative distance and speed between the vehicle and the vehicle in front can be collected using radar, and the status of the vehicle in front can be obtained through vehicle-to-infrastructure communication, forming a time series of vehicle state variables. Each type of vehicle state variable is segmented into univariate trends. When the direction of change of the vehicle state variable within the time interval is increasing, it is marked as increasing; when the direction of change is decreasing, it is marked as decreasing; when the direction of change does not exceed the first change range, it is marked as stable. The time position of the trend state transition is used as the effective trend boundary.

[0017] S2: The effective trend boundaries of each vehicle state variable are merged into the same time axis to form a boundary set. The vehicle interaction process is divided into multiple candidate action stages according to the boundaries. Effective action stages are selected and the stage-level vehicle motion features and multivariate trend state combinations of each effective action stage are extracted.

[0018] A boundary set represents the set of effective trend boundaries of multiple vehicle state variables on the same time axis. Boundary sets are used to divide the vehicle interaction process into multiple time intervals. Boundary fusion maps the effective trend boundaries generated by each variable to the same time axis, takes the union of the sets, sorts them chronologically, and removes duplicate boundaries, ensuring that each variable within a segment between adjacent unified boundaries maintains a single trend state. Filtering can use a minimum action phase duration threshold to eliminate excessively short segments, avoiding excessive fragmentation caused by short-term variable fluctuations.

[0019] The effective trend boundaries of each vehicle state variable can be mapped to the same time axis according to the acquisition time, and aligned to a unified time grid through interpolation to form a boundary set; the vehicle interaction process is divided into multiple candidate action stages according to the time points in the boundary set; effective action stages are selected based on the number of sampling points and data missing in the candidate action stages; the sampled values ​​of vehicle state variables in each effective action stage are statistically calculated to obtain stage-level vehicle motion characteristics; and the trend states of each vehicle state variable in the effective action stage are combined to obtain a multivariate trend state combination.

[0020] S3: For each effective action phase, determine the vehicle-to-vehicle interaction pattern based on the phase-level vehicle motion characteristics, and determine the aggressive tendency of that effective action phase based on representative variables characterizing the degree of driving response.

[0021] Inter-vehicle interaction patterns represent the categories of mutual influence relationships between vehicles within the effective action phase. Aggressive tendency represents the continuous values ​​of driving response intensity within the effective action phase. Inter-vehicle interaction patterns can be obtained by clustering physical guidance features constructed based on vehicle spacing evolution, vehicle longitudinal control, vehicle relative motion, and interaction stability. During clustering, high-confidence action phases selected based on the quantile conditions of the physical guidance features can be used to determine the initial cluster centers. Aggressive tendency can be obtained by projecting representative variables from the four mechanisms—vehicle longitudinal control, control changes, vehicle relative motion, and vehicle interaction spacing—onto the first principal component after dimensionality reduction. Representative variables represent vehicle state variables used to determine aggressive tendency or variables derived from vehicle state variables.

[0022] S4: Select multiple consecutive historical action stages in chronological order, and fuse the stage-level vehicle motion characteristics, multivariate trend state combinations, stage duration and aggressive tendency encoding of each action stage to obtain a shared historical state representation.

[0023] Stage-level coding encodes physical statistical features, trend state features, duration features, and intensity evolution features separately, then concatenates them along the feature dimension and maps them through a fusion layer to a unified action stage representation. Shared historical state representation is a unified feature representation obtained by fusing multiple consecutive historical action stage codes.

[0024] S5: Based on the shared historical state representation, predict the probability that the next action stage belongs to each candidate vehicle interaction mode, and input the shared historical state representation into the prediction branch corresponding to each candidate vehicle interaction mode to obtain the radical tendency change of the next action stage relative to the current action stage and its uncertainty under each interaction mode.

[0025] The prediction branch can set up a separate prediction subnetwork for each candidate vehicle interaction mode. This prediction subnetwork outputs the distribution parameters of the aggressive tendency change in the next action stage under that mode condition. The distribution parameters include the mean and variance. The prediction branch represents the prediction channel corresponding to the candidate vehicle interaction mode. Uncertainty represents the degree of uncertainty of the aggressive tendency change output by the prediction branch.

[0026] The shared historical state representation is input into the classifier, and the probability of the next action stage belonging to each candidate vehicle interaction mode is obtained through the normalized exponential function. The shared historical state representation is input into the regression branch corresponding to each candidate vehicle interaction mode to obtain the change in the aggressive tendency of the next action stage relative to the current action stage under each interaction mode. The shared historical state representation is input into the uncertainty prediction branch corresponding to each candidate vehicle interaction mode to obtain the variance or confidence interval of the change in aggressive tendency under each interaction mode.

[0027] S6: Based on the probability, the corresponding change in aggressive tendency, and the uncertainty, obtain the predicted value of aggressive tendency for the next action stage, and output the vehicle interaction mode, aggressive tendency, and prediction uncertainty for the next action stage.

[0028] Using the predicted probabilities of each candidate interaction mode as weights, moment matching is performed on the distribution parameters of each prediction branch output to obtain the mean and variance of the mixed distribution. The mean of the mixed distribution is then added to the observed aggressive tendency in the current action stage to obtain the predicted value of the aggressive tendency in the next action stage.

[0029] In this optional embodiment, firstly, the multivariate trend inflection is used as the boundary of the action stage, transforming the continuous vehicle interaction process into action stages with clear start and end boundaries and local evolutionary meaning. This ensures that each action stage corresponds to a relatively complete vehicle response process, thus replacing single-frame data or fixed time windows with complete local vehicle response processes as the basic unit for driving behavior modeling. Subsequently, at the action stage level, discrete vehicle interaction patterns and continuous aggressive tendencies are simultaneously constructed to form a discrete-continuous two-dimensional behavior representation, allowing the distinction of action stages with different response levels within the same interaction pattern. To address the problem of insufficient predictive ability of existing technologies for the temporal evolution of driving behavior, this invention uses multiple consecutive historical action stages to form a historical action stage sequence, establishing the state evolution relationship between adjacent action stages through stage-level encoding and temporal encoding. To address the problem of error cascading that easily occurs when existing technologies determine a unique pattern before continuous prediction, this invention outputs the complete probability distribution of each candidate interaction pattern based on a shared historical state representation, drives multiple pattern prediction branches with pattern probability and softly fuses them, so that discrete interaction pattern prediction explicitly participates in continuous aggressive tendency prediction in probabilistic form, thereby simultaneously outputting the interaction pattern, aggressive tendency, and prediction uncertainty of the next action stage.

[0030] By organizing continuous vehicle interaction processes into action stages with local physical meaning, and preserving a two-dimensional representation of discrete interaction mechanisms and continuous differences within patterns at the action stage level, the heterogeneity description of driving behavior is made more complete. A soft fusion mechanism of temporal encoding of historical action stage sequences and pattern probability-driven conditional prediction enables joint prediction of the interaction form and response intensity of the next action stage, while simultaneously providing the uncertainty of continuous prediction results. Compared to fixed time window division, the action stage boundaries correspond to the positions of vehicle state variable trend changes; compared to discrete driving pattern recognition, continuous aggressive tendencies are introduced into stage description and prediction; and compared to single continuous indicators, vehicle interaction pattern categories are introduced into the output. Thus, the overall scheme integrates action stage construction, interaction pattern determination, aggressive tendency determination, historical state encoding, probability prediction, branch prediction, and uncertainty fusion into an interconnected processing chain, solving the problems of incomplete description of driving behavior heterogeneity and the difficulty in simultaneously predicting the behavior type and continuous response intensity of the next local driving stage. This reduces the impact of pattern misjudgment on subsequent continuous predictions and improves the completeness of predicting vehicle interaction states and response tendencies in subsequent action stages.

[0031] like Figure 2 As shown below, each step will be described in detail.

[0032] S1: Acquire multiple vehicle state variables during vehicle interaction and perform univariate trend segmentation to obtain the trend state and effective trend boundary of each vehicle state variable. This step specifically includes the following sub-steps.

[0033] S11: Detect the inflection points in the time series curve of the vehicle state variable, form a local trend interval with two adjacent inflection points as the start and end positions, and calculate the change in the vehicle state variable and the duration within the local trend interval.

[0034] Continuous vehicle following processes exhibit distinct local phases, with changes in the vehicle's motion state and inter-vehicle interaction states not always occurring at the same time. Directly applying a fixed time window for driving behavior analysis can easily categorize multiple distinct local vehicle response processes into the same interval, weakening the transition boundaries of real vehicle interaction states. Therefore, based on the local evolution patterns of multivariate vehicle states, the continuous vehicle interaction process is first converted into action-stage-level behavioral units.

[0035] Acquire the vehicle's speed v, acceleration a, headway T, and relative speed between the vehicle and the vehicle in front during the following process. And construct a set of vehicle state variables: The relative velocity is defined as: in, Indicates the speed of the vehicle in front. Indicates the vehicle's speed. When When the vehicle's speed is higher than the vehicle in front, the distance between vehicles tends to decrease; when... When the vehicle's speed is lower than the speed of the vehicle in front, the distance between vehicles tends to increase.

[0036] For any vehicle state variable Its time series representation during continuous vehicle interaction is as follows: in, Vehicle state variables The state value at the t-th sampling time, where t ranges from 1 to N, and N represents the number of sampling points included in the current continuous vehicle interaction process.

[0037] Univariate trend segmentation was performed on the continuous time series of vehicle speed v, vehicle acceleration a, headway T, and relative speed Δv. Specifically, the product of two adjacent local slopes before and after a turning point is less than 0. For any vehicle state variable x, the local slopes between adjacent sampling points are calculated sequentially, and the turning points in the time series curve of the variable are identified based on the change in the sign of the adjacent local slopes. When the product of two adjacent local slopes before and after a certain sampling moment is less than 0, that sampling moment is determined as a candidate turning point, and a set of candidate turning points corresponding to the vehicle state variable is formed in chronological order. in, Vehicle state variables The corresponding set of turning points Vehicle state variables The e-th turning point, where the value of e ranges from 1 to... , Vehicle state variables The total number of corresponding turning points.

[0038] Any turning point is represented as: in, Vehicle state variables The time position corresponding to the e-th turning point Vehicle state variables The state value at this turning point.

[0039] Using any two adjacent turning points and The starting and ending points of the local trend interval are used to form the vehicle state variables. The local trend range corresponding to the e-th turning point : in, Vehicle state variables The time position corresponding to the (e+1)th inflection point is such that the local trend interval in this invention is not divided using a fixed-length time window, but is adaptively determined based on the inflection point in the curve of each vehicle's state variable.

[0040] For any local trend interval formed by adjacent inflection points, calculate the change of the variable within the interval: Where q represents the local trend range formed by two adjacent turning points; Vehicle state variables The state value at the starting inflection point of the local trend interval q; This represents the state value of the vehicle state variable x at the turning point at the end of the local trend interval q; It represents the overall change in the state of the vehicle state variable x from the initial turning point to the final turning point within the local trend interval q.

[0041] Simultaneously calculate the duration of this local trend interval: in, This indicates the start time of the local trend interval q. This indicates the end time of the local trend interval q. This indicates the duration of the local trend interval q.

[0042] S12: Compare the change amount with the preset positive change threshold and negative change threshold respectively. When the change amount is greater than the positive change threshold, the trend state of the local trend interval is marked as increasing. When the change amount is less than the negative change threshold, it is marked as decreasing. In other cases, it is initially marked as stable.

[0043] The local trend changes of vehicle speed, vehicle acceleration, headway, and relative speed during continuous vehicle interaction are identified respectively. The trend states of the variables are then classified into increasing (I), decreasing (D), high-level stability (H), and low-level stability (L) according to empirically defined thresholds and local trend extraction algorithms. For example, the thresholds used for trend state identification are shown in Table 1 below.

[0044] Table 1 Threshold settings for trend state recognition Based on the overall change in state The relationship between the threshold value and the corresponding change threshold is used to determine the initial trend state of the local trend interval between adjacent turning points.

[0045] For the vehicle state variable x, set a positive change threshold. and negative change threshold .when When the vehicle state variable x is within the local trend interval q, the trend state is marked as growth state I. When the vehicle state variable x is within the local trend interval q, the trend state is marked as a declining state D. When the vehicle state variable x is in the local trend interval q, the trend state is initially marked as the stable state S.

[0046] Therefore, the initial trend state of the vehicle state variable x within the local trend interval q can be expressed as: ,in, This represents the trend state of the vehicle state variable x within the local trend interval q.

[0047] For example, if the vehicle's speed at two adjacent turning points is respectively, and the speed at the initial turning point is... Speed ​​at the end of the turning point Then the change in velocity within this interval is: If the threshold for positive velocity change is .

[0048] because Therefore, the speed trend corresponding to this local trend interval is marked as growth state I.

[0049] For example, if the velocities at two adjacent velocity inflection points are 17.2 m / s and 16.9 m / s respectively, then: If the change does not exceed the preset positive or negative change threshold, it is considered that the overall velocity within the interval has not changed significantly, and the velocity trend is initially marked as a stable state S.

[0050] S13: For a local trend interval initially marked as stable, if its duration is less than a preset short duration threshold, the durations of adjacent local trend intervals are both greater than the short duration threshold, and the adjacent local trend intervals have the same increasing or decreasing trend state, the three intervals are merged, and the trend state is re-determined based on the variable change of the merged interval; otherwise, the stable local trend interval is retained.

[0051] After completing the initial trend judgment, in order to avoid a large number of independent trend segments with too short a duration caused by instantaneous fluctuations or local small changes in the vehicle state curve, the present invention further performs short-term segment correction on the local trend segments corresponding to the stable state S.

[0052] For any local trend interval q labeled as a stable state S, when its duration satisfies: , Furthermore, if the duration of both the preceding and following trend intervals of the stable interval is greater than the preset time threshold γ, and the preceding and following intervals have the same increasing or decreasing trend state, the preceding interval, the stable interval, and the following interval are merged into one interval. The merged interval is defined by the start time of the original preceding interval and the end time of the original following interval, and the trend state is re-determined according to step S12; if it is determined to be stable, it is further divided into high-level stability or low-level stability according to step S14. If the above merging conditions are not met, the stable interval is retained, and merging is not performed. Here, γ represents the duration threshold of the short stable segment in the univariate trend segmentation process.

[0053] S14: For the stable local trend intervals that are still retained after merging, calculate the average state of the vehicle state variables within the local trend interval. When the average state is greater than the preset division threshold, it is marked as high-level stability; otherwise, it is marked as low-level stability.

[0054] Among them, the vehicle state variables include the vehicle speed, the vehicle acceleration, the headway between the vehicle and the vehicle in front, and the relative speed between the vehicle and the vehicle in front; the trend state belongs to the set of states consisting of increasing, decreasing, high-level stability and low-level stability.

[0055] For the stable state S that remains after the aforementioned short-segment correction, it is necessary to further determine whether the stable state is at a higher or lower level. Therefore, for any stable local trend interval q, calculate the average state of the vehicle state variable x within that interval: in, This represents the average state value of the vehicle state variable x within the local trend interval q. Mean represents all sampled data contained in the local trend interval q of the vehicle state variable x, and Mean represents the mean calculation operation.

[0056] Furthermore, this average state can also be expressed as: in, This indicates the number of sampling points contained within the local trend interval q. This represents the variable state value corresponding to the j-th sampling point within the local trend interval q, where j ranges from 1 to... .

[0057] Set corresponding high and low state thresholds for different vehicle state variables. .when When, the original stable state S is further labeled as a high-value stable state H; when At that time, the original stable state S is further marked as a low-value stable state L.

[0058] Therefore, after initial trend identification, short stable segment correction, and high / low level subdivision of stable states, the final trend state of any vehicle state variable x belongs to the following set of states: Where I represents an increasing trend, D represents a decreasing trend, H represents a high-value stable state, and L represents a low-value stable state.

[0059] It should be noted that the change in the variable With interval average state They play different roles in this method. Among them, This is used to first determine whether the current local interval belongs to a growing state I, a declining state D, or a stable state S; It is only used to further distinguish between high-value stable states H and low-value stable states L in an interval that has already been determined to be a stable state S.

[0060] By detecting inflection points in the time-series curves, local trend intervals are naturally segmented, avoiding the limitations of subjectively setting fixed time windows. Subsequently, preliminary trend classification is performed by comparing changes with thresholds, and a short-duration threshold is introduced to merge short-term stable local trend intervals, effectively filtering out noise and instantaneous fluctuations, making trend segmentation more stable and meaningful. Finally, the remaining stable intervals after merging are further subdivided into high-level stability and low-level stability based on their average state, thus providing a more refined description of the trend state. This multi-stage, refined trend segmentation method can more accurately capture the true change patterns of vehicle state variables, providing high-quality, robust input data for subsequent determination of inter-vehicle interaction patterns and assessment of aggressive tendencies.

[0061] S2: The effective trend boundaries of each vehicle state variable are merged into the same time axis to form a boundary set. The vehicle interaction process is divided into multiple candidate action stages according to the boundaries. Effective action stages are selected and the stage-level vehicle motion features and multivariate trend state combinations of each effective action stage are extracted.

[0062] S21: Map the effective trend boundaries of multiple vehicle state variables to the same time axis and take the union to obtain a unified candidate action stage boundary set, and add the start and end times of the continuous vehicle interaction process to the unified candidate action stage boundary set.

[0063] Following the above method, the vehicle speed v, vehicle acceleration a, vehicle headway T, and relative speed were respectively measured. By performing univariate trend segmentation, we obtain the effective trend boundary sets corresponding to the four types of vehicle state variables, which are represented as follows: in, This represents the set of effective trend boundaries retained after trend assessment and correction for short stable segments of the velocity variable. express The Middle The time position corresponding to each velocity trend boundary; This represents the set of effective trend boundaries corresponding to the acceleration variables. express The Middle The time position corresponding to the boundary of the acceleration trend; This represents the set of effective trend boundaries corresponding to the headway variable. express The Middle The time position corresponding to the trend boundary of the time distance of each vehicle head; This represents the set of effective trend boundaries corresponding to the relative velocity variable. express The Middle The time position corresponding to the boundary of the relative velocity trend.

[0064] Since the trend changes of the four types of vehicle state variables do not necessarily occur at exactly the same time, this invention further unifies the effective trend boundaries of the four types of variables.

[0065] Specifically, all effective trend boundaries generated by velocity, acceleration, headway, and relative velocity are uniformly mapped to the same time axis, and the union of the four types of boundary sets is taken: Where B represents the unified candidate action stage boundary set generated by all vehicle state variables, and ∪ represents the set union operation.

[0066] Arranging all the boundaries of set B in chronological order, we get: And it satisfies: in, This represents the boundary of the k-th action stage after time sorting, where K represents the number of candidate boundaries obtained after unification.

[0067] The multivariate boundary fusion method here does not average the boundaries of different variables with similar time positions, but rather retains the effective trend change boundaries generated by each vehicle state variable and unifies all boundaries to the same time axis. The aim is to ensure that within a multivariate trajectory segment formed by adjacent unified boundaries, each vehicle state variable maintains a single trend state.

[0068] For example, in a continuous vehicle interaction process, if the speed changes from an increasing trend to a decreasing trend at 5s, and the headway changes from a low stable state to an increasing trend at 8s, then 5s and 8s are both considered as candidate action stage boundaries. Thus, the original continuous trajectory is divided into at least three local stages: before 5s, from 5s to 8s, and after 8s, ensuring that the speed, acceleration, headway, and relative speed within each stage have a unique trend.

[0069] S22: Arrange the boundaries in the unified candidate action stage boundary set in chronological order and remove duplicate boundaries. Form candidate action stages from adjacent sorted boundaries, so that each vehicle state variable in the same candidate action stage maintains a single trend state.

[0070] After unifying the boundaries of all variables, candidate action stages are formed between adjacent boundaries. Since the inflection points of different vehicle state variables may be close in time, unifying the boundaries may result in candidate action stages with excessively short durations. To avoid excessive fragmentation, this invention further employs a minimum action stage duration threshold τ to filter candidate action stages.

[0071] For the i-th candidate action phase, its duration is expressed as: in, This represents the duration of the i-th candidate action phase. This indicates the start time of the i-th candidate action phase. This indicates the termination time of the i-th candidate action phase.

[0072] when When D_i ≥ τ, the candidate stage is determined to be too short and is not retained as a valid action stage; when D_i ≥ τ, the candidate stage is retained as a valid action stage. Here, τ represents the minimum duration threshold of the action stage.

[0073] In one specific implementation, τ is set to 1s to avoid short-term changes in vehicle state variables causing excessive segmentation of continuous vehicle interaction trajectories.

[0074] After the above multivariate unified segmentation and short-stage filtering, the final action stage set corresponding to the current continuous vehicle interaction process is obtained: Where P represents the set of action stages corresponding to the current continuous vehicle interaction process. This represents the i-th action stage, where i ranges from 1 to I, and I represents the number of valid action stages ultimately obtained during the current continuous vehicle interaction process.

[0075] The selected valid action phases are sorted by their start times, and the i-th valid action phase is represented as: in, and These represent the start and end times of the i-th valid action phase, respectively. Since candidate action phases that are too short are eliminated, time intervals are allowed between adjacent valid action phases. The term "continuous historical action phases" in this paper refers to valid action phases selected consecutively in chronological order during the same vehicle interaction process; the next action phase refers to the next valid action phase in this sequence.

[0076] Each action phase corresponds to a trend state of four types of vehicle state variables: velocity, acceleration, headway, and relative velocity. Therefore, the multivariate trend state combination corresponding to the i-th action phase is represented as: in, This represents the trend of velocity v during the i-th action phase; This represents the trend state of acceleration a during the i-th action phase; This represents the trend state of the headway T during the i-th action phase; Let represent the trend state of the relative velocity Δv within the i-th action phase; each trend state belongs to {I, D, H, L}.

[0077] Therefore, an action phase is not simply a trajectory segment extracted according to a fixed time length, but a continuous vehicle interaction process jointly determined by the actual trend changes of multiple vehicle state variables. Within the same action phase, each vehicle state variable maintains a unique local trend state, and when any vehicle state variable undergoes a valid trend transition, a new action phase boundary may be formed.

[0078] After the action phases are divided, the physical information of vehicle motion at the phase level is further extracted for each action phase, which is used for the construction of subsequent vehicle-to-vehicle interaction patterns, calculation of the aggressive tendency of the action phase, and joint prediction of the next action phase.

[0079] S23: Calculate the duration of each candidate action stage, remove candidate action stages whose duration is less than the preset minimum time threshold, and retain the candidate action stages as valid action stages.

[0080] The stage-level vehicle motion characteristics include the average state, state fluctuation degree, final state value and change slope of each vehicle state variable during the action stage, as well as the duration of the action stage and the longitudinal control fluctuation characteristics obtained from the vehicle acceleration at adjacent sampling times. The multivariate trend state combination is composed of the trend state of each vehicle state variable during the action stage.

[0081] For any vehicle state variable In the i-th action phase Within each stage, the average state, the degree of state fluctuation, the stage termination state, and the trend of change are calculated.

[0082] First, calculate the average state of the variables: in, This represents the average state value of the vehicle state variable x during the i-th action phase. This represents all sampled data of the vehicle state variable x during the i-th action phase.

[0083] Next, calculate the degree of fluctuation in the variable's state: in, Std represents the standard deviation of the vehicle state variable x during the i-th action phase, and Std represents the standard deviation calculation operation.

[0084] Further extract the state values ​​of the variables at the end of the action phase: in, This represents the state value of the vehicle state variable x at the end of the i-th action phase. This indicates the end time of the i-th action phase. Vehicle state variables A function that changes with time. This indicates the value of the vehicle's state variable at the end of the action phase.

[0085] Simultaneously calculate the slope of the variable's change during this action phase: in, Let represent the slope of the first-order linear fit of the vehicle state variable x as it changes over time during the i-th action phase. This represents the vehicle state variable x during the action phase. All sampled data within, The value represents the corresponding time series, and Slope represents the first-order linear fitting slope calculation operation.

[0086] In addition, the duration of the action phase is calculated: in, This represents the duration of the i-th action phase.

[0087] For changes in vehicle longitudinal control, the jerk is also calculated based on the acceleration changes during the action phase: in, This represents the jerk corresponding to the t-th sampling point. and These represent the vehicle acceleration at two adjacent sampling times. and This indicates two adjacent sampling times.

[0088] Further calculate the statistical characteristics of longitudinal control changes during the motion phase, for example: in, This represents the jerk sequence within the i-th action phase. This represents the average jerk during this phase. This represents the standard deviation of the jerk during this period.

[0089] Ultimately, the i-th action phase can be described by its corresponding multivariate trend state and the phase-level vehicle motion physical characteristics. The phase-level physical characteristics include, but are not limited to, the mean, standard deviation, termination value, and slope of velocity v, acceleration a, headway T, and relative velocity, as well as the duration of the action phase, longitudinal control fluctuation characteristics, and the trend state corresponding to the four types of vehicle state variables.

[0090] Through the above processing, the original continuous vehicle interaction trajectory is transformed into a series of action stages organized according to the actual motion state changes. Each action stage corresponds to a relatively complete local driving response process with clear physical meaning, providing a unified stage-level data foundation for subsequent vehicle interaction pattern recognition, action stage local aggressive tendency representation, and joint prediction of the next stage based on historical action stage sequences.

[0091] By uniformly mapping and unifying the effective trend boundaries of various vehicle state variables, and incorporating them into the start and end times of the interaction process, the trend change information of all key variables is fully captured, avoiding inaccurate stage division caused by a single variable perspective. By filtering the duration of candidate action stages, short-lived and potentially noise-induced invalid stages are eliminated, ensuring that the retained effective action stages have sufficient duration to support stable behavioral characteristics, significantly improving the reliability of subsequent interaction patterns and aggressive tendency predictions. Furthermore, the extracted stage-level vehicle motion features and multivariate trend state combinations comprehensively quantify the dynamic characteristics, control details, and macro trends of driving behavior from multiple dimensions, providing a solid data foundation for accurately identifying driving behavior heterogeneity. This refined processing approach enables the entire prediction method to more realistically and accurately reflect the driver's behavioral characteristics and aggressive tendencies in different interaction scenarios, thereby improving the accuracy and practicality of the prediction.

[0092] S3: For each effective action phase, determine the vehicle-to-vehicle interaction pattern based on the phase-level vehicle motion characteristics, and determine the aggressive tendency of that effective action phase based on representative variables characterizing the degree of driving response.

[0093] Specifically, existing vehicle behavior representations based on discrete driving modes can distinguish between different types of vehicle interaction processes, but significant differences in continuous responses may still exist within the same interaction mode; using continuous indicators alone is insufficient to clearly distinguish different interaction mechanisms. Therefore, a phased driving behavior representation is constructed from two dimensions: inter-vehicle interaction mechanisms and aggressive driving tendencies.

[0094] S31: Construct physical guidance features based on stage-level vehicle motion characteristics. Physical guidance features include spacing compression features, spacing release features, vehicle acceleration features, vehicle braking features, longitudinal control fluctuation features, and vehicle interaction stability features.

[0095] Based on the evolution of vehicle spacing, longitudinal control of the vehicle, relative motion of the vehicles, and the degree of vehicle interaction stability during the action phase, six types of physical guidance features are constructed: spacing compression, spacing release, vehicle acceleration, vehicle braking, longitudinal control fluctuation, and vehicle interaction stability. These features are then combined with average relative speed, slope of headway change, average acceleration, slope of vehicle speed change, and average headway to form a vehicle interaction feature space.

[0096] For the Extract the average relative velocity during each action phase. Slope of change in headway Average headway Average acceleration Slope of vehicle speed change and jerk standard deviation Features such as...

[0097] Since the above physical quantities have different dimensions, they are first standardized using the mean and standard deviation of the training data: in, This represents a stage-level physical feature value corresponding to the i-th action stage. and These represent the mean and standard deviation of the physical feature in the training data, respectively. This represents the standardized value of the physical characteristic.

[0098] Based on this, the following six types of physical guidance features are constructed.

[0099] The spacing compression feature is represented as: This feature is derived from the normalized value of the average relative velocity. Standardized value of the slope of the time distance change of the vehicle head and the current standardized value of the headway When the above variables collectively exhibit the characteristic of decreasing vehicle spacing, Increased, used to characterize the degree of compression of vehicle spacing.

[0100] The spacing release feature is represented as follows: This feature is opposite in direction to the spacing compression feature; it occurs when the relative motion of the vehicles and the change in headway both indicate that the two vehicles are gradually moving away from each other. Increased, used to characterize the degree of vehicle spacing release.

[0101] The acceleration characteristics of a vehicle are represented as follows: in, This represents the standardized value of the average acceleration. This represents the standardized value of the slope of the vehicle's speed change. When the average acceleration is large and the vehicle speed shows a significant increasing trend, this characteristic value is large and is used to describe the active acceleration effect of the vehicle.

[0102] The characteristics of vehicle braking are represented as follows: When the average acceleration is low and the vehicle speed shows a significant downward trend, this characteristic value is relatively large and is used to describe the active deceleration or braking effect of the vehicle.

[0103] The longitudinal control fluctuation characteristics are expressed as follows: in, This represents the standard deviation of the acceleration during the i-th action phase. This represents the standardized value of the standard deviation of the acceleration. The larger the value, the more significant the change in the vehicle's longitudinal control.

[0104] Vehicle interaction stability features are represented as follows: This feature comprehensively measures the degree of deviation of vehicle relative motion, headway change, vehicle acceleration, and longitudinal control fluctuations in the standardized feature space. A larger value indicates that the aforementioned variables are closer to their respective central states in the training data and have lower vertical control fluctuations; this feature is used for relative characterization of clustering and seed selection, and is not interpreted as an absolutely stable state in which all original physical quantities are close to zero.

[0105] S32: Combine the physical guidance features with the original motion features of the action phase to form the vehicle-to-vehicle interaction feature vector. The original motion features include average relative speed, slope of change of vehicle headway, average acceleration, slope of change of vehicle speed and average vehicle headway, and standardize each dimension of the vehicle-to-vehicle interaction feature vector.

[0106] Six categories of physical guidance characteristics summarize the main interactive features of the action phase from six aspects: spacing compression, spacing release, vehicle acceleration, vehicle braking, longitudinal control fluctuations, and vehicle interaction stability. These interactive tendencies are described using scores for the six categories of physical guidance.

[0107] Considering that the overall score may lose some original vehicle motion information, this invention also retains the average relative speed. Slope of change in headway Average acceleration Slope of vehicle speed change and average headway Five initial stage-level physical features. Finally, the vehicle-to-vehicle interaction feature vector for the i-th action stage is represented as: In other words, It contains 11 features, of which the first 6 are comprehensive features constructed based on the physical relationship of vehicle motion, and the last 5 are the original motion features of the action phase itself.

[0108] Before performing clustering, further... The 11 dimensions in the data are standardized according to the training data to eliminate the influence of different feature scales on the clustering distance calculation, thus obtaining a standardized inter-vehicle interaction feature vector. .

[0109] S33: Select high-confidence action phases from the training data according to the physical guidance feature screening conditions corresponding to each candidate vehicle interaction mode. Use the mean of the standardized vehicle interaction feature vectors of the high-confidence action phases under each candidate vehicle interaction mode as the initial cluster center for clustering. Determine the candidate vehicle interaction mode to which each action phase belongs based on the clustering results.

[0110] Among them, the candidate vehicle interaction modes include stable interaction mode, self-vehicle induced spacing compression mode, relative motion induced spacing compression mode, self-vehicle induced spacing release mode, and relative motion induced spacing release mode.

[0111] To reduce the instability of clustering results and semantic drift caused by random initialization of traditional K-means, this invention first selects high-confidence action stages with typical characteristics from the training data based on the above-mentioned physical guidance features. The high-confidence seed criteria set for selection are shown in Table 2.

[0112] Table 2 Seed Definitions in Physically Guided k-means Initialization in, , and These represent the stability thresholds for average relative velocity, the slope of the time difference between the train head and the train head, and average acceleration, respectively, used to constrain the corresponding original physical quantities to approach the physical stability point. This represents the p-th quantile of physical feature S in the training data. ST high-confidence samples have original physical quantities close to their corresponding stability thresholds for average relative velocity, headway change slope, and average acceleration, with low longitudinal control fluctuations. EC high-confidence samples show significant spacing compression and obvious active acceleration by the vehicle. RC high-confidence samples show significant spacing compression, but weak active acceleration by the vehicle. ER high-confidence samples show significant spacing release and obvious active braking by the vehicle. RR high-confidence samples show significant spacing release, but weak active braking by the vehicle.

[0113] The aforementioned quantile thresholds are all obtained based on the empirical distribution of the corresponding physical features in the training data. Therefore, there is no need to manually specify the absolute value of the specific feature, and they can adapt to the overall vehicle motion state of the current data.

[0114] For any interaction pattern c∈{ST,EC,RC,ER,RR}, the set of high-confidence action phases selected according to the above rules is: .

[0115] The average of the standardized 11-dimensional inter-vehicle interaction features across all action stages in this set is used to obtain the initial cluster centers corresponding to pattern c: in, This indicates the number of high-confidence action stages in pattern c. This represents the standardized inter-vehicle interaction characteristics after the i-th action stage. This represents the initial cluster center corresponding to pattern c.

[0116] Therefore, they obtained respectively Five initial centers.

[0117] By constructing physical guidance features and combining them with original motion features to form a comprehensive inter-vehicle interaction feature vector, and then applying standardization, the expressive power and comparability of the features are effectively improved. Furthermore, the initial cluster centers are determined using high-confidence action phases, enabling the clustering process to more accurately capture the essential features of different interaction patterns and avoiding the instability caused by random initialization. This refined pattern recognition mechanism provides more accurate and reliable contextual information for subsequent aggressive tendency prediction, significantly improving the accuracy and interpretability of driving behavior heterogeneity prediction. This makes the assessment of driver aggressive tendencies closer to actual driving behavior, thus providing a more precise decision-making basis for intelligent driving systems.

[0118] S34: Representative variables are selected from four physical mechanisms: longitudinal control of the vehicle, control changes, relative motion of the vehicle and vehicle interaction distance. The representative variables include average acceleration, longitudinal control fluctuation degree, average relative speed and average headway.

[0119] After obtaining the interaction patterns between discrete vehicles, a continuous action phase radical tendency was further constructed to characterize the behavioral differences within the same interaction pattern.

[0120] Candidate variables were selected from four aspects of local driving response: vehicle control, control fluctuations, relative motion, and interaction distance. First, principal component analysis was used to reduce the dimensionality of the candidate variables to identify the main response dimensions. Then, based on the variable's contribution to the principal component and considering the consistency of its physical meaning and direction of change, high-contribution variables were further screened. Finally, average acceleration, jerk standard deviation, average relative speed, and average headway were selected as representative variables from the four physical mechanisms of vehicle longitudinal control, control fluctuations, vehicle relative motion, and vehicle interaction distance, respectively.

[0121] S35: Standardize each representative variable, construct a standardized feature matrix from the standardized behavioral feature vectors of each action stage in the training data, calculate the covariance matrix of the standardized feature matrix, and solve for the loading vector corresponding to the largest eigenvalue of the covariance matrix as the first principal component.

[0122] After standardizing the variables and completing the standardization of the behavioral features for each action stage, the standardized feature vectors from the training set are further combined to construct a feature matrix for Principal Component Analysis (PCA). Specifically, the standardized training data matrix is ​​defined as follows: in C represents the standardized feature matrix of the training set, where N represents the number of action stages in the training dataset. Each row of C corresponds to a standardized behavioral feature vector for one action stage.

[0123] The covariance matrix of the standardized feature matrix is ​​calculated as follows: Where Σ represents the covariance matrix of standardized behavioral characteristics.

[0124] The loading vector corresponding to the first principal component is obtained by solving the following eigenvalue problem: in, This represents the loading vector corresponding to the first principal component. This represents the largest eigenvalue of Σ.

[0125] For load vector Perform unit norm normalization to make it satisfy The direction of the first principal component is determined by taking the load corresponding to the average acceleration as positive; if the load is zero, the direction is determined by taking the load corresponding to the average headway as negative; if both loads are zero, the first non-zero load is taken as positive according to the order of jerk standard deviation and average relative velocity. After the direction is determined, the load vector is fixed for subsequent calculations.

[0126] S36: Project the standardized behavioral feature vector of the action phase onto the first principal component to obtain the radical tendency value of the action phase.

[0127] The AT (Aggressive Tendency) value is calculated by projecting the standardized feature vector of the i-th action stage onto the first principal component: Among them, As a weight, This represents the standardized feature vector of the i-th action stage.

[0128] The first principal component score is defined as a relative aggressiveness index for the action phase. It is used to comprehensively characterize the main changes in vehicle longitudinal control, control fluctuations, relative vehicle motion, and interaction distance, and to describe local driving response differences in conjunction with inter-vehicle interaction modes. This index is not equivalent to an absolute evaluation of the degree of aggressiveness in all driving scenarios; its physical meaning is jointly explained by the load direction of each variable and the interaction mode.

[0129] S37: Fixed standardized parameters and the load vector of the first principal component are used to uniformly calculate the aggressive tendencies of the action phase under different vehicles, different times and different interaction modes.

[0130] After determining the standardized parameters and AT weights, these parameters are fixed for unified calculation of AT in subsequent action stages, enabling comparisons of action stages across different vehicles, times, and interaction modes on a unified and continuous scale. Ultimately, the driving behavior in the i-th action stage... This can be represented as a combination of interaction patterns and radical tendencies: in, This represents the label of the inter-vehicle interaction mode to which the i-th action stage belongs in the training set. This represents the aggressive tendency value in the i-th action phase. The traditional single driving mode label is expanded into a two-dimensional behavioral structure of "interaction mechanism - continuous aggressive tendency". This not only preserves the discrete structural differences between different interaction mechanisms, but also further characterizes the continuous behavioral heterogeneity within the same interaction mechanism.

[0131] This application selects representative variables from multi-dimensional physical mechanisms and uses principal component analysis to reduce the dimensionality of these variables, thereby obtaining an objective and quantitative value of aggressive tendency. This method overcomes the problems of strong subjectivity and difficulty in uniform quantification in traditional aggressive tendency assessment, allowing aggressive tendencies at different action stages to be calculated according to unified rules. By fixing standardized parameters and the load vector of the first principal component, this application achieves unified calculation of aggressive tendencies at different action stages under different vehicles, times, and interaction modes, significantly improving the generalization ability and accuracy of aggressive tendency assessment. This provides more reliable and stable basic data for subsequent prediction of driving behavior heterogeneity, thereby improving the robustness and effectiveness of the entire prediction method.

[0132] S4: Select multiple consecutive historical action stages in chronological order, and fuse the stage-level vehicle motion characteristics, multivariate trend state combinations, stage duration and aggressive tendency encoding of each action stage to obtain a shared historical state representation.

[0133] After obtaining the two-dimensional representation of the interaction pattern corresponding to the action phase – aggressive tendency – this invention further utilizes the state evolution relationship between historical action phases to predict the vehicle interaction behavior in the next action phase, such as… Figure 3 As shown.

[0134] For the k-th action phase, the stage-level vehicle physical characteristics, action phase duration, multivariate trend state, current action phase AT, and AT changes in adjacent action phases are combined to form stage-level prediction information, where AT changes in adjacent action phases are included. Represented as: in, This represents the AT value for the k-th action phase. This represents the AT value for the (k-1)th action phase.

[0135] A historical action phase sequence is formed by selecting multiple consecutive historical action phases in chronological order. Trend state codes are established for four trend states: I, D, H, and L. Simultaneously, variable position codes are introduced to distinguish the trend information corresponding to velocity, acceleration, headway, and relative velocity. Subsequently, the trend information, phase-level physical features, action phase duration, and historical AT information are concatenated and fused to form a unified action phase representation.

[0136] S4 specifically includes the following sub-steps.

[0137] S41: After standardizing the stage-level vehicle motion characteristics of each historical action phase, input them into the physical feature encoder to obtain the physical statistical feature code.

[0138] First, four types of input information are constructed for each historical action stage: stage-level physical statistical features, trend state features, stage duration features, and historical aggressive tendency features. For physical statistical features, the model standardizes numerical features such as the mean, standard deviation, terminal value, slope, and jerk fluctuation of velocity, acceleration, headway, and relative velocity before inputting them into the physical feature encoder.

[0139] S42: Convert the trend states of each vehicle state variable in the multivariate trend state combination of each historical action stage into state code vectors, and superimpose the variable position codes used to distinguish the vehicle state variables to which the trend states belong to obtain the trend state feature codes.

[0140] For trend state features, the model converts the I / D / H / L trend states corresponding to speed, acceleration, headway, and relative speed into state encoding vectors, and superimposes variable position encoding to distinguish which driving variable the trend originates from.

[0141] S43: After performing a logarithmic transformation and standardization on the duration of each historical action phase, input the data into the duration encoder to obtain the duration feature code.

[0142] S44: Encode the radical tendency of each historical action stage and the change in radical tendency between adjacent action stages as intensity evolution features.

[0143] For duration, a logarithmic transformation and standardization are performed first, and then the data is input into the duration encoder; for historical radical tendencies, the changes in radical tendencies in the current stage and those in adjacent stages are used as intensity evolution feature encoding.

[0144] S45: The physical statistical feature code, trend state feature code, duration feature code, and intensity evolution feature code are concatenated in the feature dimension and then input into the fusion layer, which is mapped to the action stage representation in a unified dimension. The fusion layer is composed of a linear transformation layer, a normalization layer, an activation function layer, and a random dropout layer connected in sequence.

[0145] The encoding results obtained from the above branches are directly concatenated along the feature dimension to form a joint feature vector for this action stage. This concatenated vector is then passed through a learnable fusion layer, namely Linear (fully connected layer) -> LayerNorm (layer normalization) -> GELU -> Dropout (random deactivation), to be mapped to a unified dimension action stage representation, which is then used as the input to the subsequent GRU temporal encoder.

[0146] S46: Input the action phase representation into the temporal coding network, and use the final hidden state obtained by encoding the phase representation sequence through the temporal coding network as the shared historical state representation, wherein the temporal coding network is a recurrent neural network.

[0147] A two-level gated recurrent unit (GRU) is used to capture the temporal dependencies between successive action phases. GRU is a recurrent neural network architecture that controls information propagation through update and reset gates. The update gate modulates the retention of previous historical information, while the reset gate determines the contribution of previous states to the candidate implicit representation. The hidden dimension is set to 128, and the dropout rate is 0.3. The sequence encoding process can be represented as: in, Vehicle state variables The state value at the k-th action stage. This represents the hidden state generated by GRU in the k-th action phase. This indicates the hidden state of the previous action phase.

[0148] Final hidden state This summarizes the recent sequence of historical action phases: in, It represents the historical input sequence up to the k-th action stage and is used as a shared historical representation of the vehicle-to-vehicle interaction pattern and AT for predicting the (k+1)-th action stage.

[0149] Unlike frame-level trajectory models, GRU operates on a sequence of action phases. Since each action phase already summarizes the motion characteristics and trend evolution in the local driving response, this sequence encoder focuses on the dependencies between successive response processes.

[0150] This application effectively integrates and abstracts complex and heterogeneous driving behavior information contained in multiple consecutive historical action stages. This multi-dimensional, hierarchical encoding method, combined with the powerful sequence modeling capabilities of temporal coding networks, enables the generated shared historical state representation to comprehensively capture the dynamic evolution and deep temporal dependencies of driving behavior. This not only solves the problems of information loss and feature redundancy that traditional methods may face when processing complex historical context information, but also provides richer and more discriminative historical background information for subsequent predictions of inter-vehicle interaction patterns and aggressive tendencies, thereby significantly improving the accuracy, stability, and understanding of the heterogeneity of driving behavior in the prediction model.

[0151] S5: Based on the shared historical state representation, predict the probability that the next action stage belongs to each candidate vehicle interaction mode, and input the shared historical state representation into the prediction branch corresponding to each candidate vehicle interaction mode to obtain the radical tendency change of the next action stage relative to the current action stage and its uncertainty under each interaction mode.

[0152] Based on the shared historical state representation, on the one hand, the probability of the next action stage belonging to one of the five candidate inter-vehicle interaction modes is calculated through the inter-vehicle interaction pattern prediction module (e.g., MLP classification head): in, This represents the predicted probability distribution for the five interaction modes. and represents the predicted probabilities of stable interaction (ST), self-induced gap compression (EC), relative motion-induced gap compression (RC), self-induced gap release (ER), and relative motion-induced gap release (RR), respectively.

[0153] The final prediction result of the vehicle-to-vehicle interaction pattern is obtained by the following formula: in, Indicates the first Predictive interaction patterns for each action phase Let m represent the predicted probability of pattern m, where .

[0154] On the other hand, since the AT changes under different vehicle-to-vehicle interaction modes may follow different distributions, a conditional Gaussian expert (i.e., prediction branch) is assigned for each candidate vehicle-to-vehicle interaction mode. The m-th expert is used to estimate the expected AT change and its uncertainty corresponding to mode m.

[0155] The output of the five mode-specific experts is in, This represents the predicted change of AT in the next action phase relative to the current action phase AT under the m-th type of vehicle-to-vehicle interaction mode. This indicates the uncertainty associated with the prediction result. This represents the Gaussian expert network corresponding to pattern m.

[0156] S6: Based on the probability, the corresponding change in aggressive tendency, and the uncertainty, obtain the predicted value of aggressive tendency for the next action stage, and output the vehicle-to-vehicle interaction mode, aggressive tendency, and prediction uncertainty for the next action stage. This step specifically includes the following sub-steps.

[0157] S61: Using the probability of the next action phase belonging to the interaction mode between each candidate vehicle as the weight, the radical tendency change of each prediction branch is weighted and summed to obtain the expected radical tendency change.

[0158] The expert outputs are fused based on the predicted probability distribution of vehicle-to-vehicle interaction patterns. The expected AT change is calculated as follows: in, This indicates the magnitude of the expected radical tendency change in the fusion phase of the next action. This represents the predicted probability that the next action phase belongs to the vehicle-to-vehicle interaction mode m. Let m represent the mean of the radical tendency change in the prediction branch estimate corresponding to mode m, and M represent the number of candidate vehicle interaction modes.

[0159] S62: Determine the variance of the mixed distribution based on the magnitude and uncertainty of the radical tendency change in the output of each prediction branch, the probability of the interaction mode between each candidate vehicle, and the mean of the magnitude of the radical tendency change in the output of each prediction branch, and use it as the prediction uncertainty.

[0160] By matching the first and second moments of the mixture distribution, the variance of the final mixture distribution is obtained: in, This represents the fusion variance obtained by moment matching of the predicted changes in aggressive tendencies. This represents the variance of the radical tendency change in the prediction branch estimate corresponding to pattern m.

[0161] S63: Add the expected change in radical tendency to the radical tendency in the current action phase to obtain the predicted value of radical tendency in the next action phase.

[0162] The predicted AT for subsequent action phases is obtained by adding the expected AT change to the AT value of the most recent historical action phase: in, This represents the predicted aggressiveness value for the (k+1)th action phase. This represents the observed radical tendency value in the latest historical action phase. This represents the expected change in radical tendency after fusion.

[0163] The aforementioned prediction structure does not design vehicle-to-vehicle interaction pattern prediction and aggressive tendency prediction as two independent tasks. Instead, it establishes an information transmission mechanism of "historical action stage shared encoding → interaction pattern probability estimation → pattern condition expert prediction → pattern probability soft fusion", so that discrete vehicle-to-vehicle interaction pattern prediction participates explicitly in continuous aggressive tendency prediction in probabilistic form.

[0164] When the next action phase falls at the transition boundary between different vehicle interaction modes, each candidate mode often possesses a certain probability simultaneously. By preserving the complete mode probability distribution and weighting the results of multiple mode conditional experts, the impact of a single mode hard decision error directly propagating to the AT prediction process can be reduced.

[0165] This application effectively integrates the changes and uncertainties of aggressive tendencies under different vehicle interaction modes, thereby providing a unified and quantified prediction of aggressive tendencies for the next action stage. This integration avoids the limitations of providing only scattered prediction results, making the prediction of heterogeneous driving behavior more comprehensive and practical. Specifically, by obtaining the expected change in aggressive tendencies through weighted summation, the possibility of different future scenarios can be comprehensively considered, making the prediction results more representative; by determining the variance of the mixed distribution as the prediction uncertainty, the dispersion and reliability of the prediction results can be fully reflected, providing a more sufficient basis for subsequent decision-making; finally, by adding the expected change in aggressive tendencies to the current aggressive tendencies, the prediction value of aggressive tendencies for the next action stage is directly obtained, simplifying the interpretation and application of the prediction results. This enables the system to provide more accurate and reliable predictions of heterogeneous driving behavior for autonomous driving systems or driver assistance systems, thereby improving the system's decision-making ability and safety.

[0166] In addition, the method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies also includes: A joint loss function is used to jointly train the temporal coding network, the interactive pattern probability prediction part, and the prediction branch.

[0167] To coordinate the two tasks of predicting vehicle-to-vehicle interaction patterns and predicting attack tendency (AT), this invention employs a joint learning objective. The joint loss function includes a weighted focusing classification loss for predicting vehicle-to-vehicle interaction patterns and a Gaussian negative log-likelihood loss for predicting aggressive tendencies. The weighted focusing classification loss is determined based on the predicted probability, class weights, and focusing parameters corresponding to the actual interaction patterns. The Gaussian negative log-likelihood loss uses the expected change in aggressive tendency and variance of the mixture distribution as distribution parameters and is determined based on the actual change in aggressive tendency. The joint loss function is obtained by combining the weighted focusing classification loss and the Gaussian negative log-likelihood loss according to preset weighting coefficients.

[0168] The joint loss function is: in, Denotes the joint loss function. This represents the weighted focusing classification loss corresponding to the prediction of vehicle-to-vehicle interaction patterns. This represents the Gaussian negative log-likelihood loss corresponding to a radical tendency in prediction. and These represent the weight coefficients corresponding to the weighted focusing classification loss and the Gaussian negative log-likelihood loss, respectively.

[0169] For vehicle-to-vehicle interaction pattern prediction, the weighted focusing classification loss is used for training samples with real interaction pattern labels y. in, This represents the predicted probability corresponding to the actual interaction patterns between vehicles. γ represents the class weight, and γ represents the hyperparameter focusing parameter. By reducing the contribution of easily classified samples to the overall loss, the model's ability to learn boundary samples and interaction patterns of a few classes is improved.

[0170] AT prediction uses a Gaussian distribution determined by a mixture of experts constrained by interactive mode conditions for probabilistic modeling. in, This represents the actual change in AT during the next action phase. This indicates that the mean obtained through moment matching is And the variance is The Gaussian approximation distribution.

[0171] The AT branch is optimized using Gaussian negative log-likelihood loss, which is: in, This represents the change in the actual aggressive tendency at the (k+1)th action stage relative to the kth action stage. This represents the expected change in radical tendency after fusion. This represents the fusion variance obtained through moment matching. This represents the standard deviation corresponding to the fusion variance.

[0172] This application ensures that the model collaboratively optimizes the classification of vehicle interaction patterns and the regression of aggressive tendencies during training. The introduction of weighted focusing classification loss effectively addresses the problem of imbalanced interaction pattern categories in real-world driving data, enabling the model to more accurately identify various interaction patterns, especially those that occur less frequently but may be significant. Simultaneously, the application of Gaussian negative log-likelihood loss allows the model to output its uncertainty when predicting aggressive tendencies, providing more comprehensive information for subsequent decisions and enhancing the reliability of the prediction results. This joint training strategy significantly improves the overall accuracy and robustness of the model in predicting heterogeneity in driving behavior.

[0173] Through joint optimization, the historical action stage encoder learns a shared time-series representation that supports both vehicle-to-vehicle interaction pattern classification and AT prediction. Meanwhile, the interaction pattern conditional constraint expert structure explicitly establishes the correlation between different vehicle-to-vehicle interaction patterns and their corresponding AT changes.

[0174] Compared to methods that rely solely on historical trajectory sequences for single-state prediction, this invention introduces a two-dimensional behavioral representation of vehicle interaction patterns and automatic response (AT). This allows the model to simultaneously learn the differences in interaction mechanisms between vehicles and the continuous response changes within the same interaction mechanism. On one hand, the interaction pattern classification branch uses discrete interaction mechanism information to constrain the subsequent behavior prediction process, preventing the mixed modeling of behavioral responses from different interaction processes. On the other hand, a Gaussian expert structure based on interaction pattern conditional constraints learns the corresponding AT change distribution for different interaction mechanisms, characterizing the driving response change patterns and uncertainties under different interaction modes. Therefore, compared to methods that rely solely on a single continuous variable or a uniform prediction model, this invention reduces the confusion in behavioral representations caused by differences in interaction mechanisms, improving the accuracy of predicting vehicle interaction states and response tendencies in subsequent action phases.

[0175] Ultimately, this invention establishes a complete vehicle interaction behavior modeling link, from continuous vehicle operating state—action stage-level vehicle interaction unit—interaction mode and AT dual-dimensional behavior representation—historical action stage state evolution—joint prediction of the next action stage. This can provide stage-level vehicle interaction state information with local behavioral semantics for subsequent vehicle trajectory prediction, driving risk assessment, and intelligent driving decision assistance.

[0176] like Figure 4 As shown in the embodiment of this application, a driving behavior heterogeneity prediction system based on vehicle interaction patterns and aggressive tendencies is provided, comprising: The action phase construction module 10 is used to acquire multiple vehicle state variables during vehicle interaction, perform univariate trend segmentation, and obtain the trend state and effective trend boundary of each vehicle state variable.

[0177] The vehicle interaction mode determination module 20 is used to merge the effective trend boundaries of each vehicle state variable into the same time axis to form a boundary set, divide the vehicle interaction process into multiple candidate action stages according to the boundaries, select the effective action stages, and extract the stage-level vehicle motion features and multivariate trend state combinations of each effective action stage.

[0178] The aggressive tendency determination module 30 is used to determine the inter-vehicle interaction pattern based on the stage-level vehicle motion characteristics for each effective action stage, and to determine the aggressive tendency of that effective action stage based on representative variables characterizing the degree of driving response.

[0179] The historical action phase encoding module 40 is used to select multiple consecutive historical action phases in chronological order and fuse the phase-level vehicle motion characteristics, multivariate trend state combinations, phase duration and aggressive tendency encoding of each action phase to obtain a shared historical state representation.

[0180] The joint prediction module 50 is used to predict the probability that the next action stage belongs to each candidate vehicle interaction mode based on the shared historical state representation, and input the shared historical state representation into the prediction branch corresponding to each candidate vehicle interaction mode to obtain the change in aggressive tendency of the next action stage relative to the current action stage and its uncertainty under each interaction mode; it is also used to obtain the predicted value of aggressive tendency of the next action stage based on the probability, the corresponding change in aggressive tendency and uncertainty, and output the vehicle interaction mode, aggressive tendency and prediction uncertainty of the next action stage.

[0181] In summary, compared with existing technologies, it has the following beneficial effects: In terms of constructing action phases, this invention simultaneously considers the local changes in vehicle speed, acceleration, headway, and relative speed. It fuses the trend change boundaries of different variables to form action phases, ensuring that each action phase corresponds to a relatively complete vehicle response process. Therefore, subsequent feature calculations and behavior predictions are no longer based on manually set fixed time lengths, but rather organized according to the actual locations where the vehicle state changes, reducing the problem of different local response processes being mixed within the same analysis interval.

[0182] In terms of behavioral representation, this invention does not simply assign a discrete driving mode to each action stage. Instead, it first identifies inter-vehicle interaction modes based on changes in vehicle spacing, vehicle control, and relative vehicle motion, and then uses AT (Automatic Attack) to describe the continuous response differences within the same interaction mode. Thus, an action stage can not only indicate "which vehicle interaction mechanism is currently in use," but also further represent "the current aggressive tendency under that interaction mechanism," avoiding the misinterpretation of action stages with different response levels within the same mode as being completely identical when only discrete labels are used. Existing analysis results also show that significant AT differences are still retained within the same inter-vehicle interaction mode; therefore, the two types of information are actually complementary.

[0183] In terms of prediction, this invention establishes AT conditional prediction branches for different vehicle-to-vehicle interaction modes and retains the complete probability distribution of each candidate interaction mode for the next action stage, rather than determining a unique mode first and then selecting the corresponding prediction branch. When the next action stage is between two interaction states and the mode prediction result is uncertain, the AT prediction results corresponding to each candidate mode can still participate in the final prediction according to the mode probability, thereby reducing the problem that the previous level mode classification error directly determines the subsequent level AT prediction result. At the same time, it can also provide the corresponding prediction uncertainty, so that the model output not only includes the mode and AT value of the next action stage, but also reflects the uncertainty of continuous prediction results.

[0184] Therefore, the main effect of this invention is not simply to increase the number of driving behavior classification categories or to increase the complexity of a single model, but rather to organize the continuous vehicle interaction process into behavioral units with local physical meaning through action-stage modeling; to preserve the discrete interaction mechanism and continuous differences within the pattern through Pattern-AT joint representation; and to establish the correlation between interaction pattern prediction and AT prediction through pattern probability conditional expert, thereby obtaining a more complete vehicle interaction state for the next action stage. The prediction results can be further used as input for subsequent modules such as vehicle trajectory prediction, driving behavior analysis, and intelligent driving decision support.

[0185] An electronic device provided in this application includes a memory and a processor; the memory is used to store a computer program; the processor is used to implement the above-described method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies when executing the computer program.

[0186] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the above-described method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies.

[0187] In this embodiment, the beneficial effects of the electronic device and the computer-readable storage medium are similar to those of the above-described method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies, and will not be repeated here.

[0188] The present invention describes electronic devices that can serve as servers or clients of this application, which are examples of hardware devices that can be applied to various aspects of this application. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital assistant devices, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the application described and / or claimed herein.

[0189] Electronic devices include a computing unit that can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) or loaded from a storage unit into random access memory (RAM). The RAM can also store various programs and data required for device operation. The computing unit, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.

[0190] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc. In this application, the separately described modules may or may not be physically separate. Some or all of the modules can be selected to achieve the purpose of the embodiments of this application according to actual needs. Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0191] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0192] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for predicting the heterogeneity of driving behavior based on vehicle interaction patterns and aggressive tendencies, characterized in that, include: Multiple vehicle state variables are acquired during vehicle interaction, and univariate trend segmentation is performed to obtain the trend state and effective trend boundary of each vehicle state variable. The effective trend boundaries of each vehicle state variable are merged into the same time axis to form a boundary set. The vehicle interaction process is divided into multiple candidate action stages according to the boundaries. The effective action stages are selected and the stage-level vehicle motion features and multivariate trend state combinations of each effective action stage are extracted. For each effective action phase, the vehicle-to-vehicle interaction pattern is determined based on the phase-level vehicle motion characteristics, and the aggressive tendency of that effective action phase is determined based on representative variables characterizing the degree of driving response. By selecting multiple consecutive historical action stages in chronological order, the stage-level vehicle motion characteristics, multivariate trend state combinations, stage duration, and aggressive tendency encoding of each action stage are fused to obtain a shared historical state representation. Based on the shared historical state representation, the probability of the next action stage belonging to each candidate vehicle interaction mode is predicted. The shared historical state representation is then input into the prediction branch corresponding to each candidate vehicle interaction mode to obtain the change in the aggressive tendency of the next action stage relative to the current action stage and its uncertainty under each interaction mode. Based on the probability, the corresponding change in aggressive tendency, and the uncertainty, the predicted value of aggressive tendency for the next action stage is obtained, and the vehicle-to-vehicle interaction mode, aggressive tendency, and prediction uncertainty for the next action stage are output.

2. The method for predicting driving behavior heterogeneity based on vehicle interaction patterns and aggressive tendencies as described in claim 1, characterized in that, The process of fusing the effective trend boundaries of each vehicle state variable onto the same time axis to form a boundary set, dividing the vehicle interaction process into multiple candidate action stages based on the boundaries, selecting effective action stages, and extracting the stage-level vehicle motion features and multivariate trend state combinations of each effective action stage includes: The effective trend boundaries of multiple vehicle state variables are uniformly mapped to the same time axis and the union is taken to obtain a unified candidate action stage boundary set. The start and end times of the continuous vehicle interaction process are added to the unified candidate action stage boundary set. The boundaries in the unified candidate action stage boundary set are arranged in chronological order and duplicate boundaries are removed. Candidate action stages are formed by adjacent sorted boundaries, so that each vehicle state variable in the same candidate action stage maintains a single trend state. Calculate the duration of each candidate action phase, remove candidate action phases whose duration is less than the preset minimum time threshold, and retain the candidate action phases as valid action phases. The stage-level vehicle motion characteristics include the average state, state fluctuation degree, termination state value and change slope of each vehicle state variable during the action stage, as well as the duration of the action stage and the longitudinal control fluctuation characteristics obtained from the vehicle acceleration at adjacent sampling times; the multivariate trend state combination is composed of the trend state of each vehicle state variable during the action stage.

3. The method for predicting driving behavior heterogeneity based on vehicle interaction patterns and aggressive tendencies as described in claim 1, characterized in that, The determination of the inter-vehicle interaction mode based on the stage-level vehicle motion characteristics for each effective action stage includes: Physical guidance features are constructed based on the stage-level vehicle motion characteristics. These physical guidance features include spacing compression features, spacing release features, vehicle acceleration features, vehicle braking features, longitudinal control fluctuation features, and vehicle interaction stability features. The physical guidance features are combined with the original motion features of the action phase to form the vehicle-to-vehicle interaction feature vector. The original motion features include average relative speed, slope of change of vehicle headway, average acceleration, slope of change of vehicle speed and average vehicle headway, and each dimension of the vehicle-to-vehicle interaction feature vector is standardized. According to the physical guidance feature screening conditions corresponding to each candidate vehicle interaction mode, high-confidence action stages are selected from the training data. The mean of the standardized vehicle interaction feature vector of the high-confidence action stage under each candidate vehicle interaction mode is used as the initial cluster center for clustering. Based on the clustering results, the candidate vehicle interaction mode to which each action stage belongs is determined. Among them, the candidate vehicle interaction modes include stable interaction mode, self-vehicle induced spacing compression mode, relative motion induced spacing compression mode, self-vehicle induced spacing release mode, and relative motion induced spacing release mode.

4. The method for predicting driving behavior heterogeneity based on vehicle interaction patterns and aggressive tendencies as described in claim 3, characterized in that, The determination of the aggressive tendency of this effective action phase based on representative variables characterizing the degree of driving response includes: Representative variables were selected from four physical mechanisms: longitudinal control of the vehicle, control changes, relative motion of the vehicle and vehicle interaction distance. The representative variables included average acceleration, longitudinal control fluctuation degree, average relative speed and average headway. Standardize each representative variable, construct a standardized feature matrix from the standardized behavioral feature vectors of each action stage in the training data, calculate the covariance matrix of the standardized feature matrix, and solve for the loading vector corresponding to the largest eigenvalue of the covariance matrix as the first principal component. Projecting the standardized behavioral feature vector of the action phase onto the first principal component yields the radical tendency value for that action phase. By fixing the standardized parameters and the load vector of the first principal component, the aggressive tendency of the action phase under different vehicles, different times and different interaction modes is uniformly calculated.

5. The method for predicting driving behavior heterogeneity based on vehicle interaction patterns and aggressive tendencies as described in claim 1, characterized in that, The step of selecting multiple consecutive historical action stages in chronological order and fusing the stage-level vehicle motion characteristics, multivariate trend state combinations, stage duration, and aggressive tendency encoding of each action stage to obtain a shared historical state representation includes: After standardizing the stage-level vehicle motion characteristics of each historical action phase, the results are input into the physical feature encoder to obtain the physical statistical feature code. The trend states of each vehicle state variable in the multivariate trend state combination of each historical action stage are converted into state coding vectors, and the variable position codes used to distinguish the vehicle state variables to which the trend states belong are superimposed to obtain the trend state feature codes. The duration of each historical action phase is logarithmically transformed and standardized before being input into the duration encoder to obtain the duration feature code; The radical tendency of each historical action stage and the change in radical tendency between adjacent action stages are encoded as intensity evolution features. The physical statistical feature code, trend state feature code, duration feature code, and intensity evolution feature code are concatenated along the feature dimension and then input into the fusion layer, which is mapped to a unified dimension action stage representation. The fusion layer is composed of a linear transformation layer, a normalization layer, an activation function layer, and a random dropout layer connected in sequence. The action phase representation is input into a temporal coding network, and the final hidden state obtained by encoding the phase representation sequence through the temporal coding network is used as the shared historical state representation. The temporal coding network is a recurrent neural network.

6. The method for predicting driving behavior heterogeneity based on vehicle interaction patterns and aggressive tendencies as described in claim 1, characterized in that, The process of obtaining the predicted value of the aggressive tendency for the next action stage based on probability, the corresponding change in aggressive tendency, and uncertainty includes: The probability of the next action phase belonging to the interaction mode between each candidate vehicle is used as the weight, and the radical tendency change of each prediction branch is weighted and summed to obtain the expected radical tendency change. Based on the magnitude and uncertainty of the radical tendency of each prediction branch output, the probability of the interaction mode between each candidate vehicle, and the mean of the magnitude of the radical tendency of each prediction branch output, the variance of the mixed distribution is determined and used as the prediction uncertainty. The expected change in radical tendency is added to the radical tendency in the current action phase to obtain the predicted value of radical tendency in the next action phase.

7. The method for predicting driving behavior heterogeneity based on vehicle interaction patterns and aggressive tendencies as described in claim 1, characterized in that, The method further includes: A joint loss function is used to jointly train the temporal coding network, the interactive pattern probability prediction part, and the prediction branch. The joint loss function includes a weighted focusing classification loss for predicting vehicle-to-vehicle interaction patterns and a Gaussian negative log-likelihood loss for predicting aggressive tendencies. The weighted focusing classification loss is determined based on the predicted probability, class weights, and focusing parameters corresponding to the actual interaction patterns. The Gaussian negative log-likelihood loss uses the expected change in aggressive tendencies and variance of the mixture distribution as distribution parameters and is determined based on the actual change in aggressive tendencies. The joint loss function is obtained by combining the weighted focusing classification loss and the Gaussian negative log-likelihood loss according to preset weight coefficients.

8. The method for predicting driving behavior heterogeneity based on vehicle interaction patterns and aggressive tendencies as described in claim 7, characterized in that, The joint loss function is: , in, Denotes the joint loss function. This represents the weighted focusing classification loss corresponding to the prediction of vehicle-to-vehicle interaction patterns. This represents the Gaussian negative log-likelihood loss corresponding to a radical tendency in prediction. and These represent the weight coefficients corresponding to the weighted focusing classification loss and the Gaussian negative log-likelihood loss, respectively. The weighted focusing classification loss is , in, This represents the predicted probability corresponding to the actual interaction patterns between vehicles. Represents the category weight, and γ represents the hyperparameter focusing parameter; The Gaussian negative log-likelihood loss is: in, This represents the change in the actual aggressive tendency at the (k+1)th action stage relative to the kth action stage. This represents the expected change in aggressive tendency, obtained by fusing the average change in aggressive tendency output from each prediction branch based on the predicted probabilities of interaction patterns among candidate vehicles. This represents the fusion variance obtained through moment matching. This represents the standard deviation corresponding to the fusion variance.

9. The method for predicting driving behavior heterogeneity based on vehicle interaction patterns and aggressive tendencies as described in claim 1, characterized in that, The process of acquiring multiple vehicle state variables during vehicle interaction and performing univariate trend segmentation to obtain the trend state and effective trend boundary of each vehicle state variable includes: The inflection points in the time series curve of the vehicle state variable are detected, and a local trend interval is formed by taking two adjacent inflection points as the start and end positions. The change in the vehicle state variable and the duration within the local trend interval are calculated. The change is compared with the preset positive change threshold and negative change threshold respectively. When the change is greater than the positive change threshold, the trend state of the local trend interval is marked as increasing. When the change is less than the negative change threshold, it is marked as decreasing. In other cases, it is initially marked as stable. For a local trend interval initially marked as stable, if its duration is less than a preset short duration threshold, the durations of the adjacent local trend intervals before and after it are both greater than the short duration threshold, and the adjacent local trend intervals before and after it have the same increasing or decreasing trend state, the three intervals are merged, and the trend state is re-determined based on the variable change of the merged interval; otherwise, the stable local trend interval is retained. For the stable local trend intervals that are still retained after merging, calculate the average state of the vehicle state variables within the local trend interval. When the average state is greater than the preset division threshold, it is marked as high-level stability; otherwise, it is marked as low-level stability. Among them, the vehicle state variables include the vehicle speed, the vehicle acceleration, the headway between the vehicle and the vehicle in front, and the relative speed between the vehicle and the vehicle in front; the trend state belongs to the set of states consisting of increasing, decreasing, high-level stability and low-level stability.

10. A driving behavior heterogeneity prediction system based on vehicle interaction patterns and aggressive tendencies, characterized in that, include: The action phase construction module is used to acquire multiple vehicle state variables during vehicle interaction, perform univariate trend segmentation, and obtain the trend state and effective trend boundary of each vehicle state variable. The vehicle interaction mode determination module is used to merge the effective trend boundaries of each vehicle state variable into the same time axis to form a boundary set, divide the vehicle interaction process into multiple candidate action stages according to the boundaries, filter out the effective action stages, and extract the stage-level vehicle motion features and multivariate trend state combinations of each effective action stage. The aggressive tendency determination module is used to determine the inter-vehicle interaction pattern for each effective action phase based on the phase-level vehicle motion characteristics, and to determine the aggressive tendency of that effective action phase based on representative variables characterizing the degree of driving response. The historical action phase encoding module is used to select multiple consecutive historical action phases in chronological order and fuse the phase-level vehicle motion characteristics, multivariate trend state combinations, phase duration and aggressive tendency encoding of each action phase to obtain a shared historical state representation. The joint prediction module is used to predict the probability that the next action stage belongs to each candidate vehicle interaction mode based on the shared historical state representation. The shared historical state representation is input into the prediction branch corresponding to each candidate vehicle interaction mode to obtain the change in the aggressive tendency of the next action stage relative to the current action stage and its uncertainty under each interaction mode. It is also used to obtain the predicted value of the aggressive tendency in the next action stage based on the probability, the corresponding change in aggressive tendency, and the uncertainty, and output the vehicle interaction mode, aggressive tendency, and prediction uncertainty in the next action stage.