Knee arthritis auxiliary detection and evaluation method, device, equipment and readable storage medium

CN117670839BActive Publication Date: 2024-09-06LONGWOOD VALLEY MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311678984.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2024-09-06
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

Due to the difficulty in obtaining medical images, using small samples of axial X-ray images for auxiliary detection, evaluation and diagnosis of knee arthritis is a challenge that is difficult to achieve with existing technology.

Method used

A diffusion model was used to augment the axial X-ray knee joint data, and the augmented and original data were used to train the knee arthritis auxiliary detection and evaluation model, and the ResNet50 network architecture was used for model training and evaluation.

Benefits of technology

Through data augmentation technology, a large amount of axial X-ray knee joint data is generated for training, which improves the model's recognition ability and diagnostic accuracy for knee arthritis, and overcomes the limitation of small sample data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117670839B
    Figure CN117670839B
Patent Text Reader

Abstract

The present application provides a method, device, equipment and computer-readable storage medium for auxiliary detection and evaluation of knee arthritis. The method for auxiliary detection and evaluation of knee arthritis includes: acquiring axial X-ray knee joint data; using a diffusion model to perform data augmentation on the axial X-ray knee joint data; using the data augmented and original axial X-ray knee joint data to perform model training for auxiliary detection and evaluation of knee arthritis to obtain an auxiliary detection and evaluation model for knee arthritis; and using the auxiliary detection and evaluation model for knee arthritis to perform auxiliary detection and evaluation of knee arthritis. According to an embodiment of the present application, a small sample of axial X-ray images can be used for auxiliary detection, evaluation and diagnosis of knee arthritis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of deep learning intelligent recognition technology, and in particular, relates to a method, device, equipment and computer-readable storage medium for auxiliary detection and evaluation of knee arthritis. Background Art

[0002] Knee arthritis is a chronic inflammatory joint disease that primarily affects the knee joint. The disease is usually associated with wear and tear of the articular cartilage, inflammation and inflammatory processes around the joint. Over time, knee arthritis may lead to the destruction of the joint structure, causing pain, swelling and movement impairment.

[0003] There are many reasons why knee arthritis develops. Knee arthritis is a complex disease and its effects vary from person to person. Early intervention and appropriate treatment can help slow the progression of the disease, reduce symptoms, and improve the patient's quality of life. Therefore, it is important for people who may have knee arthritis to maintain a healthy lifestyle, exercise regularly, and seek medical advice promptly.

[0004] Since medical images are difficult to obtain, it is unrealistic to use a large number of axial X-ray images to train deep models for the diagnosis of arthritis subtypes.

[0005] Therefore, how to use small sample axial X-ray images for auxiliary detection, evaluation and diagnosis of knee arthritis is a technical problem that technicians in this field urgently need to solve. Summary of the invention

[0006] The embodiments of the present application provide a method, device, equipment and computer-readable storage medium for auxiliary detection and evaluation of knee arthritis, which can use a small sample of axial X-ray images to perform auxiliary detection, evaluation and diagnosis of knee arthritis.

[0007] In a first aspect, an embodiment of the present application provides a method for auxiliary detection and evaluation of knee arthritis, comprising:

[0008] Obtain axial X-ray knee joint data;

[0009] Data augmentation of axial X-ray knee data using diffusion model;

[0010] Using the data augmented and original axial X-ray knee joint data, the model for auxiliary detection and evaluation of knee arthritis is trained to obtain the auxiliary detection and evaluation model of knee arthritis;

[0011] The knee arthritis auxiliary detection and evaluation model is used to conduct auxiliary detection and evaluation of knee arthritis.

[0012] Optionally, data augmentation of the axial knee X-ray data using a diffusion model, including:

[0013] Diffusion Model was used to augment the axial X-ray knee joint data to simulate the distribution of soft tissue and bone structures.

[0014] Optionally, the axial X-ray knee data can be augmented using the Diffusion Model to simulate the distribution of soft tissue and bone structures, including:

[0015] Simulates the diffusion of light during X-ray transmission to accommodate the anatomy of the knee joint;

[0016] Adjust model parameters to simulate diffusion processes in soft tissue, bone, and joint space structures;

[0017] The model parameters are continuously optimized by comparing the differences between the generated images and the real images.

