[Proposal] Demo or helper for statistical audits of activation-patching results on TransformerBridge
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 28/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Start by reading the proposal’s discussion and the current TransformerBridge analysis and notebook interfaces. The issue leaves the deliverable undecided between a demo notebook, a helper package, or no repository addition, so first establish maintainer agreement on scope and delivery format. Done means the accepted path is clear and its statistical assumptions and multiple testing approach are documented.
索引モデルが issue の本文から書いたものです。
説明
Proposal
Add a focused demo or analysis example showing how to use a statistical audit layer for activation-patching results in the current TransformerBridge API, without turning that functionality into a core library method.
Motivation
The current TransformerLens v4 stack is built around TransformerBridge and the newer analysis/tooling interfaces, not the older HookedTransformer API. A prior LAT-style implementation or similar analysis utility may have been natural in v3, but it needs to be rewritten or re-scoped to work with the current bridge-based model interface.
A statistical audit layer is valuable when evaluating many components at once (heads, layers, positions, or intervention sites), especially when the analysis asks whether the observed patching signal survives multiple-comparisons correction. That is a natural fit for a research demo or notebook example, rather than necessarily a first-class core method in TransformerLens itself.
Scope
We should decide whether the repository wants:
- a small demo notebook showing statistical audits on real
TransformerBridgeruns, or - a generic analysis utility in a separate package / helper module, or
- no direct repository addition yet, pending the broader analysis-tool overhaul.
Proposed direction
A good low-friction path would be:
- keep statistical inference in a standalone or external helper package if needed,
- adapt it to
TransformerBridgerather thanHookedTransformer, - present it as a notebook or docs example to make the methodology concrete,
- keep the core library focused on generalized analysis primitives rather than a single
lat_scan-like API.
Concrete example
A notebook could demonstrate:
- running a clean/corrupt activation-patching experiment with
TransformerBridge, - measuring per-component normalized effects,
- reporting descriptive rankings and robustness diagnostics,
- applying a valid multiple-testing procedure only when a defensible null is available,
- documenting which assumptions are required for sign-flip or control-based inference.
The goal would be to make the statistical audit methodology usable and inspectable without hard-coding one specific method into the repository core.
Discussion points
- Should TransformerLens accept a demo notebook for statistical analysis tools in the current v4 architecture?
- Should generic statistical audits live in a dedicated package or helper module instead of the core repo?
- If a core API is eventually added, should it be a generic analysis primitive instead of a single
lat_scan-like method? - What is the preferred maintenance boundary for visualization-heavy or method-specific research tooling?
Checklist
- I have checked that there is no similar issue or proposal in the repository.
- Maintainers agree on the preferred scope and delivery format.
- The proposal is rewritten for the
TransformerBridgev4 API. - The accepted path is either a demo notebook or a generic helper layer, rather than a single bespoke method.
- 主要言語
- Python
- スター
- 3.9k
- フォーク
- 708
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 87
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TransformerLensOrg/TransformerLens のほかの issue
-
[Bug Report] test_faithfulness_recovery_is_graded_not_binary passes or fails on the sign of float32 rounding対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
TransformerLensOrg/TransformerLens#1993 ·
メンテナーはふだん 1 日以内に返信
-
[Bug Report] `TransformerBridge.boot_*` methods are invisible to static type checkers対応中かも @koriyoshi2041 が 2 日前に担当しました。 オープンbug complexity-simple TransformerBridge
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TransformerLensOrg/TransformerLens#1980 ·
メンテナーはふだん 1 日以内に返信
-
[Bug Report] detect_head fails with a list of sequences and a custom tensor detection pattern対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug complexity-moderate TransformerBridge
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TransformerLensOrg/TransformerLens#1979 ·
メンテナーはふだん 1 日以内に返信
-
[Proposal] MiniCPM adapter (MiniCPMForCausalLM) — I'm working on it対応中かも @pablocs116 が今日担当しました。 オープン
TransformerLensOrg/TransformerLens#1992 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Proposal] Pretrained J++ lenses through JacobianLens: artifact provenance and filtered readoutsオープン
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
TransformerLensOrg/TransformerLens#1991 ·
メンテナーはふだん 1 日以内に返信
TransformerLensOrg/TransformerLens の issue をすべて見る
似ている issue
-
binding:python bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
The Browser tab fails with a Wayland error when Open Terminal runs from a Wayland desktop sessionオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
open-webui/open-terminal#210 ·
-
triage/confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agentscope-ai/agentscope#3807 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#150542 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
triton-inference-server/server#9069 ·
メンテナーはふだん 1 日以内に返信