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-torch

👏 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.1.tar.gz (7.8 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.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lueur_torch-0.0.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.8.0-1031-azure

File hashes

Hashes for lueur_torch-0.0.1.tar.gz
Algorithm Hash digest
SHA256 039780d94d37002295519e8108ada6ffe350a40a00391cbf3312cd297457eccc
MD5 d388fdee07c5806821e77cc04bf3cb10
BLAKE2b-256 0ee7c0b130ffaa8803d710a2f59aea32ddb222a1f8d1207de65067e534a9eca8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lueur_torch-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.8.0-1031-azure

File hashes

Hashes for lueur_torch-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2d770d2aa53597aec187005e872c6cb769500ac4b26761a3f3d925fa36d4498
MD5 6499bbbcd24785319e2deeaf28acbf39
BLAKE2b-256 507d226deb4a3e776436a482b32351f81362091b5eae282f752e546919130b7f

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