Introduction
Standard AI training relies on massive datasets like ImageNet, which are manually scraped from the web. However, these datasets often suffer from "dataset bias." For example, if most "goldfish" images in a dataset feature a plastic bowl, a model might learn that the bowl is the fish. These "shortcuts" allow models to perform well on the original dataset but cause them to fail in the real world where backgrounds, lighting, and styles vary. Manually collecting a "perfect," unbiased dataset is prohibitively expensive.
The lbGen framework addresses this by using generative AI to create a "cleaner" version of ImageNet that teaches models the essence of an object rather than its common surroundings.
Methodology: The lbGen Framework
The authors introduce lbGen, which fine-tunes a pre-trained diffusion model (Stable Diffusion) to generate images based solely on category names. The framework leverages the "semantic common sense" of multimodal models like CLIP to ensure generated images focus on essential features.
The approach uses three novel loss functions:
- Entire Dataset Alignment ($L_{en}$): An adversarial loss ensuring the generated dataset matches the global semantic distribution of target categories in CLIP’s feature space.
- Individual Image Alignment ($L_{in}$): A cosine similarity loss forcing each image to match its category's text description.
- Quality Assurance Loss ($L_q$): Utilizes a state-of-the-art quality scoring model (Q-ALIGN) to ensure images remain visually crisp and avoid artifacts.
Crucially, Reinforcement Learning (RL) is used to fine-tune the generator, allowing updates based on the final generated image's quality and semantic accuracy without requiring a pre-existing image-text dataset.
Experimental Setup
The framework was evaluated using the 1,000 category names from ImageNet-1K. Performance was tested via transfer learning on eight diverse datasets: Aircraft, Cars196, DTD (textures), EuroSAT (satellite), Flowers, Pets, Food101, and SUN397 (scenes). Additionally, the models were tested on object detection (COCO) and semantic segmentation (ADE20K), alongside specific bias benchmarks like FOCUS and Cue Conflict.
Key Results and Insights
The core philosophy of lbGen is that language acts as a "low-bias" anchor. By aligning images with CLIP's language-defined semantic space, the generator emphasizes transferable features (like shape) over incidental ones (like backgrounds).
- Superior Generalization: Backbones (ResNet50 and ViT-S) pre-trained on lbGen data outperformed those trained on real ImageNet by an average of 1.7% to 2.1% across eight transfer tasks.
- Beating Other Synthetics: lbGen significantly outperformed recent synthetic ImageNet clones like GenRobust and RealFake.
- Reduced Bias: In "Cue Conflict" tests, lbGen models showed a 4.8% to 9.8% reduction in texture bias, identifying objects more by shape than surface pattern.
- Small Data Regime: The benefits are most dramatic when downstream tasks have very few training samples, as the pre-trained backbone learns "cleaner" features that generalize faster.
Limitations and Future Work
While effective, lbGen involves significant computational costs due to the RL-based fine-tuning of diffusion models. Furthermore, the method's success is tied to the quality of the multimodal model (CLIP); any inherent biases in CLIP may be inherited. Future work may explore more sophisticated prompt engineering and scaling beyond the 1,000 ImageNet classes.
Summary updated