liveBook · Manning

Autoencoding

As explained in The Art of AI Product Development

Autoencoding is a training objective in which a model reconstructs corrupted inputs from surrounding context.

Autoencoding trains a model to reconstruct corrupted inputs using surrounding context. It is one of three language-modeling objectives, alongside sequence-to-sequence transduction and autoregression; each requires broad linguistic knowledge but favors different tasks. section 5.1.2

The surrounding-context requirement matters because words can depend on both preceding and following positions. This contrasts with autoregression, which predicts the next token from previous tokens and therefore receives a one-sided learning signal. section 5.1.2

Context determines the missing word

A language model can use the words around a missing position to infer a plausible reconstruction, rather than relying only on the tokens that came before it. Figure 5.3 visualizes the broader context-prediction objective. section 5.1.2

How The Art of AI Product Development covers it

How deep it goes
Defines reconstruction through surrounding context and contrasts it with autoregression, without detailing implementation internals.
Examples
Uses missing-word prediction and contrasting conversational behavior to illustrate context-based language-model objectives.
What it assumes
Assumes basic familiarity with language modeling and explains why preceding and following words both matter.
What you can do after
Evaluate and understand how training objectives shape the information language models use for prediction.
How it connects
Connects autoencoding with language modeling, autoregression, sequence-to-sequence transduction, and bidirectional context.

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