arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.19636cs.LGcs.AIcs.CLcs.SC
收藏

稀疏自编码器是符号匹配的共享坐标系

Sparse Autoencoders Are a Shared Coordinate System for Symbolic Matching

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Xiaocong Yang, Xuanyu Meng, Yuji Zhang, Jiawei Han, ChengXiang Zhai

AI总结:

本研究提出SAE-IDF方法,利用稀疏自编码器匹配异构符号系统的单元,在12项任务上优于LLM密集基线,为通用符号主干构建奠定基础。

摘要:

大语言模型(LLM)在一组权重中存储了广泛的知识,但缺乏可解释性和可信的推理能力,尤其在高风险用例中表现突出。神经符号模型具有可解释的架构和系统2推理能力,若能构建至LLM的规模,将成为有前景的替代方案;然而其符号主干通常由人工构建,现有神经符号模型受限于符号组件的范围,且通常是领域特定的。数据驱动的方法可通过对齐和合并现有符号系统来构建更大的符号系统,本研究聚焦于其基础的第一步:匹配这些异构系统中的单元。我们的方法SAE-IDF将原生上下文中的符号通过稀疏自编码器(SAE)编码为稀疏代码,按稀有度对每个维度重新加权,进而在系统间进行匹配。在6类符号系统的12项任务上,使用Gemma-2-9B时SAE-IDF在所有任务上均优于同一LLM的密集基线,使用Llama-3.1-8B时除一项任务外均优于基线,提升幅度最高达45个点,且在SAE层和配置中表现一致。SAE-IDF还具有可解释性:稀疏代码的每个维度都有人类可读的含义,因此每次匹配可分解为命名概念(特征)。本研究为通用符号主干的构建铺平了道路。

英文摘要:

Large language models (LLMs) hold broad knowledge in one set of weights, but lack interpretability and trustworthy reasoning, especially in high-stakes use cases. A neuro-symbolic model, with its interpretable architecture and System 2 reasoning capacity, is a promising alternative if built at the scale of LLMs; however, its symbolic backbone is usually constructed with human effort, so existing neuro-symbolic models are bottlenecked by the scope of the symbol component and usually domain-specific. A data-driven method could instead build a larger symbolic system by aligning and merging existing ones. We target its first, foundational step: matching units across these heterogeneous systems. Our method, SAE-IDF, encodes a symbol in its native context into a sparse code with a sparse autoencoder (SAE), re-weights each dimension by its rarity and matches across systems. On 12 tasks across 6 kinds of symbolic system, SAE-IDF outperforms the same LLM's dense baseline on all tasks with Gemma-2-9B and all but one with Llama-3.1-8B, by up to 45 points, consistently across SAE layers and configurations. SAE-IDF is also interpretable: every dimension of the sparse code has a human-readable meaning, so each match decomposes into named concepts (features). Our work paves the way to a universal symbolic backbone.

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

↑