Als nächstesNächster Leitfaden
Generative gegnerische Netzwerke
Grundlagen
Grundlagen-Leitfaden
Generative KI ist ein Zweig der künstlichen Intelligenz, der neue Inhalte wie Text, Bilder, Audio, Video oder Code erstellt, indem er die statistischen Muster riesiger Beispielsammlungen erlernt und dann frische Ausgaben erzeugt, die zu diesen Mustern passen.
Hören Sie sich diesen Leitfaden anKI-erzählt · ~9 min
Das ist wichtig, weil dieselben wenigen Techniken heute Chatbots, Bildwerkzeuge und Programmierassistenten antreiben, die von weit über 100 Millionen Menschen genutzt werden, und weil ihre Ausgaben überzeugend klingen oder aussehen können, obwohl sie falsch sind.
Generative AI is software that makes new things rather than only sorting or scoring existing ones. A traditional machine learning model might look at an email and answer one question: spam or not spam. A generative model can write a reply to that email, draw a picture to go with it, or read it aloud in a synthetic voice. The word generative comes from statistics. A generative model learns an approximation of the probability distribution behind its training data, which is a precise way of saying it learns what typical examples look like and how their parts tend to fit together. Once it has that, it can sample, meaning it can draw new examples that resemble the training data without copying any single one of them.
The most familiar kind is the large language model (LLM), the engine inside chatbots. Text is first cut into tokens, which are short chunks of words or characters. During pretraining the model reads an enormous amount of text and is asked, over and over, to predict the next token from all the tokens before it. Each wrong guess produces an error score, and a procedure called gradient descent nudges the model's parameters, the adjustable numbers inside it, to make that error a little smaller next time. GPT-3, described by OpenAI researchers in May 2020, had 175 billion parameters. When a user types a prompt, the trained model repeats one simple loop: compute a probability for every possible next token, pick one (sometimes the most likely, sometimes a random draw controlled by a setting called temperature), append it, and go again until the answer is finished.
Pretraining alone produces a model that continues text but does not reliably follow instructions. Developers therefore add a second stage. In instruction tuning, the model is trained further on examples of requests paired with good answers. In reinforcement learning from human feedback (RLHF), people rank several model answers, a separate reward model learns to predict those rankings, and the language model is then optimized to score well on that reward model. MIT Technology Review's history of ChatGPT notes that OpenAI's InstructGPT, trained this way in early 2022, followed instructions better and produced less offensive and less false text than the base GPT-3 model, and that ChatGPT was built on the same approach.
Images are usually made with a different mechanism called diffusion. In training, a picture is corrupted with a little random noise, then a little more, over many steps until nothing but static is left. A neural network is trained to undo one step at a time by predicting the noise that was added. To generate, the model starts from pure static and removes noise step by step, guided by a text description, until a clean image appears. The 2020 paper Denoising Diffusion Probabilistic Models by Ho, Jain and Abbeel showed this approach could match or beat earlier methods on image quality, reporting a Frechet Inception Distance (FID, a measure where lower means generated images are statistically closer to real ones) of 3.17 on the CIFAR-10 dataset. An older approach, the generative adversarial network (GAN), introduced by Ian Goodfellow and colleagues in June 2014, trains two networks against each other: a generator that makes fakes and a discriminator that tries to tell fakes from real data.
The key milestones fit on a short timeline. GANs arrived in 2014. In June 2017 the paper Attention Is All You Need introduced the transformer, an architecture that lets every token weigh its relationship to every other token; its English-to-French translation model trained in 3.5 days on eight GPUs and set a new single-model accuracy record. OpenAI's GPT series built on the transformer: GPT-2 in 2019 with 1.5 billion parameters, GPT-3 in 2020, InstructGPT in January 2022 and ChatGPT in late November 2022, according to MIT Technology Review. Diffusion models matured in 2020 and drove the wave of text-to-image tools that followed. Most current systems for text, code, images, audio and video combine these two ideas, transformers and diffusion, in different proportions.
It helps to compare generative AI with the alternatives. Predictive or discriminative AI, such as a fraud detector or a medical image classifier, outputs a label or a number and can be checked against a known right answer, so its accuracy is easy to measure. Generative output is open-ended: there are many acceptable answers to a writing prompt, which makes quality harder to measure and errors harder to spot. Search engines retrieve documents that already exist and point to them; a language model composes new text and, unless it is connected to a retrieval system, cannot show where a statement came from. Rule-based software is predictable and auditable, while generative models are flexible but can give different answers to the same question.
The limitations are well documented. The US National Institute of Standards and Technology (NIST), in its July 2024 Generative AI Profile (NIST AI 600-1), lists twelve risks that generative AI creates or makes worse. The one most users meet first is confabulation, NIST's term for confidently stated but false content, often called hallucination. Others include harmful bias, leaks of private data, intellectual property questions, easier production of disinformation, help for cyberattacks, and environmental costs from heavy computing. Models also have a training cutoff, so they do not know about recent events unless they are given current documents, and they can be steered by cleverly written inputs. None of these problems is fully solved, which is why outputs that matter need checking against a trusted source.
Cost runs on two tracks. Training a frontier model requires thousands of specialized chips for weeks or months, and the Stanford AI Index 2025 reports that the training compute used for notable models has been doubling about every five months. Using a model, called inference, has become far cheaper: the same report finds that the price of querying a system performing at GPT-3.5's level fell more than 280-fold between November 2022 and October 2024, while hardware costs have dropped about 30% a year and energy efficiency has improved about 40% a year. For an individual, that means capable tools are often free or cost a modest monthly subscription. For an organization, the real costs are usually integration, data preparation, review of outputs and the work of deciding where a fallible but fast drafting tool is safe to use.
04Ausgearbeitetes Beispiel
Beginnen Sie mit einem Prompt wie „Die Hauptstadt von Frankreich ist“ und stellen Sie sich vor, er sei in Tokens unterteilt, ungefähr eines pro Wort.
Das Modell verwandelt jedes Token in einen Vektor aus Zahlen und leitet die gesamte Sequenz durch seine Transformer-Schichten, wobei die Attention jedes Wort mit den anderen verknüpft.
An der letzten Position gibt es für jedes Token in seinem Vokabular einen Wert aus; nach dem Softmax erhält „ Paris“ möglicherweise eine Wahrscheinlichkeit von fast 0,9, während sich andere Tokens den Rest teilen.
Bei einer niedrigen Temperatur wählt das Modell „ Paris“; bei einer hohen Temperatur wählt es gelegentlich ein weniger wahrscheinliches Token und der Satz nimmt einen anderen Verlauf.
Das gewählte Token wird an den Prompt angehängt und die gesamte Vorhersage läuft erneut ab, um das nächste Token zu erzeugen, wie zum Beispiel einen Punkt.
Wiederholen Sie die Schleife, bis das Modell ein spezielles End-Token ausgibt oder ein Längenlimit erreicht, und vergleichen Sie dann das Ergebnis mit einer vertrauenswürdigen Quelle.
Was es zeigt
Der Lernende erhält ein klares Bild der Next-Token-Generierung: Jedes Wort ist eine abgetastete Vermutung, die von allen vorherigen Wörtern abhängt. Um die Idee zu überprüfen, stellen Sie einem Chatbot mehrmals dieselbe sachliche Frage; kleine Variationen in der Formulierung zeigen das Sampling in Aktion, und jede falsche Antwort zeigt, warum Ausgaben überprüft werden müssen.
Chat-Assistenten: ChatGPT, das Ende November 2022 von OpenAI als Web-App veröffentlicht wurde, erreichte laut der Geschichte des Produkts in der MIT Technology Review etwa zwei Monate später rund 100 Millionen Nutzer.
Kundensupport: Eine Studie von 5.172 Support-Mitarbeitern durch Brynjolfsson, Li und Raymond ergab, dass der Zugang zu einem generativen KI-Assistenten die pro Stunde gelösten Probleme um durchschnittlich etwa 15 % steigerte, wobei die größten Zuwächse bei weniger erfahrenen Mitarbeitern zu verzeichnen waren.
Bilderstellung: Diffusionsmodelle, die durch das Papier „Denoising Diffusion Probabilistic Models“ aus dem Jahr 2020 populär wurden, verwandeln zufälliges Rauschen Schritt für Schritt in Bilder, und dieselbe Idee liegt weit verbreiteten Text-zu-Bild-Tools für Illustrationen und Designentwürfe zugrunde.
Schreiben und Entwerfen: GPT-3, ein Modell mit 175 Milliarden Parametern, das 2020 beschrieben wurde, konnte Artikel im Nachrichtenstil schreiben, die von menschlichen Bewertern nur schwer von von Menschen geschriebenen Artikeln zu unterscheiden waren, was sowohl eine Fähigkeit als auch ein Risiko für Desinformation darstellt.
Unternehmensinvestitionen: Der Stanford AI Index 2025 berichtet, dass generative KI im Jahr 2024 weltweit 33,9 Milliarden US-Dollar an privaten Investitionen anzog, ein Anstieg von 18,7 % gegenüber 2023, da Unternehmen sie in alltägliche Software integrierten.
Several open problems shape the direction of work. Reliability is the largest: NIST's 2024 profile treats confabulation as a core risk, and researchers are testing retrieval from trusted documents, citation checking and models that state their uncertainty, none of which yet removes errors entirely. Efficiency is a second front. The Stanford AI Index 2025 documents rapid declines in inference cost alongside training compute that keeps doubling roughly every five months, so the field is pulling in two directions at once: very large frontier models and small models cheap enough to run on a phone or laptop. A third direction is multimodality, meaning single models that take in and produce text, images, audio and video together, and agents, which are generative models allowed to call tools, browse or run code to finish multi-step tasks. Each of these adds new ways to fail, so evaluation methods are being developed alongside them. Policy is moving too. Content provenance labels for AI-generated media, court cases over training data, and risk frameworks such as NIST AI 600-1 will influence what developers may train on and how outputs must be disclosed. Economic effects remain uncertain: field studies such as Brynjolfsson, Li and Raymond's customer-support study show measurable productivity gains in specific jobs, but how those results generalize across whole industries is still being measured.
Kostenloser Newsletter
Drei verifizierte KI-Geschichten jeden Werktagmorgen, in einfachem Englisch geschrieben. Für immer kostenlos, keine Werbung.
Eine E‑Mail jeden Werktag. Abmelden mit einem Klick. Wir verkaufen oder teilen Ihre Adresse nie.
Testen Sie sich selbst
Sofortiges Feedback zu jeder Antwort und ein teilbares Zertifikat mit verifizierbarer ID, sobald Sie einen Kurs bestanden haben.
Unterstützen Sie kostenlose KI-Bildung. AI Understanding ist eine 501(c)(3) gemeinnützige Organisation – keine Werbung, keine Paywall, nie. Machen Sie eine Spende
Generative KI ist der Zweig der künstlichen Intelligenz, der neue Inhalte wie Texte, Bilder, Audio, Video oder Code erstellt, indem er die statistischen Muster riesiger Sammlungen von Beispielen lernt und dann neue Ausgaben produziert, die zu diesen Mustern passen. Es ist wichtig, weil dieselben wenigen Techniken heute Chatbots, Bild-Tools und Coding-Assistenten antreiben, die von weit über 100 Millionen Menschen genutzt werden, und weil ihre Ausgaben überzeugend klingen oder aussehen können, obwohl sie falsch sind.
Der Leitfaden beschreibt generierte Ausgaben wie Text, Bilder, Audio und Code.
Der Leitfaden warnt, dass bereitgestellte Quellen die Relevanz verbessern können, Ausgaben aber dennoch nicht unterstützte Behauptungen enthalten können.
Der Leitfaden besagt, dass Diffusionssysteme lernen, verrauschte Darstellungen in Stichproben umzuwandeln.
Der Leitfaden empfiehlt, das Code-Verhalten zu inspizieren und aussagekräftige Tests auszuführen.
Der Leitfaden weist darauf hin, dass plausibel wirkende Zitate möglicherweise nicht existieren und verifiziert werden müssen.
Lerne weiter
Weitere Leitfäden zu diesem Thema ausgewählt
Als nächstesNächster Leitfaden
Generative gegnerische Netzwerke
Grundlagen