arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.21014cs.LGcs.CL
收藏

CLT-Forge:一种可扩展的跨层转码器和归因图库

CLT-Forge: A Scalable Library for Cross-Layer Transcoders and Attribution Graphs

Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);Jinesis AI Lab(Jinesis人工智能实验室);University of Toronto(多伦多大学);Vector Institute(向量研究所);CMU(卡内基梅隆大学);EuroSafeAI;ELLIS Institute Tübingen(图宾根ELLIS研究所)

Florent Draye, Vedant Palit, Abir Harrasse, Tung-Yu Wu, Jiarui Liu, Punya Syon Pandey, Roderick Wu, Chih-Hao Hsu, Terry Jingchen Zhang, Zhijing Jin, Bernhard Schölkopf

AI总结:

本文提出CLT-Forge库,通过分布式训练、模型分片和压缩激活缓存提升跨层转码器的可扩展性,提供统一的可解释性流程和可视化接口,解决归因图的冗余问题。

摘要:

机制可解释性旨在理解大语言模型如何表示和处理信息。基于字典学习和转码器的近期方法使模型计算能用稀疏可解释特征及其交互表示,产生特征归因图。然而,这些图往往庞大冗余,限制了实际可解释性。跨层转码器(CLTs)通过跨层共享特征同时保留层特定解码,产生更紧凑的表示,但训练和分析仍困难。本文介绍一个开源库,用于端到端训练和可解释性,整合可扩展分布式训练、模型分片和压缩激活缓存,统一自动可解释性流程用于特征分析和解释,使用Circuit-Tracer计算归因图,并提供灵活的可视化接口。这为扩展基于CLT的机制可解释性提供了实用统一的解决方案。代码可在https://github.com/LLM-Interp/CLT-Forge获取。

英文摘要:

Mechanistic interpretability seeks to understand how Large Language Models (LLMs) represent and process information. Recent approaches based on dictionary learning and transcoders enable representing model computation in terms of sparse, interpretable features and their interactions, giving rise to feature attribution graphs. However, these graphs are often large and redundant, limiting their interpretability in practice. Cross-Layer Transcoders (CLTs) address this issue by sharing features across layers while preserving layer-specific decoding, yielding more compact representations, but remain difficult to train and analyze at scale. We introduce an open-source library for end-to-end training and interpretability of CLTs. Our framework integrates scalable distributed training with model sharding and compressed activation caching, a unified automated interpretability pipeline for feature analysis and explanation, attribution graph computation using Circuit-Tracer, and a flexible visualization interface. This provides a practical and unified solution for scaling CLT-based mechanistic interpretability. Our code is available at: https://github.com/LLM-Interp/CLT-Forge.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