pyvene: A Library for Understanding and Improving PyTorch Models via Interventions
원문 초록
Interventions on model-internal states are fundamental operations in many areas of AI, including model editing, steering, robustness, and interpretability. To facilitate such research, we introduce $\textbf{pyvene}$, an open-source Python library that supports customizable interventions on a range of different PyTorch modules. $\textbf{pyvene}$ supports complex intervention schemes with an intuitive configuration format, and its interventions can be static or include trainable parameters. We show how $\textbf{pyvene}$ provides a unified and extensible framework for performing interventions on neural models and sharing the intervened upon models with others. We illustrate the power of the library via interpretability analyses using causal abstraction and knowledge localization. We publish our library through Python Package Index (PyPI) and provide code, documentation, and tutorials at https://github.com/stanfordnlp/pyvene.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Model Editing as a Double-Edged Sword: Steering Agent Ethical Behavior Toward Beneficence or Harm
Mitigating Safety Fallback in Editing-based Backdoor Injection on LLMs
Drop Dropout on Single-Epoch Language Model Pretraining
UniErase: Unlearning Token as a Universal Erasure Primitive for Language Models
LyapLock: Bounded Knowledge Preservation in Sequential Large Language Model Editing
UltraEdit: Training-, Subject-, and Memory-Free Lifelong Editing in Large Language Models
토론
이 논문과 연결된 포럼 글이 아직 없습니다.