FLORA: Efficient Synthetic Data Generation for Object Detection in Low-Data Regimes via finetuning Flux LoRA
Alvaro Patricio, Atabak Dehban, Rodrigo Ventura

TL;DR
FLORA introduces a lightweight, efficient synthetic data generation method for object detection that uses low-rank adaptation fine-tuning of diffusion models, enabling high-quality results with minimal data and computational resources.
Contribution
The paper presents FLORA, a novel pipeline that fine-tunes diffusion models with LoRA, reducing resource needs and surpassing state-of-the-art synthetic data quality for object detection.
Findings
Training with 500 synthetic images outperforms 5000 from baseline.
Achieves up to 21.3% mAP improvement over baseline.
Requires only 10% of data and computational cost of previous methods.
Abstract
Recent advances in diffusion-based generative models have demonstrated significant potential in augmenting scarce datasets for object detection tasks. Nevertheless, most recent models rely on resource-intensive full fine-tuning of large-scale diffusion models, requiring enterprise-grade GPUs (e.g., NVIDIA V100) and thousands of synthetic images. To address these limitations, we propose Flux LoRA Augmentation (FLORA), a lightweight synthetic data generation pipeline. Our approach uses the Flux 1.1 Dev diffusion model, fine-tuned exclusively through Low-Rank Adaptation (LoRA). This dramatically reduces computational requirements, enabling synthetic dataset generation with a consumer-grade GPU (e.g., NVIDIA RTX 4090). We empirically evaluate our approach on seven diverse object detection datasets. Our results demonstrate that training object detectors with just 500 synthetic images…
| Dataset | ReCo | GLIGEN | ControlNet | GeoDiffusion | ODGEN | FLORA |
|---|---|---|---|---|---|---|
| Robomaster | 70.12 | 167.44 | 134.92 | 76.81 | 57.32 | 61.54 |
| MRI | 202.36 | 270.52 | 212.45 | 341.74 | 93.82 | 27.60 |
| Cotton | 108.55 | 89.85 | 196.87 | 203.02 | 85.17 | 80.48 |
| Road Traffic | 80.18 | 98.83 | 162.27 | 68.11 | 63.52 | 55.54 |
| Aquarium | 122.71 | 98.38 | 146.26 | 162.19 | 83.07 | 56.18 |
| Underwater | 73.29 | 147.33 | 126.58 | 125.32 | 70.20 | 70.35 |
| Dataset | Baseline | ReCo | GLIGEN | ControlNet | GeoDiffusion | ODGEN | FLORA |
|---|---|---|---|---|---|---|---|
| real + synth | |||||||
| Robomaster | 26.5 | 27.9 | 25.0 | 32.9 | 22.6 | 34.7 | 38.2 |
| Cotton | 20.5 | 37.5 | 39.0 | 35.1 | 36.0 | 43.2 | 44.5 |
| Road Traffic | 41.0 | 29.3 | 29.5 | 30.5 | 29.4 | 43.8 | 62.3 |
| Aquarium | 29.6 | 34.3 | 32.2 | 25.6 | 30.9 | 38.5 | 41.0 |
| MRI | 27.4 | 38.3 | 25.9 | 37.2 | 38.9 | 41.5 | 37.6 |
| Underwater | 19.4 | 15.8 | 18.5 | 17.8 | 17.2 | 22.0 | 24.5 |
| Configuration | Echinus | Starfish |
|---|---|---|
| LoRA Strength | ||
| 0.75 | 64.706 | 74.186 |
| 1.00 (Default) | 65.177 | 74.071 |
| 1.25 | 65.141 | 73.508 |
| 1.50 | 65.945 | 74.583 |
| LoRA Clip | ||
| 0 | 65.011 | 73.601 |
| 0.50 | 65.719 | 74.133 |
| 1.00 (Default) | 65.169 | 74.022 |
| 1.25 | 64.991 | 73.865 |
| 1.50 | 66.155 | 74.234 |
| Prompt Complexity | ||
| Complex | 64.635 | 74.136 |
| Normal (Default) | 65.171 | 73.771 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Generative Adversarial Networks and Image Synthesis · Domain Adaptation and Few-Shot Learning
FLORA: Efficient Synthetic Data Generation for Object Detection in Low-Data Regimes via finetuning Flux LoRA
Álvaro Patrício Atabak Dehban Rodrigo Ventura
Institute for Systems and Robotics, University of Lisbon, Portugal
{alvaro.felipe, adehban, rodrigo.ventura}@isr.tecnico.ulisboa.pt
Abstract
Recent advances in diffusion-based generative models have demonstrated significant potential in augmenting scarce datasets for object detection tasks. Nevertheless, most recent models rely on resource-intensive full fine-tuning of large-scale diffusion models, requiring enterprise-grade GPUs (e.g., NVIDIA V100) and thousands of synthetic images. To address these limitations, we propose Flux LoRA Augmentation (FLORA), a lightweight synthetic data generation pipeline. Our approach uses the Flux 1.1 Dev diffusion model, fine-tuned exclusively through Low-Rank Adaptation (LoRA). This dramatically reduces computational requirements, enabling synthetic dataset generation with a consumer-grade GPU (e.g., NVIDIA RTX 4090). We empirically evaluate our approach on seven diverse object detection datasets. Our results demonstrate that training object detectors with just 500 synthetic images generated by our approach yields superior detection performance compared to models trained on 5000 synthetic images from the ODGEN baseline, achieving improvements of up to 21.3% in [email protected]:.95. This work demonstrates that it is possible to surpass state-of-the-art performance with far greater efficiency, as FLORA achieves superior results using only 10% of the data and a fraction of the computational cost. This work demonstrates that a quality and efficiency-focused approach is more effective than brute-force generation, making advanced synthetic data creation more practical and accessible for real-world scenarios.
1 Introduction
The performance of modern supervised deep learning models, particularly in object detection, is fundamentally constrained by the availability of large-scale, high-quality labeled datasets [6]. Obtaining such data is often expensive, time-consuming, or impractical in specialized domains like medical imaging, agricultural inspection, and environmental monitoring. To overcome this data scarcity bottleneck, recent approaches have increasingly turned to synthetic data generation [41, 30, 39]. Notably, diffusion-based models like Stable Diffusion [27] have emerged as exceptionally powerful tools, capable of synthesizing diverse, high-fidelity images from textual or visual prompts [21].
However, effectively leveraging these generative capabilities for downstream object detection tasks presents its own unique set of challenges. State-of-the-art detectors like YOLOv7 [33] are highly sensitive to the quality and distribution of training data [8]. For synthetic data to be beneficial, it must meet stringent criteria beyond mere photorealism. The generated objects must be contextually plausible, geometrically precise within their bounding boxes, and stylistically consistent with the real data in terms of lighting, shadows, and texture [5]. Failure to meet these requirements can introduce harmful artifacts and noise into the training process, leading a detector to learn incorrect features and ultimately degrading its performance rather than improving it. This raises the critical need for generative pipelines that prioritize not just image quality, but also layout fidelity and contextual coherence.
This challenge is addressed by methods like ODGEN [41] which leverages extensive fine-tuning of the entire Stable Diffusion model. While powerful, this strategy requires enterprise-grade GPU resources (e.g., NVIDIA V100) and the generation of thousands of synthetic samples, severely limiting its accessibility for researchers, smaller teams, and real-world applications with limited computational budgets.
In response to this critical gap between performance and accessibility, we propose Flux Lora Augmentation (FLORA), a computationally lightweight and data-efficient synthetic data generation pipeline built upon the Flux 1.1Dev diffusion model. We replace the costly full-model fine-tuning with a significantly more efficient Low-Rank Adaptation (LoRA) approach [17]. This strategy drastically reduces computational demands, enabling synthetic dataset creation on a single consumer-grade GPU (e.g., NVIDIA RTX 4090) within a day. Furthermore, our pipeline requires an order of magnitude fewer real-world images for training compared to prior work [41], making it exceptionally suitable for low-data regimes where synthetic data is most needed. A few examples of the diverse images produced by FLORA can be seen in Figure 1.
To rigorously validate FLORA’s efficacy, we conducted extensive experiments on six diverse object detection datasets. Our results demonstrate that a detector trained with only 500 synthetic images from our pipeline achieves superior performance compared to a model trained with 5,000 images from the ODGEN baseline, yielding [email protected]:.95 improvements of up to 21.3%. As illustrated in Figure 1, our method consistently generates synthetic data with high fidelity and contextual relevance across various distinct domains.
The main contributions of this work are as follows:
- •
We propose a lightweight synthetic data generation pipeline using a LoRA-tuned Flux 1.1Dev model, achieving state-of-the-art performance with significant improvements in computational and data efficiency.
- •
Our approach outperforms the resource-intensive ODGEN baseline on five of six benchmark datasets, using only 10% of the synthetic data to achieve superior results.
- •
We provide the first extensive ablation study on key hyperparameters influencing LoRA-based synthetic data generation for detection, enhancing the practical applicability of our pipeline.
2 Related Works
Object Detection in Low-Data Regimes.
The performance of state-of-the-art object detectors, from “classic architectures” such as Faster R-CNN [26] to modern real-time models like YOLOv7 [33], is fundamentally tied to large-scale, diverse, and meticulously labeled datasets. However, in specialized domains such as medical imaging, robotics, or agriculture, acquiring such data is often prohibitively expensive. Traditional data augmentation techniques like MixUp [37] and Copy-Paste [10], while useful, are limited to recombining existing pixel information and thus fail to introduce the true semantic and stylistic diversity needed for robust generalization.
Generative Models for Synthetic Data.
To overcome these limitations, the field has increasingly turned to generative models. While earlier paradigms like GANs [11, 20] were pivotal, Denoising Diffusion Probabilistic Models (DDPMs) [16] have emerged as the state-of-the-art, demonstrating unprecedented capabilities in high-fidelity image synthesis. Foundational models such as DALL·E 2 [25], Imagen [31], and Stable Diffusion [28] have opened a new frontier for synthetic data creation by enabling photorealistic generation from simple text prompts.
Diffusion Model Backbone: FLUX.1
Our FLORA pipeline is built upon the FLUX.1 diffusion model, a modern generative backbone trained with a Flow Matching objective [19]. Distinct from traditional Denoising Diffusion Probabilistic Models (DDPMs) that learn a multi-step denoising schedule, Flow Matching learns a continuous-time probability flow that directly maps a simple noise distribution to the complex data distribution of images. This is achieved through a more direct regression objective on a vector field, simplifying the training process. Crucially, FLUX’s architecture is explicitly designed for high-fidelity, in-context generation and editing tasks, making it an ideal foundation for our mask-guided inpainting pipeline, which demands strong contextual coherence.
Controllable Synthesis for Object Detection.
For object detection, generic synthesis is insufficient; generation must be controllable to ensure objects appear with correct labels and in plausible locations. This need has spurred the development of powerful frameworks, from general-purpose conditioners like ControlNet [38] and GLIGEN [21] to layout-specific models like ReCo [36], InstanceDiffusion [34], and GeoDiffusion [1]. Applying these principles to the task of building complete, domain-specific datasets, ODGEN [42] has emerged as the state-of-the-art benchmark. However, while setting a new performance standard, its methodology establishes a paradigm that is not only resource-intensive but also operationally complex and less transparent. This stems from its requirement for enterprise-grade hardware, its multi-stage pipeline involving a separately trained ResNet classifier for post-generation filtering, and the lack of extensive ablation studies, which makes it challenging for researchers to reproduce or adapt the pipeline. These combined factors limit practical accessibility and leave key design choices underexplored.
Parameter-Efficient Fine-Tuning (PEFT).
The immense computational cost of full fine-tuning, as exemplified by ODGEN, has catalyzed the development of Parameter-Efficient Fine-Tuning (PEFT) techniques [12]. Methods like LoRA (Low-Rank Adaptation) [17] have become prominent by allowing massive pretrained models to be adapted to downstream tasks by training only a tiny fraction of their parameters. This approach is conceptually linked to personalization methods like DreamBooth [29] and Textual Inversion [9], which specialize models on new visual concepts from just a handful of images, further validating the potential of lightweight adaptation.
Distinction from Alternative Diffusion-Based Paradigms.
It is crucial to distinguish our data augmentation pipeline from other works that also leverage diffusion models but for different tasks or with different core assumptions. For instance, models like CamoDiffusion [32] are end-to-end inference frameworks that perform segmentation by generating masks; in contrast, FLORA is a data generation tool designed to train other detectors. A more direct comparison can be made with DiffusionEngine [39], which, like FLORA, generates training data. However, a key difference lies in the label generation process. DiffusionEngine creates entirely new images and uses a learned “Detection-Adapter” to produce pseudo-labels, a process that can introduce annotation noise. FLORA’s mask-guided inpainting approach, by design, surgically modifies objects within their original ground-truth bounding boxes. This fundamental design choice guarantees the integrity of the original labels and the scene’s background composition, offering a more direct and reliable method for high-fidelity data augmentation.
Our Contribution.
The use of AI-generated content for data augmentation is gaining traction, with recent works successfully applying it to specialized domains like bolt detection for construction inspection [35]. While such studies validate the promise of synthetic data, our contribution addresses the core methodological challenge of creating a general-purpose, efficient, and rigorously benchmarked pipeline. To this end, we contrast FLORA directly with the current methodological state-of-the-art, ODGEN [42], which relies on resource-intensive full model fine-tuning. By benchmarking against ODGEN, we systematically validate—to our knowledge, for the first time—that a lightweight, LoRA-based approach can surpass this heavy benchmark, delivering superior downstream detection performance with an order-of-magnitude less synthetic data. This finding highlights the critical role of targeted, high-fidelity generation over sheer data volume and proposes a more practical path forward for the field.
3 Methodology
We introduce FLORA (Flux LoRA Augmentation), a streamlined two-stage pipeline for generating high-quality synthetic data in challenging low-data scenarios. FLORA integrates mask-guided inpainting [22] with computationally efficient Low-Rank Adaptation (LoRA) [17] to address key limitations in prior methods like ODGEN, enabling targeted data augmentation via large diffusion models with minimal resources. The two stages of our pipeline are: 1) object-centric LoRA fine-tuning and 2) LoRA-conditioned synthetic image generation.
3.1 Stage 1: Object-Centric LoRA Fine-Tuning
The first stage of FLORA creates a specialized, lightweight LoRA module for each object category in a dataset. While large diffusion models like Flux excel at general domains, their ability to generate specific or technical content (e.g., a particular species of starfish or a cancerous MRI lesion) is limited. Our approach bypasses the need for full model retraining by efficiently adapting the pretrained model to these niche visual concepts. The process is visualized in Figure 2.
Data Preparation and Trigger Words.
For each object category, we prepare a fine-tuning dataset by extracting a small, fixed number of samples. Specifically, we randomly select just 30 object crops per category directly from the training set’s bounding box annotations. This number was deliberately chosen to operate within a low-data regime, a paradigm validated by seminal works in generative model personalization. Foundational methods such as DreamBooth [29] and Textual Inversion [9] have demonstrated high-fidelity concept learning from as few as 3–5 images. Our choice of 30 images therefore aligns with this principle of data efficiency while providing sufficient visual diversity to train a robust LoRA module. This strategy enforces a strict low-data regime and focuses the training process exclusively on object-relevant pixels, as defined by:
[TABLE]
where is a sample image containing class and the coordinates define the bounding box. This avoids manual curation and minimizes background noise. Each crop is then captioned with a structured trigger word, , for precise conditioning following the format DatasetName-ClassLabel. This systematic naming convention ensures reproducibility and scalability across diverse datasets.
3.2 Stage 2: Synthetic Image Generation via LoRA-Conditioned Inpainting
In the second stage, the fine-tuned LoRA module from Stage 1 is used as an expert generator to produce synthetic images via a compositional inpainting process. This approach, visually outlined in Figure 3, allows us to create new object instances that respect the original image’s composition and layout, guided by a series of precise, programmatically controlled steps.
Input Preparation and Masking.
The pipeline begins by taking an original training image and its corresponding YOLO annotation file as input. Following the logic in our “create alpha mask from yolo” function, we parse the annotation file to identify the bounding box of the target object class. An RGBA version of the input image is then created, where the alpha channel within this specific bounding box is set to zero, effectively creating a transparent region. This serves as the primary inpainting mask. To ensure a seamless blend between the original background and the newly generated object, this sharp-edged mask is subsequently processed with a Gaussian blur (kernel size 5, sigma 5), softening the transition boundary.
Core Generation Pipeline.
The masked image and a class-specific trigger word form the inputs for the core diffusion process, which proceeds as follows:
Text and LoRA Conditioning: The trigger word (e.g., underwater-starfish) are converted into numerical embeddings by a dual text-encoder system (CLIP-L and T5-XXL). Concurrently, the pre-trained weights () of the Flux 1.1Dev are dynamically merged with the weights of the fine-tuned LoRA module () using the formula , where is the LoRA strength and is matrix multiplication. 2. 2.
Latent Space Preparation: The masked RGBA image is encoded into the latent space by the VAE encoder. The ‘InpaintModelConditioning’ node then prepares the initial state for the sampler by combining the encoded latent image, the blurred mask, and the positive text embeddings. 3. 3.
Iterative Denoising (Sampling): The actual image generation occurs in the latent space through a guided denoising process. A ‘karras‘ scheduler [18] generates the noise schedule (‘sigmas‘), defining the steps for the ‘euler ancestral‘ sampler. Guided by the text prompts via Classifier-Free Guidance (CFG) [15], the sampler iteratively refines the noisy latent representation exclusively within the masked region, progressively ”painting in” a new object instance consistent with the trigger word. 4. 4.
Decoding to Pixel Space: Once the sampling loop is complete, the final, refined latent representation is passed to the VAE decoder, which translates it back into a high-fidelity pixel space image.
Workflow Orchestration and Parameters.
This entire pipeline is executed programmatically for each source image, generating synthetic variations with different random noise seeds to ensure diversity. Key generation hyperparameters were fixed across all experiments: a CFG scale of 6.5, and 10 sampling steps, chosen for their optimal balance of quality and speed based on our ablation studies. Crucially, our approach simplifies the workflow by deliberately omitting any post-generation filtering as opposed to the ODGEN pipeline, which requires an additional step of training and deploying a ResNet-based image classifier [13] to validate the quality of its generated bounding boxes. In our method, the generated image is saved directly, and the original YOLO label file is copied to accompany it (because the label and the bounding box do not change). This entire workflow, from mask creation to final image saving, is orchestrated by a custom Python script, which interfaces with the robust node-based backend of ComfyUI [4] to manage the complex data flow.
4 Experiments
We conducted a comprehensive set of experiments to validate the effectiveness and efficiency of FLORA. Our evaluation is designed to answer two primary questions: (1) Does our lightweight synthetic data improve downstream object detection performance compared to state-of-the-art methods? and (2) How does the perceptual quality of our generated images, showcased in Figure 4, compare to more computationally intensive approaches?
4.1 Experimental Setup
Datasets and Protocol.
Our evaluation uses six diverse, domain-specific datasets from the Roboflow 100 benchmark: RoboMaster, MRI, Cotton, Road Traffic, Aquarium, and Underwater [3]. To ensure a fair and reproducible comparison, we strictly adhere to the experimental setup established in the ODGEN paper [41], adopting their official training protocol and using the same dataset configurations, for which we refer the reader to their supplemental material for a full breakdown. All object detection models were trained for 100 epochs using a YOLOv7 detector. We focused exclusively on YOLOv7 due to our computational budget and the fact that, as demonstrated in the ODGEN study, its performance trends are nearly identical to YOLOv5, consistently yielding slightly higher mAP scores.
Evaluation Metrics.
We assess performance using two standard metrics. For downstream object detection, we report the mean Average Precision (mAP) over IoU thresholds from 0.50 to 0.95 (mAP@[.50:.95]). For image quality and realism, we employ the Fréchet Inception Distance (FID) [14], where lower scores indicate a closer perceptual match between the real and synthetic image distributions.
Baselines and SOTA Comparison.
We benchmark FLORA against a no-augmentation baseline (training only on real images from the dataset) and six recent synthetic data generation methods: ReCo, GLIGEN, ControlNet, GeoDiffusion, InstanceDiffusion, and ODGEN. To maintain the integrity of our comparison, we first reproduced the baseline mAP results reported in the ODGEN paper for each dataset. We excluded the Apex Game dataset from our study because we were unable to reproduce its reported baseline; our best effort yielded an mAP of 36%, a significant deviation from the 47% reported by ODGEN. By focusing on the six datasets where the baseline was successfully verified, we ensure our comparative analysis is robust and fair.
Computational Efficiency as a Core Constraint.
To directly challenge the paradigm that synthetic data generation requires extensive resources, FLORA’s methodology was constrained to a highly efficient budget. We limited the synthetic set to 500 images per dataset, a 10-fold reduction from the 5,000 used by ODGEN, and ensured the entire generation process could be executed on a single consumer-grade GPU. All performance gains reported in this paper were achieved under these practical constraints, demonstrating the viability of our lightweight approach.
Implementation Details.
The LoRA fine-tuning targets the attention layers of a Flux-based diffusion model (flux1-dev.safetensors). We used a LoRA configuration with a rank (dimension) of 32 and an alpha of 16. Textual conditioning was managed by dual CLIP-L [23] and T5-XXL [24] encoders. Training was performed on pixel images for 5 epochs using an 8-bit AdamW optimizer [7] with bfloat16 mixed precision. On a consumer-grade NVIDIA RTX 4090 GPU, this process takes approximately 9–12 hours per LoRA module, demonstrating the method’s high efficiency.
4.2 Quantitative Results and Analysis
We now present the main results, comparing FLORA against existing methods on both image fidelity and downstream detection performance.
Image Fidelity Analysis (FID).
As shown in Table 1, FLORA achieves state-of-the-art or highly competitive FID scores across all six benchmarks, despite using only 500 generated samples for the calculation. Notably, it secures the best (lowest) FID on five out of the six datasets, with dramatic improvements in challenging domains like MRI (27.60 vs. 93.82 from ODGEN) and Aquarium (56.18 vs. 83.07). This stability, even with a smaller sample size, is mathematically justifiable. The Fréchet Inception Distance is defined as:
[TABLE]
where are the mean and covariance of the Inception feature distributions of real () and generated () images. According to analyses of the metric’s statistical properties [2], the sampling variance of its empirical estimate, , can be approximated to the first order as:
[TABLE]
where and are the number of real and generated images, and are dataset-specific constants. In our setup, is fixed. When comparing our approach () with the standard benchmark (), the change in variance is governed solely by the second term. As this term is often not the dominant source of variance in low-data scenarios, our empirical tests confirm that the 95% confidence interval only tightens marginally (from to ). This negligible gain in metric precision does not justify the 10x increase in computational cost, validating our lightweight approach.
Object Detection Performance (mAP).
The primary results of our study are presented in Table 2. Augmenting the real training images with just 500 synthetic samples from FLORA leads to substantial performance gains, outperforming the baseline and all competing state-of-the-art methods on five of the six datasets. The performance lift is particularly striking for Road Traffic, where FLORA achieves an mAP of 62.3%, an increase of 21.3 points over the baseline and 18.5 points over the next-best method, ODGEN. On the MRI dataset, while ODGEN achieves a slightly higher mAP, FLORA remains highly competitive and significantly surpasses all other approaches. These results demonstrate that a large quantity of synthetic data is not a prerequisite for high performance; rather, a smaller, targeted, and higher-quality set of examples can be more effective, validating FLORA’s core design philosophy.
4.3 Ablation Studies
To validate our hyperparameter choices and understand their impact, we conducted a series of ablation studies. We focused our analysis on the two most challenging datasets, which exhibited the lowest baseline mAP and highest FID scores: Underwater (due to severe color shifts and low contrast) and MRI (as it lies far outside the natural image domain of the base diffusion model).
Global Generation Hyperparameters.
As shown in Figures 5 and 6, we measured FID while varying key generation parameters. We swept over (i) the number of sampling steps, (ii) the classifier-free guidance (CFG) scale, and (iii) the latent-noise scheduler [40]. The trends remained largely consistent across both datasets. We found that FID generally improved with more sampling steps but with diminishing returns, and selected 10 steps as an optimal trade-off between image quality and generation speed. A CFG scale of 6.5 consistently provided the best balance between prompt fidelity and image realism. For the scheduler, both the Karras and Exponential options produced highly competitive results, with their performance on the MRI dataset being nearly indistinguishable. However, given its faster generation time, the Karras scheduler offered the best overall balance of quality and efficiency. Based on this analysis, we selected the combination of 10 steps, CFG=6.5, and the Karras scheduler as our default configuration
LoRA-Specific Factors and Prompt Complexity.
The investigation of LoRA-specific parameters, presented in Table 3, reveals that our pipeline is robust to minor variations. We varied the LoRA strength and clip values and found they produced only second-order changes, with FID varying by less than 1.0 within each class. Furthermore, we compared our minimalist prompt (the trigger word alone) with a “complex” prompt that included a descriptive sentence (e.g., “a low-resolution underwater photograph of a brittle starfish on the seabed”). The complex prompt offered no systematic improvement. This confirms that our trigger-word-only approach is sufficient for high-quality synthesis and that our pipeline is not overly sensitive to LoRA-specific hyperparameters.
Takeaways from Ablations.
Our ablation studies demonstrate that: (i) a modest budget of 10 sampling steps with a CFG of 6.5 and a Karras scheduler provides robust performance across disparate domains; (ii) FLORA is not sensitive to minor variations in LoRA-specific parameters or prompt verbosity, simplifying its application; and (iii) the consistent FID gap between classes (e.g., Echinus vs. Starfish) aligns with their respective mAP scores, confirming FID’s proxy effectiveness.
5 Conclusion and Future Work
In this work, we introduced FLORA, a lightweight and efficient pipeline designed to address the critical trade-off between performance and accessibility in synthetic data generation. By coupling a modern Flux 1.1Dev diffusion backbone with parameter-efficient Low-Rank Adaptation (LoRA), we demonstrated that high-quality, domain-specific data augmentation is achievable on consumer-grade hardware. Our extensive experiments across six challenging benchmarks showed that training a YOLOv7 detector with just 500 synthetic images generated by FLORA consistently outperforms models trained with 5,000 images from the resource-intensive ODGEN baseline. This resulted in significant downstream performance gains of up to 21.3% in [email protected]:.95 while simultaneously setting a new state-of-the-art in perceptual quality as measured by FID scores.
Our findings present compelling evidence that challenges the prevailing ”more is better” paradigm in synthetic data generation, proving that a smaller, higher-quality set of examples is more effective for training robust object detectors. The success of FLORA is attributable to its efficient object-centric fine-tuning and precise mask-guided inpainting, which ensure both semantic and geometric fidelity. While our comprehensive ablation studies provide a practical roadmap for immediate implementation, looking ahead, we believe further gains are achievable. The object-centric LoRA fine-tuning stage was intentionally kept minimal (30 crops, 5 epochs) to emphasize accessibility; a more systematic study of LoRA training regimes (e.g., rank, learning rate, crop count) represents a promising direction to enhance quality while preserving the core efficiency of our method.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Chen et al. [2023] Kai Chen, Enze Xie, Zhe Zhen, Yibo Wang, Lanqing Hong, Zhenguo Li, and Dit-Yan Yeung. Geodiffusion: Text-prompted geometric control for object detection data generation. ar Xiv preprint ar Xiv:2306.04607 , 2023. Accepted at ICLR 2024.
- 2Chong and Forsyth [2020] Jun-Yan Chong and David Forsyth. Effectively unbiased fid and inception score and where to find them. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) , pages 8376–8385, 2020.
- 3Ciaglia et al. [2022] Floriana Ciaglia, Francesco Saverio Zuppichini, Paul Guerrie, Mark Mc Quade, and Jacob Solawetz. Roboflow 100: A rich, multi-domain object detection benchmark. ar Xiv preprint ar Xiv:2211.13523 , 2022.
- 4Comfy Anonymous [2023] Comfy Anonymous. Comfyui: The most powerful and modular visual ai engine and application. https://github.com/comfyanonymous/Comfy UI , 2023. Accessed: 2025-07-18.
- 5Dehban et al. [2019] Atabak Dehban, Joao Borrego, Rui Figueiredo, Plinio Moreno, Alexandre Bernardino, and Josá Santos-Victor. The impact of domain randomization on object detection: A case study on parametric shapes and synthetic textures. In IEEE/RSJ International Conference on Intelligent Robots and Systems , 2019.
- 6Deng et al. [2009] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Fei-Fei Li. Imagenet: a large-scale hierarchical image database, 2009.
- 7Dettmers et al. [2022] Tim Dettmers, Mike Lewis, Younes Belkada, and Luke Zettlemoyer. Llm.int 8(): 8-bit matrix multiplication for transformers at scale. In Proceedings of the 36th International Conference on Neural Information Processing Systems , Red Hook, NY, USA, 2022. Curran Associates Inc.
- 8Dodge and Karam [2016] Samuel Dodge and Lina Karam. Understanding how image quality affects deep neural networks. In IEEE International Conference on Quality of Multimedia Experience (Qo MEX) , 2016.
