Skip to main content

Lueur is a lightweight framework for Neuro Interpretability.

Project description

Lueur logo

PyLint Tox Pypi Pepy

Lueur

Lueur (pronounced ly.œʁ) means "faint glow" in French. It is a minimal, modular toolbox for NeuroInterpretability.

Lueur is intended for researchers interested in understanding representations in artificial neural networks, particularly in contexts inspired by neuroscience. It collects a set of lightweight tools for attribution, feature visualization and concept extraction.

While deep networks are not biological systems, their internal structures often raise questions that intersect with those asked in cognitive science and neuroscience. As such models become more capable, it is increasingly important to study not only what they achieve, but how they structure information, and what kinds of functions they implicitly compute.

Lueur provides a small, hackable set of tools to aid in that investigation.

Scope

Lueur is built around PyTorch and provides tools for:

  • Attribution methods (saliency, integrated gradients, smoothgrads, rise, ...)
  • Feature visualization (fourier, maco, ...)
  • Sparse dictionary learning (SAE variants for concept extraction)
  • Visualization and analysis utilities
  • Tutorials and reproducible interpretability workflows

Notebooks and Tutorials

The main companion notebooks and reports are hosted in the following repository: serre-lab/ExplainableNeuro

Installation

pip install lueur

👏 Credits

Kempner Logo

This work has been made possible in part by the generous support provided by the Kempner Institute at Harvard University. The institute, established through a gift from the Chan Zuckerberg Initiative Foundation, is dedicated to advancing research in natural and artificial intelligence. The resources and commitment of the Kempner Institute have been instrumental in the development and completion of this project.

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lueur_torch-0.0.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lueur_torch-0.0.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file lueur_torch-0.0.0.tar.gz.

File metadata

  • Download URL: lueur_torch-0.0.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for lueur_torch-0.0.0.tar.gz
Algorithm Hash digest
SHA256 c820b962fc4757a71f14cb657f77d45c17a9880a5a7ea0a7f3fa83a501dae937
MD5 a7e740061b021b468d015f92f0319998
BLAKE2b-256 6e4fafa040942e8e17b77586f70b80bf1542a99063ffffe32d899eef1904bdde

See more details on using hashes here.

File details

Details for the file lueur_torch-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: lueur_torch-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for lueur_torch-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26ff69456a33d0dc09836e1e9c40690752e98be37eee6642fe776bc58323a415
MD5 64d69837de261d93c5fda8e5f215d8fa
BLAKE2b-256 3182c999a9fe511d2a972c415a57adcb974ce6ea1d35e7bf247532d034c60d3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page