Skip to content

ashwindaswanibu/generalist-neural-algorithmic-learner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generalist Neural Algorithmic Learner(Report)

Introduction

The Generalist Neural Algorithmic Learner is a project aimed at developing a graph neural network capable of learning and executing a wide range of algorithms. Inspired by existing research, our goal was to create a single model that can solve multiple algorithmic tasks, generalizing beyond the distribution it was trained on. This project represents a significant step forward in demonstrating how reasoning abilities can be applied to diverse control flows and tasks.

Authors

Project Overview

The Generalist Neural Algorithmic Learner is designed to learn the execution trace of algorithms given an intermediate state. Initially, the model is trained on single-task models for various algorithmic tasks. Subsequently, it is trained on multi-algorithmic tasks to evaluate its performance against the single-task models.

Features

  • Graph Neural Networks: Utilizes GNNs to learn and execute classical algorithmic tasks.
  • Single and Multi-task Learning: Supports both single-task and multi-task experiment settings.
  • Model Improvements: Includes various enhancements such as randomized position scalar, static hint elimination, encoder initialization, gradient clipping, and soft hint propagation.

Installation

To run the project, ensure you have the following dependencies installed:

  1. JAX (Note: JAX is not supported on Windows)
  2. NumPy
  3. TensorFlow
  4. CLRS from DeepMind

Install the required packages using the following command:

pip install -r requirements.txt

Usage

To use the Generalist Neural Algorithmic Learner, navigate to the /src directory and follow the instructions provided there for running the various experiments.

Acknowledgments

This project was inspired by the work on the generalist neural algorithmic learner by DeepMind and other related research in the field of neural algorithmic reasoning.

License

This project is open-source and available under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages