ADFSNet: An Adaptive Domain Feature Separation Network for the Classification of Wheat Seed Using Hyperspectral Images

Xin Zhao, Shuo Liu, Haotian Que, Min Huang, Qibing Zhu2023

TL;DR

This paper introduces ADFSNet, a novel deep learning approach for classifying wheat seed varieties using hyperspectral images, specifically addressing the challenge of "domain shift" caused by environmental variations across different years. By adaptively separating and aligning domain-invariant features, ADFSNet achieves superior cross-year classification accuracy with minimal labeled data, offering a more robust solution for agricultural applications.

What Problem Does This Paper Address?

Accurate identification of wheat seed varieties is crucial for maintaining crop quality and ensuring global food security. However, traditional methods are often time-consuming and subjective. While hyperspectral imaging offers a promising non-destructive approach, its effectiveness is hampered by high dimensionality and spectral variability. A significant challenge arises when models trained on data from one year (source domain) are applied to data from another year (target domain), as environmental factors like climate and soil can alter seed characteristics, leading to a "domain shift" and reduced classification accuracy. Existing transfer learning methods often struggle with this, and the paper aims to develop a more robust and cost-effective solution for cross-year wheat seed classification.

Methods

The core innovation is the Adaptive Domain Feature Separation (ADFS) network. ADFSNet employs a deep learning architecture that adaptively separates features into three categories:

  • Shared Features ($F_n$): These are domain-invariant features that are consistent across different years and varieties. A shared module and an adversarial training mechanism are used to align the distributions of these features between the source and target domains.
  • Class-Specific Features ($F_c$): These features are relevant for distinguishing between different wheat varieties but might shift with domain changes.
  • Domain-Specific Features ($F_d$): These features capture differences between the source and target domains but are not useful for the classification task itself and can even lead to negative transfer.

Crucially, ADFSNet excludes domain-specific features ($F_d$) from the transfer learning process, aiming to prevent negative transfer and improve classification accuracy. The network utilizes a combination of feature extractors, classifiers, and loss functions (including cross-entropy loss for classification and a cosine distance loss for domain alignment) to achieve its goals. The paper compares ADFSNet against traditional transfer learning methods like pre-training, fine-tuning, and Domain-Adversarial Neural Network (DANN).

Datasets

The study utilizes hyperspectral images of wheat seeds collected from two different years (2019 and 2020). Four specific wheat seed varieties were used: Bainong4199 (BN4199), Jimai44 (JM44), Weilong169 (WL169), and Zhoumai33 (ZM33). A total of 8000 hyperspectral images were collected. The dataset is divided into source and target domains based on the year of harvest for cross-year transfer experiments.

Key Insights and Ideas

  • The detrimental effect of domain-specific features: The paper strongly emphasizes that features solely distinguishing between source and target domains (without contributing to classification) can actively harm model performance. ADFSNet's strategy of discarding these features is a key differentiator.
  • Adaptive separation for robustness: By explicitly separating features into shared, class-specific, and domain-specific categories, the network can intelligently leverage domain-invariant knowledge while mitigating the negative impacts of domain-specific variations.
  • Efficiency with limited labels: ADFSNet demonstrates strong performance even with a small proportion of labeled target domain samples, making it a practical solution where extensive labeling is costly or infeasible.
  • Visualizing feature separation: The use of T-SNE to visualize feature distributions clearly shows how ADFSNet effectively aligns shared features and clusters class-specific features, leading to better separation.

Key Results

  • ADFSNet achieved the highest classification accuracy among the compared methods for cross-year wheat seed identification.
  • For the 2019-2020 transfer scenario, ADFSNet achieved an average accuracy of 93.50%, outperforming DANN (91.38%), pre-training (89.03%), and fine-tuning (88.91%).
  • For the 2020-2019 transfer scenario, ADFSNet achieved 91.69% average accuracy, again surpassing DANN (90.16%), pre-training (87.38%), and fine-tuning (85.88%).
  • Even with only 10% labeled target samples, ADFSNet's accuracy was comparable to using 20% labeled samples, highlighting its efficiency.
  • The ablation study confirmed that combining shared ($F_n$) and class-specific ($F_c$) features yielded the best results, while including domain-specific features ($F_d$) led to a decrease in accuracy.

Limitations and Future Work

  • Requirement for labeled samples: While ADFSNet is efficient with limited labels, it still requires some labeled data from the target domain for effective cross-year transfer.
  • Future research directions: The authors suggest focusing on unsupervised transfer networks with high accuracy to further reduce the reliance on labeled data for practical cross-year prediction. They also aim to explore unsupervised transfer learning for even better adaptation to new scenarios.

Summary updated

BibTeX
@misc{zhao2023adfsnet,
  author = {Xin Zhao and Shuo Liu and Haotian Que and Min Huang and Qibing Zhu},
  title = {{ADFSNet: An Adaptive Domain Feature Separation Network for the Classification of Wheat Seed Using Hyperspectral Images}},
  year = {2023},
  doi = {10.3390/s23198116},
}
Figure