liveBook · Manning

Emergent behavior

As explained in Generative AI in Action

An emergent property is a capability or behavior that arises from a system's components or scale without being explicitly programmed as an individual feature.

Emergent behavior is a capability that arises from interactions among a system’s components rather than from an explicitly programmed feature. In generative AI, it helps models interpret prompts, solve problems, and produce step-by-step approaches. section 1.3.5 section 2.8.9

Large language models can acquire unexpected abilities by learning from large amounts of natural-language data. These abilities may appear only after training reaches a scale threshold; smaller models can perform near chance, while larger models improve sharply. Smaller-model performance does not reliably predict the behavior that emerges at scale, creating both opportunity and uncertainty. section 2.8.9

Translating unfamiliar code

A prompt can ask GPT-4 to convert a C function that reverses a string using pointers, XOR operations, and macros into Python. Without being given the function’s purpose as a separate instruction, the model produces a Python implementation that accounts for immutable strings, list conversion, pointer-like indices, and reconstruction of the result. This illustrates emergent code understanding rather than a conversion rule explicitly programmed for that function. section 2.8.9

Figure 2.12 Model scaling as measured by training computation requirements in FLOP
figure

Use the scaling figure to inspect how benchmark performance changes with training computation and where emergent abilities appear. section 2.8.9

How Generative AI in Action covers it

How deep it goes
Defines implicit emergence, demonstrates scale thresholds, and stops short of explaining the exact internal logic producing each behavior.
Examples
Uses proportional reasoning, step-by-step math, C-to-Python translation, and a scaling curve as concrete demonstrations.
What you can do after
Apply it via prompts to solve expressed problems and translate unfamiliar code, while recognizing scale-dependent and unanticipated behavior.
How it connects
Connects emergent behavior with generative AI, foundation models, LLMs, prompting, model scale, and natural-language understanding.

Also explained in

Compare how 5 books explain emergent behavior →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Generative AI in Action. The section links point to the parts of the book it draws on.