Architecture (AI Model Architecture)

The overall design and structure of a model, including its layers and connections.

Can the model tell who lent the map?

Compare “Mira lent Jon the map” with “Jon lent Mira the map.” Both sentences contain the same words. Their meaning changes because the people switch roles. A model’s architecture determines which distinctions it can express.

Unordered word counts

Represent each sentence by how many times each word appears. The two input vectors are identical. Any model that sees only these counts must give the same result for both.

Sequence-aware model

Keep positions or process words in order. The model has access to the distinction between the two sentences. Learning to use that distinction still requires suitable training evidence.

What is fixed before training?

The architecture specifies operations and connections, such as how positions interact and what information is pooled. Training chooses values for the parameters within that structure. More examples cannot recover order after the only input representation discarded it.

Two open wooden architectural models use different arrangements of similar pieces.
An architecture determines how information can pass among components.

How would you test the design?

Build pairs that reverse who did what while preserving vocabulary. Include fresh names in evaluation to reduce the value of memorizing particular sentences. Compare systems on this targeted test as well as on the broader task.

Follow the idea

Model Parameters · Distinguish the structure of a model from its fitted values.

Transformer · Explore a sequence architecture that uses attention and position information.

Source · Vaswani and colleagues on the Transformer architecture

Return to Architecture (AI Model Architecture) in the A–Z glossary