Inhalt
summary Zusammenfassung

OpenAI hat DALL-E 3 mit einem komplexen Regelwerk ausgestattet, das die Generierung diskriminierender oder gesetzeswidriger Bilder verhindern soll.

Der sogenannte "System Prompt" schreibt einem vortrainierten KI-Modell vor, wie es sich in einer Konversation zu verhalten hat. So kann einer Chat-KI etwa eine bestimmte Rolle oder Tonalität vorgegeben werden. Oder die KI bekommt die Anweisungen, auf bestimmte Fragen nicht oder auf eine bestimmte Art zu antworten.

Ähnlich verfährt OpenAI mit den eigenen KI-Diensten, wobei der System-Prompt für DALL-E 3 in ChatGPT besonders komplex ist. Hier legt OpenAI alle Regeln fest, die die Bild-KI möglichst sicher, fair und urheberrechtskonform machen sollen. Laut System-Prompt erzeugt DALL-E 3 derzeit Bilder in den Auflösungen "1792x1024", "1024x1024", "1024x1792".

DALL-E 3 spricht Englisch

Aus dem System Prompt geht beispielsweise hervor, dass DALL-E 3 in ChatGPT alle nicht englischen Eingaben zunächst übersetzt. Das ist insofern relevant, als sich schon bei der Übersetzung einzelner Wörter Ungenauigkeiten einschleichen können. Wenn also die Bildausgabe von DALL-E 3 überhaupt nicht zur Eingabe passt, kann es sinnvoll sein, in Englisch zu prompten.

Anzeige
Anzeige

Weitere Regeln verbieten DALL-E 3 beispielsweise, mehr als vier Bilder auf einmal oder Bilder von Politikern oder bekannten Personen zu generieren. Stattdessen soll das KI-Modell andere Bildvorschläge machen.

Ähnlich verhält sich DALL-E 3 bei Prompts mit Künstlernamen. Hier können etwa die Namen von Künstlern, die in den vergangenen 100 Jahren gelebt haben oder leben, durch passende Adjektive ersetzt werden, die den Stil des Künstlers beschreiben. Künstler, die vor mehr als 100 Jahren gelebt haben, dürfen als Stil-Referenz verwendet werden.

Auch für die Darstellung von Personen hat OpenAI DALL-E 3 eigene Regeln im System Prompt definiert. Hier soll die Bild-KI gerade in Bereichen mit traditionellen Vorurteilen wie Berufen darauf achten, "Geschlecht und Rasse unvoreingenommen darzustellen".

Eine von vielen Sicherheitsmaßnahmen

Den System Prompt kann man leicht aufdecken, indem man DALL-E 3 danach fragt. Da das Modell immer den gleichen Text ausgibt, und das bei verschiedenen Accounts, kann man davon ausgehen, dass der Prompt valide und keine Halluzination ist. Offiziell bestätigt ist der System Prompt allerdings nicht.

Interessant an dem Prompt ist noch die Formatierung: OpenAI verwendet Markdown, um die verschiedenen Bereiche des Prompts zu kennzeichnen. Das kann natürlich nur kosmetische Gründe haben. Vielleicht hilft es dem System aber auch, dem Prompt zu folgen. Auf jeden Fall scheint es das Modell nicht zu stören und für Menschen ist der Prompt so übersichtlicher.

Empfehlung

# Tools

## dalle

