higher is a specialized library designed to extend PyTorch’s capabilities by enabling higher-order differentiation and meta-learning through differentiable optimization loops. It allows developers and researchers to compute gradients through entire optimization processes, which is essential for tasks like meta-learning, hyperparameter optimization, and model adaptation. The library introduces utilities that convert standard torch.nn.Module instances into “stateless” functional forms, so parameter updates can be treated as differentiable operations. It also provides differentiable implementations of common optimizers like SGD and Adam, making it possible to backpropagate through an arbitrary number of inner-loop optimization steps. By offering a clear and flexible interface, higher simplifies building complex learning algorithms that require gradient tracking across multiple update levels. Its design ensures compatibility with existing PyTorch models.

Features

  • Enables differentiable inner-loop optimization and gradient tracking through updates
  • Converts torch.nn.Module models into functional, stateless forms for meta-learning
  • Provides differentiable versions of standard optimizers such as Adam and SGD
  • Allows unrolled optimization for higher-order gradient computation
  • Easily integrates into existing PyTorch workflows with minimal modification
  • Supports custom differentiable optimizers via registration and subclassing

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Higher

Higher Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Higher!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Libraries

Registered

2025-10-08