Synthetic Sample Selection via Reinforcement Learning

Jiarong Ye, Yuan Xue, L. Rodney Long, Sameer K. Antani, Zhiyun Xue, Keith C. Cheng, Xiaolei Huang

Abstract

Deep learning models for medical imaging often suffer from a lack of annotated data. While Generative Adversarial Networks (GANs) can synthesize additional training samples, the quality of these samples varies, and low-quality images can degrade classifier performance. This paper proposes a reinforcement learning (RL) framework for selective synthetic augmentation. A Transformer-based controller is trained via Proximal Policy Optimization (PPO) to select the most informative synthetic samples from a candidate pool. Evaluated on cervical histopathology and lymph node datasets, the method demonstrates significant accuracy improvements over standard GAN augmentation and handcrafted selection heuristics.

Introduction

The scarcity of expert-annotated medical images is a major bottleneck in developing robust diagnostic models. Generative Adversarial Networks (GANs) offer a potential solution by synthesizing new training data. However, "blind" augmentation often introduces noise or artifacts that do not align with the true data distribution, potentially harming downstream task performance. The core challenge lies in identifying which synthetic samples are beneficial for the specific classification task, rather than just visually realistic.

Methods

The proposed Selective Synthetic Augmentation framework formalizes sample selection as a sequential decision-making process. The architecture consists of several key components:

  1. Candidate Generation: A specialized GAN (HistoGAN) generates a large pool of synthetic histopathology images.
  2. Transformer Controller: A controller network processes feature vectors of candidate images extracted via a pre-trained ResNet34. By utilizing a Transformer architecture, the controller's self-attention mechanism allows it to evaluate samples based on their relationship to the rest of the pool, prioritizing diversity and complementarity over individual quality.
  3. RL Optimization: The controller outputs binary actions (select or discard). The selected subset is combined with real training data to train a classifier. The resulting validation accuracy serves as the reward signal for the RL agent. Proximal Policy Optimization (PPO) is used to update the controller, with an Exponential Moving Average (EMA) applied to smooth the noisy reward signal.
Overview of the Selective Synthetic Augmentation framework, illustrating the interaction between the candidate pool, the Transformer-based controller, and the reward loop.

Results

The framework was evaluated on two challenging histopathology tasks: a private Cervical Histopathology dataset and a limited subset (3%) of the public PatchCamelyon (PCam) dataset.

  • Cervical Dataset: Classification accuracy improved from a baseline of 75.4% to 83.5%, an 8.1% absolute gain. Visual analysis (Figure 2) shows that the RL-based selection effectively filters out synthetic images with misleading features or artifacts.
  • PCam Dataset: Accuracy increased from 85.3% to 87.6%.
  • Ablation Studies: The authors confirmed that the combination of a Transformer architecture and PPO optimization was superior to simpler recurrent models like GRUs or the REINFORCE algorithm.
Comparison of real images and synthetic images generated with and without RL-based selection on the Cervical dataset across different CIN grades.

Discussion and Key Insights

A primary insight from this work is the shift from visual realism to task-specific utility. An image may appear slightly unrealistic to a human observer but still contain features that help a neural network learn robust decision boundaries. Furthermore, the RL agent outperformed handcrafted metrics like "distance to class centroid." While traditional metrics are rigid, the RL agent learned to select samples across a wider distribution, suggesting that "outlier" synthetic samples can be more informative than average ones.

Despite its success, the method is computationally expensive due to the requirement of training a classifier multiple times within the RL loop. Future research could explore extending this framework to other medical modalities like MRI or CT, or integrating it with active learning strategies to optimize the selection of real samples for expert annotation.

Summary updated

BibTeX
@inproceedings{ye2020synthetic,
  author = {Jiarong Ye and Yuan Xue and L. Rodney Long and Sameer K. Antani and Zhiyun Xue and Keith C. Cheng and Xiaolei Huang},
  title = {{Synthetic Sample Selection via Reinforcement Learning}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2020},
  doi = {10.1007/978-3-030-59710-8\_6},
}
Figure