| Literature DB >> 35250359 |
Ziyuan Yang1,2, Lu Leng1,3, Ming Li4, Jun Chu1.
Abstract
The abnormal traits and colors of feces typically indicate that the patients are probably suffering from tumor or digestive-system diseases. Thus a fast, accurate and automatic health diagnosis system based on feces is urgently necessary for improving the examination speed and reducing the infection risk. The rarity of the pathological images would deteriorate the accuracy performance of the trained models. In order to alleviate this problem, we employ augmentation and over-sampling to expand the samples of the classes that have few samples in the training batch. In order to achieve an impressive recognition performance and leverage the latent correlation between the traits and colors of feces pathological samples, a multi-task network is developed to recognize colors and traits of the macroscopic feces images. The parameter number of a single multi-task network is generally much smaller than the total parameter number of multiple single-task networks, so the storage cost is reduced. The loss function of the multi-task network is the weighted sum of the losses of the two tasks. In this paper, the weights of the tasks are determined according to their difficulty levels that are measured by the fitted linear functions. The sufficient experiments confirm that the proposed method can yield higher accuracies, and the efficiency is also improved.Entities:
Keywords: Color recognition; Data augmentation, over-sampling; Macroscopic feces image; Multi-task diagnosing; Trait recognition; Weighting selection
Year: 2022 PMID: 35250359 PMCID: PMC8884099 DOI: 10.1007/s11042-022-12565-0
Source DB: PubMed Journal: Multimed Tools Appl ISSN: 1380-7501 Impact factor: 2.577
Fig. 1Feces samples in the tubes
Fig. 2Samples of different colors and traits. a Black. b Red. c Yellow. d Loose. e Watery. f Normal
Fig. 3The framework of our method
Fig. 4A mirrored image for data augmentation
Fig. 5Fitting results of two single tasks. a Color. b Trait
The slopes and biases of the fitted linear functions for two tasks
| Slope | Bias | Regressed value | |
|---|---|---|---|
| Color recognition | 1.41 × 10−4 | 0.9179 | 0.9602 |
| Trait recognition | 2.01 × 10−4 | 0.9237 | 0.9840 |
Fig. 6The fitting samples for the single recognition task. a Color recognition; b Trait recognition
The slopes and biases of the fitted linear function with different weights
| Weight (Color) | Slope (Color) | Bias (Color) | Slope (Trait) | Bias (Trait) |
|---|---|---|---|---|
| 0 | 6.17 × 10−5 | 0.2817 | 0.0017 | 0.9257 |
| 0.1 | 0.0024 | 0.7710 | 0.0034 | 0.8933 |
| 0.2 | 0.0055 | 0.6736 | 0.0050 | 0.8527 |
| 0.3 | 0.0095 | 0.6700 | 0.0043 | 0.8992 |
| 0.4 | 0.0053 | 0.7308 | 0.0029 | 0.8859 |
| 0.5 | 0.0141 | 0.6453 | 0.0030 | 0.9030 |
| 0.6 | 0.0023 | 0.8442 | 0.0048 | 0.8795 |
| 0.7 | 0.0028 | 0.8441 | 0.0037 | 0.8636 |
| 0.8 | 0.0014 | 0.8844 | 0.0072 | 0.8164 |
| 0.9 | 0.0039 | 0.8236 | 0.0043 | 0.8446 |
| 1.0 | 0.0041 | 0.8444 | −5.87 × 10−5 | 0.2462 |
Fig. 7The fitting results of different weights
Accuracy on testing set
| Task | Multi-task training | Single-task training | Existing methods | |
|---|---|---|---|---|
| With augmentation | Without augmentation | |||
| Color recognition | 93.6% | 89.9% | 96.8% [ | |
| Trait recognition | 90.7% | 94.9% | 93.8% [ | |
Fig. 8Relationship between the network depth and the accuracy
Efficiency comparison
| [ | [ | Ours | |
|---|---|---|---|
| Running time | 0.1723s | 0.1805s | 0.1960s |