Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sicherheitslücken (CVE)Gleich noch ein Sicherheitsupdate für WordPress | heise online(23.09.2026 um 01:02 Uhr)
Hacking & PentestingSo stahlen nordkoreanische Hacker mehrere Millionen Euro - techbook(22.09.2026 um 21:49 Uhr)
Apple iOS & macOSIs Battery Life Worse in MacOS 27 Golden Gate? Try These Tips(23.09.2026 um 01:53 Uhr)
Sichere ProgrammierungYour agent picks one of two options. Can you test that choice?(23.09.2026 um 01:10 Uhr)
Sicherheitslücken (CVE)Gleich noch ein Sicherheitsupdate für WordPress | heise online(23.09.2026 um 01:02 Uhr)
Hacking & PentestingSo stahlen nordkoreanische Hacker mehrere Millionen Euro - techbook(22.09.2026 um 21:49 Uhr)
Apple iOS & macOSIs Battery Life Worse in MacOS 27 Golden Gate? Try These Tips(23.09.2026 um 01:53 Uhr)
Sichere ProgrammierungYour agent picks one of two options. Can you test that choice?(23.09.2026 um 01:10 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

In-Context Learning vs. True Generalization: What's Actually Happening When You Give Examples in a Prompt?

You give the AI two examples of a new task. It understands. It completes the third example correctly. It has not changed its weights. It has not been fine-tuned. It has learned from the context of the prompt alone. This is in-context…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

You give the AI two examples of a new task. It understands. It completes the third example correctly. It has not changed its weights. It has not been fine-tuned. It has learned from the context of the prompt alone. This is in-context learning. It is one of the most remarkable properties of large language models. But it is not learning in the human sense. It is pattern matching. It is using the examples as a template. It is not generalizing. It is adapting.



This is the distinction that matters: in-context learning is not true generalization. It is a form of rapid pattern completion. The model does not update its internal knowledge. It simply uses the examples to adjust its predictions.



What Is In-Context Learning?

In-context learning is the ability of a model to learn from examples provided in the prompt.



The Process:



The prompt contains a few examples.



The model uses these examples to infer the task.



It applies the inferred task to a new input.



The Mechanism:



The model does not update its weights.



It uses the examples as a template.



It generates the most likely completion.



A Contrarian Take: In-Context Learning Is Not Learning. It Is Pattern Completion.



We call it "learning." But it is not learning in the human sense. It is pattern completion.



The model is not generalizing. It is matching patterns.



How Does It Work?

The mechanism of in-context learning is still debated. But there are leading theories.



The Pattern Completion Theory:



The model has seen similar tasks during training.



The examples activate the relevant patterns.



The model completes the pattern.



The Induction Head Theory:



The model has "induction heads" that detect repeated patterns.



These heads identify the relationship between examples.



They apply the relationship to the new input.



A Contrarian Take: The Mechanism Is Not Important. The Outcome Is.



We debate the mechanism. But the outcome is what matters. The model can learn from examples.



The mechanism is a technical detail. The outcome is a practical tool.



In-Context Learning vs. True Generalization

The distinction is important.



In-Context Learning:



The model adapts to the context.



It does not update its weights.



It is limited to the current prompt.



True Generalization:



The model learns a general rule.



It updates its internal knowledge.



It applies the rule to new situations.



A Contrarian Take: The Distinction Is Not Binary. It Is a Spectrum.



The distinction is not binary. It is a spectrum. In-context learning is a form of generalization.



The model is generalizing from the examples. It is just doing it in a limited way.



The Limits of In-Context Learning

In-context learning has limits.




  1. Context Length:



The model can only see a limited number of examples.



It cannot learn complex tasks.




  1. Task Complexity:



The model can only learn simple tasks.



It cannot learn complex patterns.




  1. Overfitting:



The model can overfit to the examples.



It may not generalize to new inputs.



A Contrarian Take: The Limits Are Temporary.



The limits are temporary. Models are getting larger. Context windows are getting longer.



In-context learning will become more powerful.



What This Means for You

You can use in-context learning effectively.




  1. Use Clear Examples:



Provide clear examples.



The model will learn from them.




  1. Use Diverse Examples:



Provide diverse examples.



The model will generalize better.




  1. Use Enough Examples:



Provide enough examples.



The model will learn the pattern.




  1. Be Aware of Limits:



In-context learning is not a replacement for fine-tuning.



Use it for simple tasks.



The Last Example

The last example is not from the model. It is from you.



You ask: "What is in-context learning?"

The AI says: "In-context learning is the ability of a model to learn from examples provided in the prompt."

You realize: The AI is not learning. It is just responding.



If you could teach an AI one new concept with just three examples, what would you teach it? And how would you choose the examples?

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten In-Context Learning vs. True Generalization: What's Actually Happening When You Give Examples in a Prompt?

Thematisch verwandte Begriffe: InContext, Learning, True, Generalization · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-17636 | IBM Financial Transaction Manager (FTM) for RedHat OpenShift could allow…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick