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
Produces input-indexed output sequences for variable-sized combinatorial problems, particularly convex hull construction.
How deep it goes
Explains encoder, decoder, attention probabilities, and a supervised training workflow, but does not derive the network mathematically.
Examples
Uses a four-position pointer sequence and a PyTorch convex hull experiment with variable-sized point sets and SciPy comparisons.
What you can do after
Apply it via PyTorch ConvexNet to train and evaluate a supervised convex hull predictor on varying point counts.

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.