Alternators
This repository contains the implementation of **Alternators**, a novel family of generative models for time-dependent data.
Install / Use
/learn @vertaix/AlternatorsREADME
The name "Alternator" draws an analogy with electromagnetism. Just as an electrical generator alternates mechanical energy into electrical energy, Alternators alternate between latent and observation spaces to generate dynamic data trajectories. Below is an illustration:
<p align="center"> <img src="alternators.png" alt="Alternators Illustration" width="80%"/> </p> <p align="center"> <em>Illustration of Alternators: a new framework for time-dependent generative modeling.</em> </p>For further details, please refer to our paper, Alternators for Sequence Modeling.
<p align="center"> <img src="Lorenz_alt_latents.png" alt="Alternators results" width="80%"/> </p> <p align="center"> <em>Alternators are better at tracking the chaotic dynamics defined by a Lorenz attractor.</em> </p> --- <p align="center"> <img src="neural_trajectory.png" alt="Alternators results neural" width="80%"/> </p> <p align="center"> <em>A set of 20 trajectories sampled from different models conditional on spiking activities from neural decoding datasets:Motor cortex, Somatosensory, and Hippocampus.</em> </p>
Requirements
Ensure you have the following dependencies installed:
- Python 3.8+
- PyTorch 1.10+
- numpy
- matplotlib
- scikit-learn
- scipy
Install all dependencies with:
pip install -r requirements.txt
Usage
Running Toy Examples
- Clone the repository:
git clone https://github.com/vertaix/Alternators.git cd Alternators - Generate the toy dataset:
python simulation_data.py - Run the toy example:
python alternator_test.py
Citation
If you find this work useful, please cite our paper:
@article{rezaei2024alternators,
title={Alternators For Sequence Modeling},
author={Rezaei, Mohammad Reza and Dieng, Adji Bousso},
journal={arXiv preprint arXiv:2405.11848},
year={2024}
}
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
openclaw-plugin-loom
Loom Learning Graph Skill This skill guides agents on how to use the Loom plugin to build and expand a learning graph over time. Purpose - Help users navigate learning paths (e.g., Nix, German)
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
Leadership-Mirror
Product Overview Project Purpose Hack Atria is a leadership development and team management platform that provides AI-powered insights, feedback analysis, and learning resources to help leaders