[0018] Optionally, the data augmented and original axial X-ray knee joint data are used to train a model for auxiliary detection and evaluation of knee arthritis, thereby obtaining an auxiliary detection and evaluation model for knee arthritis, including:

[0019] Using the data augmented and original axial X-ray knee joint data, ResNet50 was trained to obtain a knee arthritis auxiliary detection and evaluation model.

[0020] ResNet50 learns residual mapping by using residual blocks, allowing the network to learn residual functions;

[0021] The network architecture of ResNet50 is 50 layers deep and is used to learn complex features.

[0022] Optionally, ResNet50 uses convolution kernels of different sizes, including 1x1, 3x3, and 5x5, to increase the receptive field and enhance the network's ability to recognize objects of different sizes in the image.

[0023] Optionally, ResNet50 uses a global average pooling layer to convert the feature map of the last layer into a fixed-size vector as the output of the network.

[0024] Optionally, ResNet50 uses multiple convolutional blocks to extract multi-scale feature maps to capture different levels of information in the image, improving the network's ability to represent objects.

[0025] In a second aspect, an embodiment of the present application provides a device for auxiliary detection and evaluation of knee arthritis, the device comprising:

[0026] A data acquisition module, used for acquiring axial X-ray knee joint data;

[0027] Data augmentation module, used to perform data augmentation on axial X-ray knee joint data using a diffusion model;

[0028] A model training module is used to train a model for auxiliary detection and evaluation of knee arthritis using data augmented and original axial X-ray knee joint data to obtain an auxiliary detection and evaluation model for knee arthritis;

[0029] The classification diagnosis module is used to perform auxiliary detection and evaluation of knee arthritis using the auxiliary detection and evaluation model of knee arthritis.

[0030] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;

[0031] When the processor executes the computer program instructions, a method for auxiliary detection and evaluation of knee arthritis is implemented.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement a method for auxiliary detection and evaluation of knee arthritis.

[0033] The knee arthritis auxiliary detection and evaluation method, device, equipment and computer-readable storage medium of the embodiments of the present application can use a small sample of axial X-ray images to perform auxiliary detection, evaluation and diagnosis of knee arthritis.

[0034] The knee arthritis auxiliary detection and evaluation method comprises: acquiring axial X-ray knee joint data; performing data augmentation on the axial X-ray knee joint data using a diffusion model; performing model training for knee arthritis auxiliary detection and evaluation using the data augmented and original axial X-ray knee joint data to obtain a knee arthritis auxiliary detection and evaluation model; and performing knee arthritis auxiliary detection and evaluation using the knee arthritis auxiliary detection and evaluation model. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 It is a flowchart of a method for auxiliary detection and evaluation of knee arthritis provided by an embodiment of the present application;

[0037] Figure 2 It is a flowchart of a method for auxiliary detection and evaluation of knee arthritis provided by an embodiment of the present application;

[0038] Figure 3 It is a schematic diagram of the training process of the Diffusion Model provided by an embodiment of the present application;

[0039] Figure 4 It is a structural schematic diagram of a knee arthritis auxiliary detection and evaluation device provided by an embodiment of the present application;

[0040] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0041] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0042] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0043] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment and computer-readable storage medium for auxiliary detection and evaluation of knee arthritis. The following first introduces the method for auxiliary detection and evaluation of knee arthritis provided by the embodiments of the present application.

[0044] Figure 1 FIG. 1 is a flow chart of a method for assisting detection and evaluation of knee arthritis provided by an embodiment of the present application. Figure 1 As shown, the auxiliary detection and evaluation method for knee arthritis includes:

[0045] S101, obtaining axial X-ray knee joint data;

[0046] S102, using diffusion model to augment axial X-ray knee joint data;

[0047] In one embodiment, data augmentation is performed on axial X-ray knee joint data using a diffusion model, including:

[0048] Diffusion Model was used to augment the axial X-ray knee joint data to simulate the distribution of soft tissue and bone structures.

[0049] In one embodiment, a Diffusion Model is used to perform data augmentation on axial X-ray knee joint data to simulate the distribution of soft tissue and bone structures, including:

[0050] Simulates the diffusion of light during X-ray transmission to accommodate the anatomy of the knee joint;

[0051] Adjust model parameters to simulate diffusion processes in soft tissue, bone, and joint space structures;

