Shuai Zhao
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Research Interests
Shuai Zhao has a total of 50 co-authors. Here are the top co-authors by number of shared publications:
- Deng Cai
State Key Lab of CAD&CG, Zhejiang University, Hangzhou, China
3 shared publications - Deng Cai
College of Computer Science State Key Lab of CAD&CG Zhejiang University China
3 shared publications - Linchao Zhu
College of Computer Science and Technology Zhejiang University
3 shared publications - Yi Yang
Zhejiang University, China
3 shared publications - Boxi Wu
Zhejiang University
2 shared publications - Junwei Hu
School of Electrical Engineering and Automation, Hubei Normal University, Huangshi 435002, Hubei, People’s Republic of China
2 shared publications
Latest Publications
- 25 December 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Image Processing
- Vol. 33 (10577149) , 6893-6904
CLIP4STR: A Simple Baseline for Scene Text Recognition With Pre-Trained Vision-Language Model
Pre-trained vision-language models (VLMs) are the de-facto foundation models for various downstream tasks. However, scene text recognition methods still prefer backbones pre-trained on a single modality, namely, the visual modality, despite the potential of VLMs to serve as powerful scene text readers. For example, CLIP can robustly identify regular (horizontal) and irregular (rotated, curved, blurred, or occluded) text in images. With such merits, we transform CLIP into a scene text reader and introduce CLIP4STR, a simple yet effective STR method built upon image and text encoders of CLIP. It has two encoder-decoder branches: a visual branch and a cross-modal branch. The visual branch provides an initial prediction based on the visual feature, and the cross-modal branch refines this prediction by addressing the discrepancy between the visual feature and text semantics. To fully leverage the capabilities of both branches, we design a dual predict-and-refine decoding scheme for inference. We scale CLIP4STR in terms of the model size, pre-training data, and training data, achieving state-of-the-art performance on 13 STR benchmarks. Additionally, a comprehensive empirical study is provided to enhance the understanding of the adaptation of CLIP to STR. We believe our method establishes a simple yet strong baseline for future STR research with VLMs.
- 25 December 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Image Processing
- Vol. 33 (10577149) , 6893-6904
CLIP4STR: A Simple Baseline for Scene Text Recognition With Pre-Trained Vision-Language Model
Pre-trained vision-language models (VLMs) are the de-facto foundation models for various downstream tasks. However, scene text recognition methods still prefer backbones pre-trained on a single modality, namely, the visual modality, despite the potential of VLMs to serve as powerful scene text readers. For example, CLIP can robustly identify regular (horizontal) and irregular (rotated, curved, blurred, or occluded) text in images. With such merits, we transform CLIP into a scene text reader and introduce CLIP4STR, a simple yet effective STR method built upon image and text encoders of CLIP. It has two encoder-decoder branches: a visual branch and a cross-modal branch. The visual branch provides an initial prediction based on the visual feature, and the cross-modal branch refines this prediction by addressing the discrepancy between the visual feature and text semantics. To fully leverage the capabilities of both branches, we design a dual predict-and-refine decoding scheme for inference. We scale CLIP4STR in terms of the model size, pre-training data, and training data, achieving state-of-the-art performance on 13 STR benchmarks. Additionally, a comprehensive empirical study is provided to enhance the understanding of the adaptation of CLIP to STR. We believe our method establishes a simple yet strong baseline for future STR research with VLMs.
- 26 September 2024
- Published by Springer Nature in International Journal of Computer Vision
- Vol. 133 (3) , 1222-1237
Slimmable Networks for Contrastive Self-supervised Learning
- 26 September 2024
- Published by Springer Nature in International Journal of Computer Vision
- Vol. 133 (3) , 1222-1237
Slimmable Networks for Contrastive Self-supervised Learning
- Open Access
A Study of Unsupervised Evaluation Metrics for Practical and Automatic Domain Adaptation
Unsupervised domain adaptation (UDA) methods facilitate the transfer of models to target domains without labels. However, these methods necessitate a labeled target validation set for hyper-parameter tuning and model selection. In this paper, we aim to find an evaluation metric capable of assessing the quality of a transferred model without access to target validation labels. We begin with the metric based on mutual information of the model prediction. Through empirical analysis, we identify three prevalent issues with this metric: 1) It does not account for the source structure. 2) It can be easily attacked. 3) It fails to detect negative transfer caused by the over-alignment of source and target features. To address the first two issues, we incorporate source accuracy into the metric and employ a new MLP classifier that is held out during training, significantly improving the result. To tackle the final issue, we integrate this enhanced metric with data augmentation, resulting in a novel unsupervised UDA metric called the Augmentation Consistency Metric (ACM). Additionally, we empirically demonstrate the shortcomings of previous experiment settings and conduct large-scale experiments to validate the effectiveness of our proposed metric. Furthermore, we employ our metric to automatically search for the optimal hyper-parameter set, achieving superior performance compared to manually tuned sets across four common benchmarks. Codes will be available soon.
Open AccessA Study of Unsupervised Evaluation Metrics for Practical and Automatic Domain Adaptation
Unsupervised domain adaptation (UDA) methods facilitate the transfer of models to target domains without labels. However, these methods necessitate a labeled target validation set for hyper-parameter tuning and model selection. In this paper, we aim to find an evaluation metric capable of assessing the quality of a transferred model without access to target validation labels. We begin with the metric based on mutual information of the model prediction. Through empirical analysis, we identify three prevalent issues with this metric: 1) It does not account for the source structure. 2) It can be easily attacked. 3) It fails to detect negative transfer caused by the over-alignment of source and target features. To address the first two issues, we incorporate source accuracy into the metric and employ a new MLP classifier that is held out during training, significantly improving the result. To tackle the final issue, we integrate this enhanced metric with data augmentation, resulting in a novel unsupervised UDA metric called the Augmentation Consistency Metric (ACM). Additionally, we empirically demonstrate the shortcomings of previous experiment settings and conduct large-scale experiments to validate the effectiveness of our proposed metric. Furthermore, we employ our metric to automatically search for the optimal hyper-parameter set, achieving superior performance compared to manually tuned sets across four common benchmarks. Codes will be available soon.
- Open Access
Slimmable Networks for Contrastive Self-supervised Learning
Self-supervised learning makes significant progress in pre-training large models, but struggles with small models. Previous solutions to this problem rely mainly on knowledge distillation, which involves a two-stage procedure: first training a large teacher model and then distilling it to improve the generalization ability of smaller ones. In this work, we present a one-stage solution to obtain pre-trained small models without the need for extra teachers, namely, slimmable networks for contrastive self-supervised learning (\emph{SlimCLR}). A slimmable network consists of a full network and several weight-sharing sub-networks, which can be pre-trained once to obtain various networks, including small ones with low computation costs. However, interference between weight-sharing networks leads to severe performance degradation in self-supervised cases, as evidenced by \emph{gradient magnitude imbalance} and \emph{gradient direction divergence}. The former indicates that a small proportion of parameters produce dominant gradients during backpropagation, while the main parameters may not be fully optimized. The latter shows that the gradient direction is disordered, and the optimization process is unstable. To address these issues, we introduce three techniques to make the main parameters produce dominant gradients and sub-networks have consistent outputs. These techniques include slow start training of sub-networks, online distillation, and loss re-weighting according to model sizes. Furthermore, theoretical results are presented to demonstrate that a single slimmable linear layer is sub-optimal during linear evaluation. Thus a switchable linear probe layer is applied during linear evaluation. We instantiate SlimCLR with typical contrastive learning frameworks and achieve better performance than previous arts with fewer parameters and FLOPs.
Open AccessSlimmable Networks for Contrastive Self-supervised Learning
Self-supervised learning makes significant progress in pre-training large models, but struggles with small models. Previous solutions to this problem rely mainly on knowledge distillation, which involves a two-stage procedure: first training a large teacher model and then distilling it to improve the generalization ability of smaller ones. In this work, we present a one-stage solution to obtain pre-trained small models without the need for extra teachers, namely, slimmable networks for contrastive self-supervised learning (\emph{SlimCLR}). A slimmable network consists of a full network and several weight-sharing sub-networks, which can be pre-trained once to obtain various networks, including small ones with low computation costs. However, interference between weight-sharing networks leads to severe performance degradation in self-supervised cases, as evidenced by \emph{gradient magnitude imbalance} and \emph{gradient direction divergence}. The former indicates that a small proportion of parameters produce dominant gradients during backpropagation, while the main parameters may not be fully optimized. The latter shows that the gradient direction is disordered, and the optimization process is unstable. To address these issues, we introduce three techniques to make the main parameters produce dominant gradients and sub-networks have consistent outputs. These techniques include slow start training of sub-networks, online distillation, and loss re-weighting according to model sizes. Furthermore, theoretical results are presented to demonstrate that a single slimmable linear layer is sub-optimal during linear evaluation. Thus a switchable linear probe layer is applied during linear evaluation. We instantiate SlimCLR with typical contrastive learning frameworks and achieve better performance than previous arts with fewer parameters and FLOPs.
- Open Access
- 1 January 2023
- Published by Clausius Scientific Press, Inc. in Journal of Engineering Mechanics and Machinery
- Vol. 8 (4) , 15-24
Human factor ergonomic analysis of cervical cancer intracavitary therapy transport process based on Jack virtual simulation technology
With the incidence of cervical cancer in women rising year by year, its impact on the physical and mental health of patients as well as their families is becoming more and more significant. At present, hospitals often use intracavitary radiation therapy, and intracavitary therapy transfer bed as a gynecological oncology intracavitary radiation medical auxiliary device plays an extremely important role. Therefore, for the design of intracavitary therapy transfer beds, the validation of man-machine adaptability can well help to optimize its structure. The paper firstly imports the three-dimensional model of intracavitary therapy transfer bed established in UG software into the ergonomics analysis software Jack; secondly, in the analysis environment, it establishes the human body model that conforms to the body dimensions of patients with cervical cancer as well as the human body model of healthcare workers; then, on this basis, it establishes the simulation model for the patient's posture of using the intracavitary therapy transfer bed as well as for different movements of the healthcare workers in the course of the treatment; finally, it analyzes the stresses of the patient's lower limbs, as well as the waist, back, and upper limbs of the healthcare workers through the simulation and analyzes the comfort of the patients and the healthcare personnel with respect to the different movements of the treatment task. The analysis of the simulation results can verify the rationality of the design of the intracavitary therapy transfer bed and the use of comfort, and at the same time, combined with the results of the analysis of the healthcare worker's working posture, to provide an analysis method for the structural optimization of the intracavitary therapy transfer bed.
- 1 January 2023
- Published by Clausius Scientific Press, Inc. in Journal of Engineering Mechanics and Machinery
- Vol. 8 (4) , 15-24
Open AccessHuman factor ergonomic analysis of cervical cancer intracavitary therapy transport process based on Jack virtual simulation technology
With the incidence of cervical cancer in women rising year by year, its impact on the physical and mental health of patients as well as their families is becoming more and more significant. At present, hospitals often use intracavitary radiation therapy, and intracavitary therapy transfer bed as a gynecological oncology intracavitary radiation medical auxiliary device plays an extremely important role. Therefore, for the design of intracavitary therapy transfer beds, the validation of man-machine adaptability can well help to optimize its structure. The paper firstly imports the three-dimensional model of intracavitary therapy transfer bed established in UG software into the ergonomics analysis software Jack; secondly, in the analysis environment, it establishes the human body model that conforms to the body dimensions of patients with cervical cancer as well as the human body model of healthcare workers; then, on this basis, it establishes the simulation model for the patient's posture of using the intracavitary therapy transfer bed as well as for different movements of the healthcare workers in the course of the treatment; finally, it analyzes the stresses of the patient's lower limbs, as well as the waist, back, and upper limbs of the healthcare workers through the simulation and analyzes the comfort of the patients and the healthcare personnel with respect to the different movements of the treatment task. The analysis of the simulation results can verify the rationality of the design of the intracavitary therapy transfer bed and the use of comfort, and at the same time, combined with the results of the analysis of the healthcare worker's working posture, to provide an analysis method for the structural optimization of the intracavitary therapy transfer bed.
- Open Access
Towards Better Accuracy-efficiency Trade-offs: Divide and Co-training
The width of a neural network matters since increasing the width will necessarily increase the model capacity. However, the performance of a network does not improve linearly with the width and soon gets saturated. In this case, we argue that increasing the number of networks (ensemble) can achieve better accuracy-efficiency trade-offs than purely increasing the width. To prove it, one large network is divided into several small ones regarding its parameters and regularization components. Each of these small networks has a fraction of the original one's parameters. We then train these small networks together and make them see various views of the same data to increase their diversity. During this co-training process, networks can also learn from each other. As a result, small networks can achieve better ensemble performance than the large one with few or no extra parameters or FLOPs, \ie, achieving better accuracy-efficiency trade-offs. Small networks can also achieve faster inference speed than the large one by concurrent running. All of the above shows that the number of networks is a new dimension of model scaling. We validate our argument with 8 different neural architectures on common benchmarks through extensive experiments. The code is available at \url{https://github.com/FreeformRobotics/Divide-and-Co-training}.
Open AccessTowards Better Accuracy-efficiency Trade-offs: Divide and Co-training
The width of a neural network matters since increasing the width will necessarily increase the model capacity. However, the performance of a network does not improve linearly with the width and soon gets saturated. In this case, we argue that increasing the number of networks (ensemble) can achieve better accuracy-efficiency trade-offs than purely increasing the width. To prove it, one large network is divided into several small ones regarding its parameters and regularization components. Each of these small networks has a fraction of the original one's parameters. We then train these small networks together and make them see various views of the same data to increase their diversity. During this co-training process, networks can also learn from each other. As a result, small networks can achieve better ensemble performance than the large one with few or no extra parameters or FLOPs, \ie, achieving better accuracy-efficiency trade-offs. Small networks can also achieve faster inference speed than the large one by concurrent running. All of the above shows that the number of networks is a new dimension of model scaling. We validate our argument with 8 different neural architectures on common benchmarks through extensive experiments. The code is available at \url{https://github.com/FreeformRobotics/Divide-and-Co-training}.
- 5 September 2022
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Image Processing
- Vol. 31 (10577149) , 5869-5880
Toward Better Accuracy-Efficiency Trade-Offs: Divide and Co-Training
The width of a neural network matters since increasing the width will necessarily increase the model capacity. However, the performance of a network does not improve linearly with the width and soon gets saturated. In this case, we argue that increasing the number of networks (ensemble) can achieve better accuracy-efficiency trade-offs than purely increasing the width. To prove it, one large network is divided into several small ones regarding its parameters and regularization components. Each of these small networks has a fraction of the original one’s parameters. We then train these small networks together and make them see various views of the same data to increase their diversity. During this co-training process, networks can also learn from each other. As a result, small networks can achieve better ensemble performance than the large one with few or no extra parameters or FLOPs, i . e ., achieving better accuracy-efficiency trade-offs. Small networks can also achieve faster inference speed than the large one by concurrent running. All of the above shows that the number of networks is a new dimension of model scaling. We validate our argument with 8 different neural architectures on common benchmarks through extensive experiments.
- 5 September 2022
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Image Processing
- Vol. 31 (10577149) , 5869-5880
Toward Better Accuracy-Efficiency Trade-Offs: Divide and Co-Training
The width of a neural network matters since increasing the width will necessarily increase the model capacity. However, the performance of a network does not improve linearly with the width and soon gets saturated. In this case, we argue that increasing the number of networks (ensemble) can achieve better accuracy-efficiency trade-offs than purely increasing the width. To prove it, one large network is divided into several small ones regarding its parameters and regularization components. Each of these small networks has a fraction of the original one’s parameters. We then train these small networks together and make them see various views of the same data to increase their diversity. During this co-training process, networks can also learn from each other. As a result, small networks can achieve better ensemble performance than the large one with few or no extra parameters or FLOPs, i . e ., achieving better accuracy-efficiency trade-offs. Small networks can also achieve faster inference speed than the large one by concurrent running. All of the above shows that the number of networks is a new dimension of model scaling. We validate our argument with 8 different neural architectures on common benchmarks through extensive experiments.
- Open Access
SCALoss: Side and Corner Aligned Loss for Bounding Box Regression
Bounding box regression is an important component in object detection. Recent work achieves promising performance by optimizing the Intersection over Union~(IoU). However, IoU-based loss has the gradient vanish problem in the case of low overlapping bounding boxes, and the model could easily ignore these simple cases. In this paper, we propose Side Overlap~(SO) loss by maximizing the side overlap of two bounding boxes, which puts more penalty for low overlapping bounding box cases. Besides, to speed up the convergence, the Corner Distance~(CD) is added into the objective function. Combining the Side Overlap and Corner Distance, we get a new regression objective function, \textit{Side and Corner Align Loss~(SCALoss)}. The SCALoss is well-correlated with IoU loss, which also benefits the evaluation metric but produces more penalty for low-overlapping cases. It can serve as a comprehensive similarity measure, leading to better localization performance and faster convergence speed. Experiments on COCO, PASCAL VOC, and LVIS benchmarks show that SCALoss can bring consistent improvement and outperform $\ell_n$ loss and IoU based loss with popular object detectors such as YOLOV3, SSD, Faster-RCNN. Code is available at: \url{https://github.com/Turoad/SCALoss}.Open AccessSCALoss: Side and Corner Aligned Loss for Bounding Box Regression
Bounding box regression is an important component in object detection. Recent work achieves promising performance by optimizing the Intersection over Union~(IoU). However, IoU-based loss has the gradient vanish problem in the case of low overlapping bounding boxes, and the model could easily ignore these simple cases. In this paper, we propose Side Overlap~(SO) loss by maximizing the side overlap of two bounding boxes, which puts more penalty for low overlapping bounding box cases. Besides, to speed up the convergence, the Corner Distance~(CD) is added into the objective function. Combining the Side Overlap and Corner Distance, we get a new regression objective function, \textit{Side and Corner Align Loss~(SCALoss)}. The SCALoss is well-correlated with IoU loss, which also benefits the evaluation metric but produces more penalty for low-overlapping cases. It can serve as a comprehensive similarity measure, leading to better localization performance and faster convergence speed. Experiments on COCO, PASCAL VOC, and LVIS benchmarks show that SCALoss can bring consistent improvement and outperform $\ell_n$ loss and IoU based loss with popular object detectors such as YOLOV3, SSD, Faster-RCNN. Code is available at: \url{https://github.com/Turoad/SCALoss}. - 28 May 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 94-99
A Novel Multi-Task Self-Supervised Representation Learning Paradigm
Self-supervised learning can be adopted to mine deep semantic information of visual data without a large number of human-annotated supervision by using a pretext task to pretrain a model. In this study, we proposed a novel self-supervised learning paradigm, namely multi-task self-supervised (MTSS) representation learning. Unlike existing self-supervised learning methods, which pretrain neural networks on the pretext task and then fine-tune the parameters of neural networks on the downstream task, in our scheme, downstream and pretext tasks are considered primary and auxiliary tasks, respectively, and are trained simultaneously. Our method involves maximizing the similarity of two augmented views of an image as an auxiliary task and using a multi-task network to train the primary task alongside the auxiliary task. We evaluated the proposed method on standard datasets and backbones through a rigorous experimental procedure. Experimental results revealed that proposed MTSS can achieve better performance and robustness than other self-supervised learning methods on multiple image classification data sets without using negative sample pairs and large batches. This simple yet effective method can inspire people to rethink self-supervised learning.
- 28 May 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 94-99
A Novel Multi-Task Self-Supervised Representation Learning Paradigm
Self-supervised learning can be adopted to mine deep semantic information of visual data without a large number of human-annotated supervision by using a pretext task to pretrain a model. In this study, we proposed a novel self-supervised learning paradigm, namely multi-task self-supervised (MTSS) representation learning. Unlike existing self-supervised learning methods, which pretrain neural networks on the pretext task and then fine-tune the parameters of neural networks on the downstream task, in our scheme, downstream and pretext tasks are considered primary and auxiliary tasks, respectively, and are trained simultaneously. Our method involves maximizing the similarity of two augmented views of an image as an auxiliary task and using a multi-task network to train the primary task alongside the auxiliary task. We evaluated the proposed method on standard datasets and backbones through a rigorous experimental procedure. Experimental results revealed that proposed MTSS can achieve better performance and robustness than other self-supervised learning methods on multiple image classification data sets without using negative sample pairs and large batches. This simple yet effective method can inspire people to rethink self-supervised learning.
- 1 May 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 290-293
Revolution: A Spatial-specific Convolution for Image Super-Resolution
Recently, deep convolution neural networks achieve remarked performance in single image super-resolution(SISR) due to their strong feature representation ability. However, most existing SR methods mainly use standard convolution in each layer, neglecting to explore the various feature of spatial domain. Standard convolution focuses on spatial invariance by using the same convolution kernel in space. It deprives kernels of the ability to adapt the different spatial positions, hence hindering the diverse of feature. Later, a new convolution operator, Involution, was proposed to implement spatial-specific convolution. But it calculated the convolution kernel parameters of surrounding pixels only by utilizing the characteristics of the central pixel, which was unreasonable and limited its performance. To address these issues, in this paper, we propose a novel convolution named Revolution, which not only incorporates spatial-specific to capture different spatial information, but also considers the relevance of the pixels to determine convolution kernel parameters to further learn more realistic feature representations. On the other hand, the Revolution we proposed makes the number of parameters smaller. Experiments demonstrate that our method obtains obvious improvement in terms of indicators and visual effects.
- 1 May 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 290-293
Revolution: A Spatial-specific Convolution for Image Super-Resolution
Recently, deep convolution neural networks achieve remarked performance in single image super-resolution(SISR) due to their strong feature representation ability. However, most existing SR methods mainly use standard convolution in each layer, neglecting to explore the various feature of spatial domain. Standard convolution focuses on spatial invariance by using the same convolution kernel in space. It deprives kernels of the ability to adapt the different spatial positions, hence hindering the diverse of feature. Later, a new convolution operator, Involution, was proposed to implement spatial-specific convolution. But it calculated the convolution kernel parameters of surrounding pixels only by utilizing the characteristics of the central pixel, which was unreasonable and limited its performance. To address these issues, in this paper, we propose a novel convolution named Revolution, which not only incorporates spatial-specific to capture different spatial information, but also considers the relevance of the pixels to determine convolution kernel parameters to further learn more realistic feature representations. On the other hand, the Revolution we proposed makes the number of parameters smaller. Experiments demonstrate that our method obtains obvious improvement in terms of indicators and visual effects.