Skip to content
#

causal-tracing

Here are 16 public repositories matching this topic...

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 Aug 24, 2026
  • Jupyter Notebook

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 Aug 9, 2026
  • Python

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 Sep 16, 2026
  • HTML

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