最新资讯
dev.to 我们在 DolphinBench 上测试记忆检索:纯关键词搜索暴露了自身回归 dev.to 别再把 Agent 写成 while 循环,把它建模为状态机 bloomberg.com Rightmove 与 Scout24 借 AI 产品应对低迷房市并上调展望 stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者
多元动态
登录 注册
大模型 arxiv.org ·

局部稀疏性实现无监督 LLM 安全检测

原文 我的收藏

该论文提出一种基于局部稀疏性的无监督 LLM 安全检测框架。作者指出,现有部署期安全方法多为监督式且依赖不安全训练数据,难以覆盖新出现的攻击与危害类别;因此转向仅建模安全数据的异常检测思路。在线性表示假设(LRH)下,经稀疏自编码器(SAE)恢复的概念空间中,邻近点共享较小的共同活跃支撑,据此设计局部掩码 SAE 异常检测方法并给出理论论证。实验覆盖多种架构与数据集(含能力测试与安全专用数据集);当允许使用 1% 分布外数据校准时,局部稀疏方法接近最优性能,且仅需 1-2% 的 SAE 神经元参与计算。

AI推荐理由 arXiv 新论文,作者来自 ETH Zurich(Andreas Krause 组),提出基于局部稀疏性的无监督 LLM 安全检测框架:在 LRH 假设下,用 SAE 概念空间中邻近点共享小活跃支撑的特性做局部掩码异常检测,并给出理论依据。在多种架构和数据集(能力测试与安全专用)上验证;允许用 1% OOD 数据校准时接近最优,且仅用 1-2% SAE 神经元参与计算。新信息在于把安全检测转为仅建模安全数据的异常检测,并给出稀疏性理论支撑;局限是仍依赖 LRH 假设,且摘要未给出具体量化指标与开源代码。

72

正文

Computer Science > Machine Learning arXiv:2609.20129 (cs) [Submitted on 17 Sep 2026] Title:Local Sparsity Enables Unsupervised LLM Safety Detection Authors:Xin Chen, Gil Kur, Alexander Shevchenko, Andreas Krause View a PDF of the paper titled Local Sparsity Enables Unsupervised LLM Safety Detection, by Xin Chen and 3 other authors View PDF HTML (experimental) Abstract:Deployment-time safety methods for large language models (LLMs) are predominantly supervised and assume access to unsafe training data. Nevertheless, new attacks and harm categories regularly arise, not captured by models trained in such a supervised fashion. An alternative approach is to view this problem through the lens of anomaly detection, namely, to rely solely on modeling safe data and flagging out-of-distribution inputs. However, LLM activations lie in a high-dimensional space, raising concerns about whether anomaly detection is statistically feasible. We show that, under the linear representation hypothesis (LRH), there may indeed be hope. In the LRH concept space, which is typically recovered via a sparse autoencoder (SAE), nearby points share a small common active support. Using this local sparsity insight, we propose a framework for locally masked SAE-based anomaly detection, supported by theoretical justifications. We validate it on various architectures and datasets, including both capability-testing datasets and safety-specific datasets. Finally, when we allow algorithms to use 1% out-of-distribution data for calibration, locally sparse methods achieve near-optimal performance, demonstrating their ability to capture meaningful safety information while using only 1-2% of SAE neurons for computation. Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI) Cite as: arXiv:2609.20129 [cs.LG] (or arXiv:2609.20129v1 [cs.LG] for this version) https://doi.org/10.48550/arXiv.2609.20129 Focus to learn more arXiv-issued DOI via DataCite (pending registration) Submission history From: Xin Chen [view email] [v1] Thu, 17 Sep 2026 12:23:04 UTC (461 KB) Full-text links: Access Paper: View a PDF of the paper titled Local Sparsity Enables Unsupervised LLM Safety Detection, by Xin Chen and 3 other authors View PDF HTML (experimental) TeX Source view license Current browse context: cs.LG new | recent | 2026-09 Change to browse by: cs cs.AI References & Citations NASA ADS Google Scholar Semantic Scholar export BibTeX citation Loading... BibTeX formatted citation × loading... Data provided by: Bookmark Bibliographic Tools Bibliographic and Citation Tools Bibliographic Explorer Toggle Bibliographic Explorer (What is the Explorer?) Connected Papers Toggle Connected Papers (What is Connected Papers?) Litmaps Toggle Litmaps (What is Litmaps?) scite.ai Toggle scite Smart Citations (What are Smart Citations?) Code, Data, Media Code, Data and Media Associated with this Article alphaXiv Toggle alphaXiv (What is alphaXiv?) Links to Code Toggle CatalyzeX Code Finder for Papers (What is CatalyzeX?) DagsHub Toggle DagsHub (What is DagsHub?) GotitPub Toggle Gotit.pub (What is GotitPub?) Huggingface Toggle Hugging Face (What is Huggingface?) ScienceCast Toggle ScienceCast (What is ScienceCast?) Demos Demos Replicate Toggle Replicate (What is Replicate?) Spaces Toggle Hugging Face Spaces (What is Spaces?) Spaces Toggle TXYZ.AI (What is TXYZ.AI?) Related Papers Recommenders and Search Tools Link to Influence Flower Influence Flower (What are Influence Flowers?) Core recommender toggle CORE Recommender (What is CORE?) IArxiv recommender toggle IArxiv Recommender (What is IArxiv?) Author Venue Institution Topic About arXivLabs arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs. Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

来源报道 · 1 篇 · 以下链接均前往原始媒体

aihot::arXiv - LLM 局部稀疏性实现无监督 LLM 安全检测 09-18 · 原文发布
← 返回精选动态 原文

更多内容