Long Tail Image Generation Through Feature Space Augmentation and Iterated Learning

Rafael Elberg, Denis Parra, Mircea Petrache · DOI

Introduction

In deep learning, the "long-tail" distribution presents a significant challenge: while common "head" categories are well-represented, rare but critical "tail" categories often lack sufficient data. This imbalance is particularly acute in medical imaging, where rare pathologies are scarce but essential for training robust diagnostic models. Standard approaches like resampling or basic data augmentation often lead to overfitting or fail to capture the necessary visual nuances.

Researchers from PUC Chile propose a novel solution in their paper, "Long Tail Image Generation Through Feature Space Augmentation and Iterated Learning." Their approach involves "manufacturing" rare examples by surgically mixing features within a sparse latent space, leveraging Iterated Learning and Simplicial Embeddings to create high-quality synthetic medical images.

Methodology: Feature-Level Surgery

The proposed pipeline operates in three distinct stages to perform precise feature manipulation:

  1. Iterated Training & Simplicial Embedding: The framework utilizes a teacher-student "Iterated Learning" (IL) paradigm. It maps the latent space of a pre-trained Stable Diffusion model into a sparse representation using Simplicial Embeddings. This sparsity ensures that distinct anatomical and pathological features occupy non-overlapping regions of the latent space, preventing feature "bleeding" during the mixing process.
  2. Class Activation Map (CAM) Generation: Using EigenCAM, the model identifies the specific latent dimensions responsible for a given diagnosis. This generates a saliency map that serves as a "stencil" for disease-specific features.
  3. Feature Space Fusion: To generate a new "tail" class image, the system identifies a rare "tail" example and a common "head" neighbor. Using the CAM masks, it preserves the essential pathology from the rare image while filling the background with features from the common image. This fused vector is then decoded through a diffusion process.
Overview of the Iterated Training, CAM Generation, and Inference (Fusion) pipeline.

Experimental Setup and Results

The method was evaluated on the MIMIC-CXR-LT dataset, focusing on five common "head" classes and five rare "tail" classes (e.g., Tortuous Aorta). A key finding was the efficiency of the generation process: the model produced high-quality images in just five inference steps, compared to the 75 steps typically required by standard diffusion models.

Visual demonstration of the feature fusion process, showing the original X-rays, generated heatmaps/masks, and the final fused synthetic image.

Quantitatively, the proposed method (Ours@5) achieved a Fréchet Inception Distance (FID) of 130.110, outperforming the state-of-the-art RoentGEN model (138.963). This improvement suggests that the fused latent vectors are already highly aligned with the target distribution, requiring minimal denoising.

Discussion and Conclusion

While the synthetic images are visually realistic and achieve superior FID scores, the authors noted a trade-off regarding classification utility. The Mean Average Precision (mAP) for tail classes remained comparable to existing methods, suggesting that "fusing" images may introduce subtle label noise if features from the "head" class conflict with the "tail" label.

Future work will focus on improving label consistency during fusion and testing the framework on more diverse medical datasets. By creating a "shared language" through Iterated Learning, this research paves the way for more effective data augmentation in domains where rare data is a critical bottleneck.

Paper Citation: Elberg, R., Parra, D., & Petrache, M. (2024). Long Tail Image Generation Through Feature Space Augmentation and Iterated Learning. arXiv:2405.01705v1 [cs.CV].

Summary updated

BibTeX
@misc{elberg2024long,
  author = {Rafael Elberg and Denis Parra and Mircea Petrache},
  title = {{Long Tail Image Generation Through Feature Space Augmentation and Iterated Learning}},
  year = {2024},
  eprint = {2405.01705},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.01705},
}
Figure