Pointer Network
A neural network architecture proposed by Vinyals et al. in 2015, based on the seq2seq model, which replaces the decoder's Softmax layer with an attention mechanism that points to elements of the input, producing a permutation of the input set and suited to combinatorial optimization problems such as sorting, convex hull and the TSP.
Timeline (last 90 days)
The Pointer Network was proposed by Vinyals et al. in 2015, originally to solve the problem where the output dictionary size depends on the input sequence length (such as sorting and convex hull).
The structure of the Pointer Network is based on the sequence-to-sequence (seq2seq) model, but replaces the decoder's Softmax classification layer with an attention mechanism, computing attention scores between the decoder hidden state and all encoder hidden states at each decoding step, and performing Softmax directly over these input positions.
The original Pointer Network paper uses a greedy baseline to reduce the variance of REINFORCE, making training more stable.
On TSP instances of size N=20 to N=200, the Pointer Network can produce solutions of decent quality in under one millisecond, but solution quality declines significantly as problem size increases, and the gap with OR-Tools widens.
The Pointer Network uses an LSTM to encode the set of coordinates; the LSTM processes input sequentially, artificially introducing order and bringing recency bias, which conflicts with the permutation invariance of TSP input and is the fundamental reason for the degradation of solution quality as scale increases.
For those just entering the interdisciplinary field of "machine learning + combinatorial optimization," the Pointer Network + REINFORCE is the most suitable introductory baseline, because the code path is clear, the training signal is intuitive, and the failure modes have clear theoretical explanations.
The conclusions of comparisons between the Pointer Network and OR-Tools depend heavily on the baseline configuration; OR-Tools' 10-second timeout is a fairly strong opponent setting, and switching to a shorter budget or a different local search strategy will change the gap curve accordingly.
All Facts (7)
The Pointer Network was proposed by Vinyals et al. in 2015, originally to solve the problem where the output dictionary size depends on the input sequence length (such as sorting and convex hull).
50%UnverifiedThe structure of the Pointer Network is based on the sequence-to-sequence (seq2seq) model, but replaces the decoder's Softmax classification layer with an attention mechanism, computing attention scores between the decoder hidden state and all encoder hidden states at each decoding step, and performing Softmax directly over these input positions.
50%UnverifiedThe original Pointer Network paper uses a greedy baseline to reduce the variance of REINFORCE, making training more stable.
50%UnverifiedOn TSP instances of size N=20 to N=200, the Pointer Network can produce solutions of decent quality in under one millisecond, but solution quality declines significantly as problem size increases, and the gap with OR-Tools widens.
50%UnverifiedThe Pointer Network uses an LSTM to encode the set of coordinates; the LSTM processes input sequentially, artificially introducing order and bringing recency bias, which conflicts with the permutation invariance of TSP input and is the fundamental reason for the degradation of solution quality as scale increases.
50%UnverifiedFor those just entering the interdisciplinary field of "machine learning + combinatorial optimization," the Pointer Network + REINFORCE is the most suitable introductory baseline, because the code path is clear, the training signal is intuitive, and the failure modes have clear theoretical explanations.
50%UnverifiedThe conclusions of comparisons between the Pointer Network and OR-Tools depend heavily on the baseline configuration; OR-Tools' 10-second timeout is a fairly strong opponent setting, and switching to a shorter budget or a different local search strategy will change the gap curve accordingly.
50%