[0052] The model parameters are continuously optimized by comparing the differences between the generated images and the real images.

[0053] Specifically, a diffusion model is used to perform data augmentation through a small amount of axial X-ray knee joint data to generate a large amount of axial X-ray knee joint data that can be used for training.

[0054] Generating axial knee X-ray data through Diffusion Model is a complex and in-depth process. The core concept of this method is to simulate the structure in the image based on the diffusion process of the material in space. In the context of knee X-ray image generation, Diffusion Model can be used to simulate the distribution of soft tissue and bone structure. The following is a detailed description of the process:

[0055] First, we need to collect a set of real axial knee X-ray images to build a training dataset. These images should include a variety of normal and abnormal conditions to ensure that the model has the ability to learn from a variety of situations.

[0056] Next, we input these images into the Diffusion Model. The Diffusion Model is based on partial differential equations to describe the behavior of matter diffusing in space. In this scenario, we adjust the model to adapt to the anatomy of the knee joint and simulate the diffusion of light during X-ray transmission. The learning process of the Diffusion Model involves adjusting the model parameters so that the images it generates are as consistent as possible with real X-ray images. This includes simulating the diffusion process of structures such as soft tissue, bone, and joint space. During the training process, the model continuously optimizes the parameters by comparing the differences between the generated images and the real images.

[0057] Once trained, the model can be used to generate axial knee X-ray data. During generation, we can adjust the model's input parameters to simulate X-ray images in different situations, such as simulating different degrees of soft tissue inflammation, changes in bone structure, etc.

[0058] The training process diagram of Diffusion Model is as follows Figure 3 As shown, the pixel-level loss is used to measure the difference between each pixel of the generated image and the real image.

[0059] Where N is the number of pixels in the image, is the i-th pixel value of the generated image,

[0060] is the i-th pixel value of the real image.

[0061] S103, using the data augmented and original axial X-ray knee joint data to train a model for auxiliary detection and evaluation of knee arthritis, to obtain an auxiliary detection and evaluation model for knee arthritis;

[0062] In one embodiment, the augmented and original axial X-ray knee joint data are used to train a model for auxiliary detection and evaluation of knee arthritis, thereby obtaining an auxiliary detection and evaluation model for knee arthritis, including:

[0063] Using the data augmented and original axial X-ray knee joint data, ResNet50 was trained to obtain a knee arthritis auxiliary detection and evaluation model.

[0064] ResNet50 learns residual mapping by using residual blocks, allowing the network to learn residual functions;

[0065] The network architecture of ResNet50 is 50 layers deep and is used to learn complex features.

[0066] In one embodiment, ResNet50 uses convolution kernels of different sizes, including 1x1, 3x3, and 5x5 convolution kernels, to increase the receptive field and enhance the network's ability to recognize objects of different sizes in the image.

[0067] In one embodiment, ResNet50 uses a global average pooling layer to convert the feature map of the last layer into a fixed-size vector as the output of the network.

[0068] In one embodiment, ResNet50 uses multiple convolutional blocks to extract multi-scale feature maps to capture different levels of information in the image, thereby improving the network's ability to represent objects.

[0069] Specifically, the generated axial knee joint images and original images are used to perform model training for joint subtype classification. In this stage, ResNet50 is used as the classification model for model training.

[0070] ResNet50 (Residual Network with 50 layers) is a convolutional neural network (CNN) architecture in deep learning. ResNet50 is a specific implementation in the ResNet series. It has a depth of 50 layers and adopts the idea of ​​residual learning. It aims to solve the problems of gradient disappearance and gradient explosion in deep neural network training.

[0071] Residual Learning: ResNet50 introduces the concept of residual learning by using residual blocks to learn residual mapping. The design of residual blocks allows the network to learn the residual function, that is, the difference between the output and input of the network, rather than directly learning the mapping. This helps alleviate the gradient vanishing problem and makes the network easier to train.

[0072] Depth: ResNet50 is deeper than earlier network architectures, with 50 layers. This depth is crucial for better learning of complex feature representations and helps improve network performance.

[0073] Convolutional block design: ResNet50 uses convolutional kernels of different sizes, including 1x1, 3x3, and 5x5. This design helps the network learn multi-scale features, improve the receptive field, and enhance the network's ability to recognize objects of different sizes in images.

