A multi-task recurrent convolutional network for rib fracture time prediction
By using a multi-task recurrent convolutional network, combined with multi-scale CNN and LSTM, the problems of time-consuming and laborious diagnosis of rib fractures and high missed diagnosis rate are solved. This achieves efficient and accurate fracture type classification and healing time prediction, thus improving diagnostic performance.
Patent Information
- Application Number
- CN202410144698.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2044-02-01
AI Technical Summary
The diagnosis of rib fractures using existing technologies is time-consuming and laborious, with a high rate of missed diagnoses. It is difficult to accurately determine the type of fracture and the time of occurrence, especially in forensic identification where there is a lack of efficient examination methods.
A multi-task recurrent convolutional network is adopted, combining multi-scale CNN and LSTM. Fracture features are extracted through a shared feature encoder, fracture type is classified using a bidirectional visual attention layer and a classification-aware attention module, and fracture healing time is predicted through a context-aware module.
It significantly improved the accuracy of fracture healing period prediction and fracture type classification performance, with accuracy, precision and recall improved by 14.75%, 2.38% and 10.44% respectively, which were superior to other methods.
Smart Images

Figure CN117952944B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of medical CT image prediction technology, specifically relating to a multi-task recurrent convolutional network for rib fracture time prediction. Background Technology
[0002] Rib fractures are among the most common chest injuries, accounting for over 10% of all injuries. Computed tomography (CT) of the chest is the primary imaging modality for patients with multiple trauma and is considered suitable for observing rib fractures. The type and timing of rib fractures are key indicators for assessing trauma severity and developing treatment plans. Unfortunately, the significant differences between small, blurry rib fractures and larger CT images make manual screening extremely time-consuming and laborious, potentially leading to the overlooking of minute fractures and making it difficult to determine the specific fracture type and timing. Furthermore, missed diagnoses are not uncommon, especially after a long day for physicians. Literature reports an average missed diagnosis rate of 26.25% for rib fractures using conventional image interpretation methods, which can lead to poor patient prognosis or adverse medical legal disputes. Therefore, the development of automated and accurate rib fracture identification methods is urgently needed in clinical practice.
[0003] In recent years, with the widespread application of convolutional neural networks (CNNs) in the medical field, the automatic rib detection technology has developed rapidly. In the literature [Bai Chongfeng, Wang Yun, Luo Qiang, et al. Diagnostic value of 320-slice spiral CT for multiple rib fractures [J]. Journal of the Second Military Medical University, 2015, 36(8): 927-929.], the proposed model showed good performance in rib fracture detection and classification. In terms of fracture time prediction, although patients can usually know the time of their fracture, they are often not honest when facing injury assessment, especially when it comes to accident compensation. Therefore, accurate diagnosis of traumatic rib fractures is a reliable basis for judicial appraisal. The diagnosis of each rib fracture is directly related to the disability level and compensation level in accident appraisal, as well as the nature of violent cases. All of these require that the existence and type of rib fracture be determined in the shortest possible time, and that the time of fracture occurrence be identified. Therefore, in judicial appraisal, a more timely and efficient examination method is needed to clearly diagnose the time and type of each rib fracture.
[0004] Since few similar studies have developed detailed solutions, the results of this study can serve as an efficient auxiliary diagnostic tool in forensic identification. This study can be divided into two parts. The first task is to determine the fracture type, which is a challenging problem. Different researchers have different criteria for determining the type of rib fracture. In the published literature [Li Xingyu, Lei Yu, Huang Xiaoqi, et al. Comparison of the diagnostic value of AI and manual image reading for the nature of rib fractures [J]. China Medical Equipment, 2022, 37(08):32-36.], the fracture type is divided into displaced fracture, non-displaced fracture, and old fracture. Among them, old fracture is defined as callus formation or malunion at the fracture site. In [Qu Xiaonan. The effect of conventional dose and low dose CT scan on the image quality of traumatic rib fractures [J]. China Modern Drug Application, 2022, 16(15).] In the published literature [90-92.], fractures are classified as complete fractures or incomplete fractures; in the literature [Liu Xiang, Xie Huihui, Xu Yufeng, et al. Preliminary study on the application of artificial intelligence in CT diagnosis of rib fractures in chest trauma [J]. Journal of Shanghai Jiaotong University], fracture types are classified as displaced fractures (fracture of the cortex on one or both sides, with displacement, angulation, and fracture fragments), minor fractures (fracture of the cortex on one or both sides, but without displacement) and cortical torsion (bending of the cortex on one side, with no obvious fracture signs on the other side).
[0005] Based on the degree of fracture, it is divided into complete fracture and incomplete fracture. By comparing CT images of complete fracture and incomplete fracture, it can be seen that in complete fracture, the integrity or continuity of the bone is completely interrupted, while in incomplete fracture, the integrity or continuity of the bone is only partially interrupted.
[0006] Determining when a fracture occurred is crucial because it indicates the timeline of the injury. Some research papers indicate that fracture healing is a complex and continuous process, generally divided into three phases: the hematoma-inflammatory organization phase, the primary callus formation phase, and the callus remodeling phase. In the hematoma-inflammatory organization phase, bleeding occurs at the fracture site, forming a hematoma. Later, the hematoma organizes and gradually transforms into fibrous tissue, connecting the fracture ends. This phase typically lasts about two weeks. In the primary callus formation phase, the fibrous connections at the fracture ends gradually develop into primary callus, and the fracture ends become relatively stable. X-rays may show a blurred fracture line. This phase takes 4-8 weeks. In the callus remodeling phase, the primary callus matures and transforms into normal bone. Excess callus is gradually absorbed by osteoclasts, resulting in successful bone remodeling at the fracture site. This phase takes 1-2 years. Therefore, the hematoma organization phase indicates a fracture occurred within two weeks; the primary callus formation phase indicates a fracture occurred between two and eight weeks; and the callus remodeling phase indicates a fracture occurred before eight weeks. Therefore, the timing of a fracture can be predicted by determining which stage of fracture healing is shown in a rib CT image. Summary of the Invention
[0007] To address the technical problems existing in the prior art, this invention provides a multi-task recurrent convolutional network for rib fracture time prediction, consisting of two branches that share early convolutional layers. In the fracture healing period branch, considering the critical importance of time information for healing period prediction, a Long Short-Term Memory (LSTM) network is used to encode sequence dependencies. In the fracture type classification branch, a multi-scale CNN network is designed to extract fracture features. In this way, a multi-task learning model composed of CNN and RNN modules is formed.
[0008] To achieve the above objectives, the technical solution adopted in this invention is: a multi-task recurrent convolutional network for rib fracture time prediction, with the following specific structure:
[0009] 1. Using CT image sequences of rib fractures as input, a multi-scale shared feature encoder is constructed;
[0010] 2. Construct a classification subnetwork, and build a bidirectional visual attention layer and a classification perception attention module in the classification subnetwork;
[0011] 3. Construct a prediction subnet and build a context-aware module in the prediction subnet;
[0012] IV. Constructing the objective function for joint learning of CNN and RNN.
[0013] In the multi-scale shared feature encoder, three convolutional layers are stacked in each residual unit. Each convolutional layer is followed by a batch normalization layer and a ReLU nonlinear layer. Sixteen residual units are stacked in succession to form a deep residual network. The coarse multi-scale features are used as the input to the classification subnetwork, and the fine multi-scale features are used as the input to the feature learning of the classification task. The output of the last layer of the multi-scale shared feature encoder is connected to the LSTM unit in the prediction branch, and the recursive LSTM encoding order correlation is utilized.
[0014] The bidirectional visual attention layer forms multi-branch attention feature pools with different receptive domains, embedding top-down and bottom-up feature fusion strategies. Let F be the coarse multi-scale feature generated by the multi-scale shared feature encoder. s Refined features are s∈{1,2,3,4}, the visual perception process of the bidirectional visual attention layer under different scale features is described as follows:
[0015]
[0016]
[0017] In the formula, s represents different scale branches. f represents the intermediate features obtained by the visual attention layer at scale s. s For the s-th visual attention block, λ i ≥0 and λ i '≥0' represents weights obtained by applying the ReLU activation function. Upsam is the upsampling operation, and Downsam is the downsampling operation. All feature fusion processes use the above equations (1) and (2) for feature fusion, and fine features are extracted through a bidirectional visual attention layer.
[0018] The classification-aware attention module obtains more accurate classification probabilities by aggregating features from adjacent scales in the bidirectional visual attention layer. It connects features between adjacent scales in a bottom-up direction and applies a soft attention mask with fused features to guide the expression of fracture features at the current scale. Let the refined features extracted by the bidirectional visual attention layer be... When s∈{1,2,3,4}, the features guided by the classification-aware attention mechanism are as follows: Represented as:
[0019]
[0020]
[0021] in, For connection operation; For element-wise multiplication, f r f σ and f r' All are convolutional layers with group normalization and nonlinear activation functions, f r' It is a convolution with a 1×1 kernel, and through f σ The sigmoid activation yields the attention mask at the current scale. Furthermore, f r' With 3×3 f r Convolution is performed, and the features generated by this convolution are passed to the next attention block until the final category is predicted.
[0022] In the prediction branch, the shared feature encoder is connected to the LSTM unit in the branch. The context-aware module CE is embedded in the prediction branch to maintain the consistency between the layers of the LSTM framework and further extract the correlation between the current input and the upper context.
[0023] The computation process of the proposed CE-LSTM architecture is represented as follows:
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031] in, H represents the output of n stacked CE blocks with dense contextual interactions. t and C t This is the output of the CNM-LSTM architecture, which is mainly obtained through LSTM gate operations, where i t For the input gate, f t For the Gate of Oblivion, o t For the output gate, W is the weight matrix, b g b i b f b o Both are bias values, and tanh is the activation function. For sigmoid operation, g t For x t eigenvectors.
[0032] The design of the CE block consists of the following steps:
[0033] Step 1: Generate a weight map of the upper-layer context using a CNN layer with a 5×5 kernel to capture contextual features, indicating potential motion trends at the next time point. Normalize the weight map to (0,1) using the Sigmoid function, and reweight the input feature X using the Hadamard product. t To highlight the important parts of the input state, the weight mapping is multiplied by a constant scaling factor s;
[0034] Step 2: Update H by multiplying by the input-related weight mapping. t-1 To extract subsequent motion trends, Hadamard product is used for subsequent predictions. The weight map is generated in the same way as in step one, capturing local contextual motion features through a CNN layer and an activation function with a scaling factor, thus obtaining the updated contextual state. and input status Within the CE block, contextual relevance is extracted through interactive mode, where W H W X The weights are those processed by the CNN, and σ is the result of the Sigmoid operation, with the specific formula as follows:
[0035]
[0036]
[0037] Define the network input as x = {x t' ,…,x t-1 ,x t}, where x t' The first image in the CT image sequence, x t For the last image, the number of images in each CT image sequence is represented as N. f Let U represent the shared layer with weight β, and the resulting x t The eigenvectors are represented by g t This indicates that the higher layers stacked in the two branches are represented by V. T Indicates the fracture type classification, V P This represents the predicted fracture healing time, with weights θ. T and θ P ;
[0038] The model introduces focal loss, where C is the set of fracture categories, and the fracture type classification branch loss function L is defined. T for:
[0039]
[0040] In the formula, For x t The ground truth for lower fracture types, when When the c-th fracture type appears in the t-th image; Indicates the current image x t The predicted value for the c-th fracture type is given; α and γ are two hyperparameters, where α is the weighting factor for different categories.
[0041] The softmax cross-entropy function is used to calculate the loss for a multi-class classification task.
[0042]
[0043] In the formula, x represents t The predicted probability of belonging to class z. For x t The ground truth, h, predicts fracture healing time. t This indicates that LSTM operates on the input image x. t And the previous hidden state h t-1 The updated hidden state calculated below is learned by combining the dynamics of the CT sequence with the visual representation through the recursive LSTM module in the network framework;
[0044] The entire framework is trained end-to-end, interactively identifying fracture types and fracture healing stages. It leverages shared visual features extracted from the previous layer and joint optimization of the two branches, allowing the learning of both tasks to benefit each other. The shared weights β in the early convolutional layer U are used in the fracture type identification loss L. T And the predicted loss of fracture healing time L P To optimize the process, the gradient generated by the fracture type identification branch flows to the layer of the fracture healing time prediction branch. The recursive LSTM of the fracture healing time prediction branch brings the time information into the common network and learns together with the shared feature encoder module.
[0045] Compared with existing technologies, the specific advantages of this invention are as follows: The proposed method achieves significantly better predictive performance in the fracture healing period prediction task, far surpassing other prediction methods. This performance improvement is mainly attributed to the use of contextual attention mechanisms and the ability of recursive LSTM to extract sequence information. In the fracture type classification task, compared with other classification methods, the proposed method achieves excellent results in almost all evaluation metrics. Specifically, the prediction accuracy is 93.20%, precision is 93.23%, and recall is 86.81%. Compared with ADR-Net, the accuracy, precision, and recall are improved by 14.75%, 2.38%, and 10.44%, respectively. Attached Figure Description
[0046] Figure 1 This is a schematic diagram of the network structure of the present invention.
[0047] Figure 2 This is a schematic diagram of the first-scale branch structure of the visual attention layer.
[0048] Figure 3 A framework diagram for classifying and perceiving attention.
[0049] Figure 4 This is a framework diagram of CE-LSTM.
[0050] Figure 5 This is a framework diagram for CE.
[0051] Figure 6 This diagram illustrates the comparison of classification and prediction results using different methods. Figure 6 (a) Comparison of fracture healing time prediction using different methods Figure 6 (b) is a schematic diagram showing the comparison of fracture type classification results using different methods. Detailed Implementation
[0052] To make the technical problems to be solved, the technical solutions, and the beneficial effects of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present invention and are not intended to limit the present invention.
[0053] like Figure 1 As shown, a multi-task recurrent convolutional network for rib fracture time prediction is presented. It takes CT image sequences of rib fractures as input and a ResNet50 network with 50 residual convolutional layers as a shared feature encoder. Within each residual unit, three convolutional layers are stacked, followed by a batch normalization layer and a ReLU nonlinear layer. After constructing the residual units, 16 units are progressively stacked to increase the network depth, ultimately forming a deep residual network. The classification branch extracts coarse-scale features at different resolutions from the deep residual network ResNet50. Small-scale feature maps have low resolution but high semantic information, while large-scale feature maps have high resolution but rich detail information.
[0054] Therefore, multi-scale features can effectively handle rib fracture targets of different sizes. Using coarse multi-scale features as input to the classification subnetwork preserves detailed information about fracture targets of different sizes while suppressing noise introduced by the background region. Finally, fine multi-scale features are used as input for feature learning in the classification task, forcing the network to learn discriminative region features for each task. In the fracture healing time prediction branch, which depends on time information, the output of the last layer of the shared feature encoder is connected to the LSTM units in the prediction branch, utilizing the recursive LSTM encoding order correlation. Both the classification branch (with fully connected layers) and the prediction branch (with RNN layers) are seamlessly connected to the shared feature encoder, resulting in a multi-task network combining recurrent convolutional networks and convolutional networks to handle rib fracture healing time prediction and fracture type classification.
[0055] Constructing a Classification Subnetwork: Bidirectional Visual Attention Layer (BiVA): To learn coarse-to-fine features, including effective contextual information, region semantics, and boundary information, a scale-aware visual attention layer (VA) is proposed. The goal of the VA block is to fully exploit local and global spatial information at different scales. The VA block acquires global information through a seamless combination of convolution and dilated convolution, introducing an attention mechanism and setting different branches according to different scales to further enhance the visual receptive field. In the VA block, convolutional layers represent the visual center, and dilated convolutional layers are explored to control its eccentricity, simulating the receptive field structure of the human visual system. Then, inspired by human visual perception theory, these VA blocks further form a bidirectional VA layer (BiVA). These BiVA blocks form a multi-branch attention feature pool with different receptive domains. Then, top-down and bottom-up feature fusion strategies are embedded to effectively integrate low-level contextual information and high-level region semantic information. Figure 2 As shown, the VA block contains all the details of the multi-branch feature pool. Let F be the coarse multi-scale feature generated by the multi-scale shared feature encoder. s Refined features are s∈{1,2,3,4}, the visual perception process of the BiVA layer under different scale features is described as follows:
[0056]
[0057]
[0058] In the formula, f represents the intermediate features obtained by the visual attention layer at scale s. s Let λ be the s-th visual attention layer block VA. i ≥0 and λ i '≥0' represents the weights obtained by applying the ReLU activation function, Upsam represents upsampling, and Downsam represents downsampling. All feature fusion processes use the above equations (1) and (2) instead of the conventional softmax layer for fast feature fusion. Furthermore, to reduce parameters, two and three 3×3 convolutions are selected to replace 5×5 and 7×7 convolutions, respectively. The BiVA layer extracts fine features with high feature invariance.
[0059] Classification-Aware Attention Module (CAM): such as Figure 3As shown, a framework diagram of the proposed classification-aware attention is presented. This module obtains more accurate classification probabilities by aggregating features from adjacent scales in the bidirectional visual attention layer, rather than directly performing multi-branch prediction on refined features. Specifically, features between adjacent scales are first connected in a bottom-up direction, and then a soft attention mask with fused features is applied to guide the expression of fracture features at the current scale.
[0060] Let the fine features extracted through the bidirectional visual attention layer be... When s∈{1,2,3,4}, the features guided by the classification-aware attention mechanism are as follows: Represented as:
[0061]
[0062]
[0063] in, Indicates a connection operation. Represents element-wise multiplication, f r f σ and f r' It is a convolutional layer with group normalization and nonlinear activation functions, f r' For a convolution with a 1×1 kernel, and through f σ The sigmoid activation yields the attention mask at the current scale. Furthermore, it is combined with a 3×3 f... r A convolution is performed, which generates features with rich details, and then passed to the next attention block until the final category is predicted.
[0064] Prediction Subnetwork: In the prediction branch, the shared feature encoder is connected to the LSTM units in this branch, and the interaction between the memory cells and the environment is modulated through several gates. Considering the limitations of ConvLSTM, a context-aware module (CE) is embedded in the prediction branch to maintain consistency across the LSTM layers and further extract the correlation between the current input and the upper-level context.
[0065] The proposed CE-LSTM architecture is as follows: Figure 4 As shown, the calculation process of CE-LSTM can be represented as follows:
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073] in, H represents the output of n stacked CE blocks with dense contextual interactions. t and C t This is the output of the CNM-LSTM architecture, which is mainly obtained through LSTM gate operations, where i t For the input gate, f t For the Gate of Oblivion, o t Let W be the output gate, W be the weight matrix, b be the bias, and tanh be the activation function. This is a sigmoid operation.
[0074] Context-Aware Module (CE): Considering the process of ConvLSTM (Convolutional LSTM model), the input state X... t and the previous output state H t-1 The limited interaction between the two states, achieved solely through a single CNN layer and addition operation, is a key factor leading to information loss and ambiguous predictions. When these two states enter subsequent LSTM parts completely independently, the correlation between the current input and the upper-level context inevitably disappears as the model becomes increasingly complex. Most importantly, the current ConvLSTM and its extensions cannot reweight or capture important parts for the next time step. Therefore, a CE block was designed, containing additional operations to implement X. t and H t-1 To achieve better predictive performance, persistent correlations are established by minimizing the correlation reduction through the LSTM layers and establishing lasting relationships. This is achieved by leveraging spatiotemporal features to generate a context weight graph that enforces the capture of important information, focusing on the changing parts while weakening the fixed parts. Specifically, such as... Figure 5 The CE block shown consists of the following steps:
[0075] Step 1: To capture the important components of the current input that are helpful for long-term prediction, a weight map of the upper-layer context is generated using a CNN layer with a 5×5 kernel to capture contextual features, indicating potential motion trends at the next time step. Then, the weight map is normalized to (0,1) using the Sigmoid function, and the input features X are reweighted using the Hadamard product. t This highlights the important parts of the input state. Finally, the weight map is multiplied by a constant scaling factor s to prevent the CE blocks from becoming increasingly smaller as they stack.
[0076] Step 2: To enhance contextual features, it's crucial to effectively absorb the changing trends of the current input frame, i.e., consider the current motion and weaken the less invariant parts of the expression. H is updated by multiplying by the input-related weight mapping. t-1 This is done to extract subsequent motion trends for later prediction via the Hadamard product. The weight map is generated in the same way as in step 1, i.e., by capturing local contextual motion features through a CNN layer and an activation function with a scaling factor. Then, the updated context state is obtained. and input status Formally, in the proposed CE block, contextual relevance is extracted through an interaction mode, where W H W X σ represents the weights after passing through the CNN, and σ is the Sigmoid operation.
[0077]
[0078]
[0079] To achieve richer interactions and minimize additional parameters, stacked weighted shared CE blocks are used to further extract richer correlations.
[0080] The objective function for joint learning of CNN and RNN: This involves jointly learning both tasks using a sequence of extracted, consecutive CT images of rib fractures. The network input is defined as x = {x...} t' ,…,x t-1 ,x t}, where x t' It is the first image in the CT image sequence, x t This is the last one. The number of images in each CT image sequence is represented by N. f Meanwhile, the shared layer is represented by U with weight β, and the resulting x t The eigenvectors are represented by g t This indicates that the higher layers stacked in the two branches are represented by V. T Indicates the fracture type classification, V P This represents the predicted fracture healing time, with weights θ. T and θ P .
[0081] Considering the uneven distribution of sample sizes and varying levels of difficulty in distinguishing different fracture types, and how class imbalance can easily lead to biased classification results towards the majority class, a focal loss is introduced into the model to address this issue in classification tasks. Let C be the set of fracture categories, and define the fracture type classification branch loss function L. T for:
[0082]
[0083] In the formula, For x t Ground truth (real data) for lower fracture types, when When the c-th fracture type appears in the t-th image; Indicates the current image x t The predicted value for the c-th fracture type appears in the data; α and γ are two hyperparameters, α is the weighting factor for different classes, and the adjustment factor γ is used to reduce the weight of simple samples and focus on training difficult samples.
[0084] In the fracture healing time prediction task, the softmax cross-entropy function is used to calculate the loss for this multi-class classification task:
[0085]
[0086] In the formula, x represents t The predicted probability of belonging to class z; Let it be x t The ground truth predicting fracture healing time; h t This indicates that LSTM operates on the input image x. t And the previous hidden state h t-1 The updated hidden state calculated below is then learned by combining the dynamics of the CT sequence with the visual representation through the recursive LSTM module in the network framework.
[0087] Training the entire framework in an end-to-end manner allows for simultaneous and interactive identification of fracture types and fracture healing stages. Utilizing shared visual features extracted from the previous layer and joint optimization of the two branches enables mutual benefit in the learning of both tasks. Specifically, the shared weights β in the early convolutional layer U are used in the fracture type identification loss L. T And the predicted loss of fracture healing time L P Through optimization, the gradients generated by the fracture type identification branch can flow to the layers of the fracture healing time prediction branch, and vice versa. More importantly, the recursive LSTM of the fracture healing time prediction branch brings temporal information into the common network, which can be learned together with the shared feature encoder module. Therefore, temporal information not only plays a positive role in fracture healing time identification but also has potential benefits for fracture type classification.
[0088] The CT scanner's scanning range extends from the thoracic inlet to below the diaphragm, fully encompassing both sides of the 12 pairs of ribs, with bone windows (W600, L1500), a slice thickness of 1 mm, and a slice spacing of 1 mm. A sharp algorithm was used for thin-slice reconstruction. This dataset uses the NIFTI format for 3D medical images, with the standard NIFTI image extension being .nii. For processing the NIFTI format medical image data, the nibabel third-party library was used to read and write common medical and neurological image files. Each NIFTI file represents a 3D image, which is saved as a NumPy array after reading. The nibabel library automatically converts image pixel values to CT values and performs dataset labeling after data reading. This dataset mainly contains 151 sets of CT images from multiple follow-up examinations of 48 cases, totaling 73,795 thin-slice CT images. Fracture types are categorized into complete and incomplete fractures; fracture healing is divided into three stages: hematoma inflammation organization, primary callus formation, and callus remodeling. The specific distribution of the number of slices in each category is shown in Table 1.
[0089] Table 1 Dataset Distribution
[0090]
[0091] The performance of the method was evaluated using the 2017 Pediatric Bone Age Challenge dataset organized by the Radiological Society of North America (RSNA). The RSNA dataset included 14,236 hand X-ray images from male and female patients, with 12,611 images in the training set, 1,425 images in the validation set, and 200 images in the test set.
[0092] Analysis of experimental results:
[0093] 1) Data Preprocessing: Since the rib fracture area is much smaller than the background area, each CT slice was cropped and resampled to contain 250×250 pixels, significantly saving memory and reducing network parameters. Data augmentation methods such as 224×224 cropping and mirroring were also used to expand the training dataset. Furthermore, each CT slice on the RSNA dataset was also cropped to 250×250 pixels.
[0094] 2) Training process; The proposed model was implemented on the PyTorch platform, and all experiments were conducted using CPU. The model was trained on a Xeon(R) Silver 4114 GPU (NVIDIA GeForce RTX 2080 Ti), 12GB of RAM, and 64GB of storage. Backpropagation using stochastic gradient descent was employed, with a momentum of 0.9 and a weighted decay of 5e-4. The learning rate for the shared convolutional layers was initialized to 5e-5, and the learning rate for the two sub-branch layers was 5e-4. The learning rate was divided by 10 when the validation loss stabilized.
[0095] For fracture healing time prediction and fracture type identification, performance was validated using precision (Pre), recall, F1 score (F1), and accuracy (Acc), defined as follows:
[0096]
[0097]
[0098]
[0099] To verify the effectiveness of this method in simultaneously predicting fracture healing time and classifying fracture types, the following sets of experiments were conducted.
[0100] 1) Effectiveness of different modules; The baseline in the case of different modules consists of a shared feature encoder, a prediction branch and a classification branch. BiVA layer, CAM module and CE module are added to the baseline respectively, and the different modules are aggregated to the baseline.
[0101] 2) The impact of parameters; In the design of classification loss, there are two important hyperparameters γ and α. In order to study the impact of their settings on multi-task learning, we explored setting γ to 0.2, 0.5, 1.0 and 2.0, and α to 0.2, 0.5 and 0.75.
[0102] 3) Effectiveness of multi-task learning; In order to explore the mutual promotion between specific tasks, experiments were conducted not only in a single task, but also the effects of different feature encoders and input sequence lengths on the experimental results were compared in multi-task learning. The results of three configurations are listed in the table; (1) Two networks for fracture healing time prediction and fracture type classification were independently trained as the baseline of the experiment, using the same network architecture as the present invention to ensure the fairness of the comparison; (2) A multi-task network with two branches was trained in an end-to-end manner.
[0103] 4) Comparison with State-of-the-art Methods: To further validate the effectiveness of the proposed method, it was compared with other state-of-the-art networks. For the task of predicting fracture healing time, since there is relatively little research on this task in the field of deep learning, the proposed method was compared with three other state-of-the-art bone age prediction networks: Inception V3, ADR-Net, and ARL-Net. Most existing bone age prediction methods treat it as a classification or regression problem. Inception V3 uses a well-trained model on the ImageNet dataset for feature extraction and adds a regression layer to output bone age. ADR-Net is an attention-guided deep learning framework for bone age assessment, using attention maps to locate the most discriminative regions in hand bone images. ARL-Net first extracts features from a fine-tuned Inception V3 neural network and proposes a regression percentage error loss to reduce differences during training and maintain feature consistency between training and test samples. For classification tasks, the proposed network framework was compared with four other state-of-the-art classification networks: ResNet, HiFuse, Vision Transformer, and PCAN. These models have received widespread attention in classification tasks, and an increasing number of medical image processing studies are choosing them as benchmarks. To ensure a fair comparison, not only was the same data preprocessing used for all experiments, but all comparison models were also retrained using a unified implementation, and the training parameters were tuned to achieve optimal performance.
[0104] To verify the effectiveness of the proposed module, a deep residual network was used as a benchmark. This network consists of an encoder with residual blocks, a simple prediction branch, and a classification branch. The network design was completed based on this network.
[0105] CE (Context-Aware Module): As shown in Table 2, embedding CE modules into the recursive LSTM structure to replace the traditional LSTM structure in the baseline (Baseline + CE, with 3, 5, and 7 CEs embedded in models 1, 2, and 3, respectively) resulted in models 1, 2, and 3 achieving substantial improvements over the baseline in all four evaluation metrics. This further demonstrates that adding CE modules can increase contextual interactivity. Furthermore, the best results were achieved with 5 CEs, indicating that stacking a certain number of CE modules is more beneficial for capturing important parts closely related to the context and input image, effectively predicting current potential trends. {Visual Effects Analysis}
[0106] BiVA (Bidirectional Visual Attention Layer): As shown in Table 2, embedding the BiVA layer into the baseline (Baseline + BiVA, Models 4, 5, and 6) also helps improve the performance of the classification branch. Models 4, 5, and 6 represent models with different dilation rates, where R refers to the ratio of dilation rates used at different scales: R1 = [1, 1, 1, 1], R2 = [1, 2, 3, 4], R3 = [1, 2, 3, 5], and R4 = [1, 3, 5, 7]. Compared to the baseline, Model 7 improves its precision, recall, and accuracy from 55.82%, 40.97%, and 66.75% to 83.68%, 76.34%, and 85.60%, respectively. This improvement is attributed to the proposed BiVA module's ability to dynamically fuse multi-scale contextual information. To further confirm this, firstly, inserting a BiVA module without expanded convolutional rates (Model 4) into the baseline resulted in a 7.52% increase in accuracy compared to the baseline, but an 11.33% decrease compared to Model 7, indicating that capturing multi-scale contextual information is necessary. Secondly, inserting BiVA modules with other expanded convolutional rate configurations into the four parallel branches of the baseline (Model 5 and Model 6). Both models outperformed the baseline, even surpassing Model 4, but slightly underperformed Model 7. The results suggest that the expanded convolutional rate configuration of Model 7 is optimal, and multi-scale contextual information is more beneficial for rib fracture classification.
[0107] CAM (Classification Aware Attention Module): As shown in Table 2, adding the CAM module to the Baseline (Baseline+MSFA, Model 9) also helps improve the performance of the classification branch. Compared with the Baseline, the accuracy, recall, and precision of Model 9 improved from 55.82%, 40.97%, and 66.75% to 70.09%, 57.10%, and 73.86%, respectively, demonstrating the effectiveness of the CAM module. As shown in Table 2, comparing Model 8 (Baseline+CE+BiVA) and this network structure (Baseline+CE+BiVA+CAM), this model achieved better prediction and classification results. This is attributed to the CAM module's ability to extract more semantic information from the target fracture region, thereby refining the classification features.
[0108] Synergistic Effects Among CE, BiVA, and CAM: To further analyze the effectiveness of the proposed modules, CE+BiVA and CE+CAM were first integrated into the baselines (model 8 and model 10). Finally, the CE, BiVA, and CAM modules were synergistically integrated into the baseline. As shown in Table 3, Model 8 and Model 10 significantly outperformed Model 3 (Baseline+CE), with Model 8 showing more accurate fracture type classification. Secondly, integrating BiVA+CAM into the baseline (model 11) further improved classification performance compared to Model 7. These results demonstrate the complementarity between the CE and BiVA (or CAM) modules, achieving relatively consistent and complete fracture healing time prediction and fracture classification results. As shown in Table 3, compared to the baseline, the performance of Models 3, 6, and 9 was significantly improved, proving that the proposed modules can enhance the learning of fracture features. Compared to the baseline, this network structure improved the accuracy of the predicted branch by 26.45%, far exceeding Model 3 (↑5.49%), and the accuracy of the classification branch by 9.0%, exceeding the performance of Model 6 (↑4.95%) and Model 9 (↑6.83%), and even exceeding the sum of the three (5.49% + 9.0% + 6.83% = 21.32%), further demonstrating the synergistic effect among CE, BiVA and CAM.
[0109] Table 2 Ablation Experiment Analysis of Different Modules
[0110]
[0111]
[0112] Table 3. Influence of multi-task classification parameters α and γ on classification tasks
[0113]
[0114] Table 3 shows a detailed discussion of the settings of some important multi-task classification loss parameters (such as γ and α). To investigate the impact of parameter settings on classification tasks, we tried setting γ to 0, 0.1, 0.5, 1.0, 1.25, 1.25, 2.0, and 2.5, and α to 0.2, 0.5, 0.75, and 0.95. Table 3 shows that when γ is 2.5 and α is 0.75, the method achieves the highest accuracy on classification tasks, but performs poorly on segmentation tasks. Therefore, we empirically set γ to 2.5 and α to 0.75. Furthermore, the impact of parameters γ and α on bone age prediction performance was validated on the publicly available RSNA bone age dataset. As shown in Table 3, setting γ to 1.0 and α to 0.75 yielded the best performance in both accuracy and precision.
[0115] As shown in Table 4, the superiority of the multi-task network over the single-task network is confirmed. Meanwhile, the results of the multi-task learning models with different feature extractors, ResNet-50 and SENet-50, are compared. The results show that the proposed model can further improve the performance of classification and prediction tasks, and ResNet-50 is more advantageous in rib fracture feature extraction. Overall, the proposed method has a high performance gain in the prediction task. This is mainly attributed to the feature and location correlation between fracture healing time and fracture type, which enhances the prediction of fracture healing time by the proposed multi-task model. However, compared with the single-task classification network, the multi-task learning network did not achieve a significant performance improvement in the classification task, possibly because relying solely on the location correlation between fracture healing time and fracture type is insufficient for such pixel-level classification tasks. Table 4 lists the results of two configurations: (1) Two networks (single-task networks in Table 1) were independently trained for fracture healing time prediction and fracture type classification, respectively, as the experimental baseline, using the same network architecture as the present invention to ensure fairness in the comparison; (2) A multi-task network with two branches was trained end-to-end.
[0116] Table 4 Multi-task effectiveness analysis
[0117]
[0118] Sequence length setting: One of the most important parameters in the prediction branch is the length of the input sequence. The sequence length has a significant impact on the quality of the temporal features learned from the LSTM, and is therefore considered a key factor in accurately predicting the healing period. To investigate the impact of different input sequence lengths on the network, experiments were first conducted on single-task and multi-task networks using five different input lengths, namely 2, 3, 4, 5, and 6, to verify the effectiveness of increasing the input sequence length.
[0119] Table 4 shows that the healing time prediction results generated by the single-task network gradually improve with the increase of sequence input length. This indicates that extending the sequence length can enhance the model's temporal representation ability. In particular, when the sequence length increases from 2 to 5, the accuracy of the evaluation metric increases from 81.24% to 85.73%, demonstrating the importance of learning long-term temporal dependencies for fracture healing time prediction. A beneficial effect can also be seen when using a multi-task learning architecture, increasing the accuracy of fracture healing time prediction from 88.52% to 93.20%. To utilize the temporal information of long sequences, a sequence length of 5 was used as the input to this network structure.
[0120] Effectiveness of Multi-Task Learning: For the fracture healing time prediction and identification task, compared with the healing time prediction task using a single-task network, the proposed network structure achieves consistent improvements across all four evaluation metrics for all different input lengths. The proposed method achieves precision, recall, F1, and accuracy of 93.23%, 86.81%, 89.45%, and 93.20%, respectively, with an input sequence length of 5. Furthermore, multi-task learning reveals that increasing the input length of the network structure in this invention also benefits the fracture type classification task, achieving better performance than single-task classification training networks. The fundamental reason is that the positive effect of longer temporal dependencies on fracture healing time prediction can be translated into shared spatiotemporal features at an earlier time.
[0121] Table 5 quantitatively presents the performance of our proposed network structure and nine comparative methods on the rib fracture dataset. Experimental results show that our proposed network structure outperforms other networks in predicting rib fracture healing time and classifying rib fracture types. Specifically, our proposed network structure achieves a precision of 89.75% and a recall of 89.96% for classification tasks, and a precision of 93.23% and a recall of 86.81% for prediction tasks. These results demonstrate that our model achieves the best segmentation and classification performance metrics, proving the effectiveness of multi-task networks.
[0122] Table 5 shows the classification performance of this network structure compared to other classification methods. Experimental results indicate that the proposed classification network outperforms other networks in rib fracture classification. Specifically, the proposed method achieves a precision of 89.75%, a recall of 89.96%, and an accuracy of 87.9%. Among all the classification comparison methods, this network structure yields the best metrics. Compared to the classic ResNet-50 classification network, the average improvements in precision, recall, and accuracy are approximately 19.66%, 32.86%, and 8.57%, respectively.
[0123] Table 5 Comparison results of different methods on the rib dataset and bone age dataset.
[0124]
[0125]
[0126] As shown in Table 5, the proposed network structure achieved significant predictive performance in the fracture healing period prediction task, far surpassing other state-of-the-art methods. This performance improvement is mainly attributed to the use of contextual attention mechanisms and the ability of recursive LSTM to extract sequence information. This allows the deep network to focus more on the contextual information of the fracture image sequence, thereby enhancing the network's ability to learn discriminative representations. Table 5 lists the numerical results of the evaluation metrics for each classification comparison method. It can be observed that the proposed network structure achieved excellent results using almost all evaluation metrics. Specifically, the prediction accuracy was 93.20%, precision was 93.23%, and recall was 86.81%. Compared with ADR-Net, the accuracy, precision, and recall values were improved by 14.75%, 2.38%, and 10.44%, respectively.
[0127] To further verify the effectiveness of the model in prediction tasks, the method was also applied to a bone age dataset. As shown in Table 5, the performance metrics of the proposed network structure and three other bone age prediction methods are reported. Among them, the precision scores of the proposed network structure and ARL-Net are higher. In addition, the proposed network structure also achieved the best recall and precision. The above results further demonstrate the generality of the proposed method.
[0128] Table 6. Comparison of Classification and Prediction Results of Different Methods
[0129]
[0130] To more intuitively illustrate the visual differences between the classification results and fracture healing time prediction results of different methods, results for different fracture types and healing times in the fracture dataset were compared. For example... Figure 6 As shown in (a), a horizontal comparison of the prediction results of the five comparison methods reveals that the traditional InceptionV3 cannot handle fracture data well, and its prediction performance for fracture type 2 is poor, while the proposed network structure significantly improves the prediction performance for fracture type 2; Observation Figure 6 (b) It can also be seen that the standard deviation of each index in this network structure is relatively small compared with other comparison methods, which proves that the method has high robustness.
[0131] As shown in Table 6, the detailed results of all healing period predictions and fracture type classifications demonstrate that our network architecture outperformed other methods in most prediction periods, particularly in healing period 3 (callus remodeling and shaping period), where the accuracy was improved by more than 14% compared to the ARL-Net method. In the fracture type classification task, the classification metrics for fracture type 1 were mostly higher than those for fracture type 2. This is mainly due to the significantly smaller sample size for fracture type 2 compared to fracture type 1. However, our network architecture still achieved a significant improvement in the classification results for fracture type 2, showing improvements compared to the other models and even an improvement of approximately 15% compared to the original ResNet-50.
[0132] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included within the scope of the present invention.
Claims
1. A multi-task recurrent convolutional network for predicting rib fracture time, characterized in that, The specific structure is as follows:
1. Using CT image sequences of rib fractures as input, a multi-scale shared feature encoder is constructed; In the multi-scale shared feature encoder, three convolutional layers are stacked in each residual unit. Each convolutional layer is followed by a batch normalization layer and a ReLU nonlinear layer. Sixteen residual units are stacked in succession to form a deep residual network. The coarse multi-scale features are used as the input to the classification subnetwork, and the fine multi-scale features are used as the input to the feature learning of the classification task. The output of the last layer of the multi-scale shared feature encoder is connected to the LSTM unit in the prediction branch, and the recursive LSTM encoding order correlation is utilized.
2. Construct a classification subnetwork, and build a bidirectional visual attention layer and a classification perception attention module in the classification subnetwork; The bidirectional visual attention layer forms multi-branch attention feature pools with different receptive domains, embedding top-down and bottom-up feature fusion strategies. Let the coarse multi-scale features generated by the multi-scale shared feature encoder be... Refined features are The visual perception process of the bidirectional visual attention layer under different scale features is described as follows: ; ; In the formula, s represents different scale branches. These are intermediate features obtained by the visual attention layer at scale s. For the s-th visual attention layer block, and To apply the weights obtained by the ReLU activation function, Upsam is the upsampling operation and Downsam is the downsampling operation. All feature fusion processes use the above equations (1) and (2) for feature fusion, and fine features are extracted through a bidirectional visual attention layer. ; The classification-aware attention module obtains classification probabilities by aggregating adjacent-scale features from the bidirectional visual attention layer. It connects features between adjacent scales in a bottom-up direction and applies a soft attention mask with fused features to guide the expression of fracture features at the current scale. Let the refined features extracted by the bidirectional visual attention layer be... ,when At the same time, features guided by the classification and perception attention mechanism Represented as: ; ; in, For connection operation; This is element-wise multiplication. and All are convolutional layers with group normalization and nonlinear activation functions. and All are convolutional kernels are The convolutional layer, features at the current scale Concatenate with features downsampled from the previous scale, through and those with sigmoid activation function Obtain the attention feature map at the current scale, and then combine it with... convolution kernel Convolution is performed, and the features generated by this convolution are passed to the next attention block until the final predicted category is output; 3. Construct a prediction subnet and deploy context-aware modules in the prediction subnet; IV. Constructing the objective function for joint learning of CNN and RNN.
2. The multi-task recurrent convolutional network for rib fracture time prediction according to claim 1, characterized in that, In the prediction branch, the shared feature encoder is connected to the LSTM unit in the prediction branch. The context-aware module CE is embedded in the prediction branch to maintain the consistency between the layers of the LSTM framework and further extract the correlation between the current input and the upper context. propose The computational process of the architecture is represented as follows: ; in, This represents the output of n stacked CE blocks with dense contextual interactions. and express The output of the architecture and It is obtained through LSTM gate operations, where... For input gate, For the Gate of Oblivion Let W be the output gate, W be the weight matrix, b be the bias, and tanh be the activation function. For sigmoid operation; The design of the CE block consists of the following steps: Step 1: Apply convolution kernels to... The CNN layer generates a weight map of the upper-layer context to capture contextual features, indicating potential motion trends at the next time point. A sigmoid function is used to normalize the weight mapping. The input features are reweighted using the Hadamard product. The weight mapping is multiplied by a constant scaling factor s; Step 2: Update by multiplying by the input-related weight mapping The subsequent motion trend is extracted and used for further prediction via Hadamard product. The weight map is generated in the same way as in step one, capturing local contextual motion features through a CNN layer and an activation function with a scaling factor to obtain the updated contextual state. and input status In the CE block, contextual relevance is extracted through interactive mode, where... The previous state, For the current input, All are weights processed by CNN. The formula for the Sigmoid operation is as follows: ; 。 3. A multi-task recurrent convolutional network for rib fracture time prediction according to claim 2, characterized in that, Define the network input as ,in, The first image in the CT image sequence. This is the last image; the number of images in each CT image sequence is represented as... Using weight values U represents the shared layer, which obtains eigenvectors This indicates that the higher layers stacked in the two branches are respectively represented by... Indicates the classification of fracture types, This represents the predicted fracture healing time, with the following weights: and ; Introducing focus loss into the model, let C be the set of fracture categories, and define the fracture type classification branch loss function. for: (8); In the formula, for Ground truth of lower fracture type, when When 1, it indicates that the c-th fracture type appears in the t-th image; Indicates the current image The predicted value for the c-th fracture type appears in the data. and There are two hyperparameters. These are weighting factors for different categories; The softmax cross-entropy function is used to calculate the loss for a multi-class classification task. (9); In the formula, express The predicted probability of belonging to class z. for The ground truth predicting fracture healing time; This indicates that LSTM is used in the input image And the previous hidden state The updated hidden state calculated below is learned by combining the dynamics of the CT sequence with the visual representation through the recursive LSTM module in the network framework; The entire framework is trained in an end-to-end manner, interactively identifying fracture types and fracture healing stages. It utilizes shared visual features extracted from the previous layer and joint optimization of the two branches, along with shared weights in the early convolutional layer U. Loss identification by fracture type Predicting loss based on fracture healing time To optimize the process, the gradient generated by the fracture type identification branch flows to the layer of the fracture healing time prediction branch. The recursive LSTM of the fracture healing time prediction branch brings the time information into the common network and learns together with the shared feature encoder module.
