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 →

Related concepts

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.