[0074] Global average pooling: At the end of the network, ResNet50 uses a global average pooling layer to convert the feature map of the last layer into a fixed-size vector as the output of the network. This global average pooling approach reduces the number of parameters, prevents overfitting, and improves the computational efficiency of the network.

[0075] Multi-scale feature maps: ResNet50 extracts multi-scale feature maps by using multiple convolutional blocks, which helps the network better capture different levels of information in the image and improves the network's ability to represent objects.

[0076] Loss function of ResNet50:

[0077]

[0078] Among them, y is the one-hot encoding of the actual category label, is the probability distribution of the model output after softmax activation, and i is the index of the category.

[0079] S104. Use the knee arthritis auxiliary detection and evaluation model to perform knee arthritis auxiliary detection and evaluation.

[0080] Figure 4 : is a schematic diagram of the structure of a knee arthritis auxiliary detection and evaluation device provided by an embodiment of the present application, the knee arthritis auxiliary detection and evaluation device comprises:

[0081] The data acquisition module 401 is used to acquire axial X-ray knee joint data;

[0082] A data augmentation module 402 is used to perform data augmentation on the axial X-ray knee joint data using a diffusion model;

[0083] The model training module 403 is used to perform model training for auxiliary detection and evaluation of knee arthritis using the data augmented and original axial X-ray knee joint data to obtain an auxiliary detection and evaluation model for knee arthritis;

[0084] The classification diagnosis module 404 is used to perform auxiliary detection and evaluation of knee arthritis using the auxiliary detection and evaluation model of knee arthritis.

[0085] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown.

[0086] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.

[0087] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0088] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 502 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 502 may be inside or outside the electronic device. In a particular embodiment, the memory 502 may be a non-volatile solid-state memory.

[0089] In one embodiment, the memory 502 may be a read-only memory (ROM). In one embodiment, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0090] The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any one of the knee arthritis auxiliary detection and evaluation methods in the above embodiments.

[0091] In one example, the electronic device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.

[0092] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0093] Bus 510 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0094] In addition, in combination with the knee arthritis auxiliary detection and evaluation method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the knee arthritis auxiliary detection and evaluation methods in the above embodiment is implemented.

