HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Pointer Networks

Oriol Vinyals; Meire Fortunato; Navdeep Jaitly

Pointer Networks

Abstract

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 Repositories

Rintarooo/TSP_DRL_PointerNet
pytorch
Mentioned in GitHub
victorDD1/PointerNet
pytorch
Mentioned in GitHub
shirgur/pointernet
pytorch
Mentioned in GitHub
gchaperon/pointer-networks
pytorch
Mentioned in GitHub
sblayush/Tensorflow-Attention
tf
Mentioned in GitHub
Nina-Konovalova/TSP-RL-Skoltech_project
pytorch
Mentioned in GitHub
Howardhuang98/Pointer_network
tf
Mentioned in GitHub
Rintarooo/TSP_DRL_PtrNet
pytorch
Mentioned in GitHub
danifuertes/top_transformer
pytorch
Mentioned in GitHub
rizwan09/paper
Mentioned in GitHub
mits58/Pointer-Networks
Mentioned in GitHub
thomlake/pytorch-attention
pytorch
Mentioned in GitHub
Guillem96/pointer-nn-pytorch
pytorch
Mentioned in GitHub
sblayush/summarization
tf
Mentioned in GitHub
Rintarooo/TSP_RL_Pointer_Actor_Critic
pytorch
Mentioned in GitHub
NTT123/pointer-networks
jax
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
point-cloud-completion-on-shapenetTestNet
Chamfer Distance: 100

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Pointer Networks | Papers | HyperAI