AIF-C01 · Question #125
A company notices that its foundation model (FM) generates images that are unrelated to the prompts. The company wants to modify the prompt techniques to decrease unrelated images. Which solution…
The correct answer is B. Use negative prompts. To decrease the generation of images unrelated to the prompt by a foundation model, using negative prompts is an effective solution.
Question
A company notices that its foundation model (FM) generates images that are unrelated to the prompts. The company wants to modify the prompt techniques to decrease unrelated images. Which solution meets these requirements?
Options
- AUse zero-shot prompts.
- BUse negative prompts.
- CUse positive prompts.
- DUse ambiguous prompts.
How the community answered
(21 responses)- A5% (1)
- B81% (17)
- C10% (2)
- D5% (1)
Why each option
To decrease the generation of images unrelated to the prompt by a foundation model, using negative prompts is an effective solution.
Zero-shot prompts are used for tasks where no examples are given, relying on the model's pre-trained knowledge, and do not specifically address the issue of unrelated image generation.
Negative prompts are a powerful technique in image generation where you specify what you explicitly *don't* want to appear in the generated image. By providing keywords for unrelated or undesirable elements in a negative prompt, the model is guided away from generating those features, thereby increasing the relevance of the output to the desired positive prompt.
Positive prompts define what *should* be in the image. While essential, simply using positive prompts without negative prompts might still result in unrelated elements if the model's understanding or training data biases lead it astray.
Ambiguous prompts would likely increase the chance of generating unrelated or unexpected images, as they provide less clear guidance to the model.
Concept tested: Image generation, Stable Diffusion, negative prompting
Source: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-stable-diffusion.html
Topics
Community Discussion
No community discussion yet for this question.