[0095] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0096] The functional modules shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0097] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0098] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0099] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for auxiliary detection and evaluation of knee arthritis, characterized in that: include: Obtain axial X-ray knee joint data; Data augmentation of axial X-ray knee data using diffusion model; Using the data augmented and original axial X-ray knee joint data, the model for auxiliary detection and evaluation of knee arthritis is trained to obtain the auxiliary detection and evaluation model of knee arthritis; Use the knee arthritis auxiliary detection and evaluation model to conduct auxiliary detection and evaluation of knee arthritis; Data augmentation of axial knee X-ray data using diffusion models, including: The Diffusion Model was used to augment the axial X-ray knee joint data to simulate the distribution of soft tissue and bone structures. The Diffusion Model is used to augment the axial X-ray knee data to simulate the distribution of soft tissue and bone structures, including: Simulates the diffusion of light during X-ray transmission to accommodate the anatomy of the knee joint; Adjust model parameters to simulate diffusion processes in soft tissue, bone, and joint space structures; Continuously optimize model parameters by comparing the differences between generated images and real images; Specifically, a diffusion model is used to perform data augmentation with a small amount of axial X-ray knee joint data to generate a large amount of axial X-ray knee joint data for training; Generating axial knee X-ray data through Diffusion Model is a complex and in-depth process. The core concept of this method is to simulate the structure in the image based on the diffusion process of matter in space. In the context of knee X-ray image generation, Diffusion Model is used to simulate the distribution of soft tissue and bone structure. The following is a detailed description of the process: First, collect a set of real axial knee X-ray images to build a training dataset; these images should include a variety of normal and abnormal conditions to ensure that the model has the ability to learn from diverse situations; Next, these images are fed into the Diffusion Model, which describes the behavior of matter diffusing in space based on partial differential equations. In this scenario, the model is adjusted to the anatomical structure of the knee joint and simulates the diffusion of light during X-ray transmission. The learning process of the Diffusion Model involves adjusting the model parameters so that the images it generates are as consistent as possible with real X-ray images. This includes simulating the diffusion process of soft tissue, bone, and joint space structures. During the training process, the model continuously optimizes the parameters by comparing the differences between the generated images and the real images. Once trained, the model is used to generate axial knee X-ray data. During generation, the model’s input parameters are adjusted to simulate X-ray images in different situations, simulating different degrees of soft tissue inflammation and changes in bone structure. During the training process of the Diffusion Model, pixel-level Loss is used to measure the difference between each pixel of the generated image and the real image; Where N is the number of pixels in the image, is the i-th pixel value of the generated image, is the i-th pixel value of the real image; The augmented and original axial X-ray knee joint data are used to train the model for auxiliary detection and evaluation of knee arthritis, and the auxiliary detection and evaluation model for knee arthritis is obtained, including: Using the data augmented and original axial X-ray knee joint data, ResNet50 was trained to obtain a knee arthritis auxiliary detection and evaluation model. ResNet50 learns residual mapping by using residual blocks, allowing the network to learn residual functions; The network architecture of ResNet50 is 50 layers deep and is used to learn complex features. ResNet50 uses convolution kernels of different sizes, including 1x1, 3x3, and 5x5, to increase the receptive field and enhance the network's ability to recognize objects of different sizes in images; ResNet50 uses a global average pooling layer to convert the feature map of the last layer into a vector of fixed size as the output of the network; ResNet50 uses multiple convolutional blocks to extract multi-scale feature maps to capture different levels of information in the image, improving the network's ability to represent objects. Specifically, the generated axial knee joint images and original images are used to train the model for joint subtype classification. In this stage, ResNet50 is used as the classification model for model training; ResNet50 (Residual Network with 50 layers) is a convolutional neural network (CNN) architecture in deep learning. ResNet50 is a specific implementation in the ResNet series. It has a depth of 50 layers and adopts the idea of ​​residual learning to solve the gradient vanishing and gradient exploding problems in deep neural network training. Residual Learning: ResNet50 introduces the concept of residual learning by using residual blocks to learn residual mappings. The design of residual blocks allows the network to learn the residual function, that is, the difference between the output and input of the network, rather than directly learning the mapping. This helps alleviate the gradient vanishing problem and makes the network easier to train. Depth: ResNet50 is deeper than earlier network architectures, reaching 50 layers; this depth is crucial for better learning of complex feature representations and helps improve network performance; Convolutional block design: ResNet50 uses convolution kernels of different sizes, including 1x1, 3x3, and 5x5. This design helps the network learn multi-scale features, improve the receptive field, and enhance the network's ability to recognize objects of different sizes in images. Global average pooling: At the end of the network, ResNet50 uses a global average pooling layer to convert the feature map of the last layer into a vector of fixed size as the output of the network; this global average pooling approach reduces the number of parameters, prevents overfitting, and improves the computational efficiency of the network; Multi-scale feature maps: ResNet50 uses multiple convolutional blocks to extract multi-scale feature maps, which helps the network better capture different levels of information in the image and improves the network's ability to represent objects; Loss function of ResNet50: Among them, y is the one-hot encoding of the actual category label, is the probability distribution of the model output after softmax activation, and i is the index of the category.

