A fall detection method and system based on multi-modal data fusion
By employing a multimodal data fusion method, utilizing audio and acceleration data collected by a smart bracelet, and combining Shapley value calculation and the Transformer model, the false alarm and false negative problems of existing fall detection methods are solved, achieving higher detection accuracy and robustness.
Patent Information
- Application Number
- CN202411006200.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2044-07-25
AI Technical Summary
Existing fall detection methods suffer from false alarms and false negatives. Methods based on posture sensors are prone to false alarms, while methods based on computer vision are subject to high deployment costs, privacy concerns, and the impact of ambient light on detection accuracy. Multimodal data fusion technology also has shortcomings in handling complex relationships between features.
A multimodal data fusion method is adopted, which collects audio and acceleration data through a smart bracelet, extracts features using wav2vec 2.0 and LSTM models, performs feature alignment by combining linear transformation and adaptive normalization, calculates weighted confidence Shapley values and Shapley reliability, and uses a Transformer model for deep fusion. A loss function for the multimodal fusion classification task is designed to improve detection accuracy.
It effectively captures detailed information from multimodal data, handles uncertainties and redundancies, improves the accuracy and robustness of fall detection, reduces false alarms and false negatives, and enhances the real-time performance and reliability of the system.
Smart Images

Figure CN118965264B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of multimodal data fusion technology, and relates to a fall detection method and system based on multimodal data fusion. Background Technology
[0002] With the increasing prevalence of global population aging, the health and safety of the elderly are receiving growing attention. Due to declining physical function, the elderly are prone to falls during daily activities, which can lead to physical injuries and even endanger their lives. Therefore, effectively monitoring the activity status of the elderly and promptly detecting and alerting to falls has become a pressing technical challenge. Currently, the market mainly offers fall detection methods based on posture sensors and fall detection methods based on computer vision.
[0003] Posture sensor-based fall detection methods monitor the elderly person's posture in real time by wearing posture sensors on certain parts of the body. When the sensors detect abnormal acceleration or postural changes, they determine whether a fall has occurred and issue an alarm. The advantages of this method are its high real-time performance and ease of deployment. However, because the collected data is limited, sudden accelerations or postural changes during daily activities, such as bending over to pick something up or suddenly turning around, can be mistaken for falls. Furthermore, insufficient sensor sensitivity or the slow movement of elderly people when falling can lead to missed detections. Therefore, posture sensor-based fall detection methods are prone to false alarms and missed detections.
[0004] Computer vision-based methods utilize camera-captured video data and deep learning algorithms to analyze the activity trajectories and posture changes of elderly individuals to identify fall events. The advantage of this approach is that it eliminates the need for users to wear devices and can cover a large monitoring area. However, computer vision methods also face significant challenges. Camera deployment is costly and has limited coverage. Camera surveillance may raise privacy concerns, especially in public places such as homes and hospitals. Furthermore, video analysis is highly dependent on lighting conditions; changes in ambient light can affect detection accuracy. Video data processing requires substantial computing power, which can become a bottleneck in real-time monitoring and analysis, impacting the system's real-time performance and reliability.
[0005] Multimodal data fusion technology improves the accuracy and robustness of detection by comprehensively processing and analyzing data from different modalities (such as vision, sound, acceleration, etc.), leveraging the complementary advantages of each data source to obtain more comprehensive detection results.
[0006] However, existing multimodal data fusion techniques are insufficient in capturing complex relationships between features, which affects the accuracy of the final detection. Summary of the Invention
[0007] To address the aforementioned technical problems, this invention employs a fall detection method based on multimodal data fusion, comprising: collecting multimodal data, inputting the multimodal data into a trained fall detection model, and obtaining detection results;
[0008] The training process for the fall detection model includes:
[0009] S1. Collect multimodal data and extract multimodal features based on the multimodal data;
[0010] S2. Perform preliminary feature fusion on the multimodal features to obtain preliminary fused features;
[0011] S3. Calculate the weighted confidence Shapley value based on the preliminary fusion features, and perform weighted fusion on the preliminary fusion features based on the weighted confidence Shapley value to obtain the weighted fusion features;
[0012] S4. Use the Transformer model to process the weighted fusion features to obtain deep fusion features;
[0013] S5. Obtain the classification results based on the deep fusion features;
[0014] S6. Calculate the loss function value based on the classification results, the weighted preliminary fusion features, and the deep fusion features. Update the model parameters based on the loss function value. When the loss function value is minimized, the model training is complete.
[0015] Multimodal data includes audio data and acceleration data; multimodal feature extraction includes: using the wav2vec2.0 model to extract audio features from the audio data, and using the LSTM model to extract acceleration features from the acceleration data.
[0016] Preliminary feature fusion of multimodal features includes: aligning multimodal features to the same feature space through linear transformation and adaptive normalization, and then performing preliminary feature fusion on the aligned multimodal features to obtain preliminary fused features.
[0017] The weighted confidence Shapley value is calculated based on the preliminary fusion characteristics, including:
[0018] Calculate the evidence confidence function for each modality feature in the preliminary fusion features. Calculate the confidence Shapley value for each modality feature based on the evidence confidence function and the preliminary fusion features. Calculate the divergence between the confidence Shapley values of each modality feature. Calculate the Shapley similarity matrix based on the divergence between the confidence Shapley values. Calculate the confidence Shapley reliability based on the Shapley similarity matrix. Calculate the weighted confidence Shapley value based on the confidence Shapley reliability. Weight the preliminary fusion features based on the weighted confidence Shapley value to obtain the weighted fusion features.
[0019] The evidence confidence function for each modality feature is calculated as follows:
[0020]
[0021] Where i is the index of the modal feature in the initial fusion feature, and m i (F) represents the basic probability assignment, indicating the support of modal feature i for subset F, E is the input set of the evidence confidence function, and F is a subset of set E. i (E) is the evidence confidence function for modal feature i.
[0022] Calculate the confidence Shapley value x for each modal feature. i include:
[0023]
[0024] Where M is the number of all modal features, γ k Let be a combination coefficient, where i represents the index of the modal feature, S represents the subset that does not contain modal feature i, k represents the size of subset S, and TS i Let TS represent the set of modal features i, and Bel represent the set of all modal features. i () is the evidence confidence function for modal feature i.
[0025] Calculate the confidence Shapley reliability Rel i include:
[0026]
[0027] Among them, Rel T The total reliability of all modal features is η(x). M represents the number of modal features, i and j are the indices of the modal features, and η(x) represents the total reliability of all modal features. i ,x j ) is the Shapley similarity matrix, x i is the confidence Shapley value of modal feature i.
[0028] Calculate the weighted confidence Shapley value Includes: Rel based on confidence Shapley reliability i Calculate the weight vector w i According to the weight vector w i The confidence Shapley values of the modal features are weighted and combined to obtain the weighted confidence Shapley value.
[0029] The loss function is:
[0030] L = L CE +λL consistency
[0031] Among them, L CE For classification loss, L consistency λ represents the consistency loss between weighted fusion features and deep fusion features, and λ is the adjustment parameter.
[0032] A system based on fall detection includes: a lightweight feature extraction module, a feature alignment and adaptive fusion module, a collaborative Transformer module, and a single-task optimization module; the lightweight feature extraction module is used to extract multimodal features from collected multimodal data; the feature alignment and adaptive fusion module is used to align and fuse the extracted multimodal features to generate preliminary fused features; the collaborative Transformer module is used to further fuse the preliminary fused features to generate deep fused features; and the single-task optimization module is used to classify the deep fused features to generate classification results.
[0033] Beneficial effects:
[0034] 1. This invention utilizes wav2vec 2.0 and LSTM models to extract audio and acceleration features respectively, effectively capturing detailed information in audio data and dynamic changes in acceleration data, providing rich information for subsequent feature fusion. 2. By introducing confidence and reliability calculations when calculating Shapley values, this invention enables the fusion process to better handle uncertainties and conflicting information, improving the robustness of the results. 3. By introducing JS divergence and similarity matrices when calculating Shapley values, this invention can more accurately handle redundant information between features, reducing their negative impact and thus improving the reliability and accuracy of the fusion results. 4. This invention designs a loss function for multimodal fusion classification tasks by combining classification loss and consistency loss, improving the model's classification accuracy. 5. This invention effectively captures the interrelationship between two modalities through the attention and cross-attention mechanisms of the transformer model, thereby obtaining more accurate fusion results. Attached Figure Description
[0035] Figure 1 A flowchart of a fall detection method based on multimodal data fusion provided in an embodiment of the present invention;
[0036] Figure 2 This is a structural diagram of a fall detection method based on multimodal data fusion provided in an embodiment of the present invention;
[0037] Figure 3 A schematic diagram of a fall detection method based on multimodal data fusion provided in an embodiment of the present invention; Detailed Implementation
[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of 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.
[0039] like Figure 1 , Figure 2 As shown, this embodiment of the invention employs a fall detection method based on multimodal data fusion, comprising: collecting multimodal data through a smart bracelet, wherein the multimodal data includes, but is not limited to, audio data and acceleration data; inputting the multimodal data into a trained fall detection model to obtain detection results;
[0040] The training process for the fall detection model includes:
[0041] S1. Collect multimodal data through a smart bracelet and extract multimodal features based on the multimodal data;
[0042] S2. Perform preliminary feature fusion on the multimodal features to obtain preliminary fused features;
[0043] S3. Calculate the weighted confidence Shapley value based on the preliminary fusion features, and perform weighted fusion on the preliminary fusion features based on the weighted confidence Shapley value to obtain the weighted fusion features;
[0044] S4. Use the Transformer model to process the weighted fusion features to obtain deep fusion features;
[0045] S5. Obtain the classification results based on the deep fusion features;
[0046] S6. Calculate the loss function value based on the classification results, the weighted preliminary fusion features, and the deep fusion features. Update the model parameters based on the loss function value. When the loss function value is minimized, the model training is complete.
[0047] Multimodal data collection via smart bracelets includes: real-time acquisition of audio and acceleration data via smart bracelets worn on the wrists of elderly people; the built-in microphone of the bracelet is used to collect audio data, and the nine-axis sensor is used to collect acceleration data.
[0048] The extraction of multimodal features includes: using the wav2vec 2.0 model to extract features from the collected audio data to obtain audio features A; using the LSTM model to extract features from the collected acceleration data to obtain acceleration features S; the wav2vec 2.0 is an audio representation learning model.
[0049] Preliminary feature fusion of multimodal features includes: aligning audio and acceleration features through linear transformation and adaptive normalization, and then performing preliminary feature fusion using a multi-layer perceptron (MLP). The specific steps are as follows:
[0050] Step 1: Align audio features and acceleration features to the same feature space through linear transformation and adaptive normalization; the specific steps are as follows:
[0051] Perform linear transformations on the audio features and acceleration features respectively:
[0052] A * =W a A+b a
[0053] S * =W s S+b s
[0054] Among them, A * and S * W is the result of linear transformation of audio features and acceleration features. a and W s Let b be a linear transformation matrix. a and b s This is the bias vector.
[0055] The transformed features are then normalized.
[0056]
[0057]
[0058] Where A^ and S^ are the normalized results, μ a and σ a μ represents the mean and standard deviation of the audio features. s and σ s These are the mean and standard deviation of the acceleration characteristics.
[0059] Step 2: Perform preliminary fusion of the aligned audio features and acceleration features; the specific steps are as follows:
[0060] The aligned audio features and acceleration features are concatenated into a comprehensive feature vector X. i :
[0061] X i =concat(A^,S^)
[0062] The integrated feature vector is input into the MLP for nonlinear transformation to obtain the preliminary fused feature φ. i :
[0063] φ i =MLP(X i )
[0064] Among them, the preliminary fusion feature φ i It contains n modal features, and concat is the concatenation operation.
[0065] The weighted confidence Shapley value is calculated based on the preliminary fusion characteristics, including:
[0066] Step 1: Calculate the evidence confidence function Bel for each modality feature i in the preliminary fusion features. i (E):
[0067]
[0068] in, Let p be the basic probability assignment, representing the support of modal feature i for subset F. i (B) is the probability of subset B, where B is a subset of F. When E is the complete set of events or states, E is the input set of the evidence confidence function, and F is a subset of set E.
[0069] Step 2: Based on the evidence confidence function Bel i (E) and the initial fusion features are used to calculate the confidence Shapley value x for each modality feature. i :
[0070]
[0071] Where M is the number of all modal features, Let be a combination coefficient, where i represents the index of the modal feature, S represents the subset that does not contain modal feature i, k represents the size of the subset S of modal features, and TS i Let be the set of modal features i, and TS represent the set of all modal features.
[0072] Step 3: Calculate the divergence (shapley Jensen-Shannon, JS) δ(x) between the confidence Shapley values for each mode. i ,x j ):
[0073]
[0074] Where H(·) is the Shannon entropy, used to measure the difference between confidence Shapley values.
[0075] Step 4: Based on the divergence δ(x) between confidence Shapley values i ,x j Calculate the Shapley similarity matrix η(x) i ,x j ):
[0076] η(x i ,x j )=1-δ(x i ,x j )
[0077] Step 5: Based on the Shapley similarity matrix η(x) i ,x j Calculate the confidence Shapley reliability Rel i :
[0078]
[0079]
[0080] Among them, Rel T The total reliability is denoted by , where i and j are the indices of the modal features.
[0081] Step 6: Based on the confidence Shapley reliability Rel i Calculate the weight vector w i :
[0082]
[0083] Step 7: Based on the weight vector w i Calculate the weighted confidence Shapley value
[0084]
[0085] Based on weighted confidence Shapley values The preliminary fusion features are weighted to obtain the weighted fusion features x. weighted include:
[0086]
[0087] Where n is the number of modal features.
[0088] The weighted fused features are input into the Transformer model for further feature processing and enhancement, including:
[0089] x' = Transformer(x weighted )
[0090] Where x' is the deep fusion feature after processing by Transformer.
[0091] The Transformer model, through its self-attention mechanism and multi-layer structure, can capture complex dependencies between features, further enhancing feature representation. The specific steps are as follows:
[0092] Step 1: Calculate the attention weights between input features and dynamically adjust the importance of features:
[0093] Q = x weighted W Q
[0094] K = x weighted W K
[0095] V = x weighted W V
[0096]
[0097] Where Q, K, and V are the query vector, key vector, and value vector, respectively, and d k It is the dimension of the initial fusion feature after weighting.
[0098] Step 2: Use a multi-head self-attention mechanism to capture multi-level dependencies between features:
[0099] MultiHead(Q,K,V) =
[0100] Concat(head1,head2,...,head h W O
[0101]
[0102] head i W represents the output of an attention head. O It is the output matrix; the multi-head attention mechanism performs parallel computation through different heads, each head having its own independent linear transformation matrix. and
[0103] Step 3: Output features from the self-attention mechanism The input is further processed by the feedforward neural network FFN:
[0104]
[0105] Where W1 and W1 are weights, and b1 and b1 are biases.
[0106] The classifier classifies the final fused features to determine whether a fall event has occurred. If the classifier detects a fall event, it immediately triggers an alarm and notifies relevant personnel.
[0107] This invention designs a loss function for a multimodal fusion classification task, which needs to consider the accuracy of both audio features and acceleration features simultaneously:
[0108] L = L CE +λL consistency
[0109]
[0110] L consistency =||x weighted -x'||
[0111] Among them, L CE For classification loss, the cross-entropy function is used for calculation, serving as the primary loss function. For the predicted classification result, y i The actual label value; L consistency λ is the consistency loss between weighted fusion features and deep fusion features, and λ is an adjustment parameter used to adjust the main loss and feature consistency loss.
[0112] like Figure 3 As shown, this invention employs a fall detection system based on multimodal data fusion. The system includes: a lightweight feature extraction module, a feature alignment and adaptive fusion module, a collaborative Transformer module, and a single-task optimization module. The function and implementation of each module are as follows:
[0113] Lightweight feature extraction module: Uses wav2vec 2.0 model to extract audio features and LSTM to extract acceleration features.
[0114] Feature alignment and adaptive fusion module: The audio features and acceleration features are aligned through linear transformation and adaptive normalization, so that the features of different modalities are comparable in the same feature space. The aligned audio features and acceleration features are fused using a multilayer perceptron (MLP) to obtain preliminary fused features, so as to capture the relationship and complementarity between features of different modalities.
[0115] The Collaborative Transformer module calculates the contribution of each modality feature in the fusion process, obtains a weighted confidence shapley value, and applies weighted processing to the initial fused features based on the weighted confidence shapley value to ensure that the contribution of each feature is reasonably evaluated. A lightweight Transformer model is then used to further process and enhance the weighted initial fused features, capture the complex dependencies between features, and finally generate deep fused features for classification.
[0116] Single-task optimization module: Focuses on fall detection task to improve model focus and performance; Implementation method: Design a single-task learning head specifically for fall detection to avoid the complexity brought by multi-task learning and focus on improving the accuracy and robustness of fall detection.
[0117] The above-described embodiments further illustrate the purpose, technical solution, and advantages of the present invention. It should be understood that the above-described embodiments are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made to the present invention within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A fall detection method based on multimodal data fusion, characterized in that, include: Collect multimodal data, input the multimodal data into the trained fall detection model, and obtain the detection results; The training process for the fall detection model includes: S1. Collect multimodal data and extract multimodal features based on the multimodal data; Multimodal data includes audio data and acceleration data; multimodal feature extraction includes: extracting audio features from audio data using the wav2vec 2.0 model, and extracting acceleration features from acceleration data using the LSTM model; S2. Perform preliminary feature fusion on the multimodal features to obtain preliminary fused features; S3. Calculate the weighted confidence Shapley value based on the preliminary fusion features, and perform weighted fusion on the preliminary fusion features based on the weighted confidence Shapley value to obtain the weighted fusion features; The weighted confidence Shapley value is calculated based on the preliminary fusion characteristics, including: Calculate the evidence confidence function for each modality feature in the preliminary fusion features. Calculate the confidence Shapley value for each modality feature based on the evidence confidence function and the preliminary fusion features. Calculate the divergence between the confidence Shapley values of each modality feature. Calculate the Shapley similarity matrix based on the divergence between the confidence Shapley values. Calculate the confidence Shapley reliability based on the Shapley similarity matrix. Calculate the weighted confidence Shapley value based on the confidence Shapley reliability. Weight the preliminary fusion features based on the weighted confidence Shapley value to obtain the weighted fusion features. S4. Use the Transformer model to process the weighted fusion features to obtain deep fusion features; S5. Obtain the classification results based on the deep fusion features; S6. Calculate the loss function value based on the classification results, the weighted preliminary fusion features, and the deep fusion features. Update the model parameters based on the loss function value. When the loss function value is minimized, the model training is complete.
2. The fall detection method based on multimodal data fusion according to claim 1, characterized in that, Preliminary feature fusion of multimodal features includes: aligning multimodal features to the same feature space through linear transformation and adaptive normalization, and then performing preliminary feature fusion on the aligned multimodal features to obtain preliminary fused features.
3. The fall detection method based on multimodal data fusion according to claim 1, characterized in that, The evidence confidence function for each modality feature is calculated as follows: Where i is the index of the modal feature in the initial fusion feature. The basic probability assignment represents the support of modal feature i for subset F. Let F be the input set of the evidence confidence function, and let F be a set. a subset of Let i be the evidence confidence function for modal feature i.
4. The fall detection method based on multimodal data fusion according to claim 1, characterized in that, Calculate the confidence Shapley value for each modal feature. include: Where M is the number of all modal features, Let be a combination coefficient, where i represents the index of the modal feature, S represents the subset that does not contain modal feature i, and k represents the size of the subset S. Let be the set of modal features i, and TS represent the set of all modal features. Let i be the evidence confidence function for modal feature i.
5. The fall detection method based on multimodal data fusion according to claim 1, characterized in that, Calculate the confidence level of Shapley reliability include: in, Let M be the total reliability of all modal features, M be the number of all modal features, and i and j be the indices of the modal features. This is the Shapley similarity matrix. is the confidence Shapley value of modal feature i.
6. The fall detection method based on multimodal data fusion according to claim 1, characterized in that, Calculate the weighted confidence Shapley value Including: based on confidence Shapley reliability Calculate the weight vector According to the weight vector The confidence Shapley values of the modal features are weighted and combined to obtain the weighted confidence Shapley value. .
7. The fall detection method based on multimodal data fusion according to claim 1, characterized in that, The loss function is: in, For classifying losses, The consistency loss is calculated for weighted fusion features and deep fusion features. To adjust the parameters.
8. A system based on the fall detection method according to any one of claims 1 to 7, characterized in that, include: The system comprises a lightweight feature extraction module, a feature alignment and adaptive fusion module, a collaborative Transformer module, and a single-task optimization module. The lightweight feature extraction module extracts multimodal features from the collected multimodal data. The feature alignment and adaptive fusion module aligns and fuses the extracted multimodal features to generate preliminary fused features. The collaborative Transformer module further fuses the preliminary fused features to generate deep fused features. The single-task optimization module classifies the deep fused features to generate classification results.
Citation Information
Patent Citations
Acoustical echo cancellation device
WO2001010102A2
Prediction method and system for postoperative early recurrence of hepatocellular carcinoma
CN116525113A
Panoramic image-based road traffic carbon emission prediction method, apparatus and device, and medium
CN118153984A
