Psychological health education path generation method based on cross-modal semantic field and timing causal topology
By integrating multi-source psychological data through cross-modal semantic fields and temporal causal topology methods, we can achieve in-depth analysis of psychological states and generation of personalized educational paths. This solves the problems of difficulty in integrating multimodal data and insufficient adaptation of educational paths, and improves the accuracy and adaptability of mental health education.
Patent Information
- Application Number
- CN202611203245.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-10
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to effectively integrate multi-source heterogeneous psychological data, identify the hidden triggers behind changes in psychological states, and lack analysis of triggering events, leading to misjudgments of psychological states and insufficient generalization ability, making it difficult to personalize educational pathways.
A method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology is constructed. Through unified mapping of multimodal data, dynamic event triggering, temporal causal reasoning, weighted retrieval of historical cases, and adaptive generation of scenarios, a deep analysis of mental states and personalized education paths are achieved.
It significantly improves the accuracy and transparency of psychological state perception, enhances reasoning ability in complex situations, strengthens the reliability of risk assessment and the adaptability of intervention paths, and ensures that educational pathways continuously adapt to students' psychological changes.
Smart Images

Figure CN123180477A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the interdisciplinary field of intelligent intervention for mental health and artificial intelligence technology, specifically involving a method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology. Background Technology
[0002] Mental health education for college students is gradually shifting from a traditional experience-based approach to a data-driven and intelligently assisted model. However, existing technologies still have significant limitations in real-world educational scenarios. The mental state of college students is not determined by a single signal, but rather is a complex evolutionary result of the combined effects of multi-source heterogeneous information, including social media texts, classroom behavior sequences, sleep rhythm data, and consumption behavior trajectories. Different modalities of data exhibit significant differences in representation, sampling frequency, semantic granularity, and time scale, leading to a persistent problem of multi-source heterogeneity, implicit dispersion, and difficulty in integrating students' mental states.
[0003] Traditional methods for identifying mental health largely rely on questionnaires, interviews, or unimodal statistical analysis. Essentially, they involve superficial comparisons of discrete symbols or single observations, failing to establish deep semantic correspondences between cross-modal signals and effectively identifying the hidden triggers behind changes in mental states. Furthermore, current technologies for identifying mental states typically remain at a static, cross-sectional level, labeling individuals as anxious, depressed, or stressed based on limited observational information at a given moment, lacking in-depth analysis of the key events that trigger shifts in mental states and their causal chains. For example, short-term anxiety caused by exam failure and learned helplessness resulting from long-term academic pressure may appear highly similar in surface emotional expression, but their corresponding psychological intentions, risk levels, and intervention strategies are significantly different. Traditional end-to-end models compress events, emotions, and intentions into an uninterpretable parameter space, making the intermediate reasoning process unobservable and untraceable, leading to difficulties in pinpointing the causes of misjudgments of mental states and insufficient generalization ability in rare or complex psychological situations.
[0004] Therefore, there is an urgent need to propose a method for generating mental health education pathways based on cross-modal semantic fields and temporal causal topology, in order to solve problems such as the difficulty in integrating multimodal psychological data, the inability to interpret event triggering mechanisms, the difficulty in identifying temporal causal relationships, the difficulty in retrieving historical multimodal psychological language, the inaccuracy of risk stratification, the difficulty in transforming course content, and the difficulty in dynamically generating educational pathways in existing technologies. Summary of the Invention
[0005] This invention provides a method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology. This method revolves around the entire process of mental health education for university students, constructing a cross-modal semantic field collaborative fusion module for multimodal psychological state perception, a module for dynamic event-triggered thought chain reasoning and higher-order psychological intention analysis, a temporal-causal collaborative analysis module for temporal modeling and causal inference, a five-tuple memory weighted retrieval and reconstruction module based on historical multimodal psychological semantics, a dynamic hierarchical early warning module for risk evolution tracking, a semantically driven intelligent transformation module for mental health education from standardized courses to personalized paths, a scenario-adaptive driven evolutionary neural network atomic subtask space architecture search module, and a personalized path dynamic generation module driven by demand adaptation and effect feedback.
[0006] The technical solution designed in this invention is as follows:
[0007] A method for generating mental health education pathways based on cross-modal semantic fields and temporal causal topology includes the following steps:
[0008] Step S1: Acquire multimodal psychological state data and map it uniformly to a shared semantic space. Construct an asynchronous temporal semantic interpolation completion mechanism for the differences in sampling rates of different modalities, map low-frequency modal semantic states to high-frequency time axes, and output a unified semantic field representation.
[0009] Step S2: Construct a key life event semantic perceptron to identify key life events from a unified semantic field representation; trigger event activation pulses based on the confidence level of key life events, and the system performs multi-hop causal inference along a preset thought chain reasoning framework to generate a high-order psychological intention representation and record the semantic trajectory of the reasoning chain.
[0010] Step S3: Extract temporal features from the higher-order mental intention representation at three time granularities: intraday window, weekly window, and semester window. Then, fuse these three temporal features to obtain a unified temporal mental state representation.
[0011] Based on the unified temporal psychological state representation, the local curvature of the psychological state trajectory on the time scale is calculated, and the degree of deviation of the current psychological state trajectory from the historical norm is calculated to obtain the structural fracture score representation.
[0012] Calculate the counterfactual causal effect value for any two relevant psychological indicators a and b, representing the effect of the psychological indicator a on b. Psychological indicators after virtual intervention The intensity of response changes; counterfactual causal effect value, structural fracture score representation, and unified temporal psychological state representation are collectively used as the results of in-depth analysis of psychological state evolution;
[0013] Step S4: Encode historical psychological cases into memory units as a retrieval library. Using the psychological state evolution deep analysis results output in step S3 as the query anchor, design a multi-granular semantic neighborhood activation search mechanism to perform hierarchical recall and retrieve the historical psychological cases with the closest semantic distance.
[0014] The recalled historical psychological cases are weighted and fused according to the dynamic memory intensity weight to generate an enhanced psychological state representation;
[0015] Step S5: Construct a continuous risk potential energy field estimator. Based on the deep analysis results of psychological state evolution and the enhanced psychological state representation, output the risk potential energy value. Based on the risk potential energy value, construct the early warning trigger criterion and output the hierarchical early warning result. After the early warning is triggered, the system evaluates the intervention effect based on the subsequent risk potential energy change rate.
[0016] Step S6: Construct a semantic deconstructor for psychological intervention in the course unit, perform functional semantic analysis on each course unit, and form a course semantic fingerprint database consisting of applicable psychological state types, intervention mechanism categories, and skill training objectives.
[0017] Construct a student individual psychological needs profile builder to generate a personalized needs vector with priority weight distribution based on the individual's current psychological intervention needs.
[0018] Based on the manifold distance between the personalized demand vector and the course semantic fingerprint, the course units are attracted, rearranged, and aggregated; the final output is a personalized course unit reorganization sequence.
[0019] Step S7: Using the student's current psychological state vector, contextual semantic encoding, and risk evolution trajectory as multi-source inputs, construct a context-adaptive three-dimensional fitness landscape generator to dynamically generate a task space fitness terrain composed of the intervention effectiveness surface, cognitive load feasibility surface, and context matching degree surface; construct a context-aware dual-operator evolution mechanism to perform topological mutation and topological recombination on the task space fitness terrain and output the optimal atomic sub-task sequence combination scheme.
[0020] Step S8 involves further arranging the course reorganization sequence and atomic sub-task sequence into a mental health education path, and dynamically adjusting the education path as the individual's state continues to evolve.
[0021] Furthermore, step S1 is specifically as follows:
[0022] Step S101: Obtain four heterogeneous modalities: social media text, classroom behavior sequence, sleep rhythm data, and consumption behavior trajectory. Construct dedicated semantic geometric compression channels for each modality, map the original modalities to a shared semantic space, and form an equal-dimensional semantic latent vector sequence.
[0023] Step S102: Using the psychological state category label as the semantic field polarization center, construct a field polarization convergence mechanism that attracts similar types and repels dissimilar types, driving the representations of each modality to achieve equidistant alignment in a unified semantic manifold.
[0024] Step S103: An asynchronous temporal semantic interpolation completion mechanism is constructed to address the differences in sampling rates of different modalities. The low-frequency modal semantic states are mapped to the high-frequency time axis, and the high-frequency aligned states of each modality are fused to obtain a unified semantic field representation.
[0025] Furthermore, step S2 is specifically as follows:
[0026] Step S201: Construct a key life event semantic perceptron, identify key life events based on a unified semantic field representation, and output an event confidence vector;
[0027] A dynamic sensing threshold is set. When the confidence level of an event exceeds the dynamic sensing threshold, the system triggers an event activation pulse. The triggered event activation pulse includes the event type code, trigger strength, occurrence time, and context vector.
[0028] Step S202: After the event activation pulse is generated, the system performs multi-hop causal deduction along the thought chain reasoning framework. The thought chain includes the first hop emotional impact assessment result, the second hop cognitive attribution path result, and the third hop action intention semantic result. The output of the third hop action intention semantic result serves as a higher-order psychological intention representation.
[0029] Step S203: Record the semantic trajectory of the reasoning chain that starts with the unified semantic field representation and ends with the higher-order mental intention representation; the higher-order mental intention parsing result is composed of the higher-order mental intention representation and the semantic trajectory of the reasoning chain.
[0030] Furthermore, step S3 is specifically as follows:
[0031] Step S301: Construct three time granularities: intraday window, weekly window, and semester window. Extract time-series features corresponding to the granularities of higher-order psychological intention representations using a time-series feature extraction function. Then, merge the time-series features of the three time granularities into a unified time-series psychological state representation.
[0032] Step S302: Calculate the individual i at time i based on the unified temporal mental state representation. The local curvature of the psychological state trajectory is denoted as The discrete calculation form is written as:
[0033]
[0034] in, Denotes the Euclidean norm. Indicates the prevention of zero constant, Represents the unified temporal psychological state of individual i at time t; defines the structural fracture score. for:
[0035]
[0036] in, The mean curvature of the historical baseline. The standard deviation of the historical baseline curvature. It is a very small constant;
[0037] Step S303, let any two highly correlated psychological indicators be denoted as follows: and The confidence level of the causal direction between the two is denoted as Through the Apply virtual intervention and compare before and after the intervention. The distribution change was used to calculate the counterfactual causal effect value. :
[0038]
[0039] in, Represents the mathematical expectation; This represents a virtual intervention operation within the Pearl causal inference framework. Indicates the reference intervention value applied to psychological indicators;
[0040] The final output of the in-depth analysis of the evolution of mental states includes a unified temporal representation of mental states, a structural fracture score, and a counterfactual causal effect value.
[0041] Furthermore, step S4 is specifically as follows:
[0042] Step S401, let the historical psychological case number be denoted as Each historical psychological case is coded as a five-tuple memory unit. :
[0043]
[0044] in, This represents the index key, used to describe the initial psychological state characteristics of the case; This represents a summary of the trajectory of psychological evolution. This indicates the record of the intervention response effect; Indicates contextual or scene tags; This represents the dynamic memory strength weight.
[0045] Dynamic memory strength weight The effect increases with the number of successful case retrievals and decreases with the length of storage time.
[0046] Step S402: Establish query anchor points for the deep analysis results of psychological state evolution, calculate the semantic distance between the current query anchor point and the index keys of each historical psychological case, sort them according to semantic distance from smallest to largest, and select the closest ones. A recall set is formed from historical psychological cases;
[0047] Step S403: The historical psychological cases in the recall set are weighted and fused according to the dynamic memory intensity weight to generate an enhanced psychological state representation.
[0048] Furthermore, step S5 is specifically as follows:
[0049] Step S501: Construct a continuous risk potential energy field estimator. Based on the deep analysis results of the psychological state evolution and the enhanced psychological state representation, output the individual i at time [time]. The risk potential energy value is used to represent the continuous intensity of the current psychological risk, and after being continuously arranged along the time axis, a dynamic risk potential energy curve is formed.
[0050] Step S502: Set an adaptive critical surface and an irreversible degradation attractor domain. The adaptive critical surface is a risk threshold obtained by dynamic calibration based on historical distribution, and the irreversible degradation attractor domain is based on the irreversible degradation identification network. A comprehensive judgment is made based on the results of in-depth analysis of psychological state evolution, risk potential value, risk potential change rate, and semantic trajectory of reasoning chain. The counterfactual causal effect value in the results of in-depth analysis of psychological state evolution is weighted and filtered by the confidence of its corresponding causal direction when participating in the judgment. A three-level early warning triggering criterion is constructed: early perception early warning is triggered by the rate of increase of risk potential, mid-term intervention early warning is triggered by the risk potential value crossing the adaptive critical surface, and emergency response early warning is triggered by the judgment result of the irreversible deterioration attraction subdomain.
[0051] Step S503: After the warning is triggered, evaluate the intervention effect based on the subsequent risk potential change rate and provide intervention feedback.
[0052] Furthermore, step S6 is specifically as follows:
[0053] Step S601: For each standardized course unit in the college mental health education curriculum system, design a course unit psychological intervention semantic deconstructor, perform semantic analysis from three functional dimensions: applicable psychological state type, intervention mechanism category, and skill training objective, and output the course semantic fingerprint of the unit; the semantic fingerprints of all course units together constitute the standardized course semantic fingerprint database.
[0054] Step S602: Construct a personalized demand vector based on the individual's psychological intervention needs at the current stage, including a unified semantic field representation, an enhanced psychological state representation, and a risk-related summary, wherein the risk-related summary includes risk potential energy, risk potential energy change rate, adaptive critical surface, irreversible deterioration attractor domain, and warning level.
[0055] Step S603: Calculate the semantic distance between the personalized demand vector and the semantic fingerprint of each course as the semantic gravity value. Sort according to the semantic gravity value and combine with the prerequisite relationship constraint, cognitive load constraint and risk level constraint to generate a personalized course unit reorganization sequence.
[0056] The prerequisite relationship constraint is given by the course unit dependency matrix; the cognitive load constraint is obtained by comparing the course unit load value with the individual's current bearable load; and the risk level constraint is obtained by matching the course unit's adaptive risk level with the current warning level.
[0057] Furthermore, step S7 is specifically as follows:
[0058] Step S701: The unified semantic field representation, the unified temporal mental state representation, and the enhanced mental state representation are fused to obtain the current mental state vector, and the intervention efficacy surface is generated based on the current mental state vector;
[0059] Event activation impulses and context vector codes are fused to obtain contextual semantic codes, and a cognitive load feasibility surface is generated based on these codes.
[0060] The dynamic risk potential energy curve and the early warning result summary are fused to obtain the risk evolution trajectory summary, and a scenario matching degree surface is generated based on this.
[0061] These three elements together constitute the target terrain for the atomic subtask architecture search in the current scenario.
[0062] Step S702: Construct a context-aware dual-operator evolution mechanism. The initial candidate atomic subtask architecture individual population is randomly generated by the system. When generating, it must satisfy the prior relationship constraint, cognitive load constraint and risk level constraint.
[0063] Design topological mutation and topological recombination operators. The topological mutation operator performs local topological perturbation on the current architecture individuals in the target terrain to generate mutated individuals; the topological recombination operator performs gene fragment recombination of high-fitness individuals near the Pareto optimal front of the current population to generate recombined individuals.
[0064] Step S703: After multiple rounds of evolutionary search, the system selects the architecture individual with the best overall performance under the target terrain as the optimal atomic subtask sequence architecture blueprint.
[0065] Furthermore, step S8 is specifically as follows:
[0066] Step S801: The personalized course unit reorganization sequence and atomic subtask sequence architecture blueprint are input into the cross-semantic space alignment projector to generate an initial path scheme;
[0067] Step S802: Obtain the individual's real-time psychological state feedback signal, combine the risk potential value, risk potential change rate and enhanced psychological state representation, and obtain the path adjustment driving vector through the path drift response function to update the path;
[0068] Step S803 involves updating knowledge through statistical patterns of path execution effects across individuals and at the group level, generating a personalized dynamic path for mental health education.
[0069] Compared with the prior art, the present invention has the following beneficial effects:
[0070] This invention significantly improves the completeness and accuracy of psychological state perception. Addressing the problems of inconsistent representation of multi-source heterogeneous psychological data, information fragmentation between modalities, and temporal misalignment in existing technologies, this invention maps heterogeneous data such as text, behavior, physiology, and consumption to a unified semantic manifold and utilizes an asynchronous temporal semantic interpolation completion mechanism to eliminate temporal differences, achieving deep semantic collaboration and laying a solid foundation for subsequent accurate reasoning.
[0071] This invention significantly improves the transparency and generalization ability of reasoning in complex psychological situations. Addressing the problems of black-box reasoning and lack of interpretability in existing technologies, this invention designs a dynamic event-triggered thought chain reasoning and high-order psychological intention analysis module. This transforms the end-to-end black-box mapping into a traceable multi-hop causal deduction, making the connection path between events, emotions, attributions, and intentions clearly traceable, thus enhancing the reliability of reasoning in complex scenarios.
[0072] This invention significantly enhances the depth and reliability of psychological risk assessment. Addressing the shortcomings of existing technologies that focus only on surface correlations and are prone to misjudging the nature of fluctuations, this invention designs a time-series-causal collaborative analysis module. This module analyzes the evolutionary process from two dimensions: trend persistence and driving causality, accurately distinguishing between occasional fluctuations and continuous deterioration. This avoids decision-making biases based on correlations and provides a scientific basis for risk warning.
[0073] This invention significantly enhances the robustness of reasoning in low-data-density scenarios. Addressing the issues of representational distortion and lack of historical experience utilization in existing technologies when observations are sparse, this invention designs a quintuple memory-weighted retrieval and reconstruction module. This module transforms historical psychological cases into empirical priors, filling information gaps and improving reasoning accuracy when states are hidden or data is incomplete, thus expanding the system's applicability.
[0074] This invention significantly improves the timeliness, stratification, and accuracy of risk identification and resource allocation. Addressing the issues of lag in static thresholds and disconnect between early warning and intervention in existing technologies, this invention achieves continuous tracking of risk evolution through the design of a dynamic risk potential energy curve and realizes coordinated early warning and intervention through the design of an intervention effectiveness feedback loop. This avoids response delays and resource waste, thereby improving intervention efficiency.
[0075] This invention effectively addresses the long-standing pain point of insufficient adaptation between standardized courses and students' heterogeneous needs. It achieves a shift in mental health education from uniform supply to personalized and precise matching. By designing a semantically driven transformation module to establish a semantic mapping between courses and needs, the invention reorganizes course units as required, precisely adapting to students' dynamic and differentiated psychological needs, and enhancing the relevance of education.
[0076] This invention significantly improves the scenario adaptability, feasibility, and topological flexibility of intervention paths. Addressing the lack of dynamic adaptation in existing technologies with fixed processes, this invention designs a scenario-adaptive architecture search module that dynamically decomposes macro-level objectives into scenario-specific atomic subtasks, thereby enhancing the feasibility and efficiency of the solution.
[0077] A closed-loop collaborative system was constructed, significantly improving the long-term adaptability and intervention effectiveness of the educational pathway. Addressing the issues of existing technologies' unidirectional static design and lack of iterative optimization, this invention integrates initialization, adjustment, and global optimization through a design requirement-feedback collaborative module, achieving a dynamic closed loop of perception-early warning-intervention, ensuring that the educational pathway continuously adapts to changes in students' psychological states. Attached Figure Description
[0078] Figure 1 This is a schematic diagram of the overall architecture of the method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology provided in this embodiment of the invention.
[0079] Figure 2 This is a detailed flowchart illustrating the cross-modal semantic field collaborative fusion module for constructing a multimodal psychological state perception cross-modal semantic field collaborative fusion module in step S1 of this embodiment of the invention.
[0080] Figure 3 This is a detailed flowchart illustrating step S2 of this embodiment of the invention, which involves constructing a dynamic event-triggered thought chain reasoning and higher-order psychological intent analysis module.
[0081] Figure 4 This is a detailed flowchart illustrating step S3 of the present invention, which constructs a time-causal collaborative analysis module that combines time-series modeling and causal inference.
[0082] Figure 5 This is a detailed flowchart of step S4 of the embodiment of the present invention, which is a five-tuple memory weighted retrieval and reconstruction module based on historical multimodal psychosemantics.
[0083] Figure 6 This is a schematic diagram of the logical flow of step S5 in this embodiment of the invention, which constructs a dynamic hierarchical early warning module for risk evolution tracking.
[0084] Figure 7 This is a detailed flowchart illustrating step S6 of this embodiment of the invention, which describes the construction of a semantically driven intelligent transformation module for mental health education, shifting from standardized courses to personalized pathways.
[0085] Figure 8 This is a detailed flowchart illustrating step S7 of this embodiment of the invention, which involves constructing a scenario-adaptive driven evolutionary neural network atomic subtask space architecture search module.
[0086] Figure 9 This is a detailed flowchart of step S8 in this embodiment of the invention, which describes the construction of a personalized path dynamic generation module driven by demand adaptation and effect feedback. Detailed Implementation
[0087] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the invention.
[0088] This embodiment targets the scenario of mental health education for university students. Based on multimodal psychological state data formed by students during their time at university, historical psychological intervention case data, and university mental health education curriculum resource data, it constructs an intelligent generation system for university mental health education paths driven by cross-modal semantic field cognitive reconstruction and temporal causal topological evolution. During implementation, the system follows these steps: constructing a cross-modal semantic field collaborative fusion module for multimodal psychological state perception; constructing a module for dynamic event-triggered thought chain reasoning and higher-order psychological intention analysis; constructing a temporal-causal collaborative analysis module for temporal modeling and causal inference; constructing a five-tuple memory weighted retrieval and reconstruction module based on historical multimodal psychological semantics; constructing a dynamic hierarchical early warning module for risk evolution tracking; constructing a semantically driven intelligent transformation module for mental health education from standardized courses to personalized paths; constructing a scenario-adaptive driven evolutionary neural network atomic sub-task space architecture search module; and constructing a personalized path dynamic generation module driven by demand adaptation and effect feedback. This ensures the complete implementation of the system's functions. Figure 1 As shown, the specific steps are as follows:
[0089] Step S1: Construct a cross-modal semantic field collaborative fusion module for multimodal mental state perception. For example... Figure 2As shown, this step aims to uniformly map multimodal psychological state data (such as social media texts, classroom behavior sequences, sleep rhythm data, and consumption behavior trajectories) that are heterogeneous in origin, structure, and sampling to a comparable, inferable, and fusionable semantic space. By designing semantic geometric compression, field polarization convergence, and asynchronous temporal interpolation completion, it eliminates dimensional differences between modalities, feature interference, and temporal mismatch problems, forming a unified semantic field representation shared by subsequent inference and decision-making modules. This step includes the following sub-steps.
[0090] Step S101 involves designing a dedicated semantic geometry compression channel to generate an equal-dimensional semantic latent representation on a unified manifold. This sub-step constructs dedicated semantic geometry compression channels for four heterogeneous modalities: social media text, classroom behavior sequences, sleep rhythm data, and consumer behavior trajectories. These channels map the original signals to a shared semantic space, providing a unified geometric basis for subsequent cross-modal semantic field polarization.
[0091] To standardize the notation, let the student ID be . The modal number is , respectively corresponding to text modalities Behavioral modalities Physiological modalities and consumption patterns The time index is .
[0092] Individual i at time The The primitive modal data is denoted as Its form includes variable-length text sequences, behavioral event sequences, continuous physiological signal fragments, or sets of consumption events. For each modality, a dedicated semantic geometric compression channel is constructed. By feature extraction network Semantic geometric projection layer The system consists of three cascaded steps: semantic geometric projection layer, hyperspheric normalization layer, and hyperspheric normalization layer. The semantic geometric projection layer uses learnable geometric projection mapping to nonlinearly compress the heterogeneous feature vectors output by the feature extraction network into d-dimensional semantic vectors. The final output of hyperspheric normalization is an equal-dimensional semantic latent vector. ,lie in 1-dimensional unit hypersphere This completely eliminates the dimensional differences and amplitude interference between modes.
[0093] Modal-specific feature extraction networks The detailed design is as follows:
[0094] Text Modal Encoder We designed a pre-trained language model based on Transformer as the feature extraction skeleton to perform word-level semantic encoding on social media texts. We also introduced a trainable emotion intensity perception head and a syntactic structure attention layer to extract features such as emotion expression intensity, semantic tendency polarity, and cognitive expression complexity, forming a text semantic feature vector.
[0095] Behavioral modal encoder The method uses a temporal convolutional network combined with gated recurrent units to extract local change patterns and long-range dependencies of classroom behavior sequences. The input is an action label sequence and its duration. The output features include action rhythm entropy, teacher-student interaction frequency, and classroom participation fluctuation patterns, resulting in a dynamic feature vector of behavior.
[0096] Physiological modal encoder For continuous physiological signals such as sleep rhythm, a multi-scale one-dimensional convolution and self-attention mechanism is designed to simultaneously capture short-term fluctuations and nighttime trends from the original signal segments, extract features such as sleep continuity index, circadian rhythm stability, and stress-induced autonomic nervous system fluctuation amplitude, and construct physiological state feature vectors.
[0097] Consumer Modal Encoder The discrete consumption event set is aggregated by time window, and the indefinite cardinality event set is processed by deep ensemble coding network. By designing time interval-aware location coding, the temporal structure of consumption behavior is captured, and features such as consumption frequency distribution, consumption time period offset, and life regularity index are extracted to form a consumption behavior feature vector.
[0098] The feature vectors of each of the above modalities are mapped to the same geometric projection layer through their respective geometric projection layers (composed of fully connected layers and activation functions). 3D space, then through Normalization forces all representations to lie on the unit hypersphere. This design not only makes the semantic latent vectors of arbitrary modalities... All representations are of equal dimension and scale. More importantly, the inner product on the hypersphere naturally measures semantic directional similarity, providing a directly operable geometric basis for the subsequent semantic field polarization convergence mechanism—where similar mental states attract each other across modalities, while dissimilar representations repel each other. Similar representations cluster on the sphere, while dissimilar representations move away, thereby enhancing the discriminative power and aggregation of cross-modal features.
[0099] Ultimately, this dedicated semantic geometry compression channel outputs a high-fidelity, equal-dimensional semantic latent vector sequence. This will serve as a reliable input basis for the construction of a unified semantic field and asynchronous temporal interpolation completion.
[0100] Step S102: Construct a field polarization convergence mechanism to achieve equidistant alignment of cross-modal semantic manifolds. This is achieved by obtaining the alignment of the unit hypersphere through S101. semantic latent vectors on Subsequently, this sub-step uses the mental state category label as the semantic field polarization center to construct a field polarization convergence mechanism that attracts similar entities and repels dissimilar ones. This mechanism drives the equidistant alignment of modal representations within a unified semantic manifold—that is, different modal representations of similar mental states cluster into the same neighborhood, while maintaining a uniform semantic distance between dissimilar mental state representations. To achieve equidistant alignment across modal manifolds, a semantic field polarization loss is defined. It is composed of a weighted average of attraction terms of the same kind and repulsion terms of the opposite kind:
[0101]
[0102] in, The semantic field polarization loss is used as the optimization objective, which constrains similar representations to be close to each other on the manifold and dissimilar representations to be far away from each other by a specified interval.
[0103] In the formula, , Both represent modal indices, not power exponents. and These correspond to any two input modalities; the superscript in the mental state label. and This only indicates that the label comes from the corresponding modality, not that it represents an exponentiation. For similar attractors, For outlier exclusion terms:
[0104]
[0105]
[0106] in, This is an indicator function; it returns 1 if the condition is true, and 0 otherwise. The mental state category label for individual i at time t in modality m. It is a semantic distance metric function, because Located on a unit hypersphere, the spherical distance (arc length) is designed as the metric, i.e. ,in As a variable index, it is monotonically equivalent to the inner product, naturally adapts to hyperspherical geometry, and ensures geometric consistency of equidistant alignment. As the heterogeneous margin boundary threshold, the distance on the manifold for the cross-modal representation of heterogeneous mental states is required to be no less than [value missing]. , is the key parameter for achieving equidistant alignment—when the spacing between all heterogeneous pairs is pushed to , When they are nearby, different category centers on the semantic manifold naturally form an approximately equidistant configuration.
[0107] When individual i is at time... modality With mode When corresponding to the same mental state label, the spherical distance between their semantic vectors is directly minimized, forcing the same cross-modal representations of the same type to converge to the same attraction domain on the manifold, thus eliminating the semantic drift caused by modal heterogeneity.
[0108] When the labels are different, if the current spherical distance is less than the preset boundary This results in a penalty, pushing outlier representations to separate outside the boundary. This hinge loss form ensures that outlier pairs that have met the spacing requirements are no longer penalized, focusing on optimizing samples that do not meet the requirements, so that different mental state categories maintain clear and uniform spacing on the manifold;
[0109] Through the Through gradient optimization, the latent semantic vectors of each modality gradually converge on the hyperspherical manifold to an ideal configuration that is compact within classes and equidistant between classes. This configuration not only strengthens the correlation between different modal features under the same psychological state, but also provides a geometrically stable and semantically consistent unified semantic field representation basis for the subsequent asynchronous temporal semantic interpolation completion in step S1.
[0110] Step S103: Construct an asynchronous temporal semantic interpolation completion mechanism for the sampling rate differences of different modalities, map the semantic state of low-frequency modalities to the high-frequency time axis, and output a unified semantic field representation.
[0111] Among them, the low-frequency modal semantic state refers to the state in step S101 in the modal The original sampling time yields an equal-dimensional semantic latent vector; when a certain moment on the high-frequency unified time axis is not directly sampled by the mode, the asynchronous temporal semantic interpolation operator completes the mode state into a high-frequency aligned state. Furthermore, the unified semantic field representation... The data is obtained by fusing high-frequency aligned states from various modalities, ensuring that the event perceiver in step S2 receives cross-modal psychological state expressions under the same time reference. Step S2 involves constructing a dynamic event-triggered thought chain reasoning and higher-order psychological intent parsing module. For example... Figure 3 As shown, this step aims to continuously perceive key life events from a unified semantic field representation, and to develop structured, traceable thought chains around these events to obtain students' deeper psychological intentions. This step includes the following sub-steps.
[0112] Step S201: Construct a key life event semantic perceptron and output event activation impulses. This sub-step constructs the key life event semantic perceptron, denoted as... This is used to identify whether there are high-psychological-impact events such as peak academic stress, social relationship disruption, or sudden changes in sleep rhythm at the current moment. Individual i at time... The event confidence vector is denoted as Its expression is:
[0113]
[0114] Among them, the event confidence vector This represents the probability distribution of different candidate event types. Let the dynamic sensing threshold be denoted as... When the confidence level of a certain event type exceeds the dynamic sensing threshold, the system triggers an event activation pulse. The triggered event activation pulse is denoted as... It includes event type encoding Trigger strength Time of occurrence and context vector .Right now Among them, event type encoding Indicates the type of event that triggers the event; trigger strength. Indicates the degree of impact of an event on a psychological state; situation vector. It represents the contextual semantic information at the time the event occurred.
[0115] Step S202: Construct a multi-hop thought chain reasoning framework to generate a high-order mental intention representation. Event activation impulse. After generation, the system performs multi-hop causal reasoning along a pre-set thought chain framework. Let the result of the first hop, the emotional impact assessment, be denoted as... The result of the second-step cognitive attribution path is denoted as The semantic result of the third jump action intention is denoted as the higher-order mental intention representation. Correspondingly, we have:
[0116]
[0117] in, This represents an emotional impact assessment function, used to analyze the immediate impact of an event on emotional states; This represents the cognitive attribution path inference function, used to estimate how students internally interpret events; This represents the action intent generation function, used to output a high-dimensional semantic representation of psychological intent.
[0118] Step S203: Construct a semantic trajectory tracking mechanism for the reasoning chain and output traceable intent parsing results. To make the reasoning conclusions transparent and verifiable, this sub-step records the semantic drift path throughout the entire process from event input to psychological intent output. Let the semantic trajectory of the reasoning chain be denoted as... ,but:
[0119]
[0120] Among them, the semantic trajectory of the reasoning chain This represents the complete chain of reasoning supporting the current mental intention conclusion. Ultimately, the system output consists of a higher-order mental intention representation. and the semantic trajectory of the inference chain The combined results of the analysis of higher-order psychological intentions.
[0121] Step S3 involves constructing a time-series-causal co-analysis module that integrates time-series modeling and causal inference. This step aims to jointly analyze the persistence, transitions, and causal driving mechanisms of students' psychological states. For example... Figure 4 As shown, this step includes the following sub-steps.
[0122] Step S301 involves constructing a three-granularity nested time window semantic evolution capture device to generate a unified temporal psychological state representation. This sub-step constructs intraday, weekly, and semester windows respectively, extracting temporal features corresponding to the granularity of the higher-order psychological intention representation using a temporal feature extraction function. The temporal features of the three time granularities are then fused into a unified temporal psychological state representation, comprehensively reflecting short-term oscillations, medium-term trends, and long-term structural turning points. This representation subsequently serves as the state trajectory input for structural fracture detection, risk potential estimation, and scenario-adaptive landscape generation.
[0123] Step S302: Construct a structural fracture detection operator to distinguish between occasional fluctuations and continuous deterioration. This sub-step determines whether the psychological state trajectory shows continuous deterioration. Let individual i at time... The local curvature of the psychological state trajectory is denoted as The historical baseline curvature mean is denoted as The standard deviation of the historical baseline curvature is denoted as Define structural fracture scoring. for:
[0124]
[0125] Among them, structural fracture score This indicates the degree to which the current trajectory deviates significantly from historical norms; This represents a minimal constant to prevent the denominator from being zero. (This is used in structural fracture scoring.) When the threshold for determining continuous deterioration is exceeded, the system will determine the current state as a trend-driven continuous deterioration; otherwise, it will determine it as an occasional disturbance or short-term fluctuation.
[0126] The local curvature is used to measure the drastic change in the trajectory direction of the mental state at adjacent time points, rather than being directly given by new external parameters. Its discrete calculation form can be written as:
[0127]
[0128] in, This represents the Euclidean norm, used to calculate the Euclidean distance between vectors. In the formula, it measures the magnitude of the difference between mental state vectors at adjacent time points. This represents the zero-delimiter constant for curvature calculation. It is a very small positive number used to prevent numerical overflow caused by a zero denominator, without affecting the relative magnitude of curvature. This represents the unified temporal psychological state of individual i at time t;
[0129] Step S303: Construct a hierarchical cognitive attribution network with causal orientation and output the deep analysis results of psychological state evolution. Based on temporal modeling, this sub-step establishes a hierarchical cognitive attribution network with causal orientation among multimodal psychological indicators. Let any two highly correlated psychological indicators be denoted as... and The confidence level of the causal direction between the two is denoted as Through the analysis of Apply virtual intervention and compare before and after the intervention. The distribution change was used to calculate the counterfactual causal effect value. :
[0130]
[0131] in, Represents the mathematical expectation; This represents a virtual intervention operation in the Pearl causal inference framework, used to force a variable to a specified value and cut off the influence of its original parent node; The reference intervention value for psychological indicators can be provided by historical health baseline, expert-set thresholds, or counterfactual generators.
[0132] Among them, the counterfactual causal effect value Indicates the indication Indications after virtual intervention The intensity of response changes. Based on the causal effect values of multiple candidate directions, the system calculates the hierarchical cognitive posterior probability of causal directions and eliminates spurious causal relationships. The final output of the deep analysis result of psychological state evolution is denoted as... It also includes a unified temporal representation of mental states. Structural fracture score and counterfactual causal effect value .
[0133] Step S4 involves constructing a five-tuple memory-weighted retrieval and reconstruction module based on historical multimodal psychosemantics. This step aims to fill structural gaps in the current observation state by activating historical psychological case experiences, thereby improving the robustness of subsequent risk warnings and path generation. Figure 5 As shown, this step includes the following sub-steps.
[0134] Step S401: Construct a structured quintuple psychological case memory encoding mechanism. Let the historical psychological case number be denoted as... This step encodes each historical psychological case into a five-tuple memory unit. ,Right now:
[0135]
[0136] in, The initial index key is used to describe the initial psychological state characteristics of the case. This represents a summary of the trajectory of psychological evolution. This indicates the record of the intervention response effect; Indicates contextual or scene tags; This represents the dynamic memory strength weight.
[0137] Dynamic memory strength weight The performance improves with increasing successful retrieval frequency and decreases with longer storage time. Let's consider a case... The number of hits is recorded as Storage duration is denoted as The enhancement coefficient is denoted as The decay time constant is denoted as ,but:
[0138]
[0139] Among them, dynamic memory strength weight This indicates the strength of the contribution of the historical psychological case to the enhanced reasoning in retrieval at the current moment.
[0140] Step S402: Construct a multi-granularity semantic neighborhood activation search mechanism to recall... Historical psychological case studies. In-depth analysis of the evolution of psychological states. The query anchor point in the middle is denoted as This sub-step performs a coarse-to-fine hierarchical neighborhood search on the memory. First, it calculates the semantic distance between the current query anchor and the index keys of each historical psychological case, denoted as... :
[0141] Sort by semantic distance from smallest to largest, and select the nearest one. A recall set was formed from historical psychological cases. .
[0142] Step S403: Perform semantic weighted fusion to generate an enhanced mental state representation. Apply this to the recall set. Historical psychological cases are weighted and fused according to the dynamic memory strength weight to generate an enhanced psychological state representation. Its expression is:
[0143]
[0144] Among them, enhancing mental state representation This represents a reconstructed semantic representation that integrates current observations with historical priors. This represents a function for summarizing historical psychological case studies.
[0145] Step S5 involves constructing a dynamic, hierarchical early warning module for risk evolution tracking. This step aims to continuously estimate, hierarchically identify, and trigger interventions for student risks, forming a feedback-enabled and scalable early warning mechanism. Figure 6 As shown, this step includes the following sub-steps.
[0146] Step S501: Construct a continuous risk potential energy field estimator and generate a dynamic risk potential energy curve. This sub-step constructs the continuous risk potential energy field estimator, denoted as... Based on the deep analysis results of the psychological state evolution output in step S3 The enhanced mental state representation output in step S4 Output the time of individual i at time i Risk potential value :
[0147]
[0148] Among them, risk potential value This represents the continuous intensity of the current psychological risk. To reflect the uncertainty of the estimate, the boundaries of its confidence interval are also calculated. . represents the confidence interval boundary for the risk potential estimate, where The lower realm This is the upper bound. This interval is used to quantify the range of uncertainty in the risk potential energy estimation; the wider the interval, the more uncertain the current estimate. Arranged continuously along the time axis, it forms a dynamic risk potential energy curve. The first time derivative of the risk potential is denoted as... . This indicates the current level of psychological risk itself. It represents the rate at which risk potential energy changes over time.
[0149] Step S502: Construct a three-level early warning triggering criterion and output hierarchical early warning results. The three-level early warning triggering criterion is as follows: early perception early warning is triggered by the rate of increase of risk potential energy; mid-term intervention early warning is triggered by the risk potential energy value crossing the adaptive critical surface; and emergency response early warning is triggered by the determination result of the irreversible deterioration attraction subdomain.
[0150] Specifically, an irreversible deterioration identification network is introduced to determine whether the current psychological state evolution trajectory has entered an irreversible deterioration attractor domain. This irreversible deterioration identification network uses the results of deep analysis of psychological state evolution. Risk potential value Risk potential energy change rate and the semantic trajectory of the inference chain As input. Let the adaptive critical surface be... The result of the irreversible degradation of the attractor subdomain is: .
[0151] In the determination of irreversible deterioration, the results of in-depth analysis of the evolution of mental state were used. Counterfactual causal effect value in Confidence based on its corresponding causal direction Perform weighted filtering; only when When the preset causal confidence threshold is exceeded, the corresponding This is why it is included in the criteria for identifying irreversible deterioration, thus avoiding misjudging spurious correlations as driving factors of irreversible deterioration.
[0152] The determination result of irreversible deterioration attractor subdomain is defined as follows:
[0153]
[0154] when When, a Level 3 emergency response warning is triggered; when and When, triggering a Level 2 mid-term intervention warning; when , and At that time, the first level of early perception warning is triggered, among which This is the threshold for changes in risk potential; under other circumstances, no warning will be triggered.
[0155] The aforementioned irreversible deterioration is a state description in the sense of system dynamics and early warning models, indicating that under the current observation time window and existing intervention conditions, the risk trajectory exhibits a strong self-sustaining tendency and is unlikely to spontaneously decline; it does not mean that the individual is permanently irreversible in a medical or psychological sense, nor does it constitute a clinical diagnostic conclusion.
[0156] Step S503: Construct a real-time feedback loop for evaluating intervention effectiveness. After an early warning is triggered, the system evaluates the intervention effect based on the subsequent rate of change of risk potential. Let the rate of change of risk potential after intervention be denoted as... The intervention efficacy threshold is denoted as .when When the system deems the current intervention strategy insufficient, it automatically jumps up the warning level ladder and activates the set of alternative intervention strategies. Through this feedback loop, a closed loop is formed, encompassing risk estimation, warning triggering, intervention execution, and effectiveness tracking.
[0157] Step S6 involves constructing a semantically driven intelligent transformation module for mental health education, shifting from standardized curricula to personalized pathways. This step aims to reconstruct standardized curriculum resources into a sequence of personalized curriculum units based on individual student needs. For example... Figure 7 As shown, this step includes the following sub-steps.
[0158] Step S601: Construct a semantic deconstructor for psychological intervention in each course unit, generating a standardized course semantic fingerprint database. This is applied to each standardized course unit in the university mental health education curriculum system. Design a semantic deconstructor for psychological intervention in the course unit. Semantic profiling is performed from three functional dimensions to output the semantic fingerprint of the unit's curriculum. .
[0159] The semantic deconstruction process is defined as follows:
[0160]
[0161]
[0162] in, To accommodate psychological state type vectors, the course units are encoded. Distribution of applicability intensity across various psychological states. Its dimensions correspond to the psychological state category label space. Consistent, each dimension represents the applicability of the course unit to a specific psychological state type, and the values are jointly calibrated by expert annotations and feedback on historical intervention effects; This is a vector representing the intervention mechanism category, indicating the core psychological intervention mechanism used in this course unit. The total number of predefined intervention mechanism categories, covering dimensions such as cognitive restructuring, behavioral activation, emotion regulation, social support reinforcement, and mindfulness training, with the weight representing the functional proportion of each mechanism in this unit; The skill development target vector represents the dimension of the psychological skills that this course unit aims to cultivate; The total number of predefined skill objectives includes dimensions such as emotion recognition ability, stress coping strategies, interpersonal communication skills, self-efficacy, and cognitive flexibility. The weights represent the degree of emphasis that unit places on the development of each skill. This is a vector concatenation operation; For L2 normalization, the concatenated vector is mapped to... 1-dimensional unit hypersphere ,in .
[0163] all The semantic fingerprints of each course unit together constitute a standardized course semantic fingerprint database. This fingerprint database transforms mental health education course content into a structured semantic representation on a unified hyperspherical manifold, providing a standardized semantic benchmark for subsequent demand-content semantic matching and personalized course reorganization.
[0164] Step S602: Construct a student individual psychological needs profile builder to generate personalized needs vectors. This sub-step involves constructing a student individual psychological needs profile builder. Output personalized demand vectors :
[0165]
[0166] Among them, personalized demand vector Semantic representations of students' psychological intervention needs at the current stage, including unified semantic field representations. Enhance psychological state expression Risk-related summary It also includes a priority weight distribution. Risk-related summary. The risk estimation and tiered early warning results from step S5 constitute the risk potential. Risk potential energy change rate Adaptive critical surface Attractor subdomain determination results and warning levels ;
[0167] Step S603: Construct a demand-content semantic gravity field to generate a personalized course unit reorganization sequence. This sub-step is based on the personalized demand vector. Semantic fingerprints of each course Semantic distance generates gravitational strength. (Set course unit) For individual i at time The semantic gravity value is denoted as ,but:
[0168]
[0169] Among them, semantic gravity value This indicates the degree to which course units match and appeal to current student needs. The system sorts courses by semantic attraction value and, combined with prerequisite relationships, cognitive load constraints, and risk level constraints, generates a personalized course unit reorganization sequence. .
[0170] The personalized course unit reorganization sequence is not obtained simply by sorting according to semantic gravity values. Instead, it is generated by introducing three types of constraints—prerequisite relationships, cognitive load, and risk level—on top of the semantic gravity sorting. Specifically, the prerequisite relationship constraint is given by the course unit dependency matrix; the cognitive load constraint is obtained by comparing the course unit load value with the student's current capacity load; and the risk level constraint is obtained by matching the course unit's risk level with the current warning level.
[0171]
[0172]
[0173] in, This represents the overall score for the course unit. For individual i at time The higher the overall fit value, the more likely it is to be selected. This represents a sequence generation function that sorts and filters based on comprehensive scores while satisfying the prerequisite topological order, ensuring that the reorganization results match student needs without violating course dependencies, cognitive load, and risk level constraints. This represents the semantic gravity weighting coefficient, which is used to adjust the contribution ratio of the semantic gravity value to the overall score. This represents the prerequisite violation penalty coefficient, used to impose penalties on courses that violate prerequisite dependencies. This indicates a prerequisite for a course, such as a penalty clause. If a prerequisite course is not included in the selected sequence, the item is taken as a positive number (otherwise it is 0), and the specific value is determined by the course dependency matrix. This represents the cognitive load overload penalty coefficient, used to punish students for courses that exceed their current capacity. The cognitive load value of a course unit represents the amount of cognitive resources (such as learning time, difficulty level, etc.) required to complete the course, and is determined during course design. It represents the maximum cognitive load that an individual can currently bear, dynamically estimated based on the student's psychological state, fatigue level, and recent learning intensity. This represents the penalty coefficient for a mismatch between risk level and current warning level. This indicates that the risk level matches the penalty item, if the course unit Recommended applicable risk level and current warning level If incompatible, this item will be a positive number, the specific value of which is determined by the preset risk-course matching matrix. Provided the prerequisite topology order is met, the overall score will be used as the basis for selection. Sorting and filtering are performed, while being constrained by the prior relation matrix. The constraints are applied, and the final output is a recombined sequence that satisfies all constraints.
[0174] Step S7 involves constructing a scenario-adaptive, evolutionary neural network atomic subtask space architecture search module. This step aims to decompose macro-level educational goals into fine-grained, executable, and scenario-adaptive atomic subtask architectures. For example... Figure 8 As shown, this step includes the following sub-steps.
[0175] Step S701: Construct a context-aware 3D adaptive landscape generator. Let individual i at time... The current mental state vector is denoted as The contextual semantic encoding is denoted as The risk evolution trajectory summary is denoted as This sub-step generates three types of fitness surfaces, denoted as intervention efficacy surfaces. Cognitive Load Feasibility Surface Context matching surface These three elements together constitute a dynamic adaptive landscape. This serves as the target terrain for the atomic subtask architecture search in the current context.
[0176] Among them, the current mental state vector Represented by a unified semantic field Unified temporal psychological state representation and enhance psychological state expression The fusion yields the contextual semantic encoding obtained from the event activation impulses in step S2. and context vector The risk evolution trajectory summary is obtained from the dynamic risk potential energy curve and early warning result summary of step S5. get;
[0177] Step S702: Construct a context-aware dual-operator evolution mechanism to perform topological mutation and topological recombination. Let the candidate atomic subtask architecture individual be denoted by _____. ( ), where Q is the population size. The initial population is randomly generated by the system, and the generation must satisfy the prior relationship constraints, cognitive load constraints, and risk level constraints described in step S603 to ensure that the initial individuals are all legal architectures.
[0178] This sub-step design of topological mutation operators and topological recombination operator Topological mutation operators are used to perform local topological perturbations on the current architecture within the target terrain, generating mutated individuals. :
[0179]
[0180] The topological recombination operator is used to perform gene fragment recombination in high-fitness individuals near the Pareto optimal front of the current population, generating recombinant individuals. :
[0181]
[0182] in, and This represents two candidate architectures to be reorganized.
[0183] Step S703: Output the optimal atomic subtask sequence architecture blueprint. After multiple rounds of evolutionary search, the system selects the blueprint based on the dynamic fitness landscape. The architecture with the best overall performance is taken as the blueprint for the optimal atomic subtask sequence architecture, denoted as... The blueprint clearly defines which sub-tasks the macro-intervention objectives should be broken down into in the current scenario, the dependencies between these sub-tasks, and the alternative branch structures.
[0184] Step S8 involves constructing a personalized path dynamic generation module driven by demand adaptation and effect feedback. This step aims to further orchestrate the course reorganization sequence and atomic sub-task architecture blueprint into a personalized mental health education path that can be adjusted online. For example... Figure 9 As shown, this step includes the following sub-steps.
[0185] Step S801: Construct a requirements-content cross-semantic space alignment projector to generate an initial path scheme. This sub-step constructs a requirements-content cross-semantic space alignment projector. Based on the personalized course unit reorganization sequence output in step S6 The blueprint for the atomic subtask sequence output in step S7 Generate an initial path scheme :
[0186]
[0187] Among them, the initial path scheme This represents the initial educational path obtained under the dual constraints of current demand satisfaction and task feasibility.
[0188] Step S802: Construct a path drift response mechanism to achieve online dynamic adjustment. As the student's status continuously evolves, the system needs to dynamically adjust the educational path. Let the student be at time... The real-time psychological state feedback signal is denoted as The path adjustment driving vector is denoted as ,but:
[0189]
[0190] Among them, real-time feedback signals represent students' course completion rate, scale feedback, behavioral changes, and manual assessment records during the path execution process; The path drift response function is used to map real-time feedback signals, risk potential values, risk potential change rates, and enhanced psychological state representations into path adjustment driving vectors, thereby ensuring that the risk closed loop in step S5 can enter the path dynamic adjustment in step S8.
[0191] Among them, the path adjustment driving vector This indicates the direction the current path should be adjusted. When the improvement in mental state accelerates, the system drives the path to extend along the direction of deepening and consolidation; when improvement stagnates or new risk signals appear, the system triggers a semantic branch jump and recalls effective alternative intervention sequences from the historical psychological case database. The updated path is denoted as... :
[0192]
[0193] in, This represents the path update function.
[0194] Step S803 involves constructing a long-range knowledge distillation mechanism to output the final personalized dynamic path for mental health education. This sub-step continuously updates the underlying optimization objective by designing statistical patterns of path execution effects across student groups. Let the set of path execution effects at the group level be denoted as... The set of parameters for the fitness function is denoted as The knowledge distillation update process is as follows:
[0195]
[0196] in, This represents the set of fitness function parameters updated by the long-range knowledge distillation mechanism. This represents the knowledge distillation update function. After this update, the system recalibrates the path generation strategy to better reflect real-world educational intervention patterns, ultimately outputting a personalized dynamic path for mental health education. .
[0197] Dynamic Pathway for Personalized Mental Health Education This represents the dynamic path result that is ultimately delivered to the university's mental health education system for execution, including course nodes, atomic subtask nodes, temporal relationships between nodes, alternative branches, and phased evaluation points.
[0198] Through steps S1 to S8 above, this implementation case achieves a complete closed loop, encompassing the construction of a cross-modal semantic field collaborative fusion module for multimodal psychological state perception, a module for dynamic event-triggered thought chain reasoning and higher-order psychological intention analysis, a module for time-series modeling and causal inference collaboration, a module for five-tuple memory weighted retrieval and reconstruction based on historical multimodal psychological semantics, a module for dynamic hierarchical early warning for risk evolution tracking, a semantic-driven intelligent transformation module for mental health education from standardized courses to personalized paths, a module for scenario-adaptive driven evolutionary neural network atomic subtask spatial architecture search, and a module for dynamic generation of personalized paths driven by demand adaptation and effect feedback. This method not only improves the accuracy of psychological state identification and the timeliness of risk warning in the context of mental health education for university students, but also automatically transforms standardized educational resources into personalized educational paths that match the individual risk characteristics and psychological state evolution trajectory of students, thereby improving the accuracy, continuity, and actual intervention effectiveness of mental health education in universities.
[0199] It is understood that the present invention has been described through some embodiments, and those skilled in the art will recognize that various changes or equivalent substitutions can be made to these features and embodiments without departing from the spirit and scope of the invention. Furthermore, under the teachings of the present invention, these features and embodiments can be modified to adapt to specific situations and materials without departing from the spirit and scope of the invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application are within the protection scope of the present invention.
Claims
1. A method for generating mental health education pathways based on cross-modal semantic fields and temporal causal topology, characterized in that, Includes the following steps: Step S1: Acquire multimodal psychological state data and map it uniformly to a shared semantic space. Construct an asynchronous temporal semantic interpolation completion mechanism for the differences in sampling rates of different modalities, map low-frequency modal semantic states to high-frequency time axes, and output a unified semantic field representation. Step S2: Construct a key life event semantic perceptron to identify key life events from a unified semantic field representation; trigger event activation pulses based on the confidence level of key life events, and the system performs multi-hop causal inference along a preset thought chain reasoning framework to generate a high-order psychological intention representation and record the semantic trajectory of the reasoning chain. Step S3: Extract temporal features from the higher-order mental intention representation at three time granularities: intraday window, weekly window, and semester window. Then, fuse these three temporal features to obtain a unified temporal mental state representation. Based on the unified temporal mental state representation, the local curvature of the mental state trajectory on the time scale is calculated, and the degree of deviation of the current mental state trajectory from the historical norm is calculated to obtain the structural fracture score representation. Calculate the counterfactual causal effect value of any two relevant psychological indicators a and b, representing the effect of the psychological indicator a on b. Psychological indicators after virtual intervention The intensity of the response change; Counterfactual causal effect value, structural fracture score representation, and unified temporal psychological state representation are collectively used as the results of in-depth analysis of psychological state evolution; Step S4: Encode historical psychological cases into memory units as a retrieval library. Using the psychological state evolution deep analysis results output in step S3 as the query anchor, design a multi-granular semantic neighborhood activation search mechanism to perform hierarchical recall and retrieve the historical psychological cases with the closest semantic distance. The recalled historical psychological cases are weighted and fused according to the dynamic memory intensity weight to generate an enhanced psychological state representation; Step S5: Construct a continuous risk potential energy field estimator, output risk potential energy value based on the deep analysis results of psychological state evolution and enhanced psychological state representation, construct early warning trigger criteria based on risk potential energy value, and output hierarchical early warning results; After an early warning is triggered, the system evaluates the effectiveness of the intervention based on the subsequent rate of change of risk potential. Step S6: Construct a semantic deconstructor for psychological intervention in the course unit, perform functional semantic analysis on each course unit, and form a course semantic fingerprint database consisting of applicable psychological state types, intervention mechanism categories, and skill training objectives. Construct a student individual psychological needs profile builder to generate a personalized needs vector with priority weight distribution based on the individual's current psychological intervention needs. Based on the manifold distance between the personalized demand vector and the course semantic fingerprint, the course units are attracted, rearranged, and aggregated; the final output is a personalized course unit reorganization sequence. Step S7: Using the student's current psychological state vector, contextual semantic encoding, and risk evolution trajectory as multi-source inputs, construct a context-adaptive three-dimensional fitness landscape generator to dynamically generate a task space fitness terrain composed of the intervention effectiveness surface, cognitive load feasibility surface, and context matching degree surface; construct a context-aware dual-operator evolution mechanism to perform topological mutation and topological recombination on the task space fitness terrain and output the optimal atomic sub-task sequence combination scheme. Step S8 involves further arranging the course reorganization sequence and atomic sub-task sequence into a mental health education path, and dynamically adjusting the education path as the individual's state continues to evolve.
2. The method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology according to claim 1, characterized in that, The specific steps of S1 are as follows: Step S101: Obtain four heterogeneous modalities: social media text, classroom behavior sequence, sleep rhythm data, and consumption behavior trajectory. Construct dedicated semantic geometric compression channels for each modality, map the original modalities to a shared semantic space, and form an equal-dimensional semantic latent vector sequence. Step S102: Using the psychological state category label as the semantic field polarization center, construct a field polarization convergence mechanism that attracts similar types and repels dissimilar types, driving the representations of each modality to achieve equidistant alignment in a unified semantic manifold. Step S103: An asynchronous temporal semantic interpolation completion mechanism is constructed to address the differences in sampling rates of different modalities. The low-frequency modal semantic states are mapped to the high-frequency time axis, and the high-frequency aligned states of each modality are fused to obtain a unified semantic field representation.
3. The method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology according to claim 2, characterized in that, Step S2 is as follows: Step S201: Construct a key life event semantic perceptron, identify key life events based on a unified semantic field representation, and output an event confidence vector; A dynamic sensing threshold is set. When the confidence level of an event exceeds the dynamic sensing threshold, the system triggers an event activation pulse. The triggered event activation pulse includes the event type code, trigger strength, occurrence time, and context vector. Step S202: After the event activation pulse is generated, the system performs multi-hop causal inference along the thought chain reasoning framework. The thought chain includes the first hop emotional impact assessment result, the second hop cognitive attribution path result, and the third hop action intention semantic result. The output of the semantic result of the third-step action intention is used as a representation of higher-order mental intention; Step S203: Record the semantic trajectory of the reasoning chain that starts with the unified semantic field representation and ends with the higher-order mental intention representation; the higher-order mental intention parsing result is composed of the higher-order mental intention representation and the semantic trajectory of the reasoning chain.
4. The method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology according to claim 3, characterized in that, Step S3 is as follows: Step S301: Construct three time granularities: intraday window, weekly window, and semester window, respectively, and extract time-series features corresponding to the higher-order psychological intention representations using the time-series feature extraction function. The temporal features of three temporal granularities are integrated into a unified temporal psychological state representation; Step S302: Calculate the individual i at time i based on the unified temporal mental state representation. The local curvature of the psychological state trajectory is denoted as The discrete calculation form is written as: in, Denotes the Euclidean norm. Indicates the prevention of zero constant, Represents the unified temporal psychological state of individual i at time t; defines the structural fracture score. for: in, The mean curvature of the historical baseline. The standard deviation of the historical baseline curvature. It is a very small constant; Step S303, let any two highly correlated psychological indicators be denoted as follows: and The confidence level of the causal direction between the two is denoted as Through the Apply virtual intervention and compare before and after the intervention. The distribution change was used to calculate the counterfactual causal effect value. : in, Represents the mathematical expectation; This represents a virtual intervention operation within the Pearl causal inference framework. Indicates the reference intervention value applied to psychological indicators; The final output of the in-depth analysis of the evolution of mental states includes a unified temporal representation of mental states, a structural fracture score, and a counterfactual causal effect value.
5. The method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology according to claim 4, characterized in that, Step S4 is as follows: Step S401, let the historical psychological case number be denoted as Each historical psychological case is coded as a five-tuple memory unit. : in, This represents the index key, used to describe the initial psychological state characteristics of the case; This represents a summary of the trajectory of psychological evolution. This indicates the record of the intervention response effect; Indicates contextual or scene tags; Indicates the dynamic memory strength weight; Dynamic memory strength weight The effect increases with the number of successful case retrievals and decreases with the length of storage time. Step S402: Establish query anchor points for the deep analysis results of psychological state evolution, calculate the semantic distance between the current query anchor point and the index keys of each historical psychological case, sort them according to semantic distance from smallest to largest, and select the closest ones. A recall set is formed from historical psychological cases; Step S403: The historical psychological cases in the recall set are weighted and fused according to the dynamic memory intensity weight to generate an enhanced psychological state representation.
6. The method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology according to claim 5, characterized in that, Step S5 is as follows: Step S501: Construct a continuous risk potential energy field estimator. Based on the deep analysis results of the psychological state evolution and the enhanced psychological state representation, output the individual i at time [time]. The risk potential energy value is used to represent the continuous intensity of the current psychological risk, and after being continuously arranged along the time axis, a dynamic risk potential energy curve is formed. Step S502: Set an adaptive critical surface and an irreversible degradation attractor domain. The adaptive critical surface is a risk threshold obtained by dynamic calibration based on historical distribution, and the irreversible degradation attractor domain is based on the irreversible degradation identification network. A comprehensive judgment is made based on the results of in-depth analysis of psychological state evolution, risk potential value, risk potential change rate, and semantic trajectory of reasoning chain. The counterfactual causal effect value in the results of in-depth analysis of psychological state evolution is weighted and filtered by the confidence of its corresponding causal direction when participating in the judgment. A three-level early warning triggering criterion is constructed: early perception early warning is triggered by the rate of increase of risk potential, mid-term intervention early warning is triggered by the risk potential value crossing the adaptive critical surface, and emergency response early warning is triggered by the judgment result of the irreversible deterioration attraction subdomain. Step S503: After the warning is triggered, evaluate the intervention effect based on the subsequent risk potential change rate and provide intervention feedback.
7. The method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology according to claim 6, characterized in that, Step S6 is as follows: Step S601: For each standardized course unit in the college mental health education curriculum system, design a course unit psychological intervention semantic deconstructor, perform semantic analysis from three functional dimensions: applicable psychological state type, intervention mechanism category, and skill training objective, and output the course semantic fingerprint of the unit; the semantic fingerprints of all course units together constitute the standardized course semantic fingerprint database. Step S602: Construct a personalized demand vector based on the individual's psychological intervention needs at the current stage, including a unified semantic field representation, an enhanced psychological state representation, and a risk-related summary, wherein the risk-related summary includes risk potential energy, risk potential energy change rate, adaptive critical surface, irreversible deterioration attractor domain, and warning level. Step S603: Calculate the semantic distance between the personalized demand vector and the semantic fingerprint of each course as the semantic gravity value. Sort according to the semantic gravity value and combine with the prerequisite relationship constraint, cognitive load constraint and risk level constraint to generate a personalized course unit reorganization sequence. The prerequisite relationship constraint is given by the course unit dependency matrix; the cognitive load constraint is obtained by comparing the course unit load value with the individual's current bearable load; and the risk level constraint is obtained by matching the course unit's adaptive risk level with the current warning level.
8. The method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology according to claim 7, characterized in that, Step S7 is as follows: Step S701: The unified semantic field representation, the unified temporal mental state representation, and the enhanced mental state representation are fused to obtain the current mental state vector, and the intervention efficacy surface is generated based on the current mental state vector; Event activation impulses and context vector codes are fused to obtain contextual semantic codes, and a cognitive load feasibility surface is generated based on these codes. The dynamic risk potential energy curve and the early warning result summary are fused to obtain the risk evolution trajectory summary, and a scenario matching degree surface is generated based on this. These three elements together constitute the target terrain for the atomic subtask architecture search in the current scenario. Step S702: Construct a context-aware dual-operator evolution mechanism. The initial candidate atomic subtask architecture individual population is randomly generated by the system. When generating, it must satisfy the prior relationship constraint, cognitive load constraint and risk level constraint. Design topological mutation and topological recombination operators. The topological mutation operator performs local topological perturbation on the current architecture individuals in the target terrain to generate mutated individuals; the topological recombination operator performs gene fragment recombination of high-fitness individuals near the Pareto optimal front of the current population to generate recombined individuals. Step S703: After multiple rounds of evolutionary search, the system selects the architecture individual with the best overall performance under the target terrain as the optimal atomic subtask sequence architecture blueprint.
9. The method for generating mental health education paths based on cross-modal semantic fields and temporal causal topology according to claim 8, characterized in that, Step S8 is as follows: Step S801: The personalized course unit reorganization sequence and atomic subtask sequence architecture blueprint are input into the cross-semantic space alignment projector to generate an initial path scheme; Step S802: Obtain the individual's real-time psychological state feedback signal, combine the risk potential value, risk potential change rate and enhanced psychological state representation, and obtain the path adjustment driving vector through the path drift response function to update the path; Step S803 involves updating knowledge through statistical patterns of path execution effects across individuals and at the group level, generating a personalized dynamic path for mental health education.
