paper-with-me

Papers

Neural Execution Engines: Learning to Execute Subroutines

2020-06-15 · NeurIPS 2020 12 · Yujun Yan, Kevin Swersky, Danai Koutra, Parthasarathy Ranganathan, Milad Hashemi

A significant effort has been made to train neural networks that replicate algorithmic reasoning, but they often fail to learn the abstract concepts underlying these algorithms. This is evidenced by their inability to generalize to data distributions that are outside of their restricted training sets, namely larger inputs and unseen data. We study these generalization issues at the level of numerical subroutines that comprise common algorithms like sorting, shortest paths, and minimum spanning trees. First, we observe that transformer-based sequence-to-sequence models can learn subroutines like sorting a list of numbers, but their performance rapidly degrades as the length of lists grows beyond those found in the training set. We demonstrate that this is due to attention weights that lose fidelity with longer sequences, particularly when the input numbers are numerically similar. To address the issue, we propose a learned conditional masking mechanism, which enables the model to strongly generalize far outside of its training range with near-perfect accuracy on a variety of algorithms. Second, to generalize to unseen data, we show that encoding numbers with a binary representation leads to embeddings with rich structure once trained on downstream tasks like addition or multiplication. This allows the embedding to handle missing data by faithfully interpolating numbers not seen during training.

📄 PDF Abstract BibTeX arXiv:2006.08084

Code (1)

Yujun-Yan/Neural-Execution-Engines 공식 구현 tf

Tasks

Learning to Execute

Similar Papers 제목 키워드 기반

NEURAL EXECUTION ENGINES

2020-01-01 · ICLR 2020 1 · Yujun Yan, Kevin Swersky, Danai Koutra, Parthasarathy Ranganathan 외

Turing complete computation and reasoning are often regarded as necessary pre- cursors to general intelligence. There has been a significant body of work studying neural networks that mimic general computation, but these…

PADME: Procedure Aware DynaMic Execution

2025-10-13 · Deepeka Garg, Sihan Zeng, Annapoorani L. Narayanan, Sumitra Ganesh 외 arxiv

Learning to autonomously execute long-horizon procedures from natural language remains a core challenge for intelligent agents. Free-form instructions such as recipes, scientific protocols, or business workflows encode r…

Minuet: Accelerating 3D Sparse Convolutions on GPUs

2023-12-01 · Jiacheng Yang, Christina Giannoula, Jun Wu, Mostafa Elhoushi 외

Sparse Convolution (SC) is widely used for processing 3D point clouds that are inherently sparse. Different from dense convolution, SC preserves the sparsity of the input point cloud by only allowing outputs to specific …

GPU

ViperGPT: Visual Inference via Python Execution for Reasoning

2023-03-14 · ICCV 2023 1 · Dídac Surís, Sachit Menon, Carl Vondrick

Answering visual queries is a complex task that requires both visual processing and reasoning. End-to-end models, the dominant approach for this task, do not explicitly differentiate between the two, limiting interpretab…

Code GenerationVideo Question AnsweringZero-Shot Video Question Answer

Scaling Up Knowledge Graph Creation to Large and Heterogeneous Data Sources

2022-01-24 · Enrique Iglesias, Samaneh Jozashoori, Maria-Esther Vidal

RDF knowledge graphs (KG) are powerful data structures to represent factual statements created from heterogeneous data sources. KG creation is laborious and demands data management techniques to be executed efficiently. …

Knowledge GraphsManagementScheduling