@ricpini1
Riccardo PiniDeveloper▲5
Systems Architect & AI Researcher, Independent

Deterministic mechanistic interpretability: probing weight matrices directly on Qwen2.5, SmolLM2, and GPT-2 (FGRF)

Greetings to Everyone being this my first post!

Most interpretability workflows rely on expensive activation patching or heuristic black-box probes that struggle to generalize across model scales.

I've been building an open-source approach to deterministic circuit probing directly on LLM weight matrices named FGRF (Fractal Graph Rewriting Framework).

What we've validated so far across Qwen2.5, SmolLM2, and GPT-2:

  • Direct structural decomposition: Mapping attention and MLP weight topologies without running massive inference sweeps.
  • Cross-architecture consistency: Identifying recurring functional subgraphs and spectral/structural signatures across distinct model families.
  • Reproducible & lightweight: Built on PyTorch and Hugging Face Transformers so you can run probes locally without a GPU cluster.

If you're working on mechanistic interpretability, model compression/pruning, or safety auditing I would love your eyes on the repo and feedback on the probing methodology:

github.com/RicPini/fgrf
github.com/RicPini/fgrf-dynamic-geometry

Is anyone else here exploring static/weight-space interpretability vs. runtime activation analysis?

Comments

No comments yet
Start the conversation.
Log in to join the thread.