1.Facial color-preserving generative adversarial network-based privacy protection of facial diagnostic images in traditional Chinese medicine
Jilong SHEN ; Aihua GUAN ; Xinyu WANG ; Jiadong XIE ; Youwei DING ; Kongfa HU
Digital Chinese Medicine 2025;8(4):455-466
Objective:
To develop a facial image generation method based on a facial color-preserving generative adversarial network (FCP-GAN) that effectively decouples identity features from diagnostic facial complexion characteristics in traditional Chinese medicine (TCM) inspection, thereby addressing the critical challenge of privacy preservation in medical image analysis.
Methods:
A facial image dataset was constructed from participants at Nanjing University of Chinese Medicine between April 23 and June 10, 2023, using a TCM full-body inspection data acquisition equipment under controlled illumination. The proposed FCP-GAN model was designed to achieve the dual objectives of removing identity features and preserving colors through three key components: (i) a multi-space combination module that comprehensively extracts color attributes from red, green, blue (RGB), hue, saturation, value (HSV), and Lab spaces; (ii) a generator incorporating efficient channel attention (ECA) mechanism to enhance the representation of diagnostically critical color channels; and (iii) a dual-loss function that combines adversarial loss for de-identification with a dedicated color preservation loss. The model was trained and evaluated using a stratified 5-fold cross-validation strategy and evaluated against four baseline generative models: conditional GAN (CGAN), deep convolutional GAN (DCGAN), dual discriminator CGAN (DDCGAN), and medical GAN (MedGAN). Performance was assessed in terms of image quality [peak signal-to-noise ratio (PSNR) and structural similarity (SSIM)], distribution similarity [Fréchet inception distance (FID)], privacy protection (face recognition accuracy), and diagnostic consistency [mean squared error (MSE) and Pearson correlation coefficient (PCC)].
Results:
The final analysis included facial images from 216 participants. Compared with baseline models, FCP-GAN achieved superior performance, with PSNR = 31.02 dB and SSIM = 0.908, representing an improvement of 1.21 dB and 0.034 in SSIM over the strongest baseline (MedGAN). The FID value (23.45) was also the lowest among all models, indicating superior distributional similarity to real images. The multi-space feature fusion and the ECA mechanism contributed significantly to these performance gains, as evidenced by ablation studies. The stratified 5-fold cross-validation confirmed the model’s robustness, with results reported as mean ± standard deviation (SD) across all folds. The model effectively protected privacy by reducing face recognition accuracy from 95.2% (original images) to 60.1% (generated images). Critically, it maintained high diagnostic fidelity, as evidenced by a low MSE (< 0.051) and a high PCC (> 0.98) for key TCM facial features between original and generated images.
Conclusion
The FCP-GAN model provides an effective technical solution for ensuring privacy in TCM diagnostic imaging, successfully having removed identity features while preserving clinically vital facial color features. This study offers significant value for developing intelligent and secure TCM telemedicine systems.
2.Correlation between abnormal hand features and coronary atherosclerotic heart disease
Hui ZHOU ; Xiao LI ; Zhiyue GUAN ; Shuangqiu WANG ; Jianyu LI ; Qi CHEN ; Hao WANG ; Kongfa HU ; Xue XU
Journal of Beijing University of Traditional Chinese Medicine 2025;48(8):1044-1051
Objective This study aimed to explore the correlation between abnormal hand features and coronary atherosclerotic heart disease(CHD)to provide clinical data support for digitalized traditional Chinese medicine(TCM)hand diagnosis.Methods A palm key point prediction algorithm was used to automatically capture and collect detailed features of the palm and nails through image analysis and data mining using the hand diagnosis information collection technology based on the NVIDIA Jetson platform and Qt framework.A total of 438 cardiac patients who underwent coronary artery computed tomography angiography(CACTA)in the Department of Cardiology,Dongzhimen Hospital,Beijing University of Chinese Medicine,from December 2023 to April 2024 were included and divided into CHD(148 cases)and non-CHD groups(290 cases)based on the CACTA results.The hand features of the two groups were compared,and abnormal hand features associated with CHD were screened using random forest analysis as well as univariate and multivariate logistic regression analyses.Results Based on the results of univariate logistic regression and random forest analyses,a set of hand-related features associated with CHD were identified and subsequently included in the multivariate logistic regression analysis.These features included the morphology of the thenar eminence,the wrinkles of the thenar eminence,nail shape,nail texture,and the length of the blood vessel in the middle finger.Multivariate logistic regression analysis revealed that hypertrophic thenar eminence[odds ratio(OR):3.049,95%confidence interval(CI):1.430-6.503,P=0.004],presence of wrinkles on the thenar eminence(OR:2.206,95%CI:1.119-4.348,P=0.022),presence of gray-black vertical stripes on the nails(OR:1.981,95%CI:1.173-3.347,P=0.011),uneven nail surface(OR:3.130,95%CI:1.822-5.378,P<0.001),and inward-bending nail surface(OR:5.727,95%CI:1.812-18.102,P=0.003)were positively associated with CHD.In contrast,the blood vessel in the middle finger longer than 1/3 of the phalanx was negatively associated with CHD(OR:0.405,95%CI:0.234-0.702,P=0.001).Conclusion Certain hand features are significantly associated with CHD,providing the valuable clinical data to support for the digitalization of TCM hand diagnosis.
3.Research on Lung Cancer Traditional Chinese Medicine Prescription Recommendation Based on Large Language Models
Zongzhen ZHOU ; Xinyu WANG ; Tao YANG ; Kongfa HU
Journal of Nanjing University of Traditional Chinese Medicine 2025;41(7):980-986
OBJECTIVE To address the issue of recommending traditional Chinese medicine(TCM)prescriptions,and to utilize the clinical records of lung cancer from TCM experts to automatically generate prescriptions,providing reference for the study of medi-cation rules and TCM clinical decision-making assistance.METHODS This algorithm transformed clinical manifestations,standard-ized tongue diagnosis,and pulse diagnosis into TCM prescriptions through a large model,thereby converting the task of TCM prescrip-tion recommendation into a text generation task.The CHATGLM3 model,based on the GLM structure,was used to enhance the under-standing of lung cancer cases and learn the intrinsic experiential knowledge of TCM experts in treating lung cancer,thereby improving the prescription generation effectiveness of the model.This was compared with traditional generative models.RESULTS The study demonstrated that integrating TCM knowledge from lung cancer cases into large language models effectively improved the model's pre-scription generation capabilities.Particularly in generating commonly used core medications by TCM experts,the model showed a high tendency and provided rich and valuable reference information.The lung cancer TCM prescription recommendation model achieved 64.62%in BLEU,55.78%in ROUGE,and 47.39%in METEOR scores.It also achieved accuracies of 67.79%,63.66%,56.76%,and 51.93%in the top 5,10,15,and 20 TCM prescriptions,respectively,outperforming the baseline model.CONCLUSION The lung cancer TCM prescription recommendation model presented in this paper achieves better prescription generation results com-pared to traditional generative models.It demonstrates the model's ability to learn knowledge about lung cancer diagnosis and treatment from cases,thereby generating TCM prescriptions that align with TCM treatment principles.This also provides a potential direction for future assistance in clinical decision-making.
4.Study on Facial Paralysis Recognition Method with SOLOv2-Vision Transformer
Zhelong ZHUANG ; Youwei DING ; Kongfa HU ; Kehong CHEN ; Gong CHEN
Journal of Nanjing University of Traditional Chinese Medicine 2025;41(10):1399-1406
OBJECTIVE To establish an accurate and timely intelligent auxiliary diagnosis method for facial paralysis in order to enable patients and doctors to diagnose the disease faster and achieve the purpose of early detection,early diagnosis and early treatment.METHODS A method integrating SOLOv2-Vision Transformer was proposed.The collected facial paralysis data was seg-mented by the SOLOv2 model with a replaced backbone network,the interference part in the image was removed,and then inputted in-to the Vision Transformer model for classification training.By adopting the principle of segmentation first and then classification,the classification effect of facial paralysis images was improved.RESULTS The accuracy rate of the experimental method on the MEEI facial paralysis dataset was 0.982,the recall rate was 0.982,and the F1-score was 0.981,which were respectively increased by 2%,4%,and 4%compared with the basic model.CONCLUSION The facial paralysis classification model integrated with SOLOv2-Vi-sion Transformer can achieve higher recognition accuracy than the unsegmented method,and provides a new method for the diagnosis of facial paralysis.
5.Research on Lung Cancer Traditional Chinese Medicine Prescription Recommendation Based on Large Language Models
Zongzhen ZHOU ; Xinyu WANG ; Tao YANG ; Kongfa HU
Journal of Nanjing University of Traditional Chinese Medicine 2025;41(7):980-986
OBJECTIVE To address the issue of recommending traditional Chinese medicine(TCM)prescriptions,and to utilize the clinical records of lung cancer from TCM experts to automatically generate prescriptions,providing reference for the study of medi-cation rules and TCM clinical decision-making assistance.METHODS This algorithm transformed clinical manifestations,standard-ized tongue diagnosis,and pulse diagnosis into TCM prescriptions through a large model,thereby converting the task of TCM prescrip-tion recommendation into a text generation task.The CHATGLM3 model,based on the GLM structure,was used to enhance the under-standing of lung cancer cases and learn the intrinsic experiential knowledge of TCM experts in treating lung cancer,thereby improving the prescription generation effectiveness of the model.This was compared with traditional generative models.RESULTS The study demonstrated that integrating TCM knowledge from lung cancer cases into large language models effectively improved the model's pre-scription generation capabilities.Particularly in generating commonly used core medications by TCM experts,the model showed a high tendency and provided rich and valuable reference information.The lung cancer TCM prescription recommendation model achieved 64.62%in BLEU,55.78%in ROUGE,and 47.39%in METEOR scores.It also achieved accuracies of 67.79%,63.66%,56.76%,and 51.93%in the top 5,10,15,and 20 TCM prescriptions,respectively,outperforming the baseline model.CONCLUSION The lung cancer TCM prescription recommendation model presented in this paper achieves better prescription generation results com-pared to traditional generative models.It demonstrates the model's ability to learn knowledge about lung cancer diagnosis and treatment from cases,thereby generating TCM prescriptions that align with TCM treatment principles.This also provides a potential direction for future assistance in clinical decision-making.
6.Research on Lightweight Large Language Models for Ancient Traditional Chinese Medicine Texts Based on Lora Fine-Tuning
Jingxian CHAI ; Xufeng LANG ; Hongyan LI ; Zuojian ZHOU ; Yun LING ; Libin ZHAN ; Kongfa HU ; Xuebin QIAO
World Science and Technology-Modernization of Traditional Chinese Medicine 2025;27(3):823-831
Objective To address the challenges of constructing large language models for traditional Chinese medicine(TCM)classics,which are complex and expensive to fine-tune,this study explores a lightweight fine-tuning method for such models,aiming to develop a question-answering model centered on TCM classics,particularly various editions of Shang Han Lun through the ages.Methods Dataset construction involved designing prompts to guide GPT-4 in generating Q&A pairs based on Shang Han Lun and integrating them with the ShenNong_TCM_Dataset and cMedQA2 datasets.Five general-purpose large models were selected for Lora fine-tuning.The best model was chosen through evaluation,and the performance of multiple quantized versions was validated.Results After fine-tuning,the BLEU,ROUGE-1,ROUGE-2,and ROUGE-L metrics for the Qwen-7B-Chat model improved by 17.61,19.63,14.3,and 21.4,respectively,compared to the base model.Conclusion The selected model in this study is capable of effectively understanding and utilizing professional terms and concepts from TCM classics,such as Shang Han Lun,to provide accurate answers to user queries.Compared to similar models,it requires lower fine-tuning costs and computational power,contributing to the dissemination of TCM knowledge and the development of intelligent systems.
7.Research on a Traditional Chinese Medicine Knowledge Q&A Model Integrating Supervised Fine-Tuning and Retrieval-Augmented Generation
Xinyu WANG ; Tao YANG ; Song WANG ; Yichu XU ; Kongfa HU
World Science and Technology-Modernization of Traditional Chinese Medicine 2025;27(7):1898-1905
Objective To construct a traditional Chinese medicine(TCM)knowledge question-answering model with strong reasoning capabilities and reliable results,TCM Q&A datasets and TCM literature were fully utilized.Methods Large-scale TCM corpus and Q&A data were collected and organized,with ChatGLM3 serving as the base model.The PissA method was used for supervised fine-tuning,combined with retrieval-augmented generation(RAG)techniques,to build a TCM knowledge Q&A model that integrates supervised fine-tuning and retrieval-augmented generation.The model was compared with ChatGLM3,SFT,and RAG,with evaluations based on classic metrics such as BLEU,ROUGE1,and F-scores.Results The model in this paper achieved BLEU and ROUGE1 scores of 14.5830 and 34.6730,respectively.After incorporating retrieval-augmented generation,the model attained an F score of 0.6398 in the inference results on a TCM dataset,outperforming the ChatGLM3 baseline model's 0.2654.Conclusion The construction method of a large model in the TCM domain that integrates supervised fine-tuning and retrieval augmentation can effectively enhance the model's reasoning performance and reliability in TCM.
8.Research on the Algorithm of Mining Information of Traditional Chinese Herb System Biology Based on Graph Neural Net-work
Daifeng ZHANG ; Guoqiang BIAN ; Jiayi HE ; Jiadong XIE ; Chenjun HU ; Kongfa HU
Journal of Nanjing University of Traditional Chinese Medicine 2025;41(4):483-493
OBJECTIVE To provide help for further exploring the mechanism of action of traditional Chinese herb by constructing a complex network of traditional Chinese herb-gene-protein,optimizing the mining method of potential associated genes of traditional Chinese herb and improving the mining efficiency of traditional Chinese herb system biology information.METHODS A graph neural network model HERBGAT with an attention mechanism was proposed.A small amount of traditional Chinese herb-related gene data in the public data platform was used as input,and deep mining was performed in the traditional Chinese herb-gene-protein complex net-work to output potential traditional Chinese herb-related genes.The prediction results were analyzed by disease association analysis and KEGG signaling pathway analysis on the bioinformatics platform to clarify their mechanism of action,and the prediction results were verified by the literature retrieval platform.RESULTS The training results showed that the average prediction accuracy of the HERB-GAT model could reach 94%.Compared with the other two advanced complex network mining methods,HERBGAT showed better per-formance in the three indicators of ACC,AUC and AUPR.In the literature verification stage,the model prediction results were verified by TCM clinical literature and modern pharmacology literature,showing the good effect of HERBGAT in practical application.At the end of this paper,taking the HERBGAT model and the improved EMOGI model to explore the mechanism of action of Pinellia ternata in treating lung cancer as an example,199 potential associated genes of Pinellia ternata in treating lung cancer were found,and these potential associated genes were preliminarily analyzed and discussed with the help of bioinformatics methods.CONCLUSION The HERBGAT model can effectively mine potential traditional Chinese herb-associated genes,improve the mining efficiency of traditional Chinese herb-gene-protein complex networks,provide new ideas and references for the optimization of traditional Chinese herb system biology information mining methods,and provide data basis and experimental direction for exploring the mechanism of action of tradi-tional Chinese herb.
9.Study on Facial Paralysis Recognition Method with SOLOv2-Vision Transformer
Zhelong ZHUANG ; Youwei DING ; Kongfa HU ; Kehong CHEN ; Gong CHEN
Journal of Nanjing University of Traditional Chinese Medicine 2025;41(10):1399-1406
OBJECTIVE To establish an accurate and timely intelligent auxiliary diagnosis method for facial paralysis in order to enable patients and doctors to diagnose the disease faster and achieve the purpose of early detection,early diagnosis and early treatment.METHODS A method integrating SOLOv2-Vision Transformer was proposed.The collected facial paralysis data was seg-mented by the SOLOv2 model with a replaced backbone network,the interference part in the image was removed,and then inputted in-to the Vision Transformer model for classification training.By adopting the principle of segmentation first and then classification,the classification effect of facial paralysis images was improved.RESULTS The accuracy rate of the experimental method on the MEEI facial paralysis dataset was 0.982,the recall rate was 0.982,and the F1-score was 0.981,which were respectively increased by 2%,4%,and 4%compared with the basic model.CONCLUSION The facial paralysis classification model integrated with SOLOv2-Vi-sion Transformer can achieve higher recognition accuracy than the unsegmented method,and provides a new method for the diagnosis of facial paralysis.
10.Research on Lightweight Large Language Models for Ancient Traditional Chinese Medicine Texts Based on Lora Fine-Tuning
Jingxian CHAI ; Xufeng LANG ; Hongyan LI ; Zuojian ZHOU ; Yun LING ; Libin ZHAN ; Kongfa HU ; Xuebin QIAO
World Science and Technology-Modernization of Traditional Chinese Medicine 2025;27(3):823-831
Objective To address the challenges of constructing large language models for traditional Chinese medicine(TCM)classics,which are complex and expensive to fine-tune,this study explores a lightweight fine-tuning method for such models,aiming to develop a question-answering model centered on TCM classics,particularly various editions of Shang Han Lun through the ages.Methods Dataset construction involved designing prompts to guide GPT-4 in generating Q&A pairs based on Shang Han Lun and integrating them with the ShenNong_TCM_Dataset and cMedQA2 datasets.Five general-purpose large models were selected for Lora fine-tuning.The best model was chosen through evaluation,and the performance of multiple quantized versions was validated.Results After fine-tuning,the BLEU,ROUGE-1,ROUGE-2,and ROUGE-L metrics for the Qwen-7B-Chat model improved by 17.61,19.63,14.3,and 21.4,respectively,compared to the base model.Conclusion The selected model in this study is capable of effectively understanding and utilizing professional terms and concepts from TCM classics,such as Shang Han Lun,to provide accurate answers to user queries.Compared to similar models,it requires lower fine-tuning costs and computational power,contributing to the dissemination of TCM knowledge and the development of intelligent systems.

Result Analysis
Print
Save
E-mail