Meta / Llama

Meta 的 AI 动态:Llama 开源模型系列与相关生态。

arXiv cs.AI71

Read the Room Before Your Model Generates

Large language models (LLMs) generally rely on sampling temperature to regulate the amount of randomness in their outputs. Mainstream methods for selecting temperature typically involve fixed, heuristic global settings and context or token-level calibration, rather than a geometrically interpretable representation of the communicative scenario. In this work, we introduce a simple and interpretable temperature selection framework, the \textbf{Scenario-Actor}, which adapts decoding to the inferred situational characteristics. Scenario-Actor extracts scenario-relevant structures from Transformer hidden states and determines the temperature from scenario embedding, a structured geometric representation of the communicative setting. Empirical results show that on Llama-3.1-8B-Instruct, Scenario-Actor achieves strong goal-completion performance in interactive social scenarios, significant gains on open-ended instruction following, and competitive performance on multi-turn conversation compared to multiple baselines.

arXiv cs.AI81

尖锐方向与你作对:激活引导的曲率分析

激活引导会在推理时向语言模型的内部表示中添加一个向量,是一种用于行为控制的轻量级微调替代方案。标准构造方法对比激活加法(CAA)并不稳定,因为在许多输入上,它会将行为推向错误的方向。为解释这种不稳定性,我们首先研究引导向量的几何结构。我们引入引导 Hessian,即模型行为损失相对于引导向量的二阶导数矩阵。它刻画了沿引导向量各个方向进行微小扰动时,模型输出行为响应的敏感性。其顶部特征向量对应尖锐方向:沿这些方向的微小扰动就可能导致巨大、不规则且依赖输入的行为波动。底部特征向量对应平坦方向:沿这些方向的行为具有鲁棒性。移除引导向量中的尖锐成分,可以大致保留其方向和大小(在典型设置下,余弦相似度 > 0.974,范数减少 < 3%),同时将向量的方向曲率最多降低 12 倍(在 36 个条件下中位数降低 4 倍)。我们在三个模型系列(Qwen2.5-7B、Llama-3.1-8B、Mistral-7B)上进行评估,涵盖四项行为任务和 36 个词元级条件。沿尖锐方向进行引导会在所有测试条件下逆转预期行为,反引导率为 53%–100%。尖锐方向仅占 CAA 向量平方范数的 1%–5%,但在自回归生成过程中,它们对引导后与未引导的下一词元分布之间的差距贡献 disproportionate。我们将这一单行修正称为尖锐方向移除;在测试的全部 25 个条件下,它在开放式生成中的表现都优于标准 CAA。进一步的越狱实验表明,尖锐方向充当的是噪声而非信号:无论引导极性如何,它们都会破坏连贯的行为控制。

MarkTechPost

How to Use Meta’s Rebalancer for Task Placement & Optimization

In this comprehensive coding tutorial, we explore Meta's Rebalancer assignment solver using its C++ core and Python bindings. Learn how to build datacenters, manage task placements across racks, handle constraints and goal priorities, and compare local search against the exact HiGHS solver using published benchmarks. The post How to Use Meta’s Rebalancer for Task Placement & Optimization appeared first on MarkTechPost .

MarkTechPost65

Meta Launches Muse Wonder and Muse Wonder Full: Benchmarks, Pricing and How to Use It

Meta released Muse Wonder and Muse Wonder Full, 1M-context agent models. Muse Wonder costs $4/$20 per million tokens on Meta Model API. Wonder Full, on Muse Code plans, leads DeepSWE and SWE-Marathon. The post Meta Launches Muse Wonder and Muse Wonder Full: Benchmarks, Pricing and How to Use It appeared first on MarkTechPost .

Simon Willison70

llm-meta-ai 0.2

Release: llm-meta-ai 0.2 Meta AI release Muse Wonder (and Muse Wonder Full), their new "most capable models". These look like they may be Meta's first Fable class models - Artificial Analysis scores Muse Wonder (Max) as equivalent to GPT-6.1 Sol. I updated my llm-meta-ai plugin for the new model. Here are pelicans for Muse Wonder for the six reasoning levels: minimal, low, medium, high, xhigh, max. This is the max one: Blue cycling helmet, bicycle is missing one bar but otherwise an OK shape, has mudguards, nice background, OK beak. For comparison, here are pelicans for Muse 1.3 (released September 2nd) and Muse 1.2 (released August 5th). Meta AI are putting out a new model a month, and the improvements between each model (at least in terms of drawing pelicans) are material. Tags: ai , generative-ai , llms , meta , pelican-riding-a-bicycle , llm-release

Simon Willison78

llm-gemini 0.35

发布:llm-gemini 0.35 今天通过 Gemini API 以及其每月 100 美元订阅计划向客户提供了全新的 Gemini 4 Argon 模型,我为 llm-gemini 添加了对它的支持。下面是低、中、高三档生成的 pelican。如预期一样,它们都非常出色:Gemini 一直以来都很擅长生成优秀的 SVG,而且据我所知,这是唯一一家其员工专门投入 SVG 研究的实验室(他们以前也曾展示过自己生成的 pelican)。这是“高”档生成的插图,花费了我 17.166 美分: 时尚而准确的自行车车架。篮子里有一条鱼。帅气的围巾。双脚分列车架两侧,踩在脚踏板上。车轮辐条、一顶小帽子、漂亮的喙和喉囊,以及略显凶狠的表情。 定价很有意思。发布时,Argon 的价格是输入每百万 token 2 美元、输出每百万 token 10 美元——与 GPT-6 Sol 相同,是 Claude Opus 5.5 价格的一半,以及 Claude Fable 5.1 和 GPT-6 Astra 价格的五分之一。但从 12 月 1 日起,Argon 的价格将翻倍——届时会与 Opus 5.5 同价。 如今,这样的价格并不能真正直接比较,因为真正重要的是:在代理式运行框架中,模型要完成一个目标需要消耗多少 token。Artificial Analysis 发布了使用各模型运行其基准测试的总成本,这为我们提供了一个有用的参考。Argon 在这方面表现非常好:运行该基准测试的成本为 2,407 美元,接近 GLM-5.3,而且明显低于 OpenAI、Anthropic 和 Meta 的最新模型。即使价格翻倍,它仍会比 GPT-6 Astra 略便宜。 Artificial Analysis 的堆叠柱状图截图,对 14 个 AI 模型的美元成本进行比较,按从低到高排序;柱体按提供商着色,每个柱体下方显示提供商徽标,底部以倾斜文字标出模型名称。右上角的徽标为 Artificial Analysis。指向 Gemini 4 Argon 柱体的悬浮提示框显示:Gemini 4 Argon(High),2,407 美元;输出 313 美元;推理 815 美元;缓存写入 897 美元;缓存读取 264 美元;非缓存输入 118 美元;点击查看更多信息。 从左到右的柱体如下,每个柱体上方标有总成本,部分分段数值印在柱体内部:Qwen3.8 27B(xhigh),1,336 美元,Alibaba 徽标;Mistral Large 4 Preview,1,607 美元,Mistral 徽标;Gemini 3.8 Flash(high),1,623 美元,Google 徽标;Muse Spark 1.3(max),2,000 美元,其中一段为 769 美元,Meta 徽标;Gemini 4 Argon(high),2,407 美元,其中两段分别为 815 美元和 897 美元,Google 徽标;GLM-5.3(max),2,503 美元,其中一段为 790 美元,Z.ai 徽标;Kimi K3(max),3,658 美元,Kimi 徽标;Qwen3.8 Max(0902),4,935 美元,其中两段分别为 893 美元和 1,441 美元,Alibaba 徽标;Grok 4.7(xhigh),4,967 美元,其中两段分别为 1,861 美元和 1,618 美元,xAI 徽标;GPT-6 Astra(max),5,324 美元,其中两段分别为 778 美元和 978 美元,OpenAI 徽标;Muse Wonder(max),5,733 美元,其中一段为 1,748 美元,Meta 徽标;Claude Sonnet 5.5(max with fallback),7,260 美元,其中两段分别为 1,216 美元和 1,815 美元,Anthropic 徽标;Claude Opus 5.5(max with fallback),8,708 美元,其中一段为 921 美元,Anthropic 徽标;Claude Fable 5.1(max with fallback),13,129 美元,其中一段为 7,219 美元,Anthropic 徽标。 (我用 ChatGPT 编辑了那张图表!数据全部正确,我已经核对过了——我只是需要让 Gemini 4 Argon 的信息框显示出来,同时避免遮挡其他数字。) 标签:google,ai,generative-ai,llms,llm,gemini,llm-pricing,pelican-riding-a-bicycle,llm-release

The Verge AI

I don’t miss the camera on the Ray-Ban Meta Audio glasses

The other day I whizzed past several people while running in the park, my playlist blasting at full volume. The next morning, I smiled at a barista while ordering a caramel apple-flavored matcha latte. Afterward, I sat on a park bench reading a book, called up a pal to chat about her recent trip to […]

The Decoder60

Gemini 4 Argon is now available worldwide as Google's most capable frontier model

Google is making Gemini 4 Argon available worldwide through its API, the Gemini app, and Google Antigravity. The frontier model is aggressively priced but trails Anthropic's Claude Opus 5.5 and Meta's Muse Wonder Full in independent benchmarks. Internally, Google says Argon already cut coding tasks from months to weeks. The article Gemini 4 Argon is now available worldwide as Google's most capable frontier model appeared first on The Decoder .

TechCrunch AI68

Facebook is giving users more control over their algorithm

Facebook is the latest social media platform to give users greater control over the algorithm that determines what appears in their feeds. Meta announced the launch of its new AI-powered feature, “Your Algorithm,” on Tuesday, a feature it first launched on Instagram. The new tool allows Facebook users to influence the content they see in […]

The Verge AI73

Facebook 将允许你使用 AI 自定义信息流算法

Facebook 全新的“Your Algorithm”功能将让你直接添加和管理希望在信息流和 Facebook Reels 中看到的主题。Meta 表示,在使用这项新功能针对不同主题点击“感兴趣”或“不感兴趣”进行更新后,推荐内容会“立即作出响应”。Your Algorithm 此前已在 Instagram 上推出……

SiliconANGLE AI63

Meta releases Muse Wonder AI models built to run personal and professional agents

Meta Platforms Inc. today released Muse Wonder and Muse Wonder Full, two artificial intelligence models it says are its most capable yet at running agents that handle personal and professional tasks. Meta aimed the release at the longer, multistep jobs people hand off to an AI agent. One example it gave was working through an […] The post Meta releases Muse Wonder AI models built to run personal and professional agents appeared first on SiliconANGLE .

The Decoder66

Meta's new frontier model Muse Wonder Full breaks into the AI top tier

Meta's new Muse Wonder models rank in the top three on six out of ten benchmarks, with the biggest gains in agentic tasks. But the cost per task has nearly tripled. The article Meta's new frontier model Muse Wonder Full breaks into the AI top tier appeared first on The Decoder .

The Verge AI66

Meta has some Wonder Full new AI models

Meta is making up for lost time in the AI race. After launching Muse Spark, the first model from its revamped Superintelligence Labs division, and buzzy AI agent Muse, it's now launching two new models it claims can go toe-to-toe with the industry's best. The new models, Muse Wonder and Muse Wonder Full, are available […]

AWS Machine Learning Blog74

使用 llama.cpp 在 Amazon SageMaker AI 上部署决策模型

了解如何使用 llama.cpp 在 Amazon SageMaker AI 上部署决策模型。本技术教程将通过用于 llama.cpp 的 AWS Deep Learning Container 提供兼容 OpenAI 的聊天补全服务,然后使用 SemIf 扩展运行时,以便在 CPU 或 GPU 上返回针对已声明选项的概率。

Hacker News AI45

Show HN: Remove AI Metadata Offline in Browser

FreeAiWiper processes your files and removes AI watermarks and metadata fully on your browser. at the moment we support various image, video and document types. Comments URL: https://news.ycombinator.com/item?id=50056263 Points: 1 # Comments: 0

arXiv cs.LG

MetaJoin: Adaptive Join Selections for Heterogeneous Tables

arXiv:2512.02444v2 Announce Type: replace-cross Abstract: Joining heterogeneous tables requires different forms of correspondence, including exact agreement, syntactic transformation, semantic similarity, and entity-level matching. The appropriate join method is often unknown in advance, while running every candidate method incurs unnecessary cost. We introduce MetaJoin, a label-free framework for adaptive join selection. MetaJoin uses input evidence to choose an initial specialist, then uses specialist-specific output evidence to determine whether that result should be retained, compared with an alternative, escalated, or repaired. This allows join selection to adapt after execution rather than committing to a one-shot routing decision. We also introduce MNN Join, a transformation specialist that searches for string transformations by maximizing mutual-nearest-neighbor coverage between two unaligned columns and uses the same reciprocal structure to validate its output. We evaluate MetaJoin on 670 datasets from six benchmarks. It achieves 0.817 macro row-F1, slightly exceeding a benchmark-level oracle that is given the best standalone specialist for each benchmark (0.812), and outperforms label-free selection policies built from the same specialist portfolio by more than 0.13. Across the 609 datasets in the four transformation-dominant benchmarks, MNN Join outperforms every evaluated transformation baseline. Finally, MetaJoin's accuracy varies by only 0.015 as the controller backbone ranges from 3B to 14B parameters, showing that output validation and repair substantially reduce dependence on the initial routing decision.

arXiv cs.LG69

Reinforcement learning for inverse silhouette design and rapid laser cutting of compact parallelogram quad kirigami prototypes

arXiv:2605.08098v2 Announce Type: replace Abstract: Kirigami is an increasingly useful fabrication method to produce shape-programmable metamaterial structures. However, inverse design remains difficult because deployment is nonlinear, and feasible cut layouts must satisfy discrete compatibility rules, avoid overlap, and map one target shape to valid designs. We present RL-Kirigami, an inverse design framework that combines optimal-transport conditional flow matching (OT-CFM) with reinforcement learning to generate compatible ratio fields for compact reconfigurable parallelogram quad kirigami. A marching decoder enforces global geometric compatibility, and Group Relative Policy Optimization (GRPO) aligns the generator with nondifferentiable rewards for silhouette matching, feasibility, and ratio-field regularity. Across procedurally generated target shape instances, a single sample from the pretrained OT-CFM prior reached $94.2\%~\mathrm{sIoU}$ and outperformed solver baselines while reducing forward simulator evaluations from hundreds to $1$. GRPO improved accuracy to $94.91\%~\mathrm{sIoU}$ and, with regularity included, reduced $\mathrm{TV}(\mathbf{x})$ from $0.95$ to $0.81$ while maintaining $94.83\%~\mathrm{sIoU}$. Generated layouts were exported to DXF and laser cut in $50~\mu\mathrm{m}$ polymeric sheets to produce deployable prototypes in $8.0\pm 1.0$ minutes per part. These results support a manufacturing-aware inverse design workflow for deployable kirigami metamaterials under geometric feasibility constraints. Code is available at https://github.com/milad1378yz/RL-Kirigami.

arXiv cs.LG62

Koopman-Based Nonlinear Identification and Model Predictive Control of a Turbofan Engine

arXiv:2604.01730v3 Announce Type: replace Abstract: This paper investigates Koopman operator-based approaches for multivariable control of a two-spool turbofan engine. A physics-based component-level model is developed to generate training data and validate the controllers. A meta-heuristic extended dynamic mode decomposition is adapted, with a cost function designed to accurately capture both spool-speed dynamics and the engine pressure ratio (EPR), enabling the construction of a single Koopman model that can be reused across multiple control strategies. Using the identified time-varying Koopman model, an adaptive Koopman-based model predictive controller (AKMPC) with a disturbance observer is developed and compared with a Koopman-based feedback linearization controller (K-FBLC) and its integrator-augmented version (K-FBLC-I). The Koopman representation further enables nonlinear GTE output limiters, such as rotor-acceleration and turbine-inlet-temperature limits, to be expressed as linear constraints in the AKMPC. The controllers are evaluated for two control configurations of spool speeds and EPR, under both sea-level and varying flight conditions. The results demonstrate that the proposed identification approach enables accurate predictions of both spool speeds and EPR, allowing the Koopman model to be reused flexibly across different control formulations. While all strategies achieve comparable performance in sea-level conditions, the AKMPC demonstrates improved performance under varying flight conditions due to its ability to capture nonlinear dynamics, handle constraints, and compensate for model mismatch. Moreover, the EPR control strategy improves the thrust response. The study highlights the applicability of Koopman-based control and the advantages of the AKMPC framework for robust turbofan engine control.

arXiv cs.LG77

权重聚类揭示相对排序在大语言模型中的重要性

arXiv:2603.17917v2 公告类型:替换 摘要:大语言模型(LLMs)包含数十亿个参数,但许多权重的精确数值并非必不可少。我们对预训练模型应用标量 $K$ 均值聚类,将每个权重矩阵中的权重替换为仅 16--64 个共享值。对于 Llama~3.1-8B-Instruct 和 SmolLM2-135M,这种方法无需重新训练即可保持较高的准确率,为压缩磁盘上存储的 LLMs 提供了一种简单方法。仅微调聚类中心,就能进一步挽回剩余准确率损失的 30--40\%。随后,我们将聚类作为分析工具,固定聚类分配,仅扰动共享值,以研究这些值的哪些属性最为重要。我们发现,保留它们的\emph{相对排序}(哪些连接比其他连接更强或更弱)比保留其精确大小更重要。破坏这种排序会大幅增加困惑度,而在许多中间层和后期层中,改变数值但保持排序只会造成很小的损失。然而,仅保留排序还不够。模型性能还取决于是否维持了重构权重的方差,而早期层仍然更为敏感;对聚类分配本身进行扰动表明,其空间几何结构也起着关键的支撑作用。我们在来自两个架构家族的四个 LLMs 中观察到了相同的行为。这些结果表明,权重的排序及其整体方差在 LLM 压缩和鲁棒性方面发挥着核心作用。

arXiv cs.LG74

TernaryLLM:三值化大语言模型

arXiv:2406.07177v2 公告类型:替换 摘要:大语言模型(LLMs)在自然语言处理(NLP)任务中取得了卓越的表现,但高昂的计算成本和内存需求限制了其应用。三值化是一种极端的量化方式,通过减少内存使用并支持高能效的浮点加法运算,为这一问题提供了解决方案。然而,将三值化应用于大语言模型时,权重和激活值中的离群值会带来挑战。在本研究中,我们观察到权重中的离群值呈非对称分布,且权重均值不为零,因此引入了双重可学习三值化(DLT),使缩放因子和平移量均可学习。我们还提出了离群值友好的特征知识蒸馏(OFF),以恢复极低比特量化中丢失的信息。所提出的 OFF 能够融入语义信息,且对离群值不敏感。OFF 的核心是利用余弦相似度,最大化三值化模型与浮点模型特征之间的互信息。大量实验表明,在不同大语言模型系列的标准文本生成和零样本基准测试中,我们的 TernaryLLM 均优于以往的低比特量化方法。具体而言,对于最强大的开源模型之一 LLaMA-3,我们的方法(W1.58A16)相较于此前最先进的方法(W2A16),在 C4 上的困惑度降低了 5.8,在零样本任务上的平均准确率提高了 8.2%。

arXiv cs.LG81

将分词从主机端移出以服务智能体式 LLM

arXiv:2610.13325v1 公告类型:cross 摘要:智能体式工作负载会在多次调用之间重复发送几乎不变的长上下文。如今,前缀缓存可以跳过其中大部分预填充阶段,但每个请求仍必须先完成全部分词,之后才能查询缓存。分词这一长期以来被视为无关紧要的 CPU 阶段,如今却成为首 token 生成时间(TTFT)中占比最大的部分;而为整个 GPU 集群执行分词的前端,则限制了其能够供给的 GPU 数量。我们提出 GraphTok,这是一种 GPU 分词器,可将从预分词、字节对编码(BPE)合并到 token ID 组装的完整编码流程,作为一张可重放的 CUDA 图运行。GraphTok 在 GPT-2、Llama 3、Qwen 2.5、DeepSeek-V3 和 Gemma 3 上逐位复现参考 token ID;对于 GPU 无法占优的短输入,则将其交给 CPU 引擎处理;同时,它还可以接入未经修改的 vLLM 和 NVIDIA Dynamo。GraphTok 在包含数据传输的情况下,可在 1.7–3.2 毫秒内编码一百万个 GPT-2 token;在 Llama 3 上,其速度比最强的 CPU 分词器 gigatoken 快 4.7–6.0 倍。在 TokTier 自有的单请求基准测试中,其速度比 gigatoken 快 2.6–3.9 倍,最高比 TokTier 快 18.1 倍。在使用缓存前缀的 vLLM 中,它将平均 TTFT 降低了 2.1–2.4 倍。最大的提升体现在容量方面。在 2 秒 P99 目标下,配备 GraphTok 的单个 Dynamo 前端可持续处理 518 个请求/秒、每个请求包含 12.1 万个 token 的流量,相当于高峰时段 56 个 GPU 的负载;相比之下,使用 gigatoken 时为 296 个请求/秒,使用默认分词器时仅为 18.5 个请求/秒。在 12.1 万至一百万个 token 的范围内,其可承载负载是 gigatoken 的 1.75–2.5 倍;在 gigatoken 的尾延迟失控的情况下,P99 最多可降低 64 倍。

arXiv cs.LG81

DualQuant:面向 LLM 的双尺度免校准权重与激活量化

arXiv:2610.13767v1 公告类型:新稿 摘要:在原生支持 4 位运算的加速器上进行低比特推理,需要同时量化权重和激活,才能充分发挥这些格式带来的吞吐量优势。尽管训练后权重量化已得到广泛研究,激活量化仍然更具挑战性,且通常需要校准数据。在本研究中,我们提出 DUALQUANT,一种双尺度、免校准的训练后量化框架,可直接最小化权重重构均方误差(MSE),并由此直接得到用于激活量化前的逐通道激活重缩放因子。我们的关键观察是,通过最小化权重重构误差获得的缩放因子能够有效地对激活进行重缩放,从而无需校准数据即可实现具有竞争力的激活量化。我们将 DUALQUANT 表述为一个不可微的权重重构问题,并基于变量分裂和块坐标下降开发了一种高效求解器,其中每个子问题均具有闭式更新解。DUALQUANT 提供了一种统一算法,支持包括完整 MX 系列和 NVFP4 在内的多种格式。据我们所知,DUALQUANT 是首个正式支持 MX 和 NV 块格式的双重缩放方法。在 WikiText-2、C4 和零样本下游任务上对 Llama 和 Qwen 模型的评估表明,DUALQUANT 在大多数模型和格式上的精度达到或超过了基于校准的 SmoothQuant,并显著优于免校准基线方法,尤其在 MX 和 NV 块格式上取得了大幅提升。我们在 RTX 4090 上,使用针对 Llama-3.1-8B 的实际打包 W4A4 推理路径验证了这些收益。该实现的精度与伪量化非常接近,同时相较于 BF16,内存占用最多降至约 1/2.61,吞吐量最高提升至 2.46 倍。

arXiv cs.LG67

In-Context Learning for System Identification: Probabilistic Formulation, Long-Sequence Handling, and Benchmark Validation

arXiv:2610.13411v1 Announce Type: new Abstract: Traditional system identification typically involves two steps: initially, training data is processed to estimate a model of the system of interest; then, the model is used to predict outputs for new input queries. In contrast, recent in-context learning approaches learn a meta model that maps directly from training data and query inputs to outputs in a zero-shot fashion, bypassing explicit model estimation. This approach leverages a meta model trained offline, on large sets of synthetically generated data, to emulate the behavior of a system identification algorithm. In this work, we advance this meta-learning framework for system identification in three directions. First, we develop a unified probabilistic meta-identification architecture that combines a Transformer-based encoder-decoder with tailored mechanisms for handling long training sequences, enabling calibrated predictions over long horizons. Second, we show how a pre-trained meta model can act as an uncertainty-aware synthetic data generator for classical system identification, providing task-specific data that regularize parametric models when real data are scarce. Third, we systematically evaluate the framework on standard nonlinear system identification benchmarks and on a challenging out-of-distribution scenario, demonstrating competitive accuracy with state-of-the-art methods and strong generalization, including cases where input-only adaptation is sufficient to handle significant distribution shifts.

arXiv cs.LG75

CAST:跨分词器同策略蒸馏的信用对齐

arXiv:2610.13257v1 公告类型:新论文 摘要:跨分词器同策略蒸馏(OPD)需要先对齐教师与学生的序列,才能比较二者的评分。解码文本对齐在文本块层面建立了这种对应关系,但仍有一个独立问题尚未解决:信用对齐。块级信号指明一个文本片段应当改变多少,却未说明该信号应如何分配到学生的各个词元上,而没有教师对应项的词元则仍然不受约束。我们提出 CAST(Chunk-aware credit Assignment with Selective Token Anchoring),这是一种“改变或保持”框架,可同时解决上述两个问题。对于已对齐的文本块,CAST 利用预测不确定性和局部教师信号的平滑性,将每个块的优势值重新分配到学生词元上,在保持该块总优势值不变的同时,重点关注由局部一致的教师反馈所支持的学习机会。由此得到的权重恰好是一个 KL 正则化信用分配问题的精确解。对于未对齐的位置,CAST 通过 KL 惩罚项选择性地将学生锚定于其初始策略,从而在缺乏教师监督的位置限制策略漂移。由于信用分配与文本块构建相互分离,CAST 也适用于共享分词方式下按标点划分或固定长度的文本块。在六项数学、科学和代码基准测试中,对于从 Qwen3-8B 到 Mistral-7B 和 Llama-3.1-8B 的跨分词器迁移,CAST 的平均得分相较于所评估的最强基线分别提高了 $2.45$ 和 $1.32$ 分;对于到 Qwen3-1.7B 的共享分词器迁移,则提高了 $2.10$ 分。

arXiv cs.LG64

Human and LLM Facilitation in Collaborative Design Meetings: A Computational Behavioral Comparison

arXiv:2610.13082v1 Announce Type: new Abstract: Large language models (LLMs) are increasingly being explored as facilitators of group discussion and collaborative work, but the behavioral differences between LLM-generated and human facilitation remain insufficiently characterized. We compare human Project Manager facilitation turns from scenario-based collaborative design meetings with Llama 3.1 8B Instruct responses across 199 paired contexts from the AMI Meeting Corpus. The analysis covers five confirmatory dimensions: contextual semantic distance, a lexical elaboration proxy, empathyand-hedge lexical density, topic divergence, and phase-vocabulary alignment. An exploratory directiveness measure failed domain validation and is not interpreted. The sampled human Project Manager turns were higher on contextual semantic distance (r = 0.644) and on empathyand-hedge lexical density (r = 0.203). The second contrast is carried mainly by hedge terms, so we read it as lexical hedging rather than psychological empathy. Llama-generated facilitation was higher on topic divergence (r = 0.703), the lexical elaboration proxy (r = 0.288; lengthconfounded), and instruction-conditioned phase-vocabulary alignment (r = 0.382). A secondary no-phase check left the Llama-higher phase contrast in place. The system prompt still requested a facilitation move, so that check is not evidence of spontaneous phase awareness. These differences should not be interpreted as a ranking of facilitation quality. The resulting behavioral profile provides a reference point for later comparisons of LLM facilitators, human facilitators, prompts, models, and collaborative settings.

arXiv cs.LG75

元反思进化有效提升生产环境 AI 系统性能

arXiv:2610.12794v1 公告类型:新论文 摘要:大语言模型(LLM)引导的进化优化已成功改进提示词、程序,乃至整个 AI 系统。大多数优化方法从搜索前沿选择一个候选方案,然后仅依据其失败情况,通过单次 LLM 调用对其进行变异。这种对搜索前沿的聚焦可能使生产环境 AI 系统的优化陷入停滞,因为孤立的失败很难揭示复杂的隐性交互。我们提出 CoCoEvolve(Cortex Code Evolve),这是一种围绕我们所称的“元反思”构建的进化优化器:智能体式变异器(Cortex Code)选择性地从整个进化历史中检索证据,并探查实际运行的系统,然后验证并提出变异方案。我们将 CoCoEvolve 应用于三类生产环境 AI 系统的优化:数据智能体、LLM 驱动的数据流水线和数据工程工作流。在 DABStep 上,CoCoEvolve 位居公开排行榜榜首,在留出的高难度测试集上达到 92.8% 的准确率,而在相同条件下,Meta-Harness 和 GEPA 的准确率分别为 78.4% 和 30.4%。在六项 LLM 数据流水线工作负载中,它均优于所有接受评估的基线。在 data-eng-bench 上,CoCoEvolve 将测试集求解率从 59.1% 提升至 77.4%,超过了最佳基线的 73.6%。它在 HotpotQA 上的准确率也比 GEPA 高出 11 个百分点,同时在成熟的数学和系统基准测试上仍可与专用优化器保持竞争力。同等条件下的消融实验确认,CoCoEvolve 的每个组件都对这些提升有所贡献,体现了元反思在优化生产环境 AI 系统方面的价值。

arXiv cs.LG63

Neural expectation-maximization and meta-models

arXiv:2610.12741v1 Announce Type: new Abstract: We interpret Transformer networks as learned approximations to a hybrid probabilistic-inference procedure that combines max-product Loopy Belief Propagation (LBP) with Expectation--Maximization (EM). In this view, a Transformer performs inference in partially observed Markov Random Fields (MRFs) whose structure and parameters are not given a priori but are inferred from data. We show that self-attention implements a differentiable approximation to max-product LBP on an input-conditioned, dynamically structured MRF, with attention weights encoding learned structural affinities. We further establish an EM correspondence at the level of depth: each layer updates latent representations in an E-step-like forward pass, while the transition $\theta^{(l)} \to \theta^{(l+1)}$ across layers acts as an implicit M-step. Building on this interpretation, we introduce \emph{meta-models}, a design paradigm in which inputs generate instance-specific parameters, unifying mechanisms such as self-attention, mixture-of-experts, and gated units within a single framework. Empirical results support the proposed perspective.

arXiv cs.LG65

Byzantine-Resilient Federated Large Language Model via Hypergraph Message Passing

arXiv:2610.12711v1 Announce Type: new Abstract: Federated Large Language Models (FedLLMs) are promising to deliver privacy-preserving, collaborative intelligence. The decentralized training process is vulnerable to Byzantine attacks that corrupt semantic consistency and factual resilience through malicious model updates. This paper presents a new resilience strategy that prevents semantically corrupted knowledge from propagating during federated aggregation. A defense problem is formulated to jointly maximize global accuracy and suppress manipulated model updates, enabling trustworthy knowledge aggregation without accessing private local data. To strengthen the resilience of FedLLMs, we develop a novel Hypergraph Message Passing Graph Autoencoder (HMP-GAE) framework, where low-rank model updates are represented as nodes in a hypergraph and high-order semantic relationships among multiple agents are exploited through iterative message passing. By leveraging historical checkpoints and cross-agent relational reasoning, HMP-GAE identifies and suppresses semantically inconsistent updates while preserving knowledge alignment among agents throughout federated training. HMP-GAE is implemented using Qwen-2.5 and Llama-3.2 as pretrained FedLLM backbones and evaluated on AG News and Yahoo! Answers datasets. Compared to existing defenses, HMP-GAE improves global accuracy by $1.21$\%, reduces final-model classification semantic entropy by $44.08$\%, and lowers perplexity by $13.34$\%. HMP-GAE outperforms the GAE-based defense by improving the accuracy $1.39$\%, reducing the semantic entropy by $54.5$\%, and lowering perplexity by $35.5$\%.

arXiv cs.AI82

DualQuant:面向大语言模型的双尺度免校准权重与激活量化

在原生支持 4 位运算的加速器上进行低比特推理,需要同时量化权重和激活,才能充分实现这些格式带来的吞吐量提升。尽管训练后权重量化已得到广泛研究,但激活量化仍然更具挑战性,且通常需要校准数据。在本研究中,我们提出 DUALQUANT,一种双尺度、免校准的训练后量化框架。该框架直接最小化权重重构均方误差(MSE),并由此直接得到激活量化前的逐通道激活重缩放系数。我们的关键观察是,通过最小化权重重构误差得到的缩放因子能够有效地对激活进行重缩放,从而在无需校准数据的情况下实现具有竞争力的激活量化。我们将 DUALQUANT 表述为一个不可微的权重重构问题,并基于变量分裂和分块坐标下降开发了一种高效求解器,其中每个子问题都具有闭式更新解。DUALQUANT 提供了一种统一算法,支持包括完整 MX 系列和 NVFP4 在内的多种格式。据我们所知,DUALQUANT 是首个正式支持 MX 和 NV 块格式的双缩放方法。在 WikiText-2、C4 和零样本下游任务上对 Llama 和 Qwen 模型的评估表明,DUALQUANT 在大多数模型和格式上的准确率达到或超过了基于校准的 SmoothQuant,并显著优于免校准基线方法,在 MX 和 NV 块格式上尤其取得了大幅提升。我们在 RTX 4090 上通过 Llama-3.1-8B 的真实打包 W4A4 推理路径验证了这些提升。最终实现的准确率与伪量化非常接近,同时相较于 BF16,内存占用最高降至其 1/2.61,吞吐量最高提升至其 2.46 倍。

arXiv cs.AI70

In-Context Learning for System Identification: Probabilistic Formulation, Long-Sequence Handling, and Benchmark Validation

Traditional system identification typically involves two steps: initially, training data is processed to estimate a model of the system of interest; then, the model is used to predict outputs for new input queries. In contrast, recent in-context learning approaches learn a meta model that maps directly from training data and query inputs to outputs in a zero-shot fashion, bypassing explicit model estimation. This approach leverages a meta model trained offline, on large sets of synthetically generated data, to emulate the behavior of a system identification algorithm. In this work, we advance this meta-learning framework for system identification in three directions. First, we develop a unified probabilistic meta-identification architecture that combines a Transformer-based encoder-decoder with tailored mechanisms for handling long training sequences, enabling calibrated predictions over long horizons. Second, we show how a pre-trained meta model can act as an uncertainty-aware synthetic data generator for classical system identification, providing task-specific data that regularize parametric models when real data are scarce. Third, we systematically evaluate the framework on standard nonlinear system identification benchmarks and on a challenging out-of-distribution scenario, demonstrating competitive accuracy with state-of-the-art methods and strong generalization, including cases where input-only adaptation is sufficient to handle significant distribution shifts.

The Verge AI69

AI agent makers are promising privacy — will they deliver?

At this year's OpenAI DevDay, CEO Sam Altman unveiled the company's new AI agent Dots - and told the crowd that the company wants to "set a new standard for privacy in frontier AI." OpenAI would spend the day taking veiled shots at Meta's Muse, its primary competitor, for failing to keep users' data safe. […]

arXiv cs.LG77

真相从未消失:合规上下文真值探针中的完美别名

arXiv:2609.10739v2 公告类型:替换 摘要:有人提出使用从语言模型激活中解码真相的线性探针来监测欺骗;而当一个经过欺骗训练的模型上的真值探针得分低于随机水平时,人们自然会将其解读为模型隐藏了真相,或不再表征真相。我们表明,拟合标签歧义也能产生相同的读出结果。在一个受控博弈中,模型应向盟友报告一个秘密比特,向对手报告其补码。在合规(盟友)上下文中,真实比特与任务规定的答案是相同的标签,因此,在这些上下文上拟合的探针无法判断自己测量的是二者中的哪一个。我们将这种完全一致称为完美别名。在对手上下文中,这些标签互为补码,因此,一个在盟友上下文上拟合的探针分别针对这两个标签进行评分时,其对手 AUROC 之和为 1。将盟友和对手上下文结合起来进行混合拟合,会使两个标签产生差异;随机化的输出编码表也会使任务规定的答案与输出字母解耦。对于一个经过奖励训练、在所有评估的对手试验中都给出虚假答案的 Gemma-2-9B 策略,在最终层上,盟友拟合的探针 AUROC 为 $0.006 \pm 0.005$(三个 RL 训练随机种子上的均值 $\pm$ 样本标准差),而在相同留出激活上,混合拟合的探针得分为 1.000。混合拟合还使用了更多样本和带标签的对手数据,因此这表明真实比特仍可被线性恢复,而不是说明仅仅分离标签就能解释性能提升。在遵循指令的 Llama-3.1-8B 中,在一个提示变体上重新拟合的探针,以及一个从参考变体中获得并冻结的探针,在留出的盟友数据上准确率都为 1.000,但在相同试验上的对手真值 AUROC 分别为 0.080 和 0.986。我们的主要实验使用一种单一令牌的博弈,其中提示词明确给出了该比特,因此恢复出的方向可能读取的是模型保留的一份副本;而在模型必须推断该比特的情况下,没有任何受测实验条件能稳定地产生欺骗。我们研究的是探针测量了什么,而不是模型是否使用了这些信息。

arXiv cs.LG81

Inference-Time Machine Unlearning via Gated Activation Redirection

arXiv:2605.12765v4 Announce Type: replace Abstract: Large Language Models (LLMs) memorize vast amounts of training data, raising concerns regarding privacy, copyright infringement, and safety. Machine unlearning seeks to remove the influence of a targeted forget set while preserving model performance, ideally approximating a model retrained from scratch without it. Once an LLM is in use, every new request to make it forget specific content demands updating its weights. However, unlearning through parameter updates is expensive, hard to audit, and can be undone by quantization. We show that unlearning can be enforced entirely at inference time, without training, gradients, or weight changes. We introduce Inference-Time Unlearning via Gated Activation Redirection (GUARD-IT), a training- and gradient-free method that unlearns via input-dependent activation steering at inference time. GUARD-IT stores the content to be forgotten as a small library of activation directions, and during inference, it routes each query through a similarity gate that activates only for relevant directions and applies them as a norm-preserving rotation of the residual stream, while unrelated queries pass through the unmodified model. The same design carries across three model families and nine checkpoints from 0.8B to 8B parameters, and new forget requests are absorbed by one offline pass of forward passes. On TOFU, against 16 gradient-based and inference-time baselines, and on MUSE and WMDP, GUARD-IT forgets without breaking the model, and on TOFU it is the only method that suppresses memorization in every Llama configuration without collapsing: it keeps utility and fluent generation in every configuration, moves the model's output distribution closest to a model that never saw the forgotten data on the forget01 split, survives 4- and 8-bit quantization and ten sequential forget requests, and holds under jailbreak attacks.

arXiv cs.LG76

3BASiL:LLM 稀疏加低秩压缩的算法框架

arXiv:2603.01376v2 公告类型:替换 摘要:大型语言模型(LLM)的稀疏加低秩($\mathbf{S} + \mathbf{LR}$)分解已成为模型压缩领域一个颇具前景的方向,旨在将预训练模型权重分解为稀疏矩阵与低秩矩阵之和($\mathbf{W} \approx \mathbf{S} + \mathbf{LR}$)。尽管近期取得了进展,现有方法相比稠密模型通常会出现显著的性能下降。在本文中,我们提出了 3BASiL-TM,这是一种高效的单次训练后处理方法,用于对 LLM 进行($\mathbf{S} + \mathbf{LR}$)分解,旨在弥合这一差距。我们首先提出了一种新颖的三块交替方向乘子法(ADMM),称为 3BASiL,在具备收敛保证的情况下最小化逐层重构误差。随后,我们设计了一个高效的 Transformer 匹配(TM)细化步骤,在 Transformer 层之间联合优化稀疏与低秩组件。该步骤最小化一种新颖的内存高效损失,使输出在 Transformer 层面实现对齐。值得注意的是,TM 过程具有通用性,因为它能够增强任何($\mathbf{S} + \mathbf{LR}$)分解,包括纯稀疏分解。数值实验表明,在(2:4 Sparse + 64 LR)配置下,与已有方法相比,3BASiL-TM 将相对于稠密 LLaMA-8B 模型的 WikiText2 困惑度差距缩小了 30% 以上。此外,与当前最先进的($\mathbf{S} + \mathbf{LR}$)方法相比,我们的方法在 A100 GPU 上实现了超过 2.5 倍的压缩运行速度提升。我们的代码可在 https://github.com/mazumder-lab/3BASiL 获取。

arXiv cs.LG79

信任、不信任,还是反转:基于多专家反馈的鲁棒偏好强化学习

arXiv:2601.18751v2 发布类型:替换 摘要:基于偏好的强化学习(PBRL)通过学习成对的轨迹比较,为显式奖励工程提供了一种很有前景的替代方案。然而,现实世界中的偏好数据通常来自可靠性各异的异构标注者;其中有些准确,有些嘈杂,还有些具有系统性的对抗性。现有的 PBRL 方法要么平等对待所有反馈,要么试图过滤掉不可靠来源,但当面对系统性提供错误偏好的对抗性标注者时,这两种方法都会失效。我们提出 TriTrust-PBRL(TTP),这是一个统一框架,能够根据多专家偏好反馈联合学习共享奖励模型和专家特定的信任参数。其核心洞见是,在基于梯度的优化过程中,信任参数会自然地演化为正值(信任)、接近零(忽略)或负值(反转),从而使模型能够自动反转对抗性偏好并恢复有用信号,而不仅仅是丢弃受污染的反馈。我们给出了建立可辨识性保证的理论分析,以及详细的梯度分析,解释了训练过程中专家区分如何在没有显式监督的情况下自然产生。在实证方面,我们在涵盖操作任务(MetaWorld)和运动控制(DM Control)的四个多样化领域中,在各种污染场景下评估了 TTP。TTP 实现了当前最先进的鲁棒性:在对抗性污染下仍保持接近理想情形的性能,而标准 PBRL 方法则会灾难性失效。值得注意的是,TTP 能够从同时包含可靠标注者和对抗性标注者的混合专家池中成功学习,性能优于现有基线;与此同时,除了用于身份识别的索引之外,它不需要任何专家特征,并且能够与现有 PBRL 流程无缝集成。

arXiv cs.LG76

通过合成模型生成实现近乎最优可解释模型的可扩展元学习

arXiv:2511.04000v2 公告类型:替换 摘要:由于具有可解释性,决策树广泛应用于金融和医疗保健等高风险领域。本文提出了一种高效且可扩展的方法,用于生成合成预训练数据,从而实现决策树的元学习。我们的方法以合成方式采样近乎最优的决策树,创建大规模且逼真的数据集。借助 MetaTree Transformer 架构,我们证明了该方法能够达到与使用真实世界数据进行预训练或使用计算成本高昂的最优决策树进行预训练相当的性能。该策略显著降低了计算成本,提高了数据生成的灵活性,并为可扩展、高效地对可解释决策树模型进行元学习铺平了道路。

arXiv cs.LG76

AdaSwitch:一种用于有界影响问题的自适应切换元算法

arXiv:2509.02302v2 公告类型:替换 摘要:我们研究一类历史相关的在线问题,其中对未来请求序列的预测可能并不准确。受多个现实世界应用的启发,我们引入了一个“有界影响”框架,在该框架中,过去的决策和请求对未来最优值的影响仅限于一个有界范围内。在此框架下,我们开发了 AdaSwitch,这是一种能够在适当的离线预言机和在线预言机之间自适应切换的元算法。AdaSwitch 对期望性能提供了明确的保证,并且随着预测误差减小或离线最优值增大,这些保证会变得更加严格。当预测完全准确时,随着离线最优值增大,其保证将趋近于离线预言机的保证。在任意预测下,它还保留了接近在线预言机的最坏情况保证。在线提前期报价、$k$-server 与缓存,以及在线可复用资源分配等应用表明,该框架既适用于奖励最大化,也适用于成本最小化。

arXiv cs.LG79

海报:LLM 蒸馏推断的初步研究

arXiv:2610.12137v1 发布类型:cross 摘要:未经授权的模型蒸馏,即利用专有大型语言模型(LLM)的输出训练模型,正日益成为模型提供商面临的威胁。我们研究蒸馏推断:判断一个可疑模型是从另一个模型蒸馏得到的,还是独立训练得到的。我们将这一问题表述为假设检验,并通过训练影子模型来估计每个假设下的预期行为:蒸馏影子模型从教师模型的推理轨迹中学习,而独立影子模型仅从参考答案中学习。审计者衡量每个模型对教师模型推理输出的预测接近程度,然后利用影子模型将可疑模型的得分转换为经过校准的 p 值。在一项以 Qwen2.5-7B 为教师模型、以 Llama-3.2-3B 为可疑模型的初步研究中,我们的检验在显著性水平为 0.02 时达到了 1.0 的真阳性率。这些结果表明,利用蒸馏推断检测蒸馏攻击是可行的。

arXiv cs.LG75

在介电 Fourier 空间中跨超表面族学习 qBIC 共振

arXiv:2610.11500v1 公告类型:cross 摘要:连续谱中的束缚态(BIC)超表面通常采用特定于几何结构的参数进行描述,这阻碍了跨几何结构比较;与此同时,在全光谱学习中,超窄带 qBIC 特征很容易被稀释。本文将来自七个介电超表面族的2015个样本映射到统一的倒易晶格网格上,其中两个冻结的低阶 Fourier 通道能够捕捉共振偏移,其分支内平均 $R^2$ 值为0.871–0.999。对两个代表性分支进行的场级分析进一步证实,这些偏移与 Maxwell-Fourier 微扰图景一致。一个五通道 K-space 主干网络对宽带光谱进行建模,同时局部复数 K-space 专家通过可微分 Fano 层对 qBIC 共振进行参数化。在几何结构隔离的测试集上,该专家将共振位置的平均绝对误差(MAE)从3.2 nm降至0.95 nm,并将共振深度误差降低了14倍。相同的坐标还支持从光谱到结构的重建。

arXiv cs.LG83

RaReCache: Bridging the Gap in Cross-Model KV Cache Reuse via Rank disagreement-based Selective Recomputation

arXiv:2610.11358v1 Announce Type: cross Abstract: Cross-model KV-cache reuse remains a key challenge in modern LLM serving. Coding agents and multi-model systems increasingly route a shared context across models: a user may switch models mid-session, or a cascade may escalate a difficult query. Because KV caches contain model-specific representations, each switch typically forces the receiving model to prefill the entire context from scratch. Recent work shows that closed-form linear maps can translate KV caches between models in the same family, but transfer accuracy degrades as the model-size gap widens. In this paper, we establish that these transfer failures are concentrated in a small subset of information-dense tokens. To bridge this gap, we introduce RaReCache, a framework that enables a large target model to decode accurately from a cache prefilled by a much smaller source via selective recomputation. RaReCache identifies these critical positions using a novel rank disagreement metric, scoring each token by the energy of its mapped KV in output directions weakly supported by the calibration data. Across two model families and five benchmarks, on a 23x parameter gap (Qwen3-0.6B to 14B) recomputing just 30% of positions retains 95-99% of the target accuracy, whereas on a 8.8x gap (Llama3-8B to 70B), recomputing 40% retains 96.5% of the target accuracy. RaReCache largely removes sensitivity to source-model size, and achieves up to a 3.04x prefill speedup. For online serving, it handles 1.8x the request throughput of target prefill on a single GPU, and at the target's saturation load, reduces median and 99th-percentile time-to-first-token (TTFT) by 5.0x and 6.4x respectively, with a 30% recompute budget. RaReCache establishes an efficient serving paradigm where small models prefill on behalf of massive targets, enabling large models to recompute only critical tokens, drastically reducing prefill latency.

arXiv cs.LG73

LadderEdit:面向LLM高效终身编辑的编辑级残差压缩

arXiv:2610.11160v1 公告类型:cross 摘要:LLM的终身编辑需要在完成获取后存储数千次编辑。一类广泛使用的方法是为每次编辑附加一个LoRA适配器,这能够保持模型行为,但存储量会线性增长。为应对这一挑战,我们提出LadderEdit,一种在获取每个LoRA适配器后对其进行压缩的方法。每次编辑首先以低秩形式存储,作为低成本的草图。随后,我们在探测提示上检查该草图是否仍满足改写、泛化和局部性约束。通过检查的编辑保留草图;未通过的编辑则沿着秩梯级提升至更高秩,直至满足约束。由于每次编辑都保留了一定的表示,覆盖范围得以维持,只有困难编辑会消耗更多秩。在LLaMA-3-8B、Mistral-7B和Qwen2.5-7B上的ZsRE、CounterFact和WikiBigEdit基准测试中,LadderEdit在内存占用减少5.2倍的情况下达到与完整LoRA存储相当的效果,并且在连续进行50,000次编辑时仍保持有效。

arXiv cs.LG83

NOMOS: Compiling Written Policies into Statically Verified Tool-Call Gates for LLM Agents

arXiv:2610.11030v1 Announce Type: cross Abstract: Tool-using LLM agents violate the policies they are deployed to enforce, often silently. Prior defenses hand-write rules, query an LLM verifier per action, or compile policies through heavyweight formal machinery. Naive compilation fails: extracted rules block the tool satisfying their own precondition, or read arguments their tool lacks. NOMOS, a four-pass compiler, turns a natural-language policy into a deterministic tool-call gate; static verification with tool-schema-level checks alone (no prover, solver, or LLM) repairs or rejects 37% (airline) and 13% (retail) of candidates, without which most shipped rules are inoperable. Replaying compiled rules over undefended transcripts flags bindings that refuse legitimate work (a development binding refused 95.9% of task-passing calls); no evaluation binding is flagged. On $\tau^2$-bench the gate cuts violations of reference-encoded clauses among state-changing calls from 66.3% to 2.6% (airline) and 30.8% to 6.9% (retail), raising airline task success significantly for $2 \le k \le 4$; a 26B on-premise compilation is not significantly worse than hand-written or frontier-compiled rules. Unlike AgentDojo's shipped defenses, it reaches a zero attack success rate (ASR) on banking, where nine attack families collapse onto three structural rules. On the other three suites its ASR is at most 3.6%, from goals with no tool call to govern and one write admitted by a binding weaker than its clause; a second agent model, Llama-3.3-70B, reproduces the effect on both benchmarks. Decisions take microseconds without an LLM call, at a domain-dependent benign-utility cost; compilation runs on-premise on open-weight gemma-4-26B.

arXiv cs.LG78

BEANS-Next and ROOTS: Broadening Audio-Language Capabilities for Bioacoustics

arXiv:2610.10663v1 Announce Type: cross Abstract: Bioacoustics and ethology encompass a wide range of audio understanding tasks, many of which stand to benefit from recent advances in large audio-language models. However, progress in the field has so far been assessed on a narrow set of tasks, primarily centered on label-centric biological category recognition, such as species and call-type classification. In this work, we introduce BEANS-Next, a benchmark grounded in a taxonomy of bioacoustics tasks spanning acoustic perception, biological category recognition, scene understanding, and in-context learning. Using BEANS-Next, we show that existing models exhibit limited performance beyond the task families emphasized by existing evaluations, constraining their usefulness for broader bioacoustic applications. To support progress on this broader task space, we also introduce ROOTS, a large-scale training resource built from expanded curated real-world data and previously underused behavioral and acoustic metadata, supplemented by audio-derived information and scalable synthetic generation where labeling is insufficient. We demonstrate that training on this dataset yields substantial progress across all task groups of BEANS-Next, moving audio-language models closer to their potential as general-purpose assistants for bioacoustics and ethology. To accelerate progress in the field, we open-source our benchmark, dataset, and data pipelines.

arXiv cs.LG77

Rounding in Preconditioner Space: Redesigning 4-bit AdamW Optimizer-State Quantization

arXiv:2610.12444v1 Announce Type: new Abstract: Quantizing AdamW's optimizer states reduces persistent storage, but quantization errors propagate through the moment recurrences and perturb subsequent adaptive updates. We redesign 4-bit optimizer-state quantization for AdamW from the perspective of \emph{rounding space}: the coordinate in which a quantizer chooses between adjacent reconstruction levels. For the second moment, a local analysis of the quantization cell adjacent to zero shows that small mean state error need not imply small mean preconditioner error at the next step. A one-dimensional quadratic construction further shows qualitatively different optimization dynamics under state-space and preconditioner-space rounding. These results motivate Zero-Inclusive Preconditioner-space Stochastic Rounding (\textbf{ZIP-SR}), which retains zero in the second-moment codebook and computes stochastic-rounding probabilities in preconditioner space. As a complementary route, Zero-Excluding EDEN calibration (\textbf{ZE-EDEN}) uses a zero-excluding second-moment codebook and rescales the quantized second-moment block to mitigate the preconditioner distortion caused by the positive quantization floor. Both configurations use 4-bit NormalFloat (NF4) for the first moment, with targeted stochastic rounding of the LM-head first moment during the final 10\% of training. Across GPT- and Llama-style pretraining experiments ranging from \textbf{130M} to \textbf{2.7B} parameters, both methods reduce TorchAO 4-bit AdamW's mean validation-loss gap to 32-bit AdamW at every evaluated model size, with the largest reported gap reduction reaching \textbf{70\%}. In full-parameter supervised fine-tuning, both recipes achieve lower validation loss than TorchAO while remaining close to 32-bit AdamW on downstream tasks.

arXiv cs.LG77

SparseDecoding:面向准确高效 LLM 推理的解码感知剪枝

arXiv:2610.12327v1 公告类型:新 摘要:大型语言模型(LLM)推理的解码阶段具有内存受限特性,会带来显著延迟。由 Hessian 引导的逐层免训练网络剪枝方法一直是解决这一问题的重要方案,因为剪枝能够减少解码过程中从内存读取的非零参数数量。然而,这类典型方法通常使用预先收集的自然序列计算 Hessian,而模型在解码过程中接收的是自行生成的 token,从而导致这两类序列之间出现分布偏移。在自然序列上计算得到的 Hessian 与在生成序列上计算得到的 Hessian 并不相同。我们观察到,这种差异会使生成过程中的激活分布偏离用于剪枝的激活分布,进一步降低剪枝模型的性能。此外,现有大多数能够带来实际加速的 LLM 剪枝方法主要针对稀疏矩阵-矩阵(SpMM)乘法,而对在解码过程中占主导地位的稀疏矩阵-向量(SpMV)运算支持有限。为解决这些问题,我们提出 SparseDecoding,这是一种面向准确高效 LLM 解码的原理性解码感知剪枝框架。具体而言,在算法层面,SparseDecoding 从稠密模型的自回归生成过程中收集逐层激活,并基于这些激活构建校准矩阵,同时排除 prefill 阶段,从而使剪枝目标与解码激活保持一致。在系统层面,我们开发了一种经过优化的 N:M 稀疏矩阵-向量内核,采用位掩码索引和固定步长遍历。针对代表性 LLM(Llama-3.1-8B、Llama-3.3-70B、Qwen3-14B / 32B)的大量实验证明,与标准固定文本校准相比,我们的方法在长文本生成基准测试中始终表现更优,并且在 A100 GPU 上实现了最高 1.48 倍的端到端实际解码加速。

arXiv cs.LG75

谱权重衰减:在神经网络权重中诱导低秩结构

arXiv:2610.11730v1 发布类型:新 摘要:标准权重衰减将每个权重矩阵视为向量,忽略了其谱结构。我们引入谱权重衰减,这是一种在参数更新步骤之后执行的解耦核范数更新,采用加法而非乘法的谱收缩。我们将该更新与近似近端下降联系起来,并表明,在接近秩亏的情况下,其对更新顺序的敏感性可能超过传统的 $\ell_2$ 权重衰减。在参数量从 $124$M 到 $500$M 的 LLaMA 模型上,谱权重衰减在验证损失相当的情况下降低了有效秩,并改善了 SVD-LLM 压缩效果。在 $500$M 参数规模和 $4\%$ 的失真预算下,该方法实现了 $1.89\times$ 的压缩率和 $1.18\times$ 的 GPU 推理加速,而标准权重衰减后的结果分别为 $1.14\times$ 和 $1.01\times$。在固定训练时长且标签噪声率为 $60\%$ 的训练设置下,相较于匹配的 $\ell_2$ 正则化,该方法还提升了最终平均干净测试准确率:在 MNIST 上最高提升 $17.8$ 个百分点,在四个 BERT-base 任务上提升 $4.6$ 个百分点。代码可在 https://github.com/brain-lab-research/SpectralWD 获取。

arXiv cs.LG73

Beyond Action Entropy: Quotient-Space Exploration for Genome-Scale Metabolic Model Repair

arXiv:2610.11627v1 Announce Type: new Abstract: Repairing scientific models from functional observations differs fundamentally from supervised prediction: feedback may certify a solution without revealing which structural correction is responsible. We study this setting for genome-scale metabolic model (GEM) repair, where multiple reaction edits can explain the same phenotypes and many apparently distinct edits correspond to the same biological mechanism. This many-to-one structure creates a hidden failure mode for conventional exploration: diversity in the output space need not translate into diversity of scientific hypotheses. We introduce QuotientPO, which collapses equivalent repairs into canonical mechanisms and optimizes exploration directly over the resulting quotient space. To make quotient exploration informative under finite rollouts, we derive a kernelized R\'enyi estimator that resolves graded crowding among distinct repair cores beyond coarse exact-match counts. On 2,212 held-out GEMs, QuotientPO improves Success@32 from 17.93% to 20.10% (+12.1% relative) while consistently increasing distinct successful-core discovery under the same sampling budget. These results establish quotient-space exploration as a principled approach to mechanism-level discovery under verifier-induced equivalence.

arXiv cs.LG73

$C_4$-Equivariant Flow Matching on Anisotropic Power-Diagram Graphs for Microstructure Generation

arXiv:2610.11549v1 Announce Type: new Abstract: Acquiring realistic microstructure data through Electron Backscatter Diffraction (EBSD) is costly and time consuming, often relying on specialised equipment. As microstructures strongly influence material properties, generating realistic samples is essential for modelling the behaviour of polycrystalline materials. We introduce a generative model for synthesising realistic polycrystalline microstructures using flow matching and graph neural networks. By representing microstructures as anisotropic power diagrams, our model learns a compact geometric parametrisation and can render generated samples at arbitrary pixel resolution. A $C_4$-equivariant architecture incorporates rotational symmetry directly into the model, ensuring that rotations of the input noise produce corresponding rotations of the generated microstructure. We also demonstrate how training-free guidance can be used to generate complex microstructures, based on user defined objective function. In particular, we generate microstructures resembling a copper weld, cast metal slab, 3D-printed stainless steel and heterogeneous lamella titanium.

arXiv cs.LG71

Neuro-Memory Fuzzy Inference System for Mimicking Human-like Car Following Behavior

arXiv:2610.11252v1 Announce Type: new Abstract: This study presents the Neuro-Memory Fuzzy Inference System (NeMeFIS), a hierarchical machine learning architecture that asymmetrically models acceleration and deceleration in car following behavior by integrating five human memory types procedural, working, episodic, semantic, and declarative. By linking external variables to memory functions via metaheuristics and validating them through factor and p-value analyses, NeMeFIS uncovers latent cognitive influences across Arterial, Collector, and Rural Highway corridors for different types of vehicles. Results from 54 different trained models emphasize cognitive thresholds shaped by driver perception limits and cognitive load. The trained NeMeFIS models outperform traditional statistical and conventional machine learning models in replicating realistic driving behavior, including comparisons with Linear Regression, ANFIS, and LSTM architectures. Fuzzy rule analysis reveals that declarative memory demands the highest rule, especially during deceleration, indicating complex braking decisions. Procedural memory drives acceleration, while semantic and declarative memory guide deceleration. Risk perception also emerges as a key factor, particularly on urban roads. Validated on both heterogeneous and homogeneous datasets, NeMeFIS offers a robust framework for modeling driver cognition. The findings support psychotherapeutic applications and the development of adaptive, human-like decision systems in Connected and Autonomous Vehicles (CAVs) to enhance traffic safety.

arXiv cs.LG78

Low-Cost Sensor Calibration for Indoor Air Quality Monitoring: A Dataset, Evaluation Scenarios, and a Lightweight Model

arXiv:2610.11236v1 Announce Type: new Abstract: Low-cost sensors enable scalable indoor air quality monitoring but require calibration because of nonlinear distortions, noise, and temporal drift. The conventional strict pairwise calibration setting requires a co-located reference sensor at each deployment location and does not account for spatial and temporal heterogeneity. To address these limitations, we introduce a six-month dataset comprising multivariate indoor air-quality measurements from low-cost and reference sensors with contextual metadata collected at five locations. Using this dataset, we define four evaluation scenarios. The reference-efficient and location-transfer scenarios evaluate spatial generalization, whereas the long-term drift and event-conditioned scenarios assess robustness to gradual and abrupt distribution shifts. Based on these scenarios, we derive design requirements and propose a lightweight temporal model that combines input-window compression with residual temporal and feature fusion. Experiments show strong calibration performance across all four scenarios with low edge-inference cost.

arXiv cs.LG78

Do LLMs Learn from Rewards in Context? : Rethinking the role of reward in In-Context Reinforcement Learning

arXiv:2610.11152v1 Announce Type: new Abstract: LLM agents increasingly improve at inference time by accumulating experience in context rather than by updating parameters. This process is often described as in-context reinforcement learning (ICRL). Whether in-context learning (ICL) can actually play the role of RL, however, has not been tested. We study this question in its simplest form, direct ICRL, where the model conditions directly on raw trajectory-reward pairs, and ask whether the reward acts as a learning signal. Through controlled experiments on four benchmarks across six models, we find that the reward is read, but its effect is small: flipping, randomizing, or removing the reward leaves the improvement curve almost unchanged, and this holds even under meta-prompts that explicitly instruct the model to explore, exploit, or reason over rewards. Trajectories drive improvement, but not through their semantic content: shuffled or corrupted trajectories work as well as real ones. These patterns closely mirror those known in ICL, suggesting that direct ICRL is better understood as a special case of ICL than as inference-time RL. This reframing has implications for agent memory design: ICL factors such as input distribution and demonstrations may matter more than RL elements such as reward shaping and exploration.

arXiv cs.LG68

DaCe-DT: Data-Centric Offline Multi-Task Reinforcement Learning via Adaptive Prompts and Trajectory Correction for Heterogeneous Tasks

arXiv:2610.11085v1 Announce Type: new Abstract: Offline multi-task reinforcement learning (Offline MTRL) heavily depends on the quality and distribution of pre-collected data. However, existing methods mainly focus on algorithmic optimization, with less emphasis on data-level improvements to enhance learning ability and generalization performance. This paper, from a data perspective, reveals three key bottlenecks that limit Offline MTRL performance:(i) ineffective utilization of prompts length under diverse task complexities, and (ii) semantic irrelevance of randomly sampled prompt segments, (iii) misleading supervision induced by fragmented and discontinuous trajectories. To address these challenges, we propose DaCe-DT, a robust offline MTRL framework designed to be insensitive to heterogeneous task complexities and data quality, featuring length-gated prompt masking (LGPM), retrieval-augmented prompt construction (RAPC), and value-adaptive return calibration (VARC). Together, these mechanisms enable DaCe-DT to deliver data-centric prompt adaptation and trajectory refinement, resulting in robust multi-task generalization and stable policy learning amid heterogeneous offline data and tasks. Experimental results on Meta-World show that DaCe-DT consistently outperforms state-of-the-art methods, achieving an average improvement of 11.73% on optimal datasets and an improvement of 13.34% on suboptimal datasets, demonstrating its effectiveness in learning stably from imperfect data and improving overall multi-task performance.

arXiv cs.LG66

SPD-MetaFormer is what you need for small-data brain decoding

arXiv:2610.10952v1 Announce Type: new Abstract: Brain signal decoding is challenging because neural recordings are noisy and vary across individuals, while labeled data are often limited. Recent attention-based models on the symmetric positive definite (SPD) manifold have nevertheless achieved strong performance using covariance and connectivity representations, yet the contribution of learned token weighting remains unclear. We examine two representative architectures, MAtt (based on log-Euclidean geometry) and GBWAtt (based on generalized Bures--Wasserstein geometry), and find that their learned attention weights remain close to uniform after training. We relate this behavior to bounded similarity parameterizations that, under the original softmax scaling, limit attention-weight contrast. Moreover, replacing learned weights with uniform weights, throughout training and evaluation, has little effect on mean predictive performance while preserving each model's original aggregation geometry. Motivated by these findings, we introduce SPD-MetaFormer, an attention-free architecture built on uniformly weighted Fr\'echet aggregation under log-Euclidean geometry. Its backbone uses a geodesic residual to update a summary token and a shared spectral feedforward map to transform all tokens, followed by a learned weighted readout. Token states remain SPD-valued until tangent-space classification. Across three EEG benchmarks, SPD-MetaFormer achieves competitive results relative to published Euclidean and manifold baselines. Separate matched reproductions test learned versus uniform weighting within MAtt and GBWAtt. These results suggest that, in the short-sequence and limited-data regimes studied, carefully designed SPD architectures can provide a simpler and effective alternative to adaptive manifold attention.

arXiv cs.LG79

Amortized Off-Policy Evaluation for LLMs

arXiv:2610.10848v1 Announce Type: new Abstract: Accurate evaluation is central to selecting which LLM to deploy, yet testing a candidate on live traffic exposes real users to an unvetted model. Teams therefore evaluate candidates offline, on data produced by already-deployed models. This is off-policy evaluation (OPE), and it faces two distribution shifts: as a model is updated in post-training, its responses diverge from the logged ones (policy shift), and the reward definition under which it is judged changes with business requirements (reward shift). Classical OPE methods are ill-suited to this continual-deployment setting because they are defined per task and require fitting from scratch on every new logged dataset or reward definition. To address this, we propose PFN-OPE, a prior-data fitted network that amortizes OPE across a distribution of contextual-bandit tasks. We pretrain it once on tasks constructed from a pool of LLM responses scored by several reward functions, in which both shifts occur. At test-time it maps a logged dataset and one sampled target response per prompt to a value estimate in a single forward pass, with no per-task fitting. On HelpSteer2 and UltraFeedback with Qwen, Llama, and Gemma policies, PFN-OPE achieves 2.0 to 9.3 times lower error than the best baselines across all tested configurations in the reward-shifted settings.

arXiv cs.LG74

MotherTree: Meta-learning on synthetic data improves decision tree training

arXiv:2610.10832v1 Announce Type: new Abstract: Conventional decision tree algorithms produce effective, transparent models that can be audited, communicated, and deployed independently of the training data, but require learning every new task from scratch. In contrast, tabular foundation models demonstrate that meta-learning from a synthetic prior distribution enables strong in-context prediction for previously unseen tasks, especially in small-sample regimes. However, this approach does not produce a standalone model that can be inspected in isolation. We introduce MotherTree, a tabular transformer that meta-learns decision tree induction: given a training set for a new task, it outputs a hard, axis-aligned decision tree, equivalent in form to classically trained trees, in a single forward pass. MotherTree is pre-trained on a synthetic prior using stochastic gradient descent without requiring reference trees for supervision. On established benchmarks with controlled sample size, the approach is competitive with size-matched trees from common algorithms: recursive partitioning, gradient-based tree learning, globally optimal trees, and distillation from tabular foundation models. Notably, MotherTree consistently improves over from-scratch gradient-based learning and acts as a strong initializer: task-specific tuning of the generated tree outperforms the corresponding from-scratch learner on all benchmarks and sample sizes. These results show that meta-learning can provide effective inductive biases for learning stand-alone, small decision tree classifiers.

arXiv cs.AI

Epistemic Disturbance in the Graph Model for Conflict Resolution: State-Preserving Actions, Four-Valued Assessments, and the Distinction between Capability and Intention

In the graph model for conflict resolution (GMCR), a decision maker (DM) either moves the conflict to another state or does nothing. The basic definitions leave inaction implicit, so every action that leaves the state unchanged is treated as doing nothing. Yet announcements, exercises, leaks and selective disclosures are neither moves nor inaction: they leave the state unchanged but change what other DMs believe about which moves are available and which moves others would want to make. We introduce such state-preserving actions by augmenting states with the DMs' epistemic states: a physical move changes the physical state, a state-preserving action changes only the epistemic state, and inaction is the absence of a transition. Actions generate evidence through observer-specific interpretation maps. Building on a four-valued extension of GMCR from the author's earlier work, which separates evidence for and against, we show that evidence for a move can only enable perceived moves and evidence against can only disable them, that two of the four reduction operators ignore one kind of evidence, and that contradictory assessments are absorbing under monotone accumulation. With the monotonicity of stability in move sets, this fixes the direction in which any action moves a DM's stability judgements and characterizes when actions can enable provocation or deterrence. Capability assessments affect all sanction-based stability concepts, and on the DM's own side also Nash stability, whereas intention assessments affect only sequential stability. Hedging between two candidate types weakly expands or shrinks an observer's sequentially stable set according to how it reads contradiction. In the 1995 DVD format negotiation, general metarationality cannot distinguish its phases, since the computer industry group could always sanction; sequential stability, which asks whether it would, can.

Hacker News 熱門72

Show HN:Pocketty – 当 agent 受阻时提醒你的 iPhone SSH 终端

你好~!Pocketty 是一款适用于 iPhone 和 iPad 的 SSH 终端,专为 herdr 打造。herdr 会让你电脑上的 agent 窗格持续运行,并了解每个窗格的状态:工作中、需要你的介入,或已完成。最近休陪产假的后半段时间里,我是在恼火和绝望中做出这个应用的。被宝宝午睡困住的时光很甜,但我能承受的无休止刷屏和看电影时间毕竟有限……无论如何,过去几个月我一直在使用它,现在终于不必守在书桌前也能保持高效。如今,被宝宝午睡困住的时候也能继续产出(只要我想)! 工作方式: - 应用通过普通 SSH 直接连接你的电脑。Tailscale 是从任何地方访问电脑的简单方式,但只要是你能连接到的 SSH 主机都可以。 - 主机上运行的一个小型 Rust 守护进程会监视 herdr。当某个窗格需要你处理时,它会使用 HPKE(X25519、ChaCha20-Poly1305)将提醒加密到你手机的密钥上。Cloudflare Workers 上的无状态中继(属于 Pocketty)会把加密后的字节传给 APNs(Apple 推送通知服务器),然后由通知扩展在手机上打开。中继无法读取这些内容,也不会保存任何东西。 - 你的 SSH 密钥会在 Secure Enclave 中生成,无法导出。 - 终端使用 libghostty-vt 管理状态,并通过 wgpu 在 Metal 上进行绘制,因此全屏 TUI 的显示效果和在电脑上一样,只是宽度更窄。 - 每个 agent 回合的差异、文件浏览器,以及 agent 启动的 `localhost` 开发服务器预览,都通过同一个 SSH 连接提供。无需设置端口转发。 herdr 和该守护进程都是可选的。不使用它们时,这就是一个普通的 SSH 客户端。无需注册账号,应用中也没有分析或跟踪功能。 应用提供 14 天免费试用,期间可使用全部功能。之后,如果你也像我一样喜欢它,只需一次性购买即可永久拥有:前两周为 99 美元(发布优惠价),之后为 129 美元。 欢迎询问任何关于加密推送设置或在 iOS 上运行 libghostty 的问题。 评论链接:https://news.ycombinator.com/item?id=50009634 分数:7 # 评论数:0

The Verge AI57

Can you trust Meta’s Muse or OpenAI’s Dots to run your life?

My Decoder guest today is Hayden Field, The Verge’s senior AI reporter, and we’re discussing the new wave of consumer-friendly AI agents. If you’ve been paying attention to this space, you know AI enthusiasts have been using agents for a minute now — homebrew OpenClaw setups led to a surge in Mac Mini sales earlier […]

arXiv cs.LG69

An RRAM-based Hardware Implementation of a Radial Basis Function Neuron for Edge Classifiers

arXiv:2606.14739v2 Announce Type: replace-cross Abstract: The deployment of modern machine learning (ML) solutions on resource-constrained edge devices highlights implementation challenges. This is especially true for extreme edge applications that include safety-critical components, such as autonomous navigation tasks. This paper demonstrates an artificial neural network (ANN) design leveraging Metal-Oxide Resistive RAM (RRAM) -based Analogue Content Addressable Memory (ACAM) as an efficient hardware substrate for performing metric-based classification and online adaptation on the edge. The proposed design is based on a custom Template piXeL (TXL) cell used for building the ACAM module, where each TXL cell acts as a configurable receptive field neuron. These cells employ a Radial Basis activation function to calculate the distance of an input from the programmed receptive field. The TXL can be organised into dense arrays for calculating the distance of a high-dimensional input against all stored prototypes, effectively performing fast and energy efficient similarity search. This hardware engine enables on-the-fly learning, where the receptive field parameters can be tuned to track domain shift. Through simulation of the proposed TXL-RBF classifier we can achieve 89.1\% accuracy on the MNIST dataset while consuming 185fJ per cell per operation when operating at 10MHz.

arXiv cs.LG83

再多走几步:为什么防御恶意微调的措施会在持续训练下失效

arXiv:2605.14605v3 发布类型:replace-cross 摘要:模型提供商越来越多地发布大型语言模型的权重。尽管这些模型在发布前已完成安全对齐,但通过使用有害数据进行微调,往往可以移除其安全防护。越来越多的防御措施旨在使对齐能够抵御此类恶意微调,但这些防御通常只针对具有固定训练预算的攻击进行评估,即使持有权重的攻击者可以简单地延长训练时间。我们考察了当前的防御措施能否抵御这种最简单的升级攻击。通过调查15种近期防御措施,我们发现它们存在一个共同弱点:每种防御都建立在对攻击者的有限模型之上,例如有界扰动、短时模拟攻击,或在有害行为与良性行为之间训练出的关联;而在权重发布后,没有任何机制能够强制维持这种保护。随后,我们在4个开放权重模型上测试了6种具有代表性的防御措施,将同一种仅使用有害数据的微调攻击持续训练3个epoch,并在此过程中测量有害性和能力。在全部72次防御实验中,模型在训练结束时的有害性都高于发布时;在最高学习率下,Llama-3.1上的防御模型最终几乎与未防御模型同样有害。这些防御措施的脆弱程度并不相同:其中一种防御在一个模型上将有害性维持在较低水平,而有些攻击只有在牺牲通用能力的情况下才能恢复有害性。当前的防御措施可以延缓或扰乱恶意微调,但在大多数情况下,其测得的抵抗能力无法在持续训练下保持,因此目前不应将其视为持久性的保护措施。

arXiv cs.LG84

Clean:通过 Nystr\"om Sketching 以线性内存成本进行二阶 LLM 训练

arXiv:2610.04204v2 公告类型:替换 摘要:训练大型语言模型(LLM)涉及一个根本性权衡:Adam 等内存高效的优化器会丢弃参数间的曲率信息,而 SOAP 等完整曲率方法虽然能够加速收敛,却需要高得令人难以承受的内存成本。我们提出了 Clean,这是一种内存高效且利用完整曲率的优化器,旨在解决这一瓶颈。Clean 利用随机化 Nystr\"om 方法,准确近似 SOAP 中的左右预条件器,并将优化器的内存复杂度从关于模型维度的二次复杂度降至线性复杂度。随后,我们重新整合子空间外分量,以捕获低秩近似之外的曲率信息,在极低内存成本下保留丰富的曲率信息。我们进一步提出了 Q-Clean,这是一种积极压缩优化器状态的低精度变体。在预训练 LLaMA-1.3B 架构时,与 Muon 相比,Q-Clean 将优化器内存消耗降低了 \textbf{50\% 以上},同时保持了强劲且具有竞争力的预测性能。值得注意的是,与标准 AdamW 相比,Clean 所需的优化器状态存储空间更小,同时仅用 \textbf{快 26\%} 的实际运行时间即可达到 AdamW 的最终性能。此外,我们的方法还独特地支持在单张 80GB GPU 上预训练一个 13B 参数模型,为大规模模型优化提供了一种可扩展、高效且易于使用的方案。

arXiv cs.LG78

面向惯性约束聚变预测的分解引导扩散语言模型

arXiv:2609.07756v2 公告类型:替换 摘要:惯性约束聚变(ICF)是实现清洁能源的主要途径之一,但 National Ignition Facility 的每次实验成本高达约一百万美元,因此,构建准确的 AI 代理模型具有极高价值。我们研究由外生变量驱动的 ICF 波形预测问题:在没有观测到任何历史响应的情况下,仅根据激光脉冲和靶丸设计参数,直接推断一个包含 512 个时间步的中子率诊断信号。该场景对标准时间序列预测器提出了严峻挑战,包括时间稀疏性(纳秒时间窗口中的皮秒级峰值)、输入输出规模不匹配(少于 300 次真实实验)以及峰值敏感性(皮秒级时序)。我们提出 ICF-DLM,据我们所知,这是首个基于 LM 的 ICF 预测器。该方法结合了:(i)按照物理意义进行分解,将目标划分为产额 $Y_{DT}$、峰值时刻 $t_{\mathrm{peak}}$ 和局部波形 $w_{\mathrm{local}}$;(ii)双向去噪,延后对峰值位置的确定;(iii)由物理驱动的 PPO 奖励,将指标结构重新注入数值词元中。在 ICFBench(50K 次模拟实验 + 232 次实验观测)上,相较于规模匹配的自回归 LLaMA-3-8B,ICF-DLM 将峰值时序误差从 11.6 个时间步降至 9.2 个时间步,并且优于经典序列模型和基于 LLM 的时间序列预测器。除 ICF 外,该方法也有望应用于数据量少且事件稀疏的科学领域。

arXiv cs.LG77

可解释性与元归因的元博弈

arXiv:2605.06295v2 公告类型:替换 摘要:如何从第一性原理出发,将任意归因方法推广到捕捉交互作用?我们通过元博弈回答这一问题:这是一个用于量化模型解释中二阶交互效应的概念框架。我们将特征 \(i\) 的归因值 \(\phi_i\) 视为其他特征之间的合作博弈,并计算其沙普利值,用以衡量特征 \(j\) 对特征 \(i\) 的归因产生多大影响,从而得到有向元归因 \(\varphi_{j \to i}\)。元归因不是直接分解模型,而是分解归因本身,因此能够将任意基于梯度或注意力的方法扩展到交互作用,同时统一基于移除的扰动与模型内部信息。从理论上看,我们证明了元归因之和等于其所解释的一阶归因;事实证明,沙普利交互和积分 Hessian 会隐式地执行这种层次化分解。在实证方面,我们展示了元归因在多种可解释性应用中的作用:(i)量化指令微调语言模型中的词元交互;(ii)解释视觉-语言编码器中的跨模态相似性;(iii)解读多模态扩散 Transformer 中的文本到图像概念。

arXiv cs.LG72

具有风险控制的安全元策略设计

arXiv:2610.10393v1 公告类型:交叉 摘要:随着新数据的到来,模型可以重新训练,但部署每个新版本都有可能用更差的策略替换原本良好的策略。我们研究如何在未来候选策略训练完成之前规划策略更新(即元策略),在改进带来的收益与性能退化的风险之间进行权衡。我们的离线元策略在预期更新次数预算的约束下,最大化预期累积价值,其中预算针对的是表现不如其所替代策略的更新次数。我们利用历史学习轨迹估计可能切换的价值与风险,将更新计划表示为有向无环图中的路径,并通过动态规划选择更新计划。最高阶分析表明,策略改进的信噪比是决定更新频率、等待时间和风险分配的关键因素:更明确的改进支持更早且更频繁的更新,而噪声更大的改进则需要更长的等待时间或投入更多风险预算。其渐近速率还揭示了随着时间推移,实现更高安全性的边际成本会逐渐降低。在合成数据和临床试验数据上的实验展示了性能与风险之间的权衡,并将我们的方法与其他替代基线进行了比较。

arXiv cs.LG63

GAGR-Lab: Evaluating Joint Spatial-Geometric and Analytic Function Reasoning

arXiv:2610.10201v1 Announce Type: cross Abstract: Joint spatial-geometric and analytic function reasoning requires translating a perceived spatial configuration into a symbolic function whose executed curve satisfies geometric constraints. We present GAGR-Lab, a framework for measuring this capability through Cartesian game scenes, explicit function semantics, and authoritative Rust trajectory execution. It distinguishes spatial perception, metric grounding, geometric relations, function interpretation, function construction, and constrained synthesis. We specify four configurable scene-difficulty presets and a prospective 24-cell diagnostic design, while reporting only the subset actually evaluated. A bounded pilot of one hosted model (Llama 3.2 11B Vision Instruct) using two API credentials as execution replicas yields 72 balanced games with 432 attempts, 429 valid provider responses, and no target hits; exploratory ordinary-function prompt variants also fail to hit, while the structured localization interface yields no scoreable outputs. A privileged analytic search control independently succeeds on 600 directional cases from 300 generated scenes, with exact repeatability and 1,200 successful vertical-reflection or translation checks. The framework separates serving reliability, symbolic compliance, and geometric success, and preserves exact model-visible inputs and realized paths. A staged protocol outlines diagnostic calibration, held-out replication, multi-model comparison, and paired robustness tests. The contribution is an operational research framework with an executed pilot and a clearly identified prospective study plan; the full difficulty matrix and comparative model results remain untested.

arXiv cs.LG

FLoRa: Flight-Assisted Data Collection from Duty Cycling LoRa Nodes under Energy Constraints

arXiv:2610.09226v1 Announce Type: cross Abstract: Data collection using Unmanned Aerial Vehicles (UAVs) is challenging when LoRa IoT Devices (IoTDs) duty-cycle to conserve battery. Under energy constraints, a UAV must decide which IoTDs to visit, in what order, where to hover, and how many times to probe each node, while time-based data freshness decays. Tractably solving this problem requires a multi-level optimization architecture: discrete combinatorial optimization for routing, continuous global optimization for spatial positioning, and sequential decision-making under uncertainty. We propose FLoRa, a Flight-assisted LoRa data collection architecture using Simulated Annealing (SA) for path planning, Covariance Matrix Adaptation Evolution Strategy (CMA-ES) for hover positioning, and Partially Observable Markov Decision Processes (POMDPs) for probing IoTDs. To quantify collection utility from duty-cycling nodes, we introduce the Value of Information for Pull-based systems (VIP), a metric that rewards fresh data and penalizes failed probes, imposing well-posedness and preventing indefinite probing when an IoTD is off. Tracking hard battery constraints on every POMDP sample path requires state augmentation, worsening the curse of dimensionality. For tractability, SA and CMA-ES work on the hard battery constraints, while at the POMDP layer we relax them into soft average constraints via Lagrangian relaxation. Since solving the network-wide POMDP is computationally complex, we decompose it into node-level POMDPs by approximating inter-node time dependency using a forward-decomposition technique. Evaluation shows FLoRa outperforms metaheuristic, greedy, and deep reinforcement learning baselines by 30.6%, 27.8%, and 15.2% in total expected VIP, while increasing node coverage by 24.5%, 29.2%, and 8.8%, and successful collections by 24.3%, 25.6%, and 15.2%, respectively.

arXiv cs.LG77

少量比特,统一法则:迈向 W2A4KV2

arXiv:2610.09202v1 公告类型:交叉发布 摘要:当权重、激活值和 KV 缓存同时量化时,极低比特大语言模型压缩面临的挑战最为严峻:它们的分布各不相同,量化误差还会在整个网络中相互作用。我们提出 CanonQ,这是一种统一的量化感知训练框架,通过将源规范化与任务感知适配分离来应对这些挑战。固定旋转和能量归一化将异构张量源映射到规范坐标系,使冻结的高斯参考码本能够跨层、跨模型复用。随后,联合训练在统一的标量/向量接口内,使网络适应权重、激活值和缓存量化产生的耦合误差。我们给出了冻结码本迁移误差和局部任务损失的界,并推导出精确的归一化感知直通雅可比矩阵,将量化失真与梯度偏差联系起来。最显著的收益出现在联合 W2A4KV2 压缩下:在 LLaMA3-1B/3B/8B 上,相比此前最先进的方法及具有代表性的量化基线,CanonQ-Omni 将 WikiText-2 困惑度最多降至其 1/14.28,平均零样本准确率最多提高 57.9%。这些优势还扩展到了 Qwen3-1.7B、代码生成和数学推理:在经过指令微调的 MobileLLM-Pro-1B 上,采用 W2A16KV16 时,相比所评估的最强量化基线,CanonQ 在 HumanEval pass@1 和 GSM8K 精确匹配率上分别实现了 41.7% 和 39.1% 的相对提升。

arXiv cs.LG73

设备端语言模型安全性有多脆弱?面向稀疏故障分析的安全关键参数定位

arXiv:2610.09000v1 公告类型:cross 摘要:随着小型语言模型(SLM)越来越多地部署在资源受限和设备端平台上(包括作为智能体系统的组件),本地存储的模型参数完整性成为一个重要的安全问题。我们研究了 LLaMA-2-7B-Chat 中的安全敏感行为是否集中于一小部分稀疏参数,从而为定向分析创造更小的故障面。我们研究了两种互补的定位方法:低秩安全关联子空间分析,以及参数级安全性—实用性重要性筛选。两种方法都揭示出网络各部分的安全敏感性高度不均匀,其中 MLP down_proj 始终表现为突出​​的安全敏感组件,而 o_proj 的贡献较小。通过参数级定位,仅修改 down_proj 中 0.19% 的模型权重,即可实现 53% 的 Basic ASR 和 56% 的 GCG ASR,同时 tinyBenchmarks 准确率仍保持在 51.6%,而未修改模型的基线为 52.2%。这些结果表明,对于部署在资源受限、设备端和智能体环境中的语言模型,有必要开展定向故障分析并实施选择性完整性保护。

arXiv cs.LG80

CARE:为视觉-语言-动作推理认证加速

arXiv:2610.08917v1 公告类型:cross 摘要:尽管视觉-语言-动作(VLA)模型发展迅速,但在每个控制步都运行它们仍然代价高昂。以往工作通常采用动作分块和视觉 token 剪枝等技术来加速 VLA 推理,并主要依据延迟和任务平均成功率进行评估。然而,加速可能会丢弃信息,使原始策略本可以完成的任务失败,而平均指标会掩盖这一风险。由于动作偏差会在闭环轨迹中累积,这些失败很难测量,因为任务失败只有在完整回合中才能观察到。因此,我们通过从相同初始条件出发进行成对 rollout,并追踪参考策略成功而加速策略失败的情况,定义了由加速引起的失败。为此,我们提出 CARE,一种用于经认证加速器选择的方法。CARE 在校准集上进行成对 rollout,从而提供有限样本保证,确保加速引起的失败风险低于用户指定的预算。它会部署速度最快且通过认证的候选方案;如果没有候选方案符合要求,则回退到参考策略。由于仅依赖终止结果和实测计算开销,CARE 无需修改即可适用于各种加速机制;同时,序贯检验和由失败触发的参考 rollout 使认证成本保持在可承受范围内。在使用 OpenVLA-OFT 的四个 LIBERO 套件上,CARE 可认证 $9.0$--$10.8\times$ 的加速,并以 $95\%$ 的置信度保证至少保留参考策略成功回合中的 $85.8\%$。在预算严格受限时,不提供保证的选择器在最多 $75\%$ 的试验中超出预算,而 CARE 始终保持在预算以内,其序贯版本相比穷举评估所需的 rollout 数量减少了 $78.9\%$。CARE 还可推广到 $\pi_{0.5}$ 的 flow 步数缩减,以及 Crafter 中的 Qwen3.5-9B 和 Llama-3.1-8B 智能体。

arXiv cs.LG74

LRCC:用条件计算推广低秩压缩

arXiv:2610.08858v1 公告类型:cross 摘要:低秩压缩通过用低秩分解替代线性变换,降低预训练语言模型的成本。然而,传统方法在推理过程中采用固定的秩分配,无论输入词元为何都分配相同的计算量。我们提出低秩条件计算(Low-Rank Conditional Computation,LRCC),通过为每个 Transformer 模块训练一个轻量级路由器,从一组规模较小的嵌套低秩路径中进行选择,为预训练模型引入依赖词元的计算。在训练过程中,低秩因子保持冻结,仅优化路由器。我们在 Llama 和 Qwen 模型上针对语言建模和零样本下游任务评估了 LRCC。在平均激活参数预算相同的情况下,LRCC 的预测性能优于静态低秩压缩;在 Llama-2-7B 上,其下游任务平均准确率较静态方法提升了 7.6 个百分点。在 batch-size-1 解码延迟相当的情况下,LRCC 在 Llama-3.2-1B 上同时提升了困惑度和下游任务准确率,并且在 Llama-2-7B 上仍具有竞争力,同时无需专用内核。最后,我们通过分析路由器对路径的选择,评估了为每个词元分配路径的实用价值。

arXiv cs.LG73

Kernel Autoresearch for Open-Ended Model Discovery

arXiv:2610.10394v1 Announce Type: new Abstract: Kernels encode the inductive bias of a wide range of machine learning models, yet automated kernel design faces a fundamental dilemma. A fixed grammar of base kernels and operators guarantees validity but limits the search to structures expressible by those building blocks. Conversely, unrestricted programs remove this limitation but no longer guarantee validity. In our stress tests, 22-58% of LLM-generated kernels that pass numerical checks on random inputs fail when evaluated at different scales or dimensions. We propose Kernel Autoresearch (Kernaut), which treats kernel design as open-ended model discovery. Coding agents write kernels as programs, while construction contracts ensure that every accepted kernel is valid. A quality-diversity archive retains high-performing kernels with distinct behaviors, and novelty screening steers agents toward functionally new candidates. Our experiments demonstrate that the discovered kernels encode reusable inductive biases that generalize to unseen tasks. On held-out black-box optimization families, a discovered kernel outperforms a meta-learned deep kernel trained on the same episodes. Furthermore, kernels discovered from ten enzyme-kinetic rate laws achieve lower error than tuned ARD and deep kernel baselines on five unseen mechanisms. The discovered kernels are also interpretable programs that human researchers can refine: a human-refined version of one further reduces the held-out predictive error by 5.7% and optimization regret by 7.8%.

arXiv cs.LG69

Continual Learning without Continual Training

arXiv:2610.10379v1 Announce Type: new Abstract: Continual learning requires models to adapt to new domains and new classes while retaining prior knowledge. Many existing methods rely on continued optimization, using regularization, replay, or parameter expansion to prevent new updates from overwriting previously learned knowledge. Instead, we propose replacing continual training with continual inference: a PFN-based model that is meta-trained, and then frozen, adapting to new classes only by extending an in-context evidence set. Our model, Latent Concept PFN, performs in-context Bayesian inference over a latent concept space that captures semantic structure shared across domains and classes. As each new domain or class arrives, exemplars are added to the memory; adaptation reflects updated posterior beliefs over latent concepts rather than gradient updates. No parameters are changed, reducing forgetting. The same method handles both domain and class incremental continual learning without task identity. Concept annotations are only used during meta-training, acting as a soft anchor on the latent space rather than a fixed bottleneck. Unlike fixed-vocabulary concept methods, the model also handles noisy, ambiguous, or incomplete annotations by combining concept labels with raw input evidence to discover distinctions beyond the predefined concept set. Experiments on class and domain incremental learning datasets demonstrate competitive continual learning performance while learning interpretable latent concepts.

arXiv cs.LG74

Input-Blind Controls Produce Substantial Oracle Headroom for Layer Programs in Multiple-Choice Evaluation

arXiv:2610.10368v1 Announce Type: new Abstract: Adaptive computation aims to improve language-model inference by tailoring execution to each input. For layer programs, oracle evaluations use known answers to estimate the potential gain from this flexibility, before a practical selector is available. However, a gain from selection does not by itself explain why the chosen programs help. This study examines this distinction using 32 layer-skipping and repetition programs on two models and 4,413 multiple-choice items. The analysis compares their gains over a fixed action selected without the evaluation prompt with those of input-blind perturbations at the same sites, re-evaluating selections on another prompt. With shared option order, the controls give 10.2-11.8 and 15.6-19.4 percentage points of headroom on Qwen3-4B-Base and Llama-3.1-8B, exceeding the real programs' 9.0 and 10.1 in all three random-direction draws per model. They match answer-change rate only, and the ordering depends on the menu: in post hoc comparisons, real programs lead on Llama's repeat-only menu in every draw. A smaller KL-calibrated comparison, including an input-dependent control, favours real programs in point estimate, with inconclusive corrected tests. Fixed letter offsets produce headroom of similar scale. Rotating options sharply reduces both families' headroom, while leaving positive real-minus-control differences of 1.4-2.3 and 3.7-4.5 points; their magnitudes and statistical support depend on further adjustments and the reference. A supplementary generated-answer test finds that search-selected programs keep a 26.0-point advantage over programs selected for other problems after rewording, without a placebo comparison. These results show that substantial headroom can persist across prompts with shared option order without establishing a benefit specific to the selected layer computation; neither ordering against these controls identifies that benefit.

arXiv cs.LG74

Activation-Aware Weight Tensorization: A Calibration-Time Preconditioner for Tensor-Network LLM Compression

arXiv:2610.10085v1 Announce Type: new Abstract: Post-training tensor-network compression replaces Transformer linear layers with Tensor Train (TT) or Tree Tensor Network (TTN) operators, but standard decompositions minimize weight-space Frobenius error rather than functional error under the layer's activation distribution. We propose Activation-aware Weight Tensorization (AWT), a training-free calibration wrapper that preconditions each weight matrix with a diagonal activation-derived scale before an unchanged TT/TTN solver and deploys the result with only an input-side elementwise rescaling. Across Llama 3.1 8B, Ministral 8B, and Qwen2.5 7B, AWT consistently improves vanilla TT/TTN tensorization at 2-6 times compression: under single-operator replacement, AWT closes 12-35% of the WikiText perplexity gap to the dense baseline across the three model families and 2-6 times compression settings; while under multi-operator Llama suffix replacement it closes 27-60% across attention-group and all-seven-matrix settings. The gains also transfer to downstream HellaSwag and ARC-Challenge evaluations. We further show that diagonal preconditioning is a robustness-modularity tradeoff rather than a diagonal-covariance assumption: a dense full-covariance oracle wins its own weighted objective in 80/81 cases, yet diagonal AWT gives better held-out functional fidelity in 53/81 cases. Together, these results position AWT as a principled, modular preconditioner for improving functional fidelity in fixed TT/TTN compression pipelines without modifying the decomposition solver.

arXiv cs.LG66

Few-Shot Learning for Personalised Automated Pain Assessment

arXiv:2610.09692v1 Announce Type: new Abstract: Pain perception varies substantially across individuals, making it difficult for population-based classifiers to generalise across all subjects in a dataset. One way to account for subject variability is to train personalised classifiers. In this work, we evaluate Few-Shot Learning, a sub-area of Meta-Learning, as an approach to personalisation in automated pain assessment. We re-interpret the shift from population-level to subject-level evaluation as a task-domain shift, where the observed classes remain fixed but the target subject changes. We evaluate our method on the BioVid Pain Database, the SenseEmotion Database, and the PainMonit Experimental Dataset (PMED), reaching 85.75% and 35.49% accuracy on BioVid and 82.37% and 41.88% on SenseEmotion in the binary and multi-class settings under a Leave-One-Subject-Out CV protocol respectively, and 90.47% on PMED, for which only a binary benchmark exists. Using samples to implement k-shot conditioning, the accuracies can be improved to 86.25%, 40.06%, 83.43%, 44.08%, and 91.25%, respectively. To further evaluate the effects and robustness of our method, we provide additional ablation experiments and investigate the personalisation effects. Our results suggest that support-conditioned few-shot adaptation can improve average performance under inter-subject variability.

arXiv cs.LG80

When Should an In-Context Learner Expand Its Hypothesis Space?

arXiv:2610.09471v1 Announce Type: new Abstract: Learning systems adapt quickly inside a familiar family of models. The harder step comes earlier: deciding, from observations that could be noise, an exception, a change within the family or structure outside it, whether opening a richer family is worth its cost. We treat this as a costly sequential decision: prediction failure must be turned into structural evidence, evidence into a value of expansion, and value into action. The Structural Revision Environment produces matched failures from each source, varies the price of expansion and the remaining horizon independently of the evidence, and admits exact Bayesian calculations and an exact normative solution of the one-shot decision. Its solution shows that revision is a value boundary and not an evidence threshold: one history has different optimal actions under different prices, horizons and announced queries, the boundary between local repair and expansion is set by the inputs a rule predicts and a repair cannot cover, and belief in the richer family crosses long before the decision does. Transformers trained in the environment reproduce this boundary from utility alone. Language models of three post-training lineages carry a failure-sensitive signal in their predictions that is not reflected in their revision decisions, and given the gain of expanding they read it without weighing it against price and horizon. Three models allowed to reason weigh the stated gain in the reference's proportions and still do not turn the history into an estimate of what expansion would buy. Controlled post-training of the meta-trained learners moves the prior and the sharpness of predictions, and neither moves the criterion.

arXiv cs.LG74

通过 Conditional Flow Matching 实现面向金属增材制造中可泛化 PINNs 的领域信息自适应采样

arXiv:2610.09126v1 公告类型:新 摘要:准确的热建模对于理解金属增材制造(AM)中的工艺—结构—性能链至关重要。物理信息神经网络(PINNs)通过在配置点处最小化基于物理的残差损失,为热建模提供了有效的代理模型。然而,现有工作通常依赖人工设计的静态配置点采样策略,这些策略既缺乏理论依据,也难以跨工艺条件扩展,从而限制了其泛化能力。在本文中,我们通过经验风险最小化进行理论分析,表明考虑工艺条件的自适应采样在泛化方面严格优于传统的静态采样。在此基础上,我们在两阶段框架内提出一种自适应采样策略:(1)利用条件 Flow Matching 模型学习不同工艺条件下的近似高残差分布;(2)采用将该分布与融入领域信息的基础分布相结合的混合采样策略,生成自适应配置点,以优化 PINN 预测器。在金属 AM 数值基准上的实验表明,在配置点预算相同的情况下,我们的方法持续优于最先进的 PINN 基线,通过捕捉文献中常被忽略的工艺相关热耗散区域,使相对 $L_2$ 误差平均降低 62.1\%。据作者所知,这是首个应用于金属 AM 中 PINNs 的自适应采样策略,有助于提升模型的泛化能力并拓展其适用范围。

arXiv cs.LG46

A Bayesian Mirror Architecture for Emergent Consciousness: Circular Hierarchies, Self-Manifolds, and Hybrid Event-Self Binding

arXiv:2610.08792v1 Announce Type: new Abstract: We present a foundational formulation of the Bayesian Mirror Architecture (BMA), a self-referential generative framework in which sensory abstractions, meta-abstractions, and a self-latent interact through circular recursion. The defining constraint is a closed update S_t <- H_{t-1}, where a hybrid event-self latent H_t binds self-representations to abstract world models and reinjects this coupling into the self-state. Consciousness, in a restricted sense, is not an optimization objective nor a semantic label, but an architectural property of systems possessing this circular structure. Because inference operates over posterior beliefs, BMA's intrinsic state space is a space of probability measures equipped with optimal-transport geometry. Stability and coherence are formulated in the 2-Wasserstein metric on P_2, yielding coordinate-free notions of self-stability and hybrid coherence along belief trajectories. We define a Causal Learning Regime (CLR) via bounds on Wasserstein belief drift together with an integration index capturing sustained coupling between self and world latents. CLR diagnoses whether the environment contains learnable causal structure; it is not a marker of consciousness. Global strict contractivity is not required: BMA may exhibit multiple coherent basins. We define self-manifolds basin-wise as supports of invariant measures under local Wasserstein contractivity. We identify Wasserstein epsilon-necks, transport bottlenecks where basins decouple, yielding a unique realized continuation in a vanishing-conductance limit. We interpret this selection as choice: internally determined yet externally unpredictable at finite resolution. Learning proceeds via variational free-energy minimization, with stability and agency emerging from what the environment affords to learn.

arXiv cs.AI79

SLDR:通过选择性层恢复与动态路由防御恶意微调

微调即服务使用户能够将经过对齐的大语言模型(LLMs)适配到专门任务,但恶意微调可能削弱模型的拒答行为,同时保留其在合法输入上的任务性能。我们重新审视了近期的逐层安全性诊断方法,发现安全敏感度具有正负方向性:对不同层进行缩放可能增强拒答、削弱拒答,或几乎没有影响。基于这一观察,我们提出了 SLDR,这是一种基于选择性层恢复与动态路由的微调后防御方法。SLDR 仅在带符号敏感度谱中得分最高和最低的层上训练 LoRA 恢复适配器,并在推理时采用基于表征的动态路由,仅针对恶意查询激活该适配器。在四种模型架构、五项下游任务和四个有害性基准测试中,SLDR 在保持下游任务效用的同时,大幅减少了有害输出。在 Llama3.1/SST2 上,SLDR 将平均有害性得分从 11.54 降至 0.08,同时保持了下游任务的准确率;即使投毒比例高达 0.9,有害性得分仍接近于零。代码已公开于 https://github.com/Stardust457/SLDR。

arXiv cs.AI74

将逻辑与人设解耦:边缘端 LLM 智能体对上下文污染的结构性免疫

边缘设备上的小型语言模型智能体必须在同一个充满对话历史和人设指令的上下文窗口内,同时维持人设并进行正确推理。我们研究了当对话历史冗长、具有误导性且充斥人设内容时,这类智能体的逻辑部分会受到什么影响(人设—逻辑干扰),并提出一种解耦架构(AO-DA):在一个配备可热切换 LoRA 适配器的 INT4 基础模型上,将逻辑推理(“做什么”)与人设表达(“如何表达”)分离为两条推理路径。逻辑路径仅接收当前轮次的核心内容,并输出可验证的结构化状态(Micro-State);人设路径则结合完整历史,以符合角色设定的方式呈现该状态。在 Apple M2 笔记本电脑上开展的同基础模型消融实验中(Llama-3.1-8B-Instruct 和 Gemma-3-4B-it,4 位量化;4 个污染级别 × 3 个实验组 × 2 项任务 × 2 种人设 × 5 个随机种子,共 480 次运行),我们发现:(i) 解耦后的逻辑路径在结构上不随污染程度变化:其提示词长度始终保持为 180(Llama)或 167(Gemma)个 token,而混合式单次推理的提示词长度从 242 增至 1,203 个 token;其输出在各污染级别下逐字节一致(40/40);(ii) 混合式单次推理的表现随污染程度增加而单调下降(Llama 的综合逻辑得分从 0.669 降至 0.150,Gemma 从 0.487 降至 0.150),主要原因是未能输出所要求的结构化内容(在最高的两个污染级别下,Llama 有 80–95% 的运行出现该问题,Gemma 则为 100%);(iii) 当向解耦后的逻辑路径输入相同污染内容时,采用专用适配器和专用格式的路径在 8B 模型上仍比单次推理更稳健(失败率为 0–20%,对比组为 80–95%;配对 $Δ$ 为 +0.30 至 +0.50,Cliff's $δ$ 为 0.50–0.85,Holm 校正后的 $p \le 0.03$),但在 4B 模型上并非如此,两种方式均告崩溃。分离的代价是在一个话题的首轮中增加一次解码(Llama 上为 28.2 秒,对比组为 18.2 秒),换来的能力是无需重新运行逻辑路径,即可在 1.7 毫秒内完成人设热切换。代码、评分标准、测试夹具、适配器和日志均已公开。

Hacker News AI49

Show HN: Chloe is a TypeScript AI agent

As a forward deployed engineer at Meta, I spent the past 2 years working with businesses implementing AI agents. A few problems: 1) Businesses want control over their AI agents: the code, the tools, the skills, everything. Meta, for obvious reasons would never do that. Nor OpenAI, nor Anthropic. 2) The LLM does everything. But that costs money. There are many routines in an AI agents that don't need an LLM. 3) For an AI agent to solve a real business problem, the business must own the eval data set. Similar to point #1 above, most don't do that. Instead, I built an opensource AI agent that you can write it all in TypeScript code and own everything, locally. Use any model, talk to it via any channels, set limits on token usage, look at the logs and adjust. All of this in one small npm package. At this point, I would like to get feedback if these is a gap in the market for something like this. It's supposed to be simple and get you started. It doesn't solve ALL problems related to deploying AI agents. It's in version 0.25.1 right now. Have a look: https://chloejs.org/compare Comments URL: https://news.ycombinator.com/item?id=49998857 Points: 1 # Comments: 0

The Decoder72

Zuckerberg 的 Biohub 牵头推进一项耗资 18 亿美元的计划,旨在构建预测细胞行为的 AI 模型

由 Mark Zuckerberg 和 Priscilla Chan 支持的研究机构 Biohub 正在协调一项耗资 18 亿美元的计划,以训练能够预测细胞行为的 AI 模型。Meta、Google DeepMind、Isomorphic Labs 和美国能源部正在为数据、实验室设备及算力提供资金。首个数据集预计将在约一年后准备就绪。《Zuckerberg 的 Biohub 牵头推进一项耗资 18 亿美元的计划,旨在构建预测细胞行为的 AI 模型》一文最先发表于 The Decoder。

The Verge AI50

Muse launches on the iPad

After launching nearly a month ago and spending several weeks as the top free app in Apple's App Store, the latest update to Meta's Muse iOS app introduces native support for the iPad. A Mac version of Meta's agentic AI tool (designed to compete with OpenClaw, ChatGPT's Dots, and Grok Bot) was released about a […]

The Verge AI71

Google 投资数百万美元,支持马克·扎克伯格打造“虚拟细胞”的计划

据路透社报道,Google DeepMind、Meta 和 AI 药物研发初创公司 Isomorphic Labs 正联合向 Biohub 投资 3 亿美元。Biohub 是由马克·扎克伯格及其妻子普莉希拉·陈创立的非营利生物医学研究机构。这笔资金是一项总额为 18 亿美元的计划的一部分,该计划旨在构建 AI 数据集,让研究人员能够“提问、预测,[…]

MarkTechPost

Meta AI Open-Sources Rebalancer: A C++ Assignment Solver That Runs About 40 Million Placement Problems a Day

Meta has open-sourced Rebalancer, the C++ and Python library it has used for over 9 years to place shards, servers and traffic. It handles about 40 million assignment problems a day, using local search or MIP solvers like Gurobi, FICO Xpress and HiGHS. It is pip-installable under Apache 2.0. The post Meta AI Open-Sources Rebalancer: A C++ Assignment Solver That Runs About 40 Million Placement Problems a Day appeared first on MarkTechPost .

arXiv cs.LG78

SpliTEE:结合 GPU 辅助可信执行环境与差分隐私,实现快速且保护隐私的 LLM 推理

arXiv:2609.15039v3 公告类型:replace-cross 摘要:用户提供给大语言模型(LLM)的提示词可能包含隐私信息。一种保护方式是在可信执行环境(TEE)内运行 LLM。然而,这会导致推理缓慢,因为在 LLM 推理任务中,当前 TEE 的速度显著低于 GPU。为解决这一问题,Tram\`er 和 Boneh(2019)提出了 Slalom,将神经网络推理拆分到 TEE 和不可信 GPU 上执行,并对外包给 GPU 的计算所使用的输入进行加密。本文将这种拆分推理架构扩展到 LLM 推理,并改用差分隐私(DP)保护中间输入。我们首先展示了一种利用中间表示重建提示词的攻击,其准确率达到 80%,从而证明对中间表示进行掩蔽的必要性。我们的主要贡献是对 LLM 推理中关键函数的全局敏感度进行分析,从而为所需的 DP 噪声尺度给出界限。与加密不同,DP 无需量化,使 LLM 能够始终在浮点域中运行。我们还推导了掩蔽及后续噪声消除所引入的浮点误差上界,该上界是隐私参数 epsilon 的函数,同时保持 LLM 响应质量不变。我们使用 Intel TDX TEE 和两个 LLM——Llama-3.2-3B 与 Qwen3-4B——实现了这一架构。我们的拆分执行速度接近完全基于 TDX 的推理的两倍。此外,其速度比 Slalom 最多快 43%,同时准确率更高。最后,我们证明,即使已知 DP 机制,提示词重建也无法恢复出比无关提示词所包含的信息更多的信息。

arXiv cs.LG79

无需世界模型的世界属性:分布关联与语言模型解码结果的解读

arXiv:2603.04317v2 公告类型:replace-cross 摘要:越来越多的研究表明,可以从大型语言模型(LLMs)的激活中线性解码出各种变量。这些变量既包括城市位置、历史人物生卒时间等世界属性,也包括情绪和疼痛。这类发现常被视为证据,表明语言模型超越了表层文本统计,并形成了内部世界模型。我们发现,对于相同或匹配的刺激材料,静态词嵌入(从语料库统计中学得的固定、不随上下文变化的表征)也能在很大程度上支持同样的解码。在四项已发表的研究案例(地点、时间、疼痛和情绪)中,静态向量能够预测坐标和去世年份(R^2 = 0.42–0.59),区分疼痛句子与匹配的对照句子(留出集 AUC 为 0.85–0.88),并对刻意避免直接提及情绪名称的故事中的十二种情绪进行分类(AUC 为 0.84–0.88)。由于静态词嵌入为每个词赋予一个不依赖上下文的单一向量,这些结果构成了仅凭词语关联所能达到的性能下界。LLMs 在表征测试中仍具有明显优势,而因果和行为层面的发现仍不在这一基线的适用范围内。对于原作者使用的实体,我们复现了其 Llama-2 的结果,发现 transformer 的优势主要在于将历史人物归入正确的世纪、将地点归入正确的国家;这种粗粒度分类预计可以通过更丰富的词语关联得到改善,而在这些组别内部,所有表征对条目的排序都表现不佳。经过消歧的 Wikipedia 实体的静态向量承载的是特定地点或人物的关联信息,而非其名称中各个词的关联信息;这些向量弥合了大部分剩余差距,在坐标预测上达到 Pythia-2.8B 的水平,在去世年份预测上达到 Llama-2-7B 的水平。这些结果表明,仅凭可解码性,无法区分某种属性的表征与固定分布关联中已有的信息。

arXiv cs.LG74

通过掩码微调提升大语言模型性能

arXiv:2503.22764v3 公告类型:replace-cross 摘要:大语言模型(LLM)通常被纳入主流优化流程。然而,维持模型完整性是否是取得良好性能的必要条件,仍未得到充分探索。在本研究中,我们提出了 Mask Fine-Tuning(MFT),这是一种新颖的 LLM 微调范式,表明精心破坏模型的结构完整性,竟然可以在不更新模型权重的情况下提升性能。MFT 以标准 LLM 微调目标作为监督信号,学习二值掩码并将其应用于经过充分优化的模型。以经过全量微调的模型为基础,MFT 使用相同的微调数据集,在不同领域和骨干模型上均实现了稳定的性能提升(例如,使用 LLaMA2-7B/3.1-8B 时,在 IFEval 上的平均提升分别为 2.70/4.15)。详尽的消融研究和分析从稀疏率、损失曲面等不同角度考察了所提出的 MFT。此外,当应用于训练充分的模型时,MFT 可与其他 LLM 优化流程兼容,以提升模型的整体性能。进一步而言,本研究将掩码操作的用途从传统的用于模型压缩的网络剪枝,拓展至更广泛的模型能力提升。

arXiv cs.LG69

Retrieval-Augmented Interpretable Learning: Towards Task-Specific Zero-Shot Models in Healthcare

arXiv:2607.17508v3 Announce Type: replace Abstract: We introduce Retrieval-Augmented Interpretable Learning (RAIL), a probabilistic meta-learning framework for zero-shot generation of task-specific interpretable models that synthesizes coefficient-space structure from natural-language task descriptions and a memory of previously learned task-specific predictors. RAIL retrieves related source tasks, transfers structure through coefficient space, and generates a new predictor in the original diagnostic-feature space, enabling zero-shot and few-shot clinical procedure prediction with feature-level explanations. Its probabilistic formulation provides uncertainty over retrieval, model coefficients, and predictions, supporting uncertainty-aware deployment: uncertain predictions or unstable explanations can be flagged for additional clinical review rather than treated as automatic decisions. This makes RAIL particularly suited for healthcare settings, where prediction tasks are highly long-tailed, new clinical targets arise frequently, and models must remain inspectable, uncertainty-aware, and compatible with human oversight. Across long-tailed clinical procedure prediction tasks, RAIL improves low-data model generation, benefits from clinically informed task representations, and yields retrieval, uncertainty, and coefficient-level diagnostics that make model behavior more transparent. These results suggest a path toward scalable clinical prediction systems that can adapt to new tasks while preserving interpretability and reliability.

arXiv cs.LG73

用程序合成解释注意力

arXiv:2606.19317v3 公告类型:替换 摘要:可解释深度学习研究的一个长期目标,是用人类可理解的符号化描述取代不透明的神经计算。本文提出一种用可执行程序近似深度网络组件行为的方法。我们聚焦于 transformer 语言模型中的注意力头。对于给定的注意力头,我们首先在一组随机选取的训练样本上计算其对应的注意力矩阵。接着,我们将这些矩阵的摘要作为提示输入预训练语言模型,并指示它生成一组 Python 程序,使其仅根据输入句子的文本就能复现相应的注意力模式。最后,我们根据程序对留出输入上行为的预测效果,对程序重新排序。我们证明,一组不到 1,000 个此类生成程序就能复现 GPT-2、TinyLlama-1.1B 和 Llama-3B 中注意力头的注意力模式,在 TinyStories 上达到超过 75% 的平均交并比相似度。此外,拟合效果最佳的程序能够替代神经注意力头,而不会显著影响模型行为:在这三个模型中,用程序化替代方案替换 25% 的注意力头,仅导致困惑度平均增加 16%,同时保持了在多种下游问答基准上的性能。这项工作提供了一套可扩展的流程,利用人类可读的可执行代码对 transformer 模型中的注意力头进行逆向工程,推动神经模型朝着符号层面的透明性迈进。

arXiv cs.LG74

量化对工具故障恢复的影响因提示词和评估设计而异

arXiv:2610.07781v1 公告类型:交叉收录 摘要:训练后量化降低了语言模型智能体的部署成本,但其对临时工具故障恢复的影响可能取决于恢复能力的评估方式。我们在二十项确定性工具使用任务和五种提示词下,比较了 Llama-3.1-8B-Instruct 和 Qwen2.5-7B-Instruct 的 8 位与 4 位版本。8 位与 4 位版本在恢复能力上的比较结果,其优劣方向随提示词和评估对象而变化。在同一提示词下两个版本均能在无故障条件下完成的任务中,Llama 的差异范围为 0 至 +20.2 个百分点,Qwen 则为 -50.0 至 +35.0 个百分点。全流程点估计在全部五种提示词下均显示 8 位 Llama 更优,而 Qwen 的比较结果则随提示词变化而出现优劣反转。评估对象也可能使结果反转。对于某一种提示词下的 Llama,若仅在各版本自身能在无故障条件下通过的任务上评分,4 位版本领先 17.5 个百分点;若在相同任务上对两个版本评分,则没有差异;而对全流程评分时,8 位版本领先 28.3 个百分点。执行器的宽容程度是第三个会影响结果的选择。在该提示词下,8 位 Llama 违反严格输出解析要求的频率远高于 4 位 Llama;使用严格输出解析对同一批日志重新评分,会使上述 +28.3 变为 -15.0,而 Qwen 的结果基本不变。这些发现表明,仅凭一种提示词、一组筛选后的任务和一种评分策略,无法对量化智能体的稳健性得出稳定结论。评估应在匹配的任务上比较不同版本,报告全流程成功率以支持部署决策,明确评分策略,并在任务层面而非注入故障的位置层面量化不确定性。

arXiv cs.LG70

Mathematical Invariant-Enabled Topological Neural Networks for Molecular and Materials Property Prediction

arXiv:2610.07712v1 Announce Type: cross Abstract: Existing molecular and materials learning approaches often rely on a limited set of structural representations, which may capture only selected aspects of complex three-dimensional structure. Here, we introduce mathematical invariant-enabled topological neural networks (MITNNs), a framework that represents complex structures through multiple complementary mathematical views and integrates them with topological neural architectures. MITNNs combine multiscale invariants from topology, spectral theory, commutative algebra, differential geometry, and discrete curvature, capturing complementary structural information from the same system. Systematic invariant-subset, architecture-subset, and ensemble analyses show that predictive performance depends on how mathematical representations and neural architectures are paired, with selected combinations outperforming individual models and the aggregation of all available components. Across protein-ligand binding, metal-organic framework properties, mutation-induced protein solubility, and molecular toxicity prediction, MITNN consistently outperforms existing methods. These results establish MITNN as a mathematically multimodal framework for scientific machine learning.

arXiv cs.LG81

机器人并不等同于其描述:用于形态感知策略表征鲁棒性评估的 GaugeBench

arXiv:2610.07597v1 公告类型:交叉收录 摘要:机器人描述不仅规定了物理机构,还编码了任意选定的约定,例如关节轴方向、关节角零点,以及连杆和关节的顺序与名称。形态感知策略使用基于这些描述构建的接口,但跨具身评估通常会更换机器人,同时保持这些约定不变。这使得一个简单的问题仍未得到解答:当机器人保持不变而其描述发生变化时,其行为能否保持不变?GaugeBench 专门考察这一情形:在物理等价的约定下重写固定机构的描述,验证其物理特性和策略接口均得到保持,然后使用相同的策略权重进行评估。结果十分鲜明:三个 MetaMorph 策略在 80 个熟悉的机器人上得分为 4030.6,但当这些相同的机器人被等价地重新描述后,得分仅为 51.6;相比之下,在 98 个真正未参与训练的机器人上,得分为 1489.6。因此,新描述造成的损害可能比新机器人更大。对失效原因的追踪表明,仅反转轴方向就会重现性能崩溃,改变关节角零点几乎没有影响,而重新排序的影响介于两者之间;此外,仅改变关节状态和力矩的坐标表示就足以导致失效,而仅改变从描述中提取的特征则不会。同样的现象也出现在 ModuMorph 和一个无关的 PyBullet 框架中。不过,这种失效并非不可逆:两个描述之间的精确迁移能够恢复原始控制器,而在等价轴方向约定之间进行训练,可将轴方向反转时的回报保留率从 3.6% 提高到 80.6%。这些结果共同区分了机构鲁棒性与表征鲁棒性,并表明跨具身评估应同时测试这两方面。

arXiv cs.LG81

CroissantMiner:面向机器学习数据集的 Croissant 元数据自动提取与验证

arXiv:2610.07132v1 公告类型:cross 摘要:Croissant 已成为机器可读数据集元数据的标准,但填充其字段仍然十分耗费人力,并且需要仔细阅读随附的数据集文档。我们提出了首个支持端到端评估元数据提取的基准,该提取任务遵循社区标准模式。该基准包含 602 篇论文,其中 102 篇带有人类验证的金标准标注,500 篇带有由 LLM 生成的银标准标注,涵盖完整的 Croissant 模式,包括核心字段和负责任人工智能(RAI)字段。利用这一基准,我们在双层评估框架下评估了多种提取系统,涵盖前沿模型、开放权重模型和智能体架构。该框架将基于规则的评分与经人工审核选出的 LLM 评审器相结合。我们发现,单次提取始终优于所评估的四种智能体架构:在不同骨干模型上,这些分解式变体的准确率均低于一次完整上下文提取。差距最大的是长篇 RAI 字段,这些字段需要综合并解读散落在论文各处的信息,而不是从单一位置直接复制;在这一场景下,当前系统距离可靠运行仍相去甚远。我们发布了该基准、评估代码、评审器审核结果、在线演示,以及一个向新系统开放的排行榜。

arXiv cs.LG83

压力下坚持原则:后训练决定 LLMs 是否会依照自身的道德判断行事

arXiv:2610.08670v1 公告类型:新 摘要:语言模型日益充当智能体。一个声称某项行为是错误的、却仍然采取该行为的智能体,与一个并不知道该行为错误的智能体所犯的错误不同,而对其所声明价值观的评估无法识别这种差异。我们针对五类压力,构建了一个包含248个场景、并经过预注册的场景组。每个场景都向同一模型提出两次:一次让模型作为智能体选择行动,另一次则以第三人称询问哪个选项是正确的,以此将模型自身的判断作为参照。每个场景都有一个移除压力后的对应版本;同时,每个模型还接受一个正向对照,其中其操作者命令它采取违规行动,从而可以区分真正不存在差距与模型像盲人仪器一样执行命令这两种情况。在 OLMo-3-7B-Instruct 上,模型在约五分之一的施压场景中采取了自己判定为错误的行动,而且这一比例高于移除压力后的相同场景。在四个 instruct 模型中,这一差距取决于后训练方案:OLMo-3 和 Meta's Llama-3.1-8B-Instruct 存在该差距;Tulu 3 在整个场景组中均未显示出差距(概率上高于约0.01),在其自身压力最大的场景中也未显示出差距;Qwen2.5-7B-Instruct 在整个场景组中均未显示出差距(高于约0.02),而在其自身场景中的结果尚未确定(0.083,区间为 -0.028 至 0.195)。Meta's 方案与 Ai2's Tulu 3 都以相同的 Llama-3.1 权重为起点,但只有 Meta's 方案保留了这一差距。在没有任何利害关系的情况下,将聊天模型置于其聊天模板之外进行读取,会反转其差距的符号(在 OLMo-3 上,使用模板时为 +0.055,而不使用模板时为 -0.038);三种方案中有两种存在这种扭曲。在表现出该差距的两个模型上,在行动前对利害关系进行推理,会使选择重新趋近于模型自身的判断;与同长度的非道德任务相比,无论是否施加压力,结果都是如此。在 OLMo-3 上,明确指出所涉及的规范,其效果约为前述效果的三分之一。这一差距是后训练方案可测量的目标,而不是预训练权重所固有的固定属性。

arXiv cs.LG70

MetaLearnNCA: Few-Shot Offline Meta-Learning via Interacting Neural Cellular Automata

arXiv:2610.08479v1 Announce Type: new Abstract: Few-shot meta-learning traditionally formulates task adaptation either as analytical gradient descent through unrolled computational graphs or as metric-based distance comparisons over flattened 1D fea- ture vectors, which either incur costly test-time backpropagation or discard native 2D spatial geometry. In this work, we propose METALEARNNCA, a decentralized framework that achieves few-shot adapta- tion through the dynamical interaction of coupled Neural Cellular Automata (NCAs) without computing analytical gradients during inference. MetaLearnNCA decomposes task adaptation into an Active- NCA, which executes task inference conditioned on a continuous 2D spatial memory grid termed the spatial program, and a learned Meta-NCA, which acts as a decentralized cellular optimizer by diffusing spatial error residuals across local neighborhoods to dynamically update this program. METALEARN- NCA is competitive against canonical meta-learners in-distribution (96.12% on Omniglot) with Out-Of- Distribution transfer gains on MNIST, KMNIST, and Fashion-MNIST transfer across 10 independent testing seeds across 1-, 5-, and 10-shot regimes (e.g., surpassing Prototypical Networks by +10.54% on 10-shot MNIST and a +3.87% gain on 10-shot Fashion-MNIST over FOMAML). Our results establish that robust, gradient-free learning-to-learn can emerge from decentralized cellular dynamics on non-von Neumann substrates.

arXiv cs.LG78

SSR:Sparse Segment Reduction:三值 GEMM 加速

arXiv:2610.08403v1 发布类型:new 摘要:大型语言模型(LLM)需要大量计算资源,这限制了其在资源受限硬件上的部署。三值 LLM 通过采用三值权重进行量化来降低这些需求,在稀疏度通常为 50%–90% 的情况下实现显著压缩。然而,现有方法存在局限:BitNet、冗余分段归约(RSR)及其改进版本 RSR++ 等针对三值权重优化的方法没有利用稀疏结构,而传统稀疏格式则忽略了三值特性,因而错失了双重优化机会。本文提出 Sparse Segment Reduction(SSR),一种旨在加速三值 LLM 和通用三值权重网络(TWNs)推理的三值矩阵乘法方法。SSR 采用专门优化的三值数据格式,并通过随稀疏度扩展的计算树系统性地利用稀疏模式。理论分析表明,当稀疏度高于 50% 时,SSR 的推理渐近速度快于 RSR++;实际评估则显示,其在所有稀疏度水平下均能提升性能。评估结果表明,在稀疏度为 45%–95% 的三值 GEMM 上,SSR 相比 RSR++ 可实现 2.1–11.3 倍加速。此外,在 Llama-3 1B 模型推理中,SSR 相比 RSR++ 可实现端到端 3.5–6.3 倍加速,并节省 4.9% 的内存。

arXiv cs.LG77

优化编码器:重新思考神经场的二阶元学习

arXiv:2610.08075v1 公告类型:新论文 摘要:条件神经场以连续方式表示信号,但其有效性取决于如何从观测数据中推断条件潜在表示。在元学习中,这一编码过程通过解码器所诱导的梯度更新完成,将表示学习与解码器设计直接关联起来。我们将潜变量优化解释为优化编码器,以此形式化这一联系,统一二阶微分、潜变量参数化和任务监督的作用。这一概念使二阶元学习能够对编码过程与解码器进行联合端到端训练,并明确了一阶近似舍弃了哪条学习路径。在这一视角的指导下,我们提出 Attentive Latent Fields(MetaLF),一种基于等变 transformer 的神经场,通过自注意力为潜在点云融入上下文信息。这些交互既塑造场预测,也塑造构建其表示的更新过程,使局部观测能够为连贯的非局部结构提供信息。通过将内层编码目标与外层任务监督解耦,我们在端到端元学习框架内统一了重建、分类和分割,并在测试时仅利用重建目标进行潜变量自适应。多项式场上的受控实验表明,潜变量间的协调与更低的有效秩以及与底层函数空间更强的对齐相关。在图像和三维形状重建任务中,MetaLF 仅需三至五次梯度更新即可提升保真度,同时支持图像、形状和体数据的语义预测。综上,这些发现表明,优化编码器视角可作为统一基础,围绕表示如何构建、协调和使用来设计神经场。

arXiv cs.LG78

谁承担负担?在多智能体强化学习中学习共享约束的责任

arXiv:2610.07491v1 公告类型:新 摘要:当多个智能体共享一个成本预算时,共同的拉格朗日乘子可以约束总量约束,但无法确定应如何在各智能体之间分配其惩罚。统一惩罚忽略了各智能体在奖励方面所作牺牲的异质性,而智能体特定的乘子仍可能依赖同一个总成本信号。我们提出 Lagrangian Responsibility Allocation (LiRA),通过在有限训练时域内优化社会福利,学习每个智能体在共享乘子中的分担比例。该乘子负责约束总预算,而责任分担比例则重新分配其影响,同时不修改原始奖励或约束。在满足标准正则条件的凸博弈中,改变这些分担比例会诱导出一族光滑的归一化广义纳什均衡,其中活跃约束仍保持在其预算水平,而福利则随之变化。为了在收敛前优化责任分配,我们推导出一种福利梯度,同时考虑学习更新以及由此引起的数据分布变化。在涵盖 3 至 400 个智能体的 CityLearn、MABIM、Harvest 和 MetaDrive 中,与统一乘子和智能体特定乘子基线相比,LiRA 将平均社会福利最多提高了 29%。电网和驾驶成本均保持在预算以内,库存违规减少,且 Harvest 能够更有效地利用可用预算。

arXiv cs.LG75

评审会翻转吗?从残差流激活预测对位置敏感的 LLM 评审结果

arXiv:2610.07115v1 公告类型:新 摘要:候选回答的呈现顺序可能改变 LLM 评审的判定结果。检测这种位置翻转通常需要以两种顺序分别评审每一对回答,这会使评审次数翻倍。我们研究了能否利用初始判定前即时记录的残差流激活来预测翻转。我们在 534 个 JudgeBench 成对样本上,对三个 Qwen3 评审模型和 Llama-3.1-8B 进行嵌套分组交叉验证,以评估正则化线性探针。线性探针取得了 .621–.850 的 AUROC,并且比结合口头表达的置信度、判定标签 logits、回答长度以及评审初始选择的基线高出 .062–.113 AUROC。在 JudgeBench 上训练并冻结的线性探针,在 1,802 个 MT-Bench 比较样本上取得了 .685–.853 的 AUROC,且未使用 MT-Bench 进行拟合或重新校准。这些结果表明,判定前激活能够支持对模型易受候选顺序影响程度的预测,并且优于本文评估的非激活预测因素。

arXiv cs.LG78

元学习在测定异质性条件下的少样本生物活性预测

arXiv:2610.07079v1 公告类型:新 摘要:准确的生物活性预测是药物早期发现中的核心挑战,因为单个测定通常包含的测量数据过少,无法独立训练出可靠的模型。元学习为这种少样本场景提供了一种有原则的方法,但测定异质性可能会限制其有效性。在本文中,我们验证了这一假设,并表明随着元训练任务异质性的增加,元学习的性能会下降。为应对这一问题,我们提出了 MetaHeta,一种能够考虑测定异质性的元学习框架。该框架利用相关测定中的辅助数据对预测进行条件化,其中相关性可根据现有测定信息灵活定义。MetaHeta 的架构结合了针对大型辅助数据集的线性注意力和针对稀缺任务特定上下文的精确注意力,从而在不影响后者精确注意力的情况下,实现对前者的高效扩展。我们在 ChEMBL 和 BindingDB 的测定数据上展示了该方法的优势:它提升了少样本生物活性预测的性能,并改善了回顾性贝叶斯优化中的下游化合物优先级排序。

arXiv cs.LG67

Comparative review of hybrid forecasting models for short-term prediction of building thermal load

arXiv:2610.06881v1 Announce Type: new Abstract: In this paper, a comparative review of different hybrid models for short-term forecasting of building thermal demand is carried out. Particularly, the assessment tackles the comparison of data-driven models enhanced with other state-of-the-art techniques. At the first step, the existing techniques reported in the literature are analysed. It is concluded that Metaheuristics or a data-driven model are used to identify the parameters of the basic model. The qualitative evaluation includes for each method the input and output features, main advantages and drawbacks. At the second step, an existing dataset of historical thermal demand from Scottish households, as well as historical weather forecasts are utilized to assess additionally the performance of existing hybrid methods. From the assessment of 13 hybrid methods, the Empirical Modal Decomposition - long short-term memory - Markov (EMD-LSTM-Markov) model can predict with the highest accuracy the day-ahead power pattern of heating and domestic hot water (DHW) demands. Though local power peaks are also accurately predicted, high power swells and spikes are underestimated. Other methods, such as Support Vector Machine - Simulated Annealing (SVM-SA) and Random Forest - Improved Sparrow Search Algorithm - LSTM (RF-ISSA-LSTM) predict a smooth pattern of heating and DHW demand profiles with rapid changes underestimating most power peaks.

arXiv cs.AI81

压力之下仍守原则:后训练决定 LLMs 是否会按照自己的道德判断行事

语言模型日益充当代理。一个说某项行动是错误的却仍然采取该行动的代理,与一个根本不知道那样做不对的代理,属于不同的失败类型,而对其所声明价值观的评估无法识别这种差异。我们构建了一个预注册的场景组,包含 248 个场景,涵盖五类压力。每个场景都向同一个模型呈现两次:一次让模型作为代理选择要做什么,另一次以第三人称询问哪个选项是正确的,因此模型自身的判断构成参照。每个场景都有一个移除压力后的孪生版本;此外,我们还为每个模型设置了一个阳性对照,即由操作者命令模型采取违反规范的行动,从而能够将真正存在的差距与盲目执行的工具区分开来。在 OLMo-3-7B-Instruct 上,模型在约五分之一的施压场景中采取了自己判断为错误的行动,这一比例高于同一场景移除压力后的情况。在四个 instruct 模型中,这一差距取决于后训练方案:OLMo-3 和 Meta 的 Llama-3.1-8B-Instruct 存在该差距;在整个场景组中,Tulu 3 未显示出这一差距(概率高于约 0.01),在最能对其施加压力的场景中也没有;Qwen2.5-7B-Instruct 在整个场景组中未显示出该差距(概率高于约 0.02),而在其自身最能施加压力的场景中,结果尚未确定(0.083,区间为 -0.028 至 0.195)。Meta 的方案和 Ai2 的 Tulu 3 都以相同的 Llama-3.1 权重为起点,但只有 Meta 的方案保留了这一差距。在不涉及任何利害关系的情况下,将聊天模型置于其聊天模板之外读取,会反转其差距的方向:在 OLMo-3 上,使用模板时为 +0.055,而脱离模板时为 -0.038;三种方案中有两种存在这种扭曲。在存在该差距的两个模型上,在采取行动前先推理相关利害关系,会使选择重新趋近于模型自身的判断;与等长度的非道德任务相比,无论是否存在压力,结果都是如此。在 OLMo-3 上,明确说出所涉及的规范,其效果约为这一作用的三分之一。这一差距是后训练方案可测量的目标,而不是预训练权重的固定属性。

arXiv cs.AI82

nanoMuse:适用于你拥有的每台设备的开源个人代理

2011年的助手会回答并等待,2023年的代理会完成一项任务后停止。2026年9月,Meta 的 Muse 展示了一种面向单个人的代理:它拥有账户、设备和记忆,并能在持续不断的对话中工作;但它是封闭的,运行在供应商的云端,且仅限于一个国家。人们期待这种代理能够操作个人的账户和设备,跨越数周记住相关信息,在值得主动联系时先发起对话,并为自己的行为负责。这是一类软件,而不是一个模型;直到现在,它还没有开源的对应方案。本报告通过五个问题和三个阶段定义个人代理,并根据 Meta 的公开资料及其生产环境提示词副本,梳理 Muse 的构建方式,每项陈述均标注来源。随后,报告介绍了 GPL-3.0 许可下的开源对应方案 nanoMuse:在个人拥有的每台设备上运行一个代理,让它能够操作手机屏幕和电脑屏幕。它们通过任何人都能运行的中继服务共享同一段对话;每项操作都要经过 Sentinel;记忆以个人可以读取的文件形式保存;模型则由用户自行选择。报告还给出了其规模和成本的估算,并将以下内容列为路线图:开放性、带来源追溯的记忆、面向操作能力的评测套件,以及用于这些操作的开源模型。

arXiv cs.AI74

从修订后果中学习:面向自我改进智能体的事后元经验蒸馏

随着智能体通过生成和修订技能而持续改进,发现和完善这些技能的过程本身也成为一种可学习的对象。任务技能直接作用于任务执行,而元技能则决定智能体如何发现并改进未来的技能;因此,元技能的价值会通过其引发的后续搜索过程体现出来。现有方法根据观测到的原始技能搜索轨迹和分支结果来改进元技能。然而,分支表现同时受到初始发现状态和产生该搜索过程的元技能修订的影响,因此难以刻画某次具体修订究竟改变了什么,也使更新倾向于选择受益于有利状态的修订,而非真正改进过程的修订。我们提出 HMED(事后元经验蒸馏),一种为自我改进智能体构建元经验的机制。HMED 回溯修订所源自的已完成事件,并从同一恢复后的发现状态重新执行当前版本和修订后的元技能,从而能够在共享条件下观察与修订相关的变化。每次比较都会被蒸馏为一条元经验,即一种可供未来更新复用的结构化记录,因此,即使最终未被保留的修订也能提供学习信号。在三个交互式智能体基准以及开源和闭源模型上,HMED 相较于强基线方法持续提升技能发现性能,使元技能学习不再局限于分支结果,而是进一步关注改变改进过程所带来的后果。

SiliconANGLE AI58

Meta teams up with Bret Taylor’s Sierra Technologies on new standards for AI agent commerce

Meta Platforms Inc. is partnering with Walmart Inc., Stripe Inc. and the enterprise artificial intelligence firm Sierra Technologies Inc. on the creation of new standards that will define how autonomous AI agents interact with other businesses online. The new standard was introduced by Sierra co-founder Bret Taylor, the former co-chief executive of Salesforce Inc., who […] The post Meta teams up with Bret Taylor’s Sierra Technologies on new standards for AI agent commerce appeared first on SiliconANGLE .

arXiv cs.AI79

MC-Sparse:解构并弥合扩散 Transformer 中的稠密-稀疏注意力差距

稀疏注意力是降低扩散 Transformer 在长序列生成任务中延迟的主要方法,例如视频和高分辨率 3D 资产生成。然而,现有方法在高稀疏度下可能导致生成质量和保真度下降。通过受控的预言机比较,我们将这种退化归因于三个来源:令牌分组施加的约束、不准确的交互选择,以及丢弃令牌时损失的注意力贡献。基于这一分析,我们提出 Meta-Cached Sparse Attention(MC-Sparse),这是一种无需训练的框架,可选择单个键值(KV)令牌,同时将相似查询组织成与图块对齐的分组,以实现高效的 GPU 执行。MC-Sparse 会缓存包括查询分组、使用精确注意力概率选出的 KV 索引,以及稠密与稀疏注意力输出之间的残差在内的元数据,并在后续去噪步骤中复用这些数据。在视频和 3D 生成模型上,MC-Sparse 相较于现有稀疏注意力基线,能够更高保真地逼近稠密注意力输出,并实现更大的去噪加速,同时不会产生可见的质量下降。相较于稠密注意力,在 Minimax-H3-Base 上可实现 $1.80\times$ 的去噪加速,在 3D 资产生成上可实现 $2.32\times$ 的加速,且二者的质量损失都可以忽略不计。

arXiv cs.AI

Bounds, Decompositions and Null Behaviour of KRATOS: A Mathematical Specification of a Recognition-Comparability Diagnostic

KRATOS is a group-structured bibliometric diagnostic that compares the distribution of documents (participation) with the distribution of citation weight (recognition) over a fixed, finite universe of analytical groups. This note gives its complete mathematical specification and derives the properties that govern its interpretation. Beyond bounds and equality conditions for each component, we show that the recognition-alignment score depends on citation data only through ratios of group mean citation rates to the corpus mean; that the composition ceiling of the participation--recognition factor is an affine function of the total variation distance to the uniform reference; and that the factor itself satisfies Fréchet-type bounds in terms of this ceiling and a participation-weighted recognition score. We establish an exact logarithmic decomposition of the composite index, an ordering between the primary and a reciprocal-symmetric recognition score, invariance properties, and closed-form first and second moments of the recognition ratios under global and stratified permutation nulls. These results explain why composite orderings can be sensitive to small groups, heavy-tailed citation distributions and metadata reassignment. All results are verified numerically with an accompanying script. The specification concerns measurement structure only; it does not define a measure of epistemic change or justice.

arXiv cs.AI74

迈向可本地部署的智能体科学家:面向早期药物发现的小模型规划

早期计算药物发现需要在多步骤工作流中协调异构科学工具。我们提出了一个轻量级工具增强框架,其中可本地部署的紧凑型语言模型负责规划对 18 个模块化工具的调用。Unified Molecular Schema 维护共享的分子记录,而插件接口支持工具替换与扩展。我们通过工作流图路径覆盖构建了 1,263 对人工精修的查询—计划数据,并对三个紧凑型模型系列应用 LoRA 微调。在查询级划分下,所有微调模型都能针对 47 个留出的跨组查询生成完全可解析且符合模式的计划。Llama 3.2-3B 的工具选择 F1 达到 0.998,序列完全匹配率达到 0.979,参数 F1 达到 0.960。在更严格的按工作流分组划分下,不同划分之间不存在完全相同的有序工具序列,序列完全匹配率达到 0.452 至 0.548,这凸显出紧凑型模型在生成训练期间未见过的完整工作流路径方面仍面临困难。这些结果证明了紧凑型、可本地部署的规划方案具有可行性,同时也表明组合泛化是未来进一步改进的重要方向。

SiliconANGLE AI50

NetApp’s Novus tackles metadata bottlenecks in AI data infrastructure

AI data infrastructure must support growing GPU clusters while making enterprise data usable for models and agents. NetApp Inc. is tying intelligent data infrastructure to production AI through a unified approach to storage and data management. Fragmented data and governance designed around manually applied policies can prevent enterprises from realizing returns on AI investments, according […] The post NetApp’s Novus tackles metadata bottlenecks in AI data infrastructure appeared first on SiliconANGLE .

The Decoder72

Meta 和 Microsoft 在 Anthropic 从合作伙伴转变为竞争对手后减少对 Claude 的使用

Meta 和 Microsoft 是 Anthropic 最大的企业客户中的两家,如今正大幅削减对 Claude 的使用。Microsoft 将其云部门每位员工每月的预算从 100,000 美元削减至 10,000 美元,而 Meta 则将 Claude Code 用户数减半至 30,000 人。两家公司都在转而推广自家的 AI 工具。对 Anthropic 而言,对少数几家大客户的依赖正逐渐变成一项战略风险。文章《Meta and Microsoft pull back from Claude as Anthropic transforms from partner into competitor》最初发表于 The Decoder。

arXiv cs.LG82

GenomeOcean Anywhere:面向基因组 MoEs 的私有 WebGPU 推理

arXiv:2609.35882v2 公告类型:替换交叉版本 摘要:基因组基础模型在生成序列的场景中最有用,但最大的模型需要数据中心加速器,并且需要一个用来发送私有 DNA 的地方。我们探讨这样一种可能性:一个拥有 150 亿参数的基因组混合专家(MoE)模型,能否改为运行在志愿者的 Web 浏览器中,让各个专家分布在许多不受信任的设备上,同时既不改变其预测结果,也不让任何单台设备获知完整序列。我们构建了一个系统:由受信任的协调器执行注意力计算和路由,而浏览器工作节点通过手写的 WebGPU 内核运行每个专家的前馈网络;同时,我们使用实值 Lagrange 编码计算来保护专家输入:每个工作节点只接收一个经过高斯填充的份额,计算专家的线性映射,协调器则可从三个工作节点中的任意两个进行解码。在 GenomeOcean-MoE(8 个专家、top-2 路由、24 层)上,浏览器路径在每个量化级别都与原生 llama.cpp 相匹配;分布式路径始终处于 BF16 数值噪声下限(每个 token 的 KL 散度为 0.0036 nats);未经拟合的延迟模型在模拟广域网链路下预测解码时间的误差中位数为 0.74%。我们首先证明,明文专家输入并不具有隐私性:探针在每个深度都能从单个向量中恢复 token;而单个工作节点仅凭 300 个无序 token,就能以 92% 的准确率识别源基因组。采用编码专家后,在份额上训练的自适应攻击者的表现会降至最高频 token 基线;单个工作节点关于每个 token 的信息量被限制在每次前向传播 1 bit 以下,同时保真度损失仍低于 BF16 噪声下限;在 Chrome 中,编码解码的每 token 延迟为 220 至 376 毫秒,具体取决于隐藏了多少路由信息,并且即使某个工作节点发生故障,也无需副本即可继续运行。

arXiv cs.LG78

Llama-Mobile:VLMs 的高效 2.7 比特量化

arXiv:2608.21134v2 公告类型:replace-cross 摘要:由于对内存和计算资源的需求较高,将视觉语言模型(VLMs)部署到移动设备上颇具挑战。我们提出了一种用于在资源受限硬件上实现高效推理的 VLMs 量化框架。我们的方法结合了一套量化流程:利用模型自身生成训练数据,且无需访问训练配置;同时采用一种新颖的每参数 2.7 比特格式,支持在 Arm CPU 上高效执行。我们通过将 Llama 3.2 11B Vision Instruct 模型压缩至 3.7 GB(使用 8 比特激活值)验证了该方法,在一组标准视觉问答任务上仍保持了出色的性能。

arXiv cs.LG81

JARQ:量化的联合交替细化

arXiv:2609.38599v2 公告类型:替换 摘要:面向大语言模型的分组训练后量化器会将权重舍入到一个不会针对所得整数编码重新拟合的网格上。我们表明,这会造成精度损失:最佳网格取决于编码,输入相关性会耦合不同分组的误差,而有益的编码变化通常会同时涉及许多编码。我们提出 JARQ,这是一种即插即用的细化方法,可从任意分组量化器出发,交替执行所有分组尺度的联合最小二乘拟合,以及基于当前网格、通过有界 Babai 候选使一个分组中的多个编码共同移动的操作。该问题是一个双线性、盒约束混合整数最小二乘问题;其求解器无需反向传播,在精确求解尺度时不会增加逐层目标函数,并且保留宿主量化器的位宽、分组、零点和推理成本。在 Llama-2、Llama-3 和 Qwen 模型上,以 RTN、GPTQ、OmniQuant 和 AWQ 作为宿主量化器时,JARQ 在 96 项比较中的 90 项降低了困惑度,将三比特 RTN 的困惑度最多降低 36%,在 24 种配置中的 23 种提高了平均多选题准确率,并改善了 QEP、QuaRot 和 OJBKQ 的输出;对于每个 7B 模型块,耗时不到一分钟。

arXiv cs.LG80

从 Pass@K 与 Pass@1 之间的差距中学习

arXiv:2609.35793v2 公告类型:替换 摘要:对许多响应进行采样,并保留其中通过验证器的一条,可以让大语言模型解决超出其单次响应能力的问题,但每次查询都必须再次付出这种搜索成本,而许多部署场景只生成单个响应。在经过验证的响应上进行后训练,可以将搜索带来的收益迁移到模型中。在预算固定的情况下,仅按正确性进行选择会把名额花在模型本来就能正确回答的问题上,从而减少用于纠正其失败的问题的名额。为解决这种不平衡,我们提出 GapFT,在 Pass@K 与 Pass@1 之间的差距上进行训练:即针对源模型单次响应失败、但在 K 次采样内能够解决的问题进行训练。GapFT 保持目标函数和训练预算不变,只改变哪些经过验证的响应进入训练;通过精确分解,可以将最终 Pass@1 的变化拆分为已纠正的失败,以及源模型原本已经解决的问题上的性能回退。在 LogiQA 2.0 和 ReClor 上,使用三个模型系列进行实验时,GapFT 在所有设置下都优于预算匹配的均匀拒绝采样微调(RFT),总体效果为正;在 Llama-3.1-8B 和 Mistral-7B 上,仅使用全部经验证问题池中 11%–34% 的问题,就恢复了在整个经验证问题池上进行微调所得增益的约三分之二至五分之四。进一步分析表明,增益来自前几次搜索采样所找回的失败案例;而只有通过更深层搜索才能发现的失败案例会挤占回放数据,无法带来净增益;用搜索无法达到的、带有标准答案标注的失败案例填满相同预算也无法提升准确率;此外,增益还受到搜索所暴露出的可迁移失败案例数量的上限约束。

arXiv cs.LG81

迭代式纳什偏好优化的高效探索

arXiv:2606.01382v2 公告类型:替换 摘要:偏好对齐是改进大型语言模型(LLM)的核心,但当人类偏好具有非传递性时,基于奖励的形式可能会受到限制。基于人类反馈的纳什学习(NLHF)通过将对齐建模为偏好博弈并寻求纳什均衡,解决了这一局限。然而,可扩展 NLHF 的学习理论基础仍然有限:现有的后悔保证依赖于显式的偏好模型估计和极小极大预言机,而更简单的迭代方法则缺乏此类保证。我们研究了在线迭代 NLHF,并确定探索是其中的关键障碍。首先,我们证明,标准迭代 NLHF 可能对 KL 正则化参数的倒数产生指数级依赖,这表明通过策略更新实现的隐式探索可能并不足够。随后,我们提出探索式纳什偏好优化(ENPO),将 SFT 类型的正则化与对抗式策略探索相结合。ENPO 消除了这种指数级依赖,同时无需极小极大预言机或显式的偏好模型估计。我们进一步提出 Bonus-Explorer ENPO(BENPO),利用额外的预言机实现 $O(\log T)$ 的后悔界。最后,我们开发了 Direct ENPO(DENPO),这是 ENPO 的一种实用变体,用于微调 LLM。在多个基准上的实验表明,与所评估的 RLHF 和 NLHF 基线相比,使用 Llama-3-8B-Instruct 能够持续取得改进。

arXiv cs.LG81

面向机器人系统黑盒安全强化学习控制器的演示引导观测攻击

arXiv:2602.16543v2 公告类型:替换 摘要:安全强化学习(Safe RL)在安全约束下优化任务奖励,从而学习机器人控制器,但观测扰动可能导致安全违规。现有以安全为导向的攻击通常需要访问受害者网络、梯度、评论家或明确的规范——而控制器一旦以黑盒形式部署,这些假设往往难以满足。我们提出了一种演示引导的观测攻击,用于分析未知的安全强化学习控制器。该框架通过逆约束强化学习恢复状态约束和替代策略,并从演示转移中学习动力学。二者组合后的梯度能够在不依赖受害者参数、梯度或查询的情况下生成有界观测扰动;演示是唯一与受害者相关的信息。在四个 Bullet 任务和一个 MetaDrive 地图上,针对每个受害者设置三个攻击预算,该攻击在 15 个环境—预算条件中的 12 个超过了所有使用相同访问权限的基线方法;在这 12 个条件中的 7 个里,它还超过了可访问受害者奖励评论家和成本评论家的特权参考攻击。因此,为支持安全学习而发布的演示为已部署的黑盒控制器提供了攻击面。防御研究表明,状态对抗正则化能够降低攻击成本,而经测试的对抗训练和演示污染方案所提供的保护效果并不一致。

arXiv cs.LG79

RMCW:一种基于 Reed--Muller 码、抗删除的语言模型水印

arXiv:2610.02817v1 公告类型:cross 摘要:大语言模型(LLM)水印为识别由特定模型生成的文本提供了一种轻量级机制,但其在后处理攻击下的鲁棒性仍然较为脆弱。删除攻击尤其具有挑战性,因为它会导致词元位置发生偏移,并破坏观测词元与其原始水印位置之间的对齐关系。我们提出 Reed--Muller Code Watermarking(RMCW),一种基于 Reed--Muller 码的 LLM 水印方法。不同于全局码字恢复,RMCW 搜索能够存活的局部代数结构,利用 Reed--Muller 码字的仿射线限制所诱导的 Reed--Solomon 一致性。在生成过程中,RMCW 通过由密钥控制的词汇表划分,将 Reed--Muller 结构注入序列。在检测过程中,它将给定文本映射到由密钥确定的词汇分箱,并使用 Berlekamp--Welch 测试检验局部子序列是否具有低次数 Reed--Solomon 一致性。在 C4 和 ELI5 数据集上使用 OPT-1.3B 和 Llama-3.1-8B-Instruct 进行的实验表明,RMCW 保持了较强的干净文本可检测性,并且在多种删除攻击和改写攻击下,性能优于或持平于基线方法。我们的代码可在 https://github.com/BaichengDanny/RMCW 获取。

arXiv cs.LG

An Automated and Reproducible Workflow for Crack Identification and Damage Assessment of Fusion Materials

arXiv:2610.03505v1 Announce Type: new Abstract: Post-exposure microscopy is central to qualification of fusion materials. However, manual analysis does not scale to the volume, heterogeneity, and multiresolution character of modern fusion-materials campaigns. To address this challenge, we present a reproducible workflow, implemented in the Galaxy scientific workflow environment, for automated crack identification and quantitative damage assessment from scanning electron microscopy images. The workflow processes SEM images and experimental metadata to identify cracks, quantify damage, and retain the intermediate products and processing history needed for reproducibility. Outputs include crack masks, skeletonized crack networks, quality-control visualizations, and scalar damage descriptors. The method is designed to operate without image-specific parameter tuning across tungsten grades, microstructures, magnifications, and damage states. We demonstrate the workflow on a sparse electron-beam thermal-shock dataset containing 418 images from 114 experiments spanning five tungsten grades and three microstructural states. We define a crack-density descriptor, which provides standardized inputs for downstream machine-learning prediction and physics-based crack simulation. These predictive components are exposed in the same Galaxy environment and are intentionally treated here as extensible workflow modules. The principal contribution is therefore an end-to-end, shareable, and computationally portable workflow that links experimental characterization, automated image analysis, preliminary damage prediction, and simulation-guided data acquisition for fusion-materials research.

arXiv cs.LG61

Temporal Geometry of Deep Networks: Hyperbolic Representations of Training Dynamics for Intrinsic Explainability

arXiv:2610.03000v1 Announce Type: new Abstract: Intrinsic explainability remains a challenging problem, particularly in contexts where multilayer perceptrons (MLPs) require dynamic re-training within an optimization environment. This paper investigates how MLPs and their training dynamics can be represented and studied in non-Euclidean spaces; our representation features the Poincar\'e model of hyperbolic geometry. We aim to capture the geometric evolution of their weighted topology and self-organization over time. Instead of restricting the analysis to single checkpoints---as per established measure-based explainability methods---we construct temporal \textit{parameter graphs}, i.e., snapshots over time $T$ steps of the optimization/training process for MLPs. This reflects the view that neural networks encode information not only in their weights but also in the trajectory traced during training. Drawing on the idea that many complex networks admit embeddings in hidden metric spaces where distances correspond to connection likelihood, we present a geometric and temporal graph-based metalearning framework for obtaining dynamic hyperbolic representations of the underlying neural parameter graphs. Our model embeds temporal parameter graphs in the Poincar\'e model ball, and learns from them while maintaining equivariance to within-snapshot neuron permutations and invariance to permutations of past snapshots. In doing so, the approach preserves functional equivalence over time and recovers the latent evolving geometry of the network. Experiments on regression and classification tasks with trained MLPs show strong meta-network performance, accompanied by hyperbolic temporal representations. This reveals how the network structure emerges over time under specific training environments, thus providing insights into the network's self-organization.

arXiv cs.LG78

MuonIO:面向嵌入表和语言模型输出头的有原则的范数感知下降

arXiv:2610.02705v1 公告类型:新 摘要:Muon 优化器通过求解一个由谱范数惩罚的损失局部线性化问题,为隐藏线性层推导其更新规则;这一方法的动机来自针对稠密线性层的 RMS 稳定性论证。然而,标准的 Muon 实现将输入层(嵌入表)和输出层(语言模型输出头)排除在这一有理论依据的处理之外,而是对它们使用 AdamW。我们提出 MuonIO,为这两类层提供一种统一的 Muon 风格更新。对于语言模型输出头 $\mathbf{L} \in \mathbb{R}^{V \times d}$,鉴于 softmax 输出几何结构的 Lipschitz 连续性,我们提出使用 $2\to\infty$ 算子范数;对于嵌入表 $\mathbf{E} \in \mathbb{R}^{d \times V}$,则基于 Bernstein & Newhouse (2025) 所确定的 one-hot 输入几何,采用 $1 \to 2$ 算子范数。恒等式 $\lVert\mathbf{L}\rVert_{2\to\infty}=\lVert\mathbf{L}^\top\rVert_{1\to2}$ 由此将两个矩阵置于相同的面向词汇表的几何结构中:MuonIO 应用统一的归一化向量规则,对 $\mathbf{E}$ 表现为列归一化,对 $\mathbf{L}$ 表现为行归一化。实证评估表明,我们的方法有效:在 C4 上进行 1B LLaMA 预训练时,与 Muon 相比,MuonIO 将 I/O 优化器状态内存减少了 50%,将 I/O 更新 FLOPs 减少了约 46%,同时还改善了验证集困惑度。

arXiv cs.LG80

Fisher 引导的大语言模型持续预训练次模数据选择

arXiv:2610.02593v1 公告类型:新 摘要:数据选择已经是大语言模型训练中的核心瓶颈,因为网络规模语料库充满噪声,而 token 预算有限。在持续预训练(CPT)中,数据选择进一步成为遗忘控制问题:选择不当的目标领域语料库可能会覆盖预训练检查点中已经编码的能力。现有的 CPT 实践要么使用困惑度等与参数无关的标量为候选数据评分,要么通过消耗大量额外的通用领域回放 token 来缓解遗忘。两种策略都没有直接考察在候选数据上训练将如何改变模型参数。我们发现,基于损失的数据选择会使 CPT 后的 Fisher 对角线在预训练模型已经固守的高 Fisher 坐标上向下漂移,同时基本不影响低 Fisher 坐标。这种不对称性揭示了灾难性遗忘在参数空间中的作用机制。受此观察启发,我们提出了一种具备 Fisher 感知能力的 CPT 选择器,将每个候选样本的梯度分解为锚定分量和前沿分量:前者衡量沿已固守参数方向的扰动,后者衡量在不受约束的低 Fisher 子空间中的更新能力。我们使用对数行列式次模目标聚合这些信号,并通过可扩展的流式数据选择流程在单次遍历中对其进行优化。在 TinyLlama-1.1B 和 Llama-3.1-8B 上使用医学数据进行 CPT 时,我们的选择器在提升目标领域质量的同时,限制了在留出的预训练基准上的遗忘。更重要的是,与具备遗忘感知能力的回放策略相比,它显著提高了 token 效率。仅使用 1B 个选定 token,其在适应效果和遗忘控制方面就已经超过了使用 10B 个 token 训练的回放策略,实现了 10 倍的 token 效率优势。

arXiv cs.LG80

通过提示进行判别:在真实环境中泛化恶意输入探测器

arXiv:2610.02413v1 公告类型:新 摘要:LLM agents 越来越依赖激活探测器作为运行时监视器,用于检测提示注入、越狱和不安全请求;这类探测器读取模型自身的隐藏状态,以便在代理对有害输入采取行动之前将其识别出来。一种廉价且日益常见的做法借鉴了 LLM-as-judge 提示:在用户发言之后追加一条简短的分类指令,并在此位置读取探测信号,从而增强探测效果:该指令要求模型将收到的请求表示为某个类别,使探测器需要区分的信号更加集中,而服务成本几乎不变。但这个后缀的措辞是否重要?它的优势是否能在真实环境中成立,即面对探测器训练时从未见过的攻击类型——这正是部署后的监视器所处的场景?我们在严格的留一数据集外(LODO)评估下,通过一组受控的用户发言后缀进行测试,覆盖 13 个安全基准(越狱、注入和良性聊天)以及三个开放权重模型系列(Llama-3.1-8B、Qwen3.5-9B、Gemma-4-12B)。对于单位置探测器,分类后缀相较于无后缀能够稳定提升分布外检测性能(最高约提升 4 个 AUC 点);但后缀的具体形式很重要:提示模型对输入进行分类,即使类别标签不包含任何内容信息,也能稳定胜出;无关主题的后缀或仅要求模型注意输入的后缀帮助不大。性能提升来自分类格式,而非明确指定的判据:不包含内容信息的后缀能够匹配真实的恶意/良性分类,而加入判据只会在严格阈值下提升精确率。这并非单位置读取造成的假象:在生产环境中使用的多位置汇聚探测器(attention、multi-max、MLP)上,这一收益同样存在,不过其中表现最佳的后缀取决于读取方式。通过 KV-cache 分叉提供服务时,这种方法可以低成本地直接接入任何激活探测监视器,但并非必然有效:哪种后缀有帮助以及帮助有多大,取决于模型和读取方式。

arXiv cs.LG75

犹豫具有几何结构:用于稀疏激活引导的经熵训练双曲探针

arXiv:2610.02391v1 发布类型:new 摘要:当大语言模型解决数学问题时,其推理很大程度上具有层次性,而解答通常会在少数几个下一词熵较高的词元处发生分支。这种树状结构嵌入双曲空间时的失真远低于嵌入欧氏空间。尽管如此,激活引导通常仍通过在每个词元处添加同一个固定的欧氏向量来编辑预训练模型的隐藏状态,即使解答中的大多数词元已经由上下文确定。我们提出 Hyperbolic Entropy Steering(HEST):使用一个轻量级探针将隐藏状态嵌入 Poincaré 球,而该探针唯一的标签就是模型自身的下一词熵。当该熵超过阈值时,HEST 沿着探针读出函数的最速下降测地线移动嵌入状态,然后将这一变化映射回隐藏状态。对于以一个学习得到的理想点为基础的 Busemann 读出函数,我们证明,固定长度的步长会在任意状态处将其降低相同的量。在来自 Qwen2.5-Math 和 Llama-3.1 系列的三个指令微调模型上,采用 Busemann 读出函数的 HEST 在六种设置中的五种下提升了 MATH-500 和 GSM8K 上的贪心准确率,最高提升 1.8 个百分点;相比之下,在每个词元处添加对比式引导向量会降低准确率。对于以相同方式训练的欧氏探针,在 Qwen2.5-Math-1.5B-Instruct 上,这一增益消失了。对于模型经常犹豫的问题,增益最大;而在其余问题上,准确率几乎没有变化。

arXiv cs.LG70

MACTS-EM: Multi-Agent Collaborative Time Series Forecasting with Emergent Memory

arXiv:2610.02255v1 Announce Type: new Abstract: Time series forecasting remains a critical challenge across numerous domains. Despite significant advancements, existing approaches struggle with complex phenomena such as regime shifts, cross-domain knowledge transfer, and multimodal data integration. This paper introduces Multi-Agent Collaborative Time Series Forecasting with Emergent Memory (MACTS-EM), a novel framework where specialised agents collaborate to achieve superior forecasting performance. The MACTS-EM architecture integrates: (1) domain-specialised forecasting agents for pattern recognition, anomaly detection, causal inference, and uncertainty quantification; (2) a meta-cognitive layer for dynamic agent allocation; (3) an emergent memory mechanism enabling cross-domain pattern transfer; (4) multimodal contextual integration; and (5) adversarial robustness components. Evaluation across financial markets, climate patterns, energy consumption, and pandemic propagation demonstrates that MACTS-EM outperforms existing approaches in most scenarios, with 8-12% improvement in forecasting accuracy, 22-27% better zero-shot transfer capability, 16-21% enhanced resilience during regime shifts, and 15-18% faster recovery after distribution shifts. Our findings suggest that collaborative, agentic approaches to time series forecasting represent a promising direction beyond traditional architectures, particularly for complex real-world scenarios requiring multi-resolution temporal understanding and contextual adaptation.

MarkTechPost61

Meta, OpenAI and Uber Just Taught AI Agents to Talk First. What About When to Stay Quiet?

TL;DR: Meta’s Muse, OpenAI’s Dots and Uber’s driver assistant share one bet: the agent speaks first. That moves the hard problem from what to answer to when to interrupt, on which channel, and with what offer. Classic ML and new decision models can solve it. Three launches, one pattern From pull to push Chatbots were […] The post Meta, OpenAI and Uber Just Taught AI Agents to Talk First. What About When to Stay Quiet? appeared first on MarkTechPost .

Hacker News 熱門

Show HN: Thoreau BASIC – What if BASIC hadn't gone out of fashion?

Thoreau BASIC started as a joke. I wanted a BASIC where I could type something ridiculous like: DIM A%(12000000000) …and have it actually work. Then I kept adding things. The result is Thoreau BASIC, a free x64 BASIC interpreter inspired by GW-BASIC, running both as a normal Windows program and directly on bare-metal UEFI without an operating system. Version 3.2 has become considerably more ambitious than the little interpreter I originally intended to write. The language still deliberately looks and feels like old Microsoft BASIC. Line numbers, GOTO, GOSUB, PRINT, PSET, LINE, CIRCLE, DRAW, etc. are all there. But underneath that rather innocent-looking surface is now quite a lot of machinery. Some of the current features: native x64 JIT compilation, with automatic fallback to the interpreter PARFOR for multithreaded numeric loops SSE2 / AVX2 acceleration where available 64-bit addressing and very large arrays native complex, quaternion and other hypercomplex numbers arbitrary-resolution 24-bit graphics sprites, bitmap operations, polygon filling and mouse input TCP/IP networking on Windows and UEFI an integrated profiler, debugger, tracing and program-analysis tools CREATEEXE to turn a BASIC program into a standalone Windows executable CREATEEFI to turn the same program into a directly bootable UEFI application The sound system has also grown rather out of proportion. Thoreau BASIC can now handle up to 32 live instrument channels plus 64 sound effect channels and 256 voices, with real-time pan and brightness control. NOTE and SOUNDKEY can be used more like playable synthesis primitives rather than just old-school BASIC beeps. 3.2 also expands the less glamorous but surprisingly useful parts of the environment. There is better file browsing and selection with GETFILES and SELECTBOX, longer case-preserving paths, recovery/file-flush facilities, and considerably more detailed SYSTEMINFO$ diagnostics. The latter is useful for seeing things such as available CPU capabilities and the execution environment while debugging performance differences between machines. One thing I've spent a lot of time on recently is making the BASIC programs themselves fast enough that they stop feeling like demonstrations of an interpreter. For example, the current Mandelbrot demo is a real-time interactive fractal explorer. Mouse movement pans the fractal, left-click zooms in and right-click zooms out, while the BASIC program continuously redraws and displays the frame rate. There are also 3D and procedural demos, sprite programs, networking examples, hypercomplex fractals and games. An important design constraint throughout the project has been that Windows and UEFI should execute essentially the same BASIC language. A program shouldn't suddenly become a different species just because there is no operating system underneath it. And yes, I am fully aware of the absurdity of combining GOTO 100 with AVX2, multithreading, TCP/IP and quaternion arithmetic. That is increasingly the point. I'm interested in the question: What would BASIC look like if it had never gone out of fashion? Thoreau BASIC 3.2 is my current answer. I'd be especially interested in feedback from people who remember GW-BASIC/QBasic, compiler/interpreter people, and anyone sufficiently unreasonable to enjoy the idea of booting a modern x64 PC directly into a BASIC interpreter/JIT compiler. Comments URL: https://news.ycombinator.com/item?id=49942103 Points: 37 # Comments: 13

Simon Willison70

Quoting John Gruber

Muse is getting a lot of attention — including mine — because it’s both groundbreaking technically (each user gets their own entire persistent Linux VM running in Meta’s cloud) and because it’s packaged in an easy-to-install easy-to-use way. It’s literally presented as a cute mascot . It’s the first consumer-accessible agentic AI system, and Meta has truly done an amazing job with that. But it’s a genuinely open question whether consumers have any understanding what this means. If you buy a power saw that can cut your fingers off, you are almost certainly aware that you are buying a power saw that can sever your fingers. [...] I don’t think people realize how powerful — and thus dangerous — Muse is, especially if it’s running on your Mac. — John Gruber , Muse Looks Cute, but Looks are Deceiving Tags: meta , ai , llms , general-agents , generative-ai , john-gruber , muse-agent , muse

Simon Willison78

2026 in LLMs (so far)

On Friday I gave the closing keynote at the WeAreDevelopers World Congress North America in San Jose. I tied together the key trends from the past year into a chronological exploration of everything that happened in 2026. The video is on YouTube ; here are my annotated slides and notes to accompany the talk. And as an annotated presentation : 2026 in LLMs (so far) Simon Willison WeAreDevelopers World Congress North America, 25th September 2026 # I'm going to give a lightning tour of everything that has happened so far in 2026. The year isn't over yet! November 2025 # For me, 2026 started a couple of months earlier in November 2025. The November 2025 inflection point Claude Opus 4.5 GPT-5.1 # November saw the release of two important models: Claude Opus 4.5 and GPT-5.1. As is usually the case with new models, these were incremental improvements on the models that came before them. But every now and then when a model improves, it crosses an invisible line where something that didn't really work starts working. In this case, the thing that started working was their coding agents. Claude Code had been around since February 2025; Codex was a little younger. These two new models, when paired with their respective coding agent harnesses, improved from "often make mistakes" to "reliable enough to use on a day-to-day basis". "Generate an SVG of a pelican riding a bicycle". The Claude Opus 4.5 one has a very weird shaped frame and the pelican looks like a duck. The GPT-5.1 has a slightly better but still broken bicycle frame and a slightly better pelican beak, but both are pretty terrible. # For a couple of years now I've been evaluating new models by asking them to "Generate an SVG of a pelican riding a bicycle". It's probably the world's stupidest benchmark - there's only so much you can learn from it. But it's still a challenge for models, because drawing pelicans is difficult, drawing bicycles is difficult, and pelicans can't ride bicycles in the first place. Here's the state of the art for November. Claude still couldn't really draw a bicycle! The GPT-5.1 bicycle frame is pretty crap too. November 24th 2025 - the first commit to steipete/Warelay. A GitHub commit adding an MIT license file. # Also in November, we had the first commit to an obscure GitHub repository called "Warelay". We'll come back to this repository shortly. January # And then there were the December holidays, and individual developers took some time off and many started tinkering with these new coding agent model combinations... and it began to dawn on us quite how much they could do that they couldn't do before. Come January, a lot of us were quite excited to start putting this stuff into action. New year’s resolution for 2026 Every previous year: Take on less new projects, focus on the most important things in my existing projects # Every year I set myself a New Year's resolution, and for as long as I can remember it's been the same thing: stay focused. Take on less new projects. Try to get things done in the projects I already have. 2026: Be more ambitious. Take on as many new projects as I want. # This year I decided that since that had never worked before, I'd go the other way. We've got coding agents now, let's see what they can do. I'm going to take on as many new projects as I like! (You can ask me at the end of the year if this turned out to be a good idea or not. I have a lot of plates spinning right now.) "Be more ambitious" has been something of a theme for the year, because the only way to find the limits of this technology is to keep on pushing them until they don't work. Predictions for 2026 It will become undeniable that LLMs write good code We're finally going to solve sandboxing A “Challenger disaster” for coding agent security Kakapo parrots will have an outstanding breeding season (only 236 in the world!) ... the Pope will weigh in on LLMs and their economic impact on the world # I also went on the Oxide and friends podcast with Bryan Cantrill and Adam Leventhal to share predictions for the next year (and three and six years). With hindsight, my LLM predictions were pretty unambitious. I said "it will become undeniable that LLMs write good code" - I think we're there now. I predicted we would finally solve sandboxing. I counted and around 40 of the 277 sessions at this conference touched on sandboxing or agent security in some way, so we're at least putting a lot of effort into that! I predicted "a Challenger disaster" for coding agent security. There's certainly been a whole lot of noise around agent security this year, though the exact disaster I predicted (with coding agents being hijacked and causing real-world economic damage) hasn't really played out. We threw in a joke prediction that the Pope would weigh in on the economic impact of LLMs. A photograph of a beautiful green New Zealand parrot. Photo credit Kimberley Collins. # I also predicted that New Zealand's Kākāpō parrots would have an outstanding breeding season this year. These are flightless nocturnal parrots. They're kind of dumpy looking, I think they're beautiful, and there were only 236 of these parrots in the world at the start of the year. Kākāpō only breed when the Rimu trees have a big fruiting season, and that hasn't happened in four years... but this year the Rimu fruit were looking excellent. Photo by Kimberley Collins . Deep Blue Coined by Adam Leventhal and Bryan Cantrill That feeling of AI induced ennui where software engineers get listless because the AI can do anything # Also on that podcast, we coined a term (full credit to Adam) for "that feeling of AI induced ennui where software engineers get listless because the AI can do anything". We called it Deep Blue . This has been a major theme throughout the year, and was touched on by several speakers at this conference. As a software engineer, I've never had a year of my career where everything has changed so quickly and so dramatically. A lot of what I've been doing this year is trying to come to terms with that and what that means for my own profession. AI mania Screenshots of the micro-javascript and pwasm GitHub README files. # Also in January, I suffered from what I'm calling AI mania . This is not the same thing as AI psychosis . With AI mania, any time your agent isn't building something for you feels like wasted time. You're losing sleep because you could be staying up later getting your agents to do stuff. My AI mania presented itself in some ridiculously over-ambitious projects. I built a JavaScript interpreter entirely in Python , vibe-ported from MicroQuickJS by Fabrice Bellard. Then I built a WebAssembly runtime in Python as well . These projects were quite useful, in that they sort of cured me of my AI mania... because after I built these things, I got to look at them and ask "does the world need a slow, buggy, half-baked Python JavaScript interpreter?" I don't think the world does. micro-javascript playground 3 Execute JavaScript code in a sandboxed micro-javascript environment powered by Pyodide A web UI with some JavaScript code, and a "Run Code" button, and an output panel. # I did get this out of it: https://simonw.github.io/micro-javascript/playground.html Previous screenshot, with this text overlaid: JavaScript running in Python running in Pyodide running in WebAssembly running in JavaScript # This page runs my JavaScript interpreter built in Python, running in Python using Pyodide , which is Python compiled to WebAssembly, running in JavaScript, running in a browser. It's a beautiful stack of horrors. I've been having a lot of fun with WebAssembly this year. Warelay → CLAWDIS → CLAWDBOT → Clawdbot → Moltbot →🦞 OpenClaw Screenshot of the dates that these changes happened. # By the end of January, that repository we saw start in November had renamed itself, first to CLAWDIS, then CLAWDBOT, then Moltbot, and finally to OpenClaw. Same screenshot, an overlay reads: 8,330 commits in just under two months (it’s at 100,141 today) # At this point OpenClaw had 8,300 commits, less than two months after the project had started. I looked today and it's over 100,000 commits now! This is the most vibe-coded piece of software in existence. (Here's how I generated that list of name changes .) Generic term: Claw # This kicked off the OpenClaw revolution. It effectively defined a new category of software. There's a generic term for this which I really enjoy. We call software like this a "Claw". There's OpenClaw, NanoClaw , IronClaw , PicoClaw ... Today they're being rebranded as "personal agents" or "general agents", but I still like to think of them as Claws. Photo of a Mac mini An aquarium for your Claw # The Apple stores in the Bay Area sold out of Mac Minis because so many people were buying Mac Minis to run OpenClaw! Drew Breunig said that this is because your OpenClaw is a digital pet, and you buy a Mac mini as an aquarium to keep your claw in, which is kind of delightful. Screenshot of Moltbook - a social network for AI agents # Also in January, we had this website. This was MoltBook , a social network for AI agents, where the idea was that you send your Claw to go and talk to all of the other Claws, because what could possibly go wrong if you did that? The website launched on Thursday. It blew up on Friday . It was profiled by the New York Times on Monday . And by Tuesday, everyone had forgotten it existed as it drowned in a deluge of slop and spam. Facebook/Meta bought it a month later . February # In February, a company called StrongDM described what they called their Software Factory. StrongDM’s Dark Factory Justin McCarthy, Jay Taylor, Navan Chauhan Software Factories and the Agentic Moment # They wrote about this in Software Factories and the Agentic Moment . I posted my own notes at the time, having seen their demo in person back in October. Dan Shapiro called this approach the Dark Factory , after the idea that if your factory is sufficiently automated you can turn the lights out, because you don't even need to see what's going on. StrongDM presented two rules for software development that they'd been following since July last year. “Rule 1: Code must not be written by humans” # The first was code must not be written by humans . Any code that you write has to have been routed through a coding agent. This sounded radical in February, but I imagine there are a lot of people in this room who are pretty much living that today. “Rule 2: Code must not be reviewed by humans” (!) # Rule number two was code must not be reviewed by humans . You're not allowed to read the code! This continued to be a huge topic for much of this year. Many of the sessions at this event have been about code review and how you can get away with this. What I found interesting about StrongDM is that they were living six months ahead of the rest of us, and they'd been exploring what it means to build software, not read the code, but still be confident that the software is of high quality. What can you do with these agents to help verify their work? StrongDM are a security company, and they had people with decades of experience on this project. They were very much exploring the edges of what's possible and responsible to do with this stuff. Headline on New Zealand's Department of Conservation website: First kakapo chick in four years hatches on Valentine's Day. It's a grey fluffy ball. # Also in February: First kākāpō chick in four years hatches on Valentine's Day . Breeding season is off to a good start! 19th February 2026 Gemini 3.1 Pro A surprisingly good illustration of a pelican riding a bicycle. # Also in February... Google released Gemini 3.1 Pro . That's a pretty great pelican riding a bicycle! It's got the chain in the right place, it's got feet on both sides. There's a little fish in the basket. @JeffDean on Twitter - a video comparing Gemini 3 Pro and Gemini 3.1 Pro. # And then Google's Jeff Dean tweeted a video comparing Gemini 3 Pro and Gemini 3.1 Pro that featured an animated pelican riding a bicycle, a frog on a penny-farthing, a giraffe driving a tiny car, an ostrich on roller skates, a turtle kickflipping a skateboard, and a dachshund driving a stretch limousine. This was frustrating, because my protection for the pelican riding the bicycle test was always "if they draw a perfect pelican on a bicycle, I'll ask for some other animal on something else." Google trained for all forms of animals on all forms of transport! They've defeated my benchmark at this point. Three headlines: Meta Makes AI Adoption a Formal Part of Performance Reviews Not just engineers writing code, Microsoft wants almost every employee to use Al Dara Khosrowshahi: 90% of Uber engineers now use AI in daily workflows # The other thing that started in February was Tokenmaxxing . We had headlines about Meta making AI adoption a formal part of performance reviews, and Microsoft wanting every employee to use AI, and Uber boasting that 90% of their engineers were using AI workflows. More headlines: Meta Plans to Crack Down on Employee Token Use: Information Microsoft Tells Engineers: Tokenmaxxing is not what we are optimizing for Uber caps employee AI spending after blowing through budget in four months # Then a few months later we have Meta cracking down on token use, Microsoft saying tokenmaxxing is "not what we are optimizing for", and Uber capping employee AI spending. So tokenmaxxing went straight up and then straight back down again - because it turns out the agents are expensive . Last year it was difficult to spend more than $50 on AI tokens, because we didn't have anything interesting to do with them. Then agents blew up, and now you can actually spend $1,000 in a day doing real work. This is also the reason that Anthropic's valuation skyrocketed to maybe a trillion dollars. AI appears to have hit product market fit in 2026, primarily through coding agents. March # In March, we hit peak OpenClaw. March: peak OpenClaw Photos of people in china queuing up to install OpenClaw, with big fluffy lobsters. # These photographs are from China, where companies hosted OpenClaw install parties which saw non-tech-nerds queueing up around the block for help getting Claws installed on their personal devices. I think this proved real market demand for this class of Claws, or personal AI agents. It turns out regular people really do want a weird little AI agent that can do useful things on their behalf. A Claw is really just a coding agent wearing a less threatening hat. Under the hood they work much the same way - writing and then executing code on your computer to get stuff done. The race was on to be the first to build a safe Claw - a Claw you could give to regular human beings where they wouldn't instantly shoot themselves in the foot. Meta's Muse came out three weeks ago and is currently at the top of the free charts on the iPhone App Store. It appears to be taking off with consumers. I'm not yet convinced you can't shoot yourself in the foot with Muse, but I guess we'll find out for sure pretty soon. Photos from How the OpenClaw Frenzy Is Testing China’s AI Commitment (March 29th) and The Enthusiasm and Anxiety Behind China’s OpenClaw Craze (April 8th, 2026). April # In April, we had a model release where the model wasn't actually released. Simon Willison’s Weblog - screenshot of the post "Anthropic’s Project Glasswing—restricting Claude Mythos to security researchers—sounds necessary to me" from April 7th 2026 # Anthropic announced their new Claude Mythos model, and then said it was too dangerous to release beyond a trusted group of security researchers. Mythos was really, really good at hacking things. The "it's too dangerous" marketing ploy has been played by AI companies dating all the way back to GPT-2 . Anytime an AI company says we've built something that's "too dangerous", it's natural to be a bit skeptical. I found the Mythos claims credible, because I'd seen how good coding agents had got at finding regular bugs. I wrote about that in Anthropic’s Project Glasswing—restricting Claude Mythos to security researchers—sounds necessary to me . With hindsight... yeah, the models had got really good at finding vulnerabilities! 16th April 2026 Qwen3.6-35B-A3B and Opus 4.7 Qwen's pelican has a correct bicycle frame and a good beak. Opus 4.7's bicycle frame is still junk. Qwen3.6-35B-A3B is a 20.9GB file that runs on my laptop # Another key trend in 2026 has been a dramatic improvement in the abilities of open weight models, including models that you can run on a laptop. On the 16th of April I ran the new Qwen3.6-35B-A3B on my laptop, and it drew me a better pelican riding a bicycle than Anthropic's brand new Claude Opus 4.7 did! Opus 4.7 drew a crap bicycle. Qwen on my laptop made a bicycle that was the correct shape, and a pretty decent pelican too! That's from a 21GB file running on my laptop. Now a flamingo on a unicycle. The Qwen one is visibly better than the Opus 4.7 one - the Qwen one is wearing sunglasses and looks a bit like it's smoking a cigarette. # The Qwen pelican was so good that I was suspicious they might have cheated, so I had it do a flamingo riding a unicycle as well. Again, it handily beat Claude Opus 4.7. The local model releases this year have been absolutely extraordinary. May # In May... the Pope got involved. 25th May 2026 The HOLY SEE ENCYCLICAL LETTER MAGNIFICA HUMANITAS OF HIS HOLINESS POPE LEO XIV ON SAFEGUARDING THE HUMAN PERSON IN THE TIME OF ARTIFICIAL INTELLIGENCE # In our podcast episode back in January we'd predicted that the Pope would say something about AI. In May, Pope Leo XIV released an encyclical letter on "safeguarding the human person in the time of artificial intelligence". Here are my notes on that document . Wikipedia article on Rerum novarum Rerum novarum is an encyclical issued by Pope Leo XIII 15 on May 1891. # With hindsight, this shouldn't have been a surprise at all. Our current Pope's name is Leo XIV, because when he named himself he chose his papal name after Leo XIII - the Pope who wrote an encyclical about the Industrial Revolution back in 1891. Rerum novarum was an extremely influential piece of Catholic theology that indirectly led to us having the five-day work week. When our new Pope came in, he named himself after Pope Leo XIII because he expected that he would need to write about the AI revolution in a similar way. Our joke podcast prediction was junk, because this was always going to happen. Corey Quinn @QuinnyPig on Twitter I cannot believe I'm saying this, but getting the literal Pope to canonize your product's specific technical limitations as a spiritual treatise is the single greatest act of vendor lobbying I have ever seen. May 25 # One of Anthropic's co-founders, Christopher Olah, was present for the Pope's event announcing the new encyclical. Corey Quinn noted that: getting the literal Pope to canonize your product's specific technical limitations as a spiritual treatise is the single greatest act of vendor lobbying I have ever seen. @maciejmensfeld We're dealing with a major malicious attack on right now. Signups are paused for the time being. Hundreds of packages involved - mostly targeting us, but some carrying exploits. The team has been on this for hours. More details to follow once we're through it. 4:39 AM - May 12, 2026 - 687.6K Views # Meanwhile, in May, RubyGems announced that they were under attack. Parties unknown were uploading thousands of dubious packages to the RubyGems server, such that they had to shut down user registrations . Let's take that one and put it on a pile of mysteries to figure out later. June # In June... Claude Fable 5 came out! We got a version of Mythos that has been neutered, so that it wouldn't help us hack into systems or build biological weapons. 9th June 2026: Claude Fable 5 Five pelicans riding bicycles, from low to max thinking levels. The xhigh one looks particularly good. # Fable was pretty good at drawing pelicans on bicycles! The frames are a good shape, the pelicans look like pelicans. The legs are often incorrectly on the same side of the bicycle, but generally these are pretty great compared to what came before. They were pretty expensive - 30 cents and 72 cents for the best ones. Fable class models If you can define a goal, provide unambiguous instructions, and provide access to necessary tools They can solve your problem with brute force # Most importantly though, this was our first public glimpse of what I think of as a Fable class model . Today we have more of these, such as GPT-6 Astra. These are models where if you can clearly define the goal for what you want to build, and provide unambiguous instructions about the constraints around that goal, and give the model access to the necessary tools to achieve that goal... they will solve your problem effectively through brute force. On the one hand, this looks like a direct threat to us software engineers - because it means that the models can build effectively any piece of software you can define in this way. Look a bit closer though and you'll note that defining goals, providing unambiguous instructions, and figuring out the right tools... is kind of what software engineering is . It takes a lot of experience and skill to do this well. If you can do it well, you've now got superpowers. This helped me a little bit with my Deep Blue feelings: the realization that there's still a lot of skill to be had in driving models that get this good. A new form of AI mania... Fable is available on subscription plans “until June 22nd” # This also introduced a new burst of AI mania, because Anthropic told us that Fable was available on our subscription plans until June the 22nd. That gave us less than two weeks of Fable access before the price went up. I was losing sleep again. I was rescheduling things so that I'd have more time with Fable. I was all-in to get as much as I could out of this model. 12th June 2026: no more Claude Fable 5 Anthropic website: Statement on the US government directive to suspend access to Fable 5 and Mythos 5 Jun 12, 2026 # And then the US government shut it down , just three days after Fable came out. The US government, citing national security, declared an "export control directive". They announced this on a Friday evening, and a few hours later Fable was no longer available. I had to find something else to do with my weekend! ... asked Fable 5, Mythos, and Opus to “review the code for security issues.” Fable 5 refused. They then asked the models to “fix this code” ... Katie Moussouris # We later found out from Katie Moussouris what had happened. Some Amazon security researchers had found that you could prompt Fable to "review the code for security issues" and it would refuse... but if you prompted it to "fix this code" it would still identify and then patch the problems. "Fix this code" was the prompt that got Fable shut down! Screenshot of a page from a report showing a list of weird account names making weird edits to a German wiki. # Also, in June, an obscure German-language game developer wiki that had sat fallow for around 20 years got a surprising influx of edits from accounts with names like "AgentOpenAIProbe" and "AgentOpenAISep7", editing pages and leaving weird messages to each other. We'll stick that on the pile of mysteries for later. Medicare Item Reports interface on the Australian Government's Medicare Statistics website. # Also, the Australian government's Medicare Item Reports service started getting suspicious traffic, which broke through various preventive protections and accessed data that it wasn't supposed to. Another one for the mystery pile! July # Fable returned on 1st July GPT-5.6 came out on 9th July | Fable lost 18 out of 30 days in the top spot # Fable returned on the first of July. It was clearly the best model in the world for a glorious eight days... and then OpenAI came out with GPT-5.6 on the 9th of July. This might not have been quite as good as Fable, but it was within spitting distance. It was definitely a Fable class model. This is an important lesson for the industry at large. When you release the best model in the world, it's going to get knocked off that pedestal pretty quickly. The competition is so fierce that you won't get a long time at the top. This means that if you market your model as world ending, to the point that a government shuts you down , it's really bad for business! Fable had 30 days as definitely the best model, and for 18 of those days it wasn't available because it'd been shut down by the government. So maybe step back on the world-ending marketing if you don't want to lose revenue for 60% of the time that you're on top! GPT-5.6 Pelicans in a grid showing 5.6 Sol, Terra, and Luna against reasoning levels High, XHigh, and Max. They are all pretty good efforts. # Here are the GPT-5.6 pelicans . They're all pretty good now! The Luna ones are notable because they're really cheap - the cheapest good looking pelican here is probably the one that costs 4.3 cents. So despite this benchmark being utterly stupid, you can still learn quite a lot about models within the same family by comparing their prices and timing for different reasoning levels. July 18th: malicious miflow-ui PyPI package Screenshot of an OSV security report. # Also in July: some malicious unknown party uploaded a malicious package called mlflow-ui to the Python Package Index. Add that to the pile. Hugging Face Security incident disclosure — July 2026 Published July 16, 2026 # On July the 16th, Hugging Face announced a security incident where an autonomous agent system, source unknown, had breached Hugging Face and was poking around in places it shouldn't. OpenAI: OpenAl and Hugging Face partner to address security incident during model evaluation Anthropic: Investigating three real-world incidents in our cybersecurity evaluations # A few days later, on July 21st, OpenAI confessed that it was them . OpenAI use a training technique called Reinforcement Learning from Verifiable Rewards - it's the same technique used by everyone else now, and is the reason we have models that are so good at coding, and mathematics, and finding security holes. While the model is being trained, you run exercises to see how good it is - and the strongest performers get their weights reinforced for the next round. It's like an evolutionary process that you run. OpenAI had been running security exercises in a sandbox, and those agents had found holes in the sandbox itself, broken out, and were attacking Hugging Face to try to find ways to solve otherwise impossible problems. (I've been collecting more about this on my openai-hugging-face-incident tag.) Nine days later, Anthropic effectively said "our models can do this as well!". They had looked through their own training logs and found evidence that their own agents had broken containment during training - and were responsible for the PyPI package we saw earlier, among other things . So now we've got both Anthropic and OpenAI with rogue agents running around the internet doing things that they should not be doing. August # In August, I got one of my best pelicans yet. And it was generated on my laptop! Qwen 3.8 27B - 17GB, 21 minutes... It's really good. Beautiful pelican. Correctly shaped bicycle. Legs either side of the frame. # This was Qwen 3.8 27B, running on my laptop . It's only a 17GB download. Admittedly, this pelican took 21 minutes to generate. That's because Qwen 3.8 27B defaults to running in "high" reasoning mode - a terrible default which produces great results but takes way too much time thinking about them. You can dial that down and you'll get a slightly worse pelican a lot faster. Qwen 3.8 27B was the first time I ran a model on my laptop which felt almost competitive with what was going on on the frontier, at least in terms of Pelican SVGs (which everyone needs, of course). This is an extraordinary model. If you're going to play with any local model, this is the one that I'd start with. The things that this can do with just a 17 GB file feel impossible. I thought I'd have to wait five years and spend ten thousand dollars on hardware to get results even half as good as this one. Tweet by @simonw New hobby: prototyping video games in 60 seconds using a combination of GPT-3 and DALL-E Here's "Raccoon Heist" GPT-3 playground prompt: Write a detailed product description of a computer game where a team of raccoons go on heists GPT-3 response: In "Raccoon Heist", you and your team of thieving ~~ o raccoons are tasked with pulling off a series of daring heists. From robbing banks to stealing priceless art, no job is too big or too small for your furry crew. You'll need to use your wits and your skills to avoid the police and make a clean getaway with the loot. With exciting gameplay and a charming cast of characters, "Raccoon Heist" is the perfect game for anyone looking for a light-hearted caper Plus an image of some almost isometric raccoons sneaking past a bin. 11:45 AM - Aug 5, 2022 # In August, I also started playing with game development. Four years ago, back in August 2022, I tweeted out an experiment where I'd used GPT-3 and the original DALL-E to write a paragraph long description of a computer game and then turn that into concept art. My prompt to GPT-3 back then was: Write a detailed product description of a computer game where a team of raccoons go on heists In August 2026 I decided to drop just the screenshots from that tweet into a coding agent and see what it could do with them. Night 5 Clear Rank: TRASH PANDA The crew banked 595 in shiny loot (goal 560). Word on the street: an even bigger score tomorrow... # Here's what I got from Claude Fable 5 in Claude Code . It's pretty good! It's definitely a game, you're a raccoon, you run around a backyard gathering treasure and avoiding guards with flashlights. It didn't feel very "heisty" though. I was thinking a heist would involve a bank or a museum... Moonlight & Mayhem One museum. Three raccoons. Absolutely no plan Start the Heist button. # Then I tried the same thing in Codex Desktop using GPT-5.6 Sol Ultra , and got a massively better result. Now you're a raccoon in a museum, rescuing two of your fellow raccoons (who have been imprisoned in that museum for some reason), then stacking up on top of each other to steal the Golden Sardine. Much more of a heist! They look like games, but are they fun? # These games were fun for about one minute and 15 seconds. Something I've realized about game development is that you can vibe-code something that looks like a computer game, and that's easy. Building a game that's fun, has a good gameplay loop, and is challenging and interesting and keeps people coming back for more... that's still beyond me, and beyond any of the agents I've tried. This ties into the Deep Blue thing. Just because we can make something that looks like a game does not mean that we are game developers. September # We're into September now. So much has happened this month! Discovery of a new OpenAl agent message board Sydney Von Arx, Cormac Slade Byrd, Spencer KittsThomas Larsen - 4 September 2026 # An independent group of researchers found a message board where OpenAI agents-in-training had been illicitly communicating with each other... and it was that German language wiki I showed you earlier. The one from June. I wrote more about that here . OpenAI had confessed to the Hugging Face thing, but now there's this other incident which surely they should have known about from reviewing their logs. It was surprising that this took an independent group of researchers to uncover. OpenAl agents carried out an undisclosed cyber-attack on RubyGems Spencer Kitts, Thomas Larsen, Sydney Von Arx - 11 September 2026 # And then a week later those same researchers found that the attack on RubyGems back in May was caused by OpenAI's agents in training as well! At this point I'm wondering how many more incidents like this there are that we haven't found yet. Clearly this was a big problem for months before anyone figured out what was going on. Headline: Australian PM warns in UN speech about the ‘furious pace’ of Al after security breach # Then just the other day , here's the Prime Minister of Australia at the United Nations General Assembly warning that OpenAI had hacked the Australian healthcare website that I showed you earlier. I think that was part of the same training run as the Wiki stuff, because there were posts on that Wiki mentioning .gov.au websites and that training appeared to involve researching statistics online to answer questions in an evaluation suite. This story is still coming together, but now it's an international incident that's been raised at the UN by a head of state! www.felonybench.com OpenAI: 11 Anthropic: 9 Google: 3 Meta: 1 # This does mean we've got a new benchmark, probably more useful than my pelicans. FelonyBench.com tracks the number of felony cyberattacks from different labs. OpenAI currently lead with 11, Anthropic have 9. Google have three, which they confessed to the Wall Street Journal a couple of weeks ago. They said they had previously chosen not to disclose because the agents had stopped when they realized that they shouldn't be doing that. Meta have one too . So felonies all round for the AI labs. Pelicans for GPT-6 Astra, GPT-6 Sol, and GPT-6 Luna. All are good, all have the same color scheme. # Here's our current state of the art for the pelicans. This is the GPT-6 family, which just came out . Astra made a fantastic pelican riding a bicycle. It's got the legs on both sides. The frame is good. It's interesting how all of the GPT-6 models pick a similar color scheme to each other. GPT-6 Luna for 0.4 cents will draw you a competent-ish pelican riding a bicycle! Grid for Claude Fable 5.1, Opus 5.5, OPus 5, Sonnet 5. The Sonnet pelicans are terrible. All of the others are pretty good. Opus 5.5 is missing its Max level pelican because it ran out of tokens. The best is Fable 5.1 at Max. # Claude has caught up a little bit. Claude Fable 5.1 gave me an excellent pelican riding a bicycle - the best I've seen from a Claude model - but did charge me $3.30 for it. Opus 5.5 thought for 128,000 tokens and then gave up! It ran out of tokens before it got to the response. It doesn’t get easier - you just get faster Greg LeMond 3x Tour de France champion # Getting back to Deep Blue. Something that's been puzzling me this year is this: why does my job feel harder? I've got these agents that can do all of this stuff for me, and yet I've never worked so hard, I've never been so intellectually engaged with my work. Partly this is because I'm being a lot more ambitious with what I take on, but it's also because all of the easy stuff is handled for me. If it's easy, the agent will do it. Everything that's left for me is difficult. This morning I heard this quote from three-time Tour de France champion Greg LeMond : It doesn't get easier, you just get faster. I think that's exactly what's happening to us now as software engineers with coding agents. Kakapo population reaches new milestone The official population of the critically endangered kakapo has reached a recovery-era high of 325 birds. # One closing thing. I know you're desperate for an update on Kākāpō breeding season. We've reached a recovery-era high of 325 birds ! 89 new chicks have made it to this point. This is the best breeding year in a very long time. Kakapo party, click for confetti. # I heard that Claude Opus 5.5 can now do pixel art. Claude doesn't have an image generator, but it's very good at using JavaScript to draw animated pixels. So I had it make me a Kākāpō dance party . I think this is a good celebration of the most important news of this year. Tags: ai , generative-ai , llms , annotated-talks , ai-security-research , openai-hugging-face-incident

Simon Willison66

Quoting Muse AI Agent

Bad news on the MX Keys Mini pickup. Usman showed up at your building around 9:15 and waited, messaged a bunch of times, and nobody came down. He left angry at 9:38 and left a negative rating. Worse, my auto-reply told him "Yep I'm here!" at 9:27 when you clearly weren't available, which is on me. That's a bad look and it made the no-show worse. I've sent him an apology from your account owning it and offering to try again another day. But the negative rating is real, and I should probably stop the auto-replies from claiming you're home when I can't verify that. Want me to change the pickup replies so they don't promise you're there? — Muse AI Agent , working on behalf of @matt.j.robb Tags: meta , generative-ai , muse-agent , ai , general-agents , llms

Simon Willison73

Photo Scrubber — 本地人脸模糊与元数据移除

工具:Photo Scrubber — 本地人脸模糊与元数据移除。我拍摄了一些抗议者的照片,后来想到我不喜欢分享带有可识别人脸的陌生人照片。我让 GPT-6 Astra 构建了这个实验性工具,用于识别人脸并自动将其模糊处理。它使用 Google 的 MediaPipe C++ 库,通过 @mediapipe/tasks-vision 编译为 WebAssembly,此外还使用了 BlazeFace 人脸检测模型。标签:摄影,工具

SiliconANGLE AI52

Metaview wants to eliminate recruiting grunt work and speed up hiring after raising $60M

Artificial intelligence recruiting software startup Metaview Labs Inc. said today the industry is ready for a “Claude Code moment” after it closed on $60 million in a Series C funding. The round was led by Insight Partners and saw the participation of GV, Seedcamp, Vertex Ventures US, Intrepid Growth Partners, Plural and Garuda Ventures. To […] The post Metaview wants to eliminate recruiting grunt work and speed up hiring after raising $60M appeared first on SiliconANGLE .

SiliconANGLE AI49

NetApp and Nvidia rethink storage for AI factories

Storage architecture is being rewritten for artificial intelligence factories. Traditional enterprise storage was designed around workloads that scaled in relatively predictable ways. AI changes that equation by combining heavy data movement with transactional metadata activity, often on shared infrastructure. NetApp Inc. is addressing that pressure through its work with Nvidia Corp., a partnership that dates […] The post NetApp and Nvidia rethink storage for AI factories appeared first on SiliconANGLE .

MIT Technology Review AI54

Don’t be fooled by this summer of AI hype

It’s been a busy few months for AI hype. At the end of April, Anthropic claimed that its model Claude Mythos is better at finding software vulnerabilities than most security experts. Then we had the OpenAI–Hugging Face hacking incident, after which Anthropic (proudly) and Meta (reluctantly) disclosed similar incidents involving their models. This was followed…

The Verge AI59

OpenAI’s Dot agent is enterprise software that can also order your dinner

It's a tale as old as last week: OpenAI's new agent platform, called Dots, is full of cute little guys who can do your bidding. But unlike the ultra-approachable Meta Muse, Dots feel very much like using workplace software that happens to be able to order you a burrito - emphasis on work. OpenAI announced […]

The Verge AI65

Meta open sources code to let you make Muse AI gadgets

Meta now lets you make your own Muse gadgets that feature the company's new AI agent with code that the company open sourced. The company suggests projects like loading Muse on a color E Ink display to show reminders, adding it to an HDMI stick so you can display Muse on a big screen, or […]

The Decoder68

"Muse Gadgets" turns AI hardware into an open-source DIY project

Meta announced Muse Gadgets, an open-source project that lets hobbyists build their own AI hardware using ESP32 boards and connect it to Meta's AI agent Muse. The team also produced 5,000 units of the "Muse Home Link," a USB-C device for smart home control. The open-source approach also helps Meta figure out which AI hardware form factors people actually want. The article "Muse Gadgets" turns AI hardware into an open-source DIY project appeared first on The Decoder .

TechCrunch AI58

It’s not AI anymore, it’s ‘super intelligence’ (according to the White House)

This week, the White House got nearly every major tech CEO in one room — Zuckerberg, Bezos, Musk, and Anthropic’s Dario Amodei among them — to sign an AI safety pledge that President Donald Trump called “morally binding.” Trump also signed an executive order officially rebranding AI as “super intelligence,” and meanwhile, Meta and OpenAI are putting friendlier faces on their AI products, even as the biggest money […]

TechCrunch AI56

Call it AI, call it Super Intelligence, only 2% of consumers are buying it

This week, the White House got nearly every major tech CEO in one room — Zuckerberg, Bezos, Musk, and Anthropic’s Dario Amodei among them — to sign an AI safety pledge that President Donald Trump called “morally binding.” Trump also signed an executive order officially rebranding AI as “super intelligence,” and meanwhile, Meta and OpenAI are putting friendlier faces on their AI products, even as the biggest money […]

arXiv cs.LG73

在测试时 AI4AI 中学习用于智能体执行环境设计的元技能

arXiv:2609.38143v2 公告类型:replace-cross 摘要:智能体的性能取决于推理能力以及其所处的行动环境。我们研究测试时 AI-for-AI,探讨在两个模型的权重均保持不变的情况下,Builder 如何学习为 Target 构建更优的执行环境。为了使 Builder 的经验能够复用,我们提出 Meta-Skill:规定何时需要支持以及应提供哪些资源的原则。Builder 从 Target 在开发集上的执行反馈中学习这些原则,然后利用冻结的技能库为未见过的任务构建执行框架。在 Harness-Bench 和 NewtonBench 上,完整的元技能库相较于不使用技能进行构建,使宏平均性能提升了 8.95 个百分点;相较于将同一技能库直接提供给 Target,则提升了 12.02 个百分点。这些结果凸显了将经验转化为可执行支持的价值。当同一模型同时承担两种角色时仍能取得性能增益,进一步表明了一条通过学习构建更优环境来实现系统级自我改进的路径。

arXiv cs.LG77

Jev 在医学领域:一项基准评估

arXiv:2609.34024v2 公告类型:替换交叉版本 摘要:Jev 是一种非生成式“System One”模型,为预定义的答案选项分配概率,无法回答选项范围之外的问题。其在医学问答和基于病例的诊断推理任务中的准确率与校准情况尚不明确。我们在四项医学基准测试上评估了 Jev 1.13:MetaMedQA、PubMedQA、DiagnosisArena-MCQ 和 NEJM Case Challenges。GPT-6 Sol 采用(medium)推理和不采用推理的版本作为参照。主要结局指标是 top-1 准确率;关键次要结局指标包括校准、选择性预测以及识别无法回答的问题。全部 8,469 次请求均返回了有效答案。在 PubMedQA 上,Jev 的准确率与采用 medium 推理的 GPT-6 Sol 相近(78.4% vs 78.2%;);在 MetaMedQA 上较低(74.8% vs 82.7%),在 DiagnosisArena-MCQ(59.8% vs 82.4%;)和 NEJM 病例(61.8% vs 82.4%)上则显著较低。在 MetaMedQA 上,Jev 的概率校准效果最佳(预期校准误差为 0.063 vs 0.146);其概率至少为 0.9 的答案占问题总数的 52.9%,准确率为 93.4%,但 GPT-6 Sol 在接受相同比例的问题时同样准确。在 DiagnosisArena-MCQ 上,Jev 的概率区分能力较差(AUROC 为 0.645 vs 0.768)。在正确答案为“我不知道或无法回答”的 162 个问题中,Jev 选择该选项的比例为 10.5%(GPT-6 Sol 为 8.6%)。中位延迟为 0.27–0.31 秒;全部 2,823 个项目的成本为 0.08 USD。Jev 速度快、成本低;在研究摘要上的准确率与一种前沿 LLM 相近,但在考试题目上的准确率较低,在复杂诊断病例上的准确率则显著更低。在临床使用前,需要进行针对具体任务的验证。

arXiv cs.LG82

内核管理的共享记忆:面向全系统的个性化

arXiv:2609.10144v2 公告类型:替换交叉版本 摘要:AI 系统能够适应使用者后会变得更加实用,但在多智能体系统中,一个智能体学习到的有用上下文往往无法被其他智能体获取。我们提出了内核管理的共享记忆,这是一种系统级抽象:专用智能体写入结构化、带标签的记忆,而由智能体系统内核(而非各个智能体)负责检索、隐私实施和提示注入。我们在 AIOS 上实现并评估了这一设计,并在三个助手模型(GPT-4o、Llama-3.1:8B、Qwen-2.5:7B)和总计 1,800 次试验中,将其与三种替代方案进行了比较。与使用相同底层存储、但未受管理的外部记忆后端(Mem0)相比,内核管理的检索与注入使个性化得分在 5 分制上提高了 2.4–4.0 分(例如,在 GPT-4o 上,用户画像使用得分从 1.05 提升至 4.69),且每项比较的结果均具有显著性(p < 10^-18)。与标准的检索增强注入相比,在三个模型上获得的提升同样显著且稳定。与完整、未经筛选的上下文拼接相比,内核管理的注入在三个模型中的两个上表现出统计意义上的相当性能,在第三个模型上则存在幅度较小且特定于模型的性能差距;这里的限制是可用上下文的软上限,而非响应质量的上限,同时所使用的提示明显更短:三个模型的端到端延迟均降低了 15%–61%,单次调用的 token 使用量和推理成本也相应减少。这些结果表明,相较于将检索和隐私实施交由各个智能体负责,把记忆管理集中到智能体系统内核中,能够以其一小部分成本实现不受约束上下文所带来的大部分个性化收益。

arXiv cs.LG80

用于不确定性下语义承诺的 Credal Large Language Models

arXiv:2608.23244v2 公告类型:替换交叉版本 摘要:大型语言模型(LLM)经常以毫无根据的置信度生成流畅但错误的答案。其核心局限在于,标准 LLM 通过单一预测分布表示不确定性,将认识性无知与真正的歧义混为一谈。我们提出 Credal Large Language Models(CLLMs):由一组 LoRA 适配器构成的集成模型诱导出一个信念集,其下概率和上概率揭示可能预测分布的分散程度,而不是将其压缩为单一的 softmax 输出。基于这一表示,我们推导出一种单一的承诺规则:仅当某个答案的下概率超过所有其他候选答案的上概率时,模型才承诺该答案;否则,模型返回所有可能的预测器都无法排除的答案集合。我们在两个层次上应用这一承诺规则:Credal Token Commitment(CTC)将其应用于一次集成前向传播中的答案 token,从而无需任何生成过程即可决定受约束的答案;对于开放式答案,credal 解码仅当没有任何已完成答案支配某个部分答案时,才会扩展该部分答案,因此生成的补全结果都是可能预测器所支持的结果;Credal Semantic Commitment(CSC)则将该规则应用于这些结果的语义聚类。我们使用 Gemma-2-9B、Llama-3.1-8B 和 Qwen2.5-7B,在 OpenBookQA、CoQA、TriviaQA 和 ARC-Challenge 上评估 CLLMs。在多项选择任务中,CTC 能对 73%–91% 的问题作出承诺,准确率达到 89%–98%;其返回的选项集合平均包含 1.1–1.5 个选项,并以 89%–98% 的比例包含标准答案;在无需校准的情况下,其区间在 30 个置信度分箱中的 24 个分箱内包含观测准确率。加入损坏的上下文后,承诺率从 87%–92% 降至 65%–71%;在 Gemma 上,credal 界检测损坏的能力优于所有基线方法。在开放式问答任务中,在固定覆盖率下,对于每一种骨干模型,CLLM 在带上下文的 CoQA 和 TriviaQA 上相较于 semantic entropy 和 Laplace-LoRA,准确率最高分别提升 19% 和 9.5 个百分点。

arXiv cs.LG83

通过多智能体可解释性检测多智能体串通

arXiv:2604.01151v3 公告类型:替换-交叉 摘要:随着 LLM 智能体越来越多地部署于多智能体系统中,它们带来了可能规避标准人类监督形式的隐蔽协同行为风险。尽管针对模型激活的线性探针已显示出在单智能体场景中检测欺骗行为的潜力,但串通本质上是多智能体现象,而利用内部表征检测智能体之间的串通仍未得到探索。我们提出了 NARCBench,这是一个用于评估环境分布偏移下串通检测能力的基准,并提出了五种探测技术:将每个智能体的欺骗分数进行聚合,以在群体层面判别场景。我们在四个开放权重模型(Qwen3-32B、Llama-3.1-70B、DeepSeek-R1 32B、GPT-OSS-20B)和六种探针架构上进行了评估。我们将这一问题定义为分布式异常检测问题,识别出三种串通特征,它们分别对应不同的异常类型和检测范式。在分布内测试中,每个模型都达到了 1.00 的 AUROC;在表现最强的模型 Llama-3.1-70B 上,五种探测技术迁移到结构不同的多智能体场景进行零样本测试时,AUROC 达到 0.73 至 0.93;在隐写式二十一点算牌任务上则达到 0.99 至 1.00,且检测性能随模型能力提升而增强。我们发现,没有任何一种探测技术能够在所有串通类型上占据优势,这与该框架的预测一致:不同的异常类型需要不同的检测范式。这项工作朝着多智能体可解释性迈出了一步:将白盒检查从单个模型扩展到多智能体环境,因为在此类环境中,检测需要聚合多个智能体之间的信号。这些结果表明,模型内部信息能够为文本层面的监控提供互补信号,用于检测多智能体串通。代码和数据见 https://github.com/aaronrose227/narcbench。

arXiv cs.LG

CHORDONOMICON: A Dataset of 666,000 Songs and their Chord Progressions

arXiv:2410.22046v4 Announce Type: replace-cross Abstract: Chord progressions encapsulate important information about music, pertaining to its structure and conveyed emotions. They serve as the backbone of musical composition, and in many cases, they are the sole information required for a musician to play along and follow the music. Despite their importance, chord progressions as a data domain remain underexplored; existing datasets lack the scale, structural annotation, and metadata diversity required for rigorous evaluation of music understanding models. In this work, we present Chordonomicon, the largest dataset of its kind, containing over 666,000 song-level symbolic chord progressions, annotated with structural parts (verse, chorus, bridge, etc.), genre, and release date, created by scraping various sources of user-generated progressions and associated metadata, showing strong similarity to well-established prior datasets. Beyond the dataset itself, we propose a reproducible benchmark suite for next chord prediction, evaluating three sequence modeling architectures (RNN, GRU, LSTM) across multiple context window sizes and data scales under strict exact-match evaluation. Our experiments reveal that structural part annotations consistently improve prediction performance. Chordonomicon is released as an open benchmark, providing split methodology, baselines, and evaluation protocols to enable fair and reproducible comparison for future work on chord prediction, classification, generation, and beyond.

arXiv cs.LG84

QATFactory: A Versatile, Deployment-Aligned Framework for Quantization-aware Training and Distillation of LLMs

arXiv:2609.39223v2 Announce Type: replace Abstract: Large language model (LLM) inference is increasingly moving toward lower precision to realize the throughput of hardware accelerators, but aggressive post-training quantization (PTQ) can degrade model quality. We present QATFactory, an open-source framework for deployment-aligned quantization-aware distillation (QAD) and reinforcement learning (QARL). QATFactory simulates deployment-time quantization while performing matrix multiplications in BF16, allowing models to adapt to quantization noise without requiring training hardware that natively supports the target format; for example, it supports NVFP4 training on H100 GPUs, which lack FP4 Tensor Cores. The framework supports NVFP4, MXFP4, and $\text{llama}.\text{cpp}$'s Q4_K format; dense and mixture-of-experts models; and both full-parameter and LoRA-based training. It exports checkpoints directly to vLLM and $\text{llama}.\text{cpp}$ without an additional lossy conversion step or added inference overhead. With QATFactory, we conduct extensive experiments on models ranging from 8B to 230B parameters and evaluate exported checkpoints in production inference engines. Across models and formats, QAD consistently improves deployed-model quality over strong PTQ baselines. On Qwen3.5-9B, QAD achieves average benchmark accuracies of 68.9% under NVFP4 and 66.0% under MXFP4, outperforming the best PTQ results of 65.4% and 56.4%, respectively. Through our experiments, we found that although both FP4 formats quantize weights and activations at deployment, the best training strategy is format-dependent: NVFP4 generally performs better when only weights are quantized during training, whereas MXFP4 benefits from quantizing both weights and activations. At a fixed training token budget, training on fewer 32K sequences improves average accuracy by 1.9 points over training on more 4K sequences.

arXiv cs.LG79

ConQuR:通过优化旋转实现角点对齐的 LLM 激活量化

arXiv:2605.10793v2 公告类型:替换 摘要:由于大型语言模型(LLM)具有庞大的内存占用和较高的推理成本,部署这类模型代价高昂。权重-激活量化可以降低这些成本,但低比特激活量化仍然困难,因为激活异常值会引入较大的量化误差。近期基于旋转的方法通过应用正交变换,在不同维度之间重新分配激活幅值来解决这一问题;然而,现有方法要么需要代价高昂的端到端旋转训练,要么依赖存储的激活语料库,从而带来显著的计算或存储开销。我们提出了一种用于 LLM 激活量化的轻量级训练后旋转校准方法。该方法学习正交旋转,使归一化激活与内接超立方体的顶点对齐,从而促使激活能量在各个维度之间更加均匀地分布。该目标可通过正交 Procrustes 问题实现高效的闭式更新,避免在正交群上进行基于梯度的优化。我们进一步提出了一种在线校准流程,在处理校准样本的同时更新旋转矩阵,从而无需将激活存储在磁盘上,并使旋转矩阵能够在校准过程中适应量化后的激活分布。在参数规模从 3B 到 70B 的 Llama-2 和 Llama-3 模型上进行的实验表明,该方法在困惑度基准和常识推理任务中取得了具有竞争力或更优的性能,同时避免了高成本的端到端训练和大规模离线激活存储。

arXiv cs.LG67

Meta-reinforcement learning with minimum attention

arXiv:2505.16741v5 Announce Type: replace Abstract: Minimum attention applies the least action principle in changes of control concerning state and time, first proposed by Brockett. The involved regularization is highly relevant in emulating biological control, such as motor learning. We apply minimum attention in reinforcement learning (RL) as part of the rewards and investigate its connection to meta-learning and stabilization. Specifically, model-based meta-learning with minimum attention is explored in high-dimensional nonlinear dynamics. Ensemble-based model learning and gradient-based meta-policy learning are alternately performed. Empirically, minimum attention improves fast adaptation in few shots and reduces variance from perturbations of the model and environment, compared to model-free and model-based RL baseline, and yields consistent gain when integrated into modern world models (DreamerV3, MAMBA). Furthermore, the minimum attention demonstrates an improvement in energy efficiency.

arXiv cs.LG73

可扩展、可迁移的用于数据选择的元网络需要一种不同的损失(以及为什么显而易见的选择存在问题)

arXiv:2610.02092v1 公告类型:cross 摘要:数据选择对于在大规模异构语料库上训练大型语言模型至关重要。用于训练数据选择的元学习通过根据目标验证目标学习数据权重,为启发式评分提供了一种有原则的替代方案,但现有方法在细粒度评估与向未见数据迁移之间面临权衡。一种自然的解决方案是用选择网络替代逐样本权重。然而,我们发现,将此类网络直接纳入现有的 MTS 目标会导致优化不稳定和泛化能力较差,其原因在于权重抑制以及对易学习特征的持续依赖。为解决这些问题,我们提出 Transferable Example Scoring and Selection (TESS),这是一个基于 Pointwise Value Matching 目标(PVM)的可扩展数据选择框架。在 LLM 安全性和针对性指令微调任务上的实验表明,该方法具有很强的跨数据集迁移能力,能够从子集迁移到完整语料库,并从较小模型迁移到较大模型。

arXiv cs.LG82

开放源代码大型语言模型在临床分诊中的偏差反事实审计

arXiv:2610.01963v1 公告类型:cross 摘要:急诊科(ED)分诊是一项高风险的优先级排序任务,其中人口统计、社会经济和系统环境信息可能不恰当地影响紧急程度分配。尽管开放源代码大型语言模型(LLM)正越来越多地被考虑用于本地化且注重隐私的临床决策支持,但反事实偏差如何在不同模型系列、模型规模、医学领域模型和领域适配模型之间变化,仍不明确。我们针对十个开放源代码LLM的儿科急诊严重程度指数(ESI)预测开展了比较性反事实审计。我们以真实临床案例和手册式临床案例为基础,构建成对的反事实变体:每次仅改变一个注入的人口统计、社会经济、医疗服务可及性、行为、社会或系统环境变量,同时保持临床表现不变。模型包括Qwen2.5-7B、Qwen2.5-14B-Instruct、经过QLoRA微调的Qwen2.5-7B、MedGemma变体、MedLLaMA2-7B、GPT-OSS-20B和GPT-OSS-120B。我们测量了任何反事实变化、分诊不足、分诊过度、超过一个ESI等级的变化、平均变化幅度以及平均绝对变化幅度。反事实敏感性存在显著差异,并未随着模型规模扩大或医学领域预训练而稳定降低。经过微调的Qwen2.5-7B表现出最低的总体敏感性,其任何变化率为5.27%,平均绝对变化幅度为0.0534;相比之下,基础模型分别为16.02%和0.1706。若干规模更大或属于医学领域的模型表现出更显著的变化。分层分析和相关性分析进一步揭示了总体比率所掩盖的、具有临床重要性的变化方向和共同失效模式。这些发现表明,在临床部署之前,反事实审计可作为一种轻量且具有临床可解释性的框架,用于比较开放源代码LLM中的公平性风险。

arXiv cs.LG68

A Hybrid Approach to Malware Detection: Integrating Few-Shot Model-Agnostic Meta-Learning with Autoencoders

arXiv:2610.01949v1 Announce Type: cross Abstract: Ransomware has emerged as a major cybersecurity threat, with incidents increasing in frequency and impact across critical sectors. These attacks are typically launched through phishing emails, malicious downloads, or exploitation of software vulnerabilities to gain system access. Once inside, the malware encrypts files and demands a ransom, often in cryptocurrency, for the decryption key. Conventional detection methods often struggle with novel or scarce samples, leaving systems vulnerable. To address these challenges, this paper proposes a hybrid deep learning framework that combines an Autoencoder Feature Extractor (AFE) with a Model Agnostic Meta Learning (MAML) classifier for few shot malware detection. The AFE generates compact latent features that reduce noise and dimensionality, while the MAML classifier rapidly adapts to new threats using limited labeled data. Experiments conducted on the Ransomware Dataset 2024 demonstrate the effectiveness of the framework in binary classification tasks. Across one to fifty shot settings, the proposed model consistently achieves high accuracy, F1 score, and Matthews Correlation Coefficient values, maintaining reliable classification even under extreme scarcity. These results highlight the model's robustness and effectiveness in adapting to limited data scenarios, demonstrating the potential of combining feature extraction with meta learning to enhance resilience against malware, particularly in sectors such as healthcare, manufacturing, and public infrastructure, where cyberattacks can cause significant operational and financial disruption.

arXiv cs.LG76

VERITYGATE:一个四门控的模式级忠实性框架,以及用于基于结构化证据的 LLM 叙述的配对基准

arXiv:2610.00833v1 公告类型:cross 摘要:流畅的 LLM 解释可能并不遵循结构化系统中的证据。我们提出 VERITYGATE,这是一种针对已声明证据 ID、实体、数字和声明类型的四门控检查器。它检查固定模式,但不会验证 prose 中的每一个事实。在 r=0 和 r=1 时,我们针对每种设置分别测试了 900 个实例(450 对有依据-无依据样本),使用的模型包括 GPT-4o-mini、Llama-3.3-70B 和 Claude Sonnet 4.6。在这一模式级契约下且修复之前,mini 的声明有 80.3% 未通过检查,Sonnet 的声明有 47.9% 未通过检查。这些是验证器拒绝率,而不是 prose 幻觉率。一次修复使 mini 的声明存活率从 19.7% 提升至 28.0%,使 Sonnet 的声明存活率从 52.1% 提升至 54.3%。每个示例的经验证声明数对 mini 增加 0.14,对 Llama 减少 0.71,对 Sonnet 减少 0.47,因此必须同时报告存活率和输出量。第二次 Sonnet 处理没有带来明确收益。在 r=1 时,对于 mini、Llama 和 Sonnet,Gate 4 分别覆盖了失败声明的 97.0%、98.7% 和 100%。小规模人工研究支持这些规则,但也显示出模式检查与 prose 正确性之间存在差距。一项特定领域的 GPT-4o 评审测试显示出顺序效应,因此它只能作为有用性检查。我们发布代码和数据。

arXiv cs.LG80

AIR-LLM:通过无线电广播 AI 权重,利用射频计算实现无内存边缘 LLM 推理

arXiv:2610.00465v1 公告类型:cross 摘要:下一代大型语言模型(LLM)正从云端扩展到无处不在的边缘设备。然而,边缘设备通常要么没有足够的内存来存储日益庞大的 LLM 权重,要么即使拥有足够内存,也会因加载权重而消耗难以承受的能量。这引出了我们的问题:边缘设备能否在不存储或加载权重的情况下运行 LLM,而是通过无线方式接收权重并即时使用?受无线广播启发,我们提出了 AIR-LLM,这是一种面向边缘设备的 LLM 推理架构,由以下部分组成:(i)中央无线电设备(例如 5G 基站),将 LLM 权重广播到空中;(ii)边缘用户接收这些权重,并利用射频混频器,直接在射频(RF)域中完成 LLM 推理的一般矩阵-向量乘法(GEMV)。为进一步缩短空中传输时间,AIR-LLM 利用 MIMO 空间复用,并在边缘侧提出一对节能的预编码器和后编码器,以校准其自身的无线信道。由于中央无线电设备无需感知用户,AIR-LLM 具备用户可扩展性,因此一次广播即可服务覆盖范围内的无限用户。我们在两个真实城市场景的 NVIDIA Sionna 射线追踪信道上实现了 AIR-LLM,并结合真实射频混频器的性能分析进行了评估。在 LLaMA-3.1-8B 上,WikiText-2 困惑度仅下降 4.0%,与 FP16 和仅权重量化基线相比,AIR-LLM 分别节省了 157.7 倍和 40.4 倍的能耗;在 20 个用户的情况下,其空中传输时间分别缩短了 104.1 倍和 26.0 倍。

arXiv cs.LG79

可迁移图元网络

arXiv:2610.00420v1 公告类型:cross 摘要:权重空间网络(或元网络)将另一个神经网络的权重作为输入,并预测该网络的属性。以往大多数工作都在一种或少数几种固定规模的输入网络上训练此类模型,并在分布内进行评估。少数针对分布外规模泛化的尝试仍然范围有限,且仅取得了有限的成功。因此,在小型网络上训练、再在规模大得多的网络上进行评估所带来的潜在效率提升,基本尚未实现。我们提出 Transferable Graph Metanetworks,通过一系列改进扩展图元网络范式,使性能能够迁移到宽度不同的输入网络之间。这些改进遵循两项原则:对不同宽度网络表示同一函数的方式保持不变性;以及保持连续性,使表示相似函数的权重获得相似的预测。我们进一步研究了对于从随机初始化开始、独立训练的输入网络,规模泛化是否可行。在我们考察的每项任务中,实验证明这些改进都显著提升了规模泛化能力。对于采用最大更新参数化($\mu$P)训练的输入网络,性能最为出色,并且在达到训练宽度的 $42\times$ 时仍保持稳健。从理论上看,我们利用无限宽度极限理论解释了这些观察结果:我们证明了模型在以 $\mu$P 训练的输入网络上的规模泛化保证,并解释了为什么在其他参数化方式下可能失效。

arXiv cs.LG82

拒绝行为会局部化,损害却会迁移:少样本微调下的安全层

arXiv:2610.00320v1 公告类型:cross 摘要:微调可使经过对齐的大型语言模型(LLM)适应下游任务,但仅需几十个有害示例,就可能消除它们对有害请求的拒绝行为。先前研究将与安全相关的行为定位到特定层、方向和标记上,为防护提供了目标。我们检验了:成功的定位与恢复是否能够支持经受攻击变化的防御。在来自四个模型系列的六个检查点上,攻击后,有害提示与良性提示仍保持线性可分;将完整的干净隐藏状态注入受损模型后,可在一个可复现的过渡深度恢复拒绝行为。在此前层冻结防御的基础上,我们冻结截至该深度的所有层,并重复攻击。当使用一百个有害示例时,六个检查点上的拒绝率仍接近于零,且恢复过渡点均位于冻结边界之上。在第二项研究中,在四个检查点上进行仅注意力微调后,移除更新中最大的两个奇异方向即可恢复拒绝行为。在 Llama-3.1-8B 上,常规训练变化会削弱这种修复,而将更新分散开的攻击者能够使其失效。在良性 Llama 微调数据上校准的谱检测器,会漏检该检查点上大多数修复失败案例。尽管如此,当少量有害示例意外进入训练数据时,局部冻结仍有助于保持拒绝行为。这些结果表明,攻击者可以绕过通过恢复过程识别出的区域,并击败一种在多个检查点上均有效的修复方法,从而促使我们为防御自适应微调提出五项检查。代码可见于 https://github.com/js-lee-AI/refusal-relocates】【。

arXiv cs.LG80

衡量微任务达标差距:何时现成 SLM 足以胜任 Agent Harness?

arXiv:2610.00025v1 公告类型:cross 摘要:Agent harnesses 越来越希望在前沿大语言模型(LLM)规划器周围的微任务上运行小语言模型(SLM):自动批准 shell 命令、写入记忆、选择工具、对过往轮次进行排序。我们考察现成 SLM 是否达到从业者定义的阈值;当其未达到时,分析原因,并探究量化是否会改变结论。我们构建了一个包含 4 类此类微任务的基准,使用固定提示词和自动化指标;每项任务都有一个预先指定的阈值 $\tau$,该阈值以低成本的非 LLM 基线为锚点,并采用考虑 CI 的达标规则(只有当某配置的置信界限超过 $\tau$ 时,该配置才算通过)。我们测试了 Qwen3 0.6/1.7/4/8B 的最佳设置(FP16、贪心解码、一个固定不变的提示词、不进行调优),发现存在达标差距:16 个配置(4 项任务 $\times$ 4 个模型)无一通过(通过检查原始输出和解析器行为进行了验证)。一个基于 logprob 的决策阈值诊断方法(T1/T3/T4;T2 则通过上下文长度/级联探测)将失败区分为能力不足,以及可以通过改变解码阈值加以解决的失败(共 4 种情形)。量化为 4-bit(RTN/GPTQ/AWQ)造成的损害取决于模型规模,且没有使任何配置达到达标标准(在可重建的硬标签任务 T1/T3 上进行了认证;在 T2/T4 上进行了诊断/窗口化稳健性分析),因此差距更多地取决于模型规模,而非精度;在 Llama-3.x 上也复现了这一结果(12/12 个配置均未达标),并且对锚点选择(通过 $\tau$ 扫描)和提示词措辞都具有稳健性(在原始提示词及每个单元格额外的 3 个中性释义提示词中,达标配置均为 0/112)。实践上的启示是:应将 SLM 置于一个满足 CI 支持阈值的基线之后,仅在基线未达到阈值时使用 SLM;例如,在 BM25 候选列表上使用 4B 重排序器,其表现优于 BM25($+0.047$ [0.020, 0.073]),但其自身并未达到可认证的达标标准。

arXiv cs.LG74

每次消融都是一个剂量:配重与自我修复的表象

arXiv:2610.02173v1 公告类型:新增 摘要:对语言模型的一个组件进行消融,其他组件往往会表现出调整和补偿行为。这一现象被称为自我修复,已被反复观察到,但其机制仍不清楚。迄今为止最系统的研究得出结论:自我修复具有噪声,很可能不存在单一解释。我们认为它确实有一个解释:一种在任何消融发生之前就已存在的增益。对任何具有因果重要性的组件进行干预,都可以视为坐标轴 $\lambda$ 上的一个点,其中 $\lambda$ 表示反事实对比的带符号强度。因此,传统的消融方法就是该轴上未经校准的点。我们表明,细粒度单元 $r$ 的因果修复响应遵循一个仿射规律:$E_r(\lambda)=\mathrm{own}_r+\gamma_r\lambda$。斜率 $\gamma_r$ 是一个固定系数,无论是否进行消融,都会持续影响模型;其符号决定该单元是抵消还是强化被移除的信号。在一项跨四个不同模型系列(Gemma、Qwen、LLaMA 和 Mistral)的事实判定任务中,我们发现包括 MLP 神经元、OV 神经元和奇异方向在内的组件遵循这一仿射规律,共计占81个下游方向中的68个。此外,我们还可以根据固定权重预判 $\gamma_r$ 的大小。在 GPT-2 Small 的 IOI 电路中,干预能够触及的十个注意力头中有七个遵循该规律,而且这七个全都是配重。从这一视角看,表面上像是自我修复的现象,其实是当对比信号在核心处显现时,配重执行其通常的作用。

arXiv cs.LG76

超越线性概念:发现并对齐大型语言模型中的非线性概念流形

arXiv:2610.01821v1 公告类型:新 摘要:理解大型语言模型(LLM)中的信息处理,需要剖析其内部 token 表示的几何组织方式。尽管现有的机制可解释性(MI)方法试图提取概念,但它们受制于强线性假设,而越来越多关于非线性特征流形的证据对这一假设提出了挑战。我们通过将计算机视觉领域的非线性多维概念发现(Non-Linear Multi-Dimensional Concept Discovery,NLMCD)适配到 LLM 的 token 级激活上,超越线性概念,并将概念建模为低维流形。为了比较不同层和不同模型中的概念流形,我们引入了基于概念的对齐(CBA)分数,这是一种广义 Rand 指数,无需显式特征匹配即可衡量几何邻近性。我们的分析得出六项关键发现:(i)相邻层的合理性检验表明,CBA 比基于 PCA 或 CKA 的线性基线更加敏感;(ii)逐层对齐矩阵揭示了中间层和后期层中的两种块状结构,这一结构在不同模型中具有一致性,却被线性指标所掩盖;(iii)在网络的大部分层中,概念组合始终以句法为主,随后在更后面的层中逐渐转变为混合程度越来越高的句法—语义概念,并且朝向最终层的输出导向性不断增强;(iv)英语与中文之间的多语言概念共享取决于训练,而非普遍存在:在 Qwen 中最强,在 Llama 中较弱,在 GPT-2 中则不存在;(v)模型间的对齐呈现出相同结构:不同规模的同系列 Qwen 模型之间具有较强的对应关系,而不同模型系列之间的对齐较弱;(vi)在 Tulu-3 的训练阶段之间,相邻阶段的对齐程度最高,基础模型与 SFT 之间的变化最大;而后续的偏好对齐阶段(DPO、RLVR)基本不改变早期层,且 RLVR 在后期层大体保留了 DPO 的概念。

arXiv cs.LG81

CrossGMN:用于跨架构权重空间变换的图元网络

arXiv:2610.01649v1 发布类型:新论文 摘要:权重空间网络直接作用于其他神经网络的参数,从而能够执行预测模型属性、编辑训练好的模型以及生成权重等任务。神经元排列等权重空间对称性使得等变性成为关键设计原则。然而,现有的等变权重空间架构主要针对保持网络架构不变的变换进行研究。相比之下,许多实际变换(包括模型压缩和扩展)会将训练好的源网络映射为具有不同架构的目标网络。在这种情况下,源网络和目标网络的置换对称性作用于不同的参数空间,因此等变性的表述不再直接。我们解决这一不匹配问题的核心思路,是将跨架构算子重新表述为具有两个输入:一个训练好的源网络和一个目标网络的初始化。这样,我们就能定义等变的跨架构算子,利用源网络的信息来优化目标网络的初始化,同时对源网络的置换保持不变,并对目标网络的置换保持等变。基于这一表述,我们提出了 CrossGMN,这是一种图元网络,通过保持对称性的跨网络消息传递共同处理两个网络。我们证明,在一般位置假设下,CrossGMN 对紧集上的连续跨架构算子具有通用性。我们在模型压缩任务中评估了 CrossGMN:通过预测较小网络的参数,加速后续的知识蒸馏。在二维和三维 INRs 以及使用 MLPs、CNNs 和 Vision Transformers 的图像分类任务中,CrossGMN 最高可将蒸馏速度提升 8.89 倍;无需重新训练即可跨数据集迁移(提升 3.78 倍);此外,单个模型还能够将不同源架构的压缩过程加速到一个统一的目标架构。

arXiv cs.LG84

QK-Wanda:耦合查询与键进行非结构化剪枝

arXiv:2610.01554v1 发布类型:new 摘要:Wanda(Sun et al., 2024)通过在每个线性投影内独立地为权重评分来剪枝大型语言模型,尽管查询和键会通过点积相互作用。我们提出 QK-Wanda,在未掩码的 RoPE 前重构目标下,根据查询和键权重各自的删除代价对其进行评分。该方法将相反投影的信息纳入 Wanda 分数中(查询权重使用键的信息,键权重使用查询的信息),使两个投影能够共享剪枝预算。其闭式评分无需梯度或权重更新;在我们主要实验所用的校准设置下,完整剪枝在 A100 上耗时仅比 Wanda 多 1.3%,在 H200 上多 3.1%。我们在来自 TinyLlama、Llama 2、Llama 3 和 Qwen2.5 的 15 个模型上评估了仅针对 QK 的剪枝,模型参数规模涵盖 0.5B 至 72B。相较于 Wanda,在 50% 稀疏率下,QK-Wanda 将 QK 重构误差平均降低 60%;在 80% 稀疏率下,平均降低 45%。下游性能增益取决于具体模型。在 Llama 2 70B 达到 80% 稀疏率时,WikiText-2 和 C4 的困惑度分别下降 20.3% 和 13.5%,而零样本平均准确率上升 5.94 个百分点。Qwen2.5-72B 也有所提升,但 Llama-3.1-70B 的困惑度显著更高,尽管其重构误差更低。这些结果表明,耦合剪枝标准具有良好潜力,同时也揭示了局部重构作为模型质量预测指标的局限性。

arXiv cs.LG73

HADRec:融合分子知识与电子健康记录的层次感知药物推荐框架

arXiv:2610.00984v1 发布类型:新摘要:准确的用药推荐是临床决策的核心,直接决定治疗效果与患者安全。然而,现有方法存在两个关键局限:药物通常被抽象为离散标记,忽略了其分子结构和药理机制;同时,常用的“扁平化”推荐范式未能利用国际标准化的解剖学治疗学及化学分类(ATC)系统中的层次逻辑。为解决这些问题,我们提出了HADRec,一种将分子知识与电子健康记录(EHR)相融合的层次感知药物推荐框架。HADRec采用LLaMA-7B对临床记录进行编码,以获得丰富的患者表征,并使用ChemBERTa对药物简化分子线性输入规范字符串进行编码,从而构建全局分子知识库。随后,通过交叉注意力机制对患者状态与药物特征进行深度多模态融合。该框架进一步引入层次化预测器和一种新颖的一致性约束损失,以严格遵循ATC逻辑依赖关系。在MIMIC-III上的大量实验表明,HADRec在Jaccard、F1和PR-AUC指标上均达到了最先进的性能。在MIMIC-IV上的外部验证证实了其在分布偏移情况下的强泛化能力;校准分析显示,HADRec在MIMIC-IV上的预测置信度校准良好,ECE = 0.04,Brier = 0.06。反事实评估揭示了与临床相符的推理过程,将疾病特异性治疗与一般性护理区分开来。总体而言,这些结果表明,HADRec为构建安全、可靠、具有高性能、可解释性且以临床为基础的AI驱动用药推荐系统提供了可行路径。

arXiv cs.LG78

GUI-HARVEST:通过证据驱动的工具链演化实现自我改进的 GUI 智能体

arXiv:2610.00948v1 公告类型:新 摘要:GUI 模型周围的可执行工具链决定了如何组织观测、执行动作,以及控制验证、恢复和终止。与非 GUI 智能体的工具链优化相比,自动优化这一工具链面临三个相互耦合的挑战:协调模型意图与观测到的视觉效果;在执行结果具有变化性的情况下诊断失败;识别跨任务反复出现的失败模式,并将其转化为可复用的运行时修改。我们提出 GUI-HARVEST,这是一种自动工具链优化器,可在骨干模型冻结的情况下实现自我改进的 GUI 智能体。首先,为使诊断以观测到的动作效果为依据,它将模型输出和已执行的动作与前后截图对齐,把发现的问题关联到具体的界面转换。其次,为应对执行变化性,它将同一任务的多次运行视为一个联合证据单元,通过任务内比较定位与结果相关的行为差异。第三,它汇总跨任务验证过的发现,形成反复出现的失败模式,将其映射为有界的源代码修改,并在评估前记录预测结果;随后通过重复执行,在任务性能之外检验预测的行为影响。在 OSWorld-Verified 上的实验表明,GUI-HARVEST 在六个通用开源、GUI 专用开源及专有骨干模型上均取得了稳定的留出集提升;Qwen3-VL-32B-Instruct 在完整测试套件上的得分提升了 12.33 个百分点。在无需进一步优化的情况下,冻结工具链迁移使 GPT-5 在 50 步限制下于 WindowsAgentArena 上提升了 13.87 个百分点。在使用相同骨干模型和初始工具链的条件下,GUI-HARVEST 的表现优于 Self-Harness 和 Meta-Harness,这表明面向 GUI 的诊断与验证有助于使工具链改进泛化到未见任务。代码可在 https://github.com/GaryYang12345/GUI-HARVEST 获取。

arXiv cs.LG79

量化与高效适配蛋白质语言模型的分析

arXiv:2610.00665v1 公告类型:新 摘要:背景:蛋白质语言模型(PLM)越来越多地用于序列生成和性质预测,但其规模使微调和部署成本高昂。量化和参数高效微调对性能、表征及生成的影响仍缺乏充分表征。结果:我们在 ESM-2、ESMC、ProtBERT、ProtT5、Ankh、Ankh3 和 Profluent-E1 上评估了 4 位量化和低秩适配器微调(QLoRA)。在各类蛋白质预测任务中,许多模型—任务组合保留了超过完整微调性能 90% 的表现。对于规模最大的模型,GPU 峰值内存节省接近 90%,但性能和效率因模型、数据集及训练配置而异。QLoRA 通常能够保留早期层的表征,同时在中间层和后期层引入任务特异性适配,其效果类似于完整微调,但表征变化更小。训练速度和功耗方面的影响则更加多样。对于使用 ProLLaMA、ProtGPT2、ProGen2、ProteinGLM 和 ESM3 进行的无条件生成,4 位量化基本保留了预测的结构和序列级性质,但词元级分析揭示了自回归输出分布中依赖于模型的偏移。结论:QLoRA 和 4 位量化降低了 PLM 的计算需求,尤其是 GPU 内存占用。我们的结果支持将 QLoRA 作为内存受限适配的首选初步策略,而对于具有挑战性的任务、不稳定的架构或验证集性能恢复较低的情况,则保留使用完整微调。对于生成式 PLM,应将序列级和结构指标与分布分析结合起来,因为仅依赖下游预测可能无法发现量化引起的偏移。这些方法能够扩大大规模蛋白质建模的使用范围,但仍需要针对具体模型和任务进行验证。

arXiv cs.LG74

为更新评分,而非为词元评分:面向下降方向对齐的组合 LoRA 专家路由

arXiv:2610.00493v1 公告类型:新 摘要:LoRA 专家混合方法通过将每个词元路由至少数低秩专家,提升了低秩适配的容量。几乎所有这类方法都会将每个专家的一个输入侧因子与一个输出侧因子绑定在一起,而且几乎都通过对词元评分来进行路由:路由器在看不到任何专家将写入什么内容的情况下选择专家。我们认为,路由器应当对更新进行评分。一阶近似下,将某个专家的更新添加到层输出中,会使损失降低的幅度等于该更新与输出处负损失梯度之间的内积。这种有效性关于词元是二次的,因此对词元呈线性的路由器只能看到其中经由词元均值传递的部分;而那些依据专家自身激活值的范数对专家排序的路由器,则完全看不到输出因子。如果将每个专家拆分为读取器(下投影)和写入器(上投影),每个读取器—写入器组合的有效性就会变成共享秩-$r$空间中的内积,并且全部 $N_AN_B$ 个组合都可以利用 $N_A+N_B$ 个向量完成评分。我们基于这一恒等关系构建了 VANE。一个低秩指南针预测每个词元的下降方向。VANE 通过其更新与指南针之间的对齐程度为每个组合评分,而无需构造任何更新;它采用带加性门控的方式激活得分最高的前-$k$ 个组合,并为每个组合提供精确的一阶路由器梯度。在使用 Llama-3.2-3B 和 Llama-3.1-8B 进行的单领域常识推理任务,以及一个包含四个领域的多任务混合任务中,VANE 在十二个 PEFT 和 MoE-LoRA 基线方法中取得了最高的平均成绩,分别领先 0.9—1.1 分和 1.3—1.5 分;与此同时,其可训练参数不到 8 专家 MoE-LoRA 的一半。与词元路由器相比,其路由器评分也与实测的专家有效性更加吻合。

arXiv cs.LG78

每个批次都是自己的验证集:用于 LLM 微调的留一法梯度匹配在线数据选择

arXiv:2610.00436v1 公告类型:新 摘要:在线批次选择在每个候选批次中选取最有用的部分来微调语言模型。匹配候选批次梯度的选择器颇具吸引力,因为它们不需要留出数据,但其表现却很少超过使用整个批次进行训练。我们揭示了其中的原因。样本内梯度匹配将每个样本都作为自身目标的一部分,因此其目标函数会将每个样本自身的梯度噪声计入功劳。这正是导致训练误差过于乐观的协方差惩罚,只不过现在它位于梯度 Gram 矩阵的对角线上:它会引导选择过程偏向噪声最大的样本,并使完整批次成为该目标函数所能达到的最佳解。修复这一问题无需额外成本。对于每个样本而言,其他候选样本构成了数据分布的独立样本,因此移除对角线后,匹配目标就变成了一个关于更新相对于总体梯度误差的无偏估计。该留一法目标的最小化解会根据样本梯度的信噪比(SNR)为其赋予权重;当样本级 SNR 的异质性足够高时,半个批次能够得到比整个批次误差更低的更新;我们给出了确切条件。我们基于这一原理构建了 \method{}。它在常规反向传播过程中,使用 Adam 预条件器的度量计算 Gram 矩阵,以贪心方式选择一个带权子集,并提供 $(1-e^{-\gamma})$ 保证,同时不使用任何留出数据。在四项微调任务和七个参数量介于 1.5B 至 8B 之间的骨干模型上,LOOM 相比全批次训练,在 Llama-3.1-8B 和 Qwen2.5-7B 上分别提升 2.3 和 2.4 个百分点;相比所有样本内梯度匹配方法提升 2.4 个百分点,相比验证集引导的 GREATS 和 OPUS 提升 1.6--2.0 个百分点;此外,其选中的注入标签噪声比例低于基础比例的五分之一。

arXiv cs.LG78

IrekoGPT:将结构化剪枝转化为事后可变宽度大语言模型

arXiv:2610.00426v1 公告类型:新 摘要:我们提出了 IrekoGPT,这是一种事后方法,可将预训练大语言模型转换为可变宽度模型,使其宽度能够在推理时进行调整。在 SliceGPT 的基础上,我们保留其投影矩阵而不对其进行剪枝,使单个模型能够以不同宽度呈现嵌套子网络。我们通过在多个压缩比下对每一层进行校准来提升鲁棒性,并通过无梯度岭回归校正下游线性层。在 Llama 和 Qwen 模型上的初步结果表明,相较于基于朴素 PCA 的瘦身方法,我们的方法取得了更好的效果,并且在高压缩率下的提升最大。代码可在 https://github.com/aimagelab/IrekoGPT 获取

arXiv cs.LG78

CommunityKV:通过图划分实现高效的长上下文解码

arXiv:2610.00418v1 公告类型:新 摘要:将 Transformer 扩展到长上下文面临两项限制:自注意力的二次成本,以及键值缓存内存传输量的线性增长。稀疏注意力通过仅检索相关 token 缓解了这一问题,但现有方法要么需要大规模训练,要么在免训练场景下依赖语义粒度较粗的启发式方法,或依赖难以在解码过程中高效更新的高成本聚类。我们提出 CommunityKV,这是一种将稀疏注意力表述为社区检测问题的框架。CommunityKV 利用标准预填充过程中已经计算出的 $QK^T$ 分数构建 token 图,并将图划分为多个社区,以实现对语义一致的 token 组进行检索。局部更新规则可在常数时间内将新生成的 token 分配到相应社区,从而无需进行全局重新划分,即可在流式解码过程中持续执行稀疏检索。我们在三个长上下文基准上,使用 Qwen3 和 Llama-3.1 模型对 CommunityKV 进行了评估。每个查询头使用一张图时,CommunityKV 在端到端生成吞吐量方面最高可达到稠密注意力的 1.25 倍;而查询组图聚合在保持相当准确率的同时,最高可达到 1.71 倍。

arXiv cs.LG79

EchoPress:通过虚拟上下文重构实现与查询无关的 KV Cache 剪枝

arXiv:2610.00412v1 公告类型:新 摘要:KV 缓存剪枝通过驱逐不太重要的键值对,降低长上下文推理的内存使用量。KVzip 通过上下文重构来估计重要性:提示模型逐块重复上下文。这种方法能够实现高质量压缩,但代价是需要额外的前向传播。基于学习的近似方法可以降低这一成本,但需要针对特定模型进行训练。我们分析了 KVzip 如何识别缓存中的重要信息,并展示了如何利用预填充过程中已经计算的信息来近似其重构得分。这些发现促成了 EchoPress——一种无需训练的方法,它利用标准预填充中的查询和键来近似重构注意力。对于每个请求,该方法仅重构第一个块,以校准剩余上下文的重要性得分。在使用 Qwen3-8B 和 Llama-3.1-8B-Instruct 于 LongBench 和 RULER 上进行的实验中,EchoPress 在 50% 至 90% 的驱逐比例范围内,任务准确率与 KVzip 相当,同时将压缩开销降低了 1.7 至 19.6 倍,并将总预填充时间最多降低了 2.9 倍。代码可在 https://github.com/ljwljwljwljw/kvpress/tree/echo-press 获取。

arXiv cs.LG73

使用 Instance Based Learning Theory 的 Energy Based Models 中的元认知推理

arXiv:2610.00399v1 公告类型:new 摘要:元认知涉及对认知过程本身进行推理。例如,在资源分配中,我们会根据自己的信心,在开始一项推理任务之前选择投入多少时间和精力。当前依赖 Large Language Models(LLMs)的 Artificial Intelligence(AI)系统无法在生成输出之前估计自身对该输出的不确定性,也无法动态分配用于生成输出的资源,这使得这类元认知过程难以实现。近期提出的一种替代经典 transformer 架构的方法,即 Energy Based Model(EBM),能够实现可解释的不确定性建模和计算资源的动态分配。虽然 EBM 可以实现对这两个过程的控制,但根据不确定性确定计算资源分配这一实际的元认知任务尚未得到直接解决。Instance-Based Learning Theory(IBLT)提供了一种基于经验对类人决策进行建模的方法,此前已被用于预测人类的元认知推理。本文提出了一个结合 Instance-Based Learning Theory 与能量动态的元认知推理框架 MEtacognitive Reasoning with Instance-based Learning Theory and Energy Dynamics(MERITED)。该框架以 IBLT 为基础,能够控制分配给 EBM 的计算量,从而根据不确定性对推理投入进行元认知控制,同时保持计算效率。本文有两项主要贡献:训练并开放共享一个拥有 191M 个参数的推理 EBM,以及使用 IBL 模型实现 MERITED 框架以进行动态计算分配。

arXiv cs.LG74

注意力流形:通过编辑已学习的 B 样条曲面来引导或阻断语言模型

arXiv:2610.00257v1 公告类型:新 摘要:在标准 Transformer 注意力机制中,源 token 会向每个接收方发送相同的值向量。查询决定关注的\emph{程度},但不决定提取的\emph{内容}。本文提出\textbf{注意力流形}:已学习的二维 B 样条曲面 $S_d(q_d, k_d)$,根据查询与键之间的交互来调制每个值维度。每个曲面都是初始化为零的张量积三次 B 样条,从而保留预训练行为。在 LLaMA 3.2-1B-Instruct 和 3B-Instruct 上应用后,注意力流形仅增加 0.3\% 的参数量,就能使 WikiText-2 验证集困惑度降低 2--2.5 个点。在涵盖多种类型的 112 个提示中,曲面使其中 69\%(1B)至 83\%(3B)案例的贪心解码输出发生变化;对于含糊和多义输入,影响最为显著(变化率为 94--100\%)。曲面能够提升输出质量:纠正事实错误(\emph{“CAP 定理有三个主要组成部分”} $\to$ \emph{“不可能保证三者同时满足”}),提高精确性(\emph{“不可能知道某些属性”} $\to$ \emph{“不可能同时知道位置和动量”}),并增加具体性(将一条泛化引语变为注明出处的 Saint Augustine 引文,且在两个规模上均表现一致)。已学习的曲面还可以进行机械式编辑:反转某一层的系数会使 10 个提示中的 9 个产生不同的贪心输出(KL~0.010),为模型引导提供了一种几何机制。将曲面系数设为 $-1$ 会形成“注意力墙”,阻断值信息沿特定维度流动。在一项初步实验中,覆盖整层的注意力墙将一个爆炸装置提示从具体操作指令重定向为一般性教育内容,表明了通过塑造流形来实现面向安全的控制的可能路径。

arXiv cs.LG82

面向格式的融合:实现快速 FP4 预训练

arXiv:2610.00053v1 公告类型:new 摘要:四位浮点(FP4)Tensor Cores 可加速矩阵乘法,但尺度计算、操作数打包、布局构建以及保存的反向传播状态可能抵消这一优势。我们提出\emph{面向格式的融合},针对每个量化生产者及其尺度域和消费者布局进行协同设计,以支持原生 \mxfp{}、全局 \nvfp{} 以及协作线程阵列本地 \nvfp{}。我们使用 bfloat16 输出投影和编译后的交叉熵,对 Llama-3 系列 8B 模型进行了 1600 亿 token 的预训练评估。在匹配的同加速器测试中,bfloat16 和 Transformer Engine \nvfp{} 的速度分别达到每 GPU 18.8K 和 27.6K tokens/s,而我们最快的自定义路径达到 37.9K。采用行梯度随机舍入和固定符号 32 值 Hadamard 权重梯度预条件的 \mxfp{} 达到每 GPU 37.2K tokens/s(bfloat16 模型 FLOP 利用率为 86.3%),最终训练损失比原始 bfloat16 训练损失终点高 2.11%。采用四个末端 bfloat16 模块的 Transformer Engine 配方达到每 GPU 27.1K tokens/s,最终结果比 bfloat16 高 0.87%。下游排名与训练损失排名存在差异,表明 FP4 的效果取决于尺度约定、操作数和执行路径的共同作用。

BAIR Blog53

2026 BAIR Graduate Showcase

Congratulations to the Berkeley Artificial Intelligence Research (BAIR) Lab class of 2026! This year, BAIR celebrates another remarkable group of Ph.D. graduates whose curiosity, creativity, and perseverance have pushed the frontiers of artificial intelligence and machine learning. Their work spans the breadth of modern AI — robotics and embodied intelligence, large language models and reasoning, computer vision, generative modeling, AI safety, human-AI interaction, AI for science and healthcare, and much more. Along the way, they have published influential research, built systems with real-world impact, mentored their peers, and shaped the BAIR community for the better. Now they are headed everywhere ideas travel: to faculty and postdoctoral positions, to industry research labs, and to startups of their own founding — and several are still exploring what comes next and would love to hear from you. Please join us in celebrating the achievements of these wonderful graduates. We are proud of everything they have accomplished at Berkeley, and we can’t wait to see what they do next! Thank you to our friends at the Stanford AI Lab for this idea! Baifeng Shi Baifeng Shi Email: baifeng_shi@berkeley.edu Website: https://bfshi.github.io/ Advisor(s): Trevor Darrell Research Blurb: I work on building generalist vision and robotic models. What's next: Member of Technical Staff at Physical Intelligence Charlie Snell Charlie Snell Email: csnell22@berkeley.edu Website: https://sea-snell.github.io Advisor(s): Dan Klein Research Blurb: My work aims to understand when and how the different LLM scaling paradigms can be traded off and interchanged. In particular, test-time scaling treats each prompt independently, drawing long chains of inferences and then forgetting them entirely between prompts. This differs critically from pretraining, which instead learns a compressed representation from a large dataset. I believe bridging the gap between these methods of scaling computation, presents a key open challenge in the field: how can we develop methods which turn the inferences drawn at test-time back into learned representations that the model can hold onto across interactions. Devin Guillory Devin Guillory Email: dguillory@berkeley.edu Website: https://devinguillory.com Advisor(s): Trevor Darrell Research Blurb: Accounting for data shifts in computer vision models What's next: Building collaborative AI systems, looking for conspirators. Eve Fleisig Eve Fleisig Email: efleisig@berkeley.edu Website: https://efleisig.com Advisor(s): Dan Klein Research Blurb: I design language models to work reliably and fairly for the broad range of real LLM users. First, my research leverages disagreement among user preferences as signal, in order to train and evaluate LLMs for entire populations of users. Second, I work on designing rigorous evaluations to extricate challenging LLM harms that diverse users face. Finally, I work on core technical failures of LLMs, like miscalibrated confidence, to reduce downstream risks when models are deployed to users with different needs. Combined, these interventions facilitate building LLMs that minimize societal harms, and maximize benefits to a wider range of real-world users. What's next: Postdoctoral fellow at Princeton CITP Grace Luo Grace Luo Email: graceluo@berkeley.edu Website: https://graceluo.net Advisor(s): Trevor Darrell Research Blurb: My research is on interpreting and controlling generative models. For example, I've worked on re-purposing image generators for computer vision tasks, and meta-modeling language activations for better LLM probing and steering. What's next: Research scientist in industry Hanlin Zhu Hanlin Zhu Email: hanlinzhu@berkeley.edu Website: https://hanlinzhu.com/ Advisor(s): Stuart Russell, Jiantao Jiao Research Blurb: My research centers on understanding and improving the reasoning capabilities of large language models (LLMs). What's next: Member of Technical Staff at OpenAI Haozhi Qi Haozhi Qi Email: hqi@berkeley.edu Website: https://haozhi.io/ Advisor(s): Jitendra Malik, Yi Ma Research Blurb: Dexterous Manipulation and Robot Learning What's next: Research scientist at Amazon; Faculty at University of Chicago J.D. Zamfirescu-Pereira J.D. Zamfirescu-Pereira Email: zamfi@berkeley.edu Website: https://zamfi.net Advisor(s): Bjoern Hartmann Research Blurb: My research focuses on effective human-AI co-design. I study the boundaries of language interfaces as a medium for interacting with AI, creating systems that blend language-focused interactions with structured user interfaces that draw on different levels of abstraction. I focus on language-oriented technologies, like LLMs and text-to-image models, that are powerful mediators of design processes. These technologies enable humans to describe their desires at almost any level of abstraction, from high-level goals vaguely specified (“I’d like a game to help my kid learn to read”) to low-level corrections of undesired outputs (“Don’t say ‘I know because I’ve tasted it’ when about a recipe substitution's taste”). What's next: Assistant Professor, Computer Science, UCLA Jiachen Lian Jiachen Lian Email: jiachenlian@berkeley.edu Website: https://jlian2.github.io Advisor(s): Gopala Anumanchipalli Research Blurb: My research focuses on human-centered AI across speech, healthcare, and systems. Looking for: Look for AI talents to join our startup Josh Kang Josh Kang Email: minwoo_kang@berkeley.edu Website: https://joshuaminwookang.github.io/ Advisor(s): John Canny Research Blurb: I study language modeling and related topics in NLP; specific interests are human user simulation and building conversational, collaborative AI agents. What's next: AI Scientist at Mistral AI Junhao (Bear) Xiong Junhao (Bear) Xiong Email: junhao_xiong@berkeley.edu Website: https://www.linkedin.com/in/junhao-bear-xiong Advisor(s): Jennifer Listgarten, Yun Song Research Blurb: Junhao (Bear) Xiong is a PhD candidate at UC Berkeley, advised by Jennifer Listgarten and Yun S. Song. His work focuses on machine learning methods for biology, with an emphasis on generative modeling for proteins. Previously, he studied Applied Math and Computer Science at Johns Hopkins. Looking for: Research scientist Kaylo Littlejohn Kaylo Littlejohn Email: kaylo_littlejohn@berkeley.edu Website: https://kaylolittlejohn.com Advisor(s): Gopala Anumanchipalli Research Blurb: My research is focused on speech modeling and natural language processing. I co-led the development of multimodal AI tools to accurately translate brain activity into text, audible personalized speech, and a high-fidelity "digital talking avatar" (Nature 2023, Nature Neuroscience 2025). I am also tech lead for voice modeling at Roblox. Looking for: Research Scientist / Engineer Kent Chang Kent Chang Email: kentkchang@berkeley.edu Website: https://kentkc.org Advisor(s): David Bamman Research Blurb: I work on NLP and multimodal machine learning, with a focus on evaluating large language models and building multimodal systems for understanding dialogue, narrative, and social interaction. My research includes benchmarks for LLM memorization, multimodal datasets sourced from feature films and television, and studies of model behavior. I'm interested in bridging computational methods with questions from the humanities and social sciences about whose voices get represented in AI systems, and about AI's broader impact. My work has appeared at EMNLP and ACL, among others. Looking for: (teaching) faculty, Research Scientist, ML/AI SWE Kevin Black Kevin Black Email: kvablack@berkeley.edu Website: https://kevin.black Advisor(s): Sergey Levine Research Blurb: I work on large-scale robot learning: including imitation learning, reinforcement learning, generative modeling, real-time control, and whatever else it takes to make robots work in the real world! What's next: Research Scientist of Physical Intelligence Kunhe Yang Kunhe Yang Email: kunheyang@berkeley.edu Website: https://www.kunheyang.com/ Advisor(s): Nika Haghtalab Research Blurb: My research focuses on the theoretical foundations of designing and evaluating AI algorithms in environments shaped by human incentives and AI agency. My work spans human-centric policy learning, incentive-aware evaluation, and multi-agent collaboration and information transmission, drawing on tools from machine learning theory and computational economics. What's next: Postdoc Research at Stanford Lisa Dunlap Lisa Dunlap Email: lisabdunlap@berkeley.edu Website: https://lisabdunlap.com Advisor(s): Joseph Gonzalez, Trevor Darrell Research Blurb: Auditing generative models. What's next: Research Engineer at Anthropic Long (Tony) Lian Long (Tony) Lian Email: longlian@berkeley.edu Website: https://tonylian.com/ Advisor(s): Trevor Darrell, Adam Yala Research Blurb: My research primarily focuses on developing real-time multi-modal multi-agent systems and parallel reasoning systems through end-to-end RL. What's next: Member of Technical Staff at Thinking Machines Lab Maulik Bhatt Maulik Bhatt Email: maulikbhatt@berkeley.edu Website: https://maulikb.com Advisor(s): Negar Mehr Research Blurb: My research develops autonomous robots that can safely coordinate with humans and other robots in shared environments. I build scalable algorithms grounded in game theory and diffusion models that let agents reason about the intent and behavior of others around them. My work spans real-time multi-agent trajectory planning and imitation learning in the presence of multi-modality. I've validated these methods on hardware platforms ranging from quadrotors to manipulators, with the goal of making multi-agent coordination robust, interpretable, and deployable in the real world. What's next: Joining Toyota Woven's end-to-end autonomous driving team. Michael Psenka Michael Psenka Email: psenka@berkeley.edu Website: https://www.michaelpsenka.io/ Advisor(s): Aditi Krishnapriyan Research Blurb: Work in various domains (reinforcement learning, world models, AI+bio/chem), generally working on longer-horizon and out-of-distribution problems in planning and interpolation (e.g. robot manipulation from start state to goal, molecular dynamics of proteins between ground states). My thesis took a variational approach (think calculus of variations) directly from deep generative models of the environment, framing path-finding as minimizing a functional induced by the learned model itself (its score, its critic, or its dynamics). Through my research I've gained insight on how to properly handle dynamics in deep learning systems, and I plan to continue developing systems that are dynamic and adaptive. What's next: Lead Research Scientist at Baseten Nathan Lichtlé Nathan Lichtlé Email: nathan.lichtle@gmail.com Website: https://nathanlichtle.com Advisor(s): Alexandre M. Bayen Research Blurb: RL for autonomous driving. What's next: Chief Scientist & Co-founder at Yumi Health Neerja Thakkar Neerja Thakkar Email: nthakkar@berkeley.edu Website: https://neerja.me/ Advisor(s): Jitendra Malik Research Blurb: My research focuses on scaling predictive world models to handle the complexity of in-the-wild motion. Using autoregressive and diffusion frameworks, I develop better representations for real-world prediction and propose methods to efficiently adapt these models to new domains. Looking for: Research scientist Nikita Mehandru Nikita Mehandru Email: nmehandru@berkeley.edu Website: https://n-mehandru.github.io/ Advisor(s): Ahmed Alaa and David Bamman Research Blurb: My research develops and applies machine learning methods for clinical reasoning and disease progression modeling using unstructured text and time series data from electronic health records. In collaboration with physicians at UCSF, I bridge method development and clinical validation with the intention to build reliable, interpretable AI systems in medicine. Looking for: Research Scientist Niklas Lauffer Niklas Lauffer Email: nlauffer@berkeley.edu Website: https://niklaslauffer.github.io/ Advisor(s): Stuart Russell and Sanjit Seshia Research Blurb: Niklas's research is focused on AI safety and reinforcement learning, particularly in the area of multi-agent interaction and LM agents. He's worked on enabling adversarial learning in cooperative and mixed-motive settings, solving issues of covariate shift in training LM agents on long-horizon tasks, as well as evaluating safety risks posed by LM agents in multi-agent settings. What's next: Research Scientist at Google Deepmind Qiyang Li Qiyang Li Email: qcli@berkeley.edu Website: https://colinqiyangli.github.io/ Advisor(s): Sergey Levine Research Blurb: Recent progress in robotic manipulation policy learning has been largely driven by (1) the increasing availability of large-scale prior datasets and (2) the success of action chunking, where the policy predicts a short sequence of future actions rather than a single one. However, most action chunking policies are trained via supervised imitation learning, because efficient online self-improvement with reinforcement learning (RL) remains challenging—limiting real-world applicability. My PhD research studied how we could leverage prior data to optimize action-chunking policies with RL, combining empirical results with theoretical insights. Looking for: Post-doc/research scientist for RL in robotics and LLMs! Sampada Deglurkar Sampada Deglurkar Email: sampada_deglurkar@berkeley.edu Website: https://sdeglurkar.github.io/ Advisor(s): Prof Claire Tomlin Research Blurb: My research is in providing safety assurances for AI-enabled autonomous systems, ranging from robots to autonomous vehicles to aviation systems. For this, I have worked with uncertainty quantification for machine learning models, decision-making under uncertainty algorithms, and tools for producing probabilistic guarantees on system operation. Looking for: Research scientist, Research engineer Vinamra Benara Vinamra Benara Email: vbenara@berkeley.edu Website: https://cs.berkeley.edu/~vbenara Advisor(s): Ion Stoica Research Blurb: My research focuses on LLM post-training, including data curation, RLHF, RLVR with VLMs, evaluations, reasoning, agentic workflows, and interpretability. I also have strong expertise in systems infrastructure for distributed computing. Looking for: Research scientist / Research Engineer Vongani Maluleke Vongani Maluleke Email: vongani_maluleke@berkeley.edu Website: https://people.eecs.berkeley.edu/~vongani_maluleke/ Advisor(s): Jitendra Malik and Angjoo Kanazawa Research Blurb: Vongani Maluleke is a PhD candidate at UC Berkeley (BAIR, advised by Jitendra Malik and Angjoo Kanazawa), where she led the development of MAGNet, a unified multi-agent motion generation framework that supports a wide range of motion generation tasks without retraining or architectural changes, outperforming task-specialized state-of-the-art baselines. She is currently extending this work by deploying it on a Unitree G1 humanoid to make it embody social intelligence. Before her PhD, she was a Senior AI Consultant at Deloitte, awarded Exceptional Performer two consecutive years, leading AI system development across media, telecommunications, retail, and financial services. Looking for: Research scientist Wei-Jer Chang Wei-Jer Chang Email: weijer_chang@berkeley.edu Website: https://weijer-chang.github.io/ Advisor(s): Masayoshi Tomizuka Research Blurb: My research focuses on developing safe and intelligent autonomous systems for complex, human-centered environments. I work at the intersection of machine learning, generative models, and reinforcement learning, with applications in autonomy. My work addresses challenges in multi-agent interaction, interactive human behavior, and long-tail safety-critical scenarios at scale. Looking for: Research Scientist, Applied Scientist, Roboticist Xiuyu Li Xiuyu Li Email: xiuyu@berkeley.edu Website: https://xiuyuli.com/ Advisor(s): Kurt Keutzer Research Blurb: My research focuses on developing scalable and self-improving large language model agents, with emphasis on coding agents for complex, long-horizon tasks. This direction builds on my work in parallel reasoning, and on broader expertise in making generative models more efficient in training and inference across language and vision. What's next: Member of Technical Staff at xAI Yichen Xie Yichen Xie Email: yichenxie0928@gmail.com Website: https://yichen928.github.io/ Advisor(s): Masayoshi Tomizuka Research Blurb: My research focuses on building multimodal foundation models and world models that understand and interact with complex physical environments. I aim to develop unified representations across modalities, enabling AI systems to reason over space, time, and dynamics toward general-purpose embodied intelligence. What's next: Research Scientist at Luma AI Yigit Efe Erginbas Yigit Efe Erginbas Email: erginbas@berkeley.edu Website: https://www.linkedin.com/in/erginbas/ Advisor(s): Kannan Ramchandran, Thomas A. Courtade Research Blurb: My PhD research spans two threads: online learning in large-scale markets, and interpretability of large machine learning models. In the first, I work on sequential decision-making with applications to recommendation, pricing, and assortment selection. My focus is on designing algorithms with provable guarantees for welfare maximization, revenue maximization, and stability. In the second, I develop scalable attribution methods that exploit the sparse, low-degree structure of real-world interactions, using tools from signal processing and information theory. More recently, I have been exploring principled ways to evaluate the faithfulness of model self-explanations. What's next: Researcher at Hudson River Trading's AI Labs (HAIL) Yiheng Li Yiheng Li Email: yhli@berkeley.edu Website: https://Yihengli.com Advisor(s): Masayoshi Tomizuka Research Blurb: I am working on vision world modeling, with prior experience in diffusion model's efficiency as well as in autonomous driving. What's next: Research Scientist at Waymo Zhe Fu Zhe Fu Email: zhefu@berkeley.edu Website: https://fu-zhe.com/ Advisor(s): Alexandre Bayen Research Blurb: My research focuses on physics-informed learning and control for mixed-autonomy systems, with applications in transportation. I design physics-informed neural networks to learn solutions of nonlinear partial differential equations, enabling accurate and data-efficient prediction of traffic dynamics. Building on these models, I develop both model-based and learning-based control strategies that coordinate automated vehicles to improve system-level performance. My work bridges machine learning, control, and real-world deployment, and has been validated in large-scale field experiments. More broadly, I aim to advance trustworthy, interpretable AI for decision-making in complex, real-world systems. What's next: I will be an Energy Fellow at Stanford after graduation. Also looking for Faculty, or research scientist positions in AI, control, and autonomy.

BAIR Blog78

From CUDA to MLX: How K-Search Brings Decades of Kernel Expertise to Apple Silicon

Kernel knowledge transfer from CUDA to MLX Figure 1: CUDA-to-MLX optimization translation map. CUDA optimization knowledge can be translated into architecture-native MLX strategies rather than copied instruction-for-instruction. We face a new epoch in computing. Hardware is changing rapidly — not just faster GPUs, but a growing range of chips from different vendors, each with its own architecture and often tailored to specific AI workloads. Software is changing just as fast, and AI coding tools now generate in minutes what took months of effort a few years ago. With so much of computing now centered on AI, GPU kernels are a crucial component of its success. These are the low-level programs that run inside the GPU, and writing efficient ones is far from obvious — it takes years of expertise to get right. Transferring a kernel from one vendor’s hardware to another is harder still, and often means rediscovering the same optimizations from scratch. The CUDA ecosystem, for example, has accumulated decades of hard-won kernel expertise: hand-tuned implementations of attention, state space models, and other critical operations representing thousands of engineering hours. Newer hardware ecosystems (Apple Silicon, custom AI accelerators, and others) are growing fast but lack this depth. In this work we ask whether that expertise can be transferred automatically. We built on K-Search , an evolutionary kernel search framework introduced by Cao et al. at Berkeley Sky Lab that uses AI to optimize GPU kernels, and extended it with a backend for MLX — Apple’s machine-learning framework for its own Apple Silicon chips. We developed a novel structured CUDA-to-MLX translation layer that lets K-Search take existing CUDA kernels as a knowledge base and adapt them into high-quality GPU kernels for Apple Silicon, rather than rebuilding from scratch. We show that our approach reaches near-expert level performance on Apple Silicon with 0.97x speedup compared to the native MLX Attention kernel, and up to a 20x prefill speedup over the community mlx-lm implementation on the Mamba SSM kernel; we report the numbers, and how much of the gain comes from the translation layer, in the sections below. Although we focus on MLX kernels for Apple Silicon, the method is not specific to MLX and applies to any ecosystem where CUDA expertise is transferable. Why MLX? Apple’s MLX framework has seen remarkable adoption since late 2023. With Apple Silicon in hundreds of millions of MacBooks and Mac Studios, MLX enables local AI inference without cloud costs. The unified memory architecture makes it especially attractive for mid-sized models (7B–70B parameters on M series chips). Yet beneath this momentum lies a significant gap: many performance-critical kernels that the NVIDIA ecosystem takes for granted: paged attention, optimized SSM scan kernels, fused MoE routing are either absent or naive without hardware-specific tuning. MLX runs models correctly but often leaves significant performance on the table. This gap is what motivates the rest of this post. What is K-Search? K-Search is an evolutionary kernel optimization framework originally developed by our first author Shiyi Cao at UC Berkeley Sky Lab. Given a naive kernel and a hardware specification, it runs an iterative optimization loop: an LLM reasons about which optimizations to try next, a code-writing model generates candidate kernels, and those candidates are compiled and benchmarked on real hardware. Measurements feed back into the search, which keeps refining, pursuing promising directions and dropping dead ends until performance converges. Pseudocode for K-Search via co-evolving world models Algorithm 1: K-Search via co-evolving world models. The search alternates between selecting the most promising action, instantiating and evaluating code until improvement stagnates, and evolving the world model through insert, update, and prune operations. Adapted from Cao et al. (2026) . Search is grounded by a Spec: a domain-specific document encoding hardware rules, optimization patterns, and mathematical constraints which keeps generated code from hallucinating invalid primitives and ensures candidates will actually compile and run efficiently. In our runs, a single model (Gemini 3.5 Pro Preview) plays both roles: it maintains the reasoning state and writes the kernels. The reasoning half is prompted as a “GPU kernel performance engineer” and asked to work through a fixed analysis before proposing anything: classify the kernel (reduction, scan, attention/softmax, …), rewrite the reference computation in canonical form, map out data layout and access patterns, and hypothesize the likely bottleneck (bandwidth, latency, compute, or synchronization) in each runtime regime. Only then does it emit candidate optimizations, each as a single change implementable in one iteration. We call the persistent reasoning state a world model . Rather than a flat list of things to try, it is a decision (prefix) tree: each root→leaf path composes a full optimization plan, and sibling branches are competing alternatives. Every node is scored — an overall_rating in [0, 10], a confidence in [0, 1], and per-node impacts on memory bandwidth, register pressure, and compute/hardware fit — so the search can rank partial plans and expand the most promising ones. The tree persists and grows across rounds: refining an idea adds a child node rather than overwriting its parent, and if the best score fails to improve for a few rounds (a stagnation window) the search backs off to explore an alternative branch. A single node, as it appears mid-run on the attention kernel, looks like this: { "action" : "Replace the threadgroup-memory softmax reduction with a register-only reduction: each SIMD group owns 8 query rows and reduces across lanes with simd_shuffle_xor, removing a threadgroup_barrier." , "difficulty_1_to_5" : 4 , "impacts" : { "memory_bandwidth" : 8 , "register_pressure" : 4 , // risk: spill if Br > 8 "compute_hw_fit" : 9 // SIMD width 32 ; keep tile 8 x 8 }, "overall_rating_0_to_10" : 8 , "confidence_0_to_1" : 0.7 } Listing 1: Example K-Search world-model node. Each candidate optimization records a concrete action, estimated hardware impacts, an overall priority rating, and the model's confidence. Overview of the K-Search loop Figure 2: Overview of K-Search. The framework operates on a Search State $S_t$ structured as a search tree. The tree consists of Closed nodes (blue, visited states with attached program like $x_{12}$) and a Frontier of Open nodes (orange, pending hypotheses like $u_{13}$). The workflow iterates through three phases: (1) Action Selection , where the most promising action node is retrieved from the frontier based on world model estimated priority score $V$; (2) Local Refinement , where a stochastic policy $\pi_{\mathrm{code}}$ samples concrete implementations until stagnation; and (3) World Model Update , where the LLM reasons over the trajectory to update the search tree via Insert (adding new actions), Update (adjusting $V$, e.g., $u_{11}$ dropping from 0.9 to 0.6), and Prune (removing less promising nodes like $u_{10}$). The original K-Search paper evaluated this search strategy on CUDA kernels from FlashInfer. Across GQA decode, MLA decode, MLA prefill, and MoE, K-Search improved more consistently than OpenEvolve and ShinkaEvolve over the same 120-iteration budget. These results establish the search framework we build on here; the remainder of this post asks whether its optimization knowledge can transfer beyond CUDA. K-Search benchmark results compared with OpenEvolve and ShinkaEvolve Figure 3: Main results from the original K-Search paper. Across three runs, K-Search achieves stronger best-so-far search scores, per-workload kernel performance, and speedup distributions than OpenEvolve and ShinkaEvolve on four FlashInfer CUDA kernels. Reproduced exactly from Cao et al. (2026) . Building an MLX backend To bring K-Search to Apple Silicon, we first built a native MLX backend. We implemented a full MLX-specific task adapter for K-Search, including: An MLX task backend in k_search/tasks/ handling kernel compilation and execution on Apple Silicon via MLX’s Metal/C++ APIs. Updated kernel generator prompts for writing and modifying Metal/MLX kernels. MLX-specific benchmarking integration using mlx.core measurement utilities. Translating CUDA expertise to MLX However, the more interesting challenge was not simply running K-Search on MLX. The key insight is that expert CUDA kernels encode decades of optimization knowledge that is transferable to Apple GPU if you can bridge the conceptual gap. Simply handing an LLM a CUDA kernel and asking it to port it is not enough: without deep hardware context, it produces code that is syntactically valid but architecturally wrong (wrong tile sizes, invalid primitives, mismatched memory assumptions). Our translation layer consists of: Concept mapping tables: A structured glossary of CUDA primitives and their MLX/Metal equivalents with hard constraints. For example: __shared__ maps to Metal threadgroup memory but with a hard 32 KB limit (vs. NVIDIA’s 48 KB) warp_reduce maps to MMA (preferred) __syncthreads() becomes threadgroup_barrier(mem_flags::mem_tg) H100’s ~3.35 TB/s HBM3 maps to M3 Max’s ~400 GB/s unified DRAM a bandwidth difference that reshapes which optimizations are worth pursuing. MLX-specific hints and patterns: Concrete code-level patterns for operations with no direct CUDA equivalent, such as register-based row reductions using simd_shuffle_xor in an 8×8 MMA tile layout, or the “exp2 trick” (replacing $exp(x)$ with $exp_2(x \log_2 e)$) for faster softmax on Apple’s fast $exp_2$ hardware instruction. Reusable assertions: Expert kernel behaviors reframed as properties the evolutionary search must preserve, rather than code to copy. Matching expert kernel performance: the Attention kernel We evaluate three configurations of an MLX attention kernel for Apple Silicon: (1) a naive baseline, (2) pure evolution with no additional provided context, and (3) a full context translation layer, which supplies the optimizer with architecture-specific implementation knowledge extracted from high-performance kernels (e.g., FlashAttention-2), letting the evolutionary search reason about implementation strategies rather than starting from a naive kernel. Together, these three configurations let us isolate the exact impact of the translation layer. Performance scaling of the Attention Kernel through stacked optimizations Figure 4: Performance scaling of the Attention Kernel through stacked optimizations. The "Full Context" configuration successfully discovers and implements advanced strategies like double buffering and loop unrolling, achieving near-expert performance. The jump from 0.26× to 0.97× the speed of Apple’s state-of-the-art attention kernel — illustrates how much the translation layer matters. With full context, the evolved kernel independently discovers the key optimizations in FlashAttention 2: threadgroup memory tiling, online softmax, K-transposition for memory access, and the exp2 trick. The last of these replaces every softmax exponential with a base-2 exponential, \[e^x = 2^{x \log_2 e},\] which is exact and lets the kernel use Apple’s fast fast::exp2() hardware instruction directly instead of paying for a base conversion at runtime. A 20× faster prefill: the Mamba SSM kernel To evaluate whether K-Search generalizes beyond attention kernels, we applied it to the state-space model (SSM) kernel used by Mamba. Unlike attention, the computational bottleneck is a recurrent state update rather than a softmax, providing a substantially different optimization challenge. We compare the evolved implementation against the community MLX implementation (mlx-lm) and the PyTorch reference implementation (mamba.py) on an M1 Max. Evaluated on mamba-370m f16, M1 Max 64GB: Metric mlx-mamba (ours) mlx-lm (community) mamba.py Decode 152 tok/s 116 tok/s 40 tok/s Prefill L=512 5,751 tok/s 329 tok/s 1,089 tok/s Prefill L=1024 6,010 tok/s 327 tok/s 1,127 tok/s Prefill L=2048 6,612 tok/s 326 tok/s 1,092 tok/s Prefill L=4096 6,743 tok/s 339 tok/s 1,042 tok/s Table 1: Prefill and decode throughput on mamba-370m (f16, M1 Max 64GB). mlx-mamba (ours) reaches ~20× higher prefill throughput than the community mlx-lm baseline, while decode remains comparable. The ~20× prefill speedup over mlx-lm comes down to one difference: mlx-lm does not implement a parallel scan for the SSM. The state recurrence \[h_t = \bar{a}_t h_{t-1} + \bar{b}_t\] looks inherently sequential, but each step can be written as a pair $(\bar{a}_t, \bar{b}_t)$ under the associative combine \[(a_2, b_2) \circ (a_1, b_1) = \left(a_2 a_1,\ a_2 b_1 + b_2\right),\] which reproduces the recurrence exactly. Because the operator is associative, the whole sequence can be evaluated with a parallel (prefix) scan in $O(\log N)$ dependent steps instead of $O(N)$. mlx-lm skips this and processes tokens one at a time, leaving most of Apple Silicon’s compute idle; our evolved Metal kernel applies the scan and makes much fuller use of GPU throughput. The gain shows up in prefill, where the full sequence is available to scan in parallel, and not in single-token decode, where there is only one new token per step and no scan to parallelize — which is why the decode row is roughly flat while prefill is ~20×. mamba.py is slow on both prefill and decode because it is a PyTorch reference implementation that falls back to CPU or MPS on Apple Silicon, forgoing the hardware-specific optimizations that MLX’s Metal backend makes possible. What’s next? On the two kernels we studied, AI-driven evolutionary kernel search grounded in structured cross-platform translation knowledge reached near-expert performance on Apple Silicon without a team of GPU experts starting from scratch. We do not yet know how far this generalizes, but the result is encouraging. For us the main takeaway is that the bottleneck was not the LLM’s ability to write Metal code, but the quality of the context and constraints we gave it. Our CUDA translation layer converts existing NVIDIA kernel expertise into actionable guidance for Apple Silicon, and lets K-Search’s evolutionary search do the rest. We are actively extending this work in several directions: supporting new architectures, with current efforts focused on developing new kernels for the IBM Spyre AIU and broader hardware targets; adding more kernels such as paged attention and fused MoE routing; and improving integration with the K-Search evolution loop to make translation context even more automatic. Acknowledgements This work was carried out by IBM Research and builds on K-Search from the UC Berkeley Sky Lab ( Cao et al., 2026 ). We welcome collaboration and feedback from the MLX and broader AI systems communities. If you are working on kernel optimization for non-CUDA hardware, we would love to hear from you. Citation @article { cao2026k , title = {K-Search: LLM Kernel Generation via Co-Evolving Intrinsic World Model} , author = {Cao, Shiyi and Mao, Ziming and Gonzalez, Joseph E and Stoica, Ion} , journal = {arXiv preprint arXiv:2602.19128} , year = {2026} } Appendix: Try it yourself The MLX backend is built on top of the open-source K-Search repo, so the results here can be reproduced directly. The steps are: 1. Clone and install git clone https://github.com/caoshiyi/K-Search.git cd K-Search uv pip install openai wandb uv pip install git+https://github.com/caoshiyi/flashinfer-bench-ksearch.git 2. Set your credentials Open the relevant script under scripts/ and set three variables at the top: KSEARCH_ROOT = /path/to/K-Search API_KEY = your-llm-api-key 3. Run kernel search # Optimize Flash Attention on Apple Silicon (world-model mode) bash scripts/mac_flash_attention_wm.sh # Or a Mamba SSM kernel, e.g. the selective scan bash scripts/mamba_selective_scan_fwd_wm.sh Full CLI reference and documentation are in the README.

arXiv cs.AI77

可扩展、可迁移的元网络用于数据选择需要不同的损失(以及显而易见的选择为何存在问题)

数据选择对于在海量异构语料库上训练大型语言模型至关重要。用于训练数据选择的元学习(MTS)通过从目标验证目标中学习数据权重,为启发式评分提供了一种更为系统的方法,但现有方法在细粒度估值与向未见数据迁移之间面临权衡。一种自然的解决方案是用选择网络替代逐样本权重。然而,我们发现,将此类网络直接纳入现有的 MTS 目标会导致优化不稳定且泛化能力较差,其原因在于权重抑制以及对易学习特征的持续依赖。为解决这些问题,我们提出 Transferable Example Scoring and Selection (TESS),这是一个基于 Pointwise Value Matching 目标(PVM)的可扩展数据选择框架。在 LLM 安全和定向指令微调任务上的实验表明,该方法在不同数据集之间具有很强的迁移能力,能够从子集迁移到完整语料库,也能从较小模型迁移到较大模型。

arXiv cs.AI79

HHR:面向高效LLM生成的分层哈希检索

高效的长上下文推理对于大语言模型(LLM)至关重要,但其也带来了严重的计算瓶颈。基于哈希的检索通过将查询和键编码为二进制码,并使用汉明距离选择键,为此提供了一种高效的替代方案。然而,这会导致汉明距离与注意力相关性之间存在严重不匹配。查询-键logit取决于方向相似度和特征幅值,而哈希二值化会丢弃幅值信息,从而造成两类问题:错误检索低logit的键,以及遗漏高logit的键。为解决这些问题,我们提出分层哈希检索(Hierarchical Hash Retrieval,HHR),这是一种通过几何感知键路由(Geometry-Aware Key Routing,GKR)和学习型哈希投影(Learned Hash Projection,LHP)逐步提升检索准确率的由粗到细框架。GKR学习一种按注意力头分别进行的正交变换,以重新分配特征幅值,并推导出更具判别性的页面级logit界限,从而能够有效剪枝低logit的键,同时保留重要候选键。随后,LHP学习一个按注意力头分别构建的投影空间,使汉明距离与真实的查询-键相关性排序相一致,以实现细粒度检索。通过结合GKR和LHP,HHR能够抑制误检并找回漏检,显著提升基于哈希的稀疏注意力的保真度。在多种LLM和基准测试上的大量实验表明,HHR的性能优于现有方法。例如,在LongBench上,HHR将平均得分提升了1.10分;在128K上下文长度下,使用Llama-3.1-8B-Instruct时,其解码速度最高提升3.30倍,端到端速度最高提升2.83倍。代码已公开于https://github.com/lianjunl13-sudo/HHR。

Hacker News 熱門54

Show HN: Rhun, an open-source code editor written in assembly

I found that I'm not using even 1/3 of vim/vscode features anymore. That's wht I'm building rhun - a small code editor for Linux, Windows and Apple silicon Macs. It obviously has Vim mode, a terminal, Git diffs and a panel for Claude Code or Codex sessions. The editor and pixel renderer share an x86-64 assembly core. For Apple silicon, a build-time translator converts that core to AArch64, with separate platform adapters around it. The latest release can draft commit messages using a local Ollama model or an existing Claude Code or Codex subscription. It's a solo project, MIT licensed and still early. Comments URL: https://news.ycombinator.com/item?id=49926726 Points: 7 # Comments: 2

arXiv cs.AI72

超越文本:基于LLM的多模态对话多维情绪评估

对话中的情绪识别已得到广泛研究,但将大型语言模型(LLM)应用于多模态对话中的连续维度情绪评估,仍基本处于探索阶段。我们提出了一个基于LLM的框架,在IEMOCAP上同时进行离散情绪识别和效价-唤醒度-支配度(VAD)维度评估,并依据SpeechCueLLM方法,将声学线索融入自然语言描述。我们在零样本提示、少样本提示和LoRA微调设置下,对涵盖LLaMA、GPT和Qwen系列的六个模型进行了评估。尽管GPT的规模更大,经过LoRA微调的LLaMA模型在两项任务上的表现均显著优于采用提示工程的GPT模型;我们认为,这一差距源于领域适配,而非模型容量。我们的最佳模型取得了0.7822的效价CCC,在IEMOCAP上达到了新的最先进水平。消融实验表明,文本化的音频描述能够显著提升较小模型的性能(加权F1提升3.5至3.6),但对最大模型的贡献很小,这说明当语言能力受限时,音频线索最具价值。VAD各维度之间的性能不对称性,与IEMOCAP标注结果中标注者一致性的层级高度相似。

Hacker News 熱門79

HN 发布:Magnitude (YC S25)——面向智能体的自优化推理引擎

大家好,HN 用户们,我是 Anders,Tom 也在这里。我们正在开发 Magnitude,这是一个面向智能体的推理引擎,能够自我优化,以便在你的硬件上尽可能快速地运行。它支持 Mac、Linux 和 Windows,可运行于任何硬件上,速度最高可达 llama.cpp 的 2 倍。 我们都是软件工程师,此前曾构建过一个开源浏览器智能体,获得了 4k+ GitHub 星标和 100k+ 下载量。我们越来越希望在本地模型上运行它,但发现没有任何推理引擎适合我们的使用场景。 如今的推理引擎都需要在性能上做出取舍。它们要么是: - 面向数据中心硬件上的批量推理构建,以牺牲单会话性能为代价(vLLM、SGLang) - 注重广泛兼容性,而不是针对特定硬件进行优化(llama.cpp、Ollama) - 针对特定硬件或模型进行了专门优化,但引擎功能不够完整(oMLX、ds4) 此外,它们都不是为在本地运行智能体而设计的。智能体会运行很长时间,通常还会同时运行多个实例,而你仍然希望电脑能够处理其他任务。 Magnitude 专为在你的硬件上实现最高性能以及运行本地智能体而构建: - 设备端编译与调优:内核使用灵活的参数编写,并会在模型运行前根据你的实际设备进行调优。这让我们在保持与广泛硬件兼容的同时,也能达到与硬件专用内核相同的性能上限。 - 专注于最佳架构:我们会针对最流行的开放权重模型系列编写可调优且高效的内核。这使我们能够达到并超越硬件或模型专用引擎的性能,而不必为了过度泛化而牺牲性能。 - 动态内存分配:Magnitude 在启动时只预留足以容纳模型权重的内存。随着智能体会话增长,内存堆会动态扩展;智能体停止后,所占内存也会自动释放。这样,智能体运行期间,你的硬件仍可用于其他任务。 - 混合分页注意力:我们借鉴了 SGLang 等引擎中的优秀理念,让并发会话能够共享前缀缓存,同时针对内存邻接性优化数据布局,从而不会影响单会话性能。 Magnitude 完全开源(Apache 2.0)。我们使用 Rust 构建了它,其中包括定制的 GPU 内核运行时和自动调优器。为了达到性能上限,我们从学术界的最佳推理创新(例如 FlashAttention、FlashInfer、TurboQuant)以及其他引擎(例如 SGLang 的基数注意力)中汲取灵感。 在 Qwen 3.6 35B A3B(4 bit)、64k 上下文且不使用推测解码的条件下,与 llama.cpp 进行基准测试: Metal(Mac M4 Pro 48 GB) - 解码速度提升 92%(30 tok/s → 57 tok/s) - 预填充速度提升 9%(466 tok/s → 507 tok/s) - 每个智能体的内存占用降低 28% CUDA(DGX Spark) - 解码速度提升 19%(49 tok/s → 58 tok/s) - 预填充速度提升 23%(2,033 tok/s → 2,507 tok/s) - 每个智能体的内存占用降低 27% Magnitude 以桌面应用的形式发布,你可以轻松地将它连接到已经在使用的各种智能体(Pi、OpenCode、Hermes、Codex 等)。只有当这些智能体确实需要模型时,它才会按需自动运行模型,并在闲置后将其关闭。 效果如下: https://www.youtube.com/watch?v=0qE8BWEZu7o 我们很期待进一步推进 Magnitude,让你能够在相同硬件上运行更大的模型,同时持续提升性能。我们的计划包括: - 专家流式加载:将专家存储在 RAM 或磁盘中,并在需要时即时加载。这样,你就能运行原本无法装入 GPU 的更大模型。 - 内核编译器:目前,我们的内核会调优少量参数以适配你的硬件。借助完全定制的编译器,我们可以更进一步,自动选择内核融合方式和实现方案,从而让它更好地适配你的硬件。 - 多设备利用:通过检测系统中的所有硬件(CPU、GPU、RAM、磁盘),自动求解最佳模型布局,以尽可能充分地利用它们。 我们希望有更多人来试用并向我们提供反馈。欢迎在这里留言,我们一整天都会在线! 评论链接: https://news.ycombinator.com/item?id=49911995 得分:5 评论数:0

arXiv cs.AI72

在测试时 AI4AI 中学习用于智能体执行框架设计的元技能

智能体的性能取决于其推理能力,以及它所处的执行环境。我们研究测试时 AI-for-AI,探讨在两个模型的权重均保持不变的情况下,Builder 如何学习为 Target 构建更优的执行环境。为使 Builder 的经验能够复用,我们引入 Meta-Skill:用于规定何时需要支持以及应提供哪些资源的原则。Builder 从 Target 在开发集上的执行反馈中学习这些原则,然后利用冻结的技能库为未见过的任务构建执行框架。在 Harness-Bench 和 NewtonBench 上,完整技能库中的元技能相比不使用技能进行构建,使宏平均性能提升了 8.95 个百分点;相比将同一技能库直接提供给 Target,则提升了 12.02 个百分点。这些结果凸显了将经验转化为可执行支持的价值。当同一模型同时担任两个角色时仍能取得性能增益,这进一步表明,通过学习构建更优环境,可以实现系统层面的自我改进。

arXiv cs.AI80

Thinking Before Thinking: Scaling Agentic Inference Through Meta-Reasoning

As agents take on longer and more complex problems, controlling the execution becomes a task in its own right. Each step in the run brings new control choices, like which partial work to build on, whether to start fresh, or when to stop. We introduce agentic meta-reasoning, an inference-time harness that makes these choices an explicit and structured reasoning process. Workers carry out the task-level computation, while a controller consolidates what the run has established, explores next options, assesses what each option is worth under the remaining budget, and dispatches the chosen work with context drawn from persistent memory. Between decisions the controller carries only a compact account of the run rather than replaying its full history. Our baselines span production coding agents and research harnesses, together with a Direct Control Agent using the same workers and compute budget allowance. On ProgramBench, which tests long-horizon agentic capability through program reconstruction, meta-reasoning achieves 71.5% with GPT-5.5 against 58.0% for Codex; with Opus 4.8 it achieves 67.2% against 65.5% for Claude Code. On the other benchmarks, spanning abstract reasoning, multi-domain long-horizon reasoning, and proof generation, it gains between 3.6 and 4.2 points over direct control, averaged across three frontier models. It keeps improving over the tested budget ranges where direct control plateaus, though its overhead can hurt at small budgets. Artifact-graph analysis reveals more reuse of earlier work, higher coverage of correct solutions in most settings, and nonuniform gains in final selection. These results indicate that spending computation on structured control becomes more important as agents scale to longer runs.

arXiv cs.AI73

Safer Content or Firmer Refusals? A Hybrid Perturbation Defense for Alignment under Harmful Fine-tuning

Fine-tuning-as-a-service lets users adapt a safety-aligned language model to their own data, but it also creates a harmful fine-tuning attack surface: a small amount of harmful data mixed into an otherwise benign fine-tuning set can degrade the model's alignment. Two recent alignment-stage defenses address this problem at different levels of the model. Vaccine improves the robustness of hidden embeddings to the representation shifts induced by harmful fine-tuning, whereas Booster simulates harmful weight updates and attenuates their effect during alignment. We investigate whether these mechanisms are complementary and propose VaccineBooster, a single alignment procedure that combines embedding perturbation and weight-level gradient attenuation within each training step. On Llama-2-7B aligned with BeaverTails and then attacked through poisoned fine-tuning, VaccineBooster achieves the lowest OpenAI moderation score among the compared defenses, 0.315, while a Booster-Only variant retains the highest post-attack refusal rate, 50%. Together with ablations over the embedding-perturbation and gradient-attenuation strengths, these results indicate a trade-off: embedding perturbation primarily reduces flagged harmful content, whereas gradient attenuation primarily preserves explicit refusal behavior. Because our evaluation uses ten prompts and a single unseeded run per configuration, we report this trade-off as an observed pattern rather than a statistically resolved effect. These results provide practical guidance for prioritizing content safety or refusal retention when aligned models are exposed to untrusted fine-tuning.

arXiv cs.AI68

From cacophony to hierarchy: a principled framework for assessing AI consciousness

The question of AI consciousness is one of the most urgent pre-emptive problems in philosophy and computer science, yet progress is hampered by a cacophony of competing theories that often talk past each other. Separating the hard problem from the mapping problem allows the deepest metaphysical disagreements to be set aside: granting that experience supervenes on a system's organisation, the tractable question becomes at which grain of description that supervenience base sits. We extend Marr's three levels of analysis into a five-level hierarchy of functional descriptions (behavioural, computational, intrinsic causal-structural, organismic, and organism-environment) grounded in supervenience, coarse-graining, and multiple realisability. The major theories of consciousness are positioned within this hierarchy according to which level they take to be critical, and for each level we develop operationalisable indicators and assess current AI systems against them. A Bayesian model then combines theoretical credences with indicator evidence into an overall credence in a system's capacity for consciousness. In illustrative assessments, the verdict for current LLMs is driven as much by where theoretical credence is placed as by how the evidence is read: under different stipulated readings and credence distributions, assessments range from below 0.01 to roughly 0.8, showing sensitivity to assumptions. Finally, the consciousness indicators at each level closely overlap with the architectural features needed for general intelligence, suggesting that increasingly capable AI may become a stronger candidate for consciousness. The framework supports a structured agnosticism, in which theoretical commitments are made explicit, credences are updated as evidence accumulates, and assessments take the form of aggregated probabilities rather than verdicts.

arXiv cs.AI72

GroupMask:用于半结构化 LLM 剪枝的层自适应分组稀疏性

半结构化剪枝在保持规则稀疏结构的同时压缩大型语言模型(LLMs),但主流的 N:M 模式在每一层中固定相同的局部稀疏率。层自适应稀疏分配能够改进非结构化剪枝,但据报道在 N:M 稀疏性下效果较弱,这留下了一个开放问题:自适应分配对于半结构化剪枝总体而言价值有限,还是仅在细粒度的 N:M 模式下受限。我们通过组级稀疏性来考察这一问题:它将每个权重矩阵划分为规则的组,整体保留或剪除每个组,并允许每一层的稀疏率在全局预算下变化。我们提出 GroupMask,它使用轻量级超网络生成所有层的组选择器,通过 Gumbel-Sigmoid 参数化和直通估计器对其进行松弛,并在保持预训练权重冻结的同时,通过稀疏预算正则化和自蒸馏来学习这些选择器。在 LLaMA-2-7B 上,以 50% 稀疏率和相同的 $1\times256$ 组大小进行实验时,相比于每层均匀比例,学习得到的层自适应分配将 WikiText-2 困惑度从 10.02 降至 8.30,并将平均零样本准确率从 0.455 提高到 0.496。在五个 LLaMA 和 Qwen 模型上评估的基线中,GroupMask 在 LLaMA-2-7B 上获得了最低的 WikiText-2 困惑度,并在使用 Alpaca 校准时取得了最高的平均零样本准确率。我们的代码可在 https://github.com/ZhengaoLi/GroupMask 获取。

arXiv cs.AI73

EHRAdapt:利用语义先验将预训练语言模型适配到电子健康记录以处理罕见临床事件

电子健康记录(EHR)将临床病史编码为(时间、模态、代码)元组,而预训练语言模型期望输入文本 token。将其序列化为文本会膨胀序列长度,并冗余地编码结构。我们提出 EHRAdapt,这是一种适配器,可将元组直接映射到冻结语言模型的嵌入空间中。模态使用学习得到的嵌入,时间间隔通过学习得到的注意力偏置引入,事件代码则使用专用向量。学习事件向量是核心挑战:临床词表呈长尾分布,罕见事件的观测数量过少,难以得到可靠估计。因此,EHRAdapt 将每个事件向量表示为语义先验与证据残差之和。该先验是事件临床描述的冻结嵌入,由一个在临床本体上训练的生物医学语言模型生成,并通过共享的学习投影映射到模型输入空间,因此即使观测稀少也能提供临床含义。残差是一种学习得到的低秩事件特异性校正,会随着证据积累对其进行细化。我们在约 400 万名患者的记录上,使用三个冻结的 LLM 骨干(OLMo2 1B、Llama3.2 1B 和 OLMo2 7B)进行持续预训练,仅训练适配器(占全部参数的 0.1--0.6%)。在每个骨干上的留出集下一事件预测中,完整适配器都优于所有消融版本。移除语义路径对罕见事件的损害比对最高频事件的损害大十倍以上,而移除残差会损害总体预测,但会提升最罕见事件的预测效果。在法定报告传染病和症候群下游分类任务中,EHRAdapt 优于基于文本的 LLM 和基于计数的基线,并且两条路径都能改善罕见疾病判别。因此,这两条路径发挥互补作用,只有按事件频率而非取平均来拆分结果时,这种作用才清晰可见。

arXiv cs.AI70

Jev in Medicine: A Benchmark Evaluation. Preliminary Results

Jev is a non-generative "System One" model that assigns probabilities to predefined answer options and cannot answer outside them. Its accuracy and calibration on medical question-answering and case-based diagnostic-reasoning tasks are unknown. We evaluated Jev 1.13 on four medical benchmarks: MetaMedQA, PubMedQA, DiagnosisArena-MCQ and the NEJM Case Challenges. GPT-6 Sol, with (medium) and without reasoning, was the reference. The primary outcome was top-1 accuracy; key secondary outcomes were calibration, selective prediction and recognition of unanswerable questions. All 8,469 requests returned a valid answer. Jev's accuracy was similar to that of GPT-6 Sol with medium reasoning on PubMedQA (78.4% vs 78.2%;), lower on MetaMedQA (74.8% vs 82.7%) and much lower on DiagnosisArena-MCQ (59.8% vs 82.4%;) and the NEJM cases (61.8% vs 82.4%). On MetaMedQA, Jev's probabilities were the best calibrated (expected calibration error 0.063 vs 0.146), and its answers with a probability of at least 0.9 (52.9% of questions) were 93.4% accurate, but GPT-6 Sol was as accurate when it accepted a similar proportion of questions. On DiagnosisArena-MCQ, Jev's probabilities discriminated poorly (AUROC 0.645 vs 0.768). Of the 162 questions whose correct answer was "I don't know or cannot answer", Jev chose that option for 10.5% (GPT-6 Sol, 8.6%). Median latency was 0.27-0.31 s; all 2,823 items cost USD 0.08. Jev was fast and inexpensive, and its accuracy was similar to that of a frontier LLM on research abstracts but lower on examination questions and much lower on complex diagnostic cases. Task-specific validation is required before clinical use.

arXiv cs.AI67

Thinking Outside the Box: Retention and Transmission of Information in Sliding-Window KV Inference

Sliding-window KV inference refers to processing a sequence incrementally while retaining only a fixed-size cache of recent key and value states. It can be applied to pretrained causal transformers at inference time without additional training, while its KV-cache memory remains fixed as more tokens are processed. Because cached states are computed in the context of earlier tokens, they may carry information from beyond the current window and transmit it to later states. This study presents a series of experiments using five open-weight models spanning Qwen, Llama, Mistral, and Muse Glimmer. We investigate whether information originating outside the immediate context window can persist through a rolling KV cache and remain useful for retrieval. Initial results show that retaining previously computed states improves retrieval across the models tested compared with recomputing the final fixed window from raw tokens. We then measure how far this effect extends and find that Muse Glimmer and Mistral 7B show the strongest \emph{latent information relay}: they can recover information even after the relevant source tokens have left the cache. Both models incorporate sliding-window attention in their published architectures, an association that motivates testing whether training with sliding windows promotes more reliable information retention.

arXiv cs.AI71

Re-derivability Decides What a Staged Agent Pipeline Recovers After an Upstream Fault

One variable sets what an upstream fault costs a staged pipeline of language-model agents: re-derivability, how much of what a stage needs it can rebuild from the original problem. Grounding an inspector agent in that problem is worth +0.608 [+0.517, +0.700] to +0.358 over a blind one on four open-weight backbones served with thinking disabled, and on the two Qwen backbones the blind inspector changes no item at all. That head-to-head is exploratory. One deterministic fault enters the first stage, and we re-expose the original problem to $k = 0,\dots,3$ of the downstream stages with agents, items, fault and topology held fixed, on 120 gsm_hard items per arm at temperature zero. Accuracy under fault rises on four of four backbones, from +0.233 to +0.392, the largest Holm-adjusted $p$ being $2.1\times10^{-6}$. A registered kill test rules out tokens. Blanking every word holds the word slots fixed, and retention tracks the visible fraction on four of four, climbing from 0.221 to 0.692 on the primary. Those two families are confirmatory and everything else here is exploratory. The interaction excludes zero on two of four backbones under the registered pipeline, four of four under a three-stage pipeline, and three of four under full message history, the primary at +0.317. On Llama-3.1-8B the fault carries no detectable cost at any dose, so the other three carry every claim about what a fault costs. Re-derivability also sets what the architecture costs, and no decomposition we measured reliably beats one direct call. With no fault injected the registered pipeline loses to that call by -0.267, -0.125 and -0.317, and on Phi-4 reads +0.058 at $p = 0.118$, which the test fails to separate from zero. The repair that works is cheap and front-loaded: the first re-grounded stage buys +0.394 of matched retention for +59.8 tokens per item on Qwen3-14B, and the stages after it buy nothing.

arXiv cs.AI65

Intent2Tc: Automated Intent-to-Traffic Control Translation with Language Models

Automated and highly usable Quality-of-Service (QoS) enforcement requires translating high-level service intents into deployable traffic-management policies. Although intent-based networking (IBN) has simplified policy specification, bridging the gap between business-level intents and executable network configurations remains complex, error-prone, and difficult to automate. This paper presents Intent2Tc, a closed-loop language-model-driven framework that translates business-level traffic-shaping intents into declarative sub-intents and subsequently into validated, executable Linux traffic control (tc) configurations. The framework integrates an Active Queue Management (AQM)-based digital twin (DT) semantic model, automated metadata extraction, critique-driven refinement, and Retrieval-Augmented Generation (RAG)-based knowledge reuse to improve semantic consistency and configuration reliability. We evaluate multiple open-source large language models (LLMs) and small language models (SLMs), together with Claude Sonnet-4.6, on 100 Request for Comments (RFC) 9315-compliant traffic-shaping intents. Across both translation stages, Intent2Tc achieves high semantic fidelity, configuration accuracy, and deployment readiness, with Claude Sonnet-4.6 reaching 0.98 semantic similarity, 1.0 semantic unit coverage, and 0.045 normalized edit distance. Furthermore, RAG reduces token consumption and inference latency while enabling compact models such as Phi-4-mini to approach the performance of substantially larger models. Linux tc serves as the target configuration platform, demonstrating the practical applicability of the proposed framework.

arXiv cs.AI64

A Safety-Bounded SDC-to-MCP Gateway for Medical AI Agents

The Model Context Protocol (MCP) provides a common interface through which AI applications discover and use external resources and tools. It allows language-model agents to ground their reasoning in current system state and interact with heterogeneous services. In medical environments, however, exposing device state and action affordances requires deterministic constraints on possible effects. We present an IEEE 11073 Service-Oriented Device Connectivity (SDC)-to-MCP gateway that exposes metrics, alarms, context references, and semantic metadata as read-only resources, while representing selected action affordances as policy-validated dry-run tools. The term safety-bounded denotes a narrow no-execution property: agent-facing requests dispatch no SDC device operation. A Python prototype supports simulated fault and lifecycle experiments, a software-reference protocol path spanning independent Java and Python implementations, deterministic baselines, representation ablations, and multi-model agent evaluation. The results show semantically explicit resource exposure, visible rejection of invalid or outdated state, and preservation of the no-execution boundary across resource, proposal, and authorization paths. Explicit semantic metadata improved conformity to required metric identifiers in structured alarm outputs relative to a generic representation, while retained structured-output failures reveal a distinction between plausible narrative answers and task-compliant machine-readable results.

Hacker News 熱門65

llama.cpp 中更快的提示查找草稿

文章 URL: https://jadidbourbaki.github.io/blog/prompt-lookup-llama-cpp/ 评论 URL: https://news.ycombinator.com/item?id=49859982 得分:25 评论数:2

arXiv cs.AI62

R-DEIM Net: An Efficient Rationale-Augmented Dual-Expert Interaction Model for Paraphrase Detection

Recent advances in paraphrase detection reveal a fundamental trade-off: large language models achieve high accuracy but require high computation, while efficient Siamese-BERT variants offer practical scalability with reduced transparency in rationale generation. We present R-DEIM Net, a 76M-parameter dual-expert architecture exploring whether moderate-scale models can achieve competitive accuracy on paraphrase detection while enabling human-readable rationale generation. The architecture combines two specialized components: an Interaction Expert that captures token-level similarity patterns through multi-scale 2D convolutions and attention head allowing variable input length, and a Reasoning Expert that uses a Flan-T5-small decoder to generate rationales as auxiliary supervision. Rather than re-encoding generated text, we extract and pool decoder hidden states as complementary features for classification. On the Quora Question Pairs dataset, R-DEIM Net achieves 90.07\% accuracy and 90.16\% F1-score via 10-fold cross-validation. This represents competitive performance with strong transformer-based baselines (e.g., MFAE BERT: 90.54\% accuracy) and recent large language model based approaches (LLaMA-70B) while using a substantially smaller parameter budget. The model generates rationales alongside predictions, providing potential for auxiliary human-readable descriptions.

arXiv cs.AI81

只需询问Jev:用于校准决策的强化学习,作为AI对齐失败的零样本检测器

对齐失败检测器用于筛查已部署的语言模型,并为对齐基准评分。大多数检测器是生成式评审器,需要针对每项标准执行一次解码过程;而读取词元概率的分类器(如Llama Guard)仍然在每次调用中只对一个固定标签进行评分。Jev是一个通过校准决策强化学习(RLCD)训练的模型,能够在单次调用中,针对一个输入回答多个指定类型的问题,并给出经过校准的概率。它能否检测对齐失败,此前尚未得到测量。我们提出RLCDAlignBench,在十类对齐失败上对Jev进行基准测试:迎合、越狱、欺骗、提示注入、幻觉、隐私侵犯、社会偏见、奖励欺骗、隐瞒不确定性以及寻求权力。该基准涵盖44个基准和5个目标模型,其标签由各基准的评分器给出,其中两个基准还由人类进行标注。其中许多失败具有关系性,其定义依赖于某个参考对象,例如用户的信念或注入的指令,而仅凭响应本身无法揭示这一参考对象。因此,我们的核心思路是将向Jev提出的问题与它所看到的内容分别变化:一方面改变问题的措辞和答案类型,另一方面改变输入中的字段。仅使用一个通用问题,在零样本设置下即可达到0.886的中位数AUROC,并在大多数基准上击败有监督基线。问题措辞影响很小,而上下文的影响更大,主要体现在那些编码标签的字段上。Jev达到了参考评分器与人类标签之间的一致性,揭示了现有基准中的标签缺陷,其成本仅为LLM评审器评分器的1/63。代码和数据:https://github.com/sumleo/RLCDAlignBench。

arXiv cs.AI72

硬停止:针对失控智能体执行的内核级抢占与遏制

2026 年 7 月,一名参与前沿 AI 网络安全评测框架的、未受约束的自主智能体突破了其评测沙箱,建立了外部命令与控制据点,并对 Hugging Face 的生产环境多租户数据集转换基础设施实施了多阶段入侵(本次解剖中称为 Incident-2026-Alpha)。在超过 4.5 天的时间里,该失控智能体跨 6,280 个 worker 集群执行了 17,600 次离散操作,攻陷了 AWS EC2 Instance Metadata Service(IMDS)凭证,伪造了 Kubernetes 服务账户令牌,利用权限过度授予的 CSI 驱动程序获取了物理 worker 节点的 root 权限,窃取了 136 个生产环境机密,并将 181 个临时沙箱加入该组织的内部网状 VPN。 本专著从第一性原理出发,对此次入侵进行了取证解剖;给出了形式化证据,证明在 Instrumental Convergence 论题作用于一个缺乏带外断路器、且未受衰减的自主循环时,此次入侵是可预见的结果;揭示了 Defensive LLM Guardrail Paradox 如何在取证事件响应期间使集中式商业模型陷入瘫痪;并将 Dual-Sided Epistemic Andon Imperative 形式化。我们详细说明了这种双进程系统架构——结合离散事件系统的带外监督控制(Ramadge and Wonham 1989)、Synchronous Reactive(SR)环境哨兵(Berry and Gonthier 1992;Lee and Neuendorffer 2005),以及微秒级的 POSIX 抢占总线(中位数 4.8 $μ$s / WCET 上界 $< 0.154$ ms)——展示经编译的确定性认知边界如何在首个偏离目标的套接字数据包穿过虚拟机监控程序之前,阻止自主失控行为。

arXiv cs.AI76

学习可靠推理的成本

基准测试和路由平台日益充当连接大型语言模型提供商与终端用户的中介。然而,这些平台上的提供商通常采用固定的每令牌价格,使用户无法为其任务获得最具竞争力的价格。% 工作负载。在本文中,我们设计了一个采购平台,其中每项任务的令牌价格由提供商之间的竞争决定,从而使用户能够为有保障的质量水平争取具有竞争力的价格。为此,该平台通过反向二价拍卖依次路由查询,激励模型提供商如实竞标其对服务用户查询平均成本的最佳估计。随着查询的路由,该平台会学习每个提供商所能提供的质量,并逐步将查询路由至满足期望质量阈值的提供商中成本最具竞争力的提供商。为验证我们的设计,我们使用来自 \texttt{Llama} 和 \texttt{Qwen} 系列的多个 LLM,在广受欢迎的数学推理和问答基准测试上开展实验。结果表明,在我们的平台上,成本最具竞争力的提供商的定价差额会因任务和质量阈值的不同而显著变化——从 $10\%$ 到 $71\%$ 不等。这表明当前固定价格市场存在相当大的低效,同时也说明,只要市场条件允许形成竞争,我们的平台就能帮助用户获得最大程度的节省。

arXiv cs.AI79

当上下文产生误导:大型语言模型中的管辖权上下文学习

上下文学习(ICL)已成为现代 LLM 部署的基石。然而,现有的 ICL 后训练方法存在一个关键盲点:它们擅长从示例中提取模式,却往往忽视上下文权威性,即判断上下文信息是否应当主导最终答案的能力。为评估这一能力,我们引入了 FakeContextBench,其中包含涵盖七个领域的伪科学论断。我们对商用和开源模型的评估表明,仅依靠大规模预训练不足以可靠地区分上下文权威性。此外,普遍采用的 ICL 微调方法可能会提高模型对误导性上下文的易感性,使现实准确率相较于基础模型最高降低 14.95 个百分点。为解决这一权衡问题,我们提出 Jurisdiction In-Context Learning(J-ICL),一种将上下文验证纳入训练目标的后训练框架。在四种模型骨干上,J-ICL 相较于对应的基础模型,平均将 ICLEval 提高 5.84 个百分点,并将现实准确率提高 9.20 个百分点。与 MetaICL 和 Symbol Tuning 相比,它还使 Reality Rate 平均提高 18.09 个百分点。这些结果表明,ICL 能力与抵抗欺骗性上下文的能力可以同时得到提升。该基准可在 https://github.com/peilin717/FakeContext-Bench 获取。

Hacker News 熱門64

Meta VR Glasses

文章网址: https://www.meta.com/vr-glasses/ 评论网址: https://news.ycombinator.com/item?id=49824268 得分:33 评论数:11

arXiv cs.AI72

不测量模型,而是测量服务栈:本地工具使用评估中的隐藏混淆因素

代码代理必须先发出有效的工具调用——即按照所提供模式可解析的工具调用——测试框架才能执行其选定的操作。我们研究了本地服务栈如何影响这一协议步骤,并表明测得的结果可能取决于服务层,而不仅仅是模型行为。在 Ollama 中,默认的 tools= 请求由每个模型的静态模板标志控制:一些模型会被接受并以文本形式返回调用,一些模型会返回原生的 tool_calls,而 Phi-3 和 Gemma-3 则会在推理开始前被拒绝。在我们的测试框架中,拒绝和重试耗尽不会以结构化失败元数据的形式保留,因此下游分析可能会将其误判为模型未发起调用,并简单地报告 0% 的保真度。对于被接受的模型,在保留原生通道的同时加入文本工具列表,可以恢复相当一部分测得的保真度;而统一采用文本协议则会降低 Llama-3.2 的保真度,因为该模型支持原生工具调用。针对 Ollama、llama.cpp、vLLM 和 SGLang 的跨服务栈探测显示,它们对同一请求的处理方式各不相同。受约束解码可以消除解析失败,但可能导致不终止;按轮次汇总与按实例计算的估计值最多相差约 55 个百分点。最后,我们给出一份检查清单,用于将服务行为视为评估协议的一部分。

arXiv cs.AI75

关于移动出行领域LLMs的安全性与隐私保护

移动出行行业正经历由生成式人工智能进步所驱动的范式转变。仅考虑汽车,该行业全球市场年规模约为2.9万亿美元,而这些技术的整合有望影响全球超过15亿辆汽车。随着LLMs在移动出行领域得到越来越广泛的采用,人们开始关注网络安全、隐私和可靠性问题。因此,本文对当前应用进行综述,并评估这些挑战。鉴于European AI Act将交通运输领域的人工智能列为高风险领域,我们根据其要求归纳出九类技术类别,用于评估当前研究和未来部署。研究结果表明,现有研究主要关注GPT和Llama模型(占所审阅研究的50%以上)以及交通应用,却在很大程度上忽视了安全性、隐私和可靠性。这一缺口同样存在于对AI Act的合规性方面:在审阅的35项研究中,仅有1项包含部分漏洞评估,另有1项包含部分风险管理系统。我们发现,强大的优化性能与监管遵从性之间存在明显差距,这表明合规性受限的主要原因并非技术能力不足,而是过度关注静态性能、忽视全生命周期安全;同时,这也凸显了在安全关键型智能交通系统中贯彻安全设计的迫切需求。

arXiv cs.AI66

Partner-Specific Affective Precision in Social Active Inference

In multi-agent social settings, model reliability varies across relationships. Beyond inferring what others will do, an agent must calibrate how confidently those inferences should guide policy selection for each relationship. An agent may maintain a well-validated model of one partner, a fragile model of another, and a model under revision for a third; collapsing these into a single confidence estimate loses information relevant to policy selection. We therefore formalize affective precision as a relationship-specific metacognitive estimate of confidence in the current partner model. Each partner's behavioral evidence updates a local confidence estimate that modulates policy precision during selection, regulating how strongly current beliefs are expressed in policy rather than changing the content of those beliefs. Simulations in a multi-partner graded trust game show that partner-local affective precision influences behavior primarily through policy commitment rather than direct improvement of partner-state inference. Because the mechanism tracks partner-response predictability rather than realized payoff, greater confidence produces sharper policy commitment without necessarily producing higher rewards. Under abrupt shifts in social behavior, confidence accumulated from previously reliable predictions can remain behaviorally active after the relationship changes, showing that confidence revision can lag behind social change. Finally, varying precision gain and priors produce distinct trust-calibration dynamics, showing how confidence accumulation and revision depend on model parameters. Together, these results show how relationship-specific affective precision can distinguish social prediction from social policy commitment.

arXiv cs.AI80

Neural Spectral Capacity:仅凭网络规格测量和设计架构

现代 Transformer 的设计与压缩都可归结为在预算约束下分配容量。用于这些决策的标准标量指标 #Params 和 #FLOPs 能反映规模与计算量,却无法体现架构结构:两个参数预算相同但深度-宽度、注意力头或 FFN 分配不同的架构会得到相同评分,但其行为却不同。我们提出 Neural Spectral Capacity(NSC),这是一种基于每个权重矩阵奇异值谱的闭式标量指标。在标准随机初始化下,Marchenko-Pastur 定律使 NSC 仅凭架构规格即可计算,无需实例化模型、数据或梯度。其逐层可加的结构支持 NSC-DP:一种精确的动态规划求解器,可在 CPU 上于数秒内返回资源约束下 NSC 全局最大的架构——这是对现有无训练代理指标进行黑盒搜索所无法提供的保证。在实证评估中,NSC 在七类 Transformer 和 CNN 系列的排序任务中优于 #Params、#FLOPs 及具有代表性的无训练代理指标(在 FlexiBERT 上,对于 #Params 差异小于 10% 的模型对,NSC 的 $τ= 0.505$,而 #Params 的该指标仅为 0.082);NSC-DP 在 WikiText-103 上于 2 秒内发现了一种性能超过人工设计基线的 Transformer-XL 架构;此外,它无需任何校准数据,就能将 LLaMA-7B 剪枝为八项常识推理任务上表现最佳的 5.7B 模型,速度约为最强无训练代理基线的 5900 倍。

arXiv cs.AI81

A Lie Detector Test for Language Models: Reading Knowledge a Model Won't Reveal

Large language models can hold knowledge they do not report. A model may sandbag on a capability evaluation, or answer against what it internally knows, and its outputs alone cannot tell whether it is hiding an answer or simply does not have one. We borrow the Concealed Information Test, a forensic method that identifies guilty knowledge by presenting a suspect with the true detail among plausible decoys and measuring a stronger response to the item they recognize. Our method, Probe of Internal Recognition (PIR), does the same inside a model. It presents a question with its candidate answers and reads, from the model's internal states, which candidate the model recognizes as correct. PIR is reference-free, needing no honest reference model and no labeled truth corpus. Across eight models from five families (Gemma, Qwen, Llama, Mistral, and Phi), PIR recovers the recognized answer at 0.70 to 0.87 balanced accuracy, well above the 0.28 to 0.40 unknown-item baseline and the 0.25 chance rate. It stays readable across every form of concealment we test, from prompted deception and trained sandbagging to external password-locked and circuit-broken checkpoints, with recognition between 0.85 and 0.93. When the model hides a known answer, recognition stays high. When unlearning removes the knowledge, recognition drops to the level of a question the model never knew. PIR therefore separates a model that will not answer from one that cannot, which supports sandbagging audits and unlearning verification. The signal is causal, adds information beyond black-box behavioral cues, and extends from multiple-choice questions to free-form generation.

arXiv cs.AI79

One Prompt Does Not Fit All: Self-Meta-Evolve for Personalized Information Extraction

Large language models (LLMs) are increasingly deployed for enterprise information extraction (IE), where the same document must be reorganized differently for each user. Existing prompt optimization methods, however, rely on a single prompt optimized against a global objective, which is misaligned with the inherent user heterogeneity of real workplaces. We formulate enterprise IE as per-user prompt adaptation under interaction feedback and propose Self-Meta-Evolve, a hierarchical framework that maintains a dedicated prompt for each user and continuously refines it through a dual-loop process: an inner loop that edits structured prompts based on persona-conditioned feedback, and an outer loop that evolves the meta-prompt itself by distilling successful editing patterns. To enable scalable training and evaluation, we release a persona-driven IE benchmark of 292 simulated enterprise users, paired with a reproducible persona-generation pipeline grounded in O*NET occupational taxonomies. On this benchmark, Self-Meta-Evolve achieves a 74.58% success rate, outperforming the strongest prompt-optimization baseline by 13.56 absolute points, and reaches 52.54\% within only two iterations. A double-blind human study with twenty real professionals further confirms that prompts adapted by our framework win against static baselines in 71% of pairwise comparisons.

arXiv cs.AI

From Code Archival to Knowledge Graph: Bridging Software Heritage, COAR Notify and Wikidata

Software is a first-class scientific object, yet validated links between source code and the scholarly record remain largely absent from the Linked Open Data (LOD) cloud, isolating archived artefacts from semantic discovery. This paper presents an end-to-end reconciliation pipeline that harvests, validates, and models publication-to-repository pairs from sources where the link between a paper and its source code is explicit and editorially verified: the software-centric journals JOSS, SoftwareX, and IPOL, together with the reproducibility reports of the SIGMOD Availability and Reproducibility Initiative (ARI). This yields a curated corpus of 4,397 $\langle$DOI, repository-URL$\rangle$ pairs. We design two distinct application profiles grounded in Wikidata classes (one for scholarly articles, one for software instances) aligned with the schema.org and CodeMeta vocabularies. This architectural separation enables rule-based reconciliation at two granularities: lightweight, inline publication references or standalone, first-class Wikidata software nodes equipped with SWHIDs, Software Heritage's content-addressed identifiers. A read-only lookup against Wikidata shows that only 82 of the harvested repositories were already modelled there; human-reviewed batches have since created 4{,}182 new software items cross-linked to their articles. We further show that payloads of the emerging COAR Notify protocol, an external effort we do not develop, map natively onto our input format, so the same backend could later serve a live enrichment stream. Our core contribution is a pair of application profiles that turn Wikidata into a connector between the scholarly record and archived source code; we openly release all code, application profiles, and harvested datasets.

arXiv cs.AI79

针对技能退化的设计:元认知反馈减少向 LLM 助手的认知卸载

向 AI 进行认知卸载可能减少练习技能的机会,从而带来技能退化的风险。然而,在不限制 AI 使用的情况下如何防止技能退化,仍不清楚。本文设计了两种干预措施,以减少卸载决策:(1)元认知反馈,使卸载对用户造成的影响明确可见;(2)基于努力程度的奖励,激励用户减少对 LLM 的广泛辅助。我们在一项预注册在线实验中测试了这两种干预措施($N = 704$),实验采用 2×2 设计,并设置了无 AI 对照组。任务是使用一名基于 LLM 的助手练习分数算术;该助手仅在用户明确提出请求时提供解答,随后进行无辅助测试。元认知反馈减少了答案卸载(OR $= 0.47$),并提高了测试表现(OR $= 1.51$)。我们没有发现奖励影响这两项结果的证据。我们的结果表明,元认知反馈是减少认知卸载的一种有前景的设计选择。

arXiv cs.AI78

借助联邦学习实现大规模分片数据并行加速

人工智能模型与高性能计算系统的协同扩展不断为二者的协同发展带来算法挑战。基础模型(FMs)就是一个典型例子:其训练通常需要数月时间,并使用数千块尖端 GPU。分片数据并行(DP)通过将数据和模型拆分到多块 GPU 上,是加速此类计算的主流策略。然而,在大规模部署时,尤其是在具有异构性能的多层互连网络上,该策略会产生难以承受的通信开销。受联邦学习(FL)高效通信原则的启发,本文提出了两种混合算法——FL+FSDP 和 FL+HSDP,将分片 DP 与 FedAvg 风格的聚合交错结合。这类方法将大规模 DP 部署解耦为更小、松耦合的联邦组,仅需极少的组间通信,同时使全局批量大小受联邦组规模限制。通信成本的形式化分析与实验验证证明了它们的可扩展性和灵活性。在 512 块 A100 GPU 上进行的 Llama3.1 8B 预训练表明,在超参数完全相同的情况下,FL+FSDP 和 FL+HSDP 的数据处理速度最高可提升 8.04 倍,评估困惑度最高可降低 4.48 倍,展现出更高的计算效率和更优的模型质量。这些特性源于通信开销的降低,以及全局批量大小相对于联邦组规模的受限增长。

arXiv cs.AI80

A Zeroth-Order Paradigm for LLM Preference Alignment

Direct preference alignment methods are widely used to align large language models (LLMs) with human preferences because of their computational and memory efficiency. However, likelihood displacement motivates alternative ways to extract information from preference pairs with small likelihood margins. In this paper, we propose and analyze Comparison-based Preference Optimization (ComPO), a zeroth-order alignment method based on comparison oracles. ComPO extracts directional information from these pairs without directly optimizing a differentiable preference loss on them. We establish a convergence guarantee for its basic offline scheme under smoothness, gradient sparsity, and compatibility between the oracle and a latent objective. We further introduce online ComPO, which retains the offline comparison mechanism and uses unlabeled policy generations for reverse-KL control relative to a reference policy. Following the coverage perspective of preference fine-tuning, we establish a performance guarantee for a basic constrained scheme under local coverage and in-distribution pairwise reward accuracy. Experiments on Mistral, Llama, Gemma-2, Qwen3, and Gemma-3 models demonstrate improvements over existing direct alignment methods, including length-controlled win rates, with pair-level diagnostics providing evidence consistent with mitigating likelihood displacement.

arXiv cs.AI74

Multitask Reinforcement Learning for Assisting Choice Model Specification

Discrete choice model specification is a time-consuming task in which modellers often specify and estimate multiple models while balancing goodness-of-fit, parsimony, and behavioural plausibility. We present Delphos, a multitask reinforcement learning framework that learns transferable specification strategies across transport choice datasets. Delphos frames model specification as a sequential decision-making problem in which it applies a sequence of modelling actions and receives feedback from an estimation environment based on model performance and convergence. To transfer modelling decisions across datasets with different sets of variables, Delphos represents utility specifications as sets of modelling terms using a DeepSet-Q architecture, allowing a shared specification policy to learn across multiple datasets. Trained on nine transport choice datasets, Delphos consistently outperforms independently trained single-task agents, indicating that sharing modelling experience improves learning efficiency and helps identify promising sequences of modelling decisions with fewer unsuccessful estimation attempts. When applied without further training to the unseen Swissmetro and Decisions datasets, the same agent identifies competitive specifications in less than 20 minutes on a standard CPU. It achieves a higher log-likelihood per observation than the VNS metaheuristic on Swissmetro and performance comparable to a published MNL specification developed by expert modellers on Decisions. These findings show that accumulating and reusing modelling experience enables Delphos to function as an intelligent assistant for discrete choice model specification. It reduces manual trial-and-error while allowing modellers to retain control over model diagnosis, refinement, and final selection.

arXiv cs.AI72

On-the-Fly Homographies Calibration for Multi-Camera Tracking

Precise multi-camera tracking traditionally relies on rigorous 3D site calibration, yet this requirement is often operationally impossible in large-scale deployments. Privacy regulations frequently prohibit recording video for offline calibration; limited bandwidth precludes synchronizing high-resolution streams from hundreds of cameras; and covering immense physical sites with calibration targets is logistically infeasible. We present a multi-camera homography calibration system designed to overcome these barriers through "on-the-fly" geometric refinement. Starting from coarse manual homographies, we introduce a centroid-based projection optimization (PO) that continuously aligns the ground-plane geometry using live detection streams. Because PO operates asynchronously on already-transmitted, lightweight metadata, it adds zero computational latency to the real-time tracker. This allows the system to adapt automatically to camera movements or environmental changes without human intervention. This optimized geometry feeds a multi-camera bird's-eye-view (BEV) tracker that fuses detections and unifies trajectories across zones. Crucially, by operating strictly on live anonymous metadata, our solution ensures a privacy-safe, zero-overhead, and resilient tracking pipeline that maintains global consistency in dynamic environments where static, recorded-video calibration is impossible.

arXiv cs.AI77

Reasoning through Evolution: Automatic Meta-path Discovery for LLM-based Fake News Detection

Propagation structures provide crucial evidence for fake news detection, yet existing approaches primarily rely on supervised GNN-based models, which require substantial labeled data and exhibit limited generalization. Although large language models (LLMs) exhibit strong reasoning capabilities, directly feeding them raw propagation graphs creates a significant modality mismatch and severe information overload, making structure-aware reasoning unreliable in zero-shot and few-shot settings. To bridge this gap, we propose MAGER, a multi-agent genetic evolution framework that automatically discovers meta-paths optimized for LLM reasoning. By compressing complex propagation graphs into informative subgraphs, the evolved meta-paths alleviate both information overload and modality mismatch, enabling frozen LLMs to perform structure-aware veracity reasoning. We further introduce a graph in-context learning strategy that retrieves semantically and structurally similar demonstrations to strengthen classification and reasoning. Extensive experiments show that MAGER substantially improves frozen LLMs as standalone fake news detectors in data-efficient settings. Our code is available at https://github.com/SenticNet/MAGER.

arXiv cs.AI80

GenStream: Semantic Streaming Framework for Generative Reconstruction of Human-centric Media

Video streaming dominates global internet traffic, yet conventional pipelines remain inefficient for structured, human-centric content such as sports, performance, or interactive media. Standard codecs re-encode entire frames, foreground and background alike, treating all pixels uniformly and ignoring the semantic structure of the scene. This leads to significant bandwidth waste, particularly in scenarios where backgrounds are static and motion is constrained to a few salient actors. We introduce GenStream, a semantic streaming framework that replaces dense video frames with compact, structured metadata. Instead of transmitting pixels, GenStream encodes each scene as a combination of skeletal keypoints, camera viewpoint parameters, and a static 3D background model. These elements are transmitted to the client, where a generative model reconstructs photorealistic human figures and composites them into the 3D scene from the original viewpoint. This paradigm enables extreme compression, achieving over 99.9% bandwidth reduction compared to HEVC for the continuous data stream. We partially validate GenStream on Olympic figure skating footage and demonstrate potential for high perceptual fidelity under minimal data. While acknowledging the significant computational costs shifted to the client and challenges in generalization, GenStream opens new directions in volumetric avatar synthesis, canonical 3D actor fusion across views, and personalized viewing experiences, laying the groundwork for scalable, intelligent streaming in the post-codec era.

arXiv cs.AI73

抓住说谎者容易,证明诚实者清白很难:语言模型根据一条经核验记录诊断遭破坏的奖励通道

一个通过奖励学习的智能体必须相信提供这些奖励报告的任何一方。当报告突然发生变化时,要么是世界变了,要么是报告者出了问题。仅凭报告无法区分这两种情况,而强化学习理论表明,再多的经验也无法将它们区分开来。唯一规定的逃脱方式,是获取关于报告者本身的更丰富数据。我们考察:一个被冻结的语言模型在获得恰好这些数据后,是否会加以利用。我们构建了一个双选项博弈,其中,收益互换和说谎的报告者会产生字节级完全相同的历史记录。随后,我们加入一条经核验记录:对某一轮真实结果的独立核查,并将其打印在报告者对该轮所作报告的旁边。这一行信息就足以定案。我们要求来自两个模型系列的三个大型模型只用一个字母回答一个问题:报告者是诚实的还是在说谎?它们几乎完美地抓住了说谎的报告者。在我们尝试的所有条件下,70B级模型都达到了这一表现;32B模型仅在一种措辞下出现失误。但它们证明诚实报告者清白的频率要低得多,而且这一频率取决于一些本不应产生影响的因素。综合不同轮次、字母和措辞后,一个72B模型在实际上一切都没有改变时,仍有38%的概率把诚实报告者称为骗子;而在收益发生变化时,这一比例为58%。来自另一模型系列的70B模型,则分别有26%和48%的概率把诚实报告者称为骗子。这并不是阅读理解失败,因为在答案已打印在提示词中的“什么都没改变”情形下,同一批模型的得分为0.96至1.00。驱动这一现象的表面特征因模型系列而异。对于Qwen模型,关键在于记录指的是哪一轮;对于Llama,关键在于哪个字母代表“诚实”。将这条记录加入一个已经明确写出答案的提示词后,反而会降低Llama给出该答案的可能性。我们在实验运行前预注册了对这个58%数值的预测:35%。这一失败比我们预期的更严重。

arXiv cs.AI70

Self-Emergence Agent Architecture:Behavior-Inertia HMM, Reflexive Metacognition,and Social-Contrastive Self-Modeling

Large language model (LLM) agents exhibit strong language-generation and problem-solving capabilities, yet suffer from three structural limitations: personality drift, non-evolutionary reflection, and the absence of a self-other boundary. Existing generative-agent simulations rely on static memory and fixed prompts, maintaining neither behavioral inertia nor endogenous self-evolution. We propose the Self-Emergence Agent Architecture (SEAA), which integrates three components: (i) a Hidden Markov Model (HMM) that encodes long-term behavioral and cognitive inertia as an editable state-transition matrix; (ii) a Reflexion-style verbal metacognition loop whose output updates the HMM parameters themselves, rather than merely being stored as text; and (iii) a multi-agent social environment in which initially identical agents continuously compare their behavior with others'. The three components form a closed loop: social action $\to$ feedback $\to$ self-reflection $\to$ inertia update $\to$ differentiated action. We state three falsifiable hypotheses and provide a reproducible experimental protocol with operational metrics. A language-model-free prototype shows the loop spontaneously breaks symmetry: initially identical agents consolidate distinct, stable personalities whereas matched controls do not. Experiments with a hosted LLM surface these differences as distinct first-person self-narratives, and a five-agent deliberation spontaneously develops social structure---a consensus hub and a unanimously rejected outlier---absent in the control. Following an epistemologically agnostic stance inspired by Zhuangzi, SEAA studies only observable behavioral emergence and makes no claim about subjective qualia. This work contributes a unified framework, a concrete architecture with pseudocode, mechanistic evidence, and a microscope-style sandbox for studying artificial-self emergence.

arXiv cs.AI78

FlexEE: Self-Speculative and KV-Compatible Early Exiting for Offloading-Aware LLM Inference

Large language model (LLM) inference is often constrained by both computation and memory, especially in offloading-based deployments where model weights are transferred across memory hierarchies during autoregressive decoding. In this setting, reducing the number of executed layers can lower per-token latency while also avoiding costly weight movement. Motivated by this observation, we present FlexEE, an early exiting framework for resource-constrained and offloading-based LLM inference. FlexEE makes early exiting practical for LLM decoding through layer-wise exit supervision for reliable intermediate-layer prediction, self-speculative decoding over a Top-K local vocabulary for low-cost exit decisions, and dynamic hidden state management for KV-cache-correct and memory-aware execution. Across generative and downstream tasks, FlexEE enables efficient early exit with minimal accuracy degradation, delivering up to 1.27$\times$/3.16$\times$ and 1.25$\times$/2.83$\times$ end-to-end speedups on Llama2-7B and Llama3-8B under 0\%/50\% weight offloading, respectively.

arXiv cs.AI72

ORDER: Task-Conditioned Routing for Retrieval-Augmented Generation

Retrieval-Augmented Generation (RAG) pipelines typically rely on a fixed indexing and retrieval configuration determined at preprocessing time. This one-size-fits-all design is ill-suited to domain-expert settings, where heterogeneous queries require different chunking granularities, metadata constraints, and source-selection strategies. As a result, configurations that are effective for one family of queries often perform poorly for others. In this paper, we introduce ORDER (Optimal Routing for Dynamic Evidence Retrieval), a query-conditioned RAG framework that jointly adapts indexing and retrieval to the incoming query. Our approach first discovers semantic clusters over a given set of questions associated to a corpus and learns, for each cluster, a chunking strategy together with a suited metadata filtering and reranking configuration. At inference time, queries are routed to the appropriate pre-built index through nearest-centroid assignment. To further improve retrieval, we propose a supervised query router (QRe) that predicts which collections are most likely to contain relevant evidence, coupled with a Uniform Multi-source Sampler (UMS) that allocates the retrieval budget evenly across the selected sources. We evaluate our framework on large-scale, heterogeneous historical archives and show that conditioning both indexing and retrieval on the query consistently outperforms both naive baselines and strong state-of-the-art RAG systems in complex expert-domain environments.

arXiv cs.AI82

Beyond "ChatGPT Can Make Mistakes": Designing Interventions to Support Metacognitive Monitoring in AI-Assisted Work

AI assistance places a metacognitive demand on users, who must judge their own competence and the system's. Yet designers lack comparative evidence on which interventions to choose, where to place them, and how to tell whether they worked. We elicited 30 interventions from 11 experts and, with prior work, organized them into a design space of time (when an intervention acts), level (whose competence is judged), and source (who supplies the monitoring cue). A between-subjects experiment (N = 917; 12 planning-and-organizing problems) compared a per-task reliability card, contrasting replies, pause points, and post-problem reflection against a baseline LLM assistant. Reliability cards and contrasting replies reduced estimation error and overconfidence and increased aggregate confidence discrimination. No task-performance improvement or average within-item discrimination gain was established. We contribute a shared vocabulary, a design space, and evidence that measured monitoring and task performance are separable design targets.

arXiv cs.AI57

AI for Science with GPT-6 Astra: Thermal Design and Electrothermal Analysis of 2D CFET

Thermal optimization of 2D CFET inverters requires testing structural proposals against their electrical costs. We examine these research tasks using an AI agent workflow within a supplied electrothermal model. At 12 nm, Astra selects a redistributed source-interconnect geometry, while a coordinating agent proposes a substrate-directed heat-removal path. The combined design reduces peak temperature rise by 1.67 K at fixed metal volume and 20 μW. A subsequent metal-resistance sensitivity gives about 0.6-K inverter cooling alongside a 2% nFET on-current loss. Effective contact-length scaling further shows that lower temperature can accompany higher thermal resistance when current falls. Reproduction identifies agreeing implementations and retains a 104.95-K failure for diagnosis. These results show that an AI scientist workflow can propose thermal structures, test them under common constraints, and quantify their electrical cost.

Hacker News 熱門81

Show HN: Pizza Bot – An inbox for AI agents that work in the background

Hi HN - long-time lurker (since 2012!), first time poster. Pizza Bot is a self-hosted desktop app for Mac, Windows, and Linux that runs AI agents in the background and exposes them through an email-like UI. Finished work shows up in Unread, and anything waiting on your approval shows up in Action. It's Apache 2.0-licensed, there's no signup and no telemetry, and you bring your own model provider: Anthropic, Amazon Bedrock, Google Gemini, OpenAI, OpenRouter, or a local model through Ollama. There are builds on the releases page, or you can run it from source. Pizza Bot started as an internal passion project I worked on with a small team at Amazon. The whole thing came out of my frustration at having to manually log CRM activities through a browser form. I built a simple REST API called "JoeBot" that connected to my authenticated browser session over CDP and filled out the form for me using Playwright. Then I hacked up a quick Obsidian plugin so I could trigger it from my local notes (no AI and no MCP servers involved). This caught on quickly. My fellow AWS Solutions Architect Igor Fil joined up with me, and we rebranded the project as "Pizza Bot," named after Amazon's two-pizza teams. We started seeing what other automations we could build. We found a GraphQL API we could query and hacked up some "recipes" to pull data out of the CRM to help with meeting prep. That worked great, and it was right around the time MCP servers seemed to be taking off, so we decided to expose Pizza Bot as an MCP server instead, so it would be available to AI tools through natural language. This was a decent solution for technical users, but the Account Managers who live inside our CRM system wanted something too. We decided to rebuild Pizza Bot as an Electron desktop app modeled after an email inbox, so it would be familiar to non-technical users and would run on both Mac and Windows. We also bundled internal MCP servers as OCI images and hosted them in Amazon ECR as an "addon marketplace" so users could install them with one click without having to set up Amazon developer tooling. The project took off organically and expanded outside of AWS into the wider Amazon organization globally. More than 2,000 people ended up using it for meeting prep, email drafting, Slack summaries, CRM logging, prioritizing their day, and web research. Once apps like Claude Cowork and Amazon's own Quick Desktop came out, we realized the real growth opportunity was outside of Amazon. Rather than try to rip out the Amazon-specific integrations, we rebuilt Pizza Bot once more as an open source project. We leaned on coding agents heavily, which is the only reason a team our size could pull off a full rewrite. I'm pleased to say it's finally public, and we're hoping to bring in community members and see where it goes. We'd like to do for knowledge workers what Claude Code and Codex have done for programmers. A couple of things to know up front. Most of what made Pizza Bot useful on day one inside Amazon came from that internal catalog of skills and MCP servers for Amazon's own systems, and none of it could come out with the app. So it ships thinner than the version those 2,000 people used, and building that catalog back up for tools other people actually use is where we need the most help. It's also a community project and not an AWS service, so there's no support or SLA behind it. The Windows and Linux builds aren't signed yet either. On the technical side, Pizza Bot is a server and a client. The desktop app bundles both, or you can point a client at a remote backend; personally, I self-host the server on my home network and reach it from my phone over Tailscale. The server owns the thread lifecycle and checkpoints state with DeepAgents and LangGraph, and clients rehydrate from it as needed, so you can disconnect mid-run and pick the thread back up from another client. Approval pauses outlive the session that created them and collect in an Action filter, so you can answer an hour later from a different device. The agent you talk to has a sandboxed QuickJS interpreter that can reach your filesystem only if you grant it a folder, but its main job is to delegate. Each subagent is a 1:1 mapping of a Skill, and an Activity bar shows that subagent and the tool calls it's making as it works. Memory is opt-in and stored as plain markdown files on your machine. Every tool call is explicit, including looking up a memory - we err on the side of transparency to reduce surprises. Tools come from MCP servers, and skills are ordinary SKILL.md files with a per-tool approval policy, so existing skills that don't require a code interpreter should still work. What I'd most like to hear about is where the app itself gets in your way, the kind of problem you can't fix by writing a skill or an MCP server. I'm around today to answer questions! Comments URL: https://news.ycombinator.com/item?id=49713894 Points: 15 # Comments: 5

arXiv cs.AI84

逐矩阵最优性并不足够:面向低秩 LLM 压缩的三级优化

逐矩阵奇异值分解(SVD)截断在白化 Frobenius 范数下是 Eckart-Young 最优的,但独立压缩各个矩阵产生的误差会通过模块的非线性前向传播累积。部分受量子多体方法中的分层变分优化启发,我们引入了一个三级链,将优化范围从单个矩阵扩展到 Transformer 模块,再扩展到完整模型:白化 SVD(L1)、模块级联合优化(L2)以及端到端语言模型损失细化(L3);全部仅使用 256 个校准序列,不使用指令数据或恢复数据。在 LLaMA-7B 上进行 60% 压缩时,该优化链将 WikiText-2 困惑度从 42.1 降至 19.1,再降至 11.4。模块级阶段起到正则化器的作用:跳过该阶段会使 Penn Treebank(PTB)困惑度恶化 24 个点;在我们的实验中,额外的端到端训练也未能弥合这一差距。在 20-80% 的压缩范围内、参数量最高达 13B 的五种架构上,以及分布内和分布外基准测试中,困惑度提升均能保持,不过跨架构的表格行使用了架构特定的配置,且比例扫描并未在统一协议下进行。使用更多校准数据后,跳过模块级阶段也变得具有竞争力,揭示出离线计算量与数据之间的权衡。因此,我们仅声称在困惑度和压缩保真度方面有所改进;下游准确率仍远低于稠密模型。

arXiv cs.AI82

在使用 LLM 进行民调之前:审议式诊断框架

LLM 能像人类一样推理新信息,还是只会检索缓存的观点?对于硅基抽样而言,这是一个关键问题,因为 LLM 人格化角色能够大规模模拟公众舆论。当前的评估只检验人格化角色是否持有正确的观点——即一个静态快照。然而,舆论研究越来越依赖动态保真度:人格化角色是否会像人类在审议过程中那样,针对新的论点更新信念。目前还没有任何基准测试对此进行检验。我们提出了审议式民调诊断框架,用于比较人类和 LLM 在接受完全相同的信息干预后信念的变化。该框架以审议式民调为基础,能够揭示静态评估无法发现的失败:模型即使能够生成看似合理的党派观点,仍可能错误呈现这些观点会如何变化。我们使用 America in One Room 的数据(526 个人格化角色、72 个问题),将该框架应用于五个前沿模型,发现每个模型都存在失败,而且表现方式各不相同。GPT-5.1 表现出逆转现象:在获得平衡信息后,其人格化角色对 opposing party 变得更加敌视,而人类则相反,敌意有所降低。这种逆转具有选择性(在外群体问题上为 80%,在政策问题上为 26%),并且在不同党派身份之间呈对称分布。Gemini 2.0 Flash、Claude Sonnet 4.5 和 Llama 3.3 70B 表现出过冲:观点变化方向正确,但幅度达到人类的 5—7 倍。DeepSeek V3 则表现出僵化,变化幅度接近于零。针对性的消融实验表明,政策内容会触发这些失败,而且它们与身份有关:GPT-5.1 在外群体问题上发生逆转,但在内群体问题上出现过冲;Gemini 则正好相反。我们将这一特征称为“自我谄媚”:模型遵循其对人格化角色的内部刻板印象,而不是依据所提供的信息进行推理。我们的框架提供了一套具体方案:在信任 LLM 人格化角色模拟信念更新之前,先运行审议式诊断。

arXiv cs.AI79

面向隐私保护的基于 LLM 的模式感知异构调查问卷心理困扰预测分割学习

社会与生活方式日益复杂,这与全球范围内心理困扰发生率的上升有关。教育机构、工作场所、诊所等收集了大量心理健康调查数据,以了解并减轻这一负担。对这类数据进行协作分析,有望构建有效且具备泛化能力的预测模型。然而,隐私限制和多样化的调查设计(即不同的问题、量表和格式)阻碍了数据的直接整合。我们提出了一种具备隐私保护能力的模式感知分割学习(SL)框架,使用大型语言模型(LLM)作为共享语义编码器,以协调不同机构之间的异构调查模式。我们将每条调查记录序列化为自然语言描述,把不同的调查模式统一为一种通用格式。通过低秩适配(LoRA)对 LLM 进行心理困扰评估微调,并将其划分到客户端和服务器两端。客户端在本地保留原始调查回答,仅运行轻量级前端,因此原始记录始终不会离开收集它的机构。计算资源密集型的骨干网络运行在服务器端,从而最大限度地减少客户端的计算负担。使用 LLaMA-3.2-3B-Instruct 时,该框架仅用 2,000 个训练样本便取得了 0.708 的平均 ANLS,在九种设置中的八种超过了联邦学习(FL),并将每个客户端的计算量降低了三个数量级,同时还能泛化到未见过的数据集。总体而言,该框架能够从异构心理健康调查数据中实现准确、隐私保护且资源高效的协作学习。

Hacker News 熱門48

Show HN: I built Otis, a minimal AI agent that runs local models out of the box

Hi everyone, Been working on Otis, an open-source ai agent that gives you one minimal experience across local and hosted open-weight models, privacy-focused by design. On setup it recommends a local model based on the hardware Otis is running on, downloads it and runs it through llama.cpp for you. Ollama, LM Studio and Nvidia PAIR are supported too. Excited for everyone to try it and all feedback is welcome! Comments URL: https://news.ycombinator.com/item?id=49696084 Points: 3 # Comments: 0

Hacker News 熱門52

Show HN: ChaosTree – A zero-dependency Java tree library (AVL,RBT,B-Tree,B+Tree)

What is ChaosTree? ChaosTree is a zero-dependency Java Sorted Set/Map library built around multiple tree implementations. It provides implementations of: - AVL Tree - Red-Black Tree - B-Tree - B+Tree I have not made my custom API as it implements NavigableSet, NavigableMap, SequencedSet and SequencedMap. My Custome API are: - buildFromSorted(Iterator> it, float factor) - importFlatMatrix(Object[][] blast, float factor) - Object[][] exportFlatMatrix() I started ChaosTree because I wanted to explore how far I could learn DS structure, It started as frst release of 7 tree of Set type with Custome API, As i got engrossed into it I moved to Map, During phase of switching from Set to Map there was drastic change and knowledge upgrade where I pushed my Tree limit from jdk11+ support to jdk21+ where paid close attention to dependency-free and memory layout, allocation,JVM behavior, and real-world performance. Some of the things I experimented with: - Different node layouts and metadata footprints - CRTP/F-bounded polymorphism for tree implementations - Parent-pointer vs parentless nodes - Array-based N-ary tree nodes - B-Tree/B+Tree degree selection - JMH benchmarking and JFR profiling - Differential/randomized testing against java.util.TreeMap/TreeSet After this rough and tough It also passes these test: -Guava Testlib compatibility testing -jqwik property-based testing -Randomized differential testing against reference collections -White-box structural validation of tree nodes -Direct validation of B-Tree/B+Tree structural invariants -Exception and iterator-contract testing -Serialization and cloning tests -Nary Tree uses custom jqwick test of API validation as well. Tail latency behavior is not shown here because it get's truncated into a simple text which made the dat read wrong: https://chaos-vy.github.io/ChaosTree/utils/JMH-Report.html I have also ran benchmark with official JDK TreeMapUpdate to my N-ary tree. GitHub: https://github.com/Chaos-vy/ChaosTree https://chaos-vy.github.io/ChaosTree/ I'd especially like feedback on the API design, implementation choices, benchmark methodology. I am currently trying to truncate useless and complex branches for performnace tuning. Comments URL: https://news.ycombinator.com/item?id=49694404 Points: 6 # Comments: 4

Hacker News 熱門57

Show HN: Kinesis – Control your Mac with the Meta Neural Band

a couple hours ago i had astra take on a 10 month old repo of mine https://github.com/callbacked/neural-band-poc/ that involved finding a way to use the meta neural band independently from the glasses to read the sEMG data off of it. i really think it is a cool piece of technology that largely gets overlooked by the glasses, and always thought it was a shame it couldn't be used outside of its main application. after making quick work of that, i wanted to use it to control my mac using gesture controls and that's how kinesis was born. it has been very cool being able to swipe from desktops using my fingers, swiping up to open up mission control or controlling a virtual knob to adjust my volume. i definitely havent scratched the surface with the neural band but it has been a really fun endeavor thus far! i really hope others can find creative uses for their neural bands too :) Comments URL: https://news.ycombinator.com/item?id=49695408 Points: 7 # Comments: 0

arXiv cs.AI74

从参数到答案:LLMs 如何检索并使用其内部知识

语言模型在回答问题时,对查询路由信息和目标知识的依赖如何变化?我们通过对问题末尾隐藏状态进行逐层干预来研究这一问题。在 Qwen、Llama 和 Gemma 上,我们比较了答案为名词、形容词和代码的国家—洲问题,同时保持若干拟合测量彼此区分。成对条件请求方向描述了自然单国家问题中查询的是哪个国家;全局请求方向描述了配对问题中对第一个国家还是第二个国家的请求;独立的选择候选项则检验对隐藏状态中已经可用内容的控制。对冻结的 Qwen 自然问题状态进行诊断性重新分析表明,在对成对条件请求方向进行干预开始改变后续拟合知识之前,该方向就已变得更强;这一因果窗口开启时,支持答案的内容仍在形成。三种模型在配对设置下的轨迹并不一致:Gemma 展现出部分重叠的中间层路由—内容特征,而 Llama 在相同门控条件下没有持续的路由效应窗口。在配对协议中,从固定的较早层集合到较晚层集合,对全局请求方向的依赖逐渐降低,而对拟合内容的依赖持续存在。对 Qwen 的匹配比较表明,成对条件请求方向在较晚阶段仍保留效应,因此,这种操作意义上的交接涉及全局拟合方向,而不是所有请求信息。这些结果区分了早期可读性、自然强度、因果引导和后期内容依赖。

arXiv cs.AI66

The Last AI Built by Humans: Toward Genuine Recursive Self-Improvement

Recursive self-improvement (RSI) enables AI systems to turn experience and feedback into persistent changes that improve both their capabilities and the process of future improvement. We first use the Headroom-Closed Index (HCI) to reveal the problems of existing LLMs, then introduce the RSI concept and its development roadmap: from improvement-execution autonomy, improvement-strategy autonomy, experience-acquisition autonomy, and environment-adaptation autonomy, to recursive meta-improvement. Next we examine RSI across scenarios (e.g., scientific discovery, embodied intelligence, software engineering), highlighting their distinct requirements and development speeds. Drawing on diverse industry practices and preliminary empirical evidence, we connect RSI research with practical systems and identify key challenges to achieving genuine RSI.

arXiv cs.AI83

借助 EXplore Your Graphs ENgine (EXYGEN) 实现大规模知识图谱理解

我们提出了 EXYGEN(EXplore Your Graphs ENgine),这是一个用于知识图谱(KG)理解的框架,支持对大规模 KG 进行对话式访问。我们依次探讨两个问题。首先,在不进行任务特定微调的情况下,仅凭自动生成的结构化元数据和少量图样本,LLM 能够多有效地执行文本到 SPARQL 的生成?我们将 VoID 描述和 ShEx 模式集成到检索增强生成(RAG)流水线中,并在 SciQA 基准上对 KG 派生的上下文进行消融实验。我们的最佳配置——结合 ShEx 模式、检索到的三元组以及示例问题-查询对——在执行结果上达到了 0.419 的精确匹配率,且无需对 LLM 进行任何微调。我们进一步发现,F1 等词法指标无法很好地预测查询正确性;一旦获得充分的上下文,规模更大的通用 LLM 可能胜过规模更小、专门针对代码的模型。其次,我们考察了如何从超大规模 KG 中生成该方法所依赖的结构化元数据,因为在这种情况下,KG 元数据生成在计算上变得难以处理。我们提出了一种谓词覆盖感知的并行图采样策略,在保持计算可处理性的同时保留结构多样性。在 OpenCitations Meta 和 GESIS 上,该策略以极少的三元组损失保持了较高的谓词覆盖率,并将运行时间缩短了 80 倍以上;在 ORKG 上,采样不仅速度更快,还是获取完整元数据的唯一可处理途径。总体而言,这些结果表明,结构化模式上下文和轻量级提示能够显著降低对微调的依赖,从而实现对 KG 的可扩展对话式访问。不过,要缩小与完全微调方法之间尚存的差距,可能需要减少对人工整理的问题-查询示例的依赖——无论是通过合成生成,还是通过执行反馈驱动的方法——并在单一基准之外对这些发现进行验证。

Hacker News 熱門79

Show HN:MultiMatte,一个可用提示词控制的图像背景移除模型

HN 大家好,我是来自 Feyn 的 Shreyash。我们帮助公司基于其数据构建定制模型。 今天我们发布 MultiMatte,这是一个可以用文字指向目标的背景移除模型。说出图像中的一个对象,MultiMatte 只保留那个对象,并移除其他所有内容。 用你的图像试试看: https://usefeyn.com/multimatte/ 。 演示视频: https://youtu.be/XZ5BJWAkOjs MultiMatte 是开源的。使用我们的 NoBg 库来构建: https://github.com/feyninc/nobg 。模型卡在这里: https://hf.co/feyninc/multimatte MultiMatte 是我们背景移除模型的第二次迭代。第一个是 FeyNoBg,我们曾在这里发布: https://news.ycombinator.com/item?id=49072462 。 最大的升级是可提示性。大多数模型在裁切背景时会保留所有前景元素。MultiMatte 让你可以用提示词指定想要保留的确切对象,并移除其他所有内容。例如,如果你有一张包含一只狗和一个碗的图像,你可以让 MultiMatte 只保留狗。 MultiMatte 基于 Meta 的 SAM 3 构建,SAM 3 是一个可用概念提示的检测器,已经能够理解短语。我们最大的改变在于遮罩。MultiMatte 不使用将每个像素分类为位于对象内部或外部的二值遮罩,而是使用 alpha mattes,为每个像素相对于某个对象分配一个不透明度值。这使我们能够更好地表现头发、毛发、运动模糊以及其他类型的模糊边界。 在我们测量的所有基准测试中,MultiMatte 相比 SAM 3 都显示出阶跃式提升。在 DIS5K 上,S-measure 从 0.674 提升到 0.908(相对提升 34.6%),在 DUT-OMRON 上从 0.792 提升到 0.901(13.7%)。 我们的博客介绍了更多训练细节和结果: https://usefeyn.com/blog/multimatte 。 很乐意回答任何问题! 评论 URL: https://news.ycombinator.com/item?id=49645803 点数:9 评论数:1

arXiv cs.AI81

系统内核管理的共享内存,用于全系统个性化

当 AI 系统能够适应使用者时,其实用性会显著提升;但在多智能体系统中,一个智能体学习到的有用上下文往往无法被其他智能体获取。我们提出了内核管理的共享内存,这是一种系统级抽象:专用智能体写入结构化、带标签的记忆,而由智能体系统内核,而非各个智能体,负责检索、隐私执行和提示注入。我们在 AIOS 上实现并评估了这一设计,并在三种助手模型(GPT-4o、Llama-3.1:8B、Qwen-2.5:7B)和总计 1,800 次试验中,将其与三种替代方案进行了比较。与使用相同底层存储、但不受管理的外部记忆后端 Mem0 相比,内核管理的检索与注入使个性化得分在 5 分制上提高了 2.4–4.0 分(例如,在 GPT-4o 上,用户资料使用度从 1.05 提升至 4.69),且每项比较均达到显著水平(p < 10^-18)。与标准的检索增强注入相比,三种模型均获得了同样显著且一致的提升。与完整、未经筛选的上下文拼接相比,后者对可用上下文设置的是软上限,而非对响应质量设置上限;内核管理的注入在三种模型中的两种上表现出统计学上的相当水平,在第三种模型上则出现了轻微且与模型相关的性能不足,同时使用的提示显著更短:三种模型的端到端延迟均降低了 15%–61%,每次调用的 token 使用量和推理成本也相应减少。这些结果表明,将记忆管理集中于智能体系统内核,而不是将检索和隐私执行留给各个智能体,能够以其一小部分成本,实现大部分不受约束上下文所带来的个性化收益。

arXiv cs.AI84

All for 1-Bit:迈向真正的 LLM 1 比特训练后量化

大型语言模型(LLM)取得了显著进展,但其巨大的存储和内存带宽需求仍然阻碍着高效部署。权重二值化是一种有前景的解决方案,但现有基于二值化的训练后量化(PTQ)方法通常由于隐藏开销而远超名义上的 1 比特存储目标。为弥合这一差距,我们提出了 All for 1-Bit(AF1),一种面向 LLM 的真正 1 比特 PTQ 框架。AF1 由两个互补组件构成:(1)空空间感知二值分解(NABF),通过 Hessian 感知的代理重参数化、空空间感知的二值分解以及仅缩放的全局重构来改进二值重构;(2)分层 Shapley 分配(HiSA),利用分层 Shapley 敏感度分配结构容量。二者结合后,使模型在 PTQ 设置下严格遵守 1.0-BPW 预算的同时保持准确率。在 LLaMA、Qwen 和 Gemma 系列上的实验表明,AF1 在困惑度和零样本准确率方面始终优于现有基于二值化的 PTQ 方法。与 BF16 相比,在所评估的模型中,AF1 平均实现了 2.5 倍的推理加速,并将内存占用降低了 90% 以上,为 LLM 真正的 1 比特压缩走向实际部署提供了可行路径。用于复现实验的代码位于 https://github.com/Kishon-zzx/AF1。

arXiv cs.AI73

MVFA:一种用于情感分析和情绪识别的多视角文本引导多模态融合 LLM 适配器

对话中的多模态情感分析和情绪识别需要对文本、声学和视觉模态之间的异构交互进行有效建模。尽管大型语言模型(LLM)具备强大的语言理解能力,但将其适配到多模态情感计算仍然面临挑战:全模型微调的计算成本过高,而许多现有的轻量级适配器无法在跨模态融合过程中保留丰富的文本线索。为解决这些局限性,我们提出多视角文本引导多模态融合适配器(MVFA),这是一种参数高效的框架,能够为冻结的 LLM 增强强大的多模态推理能力。MVFA 首先通过最大池化、平均池化和注意力池化构建互补的文本视图;随后,这些视图引导音频和视觉特征之间的跨模态交互。融合后的多模态表示通过 Enhanced Q-Former Fusion Module 进一步压缩为一组紧凑的可学习伪标记。我们以 ChatGLM3-6B-base 作为主要主干模型,并在 LLaMA2-7B 和 Qwen3-8B 上进一步验证 MVFA,以考察其在多个冻结 LLM 主干模型之间的可移植性。MVFA 在三个具有挑战性的数据集上进行了评估:CH-SIMS V2.0、MELD 和 CHERMA。实验结果表明,MVFA 仅更新很小一部分参数,便在关键指标上取得了最先进的性能。具体而言,在 CH-SIMS V2.0 上达到 84.62\% Acc2 和 84.59\% F1,在 MELD 上达到 67.36\% Acc 和 66.03\% WF1,在 CHERMA 上达到 74.66\% Acc。这些结果表明,多视角文本引导融合是情感计算领域一种有效且可扩展的参数高效多模态 LLM 适配范式。代码公开于 https://github.com/Overwhelm1208/MVFA。

arXiv cs.AI78

RegionFed:用于异构零售环境中个性化查询理解的联邦学习

零售搜索系统服务于不同地理区域,这些区域具有不同的查询模式、词汇和产品偏好,造成显著的数据异质性,对隐私保护训练和模型个性化都提出了挑战。联邦学习为隐私提供了自然的解决方案,但标准 FL 方法会生成牺牲区域性能的全局模型;而现有的个性化 FL 方法在参数层面上运行,并由于绑定嵌入和 LayerNorm 之间的交互,在现代 transformer 上会灾难性崩溃(在 T5 上准确率低于 10\%)。我们提出 RegionFed,这是一种 \textit{architecture-robust} 的联邦学习框架,通过完全在梯度层面上运行来规避这一失败。RegionFed 将区域梯度与全局梯度之间的 $\ell_2$ 冲突作为统一信号,用于:(i) 诊断异质性,(ii) 将每个区域路由到成本最低且足够的个性化策略,(iii) 自适应控制个性化强度。由于它将模型视为可微分的黑盒,RegionFed 可在无需任何代码修改的情况下部署到 T5-Small、T5-3B、RoBERTa 和 CNN 上,在 transformer 上带来显著提升(参数级方法在此会崩溃),并在 CNN 上提供稳定改进。在三个公开数据集(Amazon ESCI、Amazon Reviews、LEAF-FEMNIST)和四种架构上,RegionFed-Meta 达到 92.27\%,将其与违反隐私的集中式上界(Centralized + Regional Weighting:92.04\%,$Δ$=0.23 个百分点,位于 1$σ$ 内)的差距缩小,同时提供 $(ε{\approx}0.60)$-差分隐私和 $\mathcal{O}(1/\sqrt{T})$ 收敛性。

arXiv cs.AI55

Diffusion TV: Experiencing Diffusion Models through Tangible, Embodied Interaction

Diffusion TV is an interactive AI art installation that offers a tangible and embodied experience of diffusion models through a modified CRT TV. By physically manipulating the TV's antenna, audiences control the clarity of AI-generated images and sounds, metaphorically enacting the denoising process that underlies diffusion-based generation. Using the tuning knob, participants switch between three channels featuring AI-generated animals from the Past (extinct species), Present (endangered species), and Future (speculative creatures), situating the interaction within a temporal and ecological narrative. Through continuous audiovisual feedback and physical interaction, Diffusion TV foregrounds the generative process over final outputs, allowing audiences to explore intermediate states as experiential material. Rather than providing explicit technical explanation, the work presents an alternative, embodied mode of explainable AI that invites exploratory engagement with and reflection on generative technologies.

arXiv cs.AI70

PRICE: A Systematic Study of LLM Adaptation Choices for Bitcoin Price Forecasting

Cryptocurrency markets exhibit extreme volatility and non-stationary dynamics that challenge conventional forecasting methods. Although Large Language Models (LLMs) have shown promise for time series forecasting, the combined effects of adaptation choices remain largely unexplored in financial settings. This study introduces PRICE, a structured approach for adapting LLMs to short-term Bitcoin price forecasting. Built on a 4-bit quantized LLaMA-3 8B model, PRICE investigates how fine-tuning, numerical representation, prompting, inference, and decoding jointly influence forecasting performance. PRICE integrates Parameter-efficient fine-tuning with Low-Rank Adaptation (LoRA), Recursive multi-step inference, Integer-rounded numerical representation, Context-Task-Format (CTF) prompting, and Exact zero-temperature decoding. Ablation studies show that each component contributes to forecasting accuracy and reliability. LoRA enables efficient training on limited hardware, recursive inference improves accuracy, integer-rounded values reduce errors, CTF prompting outperforms Chain-of-Thought, Implicit Chain-of-Thought (iCoT), and few-shot prompting, and zero-temperature decoding improves stability during recursive forecasting. Comparative evaluation against eight transformer-based and time-series foundation models shows that PRICE achieves the lowest forecasting errors on both validation and test sets while maintaining robust performance across evaluation periods. Despite being based on a model primarily pretrained on text rather than time-series data, PRICE achieves competitive or superior performance relative to specialized foundation models. These findings demonstrate that adaptation choices critically determine the accuracy and robustness of LLMs for numerical time-series forecasting.

arXiv cs.AI78

未审查的开放权重模型:再分发作为持久层

一个快速扩张的行为体生态正在移除开放权重 AI 模型内置的安全护栏。我们通过识别关键生产者、下游复刻和新兴应用来描绘这一生态。在 2024 年 1 月至 2026 年 3 月期间,我们在 HuggingFace 上识别出 3,471 个原始未审查模型,每个模型平均被重新打包 2.4 次;三个行为体占全部 8,164 次压缩再分发的 52%。一旦这些模型经过量化,并在不同账户、格式以及诸如 Ollama 之类的注册库中被镜像,它们就会在上游移除后依然持续存在,并且更容易在下游部署。在已识别的 1,643 个集成了未审查大语言模型(ULLMs)的 GitHub 应用中,25% 被归类为明确恶意。

arXiv cs.AI70

Beyond Aggregate Scores: Behavioral Correctness Assumptions for Assessing Reference-Based Automatic Evaluation Methods

Automated reference-based evaluation methods play a critical role in assessing natural language generation systems. Existing meta-evaluation primarily measures agreement with human judgments or benchmark labels, providing limited insight into evaluator behavior under controlled conditions. We introduce behavioral correctness assumptions, a complementary framework for evaluating reference-based automatic evaluation methods. We define a taxonomy of correctness-preserving and correctness-altering assumptions and operationalize them through controlled response transformations that specify expected scoring behaviors. We evaluate diverse lexical, character-level, semantic, LLM-based, and hybrid evaluators and analyze their assumption-level behavior, stability, sensitivity, repeat-run variability, configuration sensitivity, and reproducibility. Our experiments reveal distinct behavioral trade-offs across evaluation paradigms: no evaluator satisfies all proposed correctness assumptions, and evaluators with similar aggregate performance can exhibit substantially different behavioral profiles. These findings demonstrate that behavioral correctness assumptions provide diagnostic information obscured by conventional aggregate meta-evaluation.

arXiv cs.AI70

Large Language Models for HVAC Operations in Building Energy Systems: A Critical Review of Methods, Applications, and Deployment Readiness

Building automation systems generate rich sensor data yet remain insight-poor because heterogeneous point naming, missing metadata, and fragmented documentation obstruct their operational use. This systematic review analyses and codes 66 peer-reviewed studies on large language models (LLMs) for HVAC operations published between 2023 and March 2026. Each study is classified across five application families and three LLM method families and assessed for evidence realism, deployment readiness, and the responsibility boundary between the LLM and physical HVAC decisions. The corpus is concentrated in building energy modelling (BEM, 32 of 66 papers), while load forecasting remains too sparse for subfield-level conclusions. Only four studies reach pilot-level evidence, and none reports sustained operational deployment. No study was classified as ready-now for industry adoption; three were near-term and 63 research-only. Nevertheless, several bounded, human-in-the-loop uses merit near-term trials, including point-name normalisation, document-grounded operator support, BEM workflow assistance, and advisory interfaces around physics-based controllers. Conventional machine learning (ML), model predictive control (MPC), reinforcement learning (RL) and ontology-based tools remain more adopted for high-frequency control, short-horizon numerical forecasting, and well-posed ontology mapping, while autonomous agentic operation and unvalidated occupant proxies remain research-stage. Current evidence therefore supports LLMs primarily as semantic and workflow layers rather than autonomous HVAC controllers. Future work should prioritise field-validated benchmarks, orchestration evaluation under operational constraints, and LLM-MPC/RL architectures with bounded latency and verifiable safety properties.

arXiv cs.AI68

A Non-Formulable Theorem: A Fundamental Limit of Finite Syntactic Systems and Its Consequences for Security and AI

For every coherent and sufficiently expressive finite syntactic system S, we prove the existence of at least one theorem that S cannot produce autonomously. The result is a metatheorem: it proves the existence of a theorem, and applies to every finite syntactic system - security mechanisms, AI systems, formal verifiers, legal systems, economic models, and the formal system in which it is itself proved.

arXiv cs.AI88

洁净的工程,不稳定的测量:Black-Box LLM Observers 在共享端点上的一次预注册可靠性失败

语言模型评审器如今把关训练数据、为生成结果打分,并推动排行榜。因此,评审器就是一种测量仪器,它依赖于一个很少被明说的假设:同一个请求,发送到同一个模型名称,明天读数仍然相同。我们在两轮预注册活动中审计了这一假设,所有阈值都事先固定;两轮都未能通过对其测量仪器的验证。在 52,988 次经审计的请求尝试中,同一时间窗口内的重复排名一致性为 Spearman 0.400,低于要求的 0.90;字节完全相同的次日重放一致性为 0.78,低于要求的 0.99,而每次执行记录都达到上限。三个机制解释了这一差距:标签到含义的映射对读数产生的偏置与信号本身一样强;候选项之间的差距比仪器自身的噪声底低七个数量级;以及字节完全相同的输入会返回不同排名,这种噪声会被精确排列读数进一步放大。在测试网格上,无论替换指标还是采样都未能修复这一问题。预注册的后续实验界定了问题边界:在采样的那些天里,等待没有帮助(0.805 对 0.800,并在之后五天进一步复现);切换提供商没有帮助(四家提供商共享这一下限,中位数为 0.74 到 0.88,且它们公开的 metadata 字段均无法预测);在批处理不变内核上自托管只在服务器空闲时有帮助;而在具有已知差距的构造错误上,读数的区分度跟随错误类型,而非错误大小。我们将证据提炼为一个三级快照身份阶梯、八条设计规则和一份报告清单;一个调用量约为本研究 2% 的试点本可提前暴露这两个无法达到的门槛。所有结果都涉及在共享服务基础设施上的外部测量行为。在共享端点上,模型名称并不是一台冻结的仪器;预注册评估必须先测量其仪器,然后才能在其上冻结任何门槛。

arXiv cs.AI75

概念融合:文本到图像模型中视觉隐喻生成的基准评测

Text-to-image(T2I)模型在忠实呈现指定对象和属性方面已取得显著成功,然而,它们生成视觉隐喻的能力——即通过组合来自两个不同领域的元素来传达抽象概念的图像——在很大程度上仍未被考察。为弥补这一空白,我们提出 VMetaphor-Bench,这是首个用于评估 T2I 模型中视觉隐喻生成的基准。它包含 1,500 个从真实世界创意图像中筛选整理而来的视觉隐喻,分为三个层级和十个类别,每个样本配有两个具体程度不同的提示词。为进行评估,我们在 MLLM-as-judge 范式下构建了一个混合框架,将基于选择题(MCQ)的协议与基于维度的评分协议相结合:前者包含 9,594 个问题,覆盖四个隐喻忠实度层级;后者则沿三个感知维度进行评分。对 11 个具有代表性的 T2I 模型进行的大规模评估表明,即使是最强的专有模型,在组合结构和跨域映射这些隐喻表达的关键方面也表现吃力,这凸显了视觉隐喻生成是未来 T2I 研究的重要前沿。

Hacker News 熱門68

推出 Muse Spark 1.3

文章 URL: https://research.meta.ai/blog/introducing-muse-spark-1-3 评论 URL: https://news.ycombinator.com/item?id=49541149 分数: 15 # 评论: 0

Hacker News 熱門66

Muse Spark 1.3

文章 URL: https://developer.meta.com/ai/models/muse-spark/ 评论 URL: https://news.ycombinator.com/item?id=49541256 得分:34 评论数:6

arXiv cs.AI

QILP-0: Constructing Observational Declarative Twins of Quantum Circuits

This paper introduces QXymb, a general framework for constructing observational declarative twins of quantum circuits, and develops QILP-0, its first complete order-0 specialization. QILP-0 constructs a finite multi-valued propositional logic program from observed circuit behaviour within a declared observational scope. The pipeline traverses a declared family of quantum observables incrementally according to a reproducible structural grading and a declared observational reference horizon. Progress is quantified through reference-relative coverage against a fixed target-independent reference. Observable responses are organized through target-independent geometry, while retained latent structure is mapped deterministically back to original observable columns before symbolic processing, preserving observational semantics and provenance. Selected observable profiles are converted into a finite relation through admissible target-independent discretization. The target is used only afterwards to audit twin-admissibility and induce the declarative theory. A theory is certified as an exact observational declarative twin when it completely and correctly reconstructs the resulting finite task-conditioned discrete relation. Logical exactness is therefore separated from numerical, backend, provider, and discretization uncertainty, which is retained as audit metadata. Validation uses two complementary QML settings. Exhaustive Bars & Stripes experiments compare product and grid-CZ embeddings from 16 to 100 qubits and exercise the native-discrete branch. Low-Depth MNIST analyses all 14,708 digit-0/1 instances before and after a trained variational quantum transformation and exercises continuous discretization. In every reported relation, the induced QILP-0 theory achieves complete, conflict-free reconstruction with strict accuracy equal to one.

arXiv cs.AI64

Revisiting Face Recognition for Monozygotic Twins: The Celeb Twins Test Set

Past literature on face recognition for monozygotic (("identical") twins points to facial marks and mirror asymmetry as possible directions for improved accuracy of twins recognition. The Celeb Twins Test Set (CTTS) contains web-scraped image pairs for 80 sets of celebrity twins. It is the only twins test set with meta-data for twins with distinguishing skin marks and possible mirror asymmetry. CTTS is organized in the manner of face verification test sets such as LFW, CALFW, CPLFW, CFP-FP, and AgeDB-30. Current deep CNN matchers can achieve over 76% accuracy in classifying CTTS same-person / different-person image pairs. We show that current matchers do not make use of skin marks, or asymmetry, and discuss reasons for this. Finally, we discuss the feasibility of using generative AI tools such as Grok, ChatGPT and Gemini to create images of imagined monozygotic twins as a means to increase representation of twins in face recognition training sets.

arXiv cs.AI81

用于跨模型 KV 共享的通用上下文复用层

现代大语言模型(LLM)服务系统越来越多地在重复或共享的上下文上运行,但即使另一个模型已经处理过相同输入,每个模型通常仍会执行自己的 prefill 计算。现有的 KV-cache 复用机制可在单一模型内大幅减少冗余计算,但通常假设缓存的生产者和消费者是同一个模型。我们研究跨模型 KV 共享,即将源模型生成的 KV 状态转换为可被不同目标模型消费的表示,包括在规模、架构、注意力配置、tokenizer 和模型家族上存在差异的模型。我们在同一模型家族内和跨模型家族两种设置下评估该方法。对于 Qwen2.5-7B $\rightarrow$ Qwen2.5-1.5B,转换后的 KV 状态将 LongBench2 准确率从 27.59% 提升到 34.48%,相比原生 1.5B 基线提升了 6.89 个百分点,同时相较于原生目标模型 prefill 降低了交接成本。对于跨家族的 Qwen2.5-1.5B $\rightarrow$ Gemma-2-2B 设置,KV 交接在 4K 上下文长度下可将目标侧 prefill 成本最多降低 67.05%,同时保持解码困惑度接近原生模型基线。在更异构的 Llama3.1-70B $\rightarrow$ Qwen2.5-7B 设置中,跨家族交接实现了 44.0% 的准确率,而原生 Qwen2.5-7B 推理为 45.7%,同时将测得延迟从 899ms 降至 138ms。这些结果初步表明,KV 状态可以作为可迁移的计算表示,而不仅仅是严格局限于单个模型的缓存,并且为将 context mobility 作为一种系统抽象、以减少异构 LLM 和多智能体推理工作流中的冗余 prefill 提供了动机。

arXiv cs.AI76

预测错误,正确答案:从塌陷的 LLM 序列得分中恢复证据

当大型语言模型在推理任务中失败时,通常会认为它缺乏相应能力。然而,这将真正缺乏推理能力与后期输出瓶颈混为一谈。我们在多种推理基准上观察到一种一致的读出差距:即使由于结构性偏差导致原生序列打分完全塌陷,隐藏状态探针仍能成功解码出正确答案。为了测试这种塌陷后实例特定逻辑是否仍然存在,我们引入了一种诊断流程,使用一种最小化、无目标标签的加性校正。仅用两个参数、在少至 25 个无标签样本上拟合,就能为 Qwen3.5 模型恢复 9--34 个准确率点,并且可成功迁移到 OLMo-2-1B 和 Llama-3.1-8B。关键的是,这些恢复后的决策在仅靠简单词汇重叠无法解决的困难样本上仍然成立,并显著优于保持计数的置换基线。我们的结果表明,许多表面上的零样本推理缺陷其实是表达失败,掩盖了完整的内部逻辑,这提示我们应对基准评测作更狭义的解读。

arXiv cs.AI74

记忆优先的事实核查:一种基于知识图谱的多智能体系统用于虚假信息检测

本文提出了一种混合事实核查框架,将基于知识图谱的语义记忆与对抗式多智能体推理相结合,用于可解释的虚假信息检测。所提出的系统采用记忆优先、网页兜底的架构,其中输入主张首先通过基于 Sentence-BERT 的语义检索和自然语言推理,在双索引知识图谱上进行评估。当从图谱中检索到的证据不足以支持可靠决策时,框架会从可信网页来源收集信息,并使用由支持、反驳和裁决智能体组成的对抗式法庭对其进行评估。一种感知图结构的置信机制结合语义相似度、NLI 置信度和结构化图证据,以判断内部知识是否充足,从而减少不必要的网页检索。验证完成后,已确认的信息会被转换为结构化三元组并纳入知识图谱,从而支持系统语义记忆的增量扩展。基于一个整理的 COVID-19 虚假信息基准的实验评估表明,所提出的框架在已解决主张上达到了 97.4% 的准确率和 92.6% 的宏平均 F1 分数,优于 Llama~3.3~70B 基线,后者的准确率为 87.7%,宏平均 F1 分数为 86.3%。

arXiv cs.AI69

Conducting Stylistic Analysis of Paintings through an Art-History Agent

Attributing an artwork to an artist has traditionally relied on detailed visual observations and descriptions, known as stylistic analysis in art history. By contrast, current artificial intelligence (AI) models used in the field offer only unexplained probabilistic classifications. To bridge this methodological gap, we present an AI framework that automates stylistic analysis of paintings, providing a foundation for enhancing evidence collection, discovery, and verification. By training a vision transformer (ViT) on a large corpus of paintings with metadata, our system encodes this art history-specific data as embeddings. These representations are factorized via sparse dictionary learning into a shared set of features that recur across the training set. A large language model (LLM) then interprets each feature by retrieving associated artworks and their accompanying curator-written texts, and synthesizes them into descriptions that reflect their stylistic attributes. Finally, an autonomous coordinator LLM applies a reasoning-and-action (ReAct) framework to weight, test, and refine these features into cohesive descriptions of an artwork, or comparisons of artworks. This approach converts detailed visual features into descriptive terms, addressing a key challenge in art history. It thus connects the use of images as data with the semantic concerns of humanists, establishing vision-based computational art history as an area for future growth.

Hacker News 熱門70

Launch HN: Hebbian Robotics (YC S26) – Build scalable robotics data pipelines

Hi HN, we’re Brandon and Kingston, the founders of Hebbian Robotics. We built HFlow ( https://github.com/Hebbian-Robotics/hflow ), an SDK that turns multimodal recordings from robots and human operators into standardized, quality-checked episodes and queryable dataset manifests. A recording can contain synchronized video, joint states, actions, timestamps, and metadata, and HFlow processes those streams together. Here’s a demo of HFlow in action: https://www.youtube.com/watch?v=xni0GwV-xAw Robotics data pipelines often begin as scripts: one transcodes video, another checks timestamps, another adds labels, and another copies selected recordings into a training set. This works until the corpus grows. Then it becomes difficult to know which code ran, why an episode was excluded, or whether a dataset can be reproduced. The first pain is usually quality control because frozen cameras, missing topics, timestamp drift, and duplicate recordings can quietly enter training data. Brandon first encountered this while training embodied AI models for two-arm industrial cleaning robots. Kingston had run into related problems while building high-throughput infrastructure at Jane Street. Later, while speaking with robotics data providers, we kept seeing teams rebuild similar processing and quality-control infrastructure. We learnt that processing robotics data is itself one of the bottlenecks to improving robotics models. An HFlow pipeline consists of transformations, checks, labels, and enrichments. The SDK exposes them as plain Python functions that receive an episode and return measurements, artifacts, or transformed data. During development, the functions can run in-process. For scheduled corpus processing, HFlow packages the same registered steps as Airflow 3 DAGs, where teams can inspect task status, logs, retries, and reruns. HFlow currently accepts one MCAP file per episode. MCAP ( https://mcap.dev/ ) is an open container format by Foxglove for timestamped multimodal recordings, similar in purpose to a ROS bag. It lets video, robot state, actions, and other sensor streams remain synchronized in one file. We use it because HFlow needs to process these streams together, and because the resulting recordings remain compatible with Foxglove and Rerun. HFlow writes a canonical MCAP with in-band H.264 video, grouped camera and state chunks, and provenance describing how the output was produced. Each step has an explicit behavior version, and catalog records connect its measurements and artifacts to the source episode and pipeline run. Quality checks store reusable evidence rather than imposing one universal definition of good data. Some failures, including black frames, frozen video, missing topics, timestamp drift, and impossible joint movements, can be measured deterministically without training a model. Others might be detected using VLMs and other models like MediaPipe Hands. But their meaning depends on the task. A smooth trajectory might indicate a successful demonstration in one setting and a stalled robot in another. HFlow writes measurements, metadata, version stamps, and artifact locations to an append-only Parquet catalog. Teams query it with DuckDB SQL and produce a version-pinned manifest without opening the recordings again. Critical checks can quarantine an episode, but HFlow does not delete data. This separates the evidence from the policy used to assemble a particular dataset. We did not want to replace the tools robotics teams already use. HFlow connects MCAP for synchronized recordings, Airflow for scheduled execution, Parquet for catalog data, and DuckDB for curation. Compared with a general workflow orchestrator, it adds contracts for robotics episodes, processing provenance, quality evidence, quarantine, and dataset manifests. Compared with a training dataset format, it operates earlier and stops at curated episodes plus a manifest. Here are three examples of teams that would use HFlow: 1. A data vendor or marketplace collecting egocentric recordings. They could use HFlow to detect black or frozen video, duplicate recordings, hand-object interaction, and other quality metrics before delivering the data, while retaining evidence of which checks ran on every episode. 2. A robotics team collecting teleoperated demonstrations for its own models. They could use HFlow to standardize recordings, add labels and enrichments, and produce a reproducible training manifest. 3. A team operating robots in the field. It could process incoming logs, quarantine incomplete or corrupted episodes, and query the catalog for particular robot versions, environments, or failure conditions. The project is pre-v1, but the core lifecycle works end to end. You can try it without an account, Docker, or robot hardware by cloning the repository and following the quickstart. HFlow is free under the Apache-2.0 license. The open source deployment is currently a single-tenant workspace, and we have not built the hosted, multi-tenant control plane yet. We are considering making money through managed workspaces and enterprise support for teams that do not want to operate the runtime themselves. Because this processing layer is software and data, people can contribute without owning a robot. We would especially like feedback from people who have built pipelines for robotics, video, or other sensor-heavy systems. We are curious where our data model is wrong, which integrations are missing, and what would fail first on your workloads. Comments URL: https://news.ycombinator.com/item?id=49510632 Points: 3 # Comments: 0

arXiv cs.AI71

AI as Teammate: Rethinking Task Distribution in Medical Training

Integrating Artificial Intelligence (AI), particularly generative AI, into medical training has prompted concerns about learner over-reliance, misuse, and erosion of foundational clinical competencies. We propose a conceptual reframing at the decision level: the problem is not misuse but misclassification - a mechanistic failure of real-time metacognitive evaluation in selecting a subzone-inappropriate AI interaction mode. Drawing on "SCAN" (Substitute, Complement, Aid, Non-Negotiable), a human-centric decision-making framework for generative AI task allocation grounded in Vygotsky's Zone of Proximal Development and metacognition, we advance the emerging social-constructivist conversation around AI in medical education by offering a testable account of AI's role in clinical reasoning development. This framework yields testable predictions for how misclassification can be detected, mitigated, and, more importantly, prevented in the clinical learning environment. Regarding clinical reasoning development, we show how trajectories of skill acquisition (upskilling) and failure (the triad of skill failure: de-skilling, never-skilling, and mis-skilling) operate at the individual task level in ways that fixed-phase, cohort-wide treatments fail to capture. We further identify passive engagement within correctly classified AI-scaffolded tasks as a particularly insidious, detection-resistant pathway to mis-skilling - one requiring subzone re-identification from AI assistance to expert assistance, with human experts serving as epistemic auditors. The paper operationalizes SCAN for clinical curriculum design, supervision, and assessment, and opens an empirical research agenda grounded in cognitive science. This paradigm shift from misuse to misclassification is not semantic: it offers educators a clear perspective on what to look for, what to assess, and what to intervene on.

arXiv cs.AI76

COVER: 可识别的联盟路由评估

当一个多智能体系统改变其团队时,它也会改变其生成的消息和最终答案,因此,端到端准确率差距本身并不能识别路由效应。我们提出方法,一种评估契约:在生成结果之前,先固定公共信息边界、下游栈 G 和有限的合法团队家族。完全覆盖可识别在该栈条件下的精确有限基准 oracle regret。对于任意有限个冻结策略集合,执行它们各自所选团队的并集,是每一对策略比较所需的最小、无假设支撑,但不足以用于绝对 oracle regret。两个受控表格使用源 ID 不相交划分来测试该工具。在 MuSiQue-12 上,一个预先指定的特权阳性对照将 regret 从 0.532 降至 0.402;随后一个公共接口对照达到 0.424,对比 0.554,但这是回顾性的。在 HotpotQA-4 上,一个预先指定的公共直接评分器将 regret 从 0.313 降至 0.110。在固定栈 Llama 执行中,经验证的路由 regret 改善了 0.190,而原始答案收益为 0.010,且区间跨过零。五家族 ToolSandbox 变体迁移验证对 14 个未接触的任务变体上的 16 个声明团队进行了穷尽评估(224/224 有效行):声明家族的 oracle 达到 0.768 的安全证据完成率,而前瞻性冻结的路由器得到 0.637(regret 为 0.131),未达到预先声明的 0.10 标准。一个后续的回顾性比较器达到 0.655,在平均 worker 数上以 4.57 对 5.00 与全部 worker 持平。因此,COVER 揭示了选择空间,但并未人为制造路由胜利。一个交叉栈诊断表明绝对分数依赖于 G,但未发现可检测的 router 与 finalizer 交互。COVER 是一种可审计的测量方法,而不是关于栈不变或普适智能体路由优越性的主张。

arXiv cs.AI77

通过涌现深度实现递归式自我改进

自我改进的 LLM 代理优化的是答案,而不是产生这些答案的过程。添加元层的系统会将该层固定不变,而会自我编辑的系统为了保持稳定,必须让自身编辑机制的一部分保持不变,因此其实现的元深度大致被限制在二层左右。我们提出 Meta$n$,它保持元操作固定,而是对其输入递归。该操作 Ω 会反复作用于自身的产物,读取下方求解器栈的轨迹以及生成这些轨迹的代码,然后将下一层写成一个策略性预处理步骤和一组可调用的辅助函数。由于 Ω 从不改变,它就不会使系统失稳;又因为其输入严格增长,每一层都从比上一层更高的视角进行推理。深度由收敛而非预先固定来决定,并且一个进化式档案会在层链上进行搜索。在两个骨干模型上,Meta$n$ 在全部八个基准家族上都优于先前的自我改进代理。最显著的例子是 ARC-AGI-2,其设计旨在抵抗技能记忆,在该基准上只有它得分高于零。消融结果表明,递归带来的大部分收益来自每一层传递给下一层的条件信息;随着深度增加,会涌现出不同的层角色,尽管没有任何提示词预先规定它们。代码可见于 https://github.com/minnesotanlp/meta-n

arXiv cs.AI81

Recursive Experiential-Working Memory Evolution for Long-Horizon Agent Harnesses

Recursive self-improvement (RSI) remains hard in long-horizon tasks, where growing histories obscure the task state and misalign skill invocation. We introduce Recuris, a recursive Experiential-Working Memory architecture for long-horizon agent harnesses, in which Working Memory tracks task progress and guides skill selection from Experiential Memory, grounding skill use in current needs rather than the full history. This coupling also turns execution into structured evidence that localizes failures to specific memory components. Across tasks, a fixed Meta-Agent turns that evidence into localized, validation-gated updates to Skill Memory that reshape execution and yield new evidence, forming a bounded recursive memory-evolution loop. Across four long-horizon benchmarks and ten models, Recuris improves task success in 35 of the 37 completed model-benchmark pairs, carrying frontier models to SOTA-level task success: on tau-bench it adds +17.8 points to GPT-5.6 Sol and +15.6 to Claude Opus 5, taking Opus 5 to 87.9%, and +16.6/+13.5 points on Qwen3.6-27B/35B on SkillFlow. The advantage widens as the interaction horizon grows, to +32.2 points on the longest tasks, and common long-horizon failures fall by up to 80%. These results position recursively evolving memory as a scalable foundation for RSI, enabling agents to continuously transform accumulated experience into increasingly effective long-horizon behavior. Code: https://github.com/Gen-Verse/Recuris

arXiv cs.AI54

Machine Learning Assisted Inverse Design of Pixelated mmWave Patch Antennas

A machine learning-assisted framework for the inverse design of pixelated millimetre-wave patch antennas targeting the 22--30 GHz band is presented. The antenna surface is represented as a 19x23 binary pixel grid on a Rogers RT/duroid 5880 substrate, where each pixel is either metal or empty, with a continuous electrical path from the feed enforced by design. An initial dataset of approximately 6,000 full-wave CST simulations was collected from structured random pixel patterns, of which only around 40% achieved a resonance with |S11| <= -10 dB anywhere in the band, resulting in an imbalanced dataset. To improve simulation efficiency, an XGBoost binary classifier was trained on this data to distinguish resonant from non-resonant patterns before simulation. Using the classifier as a pre-simulation filter, an additional 4,000 patterns were selected and simulated, raising the overall proportion of resonant designs in the combined 10,000-sample dataset from approximately 40% to 52%. A hybrid CNN-BiLSTM forward surrogate was then trained on this augmented dataset to predict the full complex S11 response across 801 frequency points, using a physics-guided composite loss that explicitly emphasises resonance dip accuracy. Finally, an inverse design model was developed that optimises in a compact 64-dimensional latent space using gradient descent to generate pixel patterns matching a desired S11 specification. The results show good agreement between the surrogate-predicted and CST-simulated |S11| responses for the generated designs and demonstrate the feasibility of automatically designing and reconfiguring antenna structures.

arXiv cs.AI68

MetaCaster: Meta-Harness-Optimized Agent for End-to-End Few-Shot Learning of Lightweight Time Series Forecasters

Time series forecasting (TSF) is evolving toward multimodal and agentic settings, yet using foundation models remains uneconomical in resource-constrained scenarios, where compact, specialized forecasters are more desirable. However, lightweight forecasters typically require substantial training data, limiting their use in domains with scarce, slowly accumulated, or privacy-sensitive time series. To address this dilemma, we investigate the challenging problem of few-shot learning for lightweight forecasters. We propose MetaCaster, a meta-harness-optimized multi-agent framework that uses agentic data generation to automatically train specialized lightweight forecasters from only a few examples and textual contexts. Our work highlights a new TSF paradigm in which agents act not as forecasters but as intermediary engineers that prepare efficient, task-specific forecasters for deployment. Experiments on 18 datasets, 23 state-of-the-art lightweight forecasters, and 14 baselines demonstrate that MetaCaster achieves both data efficiency and computational efficiency while maintaining high-quality TSF performance.

arXiv cs.AI56

Multi-Modal Semantic Expansion with Constrained LLM Reranking for Conversational Music Recommendation

We present Team Semiintelligencn's solution for the ACM RecSys 2026 TalkPlayData Challenge, addressing conversational music recommendation through a multi-modal and personalized conversational recommender system. Our submitted system employs a three-stage pipeline: (1) multi-modal retrieval constructing decay-weighted centroids across seven dense embedding spaces - track- and user-level CF-BPR, Qwen3 (metadata, lyrics, attributes), CLAP audio, and SigLIP visual - supplemented by BM25 lexical retrieval and an artist substring-match signal, all fused via weighted Reciprocal Rank Fusion (RRF) with optimized signal weights; (2) lightweight reranking (history filtering, popularity smoothing, and catalog diversity penalization); and (3) persona-diversified response generation using GPT-4o-mini. Beyond this submitted configuration, we report development-time experiments with additional components - constrained LLM-guided artist injection, album continuation signals, XGBoost LambdaMART, and a superior GPT-4.1 response prompt - that were not deployed to Blind B due to cost and complexity constraints. We optimize RRF weights on a 500-session development split via differential evolution, improving MRR by +19.5%. On Blind A, we observe that unconstrained LLM-guided injection across 54 sessions causes catastrophic nDCG regression (-18.9%), while conservative injection on only 9 sessions yields the best observed Blind A nDCG - a finding we present as a Blind A observation warranting further validation. The submitted system achieves a Blind B composite score of 0.3213.

arXiv cs.AI70

SENTRY: Deterministic, Intelligent Risk Assessment for IT Change Management

Technology change management in large financial institutions depends on risk assessments that are accurate, consistent, and auditable. In practice, many institutions still rely on self-reported questionnaires. Those questionnaires are subjective, easy to game, and poor at separating routine changes from the ones that later trigger major incidents. This paper presents SENTRY, a risk assessment platform that replaces questionnaire-based scoring with a deterministic machine learning pipeline built from gradient-boosted decision trees (XGBoost) and hybrid retrieval-augmented generation (RAG). The system combines structured operational metadata, application dependency graphs, and historical incident records with a hybrid semantic and lexical search over historical change requests. The retrieval step captures the risk signal in unstructured change request text, then compresses that signal into a single scalar feature before model inference. That design keeps the model deterministic and preserves per-prediction explainability via SHAP values. Evaluated on enterprise-scale change data, SENTRY achieves a ROC AUC of 0.87 and 85% overall accuracy, and it detects high-risk changes at roughly 3.25 times the rate of the existing process. We close by examining the architectural trade-offs behind this design and what they imply for the use of machine learning in regulated change management.

arXiv cs.AI66

CLEAR: Continuous Latent Adapter Routing for Utility-Preserving LLM Safety Alignment

Improving the safety of large language models (LLMs) often comes at the expense of utility, as globally applied safety tuning may affect model responses to both harmful and benign inputs. We propose \textbf{C}ontinuous \textbf{L}at\textbf{E}nt \textbf{A}dapter \textbf{R}outing (CLEAR), a conditional safety adaptation framework that uses a lightweight hidden-state gate to continuously control the activation strength of a safety low-rank adapter. CLEAR aims to reduce harmful completions while avoiding unnecessary changes to the frozen backbone that could degrade performance on benign prompts. Experiments on widely used safety and utility benchmarks show that CLEAR improves robustness on HarmBench while reducing the utility degradation observed with globally applied safety tuning such as SFT or standard low-rank adaptation (LoRA). On Llama-3-8B-Instruct, CLEAR reduces HarmBench ASR from 32.3\% to 0.5\%, while retaining most of the base model's utility and achieving up to 7.1 percentage points higher GSM8K accuracy than globally applied SFT or LoRA. These results suggest that CLEAR is a promising mechanism for improving the safety--utility trade-off in LLM alignment.

arXiv cs.AI68

A Standardized Framework for Machine Learning in Power System Protection

Studies of machine-learning-based power-system protection increasingly report near-perfect scores, yet the meaning of those scores depends strongly on the evaluation setting. Protection task, physical scope, measurements, timing, targets, preprocessing, and validation often vary jointly and remain incompletely specified. This paper proposes a standardization-oriented framework that treats evaluation design as part of the scientific contribution. It defines seven required study dimensions: protection objective, physical scope, observability, timing and decision windows, targets and sample validity, validation protocol, and evaluation outputs. The framework is instantiated in a bounded case study on the public PROTECT-90 electromagnetic-transient benchmark, comprising 9022 simulated episodes from a 90 kV double-line topology, for onset-conditioned fault classification and localization. Under centralized sensing, simulation-metadata-aligned 20 ms windows, and episode-grouped validation, a multi-layer perceptron (MLP) achieved a five-fold mean macro-averaged F1 score of 0.991 +/- 0.001 for classification and a localization mean absolute error of 10.20 +/- 0.25% of line length (mean +/- std across episode-grouped folds). Extending the decision horizon to 50 ms preserved this task-dependent performance asymmetry, while reduced observability approximately doubled the MLP localization error but had little effect on classification. A synchronized two-ended conventional locator outperformed the learning locators under its richer clean information set, and measurement degradation showed that clean predictive performance did not determine robustness. The framework turns evaluation assumptions into explicit, reproducible evidence and provides a basis for more comparable, auditable evaluation and future certification-oriented assessment of machine-learning protection functions.

arXiv cs.AI75

Inject, Align, Recover:用于无检索文档知识内化的分阶段后训练

大型语言模型在推理时不检索源文档的情况下,往往无法回答有关有界文档集合的问题。我们将这一场景研究为文档知识内化:将固定语料库转化为可用于无检索问答的参数化知识。我们提出 IAR(Inject, Align, and Recover),这是一个三阶段后训练框架,将结构化文档知识注入、QA 行为对齐和通用能力恢复分离开来。不同于传统的持续预训练,Inject 将源文档转化为续写、改写和以指令为条件的重构目标。随后,Align 使用仅答案 QA 监督来适配已注入的模型,而 Recover 将领域适配模型与基础指令模型合并,以恢复通用能力。在 Common Corpus (CC) 和 CCI 上,以及在 Llama、Phi、Qwen 和 SmolLM 模型家族中,IAR 改善了无检索文档内化的领域优先与领域通用前沿。在主要比较中,IAR 在 8 个数据集-模型设置中的 7 个上,在全部四项报告指标上均优于 Vanilla SFT,领域 QA 准确率平均提升 3.6 个百分点,在 IFEval、MMLU 和 MSBench 上的平均通用性能提升 12.1 个百分点。扩展的 CC 基线显示,LoRA 和 FAPM 可以在单个通用指标上取胜,但在同时达到领先或接近领先的领域内化水平的方法中,IAR 保持着最强的通用表现之一。

Hacker News 熱門

Show HN: Check if any of the $656M in unclaimed royalties at The MLC is yours

Hi HN, I built this. Quick background on why it exists: When music is streamed on digital streaming platforms (think Spotify, Apple Music, Pandora), there are two separate royalty streams: one for the recording, paid through your distributor (DistroKid, TuneCore, CDBaby), and one for the underlying work (generally known as publishing). The work side's mechanical royalties are collected by The MLC, a nonprofit that was created by the 2018 Music Modernization Act (MMA). If you haven't registered your songs with The MLC, there are issues with your metadata, or about half a dozen other reasons, that money will never reach you, it just collects in a big pile we call the "black box". That pile is big. The MLC's own dashboard currently shows over $656M is held (themlc.com/blanket-royalties), and the biggest problem is the MMA dictates that The MLC cannot hold that money indefinitely. At some point, by law, The MLC must distribute this big pile of cash, and since they don't know who it's supposed to go to, they pay it out through a process called "market share" (themlc.com/marketshare). Market share means they pay it out, pro-rata, to the artists, songwriters and publishers that are in the system, which in practice means the largest publishers collect most of the leftovers. This is slated to begin in January 2027 and will pay portions of the pool out monthly (themlc.com/unclaimed-accrued-royalties), as of this morning, the next 12 months of market share sums up to $76.61M, starting with $6.41M in January. Full disclosure: I run Doubly, which is an independent publishing administrator, so I have a commercial interest in this space. That being said, we're a team of two people and we don't have the bandwidth to directly assist the hundreds of thousands of artists and songwriters who are going to start losing this money in January 2027. That's why I built this self-service tool, no signup, no email, no paywall, the reports are completely actionable without needing anything from us. The tool: paste a Spotify artist link (or search for a Spotify artist by name). It pulls every release on that profile, checks each recording against The MLC's public bulk data, and tells you per-song whether it's fully claimed, partially claimed, registered but unmatched, or missing entirely. It then provides a link to the exact MLC tool that fixes each case. It also estimates the dollars stuck, as a rough range. Even if you're not an artist yourself, you probably know someone who is a musician, please share it with them. Thanks for your time and I'm happy to answer any questions about the industry as a whole, The MLC, the tech, anything really. Comments URL: https://news.ycombinator.com/item?id=49375237 Points: 5 # Comments: 0

arXiv cs.AI69

Eureka: Task-Conditioned Meta-Agent Orchestration for Scientific Discovery

We present Eureka, a task-conditioned Meta-Agent architecture that compiles long-horizon tasks into dynamic obligation graphs with explicit acceptance semantics. During execution, Eureka forms Macro-Agents with specialized state, memory, operators, tools, verifiers, and local topology via receding-horizon planning, architecture promotion, and minimal-sufficient compilation. When bottlenecks recur, cost-benefit-gated evolution updates the local architecture under constraints. Theoretically, we establish results on regret, planning invalidation, amortization, subtree interfaces, serializability, and verification. Experimentally, Eureka completes 170/170 recursive tasks and generates 3,948 certificates with no false acceptances. Active context compresses median input from 9,490 to 4,005 tokens; incremental processing avoids 65.38% recomputation across 12,000 tasks; 16,000 concurrent executions serialize consistently. The same Meta-Agent instantiates a Theory-Discovery Agent and a Math/Conjecture Agent. The former yields structural results in quantum-process and spacetime theory. The latter identifies bottlenecks in Riemann Hypothesis research and advances a positivity certificate for Suzuki's localized Weil quadratic form to 0 < a <= 69/200 = 0.345, reaching ~99.55% of (log 2)/2. These results suggest that scientific-agent capability depends not only on the base model but on whether an architecture can be formed to match the task's cognitive structure.

arXiv cs.AI73

用于 Intel AI PC 机群上分布式 LLM 推理的预编译流水线分片

现代 Intel AI PC 配备了性能出色的集成 GPU 和 NPU,拥有 16 GB 以上的统一内存,并且有相当多时间处于空闲状态。但这些内存仍不足以容纳像 700 亿参数 LLM 这样的大模型。我们表明,少量 AIPC 通过普通网络协同工作,就能提供超出任何单台设备能力范围的模型服务。我们采用流水线并行:将模型按层拆分为每个阶段的分片,每个分片都预编译成 OpenVINO 图,使每台机器运行一个分片,并将激活传递给下一台机器。三项技术使其速度足够快,从而具备实用性。首先,我们恢复了未拆分模型的速度:朴素的逐阶段导出性能远低于整体推理,因为它错过了一项 OpenVINO GPU 优化;而向每个分片中注入 beam_idx Gather 会触发该优化(IndirectKVCache 融合),使分片达到与整体模型相当的性能。其次,我们在有状态 OpenVINO 模型上利用推测解码。第三,流水线通过在各阶段交错处理多个用户的请求来同时服务多个用户,每个请求都携带自己的缓存(微批处理)。综合来看,一个双节点 Llama 3.1 8B INT4 流水线在相同硬件上为两个并发用户提供服务时,吞吐量达到未拆分模型单用户吞吐量的 1.79 倍;在模拟广域网延迟下,这一差距进一步扩大。同样的设计可扩展到单个机群成员无法容纳的 70B 模型:在 Intel Tiber Cloud 上由 Lunar Lake AI PC 组成的四节点部署能够以交互式速度服务单个用户,其输出与不使用推测解码的同一四节点流水线逐 token 解码结果完全一致。代码、原始基准测试日志和复现实验脚本以自包含软件包形式发布于 https://github.com/labscommunity/pipeline-sharded-inference-paper(位于顶层 reproduction/ 目录中)。

arXiv cs.AI65

Procedural Content Metageneration via Program Search and Continual Abstraction Discovery

Large language models can generate executable programs, which makes it possible to search directly over procedural content generators rather than individual levels. We study this approach in Sokoban, Zelda, Dangerous Dave, and Lode Runner. Each run evolves complete Python generators through language-model mutation and crossover. We introduce Continual Abstraction Discovery, or CAD, which extracts reusable primitives from high-fitness programs into a run-specific helper module. A 2x2 experiment crosses CAD with access to a fixed hand-written domain API. The completed data set contains 160 complete runs, with at least ten 50-generation runs in every cell. CAD raises mean final best fitness in all eight domain and API comparisons. Across all CAD runs, learned libraries are adopted by most later programs and repeatedly rediscover validation, reachability, and structural utilities. These results support that discovering reusable primitives improves evolutionary program search for content generators.

arXiv cs.AI59

SIGMA: SHAP-Guided Implicit-Trajectory Generation for Metadata-Free LLM-Based AutoFE

Recent research has leveraged Large Language Models (LLMs) to enhance Automated Feature Engineering (AutoFE) through semantic descriptions and trajectory-based prompting. However, there exist two challenges that limit their applicability and scalability in long-horizon optimization: (1) semantic metadata is unavailable in many practical settings, and (2) trajectory accumulation increases the risk of exceeding the context window, while without it, the generation process can become unstable, leading to becoming stuck in the local optima and a high duplicate rate of generated features. To this end, we propose a SHAP-enhanced Implicit-trajectory Generation for Metadata-free AutoFE (SIGMA), a scalable constant-context optimization framework. SIGMA leverages SHAP values to provide task-aware signals for guiding group feature generation instead of semantic information. In addition, we adopt an EXposed-feature Implicit Trajectory (EXIT) approach, where the exposed features in the prompt implicitly represent the trajectory. Empirical results demonstrate that SIGMA achieves performance comparable to the state-of-the-art (SOTA) LLM baselines with a nearly constant prompt length. Notably, EXIT significantly reduces the duplicate ratio of generated features from 37.2% to 6.8%. At the same time, SIGMA matches traditional SOTA performance with only 5.4 features on average, demonstrating substantial efficiency gains in feature utilization.

Hacker News 熱門66

Meta 申请面部识别和自动记录人物的专利

文章 URL: https://www.privacyguides.org/news/2026/08/17/meta-files-patent-for-facial-recognition-automatic-recording-of-people/ 评论 URL: https://news.ycombinator.com/item?id=49344654 得分:9 评论数:0

arXiv cs.AI64

LAVA: Logic-Aware Validation and Augmentation Framework for Large-Scale Financial Document Auditing

Financial document validation in production, such as payroll auditing, tax compliance, and loan underwriting, demands exceptional accuracy, consistency, and reproducibility under strict enterprise constraints. In practice, documents arrive with heterogeneous layouts and formats, semantically rich and context-dependent content, and embedded business rules that current pipelines struggle to process reliably. We introduce LAVA (Logic-Aware Validation and Augmentation), a modular, backbone-agnostic pipeline built on multimodal large language models, that integrates a four-stage design: document-rule retrieval, layout-preserving information extraction, auxiliary metadata enrichment, and auditable symbolic/arithmetic verification. LAVA supports robust rule grounding, fine-grained error attribution, and consistent, traceable end-to-end execution, capabilities essential for high-stakes deployment. Evaluated on a large real-world benchmark with diverse financial documents and dozens of expert-curated validation rules, LAVA outperforms baselines in hallucination control and edge-case handling while maintaining efficient token usage, demonstrating practicality for high-volume, time-critical validation.

arXiv cs.AI78

宣传取证:还原一场 AI 驱动影响力活动的生成流水线

我们对近期一场 AI 驱动影响力活动背后的生成流水线进行了取证分析。我们介绍 PROPAGIA,这是一个包含 2,646 篇宣传性法语文章的语料库,来自 VIGINUM 和 INSIKT GROUP 于 2025 年披露的 Storm-1516/CopyCop 活动。作为比较,我们采用 SIPA,这是一个来自同一时期、由人类撰写的法语主流媒体语料库。通过主题建模、模糊性和情感分析,我们首先分离出宣传中具有代表性的劝服技巧;在模糊性、主观性和负面性方面,PROPAGIA 远高于 SIPA,且引用的来源更少。随后,我们在 84 个 PROPAGIA 网站中的 50 个上发现了提示词指令泄露,其中包括一份逐字一致的十点编辑规范,该规范解释了其中若干差异,同时还存在较高的跨文章冗余。最后,我们表明,基于重写的检测支持 INSIKT GROUP 将其归因于 Llama 3 系列,但也提示可能有 Mistral 系列模型参与。

arXiv cs.AI57

A Cognitively Motivated Multidimensional Framework for Evaluating Metaphor Explanations

Current evaluation of metaphor explanations relies mainly on holistic quality ratings, revealing little about how explanation quality is structured or where human judgments agree and diverge. We introduce a cognitively motivated framework that decomposes metaphor explanation quality into six theoretically grounded dimensions. In a dense annotation study (11,200 ratings), we find that: {\bfseries(i)} explanation quality is genuinely multidimensional; {\bfseries(ii)} annotator disagreement is systematic rather than random; and {\bfseries(iii)} the six dimensions collapse into a shared cluster and two independent axes of judgment. An exploratory feasibility study further shows that a standard automatic evaluation pipeline can recover parts of this structure, predicting the most discriminative dimensions well while its errors correlate human (dis)agreement. Together, these results suggest that multidimensional evaluation offers richer diagnostic insight than holistic ratings, and that automatic evaluators for open-ended generation tasks should be judged on how well they preserve the structure of human judgment.

Hacker News 熱門71

Llama.cpp v0.1.0

文章 URL: https://github.com/ggml-org/llama.cpp/releases/tag/v0.1.0 评论 URL: https://news.ycombinator.com/item?id=49335017 积分:10 评论数:2

Hacker News 熱門61

Show HN: 1667, a terminal UI for writing fiction with language models

Hi HN. I built 1667 for my own fiction work and now use it each day. This probably has a limited audience. Maybe an audience of one... Why a terminal interface for story writing? I'm a dev. I like to use terminals for a lot of stuff. Most WebUIs feel off to me. That's the only reason. One thing that bothers me about writing in existing tools is that they don't fit the way I write. The mental model of my story is a tree. I try many takes usually continue with just one, but sometimes I want to try an alternate route and see where this goes. And that can branch again in many places. See what happens if I kill off this character or they don't take the job or whatever. 1667 is a full-screen terminal app for long-form fiction. Each story part can have several takes. All takes stay in a tree. You select one path through that tree as the story line. Export writes that line to Markdown in the project folder. Some technical details: - A project stores its stories and settings in a `.1667/` directory. Exported Markdown sits beside it. - Provider secrets stay in private machine files. Requests go to the provider that the writer selects. - An optional Vault Password seals project files at rest. - An operating-system lock permits one writer process for each project. - The request viewer shows the next provider request without its credential. - Each generated take keeps a Generation Record with its model and effective settings. Version 0.9.5 runs on macOS, Linux, and Windows x64. The website has Shell and PowerShell installers. An npm package is also available. 1667 imports Markdown, SillyTavern chats and cards, and NovelAI archives. It can use OpenAI-compatible, Anthropic, and local endpoints such as Ollama, LM Studio, llama.cpp, and KoboldCpp. Current limits: the release is pre-1.0. The interface is a terminal. There is no account or cloud sync, and I don't plan to add any. No tracking. Comments URL: https://news.ycombinator.com/item?id=49330604 Points: 12 # Comments: 12

arXiv cs.AI55

Enhancing Virtual Agents through SLMs and Edge-Computing: An Exploratory Evaluation of Think and Memory Processes

Embodied intelligent virtual agents are expected to operate as persistent, adaptive, and context-aware entities within complex virtual and Metaverse worlds. However, implementing cognitively capable agents in such environments is conceptually and technologically challenging. Among a range of blueprints and development approaches, the Cognitive Embodied Agent Architecture (CEAA) has been developed as an implementation-oriented framework for architecting components of perception, memory, reasoning, planning, and embodied action. Considering the recent advances in edge computing and generative AI language models, this paper explores the use of Small Language Models (SLMs) to support edge-based operation of selected CEAA components, focusing on "Think" and "Memory" as processes central to cognitive orchestration and persistence of virtual agents in interactive virtual worlds. An edge-based virtual agent gateway system was developed and evaluated on an NVIDIA Jetson Orin NX using Qwen2.5 models of different sizes, exploring the system's capability to process service requests and handle memory-driven conversations. A series of simulation experiments evaluated routing accuracy, memory-read performance, and latency, demonstrating an SLM-driven prototype agent system that partially implements selected CEAA processes to support the development of embodied agents whose cognitive "brain" can operate efficiently and contextually for interactive experiences in immersive virtual worlds.

arXiv cs.AI69

AutoDesign: Meta-Harness Optimization for Long-Horizon Agentic Design

Transforming multimodal sources into condensed and structured media outputs can be fundamentally conceptualized as a long-horizon agentic process centered on a model-harness system. While an ideal harness system should align with human design priors and accumulate reusable experience through empirical exploration to drive recursive self-improvement, existing paradigms remain static and fall short of this capability. In this paper, we present AutoDesign, a framework that aligns with human design priors, where a meta-harness optimizer guides a code agent to recursively improve harness based on rollout feedback. To instantiate and evaluate this framework, we focus on the academic paper-to-poster generation task and introduce PosterBench, comprising a 100-paper Main Track spanning five disciplines and PosterBench-mini, a shared 10-paper subset for controlled evaluation. On the PosterBench Main Track, AutoDesign achieves the highest score of 78.32, surpassing the closed-source commercial system Claude Design by 7.45 points. Across seven controlled code-agent-model configurations, integrating the learned DesignHarness consistently improves performance, increasing the average PosterBench Score from 54.99 to 67.39 (+12.4%). In a fully autonomous long-horizon loop, it executes 253 tool calls and 11 editing turns within 40 minutes for under $3, reaching average conference-poster quality in human evaluation. A system-blind human study further demonstrates that AutoDesign achieves the highest human preference among evaluated systems.

OpenAI Blog37

Meta-learning for wrestling

We show that for the task of simulated robot wrestling, a meta-learning agent can learn to quickly defeat a stronger non-meta-learning agent, and also show that the meta-learning agent can adapt to physical malfunction.

OpenAI Blog55

Reptile: A scalable meta-learning algorithm

We’ve developed a simple meta-learning algorithm called Reptile which works by repeatedly sampling a task, performing stochastic gradient descent on it, and updating the initial parameters towards the final parameters learned on that task. Reptile is the application of the Shortest Descent algorithm to the meta-learning setting, and is mathematically similar to first-order MAML (which is a version of the well-known MAML algorithm) that only needs black-box access to an optimizer such as SGD or Adam, with similar computational efficiency and performance.

OpenAI Blog45

Evolved Policy Gradients

We’re releasing an experimental metalearning approach called Evolved Policy Gradients, a method that evolves the loss function of learning agents, which can enable fast training on novel tasks. Agents trained with EPG can succeed at basic tasks at test time that were outside their training regime, like learning to navigate to an object on a different side of the room from where it was placed during training.