Skip to main content

Scaling Value Iteration Networks

Exploration into the Scaling Value Iteration Networks paper, from Schmidhuber's group

Usage

import torch
from scaling_vin_pytorch import ScalableVIN

scalable_vin = ScalableVIN(
    state_dim = 3,
    reward_dim = 2,
    num_actions = 10
)

state = torch.randn(2, 3, 32, 32)
reward = torch.randn(2, 2, 32, 32)

agent_positions = torch.randint(0, 32, (2, 2))

target_actions = torch.randint(0, 10, (2,))

loss = scalable_vin(
    state,
    reward,
    agent_positions,
    target_actions
)

loss.backward()

action_logits = scalable_vin(
    state,
    reward,
    agent_positions
)

Citations

@article{Wang2024ScalingVI,
    title   = {Scaling Value Iteration Networks to 5000 Layers for Extreme Long-Term Planning},
    author  = {Yuhui Wang and Qingyuan Wu and Weida Li and Dylan R. Ashley and Francesco Faccio and Chao Huang and J{\"u}rgen Schmidhuber},
    journal = {ArXiv},
    year    = {2024},
    volume  = {abs/2406.08404},
    url     = {https://api.semanticscholar.org/CorpusID:270391752}
}
@misc{pflueger2018soft,
    title   = {Soft Value Iteration Networks for Planetary Rover Path Planning},
    author  = {Max Pflueger and Ali Agha and Gaurav S. Sukhatme},
    year    = {2018},
    url     = {https://openreview.net/forum?id=Sktm4zWRb},
}
@inproceedings{Tamar2016ValueIN,
    title   = {Value Iteration Networks},
    author  = {Aviv Tamar and Sergey Levine and P. Abbeel and Yi Wu and Garrett Thomas},
    booktitle = {Neural Information Processing Systems},
    year    = {2016},
    url     = {https://api.semanticscholar.org/CorpusID:11374605}
}

Metadata

Release files for scaling-vin-pytorch 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scaling-vin-pytorch 0.0.12
File Size Uploaded
scaling_vin_pytorch-0.0.12.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for scaling-vin-pytorch 0.0.12
File Interpreter ABI Platform
scaling_vin_pytorch-0.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / scaling_vin_pytorch-0.0.12.tar.gz

Download URL scaling_vin_pytorch-0.0.12.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
81d587bbd8985071b08a4dcfc26662ba1bba4c8f62819af35b5578c1adb0608b
BLAKE2b-256 checksum
How to use checksums
165028e91642d15d7e84d41c6ddde47315628c9c61844b20503b657cd6d4c791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / scaling_vin_pytorch-0.0.12-py3-none-any.whl

Download URL scaling_vin_pytorch-0.0.12-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d4b12aab9f04e9df292f9ffacce75148365691c3d4dec6968a11943932dc756
BLAKE2b-256 checksum
How to use checksums
35deb0e3b7c324cd09ab0e1ce38047fb26d8a0ad8d9c7591a4d66cf0b280de1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

This release

0.0.12 This release

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page