Related Experiment Videos
Weighted Sampling with Frequency-Aware Spatial Attention for Imbalanced Image Classification
1School of Mathematics and Statistics, Beijing Institute of Technology, Beijing 100081, China.
Journal of Imaging
|July 27, 2026
Summary
This study introduces a hybrid framework (WSFSA) combining weighted sampling and frequency-aware spatial attention to tackle class imbalance in image classification. WSFSA effectively improves recognition for underrepresented classes, especially in severely imbalanced datasets.
Area of Science:
- Computer Vision
- Machine Learning
- Medical Image Analysis
Background:
- Class imbalance is a major challenge in image classification, leading to poor performance on underrepresented classes.
- Existing methods struggle to adequately address severe class imbalance in medical datasets.
Purpose of the Study:
- To propose a hybrid framework (WSFSA) that addresses class imbalance at both data and feature levels.
- To enhance the recognition performance of minority classes in image classification tasks.
Main Methods:
- Developed a hybrid framework combining weighted sampling and frequency-aware spatial attention (WSFSA).
- Weighted sampler increases training exposure for minority classes.
- Frequency-aware spatial attention module integrates class frequency information to boost feature discrimination for underrepresented classes.
Main Results:
- WSFSA demonstrated significant benefits on severely imbalanced datasets (DermaMNIST, DermaMNIST-224), performing comparably to top baseline methods.
- Moderate gains were observed on OrganCMNIST, with similar performance across methods on the less imbalanced BloodMNIST.
- Per-class analysis confirmed improved sensitivity for minority/difficult classes while maintaining high specificity.
Conclusions:
- Combining sampling-level and feature-level rebalancing strategies is a practical approach for improving class-balanced recognition.
- The WSFSA framework shows particular effectiveness under conditions of severe class imbalance.
- This hybrid method offers a robust solution for enhancing model performance on imbalanced medical image datasets.
Related Concept Videos
Stratified Sampling Method
Sampling is a technique to select a portion (or subset) of the larger population and study that portion (the sample) to gain information about the population. The sampling method ensures that samples are drawn without bias and accurately represent the population. Because measuring the entire population in a study is not practical, researchers use samples to represent the population of interest.
To choose a stratified sample, divide the population into groups called strata and then take a...
To choose a stratified sample, divide the population into groups called strata and then take a...
Random Sampling Method
Sampling is a technique to select a portion (or subset) of the larger population and study that portion (the sample) to gain information about the population. Data are the result of sampling from a population. The sampling method ensures that samples are drawn without bias and accurately represent the population. Because measuring the entire population in a study is not practical, researchers use samples to represent the population of interest. Among the various sampling methods used by...
Systematic Sampling Method
Sampling is a technique to select a portion (or subset) of the larger population and study that portion (the sample) to gain information about the population. Data are the result of sampling from a population. The sampling method ensures that samples are drawn without bias and accurately represent the population. Because measuring the entire population in a study is not practical, researchers use samples to represent the population of interest.
Systematic sampling is one of the simplest methods...
Systematic sampling is one of the simplest methods...
Cluster Sampling Method
Appropriate sampling methods ensure that samples are drawn without bias and accurately represent the population. Because measuring the entire population in a study is not practical, researchers use samples to represent the population of interest.
To choose a cluster sample, divide the population into clusters (groups) and then randomly select some of the clusters. All the members from these clusters are in the cluster sample. For example, if you randomly sample four departments from your...
To choose a cluster sample, divide the population into clusters (groups) and then randomly select some of the clusters. All the members from these clusters are in the cluster sample. For example, if you randomly sample four departments from your...
Weighted Mean
While taking the arithmetic, geometric, or harmonic mean of a sample data set, equal importance is assigned to all the data points. However, all the values may not always be equally important in some data sets. An intrinsic bias might make it more important to give more weightage to specific values over others.
For example, consider the number of goals scored in the matches of a tournament. While computing the average number of goals scored in the tournament, it may be more important to...
For example, consider the number of goals scored in the matches of a tournament. While computing the average number of goals scored in the tournament, it may be more important to...
Sampling Plans
Sampling is a crucial step in analytical chemistry, allowing researchers to collect representative data from a large population. Common sampling methods include random, judgmental, systematic, stratified, and cluster sampling.
Random sampling is a method where each member of the population has an equal chance of being selected for the sample. It involves selecting individuals randomly, often using random number generators or lottery-type methods. For example, when analyzing the properties of a...
Random sampling is a method where each member of the population has an equal chance of being selected for the sample. It involves selecting individuals randomly, often using random number generators or lottery-type methods. For example, when analyzing the properties of a...