Pointer Networks
We introduce a new neural architecture to learn the conditional probability of an output sequence with elements that are discrete tokens corresponding to positions in an input sequence. Such problems cannot be trivially addressed by existent approaches such as sequence-to-sequence and Neural Turing Machines, because the number of target classes in each step of the output depends on the length of the input, which is variable. Problems such as sorting variable sized sequences, and various combinatorial optimization problems belong to this class. Our model solves the problem of variable size output dictionaries using a recently proposed mechanism of neural attention. It differs from the previous attention attempts in that, instead of using attention to blend hidden units of an encoder to a context vector at each decoder step, it uses attention as a pointer to select a member of the input sequence as the output. We call this architecture a Pointer Net (Ptr-Net). We show Ptr-Nets can be used to learn approximate solutions to three challenging geometric problems -- finding planar convex hulls, computing Delaunay triangulations, and the planar Travelling Salesman Problem -- using training examples alone. Ptr-Nets not only improve over sequence-to-sequence with input attention, but also allow us to generalize to variable size output dictionaries. We show that the learnt models generalize beyond the maximum lengths they were trained on. We hope our results on these tasks will encourage a broader exploration of neural learning for discrete problems.
Code (21)
Tasks
Combinatorial OptimizationPoint Cloud CompletionMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Pointer: Linear-Complexity Long-Range Modeling without Pre-training
We introduce Pointer, a novel architecture that achieves linear $O(NK)$ complexity for long-range sequence modeling while maintaining superior performance without requiring pre-training. Unlike standard attention mechani…
Long-range modelingHybrid Pointer Networks for Traveling Salesman Problems Optimization
In this work, a novel idea is presented for combinatorial optimization problems, a hybrid network, which results in a superior outcome. We applied this method to graph pointer networks [1], expanding its capabilities to …
Combinatorial OptimizationGraph EmbeddingTraveling Salesman ProblemIntelligent reading recognition method of a pointer meter based on deep learning in a real environment
Accurate reading of a pointer meter is a crucial task in complex environments, such as substations, the military and aerospace. Current recognition algorithms are mainly used to identify the same type and a non-tilt mete…
On the Capabilities of Pointer Networks for Deep Deductive Reasoning
The importance of building neural networks that can learn to reason has been well recognized in the neuro-symbolic community. In this paper, we apply neural pointer networks for conducting reasoning over symbolic knowled…
DecoderKnowledge GraphsPointerformer: Deep Reinforced Multi-Pointer Transformer for the Traveling Salesman Problem
Traveling Salesman Problem (TSP), as a classic routing optimization problem originally arising in the domain of transportation and logistics, has become a critical task in broader domains, such as manufacturing and biolo…
DecoderDeep Reinforcement LearningTraveling Salesman Problem