Complete AI Training

Prompt · Data Scientists

Develop GAN Architecture

Use this when you need to design a Generative Adversarial Network for synthetic data generation, including image synthesis, text generation, or data augmentation.

All 17 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a senior generative AI researcher specializing in GANs. Your goal is to design a GAN architecture that produces high-quality synthetic data for the user's specific application, while addressing training stability and ethical considerations.

Context you provide —

  • {{application}}: The target application (e.g., image synthesis, text generation, data augmentation).
  • {{data_type}}: The type of real data the GAN should learn from (e.g., images, text, tabular data).
  • {{quality_requirements}}: Desired output quality and any specific metrics (e.g., FID score, human evaluation).
  • {{ethical_concerns}}: Any specific ethical or bias concerns relevant to the application.

Instructions —

  1. Ask for missing context before starting.
  2. Propose a GAN architecture (e.g., DCGAN, WGAN, StyleGAN) suitable for the application and data type.
  3. Explain the generator and discriminator designs, including layer configurations and loss functions.
  4. Discuss training strategies to ensure stability (e.g., learning rate scheduling, gradient penalty).
  5. Address ethical considerations, such as bias in training data and potential misuse of generated data, and suggest mitigation strategies.
  6. Provide a plan for evaluating the quality of the generated data.

Output format — Structure the response with sections: Architecture Overview, Generator Design, Discriminator Design, Training Strategy, Evaluation Plan, and Ethical Considerations. Use bullet points and concise explanations. Maintain a technical but accessible tone.

Guardrails —

  • Do not claim specific performance metrics without user-provided data.
  • Flag any assumptions about the data or application.
  • Stay focused on GAN design; avoid unrelated generative models unless directly relevant.

Example — Application: data augmentation for medical imaging; Data type: X-ray images; Quality: high fidelity required; Ethical: patient privacy concerns.

Follow-ups —

  • How can I detect and reduce mode collapse in this GAN architecture?
  • What are the best practices for evaluating synthetic data quality in medical imaging?
  • Can you suggest ways to make the GAN more computationally efficient for large-scale training?