2. A knee arthritis auxiliary detection and evaluation device, characterized in that: The device comprises: A data acquisition module, used for acquiring axial X-ray knee joint data; Data augmentation module, used to perform data augmentation on axial X-ray knee joint data using a diffusion model; A model training module is used to train a model for auxiliary detection and evaluation of knee arthritis using data augmented and original axial X-ray knee joint data to obtain an auxiliary detection and evaluation model for knee arthritis; A classification diagnosis module is used to perform auxiliary detection and evaluation of knee arthritis using a knee arthritis auxiliary detection and evaluation model; Data augmentation of axial knee X-ray data using diffusion models, including: The Diffusion Model was used to augment the axial X-ray knee joint data to simulate the distribution of soft tissue and bone structures. The Diffusion Model is used to augment the axial X-ray knee data to simulate the distribution of soft tissue and bone structures, including: Simulates the diffusion of light during X-ray transmission to accommodate the anatomy of the knee joint; Adjust model parameters to simulate diffusion processes in soft tissue, bone, and joint space structures; Continuously optimize model parameters by comparing the differences between generated images and real images; Specifically, a diffusion model is used to perform data augmentation with a small amount of axial X-ray knee joint data to generate a large amount of axial X-ray knee joint data for training; Generating axial knee X-ray data through Diffusion Model is a complex and in-depth process. The core concept of this method is to simulate the structure in the image based on the diffusion process of matter in space. In the context of knee X-ray image generation, Diffusion Model is used to simulate the distribution of soft tissue and bone structure. The following is a detailed description of the process: First, collect a set of real axial knee X-ray images to build a training dataset; these images should include a variety of normal and abnormal conditions to ensure that the model has the ability to learn from diverse situations; Next, these images are fed into the Diffusion Model, which describes the behavior of matter diffusing in space based on partial differential equations. In this scenario, the model is adjusted to the anatomical structure of the knee joint and simulates the diffusion of light during X-ray transmission. The learning process of the Diffusion Model involves adjusting the model parameters so that the images it generates are as consistent as possible with real X-ray images. This includes simulating the diffusion process of soft tissue, bone, and joint space structures. During the training process, the model continuously optimizes the parameters by comparing the differences between the generated images and the real images. Once trained, the model is used to generate axial knee X-ray data. During generation, the model’s input parameters are adjusted to simulate X-ray images in different situations, simulating different degrees of soft tissue inflammation and changes in bone structure. During the training process of the Diffusion Model, pixel-level Loss is used to measure the difference between each pixel of the generated image and the real image; Where N is the number of pixels in the image, is the i-th pixel value of the generated image, is the i-th pixel value of the real image; The augmented and original axial X-ray knee joint data are used to train the model for auxiliary detection and evaluation of knee arthritis, and the auxiliary detection and evaluation model for knee arthritis is obtained, including: Using the data augmented and original axial X-ray knee joint data, ResNet50 was trained to obtain a knee arthritis auxiliary detection and evaluation model. ResNet50 learns residual mapping by using residual blocks, allowing the network to learn residual functions; The network architecture of ResNet50 is 50 layers deep and is used to learn complex features. ResNet50 uses convolution kernels of different sizes, including 1x1, 3x3, and 5x5, to increase the receptive field and enhance the network's ability to recognize objects of different sizes in images; ResNet50 uses a global average pooling layer to convert the feature map of the last layer into a vector of fixed size as the output of the network; ResNet50 uses multiple convolutional blocks to extract multi-scale feature maps to capture different levels of information in the image, improving the network's ability to represent objects. Specifically, the generated axial knee joint images and original images are used to train the model for joint subtype classification. In this stage, ResNet50 is used as the classification model for model training; ResNet50 (Residual Network with 50 layers) is a convolutional neural network (CNN) architecture in deep learning. ResNet50 is a specific implementation in the ResNet series. It has a depth of 50 layers and adopts the idea of ​​residual learning to solve the gradient vanishing and gradient exploding problems in deep neural network training. Residual Learning: ResNet50 introduces the concept of residual learning by using residual blocks to learn residual mappings. The design of residual blocks allows the network to learn the residual function, that is, the difference between the output and input of the network, rather than directly learning the mapping. This helps alleviate the gradient vanishing problem and makes the network easier to train. Depth: ResNet50 is deeper than earlier network architectures, reaching 50 layers; this depth is crucial for better learning of complex feature representations and helps improve network performance; Convolutional block design: ResNet50 uses convolution kernels of different sizes, including 1x1, 3x3, and 5x5. This design helps the network learn multi-scale features, improve the receptive field, and enhance the network's ability to recognize objects of different sizes in images. Global average pooling: At the end of the network, ResNet50 uses a global average pooling layer to convert the feature map of the last layer into a vector of fixed size as the output of the network; this global average pooling approach reduces the number of parameters, prevents overfitting, and improves the computational efficiency of the network; Multi-scale feature maps: ResNet50 uses multiple convolutional blocks to extract multi-scale feature maps, which helps the network better capture different levels of information in the image and improves the network's ability to represent objects; Loss function of ResNet50: Among them, y is the one-hot encoding of the actual category label, is the probability distribution of the model output after softmax activation, and i is the index of the category.

3. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the knee arthritis auxiliary detection and evaluation method according to claim 1 is implemented.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the knee arthritis auxiliary detection and evaluation method according to claim 1 is implemented.