liveBook · Manning

Pointer Network

A Pointer Network is an attention-based sequence-to-sequence neural architecture that outputs positions or elements selected from its input sequence.

How 2 Manning books explain it

Optimization Algorithms: AI techniques for design, planning, and control problems

A pointer network is a sequence-to-sequence neural architecture that outputs positions or elements from its input sequence through attention-based pointers.

How it is used
Uses input-pointing sequence models for end-to-end combinatorial optimization.
How deep it goes
Explains attention-based selection and encoder-decoder operation, then demonstrates supervised training and evaluation with helper implementations.
Examples
Uses convex hull point selection and a traveling salesman problem to illustrate variable-sized inputs and outputs.
What you can do after
Apply it via PyTorch and ConvexNet to train and evaluate a convex hull predictor.

Read how Optimization Algorithms: AI techniques for design, planning, and control problems explains Pointer Network →

Sutskever's List

A Pointer Network is an attention-based sequence model that selects positions in an input sequence as its outputs.

How it is used
Selects positions in variable-length inputs when outputs must come from the input rather than a fixed vocabulary.
How deep it goes
Defines attention as a distribution over input positions and outlines encoder-decoder operation, but gives no implementation derivation.
Examples
Uses convex-hull detection, Delaunay triangulation, traveling-salesperson tours, sorting, and scheduling as selection tasks.
What you can do after
Understand how attention can select input elements for combinatorial outputs that fixed-vocabulary decoding cannot directly represent.

Read how Sutskever's List explains Pointer Network →

What to know first

Related concepts

Questions about Pointer Network

What is Pointer Network?

A Pointer Network is an attention-based sequence-to-sequence neural architecture that outputs positions or elements selected from its input sequence.

Which Manning books explain Pointer Network?

Optimization Algorithms: AI techniques for design, planning, and control problems and Sutskever's List.

What should I know before learning Pointer Network?

Manning books that teach Pointer Network usually introduce combinatorial optimization, LSTM and Traveling Salesman problem first.

What is the difference between Pointer Network and RPW encoder?

A Pointer Network is an attention-based sequence-to-sequence neural architecture that outputs positions or elements selected from its input sequence. The Read-Process-Write encoder is an encoder architecture that embeds set elements into shared memory and repeatedly reads and refines that memory with attention.

What are the parts of Pointer Network?

Pointer Network includes decoding strategy and encoder.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.