[Proposal] Demo or helper for statistical audits of activation-patching results on TransformerBridge
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 28/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 3.9k
- Fork
- 708
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 87
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TransformerLensOrg/TransformerLens
-
[Bug Report] test_faithfulness_recovery_is_graded_not_binary passes or fails on the sign of float32 roundingCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
TransformerLensOrg/TransformerLens#1993 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug Report] `TransformerBridge.boot_*` methods are invisible to static type checkersCó thể đã có người làm @koriyoshi2041 đã nhận 3 ngày trước. Đang mởbug complexity-simple TransformerBridge
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TransformerLensOrg/TransformerLens#1980 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug Report] detect_head fails with a list of sequences and a custom tensor detection patternCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug complexity-moderate TransformerBridge
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TransformerLensOrg/TransformerLens#1979 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Proposal] MiniCPM adapter (MiniCPMForCausalLM) — I'm working on itCó thể đã có người làm @pablocs116 đã nhận 1 ngày trước. Đang mở
TransformerLensOrg/TransformerLens#1992 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Proposal] Pretrained J++ lenses through JacobianLens: artifact provenance and filtered readoutsĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
TransformerLensOrg/TransformerLens#1991 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TransformerLensOrg/TransformerLens
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
NVIDIA/auto-ontology#463 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
NousResearch/hermes-agent#151165 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
code-health
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
tinaudio/synth-setter#3750 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] vllm-sr config migrate drops providers.models[].deploymentCó thể đã có người làm @Bevisy đã nhận hôm nay. Đang mởneeds-acceptance wg/developer-experience-ecosystem
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
vllm-project/semantic-router#5996 ·
Maintainer thường phản hồi trong vòng 2 ngày