{'fraction_non_alphanumeric': 0.03455723542116631, 'fraction_numerical': 0.0, 'mean_word_length': 5.367697594501718, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
AIFS-DATASET for Few-Shot Aerial Image Scene Classification

Few-shot learning (FSL), which aims to rapidly recognize unseen categories with limited samples, has attracted wide attention in aerial image scene classification. However, existing methods generally train and evaluate the model within a dataset, and changing the dataset requires retraining and evaluation, which only realizes the generalization of intra-dataset. Considering meta-learning, this brings in a natural assumption: FSL should learn meta-knowledge from cross-domain heterogeneous tasks, then can generalize to new data distributions (e.g., datasets) with few samples. To this end, we propose a new benchmark, dubbed Aerial Image Few-Shot Dataset (AIFS-DATASET), which is composed of diverse datasets and can provide more realistic heterogeneous task distributions. On AIFS-DATASET, we use many heterogeneous tasks, which across multi-domains without any aerial image category, to train the model, achieving “see more”. Then we transfer the learned knowledge to new tasks in aerial images to evaluate the generalization performance of the model, thus acquiring a “well-informed” few-shot aerial image scene classification model. Moreover, the challenges of inter-class similarity and intra-class discrepancy in aerial images still exist. We also develop a Dual Constrained Distance Metric Learning (DC-DML) framework to deal with the variable learning tasks adaptively as well as to achieve compact data distribution within a class and clear distribution gaps between classes from the perspective of metric learning. DC-DML mainly employs a task-adapted feature extractor while devising a novel distance metric with a cross-class bias penalty. By conducting experiments on AIFS-DATASET, we observed that DC-DML outperforms the current prevailing FSL approaches by a large margin.