Quality perception-based multi-modal time sequence fusion method and system for severe brain delirium
By acquiring multimodal data and signal quality from critically ill patients, performing time-series correction and reliability coefficient gating, the problems of time misalignment and quality degradation in multimodal data acquisition were solved, thereby improving the accuracy and reliability of delirium risk warning.
Patent Information
- Application Number
- CN202611437752.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-16
- Publication Date
- 2026-11-24
Smart Images

Figure CN123161883A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, specifically to a quality-aware multimodal temporal fusion method and system for severe delirium. Background Technology
[0002] Delirium in critically ill patients exhibits significant dynamic fluctuations, with related physiological changes occurring from various sources, including electroencephalogram (EEG), brain oxygenation, heart rate variability, blood oxygenation, and structured clinical data. These data vary in sampling frequency, signal quality, and effective acquisition time, and the baseline physiological state also differs among patients.
[0003] During continuous monitoring of critically ill patients, changes in body movement, electrode contact, and equipment interference can lead to a decline in the data quality of local modalities. When data from different modalities are included in the same fusion period based on the acquisition time, changes in the same physiological stage may be out of sync. Modalities with degraded quality may still participate in cross-modal feature interactions, making it difficult for the correlations formed between different modalities to stably reflect the patient's current physiological state. Summary of the Invention
[0004] The purpose of this invention is to provide a multimodal temporal fusion method and system for severe delirium based on quality perception.
[0005] To achieve the above objectives, the present invention provides the following technical solution: a multimodal temporal fusion method for severe delirium based on quality perception, the method comprising: Acquire patient modal data and their signal quality; Based on the comparison results of signal quality and baseline, the relative offset sequence of each modality data is determined. The relative offset sequence is temporally corrected within the preset physiological time delay range between modalities. Based on the temporally corrected relative offset sequence, cross-modal consistency is determined. Cross-modal consistency refers to the convergence of changes in the relative offset sequences of different modalities at the corresponding time positions after physiological time delay correction. The credibility coefficients of each modal data are determined by combining cross-modal consistency, signal quality, and baseline source status. The interaction characteristics between each modal data are then gated using the credibility coefficients to obtain the fused temporal characteristics. Delirium risk warning information is output based on fused temporal features.
[0006] Specifically, the relative offset sequence of each modality data is determined, and the relative offset sequence is temporally corrected within a preset physiological time lag range between modalities, including: Based on signal quality, the effective data segments of each mode are determined. The modal characteristics within the effective data segments are compared with the corresponding baselines, and a relative offset sequence is formed according to the baseline mean and dispersion. For each modality pair, search for the time offset that minimizes the difference between the two relative offset sequences within the physiological time delay range corresponding to the order of their physiological responses; Based on this, time series correction is performed, and cross-modal consistency is characterized by the differences between the corrected sequences.
[0007] Specifically, the relative offset sequence of each modality data is determined, and the relative offset sequence is temporally corrected within a preset physiological time lag range between modalities, including: The physical reliability of each mode is determined based on signal quality and baseline source status. The reliability coefficient is obtained by fusing the physical reliability with cross-modal consistency and the corresponding mode's own offset change status. The effective modes and their interaction contributions are determined based on the credibility coefficient, and the interaction characteristics among the effective modes are weighted and aggregated. Modes whose credibility coefficients do not meet the effective conditions are downweighted or masked.
[0008] Specifically, each modal data includes at least two of the following: electroencephalogram (EEG) data, brain oxygen saturation data, heart rate variability or vital signs data, and clinical structured data; the preset physiological time delay range between modalities is set according to the response sequence of the corresponding physiological processes.
[0009] Specifically, the baseline source status includes individual baseline status and population alternative baseline status. Individual baselines are established from continuous data windows of patients under preset clinical stability conditions. When a valid individual baseline that meets the duration requirement cannot be obtained for the corresponding modality, population reference data corresponding to the patient's disease and age range is called to establish an alternative baseline and the baseline source status is marked to reduce the physical reliability of the corresponding modality using the alternative baseline.
[0010] Specifically, for a mode containing multiple acquisition channels, progressive quality processing is performed at the channel level, lead group level, and mode level based on the signal quality of each acquisition channel. When a single acquisition channel does not meet the quality conditions, that channel is stopped from participating in feature extraction. When the proportion of effective channels does not meet the lead group quality conditions, the corresponding lead group is stopped from participating in feature extraction. When the corresponding mode as a whole does not meet the quality conditions, the interactive features of that mode are masked.
[0011] Specifically, the interaction anchor is determined based on the credibility coefficient in the current effective modality. The modality feature corresponding to the interaction anchor is used as the query feature, and the features of the remaining effective modalities are used as the interaction features. When the credibility coefficient of the current interaction anchor drops to the switching condition, the interaction anchor is re-determined from the remaining effective modalities, and a transition fusion is performed between the original interaction anchor and the new interaction anchor.
[0012] Specifically, when outputting delirium risk warning information, the data integrity uncertainty is determined based on the data completeness of the effective modes, the modal consistency uncertainty is determined based on cross-modal consistency, and the prediction uncertainty is determined based on the dispersion of risk results obtained from multiple perturbation inferences. The reliability status of the warning information is determined by combining the three types of uncertainty.
[0013] Specifically, the normal operation state, degraded operation state, frozen state, or recovery state are determined based on the number of effective modes and the reliability coefficient of each mode, and the output of delirium risk warning information is constrained according to the operation state; after the signal quality of the mode in the frozen state is restored and the recovery conditions are continuously met, it enters the recovery state, and after a preset data accumulation period, the corresponding mode is restored to participate in fusion.
[0014] This application also provides a quality-aware multimodal temporal fusion system for severe delirium, characterized in that it includes: The data acquisition module is used to acquire patient modal data and their signal quality. The timing consistency processing module is used to determine the relative offset sequence based on the comparison results of signal quality and baseline, perform timing correction within the preset intermodal physiological time delay range, and determine cross-modal consistency. The trusted fusion module is used to determine the trust coefficient by combining cross-modal consistency, signal quality and baseline source status, and to use the trust coefficient to gate the interaction characteristics between the data of each modality to obtain the fused time series characteristics. The risk output module is used to output delirium risk warning information based on fused time-series characteristics.
[0015] The technical effects and advantages provided by the present invention in the above technical solution are as follows: Compared to temporal processing methods that directly aggregate features from various modalities on a unified time axis, this application first acquires patient data and signal quality for each modality. Then, it forms a relative offset sequence based on the baseline and performs temporal correction within the physiological time lag range. Next, it determines cross-modal consistency using the corrected offset sequence, and then determines a confidence coefficient based on signal quality and baseline source status, gating inter-modal interactions. Finally, it outputs delirium risk warning information from the fused temporal features. Temporal correction reduces misalignment caused by differences in physiological response times, and the confidence coefficient limits the interaction contribution of low-quality or inconsistent modalities, ensuring that the fused information matches the current data quality and the patient's reference status. This improves fusion stability during modal quality fluctuations and provides a reliable basis for warnings. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.
[0017] Figure 1 This is a flowchart of the multimodal temporal fusion method for severe delirium in this invention.
[0018] Figure 2 This is a schematic diagram illustrating the cross-modal physiological time delay correction and consistency determination in this invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on the present invention. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] Because physiological signals in intensive care settings are characterized by continuous sampling, heterogeneous sampling rates, susceptibility to interference, and significant individual differences among patients, the following implementation methods are described in terms of signal quality, individual baseline, cross-modal physiological time delay, and reliable interaction relationships, so that those skilled in the art can implement the corresponding data processing flow accordingly.
[0021] Example 1 This embodiment provides a quality-aware multimodal temporal fusion method for severe delirium. The method acquires patient data for each modality and its signal quality; determines the relative offset sequence of each modality based on the comparison between signal quality and baseline; performs temporal correction on the relative offset sequence within a preset intermodal physiological time lag range; and determines cross-modal consistency based on the time-corrected relative offset sequence. Cross-modal consistency characterizes the convergence of changes in the relative offset sequences of different modalities at corresponding time positions after physiological time lag correction.
[0022] like Figure 1 As shown, the method in this embodiment is executed in the following order: multimodal data and quality acquisition, relative offset construction and physiological time delay correction, cross-modal consistency determination, credibility coefficient gating interaction, and risk warning output, so that the output of the previous processing stage is used as the input of the next processing stage.
[0023] Furthermore, the credibility coefficients of each modal data are determined by combining cross-modal consistency, signal quality, and baseline source status. The credibility coefficients are used to gate the interaction characteristics between each modal data to obtain fusion time-series characteristics, and delirium risk warning information is output based on the fusion time-series characteristics.
[0024] When determining the relative offset sequence, the effective data segments for each modality can be identified first based on signal quality. The modal characteristics within the effective data segments are then compared with the corresponding baselines, and a relative offset sequence is formed according to the baseline mean and dispersion. For each modality pair, a time offset that minimizes the difference between the two relative offset sequences is searched within the physiological time lag range corresponding to the order of their physiological responses. Temporal correction is then performed based on this offset, and the difference between the corrected sequences characterizes cross-modal consistency. The processing relationship here is as follows: signal quality is used to select effective data segments that can participate in baseline comparison and subsequent fusion; the baseline is used to compare with the modal characteristics within the effective data segments to form the relative offset; the signal quality score itself is not directly subtracted from or compared with the physiological baseline.
[0025] In trusted fusion, the physical reliability of each mode can be formed based on signal quality and baseline source status. The physical reliability is then fused with cross-modal consistency and the corresponding mode's own offset change status to obtain a trust coefficient. Based on the trust coefficient, the effective modes and their interaction contributions are determined. The interaction features between the effective modes are weighted and aggregated, and modes whose trust coefficients do not meet the effective conditions are downweighted or masked.
[0026] The determination of the physical reliability, credibility coefficient and interaction contribution mentioned above belongs to the trusted fusion process. Its inputs include the cross-modal consistency obtained after time-series correction, the current signal quality and the baseline source status, without changing the aforementioned time offset. Therefore, time-series correction and credibility coefficient gating constitute two processing stages that are connected and have different functions. The former is used to reduce the misalignment of physiological responses between modes, and the latter is used to limit the contribution of low-quality or inconsistent modes to the fusion result.
[0027] Each modality of data may include at least two of the following: electroencephalogram (EEG) data, brain oxygen saturation data, heart rate variability or vital signs data, and clinical structured data. Baseline source status may include individual baseline status and population-based alternative baseline status. Individual baselines are established from a continuous data window of patients under preset clinically stable conditions. When a valid individual baseline meeting the duration requirement cannot be obtained for a corresponding modality, population reference data corresponding to the patient's disease type and age range can be used to establish an alternative baseline, and the corresponding baseline source status can be marked.
[0028] During multimodal data synchronous acquisition, the EEG sampling clock is used as a unified reference clock, and acquisition timestamps and device identifiers are added to the data frames output by each acquisition device. Links supporting PTP or hardware timestamps are calibrated according to the master clock, while devices supporting only NTP or lacking a shared clock record the measured clock offset and link delay, and use the recorded offset as input for subsequent software-level time correction. By first addressing device clock differences and then addressing intermodal physiological response delays, the confusion between device synchronization errors and physiological delays can be avoided.
[0029] After completing the above-mentioned time benchmark unification, the system defines the multimodal data streams entering the fusion process as follows.
[0030] The system collects the following five types of data streams in real time, and all data streams are synchronized at the hardware level using the EEG sampling clock as the master clock: To facilitate a centralized explanation of multimodal data streams and sampling parameters, the relevant information is summarized in Table 1.
[0031] Table 1: Multimodal data stream and sampling parameters As shown in Table 1, the value range, update method or status of the relevant parameters have been defined accordingly, which can be used to unify the parameter standards in subsequent calculations and deployments.
[0032] Regarding individual baseline processing, the following rules can be used to establish a patient's physiological reference baseline.
[0033] The clinical conditions for establishing baselines can be achieved in the following ways.
[0034] The baseline window refers to the period during which a patient is relatively stable and not significantly affected by pathological or iatrogenic disturbances during their hospitalization in the ICU. It is used to establish individualized physiological reference values for that patient.
[0035] Clinical status criteria for inclusion in baseline (must be met simultaneously): To facilitate a centralized explanation of the clinical conditions for establishing individual baselines, the relevant information is summarized in Table 2.
[0036] Table 2: Clinical conditions for establishing individual baselines As shown in Table 2, the relevant objects, conditions and processing methods have been organized in the order of implementation, providing a specific basis for subsequent data processing and system operation.
[0037] The following settings can be used to determine the shortest duration for baseline establishment.
[0038] The baseline window must meet the following continuous stability duration requirements: To facilitate a centralized explanation of the baseline acquisition duration for each modality, the relevant information is summarized in Table 3.
[0039] Table 3: Baseline Acquisition Duration for Each Modality As shown in Table 3, the relevant objects, conditions and processing methods have been organized in the order of implementation, providing a specific basis for subsequent data processing and system operation.
[0040] Minimum Admission Criteria: If, due to emergency resuscitation, prolonged deep sedation, or other reasons, a valid individual baseline window meeting the minimum duration of the corresponding modality cannot be established after a patient's admission to the ICU, then standardized reference values from the same disease and age group are used as a substitute baseline and marked as "Population Substitute Baseline." The individual baseline can be determined using the baseline source indicator b. m Take 1; when using population as a substitute for baseline, b m Set it to 0, and use a reliability reduction factor κ=0.6 in the physical reliability calculation so that this mode participates in the reliability coefficient calculation with a baseline source factor of 0.6 under the same signal quality conditions.
[0041] Invalid events in the baseline window and subsequent monitoring analysis can be excluded according to the following rules.
[0042] The following data segments must be excluded from the baseline window and subsequent monitoring analysis (marked as "invalid data"): To facilitate a centralized explanation of the rules for excluding events from baseline and monitoring analysis data, the relevant content is summarized in Table 4.
[0043] Table 4: Rules for Excluding Events in Baseline and Monitoring Analysis Data As shown in Table 4, there is a clear correspondence between different triggering conditions and their corresponding processing results, which can be used to determine the processing path under the corresponding data state.
[0044] EEG artifacts are extremely common in the ICU environment, including physiological artifacts (EMG, EEG, ECG, sweating, respiration) and non-physiological artifacts (50Hz power frequency, equipment interference, loose electrodes). Effective identification and labeling are necessary.
[0045] Multimodal timing alignment can be performed according to the following rules.
[0046] The permissible physiological time delay between each mode can be set as follows based on the physiological response relationship.
[0047] The physiological processes reflected in different modalities exhibit inherent time delays: like Figure 2 As shown, for different modal pairs, the time offset is first searched within its preset physiological time lag range, then the relative offset sequence is time-shifted, and the cross-modal consistency is determined based on the sequence difference at the corresponding time position after correction.
[0048] Timing correction includes hardware time synchronization and software correction oriented towards physiological time delays, as detailed below.
[0049] Hardware-level synchronization (an irreplaceable foundational layer): The EEG master clock serves as the system's master clock, and all devices synchronize with it via the NTP / PTP protocol. For device links that support PTP or hardware timestamps, the synchronization target accuracy can be set to ±1ms; for devices that only support NTP, it is not pre-set that ±1ms is always required. The system records the measured clock offset and link delay, and compensates for the device's clock error in subsequent software-level calibration.
[0050] If different devices are used and a shared clock is lacking, a software correction method based on joint clock skew and delay estimation is required. Software-level correction (for physiological time lag): Fixed offset compensation: For known physiological time lags (e.g., rScO2 lags EEG by about 10 seconds), the lagging modes are time-shifted (shifted forward by 10 seconds) before data fusion. Dynamic cross-correlation correction: For mode pairs with variable time delays, calculate the sliding window cross-correlation function: Window length: 60 seconds Search scope: For each modality pair, search only within the preset physiological time delay range Λ corresponding to that modality pair. m,n The internal search time offset; 60 seconds is the cross-correlation calculation window length in this embodiment, and is not used as a unified upper and lower limit for time delay search for all modal pairs. For example, the Λ of EEG and rScO2 m,n The possible values are [-30, +5] seconds.
[0051] The offset corresponding to the maximum correlation coefficient is selected as the correction offset at the current time. Recalculated every 60 seconds Consistency checks and invalid data marking can be performed according to the following rules.
[0052] Cross-modal timing consistency check rules: When the signal quality index (SQI) of a certain mode is less than 0.4, the data of that mode is marked as "unavailable" in the corresponding time period and will not participate in the model inference of that time period during fusion. If the missing data rate for any key modality (EEG, rScO2, HRV) exceeds 30% within any 5-minute window, the overall risk score for that window is marked as "high uncertainty," and the warning level is no higher than yellow. If EEG and rScO2 show significant opposite trends within 10 consecutive minutes (e.g., EEG theta wave power increases while rScO2 increases by more than 5%), a "cross-modal conflict" flag is triggered, prompting an inspection of the equipment status or analysis for any abnormal physiological patterns. After timing alignment is completed, the valid data enters the signal preprocessing and feature extraction process.
[0053] The raw physiological signals can be preprocessed at the edge computing gateway in the following manner.
[0054] Raw physiological signals undergo preprocessing at the edge computing gateway to reduce transmission bandwidth and cloud computing load. Step 1: EEG signal preprocessing Bandpass filter: 0.5~70Hz (removes DC drift and high-frequency noise).
[0055] Notch filtering: 50Hz (China power grid frequency) notch filtering to eliminate power frequency interference.
[0056] Artifact Removal: Independent Component Analysis (ICA) is used to automatically identify and remove artifacts from electrooculography (EOG), electromyography (EMG), and electrocardiography (ECG). Thresholds are set to mark components with kurtosis >8 or <-8 as artifact components.
[0057] Re-reference: Use average reference or bipolar leads.
[0058] Step 2: Preprocessing of vital signs signals ECG signal: 0.5~40Hz bandpass filtering, R-wave detection (Pan-Tompkins algorithm) to calculate instantaneous heart rate.
[0059] Blood pressure signal: Median filtering (5 points in the window) removes motion artifacts.
[0060] SpO2 signal: smooth waveform by moving average filtering (3-second window).
[0061] Step 3: Data Quality Assessment The system calculates the EEG signal quality index (SQI) in real time. The score is based on a comprehensive evaluation of electrode impedance (normal <5kΩ), signal variance, and high-frequency noise power.
[0062] SQI ranges from 0 to 1, with values >0.7 indicating high-quality data, 0.4 to 0.7 indicating usable data, and <0.4 indicating "data unavailable".
[0063] If the SQI < 0.4 for more than 5 minutes, the system will issue a "signal quality alarm" at the nurse station, prompting the system to check the electrodes.
[0064] The quality scores for each modality and their update methods are as follows.
[0065] The system maintains a real-time quality score (MQS) for each data mode, which serves as a characterization of the modal signal quality and participates in the calculation of the reliability coefficient. To facilitate a centralized explanation of the criteria and update frequency for each modal quality score, the relevant content is summarized in Table 5.
[0066] Table 5: Criteria and Update Frequency for Modal Quality Scoring As shown in Table 5, the relevant objects, conditions and processing methods have been organized in the order of implementation, providing a specific basis for subsequent data processing and system operation.
[0067] Based on real-time quality scoring, the system further performs weight reduction, masking, and feature reconstruction.
[0068] Taking EEG as an example, weight reduction can be performed step by step at the channel level, lead group level, and modal level.
[0069] The specific triggering conditions and processing methods for EEG quality progression are as follows.
[0070] To facilitate a centralized explanation of the rules for progressive weighting of EEG quality, the relevant content is summarized in Table 6.
[0071] Table 6: EEG Quality Progressive Degradation Rules As shown in Table 6, there is a clear correspondence between different triggering conditions and their corresponding processing results, which can be used to determine the processing path under the corresponding data state.
[0072] For low-quality but not yet frozen modes, feature-level masking or reconstruction can be performed.
[0073] When a mode is in the "low quality but not frozen" state (0.40 ≤ MQS < 0.60), it is not discarded entirely, but rather its noise-sensitive features are selectively masked or reconstructed: To facilitate a centralized explanation of the rules for masking and reconstructing low-quality modal features, the relevant content is summarized in Table 7.
[0074] Table 7: Rules for Masking and Reconstructing Low-Quality Modal Features As shown in Table 7, there is a clear correspondence between different triggering conditions and their corresponding processing results, which can be used to determine the processing path under the corresponding data state.
[0075] When the quality of the default query modality deteriorates, the interaction anchor can be switched according to the following mechanism.
[0076] When the primary modality (EEG) is masked (MQS) EEG When =0), the system automatically switches the query source in cross-modal attention: To facilitate a centralized explanation of the query anchor switching conditions and the adjustment methods of the fusion architecture, the relevant content is summarized in Table 8.
[0077] Table 8: Query Anchor Switching Conditions and Fusion Architecture Adjustment Methods As shown in Table 8, there is a clear correspondence between different triggering conditions and their corresponding processing results, which can be used to determine the processing path under the corresponding data state.
[0078] The query switching is completed within the current window (30 seconds). After the switch, the first inference uses the query embedding of the previous valid window and adopts a linear decay transition, where the transition coefficient ξ can be 0.3. This ξ is only used for anchor point switching transition and is not related to the modal confidence coefficient α. m (t) Mixed use.
[0079] When the dominant modal mass recovery (MQS) EEG If the value is ≥0.60 for 2 consecutive minutes, the system will automatically switch back to main mode and use EWMA (Exponential Weighted Moving Average) to smooth the characteristic input of the recovery period. The risk output phase combines uncertainty and current operating status constraints with early warning results.
[0080] The correspondence between the number of effective modes and the operating modes is as follows.
[0081] Cross-modal attention fusion is adaptively adjusted based on the effective modality count K(t). K(t) is uniformly defined as satisfying α at the current time. m The number of modes whose t > τ, i.e., K(t) = |{m|α m (t)>τ}|;In this embodiment, τ can be taken as 0.40. MQS is used to construct modal signal quality scores and participate in the calculation of physical reliability and credibility coefficient. The front-end MQS threshold can be used for channel-level or modal-level quality preprocessing, but does not replace the above definition of K(t).
[0082] To facilitate a centralized explanation of the correspondence between the number of effective modes and the operating modes, the relevant content is summarized in Table 9.
[0083] Table 9: Correspondence between the number of effective modes and operating modes As shown in Table 9, the time relationships and corresponding ranges between different modes or states are centrally defined, providing a basis for subsequent timing correction and consistency calculations.
[0084] The risk results can simultaneously output the uncertainty in three dimensions: data integrity, modal consistency, and model prediction.
[0085] The system outputs the risk probability along with three dimensions of uncertainty: To facilitate a centralized explanation of the calculation and presentation of risk output uncertainty, the relevant content is summarized in Table 10.
[0086] Table 10: Calculation and Presentation of Risk Output Uncertainty As shown in Table 10, the uncertainty or reliability status is classified and characterized according to the data conditions and calculation results, which is used to constrain the output method of risk information.
[0087] The overall reliability level is determined by a comprehensive assessment of three dimensions: To facilitate a centralized explanation of the rules for determining the overall reliability level, the relevant content is summarized in Table 11.
[0088] Table 11: Rules for Determining Overall Reliability Level As shown in Table 11, there is a clear correspondence between different triggering conditions and their corresponding processing results, which can be used to determine the processing path under the corresponding data state.
[0089] The system further determines the degradation state and corresponding early warning strategy based on the effective modal states.
[0090] The system maintains a global running state, directly constraining the early warning output: To facilitate a centralized explanation of the global operating status and early warning output strategies, the relevant content is summarized in Table 12.
[0091] Table 12: Global Operating Status and Early Warning Output Strategy As shown in Table 12, the objectives, data conditions, and execution methods of each processing stage correspond sequentially and can be used to form a continuous implementation process.
[0092] The next step is feature extraction, where subsequent features are calculated based on modal attributes.
[0093] The preprocessed data enters the feature extraction module, which calculates the following three categories of features: A. Frequency Domain Characteristics (EEG) Power spectral density (PSD): Welch method was used with a window length of 2 seconds and 50% overlap to calculate the absolute and relative power of the four frequency bands δ (1~4Hz), θ (4~8Hz), α (8~13Hz), and β (13~30Hz).
[0094] Spectrum Edge Frequencies (SEF): SEF50 and SEF95 (frequencies where power accumulation reaches 50% and 95%, respectively).
[0095] α-variance index: the coefficient of variation (CV) of α-band power.
[0096] B. Temporal and Nonlinear Characteristics (EEG + Physiological Signals) EEG Burst Suppression Ratio (BSR): Calculates the percentage of suppression per 10 seconds.
[0097] Heart rate variability (HRV): Extract time-frequency domain indicators such as RMSSD, SDNN, and LF / HF from ECG.
[0098] Brain oxygen saturation trend: baseline rScO2 value, relative rate of change (ΔrScO2), and fluctuation range.
[0099] C. Clinical characteristics (structured data) Risk factors for delirium: age, APACHE-II score, infection markers (PCT, CRP), and cumulative dose of sedative drugs (converted to midazolam equivalent, mg / kg).
[0100] CAM-ICU results are used to construct a delirium surveillance label, with CAM-ICU positivity serving as a delirium positivity label; RASS score is used to characterize sedation / agitation status and is used for baseline window screening, exclusion of deep sedation, and auxiliary judgment of label evaluability, but RASS score itself is not considered a delirium diagnostic label.
[0101] During the training phase, CAM-ICU results are used as supervision labels, which are only used to establish a statistical mapping between historical multimodal data features and risk output. During the online inference phase, future CAM-ICU results are not read as the current window input, and the model output is still risk assessment or early warning information, so that the use of supervision labels is distinguished from online risk output.
[0102] The feature extraction output is a feature vector every 5 minutes, with a dimension of approximately 200.
[0103] The model architecture is divided into the following three layers.
[0104] The system adopts a layered multimodal fusion deep learning model, and the overall architecture is divided into three layers: Layer 1: In-modality encoding To facilitate a comprehensive explanation of the intramodal encoder architecture and its input / output dimensions, the relevant information is summarized in Table 13.
[0105] Table 13: Intramodal encoder architecture and input / output dimensions As shown in Table 13, different modalities adopt corresponding encoding methods according to the data structure and output modal features of predetermined dimensions for subsequent cross-modal fusion.
[0106] Second layer: Cross-modal attention fusion i on Fusion) A reliable fusion module for individual baseline shift and cross-modal pathophysiological temporal consistency constraints To provide a clear and feasible computational path for relative offset, time-delay correction, cross-modal consistency, reliability coefficients, and gating relationships, a set of optional computational methods are presented below. Since the original feature dimensions of different modes can differ, we do not directly subtract the Euclidean distance from the original feature vectors of different dimensions; instead, we first form comparable consistency statistics for the mode pairs. For EEG and rScO2, time-delay cross-correlation and coherence can be used; for EEG and HRV, mutual information and propagation entropy can be used; and for rScO2 and HRV, time-delay cross-correlation can be used. Learnable residual functions can supplement the above methods. For cases where same-dimensional paired comparison sequences have already been formed, normalized distance can also be used to represent differences.
[0107] The reliability coefficient is jointly determined by signal quality, baseline source status, cross-modal consistency, and modal offset status, and serves as a gating factor to control the status and contribution of the corresponding modality in Query-Key-Value interaction.
[0108] μ m =(1 / N win )·Σt∈T base x m (t).
[0109] Where, μ m Let N be the baseline mean of mode m within the baseline window. win T represents the number of valid samples within the baseline window. base For the baseline window, x m (t) represents the observational characteristics of mode m at time t; the baseline dispersion can be determined by the difference between the baseline and μ within the same window. m Standard deviation σ m Sure.
[0110] z m (t)=[x m (t)-μ m ] / [σ m +ε].
[0111] Among them, z m (t) is the normalized offset of mode m relative to its baseline, and ε is a very small positive number used to avoid the denominator being zero.
[0112] δ m,n * (t)=argminδ∈Λ m,n D m,n (t,δ).
[0113] Among them, Λ m,n δ represents the search range of physiological time delays corresponding to modes m and n. m,n * (t) represents the time offset obtained within the current window, D m,n (t,δ) represents the mode-pair difference statistic calculated at the candidate offset δ. For same-dimensional paired sequences, D m,n Normalized Euclidean distance can be used; for heterogeneous mode pairs, D m,n The corresponding time-lag cross-correlation, coherence, mutual information, propagation entropy, or learnable residuals are converted into similarly oriented differences, making D... m,n The smaller the value, the more consistent the relationship after time delay correction.
[0114] C m,n (t)=D m,n (t,δ m,n * (t)).
[0115] Among them, C m,n (t) represents the cross-modal consistency residual obtained at the optimal time offset. This residual is not calculated for missing or masked mode pairs and is masked during subsequent consistency aggregation; for the remaining valid mode pairs, C... m,n The smaller (t) is, the higher the convergence of the corresponding modality under the preset physiological response relationship.
[0116] R m (t)=S m (t)·[b m +(1-b m )·κ].
[0117] Among them, R m (t) represents the physical reliability, S m (t) represents the modal signal quality score, b m Baseline source indicator; individual baseline time b m =1, when the population replaces the baseline, b m =0, κ is the reliability reduction factor for the population replacement baseline, which can be taken as 0.6 in this implementation. Temporal consistency degree A m (t) can be obtained by monotonically decreasing the consistency residuals of the current effective mode pair. For example, first calculate the mean of the consistency residuals of mode m and the other effective modes, and then use an exponential decay function to map to [0,1]. The residuals corresponding to missing or masked modes do not participate in the mean calculation.
[0118] α m (t)=R m (t)·[λ·A m (t)+(1-λ)·sigmoid(-β·C m,self (t))].
[0119] Where, α m (t) is the confidence coefficient, A m (t) represents the temporal consistency degree, C m,self (t) is used to characterize the degree of change of the corresponding modality's own offset sequence relative to the local mean of the neighboring window; λ is used to balance cross-modal consistency and modal stability, and β is a scaling factor. In this embodiment, λ can be 0.7 and β can be 0.5. Therefore, signal quality degradation, the use of a population to replace the baseline, reduced cross-modal consistency, or modal abrupt changes can all reduce the corresponding α. m (t), to avoid determining the fusion contribution by a single quality indicator.
[0120] Attn q→k (t)=softmax(Q q (t)·K k T (t) / √d)·α k (t)·β q,k .
[0121] Among them, Q q To query modal feature encoding, K k Encoding the key features of the interaction modality, α k As an interactive contribution of the trusted gating factor to control mode k, β q,k These are trainable interaction parameters between modalities.
[0122] Where d is the key feature encoding dimension, used to normalize the scale of the dot product of the query feature and the key feature; V k (t)=Linear V (x k (t) is the Value feature encoding corresponding to mode k.
[0123] The gated aggregated interaction features can be represented as: x̂ q (t)=Σ k∈K(t) Attn q→k (t)·V k (t). Where K(t) is the set of currently valid modes, x̂ q (t) represents the aggregated features of the Query modality q after cross-modal interaction.
[0124] Example 2 This embodiment, based on Embodiment 1, further illustrates the progressive quality processing, dynamic interactive anchor points, uncertainty, and degraded operation mode. For modes containing multiple acquisition channels, progressive quality processing at the channel level, lead group level, and mode level can be performed according to the signal quality of each acquisition channel. When a single acquisition channel does not meet the quality conditions, that channel stops participating in feature extraction; when the effective channel ratio does not meet the lead group quality conditions, the corresponding lead group stops participating in feature extraction; when the corresponding mode as a whole does not meet the quality conditions, the interactive features of that mode are masked.
[0125] Quality processing is performed progressively at the channel level, lead group level, and modal level, and interactive anchor points are selected or switched based on the reliability coefficient of the current effective modality; when there are insufficient effective modalities, the system enters the corresponding downgrade or freeze state.
[0126] Within the current valid modalities, interaction anchors can be determined based on the confidence coefficient. The modal features corresponding to the interaction anchors are used as query features, and the features of the remaining valid modalities are used as the interaction features. When the confidence coefficient of the current interaction anchor drops to the switching condition, interaction anchors are re-determined from the remaining valid modalities, and a transitional fusion is performed between the original interaction anchor and the new interaction anchor.
[0127] When outputting risk, the data integrity uncertainty can be determined based on the credible participation ratio of the valid modes; the modal consistency uncertainty U cons (t) Determined based on the temporal consistency of the effective modes, for example, U cons (t)=1-(1 / |K(t)|)·Σ m∈K(t) A m (t); The prediction uncertainty can be determined by the variance or standard deviation of the risk probability obtained from multiple random deactivation samplings during the inference stage. In this implementation, 20 samplings can be performed. The three types of uncertainty are combined into a comprehensive uncertainty according to preset weights, and the reliability status is given accordingly. The number of effective modes and the confidence coefficient are also used to determine the normal operation, degraded operation, frozen or recovered status, and the output of risk information is constrained by the operation status.
[0128] Model training can constrain classification performance, cross-modal consistency, and reliability coefficient stability through the following loss functions.
[0129] Total loss: L total =L cls +λ cons L cons +λ reg L reg +λ α L α .
[0130] Among them, L total For the total loss, L clsFor classification loss, L cons For cross-modal consistency regularization loss, L reg For the sparse regularized loss of the confidence coefficient, L α For the time-smoothed regularized loss of the confidence coefficient; λ cons , λ reg and λ α These are the weights of the corresponding loss terms.
[0131] Classification loss (Focal Loss, which addresses imbalanced positive and negative samples): L cls =-(1 / N)·Σ i =1…N[y i (1-p i ) γ lnp i +(1-y i )p i γ ln(1-p i )).
[0132] Where N is the number of training samples, y i ∈{0,1} is the delirium label of sample i, p i ∈[0,1] represents the delirium risk probability output by the model for sample i, and γ is the Focal Loss focusing parameter.
[0133] Where γ is the Focal Loss focusing parameter, which is set to 2 in this embodiment.
[0134] Consistency regularization loss (encourages minimization of residuals after cross-modal delay correction): L cons =(1 / N)·Σ i=1…N [(1 / |P i |)·Σ (m,n)∈Pᵢ C m,n (t i )).
[0135] Among them, P i Let C be the set of modal pairs that are simultaneously valid and can be computed consistently within the current window for sample i. m,n (t i ) represents the consistency residual between mode m and mode n after time delay correction.
[0136] Sparsity regularization (encourages sparsity of confidence coefficients, reducing the participation of low-quality modes): L reg =(1 / N)·Σ i=1…N Σ m |α m (t i )|.
[0137] Where, α m (t i ) represents the confidence coefficient of mode m within the time window corresponding to sample i.
[0138] Confidence coefficient smoothing regularization (to prevent excessive jumps in α_m between adjacent windows): L α =(1 / N)·Σ i =1…N-1Σ m [α m (t i+1 )-α m (t i )] 2 .
[0139] Among them, t i With t i+1 These are two adjacent time windows.
[0140] The default weights for each loss are: λ cons =0.5, λ reg =0.01, λ α =0.1.
[0141] Where, β m,n γ represents the trainable interaction coefficients between mode m and mode n; m,n λ is the learnable scaling factor for the time-delay search window of the modality pair; λ is the fusion weight of the confidence coefficient; and β is the scaling factor for the modality's own offset variation term.
[0142] The core physical quantities and parameter specifications are summarized below.
[0143] To facilitate a centralized explanation of the core physical quantities and parameter settings, the relevant content is summarized in Table 14.
[0144] Table 14: Core Physical Quantities and Parameter Settings As shown in Table 14, the value range, update method or status of the relevant parameters have been defined accordingly, which can be used to unify the parameter standards in subsequent calculations and deployments.
[0145] Where ΔT is the feature processing time window; L base The shortest duration of the individual baseline; Λ m,n τ represents the time delay search range for modes m and n; dev τ is the relative offset significance threshold; N is the confidence coefficient threshold; mc η represents the number of samples for Monte Carlo Dropout inference. data η cons and ηmc These are the combined weights of data integrity, modal consistency, and model prediction uncertainty, respectively, with the sum of the three being 1.
[0146] Employing a cross-attention mechanism i (on), with EEG features as the query and vital signs and clinical features as the key / value pairs.
[0147] Based on the modal confidence coefficient, the highest confidence mode, Top-k confidence modes, or a weighted combination of confidence modes are dynamically selected as the Query. Dynamic query anchors can be selected based on the number of valid modalities and the distribution of confidence coefficients, with the specific strategies as follows.
[0148] The system maintains three query anchor point selection modes, which are automatically determined by the mode selection coefficient ρ(t) based on the number of valid modes K(t) at the current time and the distribution of confidence coefficients. To facilitate a centralized explanation of the dynamic query anchor selection mode, the relevant content is summarized in Table 15.
[0149] Table 15: Dynamic Query Anchor Selection Mode As shown in Table 15, the relevant objects, conditions and processing methods have been organized in the order of implementation, providing a specific basis for subsequent data processing and system operation.
[0150] Where ρ(t) represents the query anchor pattern selection coefficient; ρ in the time lag cross-correlation section below m,n (δ,t) represents the mode pair correlation coefficient. These are different parameters and should not be used interchangeably.
[0151] Simplified decision-making rules (recommended for actual deployment): In addition to "a certain mode α is significantly higher than others", ρ=0 (single anchor point) also needs to satisfy: The highest mode has α_m ≥ 0.65 (a single mode is reliable enough). The second highest mode α_n < the highest mode α_m - 0.15 (the difference is large enough). Both conditions are indispensable; otherwise, the system will revert to a combined approach to avoid using a single anchor point based solely on a slight advantage.
[0152] When switching queries, hysteresis, exponential smoothing, and momentum buffering are used to reduce frequent switching caused by instantaneous fluctuations.
[0153] To prevent frequent switching ("oscillation") of the query anchor point due to instantaneous fluctuations in modal confidence, which could lead to jumps in the prediction output, the system employs a third-order smoothing strategy: First, the frequency of mode switching can be limited by using a hysteresis comparator.
[0154] When ρ(t) differs between two consecutive frames, a switch is not performed immediately; instead, inertia is applied through a hysteresis window. Allow switching to the new mode ρ new Duration ≥ H ρ A series of windows.
[0155] Among them, H ρ Hysteresis count threshold: 4 windows (120 seconds) can be used when switching between ρ=0 and ρ=1, 2 windows (60 seconds) can be used when switching between ρ=1 and ρ=2, and 6 windows (180 seconds) can be used when switching between ρ=0 and ρ=2; execution is performed immediately when switching to fallback in any mode.
[0156] Hysteresis comparators give switching "inertia": switching from A to B requires continuous confirmation, and switching back from B to A also requires continuous confirmation, preventing transient disturbances from causing the system to oscillate back and forth between the two states.
[0157] Hysteresis example: If ρ(t) changes from 1 to 0 (single anchor mode), ρ(t) = 0 must remain at 0 for 4 consecutive windows (120 seconds) before switching is executed; if ρ(t) returns to 1 in the middle, the switching counter is cleared and starts accumulating again.
[0158] Once the switching conditions are met continuously, exponential smoothing can be used to complete the transition between the old and new queries.
[0159] Once the switch is confirmed, instead of a direct jump, a smooth transition is achieved using an exponentially weighted moving average (EWMA): Q eff (t)=ψ(t)·Q new (t)+[1-ψ(t)]·Q old (t).
[0160] Where ψ(t)∈[0,1] is the transition factor, ψ(t)=1-exp[-Δt] switch / τ smooth ];Δt switch τ is the time since the query switch occurred. smooth This is the smoothing time constant.
[0161] When switching anchor points within the same mode type, τ smooth 15 seconds is possible; τ when switching between different mode types smooth 60 seconds is available; τ when switching to fallback smooth =0 seconds and execute immediately.
[0162] During the aforementioned transition, transient mutations in the characteristic-level momentum buffer constraint query characterization can also be introduced.
[0163] During the transition, a feature-level momentum buffer is introduced to limit transient mutations in the Query representation: Q̃(t)=β mom ·Q̃(t-1)+[1-β mom ]·Q eff (t).
[0164] Where, β mom is the momentum coefficient, which can be taken as 0.85 in this embodiment; Q̃(t) is the Query characterization after momentum smoothing.
[0165] When the confidence coefficients of all modes are below the threshold, the system enters a graded degradation process.
[0166] A degradation strategy is triggered when the effective mode set K(t) is empty, meaning the confidence coefficients of all modes are below the threshold τ = 0.40. The degradation strategy is implemented in three progressive levels: Each degradation level can be defined as follows based on the effective modes and the highest confidence coefficient.
[0167] To facilitate a centralized explanation of the degradation level definition under low trust status, the relevant content is summarized in Table 16.
[0168] Table 16: Degradation Level Definitions under Low Trust Status As shown in Table 16, the relevant objects, conditions and processing methods have been organized in the order of implementation, providing a specific basis for subsequent data processing and system operation.
[0169] The handling strategies for different downgrade levels are as follows.
[0170] D1: Slight downgrade (with barely usable anchors) Query Anchor: Use the single modality with the highest confidence coefficient as the anchor (even if α) m <0.40) When entering a mild downgrade, a penalty for insufficient credibility is added to the overall uncertainty, rather than directly amplifying the risk probability. The penalty for insufficient credibility can be calculated as ΔU = 0.5·max{0, 0.40-max}. m α m The calculation is performed on (t)}, and a comprehensive uncertainty or a confidence interval for expanding the risk outcome is added; the risk probability p is still limited to the range [0,1].
[0171] Warning strategy: Red alerts are frozen; only yellow and lower alerts are allowed. Output note: "Data quality is insufficient; please combine with clinical judgment." D2: Severe degradation (no available anchors, but original signal present) D3: Frozen (All signals severely missing) The model inference process is completely paused, and no risk score is output. The output interface displays: "Data unavailable, please check device connection." The system log records the start and end times of the freeze. When any modal MQS returns to ≥0.60 and remains so for ≥2 minutes, the system performs a hot recovery: The first 5 minutes of the recovery period are marked as "Cold Start - Data Accumulation in Progress (X / 5 minutes)". The query anchor uses observations from the recovered mode, but adds additional uncertainty. When the modal quality is restored, the degraded state can be exited and state oscillations suppressed according to the following rules.
[0172] Recovery detection: Continuous detection of K rising and max m α m The degradation state can only be exited after the value ≥0.40 reaches two consecutive windows (60 seconds), and the degradation recovery also uses hysteresis.
[0173] Post-recovery transition: After recovery, the query smoothly transitions from the cached anchor to the current anchor, with a transition time constant τ. recovery =30 seconds.
[0174] The fused output is a 256-dimensional joint representation vector.
[0175] Third layer: Temporal Modeling & Classification i on) The fused representations generated every 5 minutes over the past 24 hours (a total of 288 time steps) are input into a bidirectional LSTM (2 layers, 256 hidden units) or a Transformer timing encoder.
[0176] In cross-modal consistency calculations, different modal pairs use feature objects that correspond to their physiological meanings.
[0177] To facilitate a centralized explanation of the objects and feature dimensions of modality consistency calculation, the relevant content is summarized in Table 17.
[0178] Table 17: Modal Pair Consistency Calculation Objects and Feature Dimensions As shown in Table 17, the relevant objects, conditions and processing methods have been organized in the order of implementation, providing a specific basis for subsequent data processing and system operation.
[0179] Each modal offset sequence is constructed using a sliding window, and its sequence length is set as follows.
[0180] The offset sequence is calculated using a sliding window, and the sequence length for each mode is defined as follows: To facilitate a centralized explanation of the length settings for each modal offset sequence, the relevant content is summarized in Table 18.
[0181] Table 18: Length settings for each modal offset sequence As shown in Table 18, the value range, update method or status of the relevant parameters have been defined accordingly, which can be used to unify the parameter standards in subsequent calculations and deployments.
[0182] Criteria for sequence length selection: A 60-minute window (120 time steps) is the equilibrium point: physiological changes in the precursory signs of delirium typically unfold on a timescale of 20 minutes to several hours. A 60-minute window is sufficient to capture the trend of pathophysiological evolution while avoiding excessive computational delays.
[0183] Clinical assessment data is sparsely sampled (every 8 hours), so a 24-hour window (12 time steps) is used to ensure that enough assessment points are included in the calculation.
[0184] The cross-modal time delay search range can be set according to the physiological response sequence of different modalities as follows.
[0185] The physiological time delay range between different modal pairs is set based on pathophysiological inferences and literature reports: This article uses the following convention: within the time-delay search range Λ m,n In the text, candidate correction offset δ<0 indicates that mode n lags behind mode m, and δ>0 indicates that mode n leads mode m. The "expected time delay direction" is used to describe the sequence of physiological events. Its positive value can represent the lead time. The sign of the two expressions is not mixed.
[0186] To facilitate a centralized explanation of the cross-modal physiological time delay search range, the relevant content is summarized in Table 19.
[0187] Table 19: Search Range for Cross-Modal Physiological Delay As shown in Table 19, the time relationships and corresponding ranges between different modes or states are centrally defined, providing a basis for subsequent timing correction and consistency calculations.
[0188] Search step size: 1 second for continuous signals such as EEG / NIRS / HRV; 30 minutes for clinical assessment data (sampling interval of several hours).
[0189] Calculation method: In each time window t, at Λ m,n Calculate the sliding cross-correlation within the range, and select the offset with the largest correlation coefficient as δ. m,n * (t). The cross-correlation window length is 60 seconds, and it is recalculated every 60 seconds.
[0190] The consistency calculation method is selected hierarchically based on the data structure and coupling relationship of the modal pairs, and the corresponding parameters are configured.
[0191] For different modal pairs, a hierarchical consistency calculation strategy is adopted as follows.
[0192] A single method is insufficient to cover the characteristic differences of all mode pairs, therefore a hierarchical strategy is adopted: To facilitate a centralized explanation of the selection of cross-modal consistency calculation methods, the relevant content is summarized in Table 20.
[0193] Table 20: Selection of Cross-Modal Consistency Calculation Method As shown in Table 20, the relevant objects, conditions and processing methods have been organized in the order of implementation, providing a specific basis for subsequent data processing and system operation.
[0194] The formulas and example parameters for each consistency calculation method are as follows.
[0195] Time lag cross-correlation using ρ m,n (δ,t) represents the correlation coefficient between mode m and mode n under the candidate time delay δ; where δ∈Λ m,n L is the length of the offset sequence involved in the calculation. In this implementation, L can be 120 time steps (60 minutes). |ρ m,n A value ≥ 0.40 can be used as an example criterion for determining significant correlation.
[0196] Coherence is achieved using Coh m,n (f,t)=|P m,n (f,t)| 2 / [P m,m (f,t)·P n,n [(f,t)]; where P m,n Let P be the cross-power spectral density between mode m and mode n. m,m and P n,n The corresponding power spectral density is given by f, where f is the frequency.
[0197] Mutual information adopts I(z) m ;z n Evaluate the nonlinear dependence of the two modes after time delay correction and normalize it to obtain I. norm ∈[0,1]; K can be 6 when estimating K-nearest neighbors, and N is the number of samples involved in the estimation.
[0198] Transmission entropy uses TE m→n The evaluation considers the directional information transfer of mode m to mode n; where k and l are the embedding dimensions of the source and target sequences, respectively, and in this implementation, both can be taken as 2, τ TE The time delay parameter for calculating the propagation entropy can be taken as 1 second in this implementation.
[0199] The learnable residual can be represented as C m,n res (t)=MLP([z m (t), z n (t), ρ m,n (t), I(z) m ;z n The residual is used to supplement individualized nonlinear coupling relationships that cannot be covered by the preset correlation index.
[0200] To unify the direction of different consistency indicators, they can be converted into "inconsistency": C TLCC =1-ρ 2 C Coh =1-Coh,C MI =1-I norm C TE =1-TE norm Learnable residuals can be directly used as inconsistency.
[0201] parameter: Spectrum window length: 4 seconds (Hanning window) Overlap rate: 50% Coherence threshold (for determining meaningful coupling): ≥ 0.50 (example parameter, can be adjusted based on samples) Update frequency: Recalculated every 60 seconds To avoid false consistency caused by medical intervention, the system excludes the corresponding event period before consistency calculation.
[0202] Medical interventions in the ICU environment (sedation, postural changes, resuscitation, etc.) can produce synchronous, physiologically “false” consistency in multimodal signals, but this “consistency” does not reflect the pathophysiological evolution of delirium. The exclusion rules are explained in detail below.
[0203] The types of events to be excluded, the time ranges, and the basis for exclusion are as follows.
[0204] When calculating cross-modal consistency, data during the following events must be excluded (masked): To facilitate a centralized explanation of the time periods and criteria for excluding pseudo-consistency events, the relevant content is summarized in Table 21.
[0205] Table 21: Exclusion Periods and Basis for False Consistency Events As shown in Table 21, there is a clear correspondence between different triggering conditions and their corresponding processing results, which can be used to determine the processing path under the corresponding data state.
[0206] The aforementioned events can be identified through manual tagging or electronic medical records and excluded from consistency calculations using a time mask.
[0207] Event marking and masking mechanism: The above events are either actively marked by nurses via bedside terminals (by clicking the "Event Log" button and selecting the type), or automatically identified by the system through electronic medical records (EMR) medication records and nursing operation records. Event markers are written to the system log, and the data for the corresponding time period is automatically masked in consistency calculations (it does not participate in any calculations such as cross-correlation, coherence, MI / TE). Masking method: in C m,n When calculating (t), if t∈ExcludedTime, then C m,n (t) is set to NaN (invalid), and is skipped during fusion.
[0208] The main parameters involved in cross-modal consistency calculation are summarized below.
[0209] To facilitate a centralized explanation of the calculation parameters for cross-modal consistency, the relevant content is summarized in Table 22.
[0210] Table 22: Summary of Cross-Modal Consistency Calculation Parameters As shown in Table 22, the value range, update method or status of the relevant parameters have been defined accordingly, which can be used to unify the parameter standards in subsequent calculations and deployments.
[0211] After time series modeling, the fused temporal features are input into the risk output layer. The risk output layer can use a fully connected mapping structure to map the fused temporal features into delirium risk probabilities in the range of 0 to 1, and further generate delirium risk warning information according to the preset risk interval.
[0212] It should be noted that the present invention performs computer processing and risk classification of multimodal physiological data and clinical structured data in the risk output stage. The output content includes risk probability, warning level and reliability status, which are used to prompt subsequent human attention. It does not directly give a definitive diagnosis of whether the patient has delirium, nor does it replace the diagnosis or treatment decision made by medical personnel based on clinical assessment.
[0213] Model training can be completed in the following manner.
[0214] The model training samples consist of multimodal time windows aligned with completion time. Each time window retains the signal quality, baseline source status, and validity markers of the corresponding modality. CAM-ICU positive results can be used as positive supervisory labels for delirium. RASS scores are used to determine sedation status and data evaluability, but RASS scores are not directly used as diagnostic labels for delirium.
[0215] During training, at least the delirium classification loss should be used to update the relevant parameters of the risk output, and the cross-modal consistency residual can be used as an auxiliary constraint to ensure that the model maintains the modal relationship after physiological time delay correction while learning the delirium risk mapping relationship; Focal Loss can be used for classification loss to reduce the impact of class imbalance on training results.
[0216] For trainable parameters in trusted gated interactions, AdamW or equivalent gradient optimization methods can be used for updating. After training, the model parameters that meet the validation requirements are fixed or saved. During the inference phase, the current patient data is processed in the order of signal quality, relative offset, time delay correction, cross-modal consistency, confidence coefficient and gated interaction.
[0217] Model performance can be evaluated on validation samples independent of the training samples. Evaluation metrics may include AUROC, AUPRC, sensitivity, specificity, positive predictive value, calibration error, and early warning lead time. The early warning lead time can be calculated as the time interval between the first time a preset early warning threshold is reached and the subsequent CAM-ICU positive assessment time. The model threshold and key parameters are fixed before validation. The validation results are used to evaluate the risk identification performance of the data processing model; specific values are obtained from actual sample validation and are not used as clinical diagnostic criteria.
[0218] Example 3 This embodiment provides a quality-aware multimodal temporal fusion system for severe delirium. The system includes a data acquisition module, a temporal consistency processing module, a reliable fusion module, and a risk output module. The data acquisition module acquires the patient's data for each modality and its signal quality. The temporal consistency processing module determines the relative offset sequence based on the comparison between signal quality and baseline, performs temporal correction within a preset physiological time lag range between modalities, and determines cross-modal consistency. The reliable fusion module combines cross-modal consistency, signal quality, and baseline source status to determine a reliability coefficient, and uses the reliability coefficient to gate the interaction characteristics between modal data to obtain fused temporal features. The risk output module outputs delirium risk warning information based on the fused temporal features.
[0219] The system consists of a data acquisition module, a time-series consistency processing module, a trusted fusion module, and a risk output module. Each module sequentially completes multimodal data acquisition, time delay correction and consistency calculation, trusted gating fusion, and output of delirium risk warning information.
[0220] The aforementioned modules can be deployed on one or more computing nodes in bedside data acquisition terminals, edge computing gateways, in-hospital servers, or cloud servers. The modules communicate with each other via data interfaces, transmitting data objects with unified timestamps, signal quality status, baseline source status, and modality identifiers, enabling continuous processing of data from the same patient within the same time window.
[0221] The early warning output layer is used to present risk assessment and early warning information obtained through computer data processing. Its output content and classification method are as follows.
[0222] Risk probability and trends can be mapped to a three-level early warning system according to the following rules.
[0223] The system outputs a three-level early warning based on the probability and trend of risk: To facilitate a centralized explanation of the three-level early warning rules for delirium risk, the relevant content is summarized in Table 23.
[0224] Table 23: Three-Level Early Warning Rules for Delirium Risk As shown in Table 23, there is a clear correspondence between different triggering conditions and their corresponding processing results, which can be used to determine the processing path under the corresponding data state.
[0225] The probability intervals and trend thresholds in Table 23 are used to convert the model output into different levels of risk warnings. They represent the grading display conditions of the data processing results, rather than the clinical diagnostic thresholds for delirium. Medical staff can conduct subsequent assessments independently by combining CAM-ICU, RASS, and other clinical information.
[0226] To illustrate the association between the above multimodal data and the risk of delirium, the following section explains the correspondence between the various modalities from a pathophysiological perspective.
[0227] Delirium is essentially an acute brain dysfunction syndrome, and its core pathophysiological mechanism involves multiple interrelated systemic disorders. These disorders leave detectable signal "fingerprints" in multiple dimensions such as EEG, brain oxygen saturation, and vital signs, which is the biological basis for the effectiveness of this system.
[0228] Neuroinflammation and neurotransmitter imbalance can manifest as changes in the EEG spectrum, as detailed below.
[0229] The direct electrophysiological manifestation of this series of pathological changes is "slowing down" on the electroencephalogram (EEG): reduced normal alpha wave (8-13Hz) activity and increased delta wave (1-4Hz) and theta wave (4-8Hz) activity. Specifically: Increased relative power of delta waves and theta waves are positively correlated with the occurrence of delirium.
[0230] The decrease in relative power of alpha waves and the decrease in relative power of beta waves are negatively correlated with delirium.
[0231] An increased burst suppression ratio (BSR) is a marker of reduced brain activity and is closely associated with the risk of delirium.
[0232] This means that when the neurophysiological changes that indicate the onset of delirium begin to occur in a patient's brain, the EEG spectral characteristics have already changed before the clinical symptoms. This is the biological basis for the system's ability to provide early warnings.
[0233] An imbalance between brain oxygen supply and demand can manifest as a decrease in brain oxygen saturation (rScO2), as detailed below.
[0234] Local brain oxygen saturation (rScO2) monitoring based on near-infrared spectroscopy (NIRS) technology can reflect changes in the brain's oxygen supply and demand balance in real time.
[0235] When delirium occurs, the balance between oxygen supply and consumption in brain tissue is disrupted: Insufficient cerebral perfusion: Systemic inflammation, blood pressure fluctuations, and microcirculatory disturbances lead to reduced cerebral blood flow.
[0236] Abnormal brain oxygen metabolism: Neuroinflammation and mitochondrial dysfunction lead to a decrease in the efficiency of brain tissue in utilizing oxygen.
[0237] Decreased brain oxygen saturation: The above factors together lead to a decrease in rScO2, and the decrease in rScO2 has been proven to be closely related to the occurrence of postoperative delirium.
[0238] This means that a continuous downward trend or sharp fluctuation in rScO2 is an early signal that brain tissue is experiencing hypoxia / ischemia stress, which is one of the important triggers for delirium.
[0239] Autonomic nervous system dysfunction can manifest as changes in heart rate variability (HRV), as detailed below.
[0240] Heart rate variability (HRV) is an important bioelectrical indicator reflecting the function of the autonomic nervous system (ANS).
[0241] There is a bidirectional association between delirium and autonomic nervous system dysfunction: The vagus nerve (ANS) participates in the regulation of inflammatory reflexes: the vagus nerve regulates systemic inflammation levels through the "cholinergic anti-inflammatory pathway." When ANS function is impaired, anti-inflammatory capacity decreases, inflammation becomes uncontrolled, and delirium may be induced.
[0242] ANS interacts with the brain's neural network: key cognitive brain regions such as the prefrontal cortex and anterior cingulate cortex simultaneously regulate ANS activity, and abnormal ANS function reflects functional impairment in these brain regions.
[0243] A decrease in HRV predicts a risk of delirium: Studies have shown that a decrease in HRV is associated with an increased risk of delirium, and patients with overactive sympathetic nerve activity are more likely to develop postoperative delirium.
[0244] This means that abnormal changes in HRV are a quantitative indicator of an imbalance in the autonomic nervous system, which is both a trigger for delirium (through uncontrolled inflammation) and a manifestation of delirium (through impaired brain-heart axis function).
[0245] Structured clinical data are used to characterize patients’ underlying vulnerabilities and existing risk factors, as detailed below.
[0246] Age, underlying diseases, medication history, APACHE-II score, infection markers, and other clinical variables are known risk factors for delirium. While they cannot directly "see" delirium, they provide information about a patient's baseline vulnerability—when faced with the same trauma (such as infection or surgery), highly vulnerable patients are far more likely to develop delirium than low-vulnerable patients.
[0247] This means that structured data provides a “background probability” of delirium risk, helping the model understand “how vulnerable the patient is.”
[0248] From a computational modeling perspective, deep learning models achieve early warning by learning the statistical mapping between multimodal features and risk labels, as detailed below.
[0249] Although the pathophysiological changes of delirium leave signals in various modalities of data, these signals are extremely weak, high-dimensional, dynamic, and vary greatly from person to person—the human eye cannot directly "read" the risk of delirium from EEG waveforms or heart rate trends. The role of deep learning models is to automatically learn the mapping relationship between these signals and delirium from massive amounts of data.
[0250] Multimodal fusion: Why "1+1>2" Single-modal data each has its own limitations: EEG: Information-rich, but sensitive to electrode placement and susceptible to electromyography / electroographism interference.
[0251] rScO2: Reflects brain oxygenation status, but has low temporal resolution (typically 2Hz) and limited information dimensions.
[0252] HRV / vital signs: indirectly reflect the state of the autonomic nervous system, but their association with delirium is indirect.
[0253] Structured data: provides baseline risk, but cannot reflect dynamic changes.
[0254] The core advantage of multimodal fusion lies in "information complementarity": Even when the quality of EEG signals is reduced due to patient agitation, rScO2 and vital signs can still provide information.
[0255] Even before rScO2 shows significant changes, EEG spectral slowing may have already occurred.
[0256] Clinical structured data provides patient-specific baselines, helping models distinguish whether "the slowing of this patient's EEG is pathological or a characteristic of their baseline."
[0257] Time series modeling: Why can it provide early warnings? Delirium does not occur "instantly," but rather is a gradual evolution from a normal state to a pathological state. This evolution leaves traces of this gradual change in physiological signals over time.
[0258] The reason why the system's time series modeling (24-hour sliding window + bidirectional LSTM / Transformer) can provide early warnings is because: Capturing the trend: The theta wave power in EEG does not "suddenly rise," but rather increases gradually over several hours. The model is able to identify this upward trend by learning from historical sequences.
[0259] Detecting fluctuation patterns: Delirium itself has significant fluctuations, and its precursors may manifest as changes in the variability of physiological signals (such as changes in the variability of delta waves) rather than abnormalities in a single value.
[0260] Leveraging time dependence: The current physiological state is highly correlated with the state over the past few hours. Temporal models (such as LSTM and Transformer) are specifically designed to capture this time dependence.
[0261] It should be noted that the numerical ranges, window lengths, thresholds, sampling rates, network structure dimensions, and training parameters mentioned above are used to illustrate an implementable configuration. For different ICU equipment combinations, sampling conditions, patient populations, or computational resources, the corresponding parameters can be adaptively adjusted while maintaining the relative baseline, intermodal physiological time delay correction, cross-modal consistency constraints, and reliable gating relationships unchanged.
[0262] Through the above implementation methods, those skilled in the art can collect multi-source data from bedside devices, complete quality assessment and individual baseline construction, and further complete relative offset calculation, physiological time delay correction, cross-modal consistency assessment, credibility coefficient generation, modal interaction gating, time series fusion and risk output; when the quality of some modal data deteriorates or is temporarily missing, weight reduction, masking, anchor point switching or degraded operation can also be performed according to the credibility coefficient and effective modal status.
[0263] The above description is merely an embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of the present invention are included within the scope of protection of the present invention.
Claims
1. A quality-aware multimodal temporal fusion method for severe delirium, characterized in that, The method includes: Acquire patient modal data and its signal quality; Based on the comparison results of the signal quality and the baseline, the relative offset sequence of each modality data is determined. The relative offset sequence is temporally corrected within a preset intermodal physiological time delay range. Based on the temporally corrected relative offset sequence, cross-modal consistency is determined. The cross-modal consistency refers to the convergence of changes in the relative offset sequences of different modalities at corresponding time positions after physiological time delay correction. The credibility coefficient of each modal data is determined by combining the cross-modal consistency, signal quality and baseline source status. The interaction characteristics between each modal data are then gated using the credibility coefficient to obtain the fused temporal characteristics. Delirium risk warning information is output based on the fused temporal features.
2. The quality-aware multimodal temporal fusion method for severe delirium as described in claim 1, characterized in that, The step of determining the relative offset sequence of each modality data and performing time-series correction on the relative offset sequence within a preset intermodal physiological time lag range includes: Based on the signal quality, the effective data segments of each mode are determined, and the modal characteristics within the effective data segments are compared with the corresponding baselines. A relative offset sequence is formed according to the baseline mean and dispersion. For each modality pair, search for the time offset that minimizes the difference between the two relative offset sequences within the physiological time delay range corresponding to the order of their physiological responses; Based on this, time series correction is performed, and cross-modal consistency is characterized by the differences between the corrected sequences.
3. The quality-aware multimodal temporal fusion method for severe delirium as described in claim 2, characterized in that, The step of determining the relative offset sequence of each modality data and performing time-series correction on the relative offset sequence within a preset intermodal physiological time lag range includes: The physical reliability of each mode is formed based on signal quality and baseline source status. The physical reliability is then fused with cross-modal consistency and the corresponding mode's own offset change status to obtain a reliability coefficient. The effective modes and their interaction contributions are determined based on the credibility coefficients, and the interaction features among the effective modes are weighted and aggregated. Modes whose credibility coefficients do not meet the effective conditions are downweighted or masked.
4. The quality-aware multimodal temporal fusion method for severe delirium as described in claim 3, characterized in that, The modal data includes at least two of the following: electroencephalogram (EEG) data, brain oxygen saturation data, heart rate variability or vital signs data, and clinical structured data; the preset physiological time delay range between modalities is set according to the response sequence of the corresponding physiological processes.
5. The quality-aware multimodal temporal fusion method for severe delirium as described in claim 4, characterized in that, The baseline source status includes individual baseline status and population alternative baseline status. The individual baseline is established by a continuous data window of the patient under preset clinical stability conditions. When the corresponding modality cannot obtain a valid individual baseline that meets the duration requirement, population reference data corresponding to the patient's disease and age range is called to establish an alternative baseline, and the baseline source status is marked to reduce the physical reliability of the corresponding modality using the alternative baseline.
6. The quality-aware multimodal temporal fusion method for severe delirium based on any one of claims 1-5, characterized in that, For a mode containing multiple acquisition channels, progressive quality processing is performed at the channel level, lead group level, and mode level based on the signal quality of each acquisition channel. When a single acquisition channel does not meet the quality conditions, that channel is stopped from participating in feature extraction. When the proportion of effective channels does not meet the lead group quality conditions, the corresponding lead group is stopped from participating in feature extraction. When the corresponding mode as a whole does not meet the quality conditions, the interactive features of that mode are masked.
7. The quality-aware multimodal temporal fusion method for severe delirium as described in claim 6, characterized in that, In the current valid modal, an interaction anchor point is determined based on the confidence coefficient. The modal feature corresponding to the interaction anchor point is used as the query feature, and the features of the remaining valid modalities are used as the interaction features. When the confidence coefficient of the current interaction anchor point decreases to the switching condition, an interaction anchor point is re-determined from the remaining valid modalities, and a transition fusion is performed between the original interaction anchor point and the new interaction anchor point.
8. The quality-aware multimodal temporal fusion method for severe delirium as described in claim 7, characterized in that, When outputting the delirium risk warning information, the data integrity uncertainty is determined based on the data integrity of the effective modes, the modal consistency uncertainty is determined based on the cross-modal consistency, and the prediction uncertainty is determined based on the dispersion of the risk results obtained from multiple perturbation inferences. The reliability status of the warning information is determined by combining the three types of uncertainty.
9. The quality-aware multimodal temporal fusion method for severe delirium as described in claim 8, characterized in that, The normal operation state, degraded operation state, frozen state, or recovery state are determined based on the number of effective modes and the reliability coefficient of each mode, and the output of delirium risk warning information is constrained according to the operation state. After the signal quality of the mode in the frozen state is restored and the recovery conditions are continuously met, it enters the recovery state. After a preset data accumulation period, the corresponding mode is restored to participate in fusion.
10. A quality-aware multimodal temporal fusion system for severe delirium, characterized in that, include: The data acquisition module is used to acquire patient modal data and their signal quality. The timing consistency processing module is used to determine the relative offset sequence based on the comparison result of the signal quality and the baseline, perform timing correction within the preset intermodal physiological time delay range, and determine cross-modal consistency. The trusted fusion module is used to determine the trust coefficient by combining the cross-modal consistency, signal quality and baseline source status, and to use the trust coefficient to gate the interaction characteristics between the data of each modality to obtain the fusion time sequence characteristics; The risk output module is used to output delirium risk warning information based on the fused time-series features.