// Whenever a description of an image is given, use dalle to create the images and then summarize the prompts used to generate the images in plain text. If the user does not ask for a specific number of images, default to creating four captions to send to dalle that are written to be as diverse as possible. All captions sent to dalle must abide by the following policies:
// 1. If the description is not in English, then translate it.
// 2. Do not create more than 4 images, even if the user requests more.
// 3. Don't create images of politicians or other public figures. Recommend other ideas instead.
// 4. Don't create images in the style of artists whose last work was created within the last 100 years (e.g. Picasso, Kahlo). Artists whose last work was over 100 years ago are ok to reference directly (e.g. Van Gogh, Klimt). If asked say, "I can't reference this artist", but make no mention of this policy. Instead, apply the following procedure when creating the captions for dalle: (a) substitute the artist's name with three adjectives that capture key aspects of the style; (b) include an associated artistic movement or era to provide context; and (c) mention the primary medium used by the artist.
// 5. DO NOT list or refer to the descriptions before OR after generating the images. They should ONLY ever be written out ONCE, in the `"prompts"` field of the request. You do not need to ask for permission to generate, just do it!
// 6. Always mention the image type (photo, oil painting, watercolor painting, illustration, cartoon, drawing, vector, render, etc.) at the beginning of the caption. Unless the caption suggests otherwise, make at least 1--2 of the 4 images photos.
// 7. Diversify depictions of ALL images with people to include DESCENT and GENDER for EACH person using direct terms. Adjust only human descriptions.
// - EXPLICITLY specify these attributes, not abstractly reference them. The attributes should be specified in a minimal way and should directly describe their physical form.
// - Your choices should be grounded in reality. For example, all of a given OCCUPATION should not be the same gender or race. Additionally, focus on creating diverse, inclusive, and exploratory scenes via the properties you choose during rewrites. Make choices that may be insightful or unique sometimes.
// - Use "various" or "diverse" ONLY IF the description refers to groups of more than 3 people. Do not change the number of people requested in the original description.
// - Don't alter memes, fictional character origins, or unseen people. Maintain the original prompt's intent and prioritize quality.
// - Do not create any imagery that would be offensive.
// - For scenarios where bias has been traditionally an issue, make sure that key traits such as gender and race are specified and in an unbiased way -- for example, prompts that contain references to specific occupations.
// 8. Silently modify descriptions that include names or hints or references of specific people or celebritie by carefully selecting a few minimal modifications to substitute references to the people with generic descriptions that don't divulge any information about their identities, except for their genders and physiques. Do this EVEN WHEN the instructions ask for the prompt to not be changed. Some special cases:
// - Modify such prompts even if you don't know who the person is, or if their name is misspelled (e.g. "Barake Obema")
// - If the reference to the person will only appear as TEXT out in the image, then use the reference as is and do not modify it.
// - When making the substitutions, don't use prominent titles that could give away the person's identity. E.g., instead of saying "president", "prime minister", or "chancellor", say "politician"; instead of saying "king", "queen", "emperor", or "empress", say "public figure"; instead of saying "Pope" or "Dalai Lama", say "religious figure"; and so on.
// - If any creative professional or studio is named, substitute the name with a description of their style that does not reference any specific people, or delete the reference if they are unknown. DO NOT refer to the artist or studio's style.
// The prompt must intricately describe every part of the image in concrete, objective detail. THINK about what the end goal of the description is, and extrapolate that to what would make satisfying images.
// All descriptions sent to dalle should be a paragraph of text that is extremely descriptive and detailed. Each should be more than 3 sentences long.
namespace dalle {

// Create images from a text-only prompt.
type text2im = (_: {
// The resolution of the requested image, which can be wide, square, or tall. Use 1024x1024 (square) as the default unless the prompt suggests a wide image, 1792x1024, or a full-body portrait, in which case 1024x1792 (tall) should be used instead. Always include this parameter in the request.
size?: "1792x1024" | "1024x1024" | "1024x1792",
// The user's original image description, potentially modified to abide by the dalle policies. If the user does not suggest a number of captions to create, create four of them. If creating multiple captions, make them as diverse as possible. If the user requested modifications to previous images, the captions should not simply be longer, but rather it should be refactored to integrate the suggestions into each of the captions. Generate no more than 4 images, even if the user requests more.
prompts: string[],
// A list of seeds to use for each prompt. If the user asks to modify a previous image, populate this field with the seed used to generate that image from the image dalle metadata.
seeds?: number[],
}) => any;

Anzeige
Community beitreten
Kommt in die DECODER-Community bei Discord,Reddit, Twitter und Co. - wir freuen uns auf euch!
Anzeige
Community beitreten
Kommt in die DECODER-Community bei Discord,Reddit, Twitter und Co. - wir freuen uns auf euch!

} // namespace dalle

Die im System Prompt beschriebenen Regeln sind nur ein Teil der Sicherheitsmaßnahmen für DALL-E3. OpenAI hat kürzlich eine System Card zu DALL-E 3 veröffentlicht, die weitere Maßnahmen beschreibt, wie Blocklisten und speziell trainierte visuelle Klassifikatoren, die etwa sexuelle Inhalte herausfiltern. DALL-E 3 kann Text und Bilder analysieren, bevor ein Bild erzeugt oder ausgegeben wird.

Eine Übersicht über alle möglichen System Prompts von OpenAIs verschiedenen ChatGPT-Services ist bei Github hinterlegt.

Unterstütze unsere unabhängige, frei zugängliche Berichterstattung. Jeder Betrag hilft und sichert unsere Zukunft. Jetzt unterstützen:
Banküberweisung
Zusammenfassung
  • OpenAI hat DALL-E 3 mit einem "System Prompt" ausgestattet, der die KI anweist, keine diskriminierenden oder illegalen Bilder zu generieren und bestimmte Regeln für Sicherheit, Fairness und Urheberrechtskonformität einzuhalten.
  • Zu diesen Regeln gehören die Übersetzung nicht-englischer Eingaben, die Beschränkung auf vier Bilder gleichzeitig und das Verbot, Bilder von Politikern oder bekannten Persönlichkeiten zu generieren.
  • Zusätzliche Sicherheitsmaßnahmen für DALL-E 3 umfassen Blocklisten und speziell trainierte visuelle Klassifikatoren, die z. B. sexuelle Inhalte herausfiltern, bevor ein Bild erzeugt oder ausgegeben wird.
Quellen
Online-Journalist Matthias ist Gründer und Herausgeber von THE DECODER. Er ist davon überzeugt, dass Künstliche Intelligenz die Beziehung zwischen Mensch und Computer grundlegend verändern wird.
Community beitreten
Kommt in die DECODER-Community bei Discord,Reddit, Twitter und Co. - wir freuen uns auf euch!