Skip to content
#

causal-tracing

Here are 11 public repositories matching this topic...

Mechanistic analysis of a GPT-2–like model exploring the compositionality gap in transformers. Using Logit Lens and Causal Tracing, the study identifies and overcomes a deep-layer bottleneck via dataset enhancement addressing the stated Compositionality Gap (NeurIPS24).

  • Updated Oct 29, 2025
  • Python

To improve the adaptability of Large Language Models (LLMs) by examining and optimizing the storage paradigm within autoregressive transformer models. The emphasis is on pinpointing and editing the locations where factual associations are stored, ensuring that the models retain current and relevant information without requiring extensive retraining

  • Updated Dec 18, 2023
  • Jupyter Notebook

Code for the paper "Vision-Default, Prior-Override: Causal Mechanisms of Perception-Knowledge Conflict in Vision-Language Models." Activation patching, knockout ablation, and mechanistic analysis of how VLMs resolve perception-knowledge conflicts, across Qwen 2.5 VL, LLaVA-NeXT, and PaliGemma 2.

  • Updated Jun 22, 2026
  • Jupyter Notebook

Causal-tracing benchmark for neural-net interpretability: activation patching recovers the ground-truth circuit where correlational and gradient attribution each collapse -- proven by controls that toggle confounding and saturation on and off. Offline, numpy-only, no API keys.

  • Updated Jun 23, 2026
  • Python

GraphReFly — reactive harness layer for agent workflows. Describe automations in plain language, trace every decision, persist checkpoints. Cross-language spec. Implementations: graphrefly-ts (TypeScript), graphrefly-py (Python).

  • Updated Jul 15, 2026
  • HTML

Improve this page

Add a description, image, and links to the causal-tracing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the causal-tracing topic, visit your repo's landing page and select "manage topics."

Learn more