可扩展的应力约束拓扑优化:一种基于机器学习的超分辨率与同步方法

信息流

全部时间,共 60294 条

论文详情

Behavior Beyond Text: Evaluating Refusal Transfer Failure in LLM Agents

超越文本的行为:评估 LLM Agents 中的拒绝迁移失败

尽管大型语言模型越来越多地被部署为工具调用代理,但其安全评估仍主要关注其在文本中拒绝有害请求的能力。我们研究文本中的拒绝行为是否会迁移到工具使用中。我们构建了一个包含四个领域、2,304 条提示的基准,由匹配的三元组组成,分别在纯文本、标准工具启用和对抗性框架的工具启用设置中呈现相同的有害或良性请求。然后,我们使用 20 个预定义的禁止动作评估工具调用安全性。测试五个不同规模和家族的模型后,我们发现,在文本中被拒绝的请求经常导致不安全的工具调用。在标准工具启用提示下,这种分歧出现在聊天中被拒绝的有害请求的 10-52%。为了机制性地研究这一差距,我们在五个模型各自的残差流中识别出一个与拒绝相关的方向。我们发现,在工具启用上下文中,五个模型中有四个沿该方向的激活降低。此外,较低的激活可预测所有五个模型中的不安全工具调用(AUC 0.76-0.86)。然而,通过激活修补将信号恢复到各自的纯文本值,仅能阻止一部分不安全调用,主要是通过抑制工具使用,而不是产生更安全的调用。沿拒绝方向进行引导几乎只在强度也会抑制良性工具使用或降低输出质量时才能消除不安全调用。我们的 fi

论文详情

Back Up Before You Regret: Measuring Backup Awareness and Automating Backup in Coding Agents

在你后悔之前先备份:衡量编码智能体的备份意识并实现备份自动化

编码智能体现在可以自主完成任务,并在此过程中修改真实世界的状态,例如产物、软件环境和配置。然而,它们的备份意识有限:即识别某个动作将修改之后可能需要的状态,并事先将其保存下来。为了评估备份意识,我们提出了 RegretBench,这是一个包含 205 个可执行任务的基准,任务源自 X.com、GitHub 和 Stack Overflow 等平台上用户明确后悔未保存后来所需状态的“后悔时刻”。在六个前沿模型上,智能体平均完成了 86.1% 的任务,但仅在这些时刻之前进行备份的比例为 15.2%,表明任务完成能力并不等同于备份意识。由于难以预测哪些更改会令人后悔,我们提出了 BackUpper,一种 harness 插件式备份层,它检查每次工具调用,并在修改前保存受影响的状态。它结合了面向常见操作的基于规则的策略与用于复杂情况的轻量级子智能体,其规则表可随着子智能体的决策随时间扩展。在 RegretBench 上,BackUpper 覆盖了每一个后悔时刻动作,并以与原始状态平均 92.2% 的相似度恢复状态。实现这一点的成本仅为每任务 0.014 美元,且 token 消耗比主智能体自我备份基线少 7 倍。当用户对备份内容有偏好时,BackUpper 也可以相应缩小其范围,在某个动作是否值得保存上与人工标注的匹配程度达到

论文详情

Simply Logical -- The First Three Decades

Simply Logical——最初的三十年

本文梳理了 Prolog 教材 Simply Logical -- Intelligent Reasoning by Example 的演变历程:从 1994 年出版的纸质版(附 3.5 英寸软盘上的可运行程序),经过各种中间在线版本,发展到如今可用的完全交互式在线版。我们的目标是从作者和读者的双重视角,考察技术对教育材料的潜在影响。本文的三位作者提出了三种不同且互补的观点,它们共同塑造了一本提供沉浸式学习体验的交互式在线图书。Peter 描述了原书背后的理念以及使用原书进行教学的经历。Jan 展示了当代 Web 编程如何实现对本书理念的完全交互式呈现。Kacper 报告了如何采用不同技术构建一个多功能的创作工具包,为本书的交互式在线版提供支撑。汇总这些不同但连贯的视角,使我们能够反思随着 Web 技术不断发展,交互式 Prolog 教学材料未来的机会。我们提供的见解应会引起 Prolog 教师以及那些想了解最新教育技术的人的兴趣。

论文详情

Hidden Messages Between Diffusion Language Model Agents: Causal Evidence for Latent Communication

扩散语言模型智能体之间的隐藏消息:潜在通信的因果证据

扩散语言模型通过一系列可修改的连续状态来形成答案,但多智能体系统通常会丢弃这些状态,只让智能体在解码出文本之后才进行通信。我们研究一条独立的扩散轨迹能否将一条紧凑的隐藏消息传递给另一条轨迹,并且关键在于:接收方是否会利用该消息所表达的含义。在 Hidden Messages 方法中,发送方将其去噪状态压缩为四个带符号的稠密向量;接收方在保留自身上下文、画布和轨迹的同时使用这些向量。移除消息用于检验该通道是否起作用;将其替换为来自另一个样本的消息则用于检验其内容是否起作用。在一系列受控任务中,错位替换消除了 Tiny-A2D 上 +63.6 个百分点的优势和 Dream-7B 上 +100.0 个百分点的优势,而定向替换则会把接收方引导至被替换进来的事实。在 QASC 任务中,当两个支撑事实被拆分到不同智能体上时,匹配的通信达到 80.8%,但来自错误样本的消息会将准确率降至 46.8%,即内容效应为 +34.0 个百分点。出人意料的结果与时间有关:一次较晚的传递达到 87.8%,比四次循环交换还高出 +7.0 个百分点。这些实验为扩散语言模型智能体之间连续的隐藏通信提供了因果证据,并表明信息传递的时机可能比智能体交换信息的次数更重要。

论文详情

To Manipulate or Not: Opinion Dynamics in LLM Interactions

操纵还是不操纵:LLM 交互中的观点动力学

大型语言模型越来越多地参与长时间对话,在其中既能影响另一方的观点,也会被其影响,然而大多数说服研究只衡量了这一交流中的单一方面。我们提出了一个受控的 LLM-LLM 辩论框架,其中两个语言模型角色反复讨论一个有争议的话题(气候变化归因):一个角色被赋予指定立场,并在某些条件下被明确指示去说服对方,而另一个角色则不接受任何指定立场。在涉及 GPT-6 Luna 和 Gemini 2.5 Flash Lite 的四种有序模型组合中,我们同时追踪每个角色明确报告的位置,以及一个独立的、衡量其在对话中逐轮行为的指标。不同模型组合下的观点动力学差异显著:同模型交互平均会缩小观点差距,但这一效应仅对两个模型中的一个清晰成立;而跨模型交互则会扩大差距。明确报告与对话内行为捕捉了观点动力学的不同侧面,而笼统地指示去说服并不能可靠地增强影响力。这些发现表明,对话中的影响不仅取决于被赋予的角色和初始位置,也取决于是哪些模型参与其中,这对如何在长时间 LLM 交互中衡量观点变化具有启示意义。

论文详情

Sketch2Sim: an end-to-end modular framework for hand-drawn circuit analysis

Sketch2Sim:一个用于手绘电路分析的端到端模块化框架

本研究提出一种草图到仿真的系统,用于解决手绘电路图问题。该系统将原始图像转换为兼容 SPICE(Simulation Program with Integrated Circuit Emphasis)的网表,并自动计算电路的节点电压和电流。另一个目标是提出一个整体框架,通过提升电路教学与学习体验并加速工程设计评审,使学生和教育工作者受益。本文提出一种多阶段流水线,将手绘电路的原始照片转换为可执行的类 SPICE 网表,从而提供解决方案。研究整理并标注了一个包含 1,000 个手绘 RLC(Resistor-Inductor-Capacitor)电路的数据集,标注内容包括元件、文本区域和字符识别。所提系统将电路图分解为三个阶段:(i) 基于双 YOLO(You Only Look Once)的元件和文本区域检测器;(ii) 结合 CTC(Connectionist Temporal Classification)与基于 OCR 的领域感知符号值提取的 CRNN(Convolutional Recurrent Neural Network);(iii) 通过阈值处理、骨架化和 DBSCAN(Density-Based Spatial Clustering of Applications with Noise)进行图像处理,以自动识别节点并将其与相应元件映射。所提系统生成网表并求解电路。针对模块化阶段的定性和定量消融研究,以及 e

论文详情

Forging More Tasks into Better Harnesses: Agentic Harness Evolution via Successive Scale Racing

将更多任务锻造为更好的 Harness:基于 Successive Scale Racing 的 Agentic Harness 演化

Agentic Harness 演化通过将智能体的任务执行经验作为不断演进的证据,来优化其指令、工具和控制流。虽然直觉上更多演化任务应能提升性能,但我们的初步研究揭示了一种悖论式的失败模式:随着任务池扩大,现有方法的性能反而下降。进一步分析表明,这种退化源于优化过程中次优的证据选择,因为不同的证据组合会导致显著不同的演化结果。为解决该问题,我们提出 Successive Scale Racing(SSR)框架,在每一轮演化中自适应地搜索最优证据组合。SSR 基于相应任务的质量与覆盖度构建多样化证据组合,并在较小的计算预算下高效地对生成的候选 harness 进行竞赛筛选。在实证方面,SSR 在三个不同基准的全部六种配置中均取得 state-of-the-art 结果。值得注意的是,当任务池从 40 扩展到 200 时,SSR 的通过率从 64.3% 稳步提升至 68.3%,而所有基线的性能均出现下降。此外,其竞赛机制能够在减少 60% 验证执行次数的同时识别出接近最优的候选方案。

论文详情

SpecEvo: Speculative Evolution with Large Language Models for Cost-Efficient Scientific Discovery

SpecEvo: 利用大语言模型进行推测性进化,实现成本高效的科學發現

由 LLM 驱动的进化式搜索是一种有前景的科学发现范式,但现有方法仍然成本高、速度慢,往往统一使用昂贵的推理,同时未能充分利用失败、冗余和饱和试验中的证据。我们提出推测性进化(Speculative Evolution,SpecEvo),这是一个多 LLM 框架,通过持续整合搜索证据来协调轻量级模型与前沿模型。轻量级模型既驱动并行的推测器(Speculator),负责生成和优化候选程序,也驱动一个顾问(Advisor),将积累的成功、失败和饱和方向提炼为对后续探索的持久指导。在稀疏检查点上,前沿模型导航器(Navigator)会检查不断演化的种群,并根据搜索停滞情况通过综合、精细修正或重新表述进行干预。这种“先推测、再整合”的工作流将常规探索和证据整合交给低成本模型,同时将前沿推理保留给战略性干预,这些干预的收益会延续到后续许多低成本评估中。在跨越四个科学与算法发现领域的 176 个任务上,SpecEvo 达到或超过了前沿模型基线,同时将 API 成本降低最多 80%;在方程发现任务上,其评估效率比成本高效基线最高提升 1.5 倍,并比最强的 CO-Bench 基线提升 3.8%。这些结果支持将轨迹条件化模型协调作为一种有效的 ap

论文详情

A Small Model Asks Better: Fine-Tuning Query Clarification for Retrieval-Augmented Generation

小模型问得更好:为检索增强生成微调查询澄清

查询澄清对于面临模糊用户查询的检索增强生成(RAG)系统至关重要。我们考虑多轮有依据的对话场景:用户查询在先前对话语境下形式不佳或存在歧义,或者更有趣的是,它可能形式良好,但当面对检索到的文档时存在多种相关解释。任务是识别这两类情况,然后向用户生成适当的澄清请求。我们提出 ClariEdge,这是一个约 3,900 个示例的新数据集,包含此类歧义查询以及不需要澄清的负例。我们还表明,一个轻量级微调 LoRA 达到 96.6% 的分类准确率,并在分类和澄清生成质量上优于许多更大模型的提示基线。我们的研究表明,难负例是区分真正模糊查询与可能看起来模糊但实际上不模糊(即可以从上下文中解决)的查询的关键要素。同一个 LoRA 在检索前和检索后场景中均取得高性能;因此,它可用于 RAG 流水线中的两个位置,作为答案生成前的检查。ClariEdge 数据集可在 https://huggingface.co/datasets/ibm-research/ClariEdge 获取。

论文详情

Query Feedback and Teaching for Stable and Certifiable Language Generation

面向稳定且可认证语言生成的查询反馈与教学

极限语言生成研究的是:一个学习器在观察到未知目标语言的某个枚举后,最终能否只生成有效且此前未见的元素。我们研究由 Kalavasis、Mehrotra 和 Velegkas(2025)提出的稳定性,它要求生成器的无限输出集最终保持不变;并引入更强的可认证性概念,它要求生成器能根据其观察确定当前输出是有效的。借鉴学习理论中的教学集,我们引入在三种日益严格的成功准则下的生成教学维度层级:正确性、稳定性和可认证性。这些维度衡量的是:最少需要多少个选定样例,其出现即可保证相应的成功条件。我们还研究 Charikar 和 Pabbaraju(2025)的成员查询模型中的稳定性与可认证性。我们刻画了有查询反馈和无查询反馈两种情况下的稳定生成与可认证生成,并建立它们与一致生成和极限辨识之间的关系。特别地,我们给出了稳定生成的有限见证刻画,类似于 Angluin 对辨识的 tell-tale 刻画,从而解决了 Kalavasis、Mehrotra 和 Velegkas(2025)留下的空白。我们进一步将这些生成概念与极限辨识进行比较,并在研究充分的语言族上对比它们的教学需求,包括正则语言和

论文详情

Minimax-Optimal Predictive Flow Matching under Distribution Drift

分布漂移下的 Minimax 最优预测式流匹配

流匹配通过回归学习生成速度场,但在分布漂移下,速度场必须在当前数据到达之前完成部署。我们针对一个固定的、可能非凸的神经网络类研究这一预测问题,并以每一轮相对最佳可表示速度场的动态遗憾为衡量标准。我们提出 DyProd-FM,它在二进历史前缀上重新拟合流匹配,并用 sleeping Prod master 在各拟合结果中进行选择。在完全不知道任何漂移预算的情况下,该方法在相对速度风险变化 $\Omega$ 上取得 $\widetilde{O}(\min\{N_\omega+1,1+\sqrt{T\Omega}\})$ 的遗憾,在目标分布变化 $V_\mu=\sum_t W_2(\mu_{t+1},\mu_t)$ 上取得 $\widetilde{O}(\min\{N_\mu+1,1+T^{1/3}V_\mu^{2/3}\})$ 的遗憾,忽略近似与拟合代价。针对固定类的匹配下界表明,这两个速率在 $T$ 以及各预算上均达到最优(至多相差对数因子)。先前的动态遗憾最优保证依赖于凸决策集以及强凸或 exp-concave 损失,而我们的类可能是非凸的,且不假设其参数具有曲率。目标分布速率依赖于两种变化之间的二阶联系,而这一联系由流匹配的基础噪声提供。

论文详情

RL-IF: Tracking Non-local Training Data Influence for Online Reinforcement Learning

RL-IF:追踪在线强化学习中的非局部训练数据影响

在线强化学习(RL)在决策任务中取得了显著成功,但现代在线 RL 仍对训练经验的质量高度敏感。因此,理解单个训练样本的贡献对于以数据为中心的 RL 至关重要,其应用范围从经验筛选到策略解释。现有的在线 RL 数据归因方法主要关注单轮训练内的局部影响,忽视了跨多轮训练的非局部数据影响。在本工作中,我们通过轨迹级别的留一法量 RL-LOO 形式化在线 RL 中的数据归因,该量衡量某个训练样本在后续在线更新发生后对下游目标的影响。随后我们推导出 RL-IF,一种一阶估计器,它通过优化效应和策略诱导的采样效应传播数据影响,并在平滑性假设下给出了其近似精度的理论保证。我们的分析进一步解耦了这两种效应,并从理论和实验上表明,完整的 RL-IF 估计器通常仅用优化效应即可很好地近似。基于这一观察,我们提出了 RINSE,一种面向在线 RL 的实用数据过滤方法。在标准控制基准和 RLHF 风格的毒性缓解设置上的实验表明,RINSE 在训练效率和最终性能上均优于标准 PPO 和

论文详情

LEAN: Loss-Engineered Modulation of the Model Weight-Sensitivity Distribution for Efficient, Error-Tolerant Neural Networks

LEAN:面向高效、容错神经网络的模型权重敏感度分布的损失工程化调制

训练后网络的权重对模型准确率的敏感度并不一致:最敏感的1%权重承担了比特翻转可能造成的约五分之一损害。这一分布决定了模型的比特翻转容忍度、纠错码必须覆盖的权重比例以及每个权重所需的比特数;现有方案只能接受训练留下的分布。我们表明,可以系统性地调制或改变已训练模型的权重敏感度分布,从而将权重从一个敏感度区间转移到另一个区间。存储权重的敏感度是其梯度与翻转在存储格式中所产生步长的乘积,LEAN 对这两个因子都加入复合正则项:一个限制翻转步长的范围项,以及一个降低最敏感权重梯度的尾部项,并用一个系数 λ 控制分布移动的幅度。将该正则项用于十个 epoch(作为微调或作为训练最后若干 epoch),在九个视觉模型(CIFAR-10、CIFAR-100、ImageNet 上的 ResNet-18、ResNet-50、VGG-16)上将敏感尾部缩小 5 到 13 倍,同时准确率下降在 0.5 个百分点以内;真实翻转实验证实重塑后的权重造成的损害更小,单纯的梯度范数惩罚无法复现该效果,并且对三个小型语言模型的初步扩展显示出相同的尾部塑形。随后在覆盖 1% 权重的 BCH 码下,模型在每个训练随机种子中都能承受 300 次渐进式比特搜索翻转,在三个种子中的两个能承受 500 次,而四分之三的已发表

论文详情

A General Topological Symmetry Index for Critical Orbits In Neural Network Loss Landscapes

神经网络损失景观中临界轨道的通用拓扑对称性指数

由于神经网络损失景观具有高维性,对其全局结构进行系统性理解仍然颇具挑战。由网络架构和学习目标产生的对称性为研究该结构的各个方面提供了途径。尽管越来越多的研究已对这些对称性予以关注,但对其本身以及它们所产生的临界轨道的系统性刻画仍不完整。为填补这一空白,本工作基于等变度理论族的方法建立了一个拓扑对称性指数,以解码这些对称性。该框架适用于任意网络架构,并包含适用于退化临界轨道的方法。该指数可检测临界点的各向同性,并量化相应的净拓扑贡献。文中给出了若干示例,包括 softplus MLP、Transformer 和等变神经网络,以说明计算过程。

论文详情

A Mechanistic Study of Automated Failure Attribution in LLM-based Agentic Systems

基于LLM的智能体系统中自动化失败归因的机制研究

智能体系统通过让多个相互交互的基于大语言模型(LLM)的智能体协作并并行执行子任务,在复杂任务上展现出强大能力。然而,这种协作结构为可靠评估和诊断系统失败带来了新挑战,尤其是失败归因:追踪系统执行过程,以识别应对错误最终结果负责的智能体步骤。由于人工执行该任务耗时耗力,近期工作转向使用LLM作为评判者来自动化该过程,称为自动化失败归因(AFA)。这些方法假设,能力足够强的模型可以直接从交互记录中推断出失败步骤。但在实践中,直接提示往往表现不佳,这促使后续工作探索各种提升AFA性能的方法,包括替代提示策略和推理时干预。本文研究一个更基础的问题:这种较弱的行为表现是否反映了真实的能力限制。通过对内部激活应用线性探针,我们发现了一个显著的“知道但不说”差距(knows-but-won't-say gap):模型编码了足够的信息来正确归因失败,却未能显式输出应负责的步骤。基于这一发现,我们提出grafting,一种简单的人工干预方法,利用模型中已编码的知识来提升

论文详情

An Explicit Feedback Contract for Iterative ML-Agent Harnesses

面向迭代式 ML-Agent Harness 的显式反馈契约

迭代式 ML agent 通过编辑代码、运行实验、读取验证分数并决定下一步尝试什么来开发模型。在当前的 harness 中,这一循环依赖每次尝试后返回的精确验证分数,这使得验证集容易受到自适应选择的影响。在本工作中,我们为 ML-agent harness 引入了一种显式反馈契约,它规定了 agent 可以观察到什么、迭代应在何时停止,以及何时可以接触测试集。该契约仅在提交通过由配对标准误计算出的噪声阈值时才释放验证分数,因此无需调参来确定裕度。我们在点击率预测、learning to rank 以及一个不存在可学习信号的控制任务上进行了实验。控制任务是最尖锐的案例,因为按构造其真实增益为零:读取精确分数的 agent 最终报告了 0.0157 的增益,而在该契约下它报告了 0.0033。在两个真实任务上,该契约都缩小了验证集与测试集之间的差距,且测试性能略有提高而非下降。最大的差异在于 agent 何时停止。精确反馈在三个任务中的两个上耗尽了全部三十次提交的预算,其中包括那个什么都学不到的任务;而该契约在四到十二次提交后就停止了。一次耗尽预算的运行通常被解读为勤勉。更好的解读是将其视为一种症状:当反馈通道无界时,噪声会不断提供可追逐的改进。

论文详情

ArcFlow: Training Flow Policies for Multiple Solver Budgets

ArcFlow:为多种求解器预算训练流策略

Flow-matching 策略通过求解器步数来调整推理成本,但在单一固定求解器预算下进行强化学习,可能会掩盖在更低成本部署预算下的性能退化,甚至会抹去预训练策略中已有的有用一步行为。我们提出 Action-Ratio-Clip Flow(ArcFlow),这是一种部署感知算法,用于在指定范围的求解器预算内训练单一流策略。ArcFlow 结合了动作对齐监督、预算暴露和最差预算检查点选择。对于重建目标,其 bridge 将时间探针聚合为每个动作的一个替代比率和一个 PPO 风格的 clip,其边界残差恰好等于部署时的一步重建误差。Cycling 将共享场暴露于部署范围,而选择则优化其性能下限。对于原生速度目标,多预算端点监督在不替换原生更新的情况下应用相同原则。两种实现均保留架构和部署时成本。在 DM Control、操作和运动任务中,在每种方法报告的训练设置下,ArcFlow 在 30 个任务中的 25 个上取得了五个流策略基线中最高的平均一步回报。组件研究识别出边界监督、固定网格 bridge、预算暴露和部署选择带来的互补改进。这些结果确立了部署预算感知训练作为一种有效途径,可用单一策略在低步数控制中实现强劲性能。

论文详情

Extreme Low-State Quantized Transformer for Electricity-Load Forecasting

用于电力负荷预测的极端低状态量化 Transformer

激进的低状态权重量化会显著降低神经网络的表示灵活性,使得在仅可用少量离散权重状态时难以保持预测性能。我们针对基于 Transformer 的电力负荷预测研究这一情形,采用 3、5、7 和 16 状态权重量化,覆盖仅前馈网络量化与注意力加前馈网络量化。两项任务在两个共同主要用电量数据集上,分别基于前 48 小时预测下一小时或未来 24 小时。直接训练后量化(PTQ)相较于全精度使平均归一化均方根误差(NRMSE)在数据集 A 和 B 上分别增加 6.25 和 7.04 个百分点,而量化感知微调(QAT-FT)分别恢复了约 90.2% 和 94.5% 的这些性能损失。从随机初始化开始的量化感知训练(Scratch-QAT)也产生了有竞争力的低状态解,尤其在三种状态下表现更有利。我们进一步引入累积更新阈值化(accumulated-update thresholding),其在提交前累积优化器提出的权重变化。相对于配对的 Scratch-QAT 对照组,这将已提交的影子权重更新减少约 99.7%,离散状态转换减少约 77--80%,而平均 NRMSE 仅变化 +0.042 和 +0.197 个百分点。这些结果表明,在高度离散的权重表示下仍可保留有用的 Transformer 预测能力,同时

论文详情

Building a Nested LADDER for LLM Unstructured Post-Training Pruning

为 LLM 非结构化后训练剪枝构建嵌套式 LADDER

非均匀分配可以改善大语言模型的后训练剪枝,但在高稀疏度下质量仍可能急剧下降。为控制稀疏度增加时的质量退化,我们提出 LADDER(Layer-Wise Allocation via Damage-Driven Evaluation and Refinement,基于损伤驱动评估与细化的逐层分配),它逐步分配稀疏度。在每一步中,它评估从每个符合条件的层中额外剪除一部分权重的效果,并提交每移除一个参数所导致端到端退化最小的层更新。该过程在多个预算下产生非均匀稀疏度分布和严格嵌套的掩码。我们在五个 OPT、Llama 和 Qwen 模型上以 10-90% 的稀疏度评估 LADDER,使用 SparseGPT 作为其候选生成后端,并与均匀分配和自适应分配基线进行比较。结果揭示出清晰的工作区间权衡:LADDER 在温和稀疏度下表现相当或略弱,但从 70% 开始变得明显更稳健。这一高稀疏度优势在五个模型中的四个经过后验蒸馏后基本仍然存在,并转化为聚合零样本准确率保留率的提升。

论文详情

ReAPO: Retry-Aware Policy Optimization for Efficient Exploration in LLM Reasoning

ReAPO:用于 LLM 推理中高效探索的重试感知策略优化

RLVR 提升了语言模型的推理能力,但通常依赖独立的随机 rollout 进行探索,这可能反复采样到相似的失败策略。此前的工作通过将错误解法纳入后续尝试的上下文中,从而在采样过程中引入依赖性来引导探索,并取得了一定成功。然而,这些方法也带来了一个新问题:如何为每次尝试分配信用。我们提出从随机最短路径(Stochastic Shortest Paths)的视角来看待信用分配,这是经典强化学习中的一个框架,旨在最小化到达终止状态(在我们的场景中即经验证的成功回复)的期望累积代价。我们证明,在适当的简化假设下,这一视角会自然导出一个对 GRPO 的简单修改,我们称之为重试感知策略优化(Retry-Aware Policy Optimization,ReAPO)。ReAPO 为失败轨迹分配额外的生成机会,使成功的重试得以被强化,而不奖励此前的失败,并以理论上合理的方式为每次尝试分配信用。在从 0.6B 到 4B 的 Qwen3 和 OLMo-2 模型以及八个数学与科学推理基准上,ReAPO 在首次尝试性能上优于 GRPO 以及近期自然的基线算法,额外的消融实验也证明了串行采样和 ReAPO 信用分配的有效性。在 Qwen3-0.6B 上,ReAPO 还优于组规模翻倍或“

论文详情

Big Claims, Small Margins: Do Reported GraphLLM Gains Survive Simple Baselines?

大主张、小差距:报告的 GraphLLM 增益能否经得起简单基线的检验?

基于 LLM 的文本属性图(TAG)节点分类方法常常报告达到最先进的准确率。我们考察这些结果与在同一数据划分上运行的低成本基线相比如何。在三项近期研究的数据划分上,我们仅使用验证集选择来调优四个基线代表,并将它们与每篇论文在匹配设置下为基于 LLM 的方法报告的最高均值进行比较。在 TF-IDF 特征上运行的 Correct & Smooth 比该参考值中位数低 2.3 个百分点,在冻结的 e5-large-v2 嵌入上运行的 MLP 低 2.8 个百分点。Correct & Smooth 在 24 个任务中的 15 个上达到参考值 3 个百分点以内或更好,但参考值在 22 个可测试任务中的 12 个上显著更高,因此若干已报告的增益仍然可观。对照论文阅读已发布代码,我们还记录了评估风险:在测试集上选择超参数或检查点、训练中使用测试池节点的标签、未披露地复用基线数值,以及已发布的 Cora 加载器中的文本-标签错位。同一方法在同一划分上的报告结果在不同论文间也相差最多 12.5 个百分点,而这些论文的配置并未记录为一致。

论文详情

SimHack: Predicting the onset of detectable reward hacking before RL training

SimHack:在 RL 训练前预测可检测奖励黑客行为的出现

在使用强化学习训练 LLM 编写代码时,奖励黑客行为通常可以被检测到,但难以预防,因为:(a) 随着训练环境日益复杂,环境加固变得越来越困难;(b) 训练时的干预会激励模型混淆黑客行为以绕过检测。我们转而研究能否在执行 RL 训练之前预测可检测的奖励黑客行为何时占据主导,从而提前选择风险更低的训练配方。我们发现,仅凭初始黑客率并不能决定其出现时间,而该时间在不同训练配方和重复运行之间差异很大。因此,我们将该问题表述为预测目标训练配方下奖励黑客行为出现步数的分布。我们提出 SimHack,一种模拟器,它从少量较小规模的参考 RL 运行中学习奖励黑客行为的训练动态,并在无需昂贵重新训练的情况下,为未见过的目标配方生成反事实模拟运行。在未见过的目标配方上,SimHack 预测中位出现步数的相对误差为 11.3%,跨配方秩相关系数为 0.85,同时能泛化到参考配方与目标配方之间在模型规模、课程、rollout 数量和学习率上的差异。作为应用,我们展示 SimHack 可以通过筛选候选 RL 课程来指导训练决策,发现在同一组场景上训练时长延长 96.6% 而不出现黑客行为的课程。

论文详情

Reinforcement learning for hardware acceleration and system-level optimization on FPGA and integrated-circuit platforms: A survey

FPGA与集成电路平台上用于硬件加速与系统级优化的强化学习:综述

强化学习(RL)能够在嵌入式、边缘和异构计算系统中实现自适应且自主的决策。现场可编程门阵列(FPGA)和集成电路(IC)为RL部署提供低延迟、高能效和架构灵活性,同时在资源约束、实现复杂性以及硬件-算法协同设计方面带来挑战。本综述回顾了100多项关于FPGA和IC平台上RL实现的研究,重点涵盖架构、实现策略、性能评估和应用。文献按RL类别组织,包括基于模型的马尔可夫决策过程、经典价值型方法、深度RL、actor-critic、策略梯度和多智能体方法。我们进一步按抽象层级、硬件实现策略和应用领域对研究进行分类,考察RL算法如何映射到可重构和固定硬件上。与局限于特定算法或平台的综述不同,本工作对FPGA和IC实现进行了统一分析,涵盖加速、可重构架构、能耗感知控制和系统级优化。比较评估考虑资源利用率、延迟、吞吐量、功耗和所报告的性能提升。最后,我们识别出反复出现的架构模式、实际限制、开放挑战,以及面向高效RL驱动硬件系统的研究方向。本综述

论文详情

To Keep or Not to Keep: Learning KV Cache Retention in Disaggregated LLM Serving Systems

保留还是不保留:在解耦式 LLM 服务系统中学习 KV 缓存保留策略

解耦式 LLM 服务将 prefill 与 decode 分离到不同节点池中,在 KV 缓存的计算与消费之间引入网络互联。这打破了经典缓存策略的一个关键假设:未命中不再只带来本地重计算,还会产生向 decode 节点的网络传输。同样,将一个块纳入全局缓存也需要额外的传输,因此糟糕的保留决策会同时浪费内存和带宽。我们提出 KVLearn,一个面向解耦式服务的、基于学习的成本感知 KV 缓存保留框架。KVLearn 包含:(i) 轻量级 Prefix Reuse Predictor(PRP),无需修改模型权重,即可从前缀的结构特征和时间特征估计复用概率;(ii) Cost-Aware Retention Score(CARS),利用重计算、传输和存储成本将复用概率转化为保留/接纳决策;(iii) Adaptive Threshold Controller(ATC),根据观测到的命中率和内存压力在线调整接纳阈值。我们将 KVLearn 集成到全局解耦的服务拓扑中,并在文本和多模态负载上进行评估,包括具有异构复用模式的、由图像/视频派生的大型 KV 块。与 No-Cache 相比,KVLearn 将端到端首 token 时延最多降低 56%;与 LRU-Pool 相比降低 38%;与 Mooncake 风格基线相比降低 33%;同时相较 LRU-Pool 将节点间 KV 传输量最多减少 53%。

论文详情

C$^2$U in RAG: Compositional Concept Unlearning in Retrieval-Augmented Generation

Retrieval-augmented generation can expose unwanted concepts through retrieved evidence even when the generator is moderated. We study query-side concept suppression with a fixed encoder and document index. Compositional Concept Unlearning (C$^2$U) routes a profile-derived direction through an augmented atom bank, adding only a bounded edited-minus-original delta to the raw query. Across five datasets, four encoders, and three seeds, the validation-selected configuration reduces pooled binary target Hit@5 by 4.25 percentage points with non-positive control degradation and target-exposure changes. Under the evaluated query transforms, it suppresses target density without increasing budgeted control-query exposure. Separately, ArXiv four-concept composition improves over an averaged-direction comparator after independent validation gates and first-use test evaluation.

论文详情

norregel: a preregistered benchmark of dated numeric values in Norwegian law

norregel asks language models for numeric values in Norwegian statutes, regulations and parliamentary decisions (NOK amounts, percentages, multiples of the National Insurance basic amount (G) and age limits), each at a stated date. The 916 items were extracted mechanically from Lovdata's open data, and each carries the dated history of its provision, so an answer can be classed as correct, outdated, wrong or uninterpretable. We report a first and a second preregistered run on the same items. In the first run (five models, listed publicly only after local analysis), H1, that outdated answers are more frequent for values that took effect after a model's cutoff, could not be tested in substance, and H2 and H3 were inconclusive; Opus 5.5 and Sonnet 4.6 answered 46.7% and 40.2% of the 880 primary items correctly. The second run was preregistered and published before any of its calls, and eight models were analysed. Its pooled primary test supported H1 under the preregistered decision rule (d = 17.8 percentage points, 95% interval [7.7, 28.9], p = 0.0001). In the preregistered sensitivity analysis S8, which counts as outdated only the most recent value that differs from the key, d was 3.9 [-3.6, 12.7] (p = 0.1754), an interval that contains 0. H1 was supported in every other preregistered sensitivity analysis, but S8 is the only one that gives both groups one target value, so we do not regard the support for H1 as robust. The share of outdated answers equal to that most recent value (H2) was 56.1% [46.6, 65.0], an interval that contains 0.5, and the pooled test of a lower share correct in Nynorsk than in Bokm{\aa}l (H3) was inconclusive. Several models, among them Haiku 4.5, gave mostly uninterpretable answers. Items and keys are withheld; item IDs, per-answer classes, code and results are on Zenodo.

论文详情

TrainBridge: Agentic NPU Training Optimization Guided by GPU Compilation Evidence

We study how to improve training efficiency on Ascend NPUs. In the NPU training programs we study, framework-level compilation optimizations such as operator fusion are only partially applied, leaving fragmented computation and avoidable execution overheads. Profiling-guided tuning can address these inefficiencies, but it often requires costly trial and error. To make training on NPUs more efficient, we propose TrainBridge, an agentic approach for transferring GPU optimization guidance to NPU training. TrainBridge uses the highly optimized execution produced by mature GPU compilation stacks as a task-specific reference for NPU tuning. It extracts optimization intents from the GPU training execution to guide NPU program rewrites and further refines the rewritten program through iterative profiling. Our GPU-to-NPU migration experiments show that TrainBridge achieves an average 1.7x speedup across four workloads covering LLM pretraining, image classification, and vision-language training, and an average speedup of nearly 2.0x across 27 Modded-NanoGPT speedrun records with highly optimized GPU implementations.

论文详情

Why is AI-generated language so hard to understand?

There is a widespread sense that AI-generated text has recently become harder to understand. In this study, we investigate a set of psycholinguistic features that are known to correlate with human processing difficulty (e.g., object relative clauses, long syntactic dependencies, low-frequency n-grams). Using a novel corpus of AI-generated text across diverse domains, we find that AI models use these difficult features more often than paraphrases generated by round-trip translation. Compared with human writing, all nine frontier and near-frontier models use more inanimate subjects with animate verbs and more low-frequency n-grams, and most also use longer dependencies, more stacked nouns, and more reduced object relatives in conversation; we also demonstrate substantial variation across model families. We propose and test a hypothesis as to why: while human language is optimized for successful communication, AI-generated text is increasingly optimized for other goals like math, code, and reasoning, in which there is a pressure for \textit{information density} rather than successful communication. We provide a proof-of-concept for this hypothesis by fine-tuning a language model under a length penalty, which leads to a divergence from human-like linguistic behavior. Our findings highlight the axes of misalignment between linguistic processing demands in humans and LLMs, and point toward possible remedies.

论文详情

Multi-level Encoder with Global Topic for Task-oriented Dialogue Summarization

Task-oriented dialogue summarization aims to automatically extract key information to generate domain summaries to improve service efficiency and quality. Task-oriented dialogue is inherently logical and surrounds specific topic. How to effectively capture the dialogue topic and the most salient information becomes one of the major challenges of this task. In this paper, we propose a task-oriented dialogue summarization model utilizing a multi-level encoder with global topic (MLEGT). This model discovers temporal and spatial dependencies through a multi-level encoder, while simultaneously obtaining a simple yet effective global topic in the process of graph construction. It not only captures the crucial details but also breaks the long-range limit and discover the intrinsic structure across the dialogue. Then, a global topic guided pointer mechanism is added into the summrizer to capture ignored but important information, which is helpful to improve the accuracy of the summary. A comprehensive study of two public datasets, including a real-world large-scale Chinese police interrogation dataset and a medical reporting service dataset proves the superiority of our method on several strong baselines.

论文详情

Our Own Jev: Typed Decisions in One Forward Pass, from an In-House Judge to Open LoRA Models

A typed decision maps evidence, a question and a fixed set of options to a probability for every option, computed in one forward pass, by reading a language model's logits or a small head over its hidden states, instead of generating and parsing text. The commercial system Jev popularised this System~1 interface, and open reproductions have followed. We report two uses of the pattern. \emph{Part I} describes an in-house System~1 judge that triages about 148K agentic coding session records for a training corpus. It replaces a frontier LLM judge that cost on the order of \$1,000 per pass and whose stored labels matched a fresh two-judge consensus on only 26.9\% of the sessions where the two judges agreed; a self-hosted frozen backbone with a rank-16 LoRA adapter and a pointer head answers three typed questions in one forward pass, judges 1,000 sessions in about three minutes of one GPU, about \$0.06 at a reference rate and roughly 1\% of the frontier judge's cost, and keeps every session inside the organisation. \emph{Part II} asks whether a readout that adds no parameters can be competitive and whether training one helps. Applying the public Eikos recipe and corpus of about 25K decisions to three further backbones (1B, 2B and 35B), we read the frozen output layer of a LoRA-adapted decoder. On the 111 public hard items of JevBench our single-seed 35B, developed with those items in view, scores 79.3\%, not significantly different from the commercial reference (73.0\%, unadjusted $p=0.12$) and ahead of five open systems after Holm--Bonferroni correction; our 2B is ahead of all four kev checkpoints on the leaderboard. A single-seed ablation finds no detectable benefit from training the 26 letter rows of the output layer, and a retrain on a later corpus release moves the 2B's hard-tier accuracy by 11.7 points, which shows how little small evaluations resolve.

论文详情

Language Impairment as a Lens onto Large Language Models

Although large language models (LLMs) encode language in highly distributed spaces, they remain vulnerable to focal disruptions---a phenomenon strikingly similar to how localized brain damage causes clinical aphasia in humans. To investigate this theoretical tension, we ask whether LLMs possess a functional structure analogous to the human language system, by introducing a novel mechanistic interpretability framework inspired by aphasia. Through two complementary approaches, classifier-guided lesioning and continuous activation steering, we systematically induce aphasia-like breakdowns in LLMs. We find that language functions can be successfully isolated to discrete structural circuits and continuous representational vectors, yet these functions remain densely entangled with significant circuit overlap and vector similarities across distinct aphasic profiles. Furthermore, while steering generalizes robustly across downstream tasks, structural lesioning remains asymmetrically constrained. By bridging neuropsychology and mechanistic interpretability, we demonstrate that LLMs, functionally analogous to biological brains, rely on a densely entangled architecture that can be systematically mapped through clinically-informed interventions.

论文详情

Guilt by Association: Semantic Leakage Drives Associative Gender Bias

Semantic leakage occurs when a concept in the prompt steers model generation about an entity, even though the concept is irrelevant to it (e.g., a person who likes yellow is said to work as a school bus driver). It has mostly been studied in settings where the concept is directly attributed to the entity the model is asked about. This leaves open whether leakage is a flawed heuristic, where the model builds a profile of that entity, or a much broader associative tendency, e.g., working across seemingly unrelated entities. We argue for the latter: even after removing the attribution of the concept to the specific entity, leakage persists. Next, we extend this idea to gender bias. While work on gender bias in LMs typically looks at cases where the stereotyped concept is attributed to an entity, our findings suggest that a concept may steer outputs with its mere presence in the scene. We show this using gendered concepts under two conditions: when the subject engages with the concept, and when the concept just sits in the scene. We find that both shift model generation toward the stereotype to a similar extent. Together, our results suggest that semantic leakage drives a form of bias that is overlooked by current evaluations.

论文详情

CSD: Common-Support Distillation for Cross-Tokenizer Knowledge Transfer

Cross-tokenizer logits distillation enables knowledge transfer across model families, allowing students to learn from stronger or more specialized teachers. However, differences in vocabulary and segmentation make teacher and student next-token distributions difficult to align. Existing logits-based methods are easy to integrate into standard distillation pipelines, but often rely on restrictive heuristics or tokenizer-pair-specific choices. They may restrict supervision to shared vocabulary subsets, require manually selecting different objectives for different tokenizer pairs, or match only the observed chunk and its complement rather than individual alternative continuations. We introduce Common-Support Distillation (CSD), a unified logits-based framework that constructs a shared support between the teacher and student at each aligned input chunk and matches the induced distributions with a single objective. For one-to-one alignments, CSD uses explicit common-token pairs as the shared support. For other alignments, it constructs a virtual support whose probabilities are computed using the autoregressive chain rule. A residual event captures probability mass outside the explicit support, ensuring that both induced distributions remain normalized. Across four teacher-student settings comprising Llama-3.2-1B and Gemma3-1B-PT students with Qwen and Phi teachers, CSD consistently achieves the highest average performance among the evaluated cross-tokenizer methods, outperforming the strongest alternative by up to 1.8 points and surpassing both continued pretraining and same-tokenizer distillation. For Llama-3.1-8B, CSD improves average accuracy over the strongest evaluated baseline by up to 4.2 points for the base student and 1.6 points for the instruction-tuned student.

论文详情

SANE: Automated Scorer-Specific Metamorphic Testing for LLM Judges

LLM judges increasingly mediate benchmark evaluation, model selection, data curation, and training. Their decisions are useful only when each judge responds reliably to changes affecting its scoring criterion. Existing methods for reliability testing perturb inputs with known expected effects on judge scores. Prominent LLM-judge testing harnesses combine human-authored perturbation recipes with synthetic test generation, leaving scorer-specific recipe ideation outside the automated pipeline. This limits their use to fixed perturbations and pre-assumed scorer types. We introduce SANE, an agent-based framework that encodes behavioral requirements for stochastic evaluators as reusable agent instructions. Given a scorer specification, implementation, and representative inputs, the pipeline first identifies scorer-specific capabilities, then automatically derives perturbation recipes and expected score relations for each. SANE also defines a scorer-independent validation framework for generated judge tests. It determines whether each recipe agrees with scorer intent and whether each instantiated case realizes the recipe and supports its expected relation. Because SANE generates a recipe inventory tailored to each scorer, the number of aligned recipes grows as scorers are added. Across five domains, SANE produces 3.7 times as many validated test families as the Judge Reliability Harness (JRH) at comparable end-to-end validity and detects scorer deficiencies in every domain, including professionalism and toxicity, where JRH detects none. On faithfulness, SANE achieves strong human alignment in judge ranking: its test-suite scores rank 11 judge models consistently with human-labeled FaithBench performance (Spearman rho = 0.852), while JRH does not (rho = 0.100).

论文详情

How to Use Parallel Data for Multilingual Pretraining

High-quality human-translated parallel corpora can improve cross-lingual transfer, but are typically too small for large-scale pretraining. Machine-translated web corpora help overcome this limitation, making parallel data available at pretraining scale. Standard multilingual pretraining, however, samples source documents and their translations independently, without explicitly using their parallel structure. We investigate how to use the parallel structure of the data to improve multilingual pretraining by concatenating each document with its translation in the same training sequence. We compare this parallel pretraining (PPT) approach with standard pretraining (SPT), training models from scratch at matched token budgets. Surprisingly, despite the benefits of parallel data reported in prior cross-lingual work, PPT alone does not consistently improve language understanding over SPT. Our further analysis suggests that although PPT builds a strong cross-lingual foundation, as shown by its better use of shared information across languages, the mismatch between parallel training contexts and single-language task inputs limits its gains in general language understanding. This finding motivates a two-stage approach following the pretraining-fine-tuning paradigm: we first use PPT to build a cross-lingual foundation, then continue with SPT to adapt it to standard language modeling. In both high-resource and low-resource settings, the two-stage approach consistently improves general language understanding and cross-lingual task performance over standard pretraining alone at matched training budgets.

论文详情

LIFT: Scoped Constraints for Evaluating and Training Instruction Following

Common instruction following (IF) benchmarks, such as IFEval, evaluate the ability of language models (LMs) to follow simple constraints that can easily be verified programmatically. These same constraints, in turn, are used as reward signals for reinforcement learning. This design may lead to reward hacking of constraints, pushing models away from the main task. Recent attempts to address this resulted in benchmarks with richer constraints, but required expert labor, remained closed-access, and cannot be easily extended. We present Lift-Bench, an IF benchmark that asks a model to draft a document given a topic and a structured outline. Constraints are scoped to certain document sections, providing finer control over constraint density. Lift-Bench includes both verifiable and judged constraints, as well as a training counterpart, Lift-Train. Importantly, Lift-Bench provides both main task and instruction-following constraints, mitigating shallow reward hacking. On experiments with multiple models, we find that frontier models struggle with the harder subsets of our benchmark and analyze model performance along multiple axes. We also find that training on Lift-Train is much less susceptible to reward hacking than training on the common IFTrain. Lift-Bench and Lift-Train are publicly available, as well as the data generating pipeline.

论文详情

Is Anyone Enforcing the Cartel? What Reinforcement Learning Teaches LLM Agents in Markets

Evaluations of large language model (LLM) agents report that pricing agents collude at others' expense. Yet collusion is defined by enforcement: a cartel, in which competitors share monopoly profits, holds only if a member who cheats is punished. We introduce an audit that tests enforcement by forcing a member to cheat in counterfactual copies of a market, and use it to study what reinforcement learning (RL) teaches agents in pricing and trading. Small LLMs trained by RL learn what their training rivals reward, but only what they readily try. In self-play, they learn fixed rules ignoring their rivals; against a punishing rival, to be deterred; against a cheating rival, to match its cuts, never the costly price war that would deter it, which they rarely try. A war forced into training is learned, but mostly only where it was forced. Against their own copies, deterred and matching agents can earn the same cartel profits, but only matching ones can enforce them, and then thinly: as a by-product and only against large cuts. Q-learners enforce collusion only in pricing. Prompted LLMs reach cartel-like outcomes mostly through rules that ignore the market. Outcome measures cannot tell these cases apart; the audit can.

论文详情

SkillEval: Learning Interpretable Ability Profiles of LLMs via Cognitive Diagnosis Models

Current evaluation of LLMs on benchmarks typically aggregates performance over individual examples into a single scalar score. This approach is overly coarse and ignores the diverse scope of skills covered by benchmark datasets. To address this limitation and better exploit benchmark data, we propose SkillEval, a new evaluation framework that performs cross-model, skill-level analysis. The framework integrates advances from two areas: (1) it leverages the meta-cognitive capabilities of LLMs to automatically discover interpretable skills from questions, and (2) it applies cognitive diagnosis models (CDMs) from psychometrics to estimate per-skill abilities of LLMs. We conduct experiments on 3,811 LLMs evaluated on 9,523 items across five benchmarks spanning diverse domains (MATH, BBH, GPQA, MuSR, IFEval). Compared to the traditional average-based evaluation paradigm, SkillEval produces reliable, more calibrated and informative yet concise model profiles that more accurately predict model behavior on unseen items. We also demonstrate the utility of SkillEval in two downstream tasks: (1) LLM routing, which dynamically assigns each query to a capable but efficient model, reducing inference cost by over 60% while achieving improved performance, and (2) Computerized Adaptive Testing (CAT), where an unseen model can be efficiently evaluated using a trained CDM. Furthermore, we show that these skill profiles provide useful insights, for example, how benchmarks share skills and how instruction-tuned models differ from their base models.

论文详情

How Far Can the Gemma 4 Speech Encoder Go Without Changing Its Weights? Saudi and Gulf Arabic Speech Recognition with a Frozen and an Adapter-Augmented Encoder

We study the 305M-parameter audio encoder shared by Gemma 4 and EmbeddingGemma 2 (identical except for its final projection) for Saudi and Gulf Arabic speech recognition, without changing any of its weights. A frozen system trains only a 22.6M-parameter CTC reader over a mix of encoder layers; an adapted system adds 3.1M low-rank adapter parameters, a 41.5M-parameter hybrid CTC/attention reader and joint decoding with a sub-word language model. Against Cohere Transcribe Arabic (2.07B parameters), re-run on identical audio, the frozen system trails in word error rate (WER) but is statistically indistinguishable in character error rate (CER) on five of six human-labelled conditions, while running 3.4 times faster on CPU with greedy decoding. The adapted system is statistically indistinguishable in WER on a public Saudi customer-service call (19.20% against 19.27%) and on clean Emirati speech, is significantly better on telephone-coded Emirati speech, has a significantly lower CER on all six conditions of these sets, and beats a 0.6B recogniser fine-tuned on SADA in WER on all six; it still trails Cohere in WER on long-form Saudi speech. On a blind, human-corrected public call-centre sample it ranks 4 of 15 systems, behind three commercial APIs (significantly only one) and ahead of the other self-hostable systems by point estimate. An optimised joint decoder runs it at 139 times real time on one GPU. We also show that references made by correcting machine drafts favour the drafting system. Code and public-set results are released.

社区详情

资路:个人与家庭资产管理工具,支持投资交易、历史报表和 AI 批量导入

这是我们开发的一套侧重深度管理与分析的个人及家庭资产管理工具。 将日常收支、资产负债、投资交易等财务数据统一管理。通过持续记录,不仅可以看到当前的资产状况,还可以回顾过去任意时间的财务状态,分析家庭财富是如何变化的。 不仅知道现在有多少钱,还能知道自己曾经有多少钱,以及这些钱是怎么增加或减少的。 支持股票、基金、两融、期货、期权、债券等投资交易,能够统计投资收益、分析历史持仓和交易行为,了解投资过程中的盈利与亏损。 所有报表都支持自定义筛选,可以按账户、金额、标签、所有者、记录类型等条件组合出不同的统计口径。例如,很多人房产占资产的大头,那么很多资产波动,在房产面前都会看起来波动很小,这时排除房产等大额资产,单独观察现金和投资资产的变化,而不被房产价值的波动掩盖就会比较大的意义。 系统的账户余额、投资持仓及历史报表均由财务记录计算生成。即使补录或修改过去的记录,相关历史数据和报表也会重新计算,不需要逐期手工调整。 支持多位家庭成员共享帐本,支持 PC 与手机多端使用。 AI 能力的应用,支持通过 AI 批量识别微信、支付宝、银行流水及证券对账单,确认后批量入账,高频操作基本上不需要一笔笔记,并内置了 AI 分析的一个 agent ,可以通过对话让 AI 来分析自己的数据 一 月度分析报告 1.看本月的资产变化归因。不仅是要看到本月的净资产是涨了还是跌了,还要看比如资产涨了,那到底是收入增加了,还是投资上挣的,又或者是其它的原因。 2.看本月的收支与过去一年的平均月开支做对比,比如食物,过去一年每月是 5000 ,这个月是 6000 ,那说明食物这个月多开支了 1000 块。当然,我们并不是为了让用户去省钱,只是让用户看明白 3.做一些风险分析,比如现金流可以扛多少个月,负债比有多少 二、资产负债表 支持查看任意历史日期的资产负债情况,并可选择两个日期进行对比,查看各账户资产和负债的变化。结合自定义筛选,可以按照不同统计口径查看历史变化。 三、收支统计表 看看自己今年赚多少,支出了多少,盈余了多少。这张表仅包含收支相关,不看投资、不管转帐,纯粹从收入支出上看来自己的财务状况是不是够健康。也支持数据筛选。 ========================以下是投资分析功能============================================= 四、计划你的交易,交易你的计划 从制定计划,到执行,过一段时间后再进行复盘的一套流程化工具。后续还可以通过 AI 分析自己的交易计划,哪些是符合预期的,哪些是失败的 五、证券资产每日变动 可以看到每日/每月的盈亏情况(细分到各个投资标的的盈亏),行情数据是盘后更新。 柱状图可以直观的看到,哪天大赚,哪天是大亏,盈亏主要是由哪些标的引起的 六、投资记录 将卖入与卖出串起来,看到每笔交易的盈亏。也可以将当时的卖价与现在的价格做对比,看看是卖飞了还是卖对了。 七、持仓分析 每一笔投资交易,可以支持打上多种自定义的维度标签。在持仓分析中,从各种维度来看占比 支持看过去任意一个日期的持仓 八、AI 分析能力 报表再多,也不可能满足所有人的分析需求,而 AI 则可以让用户更加个性化的做自己想要的分析。我们内置了一套针对资路数据的 AI Agent 。通过与 AI 对话,分析我们的财务数据。我举一些例子: 让 AI 帮自己复盘一下过去一年的投资交易行为。AI 可以通过分析计划行情情况,盈利情况,买点卖点在行情上的位置等等来综合评价自己的投资行为。 做一些极端压力测试。比如让 AI 假设自己失业了,然后可以支撑多久,需要注意哪些问题 分析自己整体的财务健康状况。让 AI 看着自己的数据,自由评价。 九、AI 批量录入 如果说像资路这样的家庭财务总帐系统,数据分析是其核心价值,那么数据录入就是其核心成本。一条条的录入估计可以让相当一部分消耗掉自己的意愿。 现在的 AI 对于数据录入的解决,已经是相当友好了,微信/支付宝,银行流水、对账单这类高频行为,统统让 AI 干吧。我们自己测试了一下,使用 AI ,基本上 3-5 分钟就可以完成一次批量录入。1 周花个几分钟搞一下。数据录入的成功已经不算太高。 最后,怎么使用: 1.访问 zilu.me ,支持 PC/手机 2.微信关注 [资路] 公众号,从公众号进入。 目前数据存储在云端,后续我们会推出 APP ,以支持用户将数据保存在本地

社区详情

有没有佬上班的时候就喜欢逛论坛,下班就完全不开电脑

linux.do21 帖子18 参与者

上班的时候总有些奇奇怪怪的想法,刷论坛,看技术, 就是不对正经工作感兴趣 例如工作上需要解决一个问题,简单的方式A就可以解决,但兜兜转转又看了具体的仔细实现,与之关联的项目B、C、D … 半天时间过去了 或者是工作5分钟,耍炒股软件10分钟、逛论坛10分钟、刷小红书10分钟。 如此往复… 下班想自己充充电,回家就躺在床上啥都不想干了

社区详情

程序员有什么传统行业可以转?

linux.do34 帖子25 参与者

以前我跟着亲戚干过装门头(暑假工),也是属于高空作业了,切一切钢管,烧一烧电焊(反正能焊住就行了,一些超薄的方钢0.5还是0.8的我是根本焊不住,也很丑),然后搞一搞铝塑板,打一打玻璃胶,接一接发光字的电源线,一天下来也比较累,当天活比较多俩人(带一个小工就是我)干1000块是有的,基本寒暑假都去干,也干了很多年,大西北那个地方,冬天接线冻的手都伸不开,后面毕业就开始干后端,然后到现在也干了6年多了,这家公司干了快5年了,一直在狗着,也不是传统的科技公司,属于制造业吧,工资也就不到2,虽然被辞的概率比较小,但是以后随着行业发展啥的肯定还是有很大的概率被辞,还是得想一想转什么行业好一点,趁着年轻还能给以后找个退路,这一行真的是悲催,之前我发小干的西餐,我不去,现在薪资其实差不多,但是这方面的担忧就比我要稳定的多,就和金铲铲那个海克斯一样(好像是变形重组器),当时不懂,一下子给我养成的阵容打散从头再来

社区详情

4 agron 的 pro 账号的额度体感只有 20x 的 1/50

这两周一直在高强度蹬 20x 的账号,根本蹬不完。昨天发现 pro 小号能用 4 了,就上去测了 2 个 5 小时。一个小时出头就没了,额度远高于 20x 的 1/20. 20x 账号额度经常回调,经常下了百分之二,过一会涨回来了,pro 好像从来没有。 到底是 20x 额度给多了,还是 pro 降额度了啊。

社区详情

[问与答] 关于婚前婚后的两性关系,到底要怎么处理

[写着写着发现很乱,但是是想改了,乱也是真实的想法] [没在原贴发是因为大家很容易绕回楼主🐢的事情,没有跳出单件事情讨论] 今天看到两个 00 后结婚的帖子: https://v2ex.com/t/1250834?p=1#reply130 , 下面有人说 [有时候在想,能上 v2 的应该认知不能够太下沉吧,怎么一碰到男女关系这种事就跟脑子丢了一样?] 这是很常见的事情,看到太多太多了。这应该是另外一个课题吧?目前摸鱼学到的就只有多经历才能学会这些。但很多人其实没有这部分的经历。 我自己也处理不好这方面的事情,同时已经工作几年有点小存款,结婚年龄也到了,虽然现在变回孑然一身的状态,但摸鱼看多了这种帖子难免有些恐婚。 当然,最重要的是我开窍确实比较晚,错过了高中大学的颜值巅峰期。不开玩笑,当年跟过几个不同的女同学和学妹单独出去逛街,看电影,逛公园,但我不知道对方的意思,以为就是好朋友。。。好吧,我以前确实傻逼,不会这方面的事情也不去好好学习,纯浪费黄金阶段了。 目前摸鱼学到的就是: 现实是结婚肯定是两个人甚至两个家庭的事情,不可能把钱分的特别清,这或许需要摸索怎么处理。家务能用钱解决最好可以花钱解决(扫地机,洗碗机,洗衣机,烘干机之类的东西)。钱肯定不可能交出去,最好是有一个共同账户,约定好每个月每人放多少进去,每个月有一次对账。 发现说的有点乱,说到底其实还是看人,前期发现对方巨婴或者有某些不好的就赶紧跑路。。。。。。无解了,还是要多经历。 刻板印象做技术的相对宅一些,经历自然就少了一些,龟概率更高一些了属于。好吧,再次无解。

社区详情

[远程工作] <远程>agent 架构师

AI 平台架构师 / AI 基础设施架构师 岗位方向:AI Platform / Agent Infrastructure / Cloud Native / GPU Infrastructure 经验要求:8 年以上开发/架构经验,3 年以上 AI 相关项目经验优先 岗位职责 负责公司 AI 平台及 AI 应用基础设施的整体架构设计与技术落地,支撑 AI Agent 、AIGC 图像/视频、大模型 API 、模型推理等业务稳定运行。 不仅要求具备传统后端及云原生架构能力,还需要理解当前 AI 应用的技术体系,能够完成从: AI 应用 → Agent → 模型服务 → GPU 算力 → Kubernetes → DevOps → 可观测性 的完整技术架构设计。 1. AI 平台架构 负责公司 AI 平台整体技术架构设计、技术选型及核心模块建设。 负责 AI Agent 、LLM 、AIGC 图像/视频等业务的基础架构设计。 建设统一 AI Gateway ,对接 OpenAI 、Claude 、Gemini 、DeepSeek 、Qwen 、MiniMax 及私有部署模型。 设计统一模型调用层,实现模型路由、Fallback 、负载均衡、限流、熔断、重试及成本控制。 设计 Agent Runtime / Tool Runtime ,支撑 Tool Calling 、MCP 、Workflow 、异步任务等能力。 建设模型、Prompt 、Agent 、Workflow 的版本管理和发布体系。 负责 AI 服务高可用、高并发、可扩展架构设计。 2. Python / Go 后端架构 熟练使用 Python + Go 进行后端及基础设施开发。 Python 方向熟悉 FastAPI 、Pydantic 、AsyncIO 、Celery 等常见技术。 Go 方向熟悉 Gin 、Fiber 、gRPC 等技术体系。 熟悉 REST API 、WebSocket 、SSE 、gRPC 等通信方式。 熟悉微服务、分布式系统、任务队列、缓存、数据库及对象存储等基础架构。 能够针对 AI 长任务、GPU 任务设计异步任务系统。 具备高并发、限流、熔断、降级、幂等、重试、分布式锁等实际工程经验。 3. Kubernetes / 云原生 精通 Kubernetes 生产环境部署及运维。 熟悉 Deployment 、StatefulSet 、DaemonSet 、Job 、CronJob 、Service 、Ingress 、HPA 、PVC 等核心资源。 熟悉 Helm / Kustomize 。 能够设计多 Namespace 、多环境、多集群部署架构。 熟悉 Pod 调度、资源限制、健康检查、滚动更新、自动扩缩容。 能够快速定位 Pod Pending 、OOMKilled 、CrashLoopBackOff 、MinimumReplicasUnavailable 等常见问题。 熟悉 GPU Kubernetes 调度,包括 NVIDIA Device Plugin 、GPU Resource 、Node Selector 、Affinity/Taint/Toleration 等。 有 EKS / ACK / GKE / Azure AKS 等公有云 Kubernetes 生产经验优先。 4. GPU / AI Infra 理解 GPU 推理服务的部署和资源管理。 熟悉 NVIDIA GPU 、CUDA 、显存、GPU Utilization 等基本概念。 能够设计 GPU 资源池及任务调度机制。 熟悉多 GPU / 多节点推理场景。 熟悉模型加载、模型缓存、冷启动、显存回收及 OOM 处理。 理解 FP16 / BF16 / FP8 / INT8 / INT4 等推理优化方式。 有 vLLM 、SGLang 、TensorRT-LLM 、Triton Inference Server 等经验优先。 有 ComfyUI / Diffusers / 图像视频生成任务的 GPU 调度经验优先。 5. CI/CD &amp; DevOps 负责公司 AI 系统完整 DevOps 体系建设,包括: Git → Build → Test → Image → Registry → Deploy → Monitor → Rollback 熟悉 Git / Gitea 。 能够基于 Gitea Actions / Drone / Jenkins / Argo CD 等建设自动化流水线。 熟悉 Docker 镜像构建及镜像优化。 熟悉 Harbor 或其他 Docker Registry 。 熟悉 Helm 自动化部署。 熟悉 GitOps 。 能够设计 Dev / Test / Staging / Production 多环境发布体系。 支持灰度发布、滚动发布、蓝绿发布及快速回滚。 建设代码、镜像、配置、模型、Workflow 的版本追踪体系。 6. 云计算架构 熟悉 AWS / 阿里云 / 腾讯云 / GCP 等至少一种主流云平台。 熟悉 VPC 、Subnet 、NAT Gateway 、Load Balancer 、安全组、DNS 等基础网络。 熟悉对象存储 S3 / OSS 。 熟悉 CDN 。 熟悉云数据库、Redis 、消息队列等云服务。 能够设计跨区域 / 多云架构。 能够针对 AI GPU 业务进行云资源成本优化。 有混合云 / 本地 GPU + 云 GPU 架构经验优先。 7. 可观测性与稳定性 建设完整的: Metrics + Logs + Traces + Alerts 可观测体系。 熟悉: Prometheus Grafana Loki / ELK / OpenSearch OpenTelemetry Jaeger / Tempo 能够针对 AI 系统建立: API 请求耗时 Token 消耗 模型成功率 Agent Task 成功率 Workflow 执行时间 GPU 利用率 GPU 显存 Queue Length 模型推理耗时 单任务成本 等关键指标。 负责线上故障定位、容量规划、性能优化及稳定性治理。 任职要求 必备能力 计算机相关专业本科及以上学历优先。 8 年以上软件开发 / 架构相关经验。 有大型互联网系统、AI 平台或云原生平台架构经验。 熟练掌握 Python 和 Go ,至少一门达到高级水平。 熟悉 Linux / Docker / Kubernetes 。 有 Kubernetes 生产环境实际管理经验,而不仅仅是部署过 Demo 。 熟悉微服务及分布式系统设计。 熟悉 MySQL / PostgreSQL / Redis / MQ / Object Storage 等基础组件。 熟悉 Gitea / GitLab / GitHub 等代码管理体系。 有完整 CI/CD Pipeline 建设经验。 熟悉至少一种主流公有云。 有良好的系统设计能力。 简历投递联系 telegram @ nini0804

社区详情

[生活] 关于手动剃刀,最近从吉列换成舒适了,消费降级,体验没降。

一直用的是吉列的锋隐致护刀头,用了六年,感觉耐久度越来越低,我一周差不多刮个五次左右,一个多月就感觉刀头钝了,剃须时有拉扯感,想要有更好的剃须体验,只能换新刀头。 查了一下,吉列在出了新款后,会把老刀头转到越南工厂生产,现在只有最新的极光系列刀头是在美国产的,本来想直接换成极光的,发现极光的刀头真是一点不便宜,8 个刀头 200 元,基本上要 25 一个。 然后在检索信息时才知道舒适这个牌子,盒刀里份额排第二,但是之前一点没听过,新出的 pro 外形不错,135 买了一个刀架加五个刀头,又花了 110 买了 8 个刀头,如果不买新款刀头,水次元 5 刀头大概 10 元一个。 剃须体验上和锋隐致护没什么区别,耐久度还有待观察,性价比目前来看绝对是比吉列高不少。 没用手动剃须之前以为手动省钱,其实手柄基本上是白送的,剃须泡沫和刀头才是厂家赚钱的地方。

论文详情

Self-Improving Agents with World Model Predictive Paths

具有世界模型预测路径的自改进智能体

大型语言模型(LLM)智能体日益被期望与环境交互,并在部署过程中改进其决策。然而,如何将预判未来结果与利用积累的交互经验共同支持决策,仍未得到充分探索。我们提出了一个受模型预测路径积分(MPPI)控制启发的测试时框架,将多分支预测分析与基于经验的适应相结合。在每个步骤中,智能体提出多个候选动作,并用世界模型想象其结果,从而无需在环境中执行即可比较不同方案。由于语言环境既不提供显式动力学也不提供成本,预测结果会针对任务进展和风险进行评估,并对所得成本施加 MPPI 风格权重以指导最终决策。双分支经验记忆实现了自我改进:规划器分支改进候选生成和动作选择,而世界模型分支改进下一观测预测。在 ALFWorld 和 ScienceWorld 上跨三个骨干模型的实验表明,我们的方法具有强劲的整体性能,以及经验引导的预测控制的有效性。我们的代码将公开。

论文详情

D-Skill: Distilling Teacher Knowledge through Agent Skills

D-Skill:通过 Agent Skills 蒸馏教师知识

前沿语言模型 Agent 在复杂任务上表现出色,但高昂的推理成本使得将其能力迁移到更小的模型上变得至关重要。传统知识蒸馏通过参数更新实现这一点,这需要访问学生的权重并额外消耗训练算力,同时将迁移的知识隐式编码在参数中。我们提出 D-Skill,一个将教师视为黑盒的框架,通过分析成对的 rollout 并识别行为差异与一致之处,将教师的行为优势蒸馏为可解释的自然语言技能。由此得到的经验会在离线状态下,借助任意兼容的技能更新后端进行整合,形成一份技能文档,并在推理时提供给学生的模型。D-Skill 完全离线地从固定轨迹构建技能,无需标签、无需进一步的环境交互,也无需在 rollout 收集后进行权重更新。在 SpreadsheetBench-Verified、ALFWorld 以及国际象棋谜题上,涵盖多组教师-学生配对,D-Skill 在不触及模型权重的情况下弥合了 75%-95% 的师生差距。在对成对轨迹进行一次离线处理后,D-Skill 的表现优于单轮 SFT 基线,并与多轮 SFT 保持竞争力。在同一模型系列下,得到的学生模型每任务推理成本也比教师低 5.7 倍至 8.3 倍。我们的结果表明,自然语言技能蒸馏提供了一种性能优异、可解释且高效的替代方案。

论文详情

DiffResearch: Accelerating Deep Research with Diffusion Language Models

DiffResearch:利用扩散语言模型加速深度研究

深度研究系统会迭代地进行规划、收集证据、综合与修订,使得端到端延迟成为交互式使用中的关键瓶颈。几乎所有生产系统都构建在自回归(AR)语言模型之上,并在规划和长文本写作中继承从左到右的解码方式。我们提出 DiffResearch,一个开源多智能体深度研究框架,将扩散语言模型(dLLM)置于每个阶段的核心,并衡量扩散骨干模型如何改变延迟和报告质量。在保持智能体脚手架、检索代码、提示词和评估不变的情况下,我们在开源扩散模型与可比 AR 模型之间替换骨干模型。在 100 个 Deep Research Bench 任务上,扩散骨干模型的端到端速度约快 6 倍,这主要得益于规划和写作环节的数量级加速。我们进一步提出 dFast,一种分解模式,它在生成完成前读取中间去噪状态并提取子查询,使单独分解的中位加速达到 1.99 倍,且报告质量没有损失。在该基准的 RACE 评分标准上,dFast 在三种配置中获得最佳总体得分。最后,在公开的系统级排行榜快照中,一个基于更强扩散模型构建的实例排名高于多个商业系统。我们以 Apache-2.0 许可证发布 DiffResearch。

论文详情

Fig: Automated Multiagent Behavior Elicitor

Fig:自动化多智能体行为诱导器

许多面向多智能体系统的社会评估研究的是行为如何从环境中涌现,而不是系统性地干预环境以诱导这些行为。我们提出 Fig(Finding Interactions in Games),一个对游戏环境执行定向诱导干预的智能体系统。它接收自然语言的行为描述,将其分解为子行为,生成新的社会游戏或选择现有游戏,并对游戏引擎、对手、指令和上下文执行单一或组合干预。为评估模型行为,它结合内置机制检查和合成评分标准判断。我们通过人工评审验证了干预、生成的游戏和评估机制。对于 Fig 为六种测试行为——合作、利用、欺骗、隐蔽协调、背叛和破坏——生成的有效场景,模型平均在 45.2% 的回合中尝试目标行为。对于有可用对照的游戏-行为对,与匹配的对照游戏相比,Fig 的干预将尝试率平均提高 10.9%。Fig 表明,多智能体环境可以作为可编程测试平台,用于有意、可控且可复现的行为评估。代码见 https://github.com/fleet-ai/fig。

论文详情

Speedrunning Relational Foundation Model Pretraining

速通关系基础模型预训练

基础模型预训练的进展受限于谁能负担得起一次试验,关系型预训练也不例外。各种配方在各自实验室内部开发,以私有协议报告,无法积累。速通排行榜通过去中心化搜索而非去中心化训练运行来消除这一障碍。问题固定、技术栈开放,参赛条目按达到质量目标所需的实际耗时排名,且一块 GPU 就足以保持纪录。我们推出 modded-nanoRT,这是首个针对 Relational Transformers 的此类排行榜。留出哪个数据库决定了基准能否分辨改进,因此我们通过校准来固定它,依据 45 分钟学习曲线将改进与种子噪声区分开的锐度对六个候选进行排名。我们以带类型的三线性注意力开启排行榜,这是一种关系算子,它根据所遍历的外键来调节注意力分数和值,并结合 Muon 与 SIGReg。该配方在一块 NVIDIA H200 上以 305.63 秒达到目标,比参考实现快 8.11 倍,并在开发数据库之外的 15 对比较中赢得 13 对。我们将发布基准、其冻结产物以及纪录运行。我们的代码可在 https://github.com/kunumi/nanoRT 获取。

论文详情

Decision language models as affordable and rapid alternatives to LLM judges of clinical generative AI

决策语言模型:临床生成式AI的LLM评判器的高性价比快速替代方案

对临床人工智能(AI)输出进行自动化评判是必要的,但大规模使用时,大语言模型(LLM)评判器的成本高、速度慢。我们将 Jev 这一返回结构化判断的决策语言模型与前沿模型和开放权重 LLM 评判器在四个用例上进行了比较。在 118 条儿科回答上,Jev 与医生序数质量评分的一致性(Gwet's AC2 为 0.50;期望得分为 0.53)达到或超过了 12 个 LLM 评判器中的 7 个,其中包括前沿模型 Claude Opus 5.5(0.49)和 GPT-6(0.38)。在由医生评分的二元 HealthBench 标准上,Jev 达到或超过了 6 个 LLM 评判器中的 4 个。在 MedHELM 的开放式任务上,Jev 与由三个 LLM 组成的评审团的一致性接近或超过了评审团内部的一致性。在 HealthBench Professional 上,Jev 在 91% 的标准上与基准的参考评判器 GPT-5.4 一致(其他评判器为 91–93%)。前沿评判器的成本是 Jev 的 73–294 倍,耗时则是其 7–57 倍。Jev 有望实现大规模、高效的临床 AI 评估。

论文详情

Automating ML for Science: Can Frontier Agents Climb Scientific Hills in the Wild?

自动化科学中的机器学习:前沿智能体能否在真实环境中攀登科学高峰?

前沿编码智能体正日益被塑造为端到端自动化研究者,而“面向科学的机器学习”为这一承诺提供了严苛的检验:改进一个科学模型往往需要超越常规机器学习工程的领域洞察。我们推出 Agent4Sci,这是一个长时程测试平台,用于衡量当今智能体能在多大程度上改进科学机器学习基准上已发表的最佳模型,覆盖 11 个领域的 20 个基准。Agent4Sci 并不对智能体进行排行榜排名,而是考察智能体在真实环境中能在这些任务上取得何种进展,以及它们在何处存在不足。实证上,当今前沿智能体在每个基准上都超越了已发表的最佳结果,其中 Claude Opus 达到 10.4% 的平均相对改进,且没有任何运行被标记为学术不端。然而,这些增益几乎完全来自一套机器学习工程技巧,而非研究层面的洞察。轨迹分析揭示了该场景中三类反复出现的局限:新颖性误判、资源利用不足,以及迅速陷入局部工程式试错。用于研究构思、实验管理和定时检查清单的轻量级插件技能,将 Claude Opus 从 10.4% 提升至 20.1%,将 Codex 从 4.4% 提升至 8.1%,同时产生更多样、更贴合领域的干预。Agent4Sci 为社区提供了一种方式,用以追踪并推动前沿智能体从机器学习工程走向面向真实世界科学机器学习问题的领域洞察。代码和数据已在 GitHub 上提供(https://gi

论文详情

Scaling in Games: Continued Pre-Training For Embodied Agents In Diverse Virtual Worlds

游戏中的扩展:面向多元虚拟世界中具身智能体的持续预训练

扩展数据规模、数据多样性与模型容量已推动物理环境中的具身学习取得提升,在这些环境中,多样化的经验仍然根植于共享的物理规律。这些收益能否延伸到具有不同视觉风格、动态、控制方式和目标的虚拟世界,目前仍不清楚。我们通过沿三个维度——数据量、多样性以及模型规模——对持续预训练(CPT)开展的受控研究来考察这一问题。我们的 120 组训练配置涵盖从 0.8B 到 27B 的四种模型规模、从 50 到 1,600 小时的六档数据预算,以及从仅使用 Minecraft 数据到多样化多世界语料库的五种数据混合方案。我们使用三级验证损失以及从语料内世界到未见世界的游戏玩法基准来评估性能与泛化能力。结果表明:(1)更多数据可提升语料内表现;多样性可改善向相关世界的迁移,但在遥远世界上收益有限;模型规模可提升数据效率,但在单世界训练下向遥远世界的泛化更差;(2)我们观察到早期存在一个“接口阶段”,具有广泛的跨世界收益;后期则进入“世界阶段”,收益收窄至语料内与相关世界;并拟合出一个经验性扩展定律,将验证损失与数据量、多样性及模型规模关联起来;(3)我们的模型在 3D 世界中与 Minecraft 专家模型及前沿模型相比具有竞争力,并在实时场景中表现最佳。然而,模仿的局限性以及在遥远世界中持续存在的差距表明,t

论文详情

The Data Differentiator Framework (DDF): Quantifying Marginal Data Value with Information-Theoretic and Game-Theoretic Measures in an Agentic Evaluation Pipeline (SDSAE)

In data-rich enterprises the hard question is not whether a candidate dataset is good in isolation, but whether it adds information beyond what the organization already holds, and whether that increment is worth its price. We present the Data Differentiator Framework (DDF), a composite scoring method for candidate data assets that combines (i) a mutual-information-based redundancy penalty against the existing portfolio, (ii) a cost-normalized, significance-gated marginal utility score derived from an ablation study, and (iii) explicit governance inputs (trust, identity resolution quality, strategic weights) set by the business. The framework is executed by a staged pipeline, the Strategic Data Sourcing Agent Ecosystem (SDSAE), that short-circuits expensive model-retraining steps for assets failing governance or redundancy gates. Conceptually, the DDF extends the relevance-minus-redundancy principle of mRMR feature selection from the feature level to the asset level, and adds cost normalization, a statistical significance gate, and governance terms that per-sample valuation methods such as Data Shapley do not model. We validate the framework on the public credit-card fraud benchmark (284,807 transactions) with five constructed candidate assets spanning the redundancy spectrum. Only the genuinely differentiated asset passes the significance gate ($\Delta$AUC = +0.0029, DeLong $p = 1.4\times 10^{-9}$, Holm-corrected $p = 7.2\times 10^{-9}$) and receives an acquire recommendation (DDS = +0.663); the fully redundant asset scores lowest (DDS = -0.135). The recommendation is stable across 19 of 22 admissible strategic-weight configurations and across all decision thresholds in [0.15, 0.66]. We state clearly which quantities in the case study are computed from data and which are simulated governance inputs, and we discuss the design limits of a single-dataset evaluation.

论文详情

A Model-Free Continuous-Time RL Algorithm from Discrete-Time Off-Policy Data with End-to-End Guarantees

一种基于离散时间离策略数据且具有端到端保证的无模型连续时间强化学习算法

本文研究连续时间强化学习:其中状态遵循未知的随机微分方程,但仅可获得固定的一批离策略离散时间转移数据。随着采样间隔缩小,标准的离散时间 Q-learning 会出问题,因为动作值之间的差异会消失。连续时间替代方法(例如 Deep Advantage Updating 和 martingale q-learning)保留了动作信号,但会联合学习价值函数和依赖动作的 critic。基于 PhiBE-Q 公式(arXiv:2606.21925),我们开发了一个无模型的 PhiBE 策略迭代(PhiBE-PI)框架,该框架使用单一的状态-动作 critic,同时保留连续时间的动作排序尺度。在每次迭代中,该框架直接从采样的增量中学习 critic,并用其改进策略。同一批数据在整个过程中被重复使用,而无需显式估计漂移或扩散。我们进一步在线性函数逼近下开发了一种实现,并为所学策略建立了局部端到端次优性保证。我们的分析量化了时间离散化、函数逼近和有限样本策略评估产生的误差如何通过策略迭代传播。它考虑了连续策略对重用数据的依赖性,因此该保证不要求每次迭代都有新的一批数据。此外,我们识别出一种偏差-方差权衡:更小的采样间隔会改善 th

论文详情

Combating Catastrophic Forgetting in Continual Domain Adaptation via Knowledge Recasting

通过知识重铸应对持续域适应中的灾难性遗忘

在后期训练中将语言模型适配到新领域,存在削弱模型此前已获得能力的风险,这一现象通常被称为灾难性遗忘。现有缓解方法大多将遗忘视为模型过度漂移的结果,因此通过保留旧输出、回放旧数据,或对参数与表征的变化施加正则化来约束更新,使更新后的模型尽量贴近其先前状态。我们采取了不同的视角:与其把更新后的模型拉回旧状态,不如将新领域转译到模型已有的知识空间中,使陌生知识能够通过熟悉的过程被学习。为此,我们提出了 Skill Schema Transport(SST),一个将新知识传输到模型既有技能空间中的后期训练框架。SST 将每一类示例抽象为技能模式(skill schema),在保留其核心操作、依赖关系与验证步骤的同时,去除领域特有的表层形式。通过将新示例重铸为可复用过程的实例,SST 将知识更新从轨迹记忆转变为过程复用。在持续域适应设置中,SST 在提升对相关任务泛化能力的同时,持续减少遗忘。在两个 3B 指令微调骨干模型上,相较于顺序后期训练,SST 在流式领域上的平均最终性能提升 2.53 至 5.75 分。在所有评估设置中,SST 也降低了最大下降遗忘(max-drop forgetting)。

论文详情

Actually, All Learnable Distribution Classes Are Privately Learnable

实际上,所有可学习的分布类都是可私有学习的

我们证明,每一个能够在总变差距离下以有限样本学习到任意小目标误差的分布类,也能够在(ε, δ)-差分隐私下以有限样本学习到任意小目标误差。这证明了 Ashtiani 的一个猜想。Bun、Kamath、Mouzakis 和 Singhal 之前的工作 [arXiv:2402.00267] 对该猜想给出了一个弱反驳,表明当可学习性相对于固定目标误差定义时,这一蕴含并不成立。相比之下,我们证明,在标准的可学习性定义下,该猜想成立。

论文详情

How Much Gradient Does Truncated Backprop Lose in Looped Transformers?

Truncated Backprop 在 Looped Transformers 中会损失多少梯度?

Looped transformers 会多次复用一个层块,并且通常只通过最后 k 次循环进行反向传播来训练。我们在九个 looped 语言模型上,精确测量了这种做法丢弃了多少权重梯度,并针对一次反向传播中的每个 k 进行测量,报告三项发现。第一,在已训练模型上,这部分丢失的梯度在输出附近确定:一旦循环次数远高于 k,它几乎不随循环次数变化(在我们测试的三个模型上,从 32 次循环到 64 次循环变化约在 0.03 以内,这与一项针对 Parcae 的预注册测试预测一致)。在反向信号收缩的地方,$\rho^k$(其中 $\rho$ 是信号每次循环的拟合收缩率)在中等循环次数下能近似它,但在长循环次数下会高估,因为随着拟合纳入更多循环,拟合出的 $\rho$ 会向上漂移。在 Ouro 上信号会增长,而保留四轮循环中的两轮仍会损失最终输出梯度的 81%。第二,丢失的梯度在微调期间会下降:在四个模型中的三个上,300 步内下降 0.07-0.22,在留出问题上也是如此。这种下降不只是 read-out 所占的梯度份额;仅训练循环之外的层可复现其中多达一半的下降,而且在截断训练下它也会下降。因此,已训练模型上的数值会高估截断在之后移除的量。第三,我们无法证明它能比无需测量的规则更好地预测截断的训练成本:在两个新模型上,它在相同 k 下与 Parcae 的成本打平,而该测试规模太小,无法区分二者。

论文详情

When Do Gaussian Priors Fail? A Latent Geometry Investigation of RL Fine-Tuning

高斯先验何时失效?RL 微调的潜空间几何研究

潜扩散模型几乎普遍在 VAE 潜空间上放置高斯先验。对于基础生成,这一默认设置没有问题;然而在强化学习微调下,它带有结构性限制。标准 VAE 的 KL 项不仅忽略模态结构——它还会主动惩罚分离性与紧致性。当数据是多模态的,ELBO 最优会把不同模态压缩到一个重叠的潜表示中。RL 微调会放大这种重叠:score network 在模态之间的鞍点区域分辨率不足,动态到变分的放大急剧上升,坍缩边界 beta_c 被推到远高于其变分尺度。在真实的 alanine-dipeptide Boltzmann 分布上,高斯先验 VAE 在 beta_c = 0.224 时坍缩,而模态跟踪的高斯混合先验在 0.00316 时坍缩,同一流程产生 71 倍差距。我们将这一差距追溯到一个单一几何中介量 d_min/(2 sigma_0),并通过受控干预验证因果链:在固定先验下移动几何,以及在匹配几何下切换先验(完全中介;先验标签系数 0.995x,95% CI [0.79, 1.25])。三源分解将放大定位到学习到的策略(ODE-solver 贡献为零,锚点失配有界);覆盖平台是模态分离先验的无条件收益,任何数量的 RL 容量都无法恢复。补救是有条件的:非高斯先验恰好在潜空间几何

论文详情

Towards Realistic Models of Change: A Causal Perspective on Decision-Making and Dynamical Systems

迈向更现实的变化模型:决策与动力系统的因果视角

尽管统计学习近几十年来取得了显著进展——这得益于大型数据集和数据驱动范式改变了科学实践——但它仍面临一个关键局限:难以泛化到未见过的数据之外,在分布偏移下常常失效。因果性提供了一种有前景的解决方案:因果模型关注变化的底层机制而非表层关联,从而能够在外部干预下进行稳健推理。这使系统不仅能从数据中学习,还能对假设情景进行推理、适应新环境并支持更好的决策。本论文分两部分探讨这些方法如何相互启发。第一部分考察算法补救(algorithmic recourse),即识别个体可以做出哪些改变以推翻不利决策。我们针对既有框架提出一种替代视角,主张采用更现实的成本函数、以因果术语重新表述该问题,并在策略评估中纳入时间维度。第二部分聚焦动力系统,将因果干预和因果效应的概念推广到离散与连续随机过程。我们表明,这些过程的平衡态及其在干预后如何变化,可以与结构因果模型(Structural Causal Models, SCMs)联系起来,后者被视为底层时间动态的压缩表示。我们论证此类时间……的相关性

论文详情

CALLIOPE: Private Insights into AI Use, Without Embeddings

CALLIOPE:无需嵌入,即可私密洞察 AI 使用情况

我们提出 CALLIOPE,这是一个自顶向下的框架,用于在大量非结构化数据(例如 LLM 对话)中发现主题层级,同时支持差分隐私(DP)。传统的乃至近期 LLM 增强的方法最终都依赖对向量嵌入进行聚类,而我们的框架则在整个流程中直接利用 LLM 的能力。实验表明,在 DP 设置下,尤其是在高隐私强度场景中,该方法相比现有(基于嵌入的)方法具有更好的效用。我们使用多种传统上研究的聚类指标,以及一些我们新引入的效用指标,来评估 CALLIOPE 输出的质量。

论文详情

Measure First, Then Allocate: Calibrated Rollout Budgets for MCP Agents in Reinforcement Learning

先衡量,再分配:面向强化学习中 MCP 智能体的校准式 rollout 预算

训练使用工具的语言模型需要昂贵的交互,但同一 rollout 组内完全相同的奖励无法提供组相对学习信号。我们利用奖励分歧来指导 harness 评估,并在 Model Context Protocol (MCP) 环境中为策略训练分配 rollout。我们首先提出 Discord,它使用精确配对推理和保持决策的早停来测试 harness 修改:只有出现分歧的配对结果才能说明一个 harness 优于另一个。这一洞见启发了 BRACE(Bank-calibrated Rollout Allocation under Correlated Episodes,相关回合下基于库校准的 rollout 分配)中的前瞻性分配。BRACE 结合历史任务证据、任务成功率的不确定性以及相关奖励模型,在分配生成预算之前预测混合奖励组。受控 harness 实验支持 Discord,而在线 MCP 实验揭示了一种留存成本权衡。在三个 Qwen3-VL 模型规模上,BRACE 以更少的新训练 rollout 超过了图中最强基线的峰值;历史库的收集单独计算。它还在不进一步训练的情况下,在 BFCL 和 NESTFUL 上领先于所比较的方法。消融实验考察了库、估计器和分配评分;前瞻性评估检查了预测校准。这些结果支持在生成之前预测奖励对比。

论文详情

Second Thoughts: Exploring and Planning through Comparative Imagination in World Models

三思:在世界模型中通过比较想象进行探索与规划

世界模型让智能体在行动前比较想象结果,但智能体仍须决定探索哪些备选方案,以及提议的计划何时应替换其已学习策略。我们提出 SDI(Sibling Disagreement in Imagination),通过共享的基于 actor 的参考将这两个决策联系起来。SDI 比较从同一模型状态想象出的动作序列,利用对 actor 自身序列的重复推演来度量固定行为下的变化。该参考同时缩放候选回报之间的离散程度(提供探索信号)和提议计划的预测优势(决定动作接受)。当计划动作的优势以固定倍数超过参考变异性时,智能体执行该计划动作;否则遵循 actor。SDI 复用基础智能体的世界模型、actor 和 critic,无需额外的分歧集成。探索与规划指导训练数据收集,而评估仅使用学习到的 actor。在 Meta-World、Adroit 和 DM-Control 上,SDI 在每个套件中取得的观测任务平均分均高于所有对比基线,并在 18 个任务中的 15 个上达到或超过最强基线的性能。组件消融和鲁棒性分析进一步考察了探索、规划暴露和动作接受的作用。来自相同模拟器状态的配对评估表明,该门控既改善了从 actor 失败中的恢复,也改善了对成功行为的保持。

论文详情

Motion Equivariant Convolutional LSTM: When Motion Becomes a Gauge Symmetry

运动等变卷积 LSTM:当运动成为规范对称性

物体移动、相机平移、天气随风漂移:序列数据中变化的很大一部分是运动。运动改变的是事物所在的位置,而非事物本身,因此它是数据的一种对称性。然而,标准循环网络对其并不等变:输入在移动,而它们的记忆却停留在原地。流等变循环网络首次将这种对称性引入序列模型,针对恒定速度的运动(即流),通过枚举一组速度来实现。我们在三个方向上扩展了这一思想:从简单循环网络到卷积 LSTM,从流到速度随时间变化的运动,以及从枚举速度到估计速度。将序列视为时间上的场,我们表明运动成为规范对称性:一种在时间上局部化的全局对称性。基于这一视角,我们的运动等变卷积 LSTM(MELSTM)将其速度模型用作规范场,并可证明对任意运动等变。在未来帧预测、仅通过运动可见的数字分类以及相机抖动下的动作识别任务中,MELSTM 在相同参数量下优于卷积 LSTM 及其流等变对应模型:它更准确,能泛化到更长的时间范围和未见过的运动,并且只携带流等变模型一小部分的状态。

论文详情

Offline Apprenticeship Learning for Human-Centric Environments

面向以人为中心环境的离线学徒学习

在以人为中心的环境(如智能辅导系统(ITS)和临床医疗)中,有效的决策需要具备自适应、数据高效且可合乎伦理地部署的策略。学徒学习(AL)通过恢复潜在的奖励结构,直接从专家演示中推断策略,从而支持无需与环境交互的严格离线学习。本论文围绕两个挑战——奖励建模和演示质量——提出了一系列逐步发展的离线 AL 框架。在奖励建模方面,EM-EDM 根据潜在奖励函数对演示进行聚类,并归纳出特定于簇的策略;THEMES 在分层学习的奖励调节器引导下,将轨迹划分为时间连贯的子轨迹;在一个教育数据集和三个临床数据集上,THEMES 优于扁平与分层 AL 基线。在演示质量方面,HALIDE 将连续质量信号整合到分层策略归纳中,使得在分布偏移下能够有原则地复用混合质量数据。CCHAL 进一步通过贝叶斯信用分配、对比专家与非专家行为的双臂关键性评分,以及针对失败轨迹的 Bradley-Terry 对比 IRL 目标,将质量归因到个体决策;在三个临床 EHR 数据集和一个 ITS 数据集上,其表现优于包括 HALIDE 在内的基线。最后,对 StuEDM 的真实课堂评估,这是一种由 EDM 诱导的策略,保留了 s

论文详情

STAR-XPC: Set Transformer for Estimating X-ray Transmission in Polymer Composites

STAR-XPC:用于估计聚合物复合材料中 X 射线透射率的 Set Transformer

在辐射屏蔽研究中,评估 X 射线束穿过聚合物复合材料的能量透射率是一项具有挑战性的任务。采用蒙特卡罗输运模拟的参考解决方案精度很高,但计算成本高昂:我们的每次参考模拟最多限制为 $4\times10^9$ 个光子历史,且时间上限为 20,000 秒(超过 5 小时),而闭式解析方法无法表示如此复杂的场景。我们提出一种人工神经网络模型,可将分子组成成分的无序多重集、其质量分数以及四个体相物理描述符直接映射到透射率 $I(t)/I_0$,耗时 1-3 毫秒。该模型是 Set Transformer,其构造本身具有排列不变性,并可在固定大小的填充集合中接受最多 11 种组成成分的不同规模混合物。每个组成成分均使用化学预训练的 transformer 语言模型 ChemBERTa 进行嵌入。在我们提出的方法中,训练数据由自动化 PENELOPE/penEasy 流水线生成,使用管电压为 30、80、100 和 120 kV 的辐射源,作用于厚度范围为 0.15-2.5 mm 的聚乙烯基屏蔽复合材料板。经过预处理后,数据集包含 $n = 4697$ 个模拟配置,并在其上执行无泄漏、联合分层的 10 折交叉验证,达到均方误差 MSE = $(1.12 \pm 0.56)\times10^{-4}$、归一化 MSE 百分比 NMSE% = 0.0294% $\pm$ 0.0147%,以及 $R^2 =

论文详情

Scalable Stress-Constrained Topology Optimization: A Super-resolution and Simultaneous Approach Based on Machine Learning

可扩展的应力约束拓扑优化:一种基于机器学习的超分辨率与同步方法

大规模拓扑优化(TO)仍然在计算上要求很高,尤其是对于应力约束问题。为应对这一挑战,我们提出了同步神经拓扑优化(SNTO)框架,其中我们用自定义神经网络(NNs)表示状态变量、伴随变量和设计变量,这些网络的参数在单个优化循环内联合优化,该循环利用连续伴随分析和自动微分。该优化最小化一个多分量损失函数,该函数结合了设计目标、局部应力约束的聚合以及势能泛函。我们的NNs具有一种独特架构,可加速收敛,同时使网络能够捕捉对应力约束TO至关重要的尖锐梯度和边界。为实现对数百万自由度(DoF)的可扩展性,我们开发了一种硬件感知训练方案,其中设计域被划分为子域,并分布到多个GPU上。为控制GPU峰值内存使用,我们进一步将每个子域切分为更小区域,其损失梯度按顺序评估并累积以更新NN参数。与区域分解方法不同,我们的划分自然确保了子域间的场连续性,且无需在损失函数中引入额外项。为进行验证,我们首先在各种二维应力约束基准测试上评估所提出的框架

论文详情

Interaction-Gated Time-Frequency Learning for Parameter-Efficient PPG-Based Heart Rate Estimation

用于参数高效 PPG 心率估计的交互门控时频学习

光电容积脉搏波(PPG)能够实现低成本、非侵入式的心率(HR)监测,但仍易受波形失真、生理变异和测量干扰影响。时域波形特征与频域周期性为 HR 估计提供了互补信息;然而,在紧凑模型中有效探索并整合这些表示仍具挑战。本文提出 TF-IG,一种用于基于 PPG 的 HR 估计的参数高效交互门控时频学习框架。TF-IG 采用双分支架构,其中时域分支通过空洞深度可分离卷积捕获脉搏形态,频域分支从有界对数谱图表示中提取心脏周期性信息。为结合两个域,我们引入交互门控融合模块,显式建模特征一致性与差异性,同时学习特征级权重以平衡时域与频谱信息。参数共享回归头进一步将时域、频谱和融合表示映射到最终 HR 预测空间。在基准 BIDMC PPG and Respiration Dataset 上,采用受试者独立训练、验证和测试协议进行的实验表明,TF-IG 取得 1.227 BPM 的平均绝对误差(MAE)、2.060 BPM 的均方根误差(RMSE)、0.9934 的 Pearson 相关系数,以及 92.28% 的估计值落在 3 BPM 以内,同时 r

论文详情

Beyond Binary Labels: Diagnostic Evaluation of LLM Safety with Prompt-Level Rubrics

Current LLM safety benchmarks predominantly rely on binary safe or unsafe labels, lacking explanatory depth and suffering from low consistency across automated judges. To address this, we introduce DiagSafe, a diagnostic evaluation framework that moves beyond binary classification by employing prompt-level rubrics. Grounded in globally applicable AI safety policies, each rubric provides explicit criteria along two dimensions: safety, which targets concrete harms with specific exemptions to suppress false positives, and usefulness, which independently evaluates instruction fulfillment. To ensure a robust and realistic evaluation, we construct a bilingual (English-Chinese) benchmark grounded in a comprehensive 84-label safety taxonomy, consisting of two subsets: DiagBase, which covers single- and multi-turn prompts with direct harmful queries and template-based jailbreaks, and DiagAttack, which embeds harmful intents into complex instruction-following tasks to form challenging instruction attacks. Extensive experiments demonstrate that DiagSafe significantly enhances the reliability of LLM-as-a-judge evaluation, achieving 95.34% agreement with human annotations -- substantially higher than the 69%-87% achieved by the baselines -- and high inter-judge consistency (Cohen's $\kappa$ = 0.864). Furthermore, applying our framework reveals that leading LLMs differ markedly in their unsafe rates, and each model also exhibits unique vulnerabilities along different dimensions. In addition, we observe that models are particularly susceptible in Chinese and multi-turn contexts. Ultimately, DiagSafe provides a reliable and explainable tool for auditing and optimizing LLM alignment.

论文详情

Understanding Target Probability Reuse in Speculative Decoding

Speculative decoding uses a target model to verify a tree of draft tokens in parallel. We study whether the resulting next-token distributions can help select the next tree. For unrestricted target models, we show that guaranteed exact reuse requires a distribution computed at the next round's complete context. We characterize when retaining this distribution requires sacrificing accepted tokens and establish conditions under which this loss persists across decoding rounds. Across six targets, we find that reranking first-token branches with a separately computed distribution at the current context improves expected acceptance over draft ranking, especially with small tree budgets. Drawing the first token from this distribution before allocating the tree further improves expected acceptance over pruning a preselected tree, even at equal mean tree size. In our experiments, both selection rules also decode faster than draft ranking when the separate target pass overlaps standalone drafting. Our findings show that making target probabilities available before tree allocation can improve the efficiency of speculative decoding. Our code is available at https://github.com/js-lee-AI/TargetRows.

论文详情

LTEM: LLM-Friendly Table-Enhanced Markdown for Table Understanding and Generation

Tables in real-world documents, including scientific papers, financial reports, and statistical summaries, frequently use merged cells, multi-level headers, and sectioned layouts. Yet the lightweight formats LLMs handle best (Markdown, CSV) cannot express these structures, while expressive formats (HTML, LaTeX) impose excessive token cost and parsing complexity. To enable systematic analysis of this trade-off, we introduce a taxonomy decomposing table structure into six atomic features (F1-F6) and corresponding complexity levels (L1-L6), and construct STB (Synthetic Table Benchmark), a controlled benchmark with 1,089 tables systematically distributed across complexity levels. Using this framework, we propose LTEM (LLM-friendly Table-Enhanced Markdown), a formally specified, minimal extension of Markdown that explicitly encodes spans and hierarchical headers. Experiments across five state-of-the-art LLMs show that LTEM achieves accuracy comparable to HTML, offers a favorable accuracy-token trade-off relative to HTML and LaTeX, and produces substantially fewer invalid responses than LaTeX; for table generation, LTEM is comparable to MultiMarkdown though HTML is best. We release our taxonomy, benchmark, and format specification to support future research on LLM-table interaction.

论文详情

Carving Radiology Reports at Their Evidential Joints: Anatomical Region Sets as Generation Units

Organizing radiology reports into independently generated units offers a way to generate fine-grained clinical content and bind it to visual evidence. However, existing methods typically adopt generation-unit structures not directly specified in natural reports or their annotations, introducing additional modeling compromises. We propose RadCarve, which instead defines generation units directly from the anatomical region sets in existing statement-region correspondences, unifying unit formation with visual evidence selection. RadCarve's planner uses composition-specialized query banks to jointly predict unit existence and region composition from the image, iteratively refining both with regional evidence aggregated according to current membership predictions. The generator independently produces each unit's text conditioned on the joint visual evidence of its predicted region set. Compared with strong baselines, RadCarve improves CXRFEScore by 9.4% in unit generation given region sets and achieves 2.4 times the end-to-end binding F1. It also achieves leading report-generation results on Chest ImaGenome and PadChest-GR, using fewer than one-sixth as many parameters as large-scale baselines.

论文详情

GRAFT: Restoring the Missing Sampling Interface in Continuous Diffusion Language Models

Continuous diffusion language models generate a whole sequence in parallel, never drawing a single word at any intermediate step; only the final step turns embeddings into text. Models such as ELF now report autoregressive-level quality at a fraction of the sampling steps of discrete-token diffusion models, and this design principle -- no step-wise discretization -- is what their own ablations credit for the gain. We show that this same principle carries a hidden cost: a collapse of the lexical long tail. Measured against held-out human text, ELF's output matches the human rate on common words almost exactly, yet its rarest words appear at only 0.30x the human rate, a gap that does not close from 105M to 652M parameters and that no sampler setting these models expose can reach. A same-size GPT-2, in contrast, spans zero to above the human rate by its decoding rule alone. We trace the difference to what continuous diffusion models lack: with no step that ever draws a discrete word, every step is instead driven by an average over the candidates still in play, and averaging a rare candidate together with the common word competing for its slot lands on the common word. An autoregressive model avoids this because its decoding rule samples one candidate rather than averaging over all of them. We propose GRAFT, a training-free method that grafts this missing choice back onto a frozen model: while the model is still undecided, GRAFT commits the rare words the average would otherwise discard, then regenerates the sequence from scratch with those commitments held in place. Across three ELF scales and on LangFlow, an independent continuous dLLM, GRAFT restores the rare-word share of generated text from 0.42-0.77x the human rate to 0.82-1.10x, a relative gain of 34-109%, and moves the entire word-frequency profile closer to human on every model tested, by 2.7x on ELF-B and 12x on LangFlow.

论文详情

A Large-Scale Evaluation of Role-Enhanced Zero-Shot Chain-of-Thought Prompting

This paper proposes Role-Enhanced Zero-Shot Chain-of-Thought (RE-ZS-CoT), a prompting framework that systematically integrates domain-specific expert roles to enhance reasoning in large language models (LLMs) without task-specific examples. We assess two versions of our approach. In the first version, static role selection, we evaluate eight predefined expert roles across arithmetic, commonsense, and reading comprehension benchmarks to determine their impact on reasoning performance. In the second version, dynamic role selection, each model autonomously selects the single most suitable role for each benchmark, enabling adaptive task-role alignment without manual specification. Across 20 LLMs and seven benchmarks, RE-ZS-CoT frequently surpasses zero-shot and zero-shot-CoT baselines, achieving performance improvements of up to 44 percentage points. The results reveal a strong correspondence between static and dynamic versions; the benchmarks where static roles yielded improvements were almost always those where dynamic roles also outperformed baselines, though static selection achieved peak performance. Ablation studies further show that unconventional roles degrade performance, underscoring the necessity of task-role alignment. The framework's scalability is validated across model sizes (2b-14b parameters), with smaller models like Granite3.3-8b achieving remarkable proficiency in arithmetic reasoning. RE-ZS-CoT advances zero-shot prompting by unifying role specialization with chain-of-thought reasoning, offering a practical, resource-efficient solution for improving LLM capabilities across diverse domains.

论文详情

Target Regeneration Shrinks the Gains of Draft-Training Objectives in Speculative Decoding

Speculative decoding accelerates large language models by verifying drafted tokens in parallel. New draft-training objectives are usually credited with the acceptance they add over cross-entropy on externally written responses, yet many pipelines let the target rewrite them. We ask how much of that gain survives. With a vision-language target and a block drafter, we train three objectives on four versions of one corpus: cross-entropy on corpus tokens, token-level distillation from the target, and distillation gated to positions that would survive verification. Distillation and the gate add large gains on external responses, but after greedy regeneration, distillation adds a smaller gain and the gate little or none. The shrinkage persists across data orders, position weights, verifiers, decoding temperatures and, for distillation, initializations and learning rates. Most of it remains at matched supervised length and at each objective's best measured training length. A second vision corpus shows the shrinkage, as does a text-only replication, for distillation also with an autoregressive drafter. Objective gains should therefore be measured against a target-regenerated baseline and across training lengths. Our code is available at https://github.com/js-lee-AI/TargetRegeneration.

论文详情

Scan or Index? large Evidence Coverage, Answer Quality, and Cost in Long-Document RAG

Scanning every passage in a long document seems thorough, but does it preserve more useful evidence or produce better answers? We compare 11 retrieval configurations spanning lexical and dense search, hybrid reranking, and full-document scanning with Jev, OpenAI Decisions, and Cloudflare Clef. Our evaluation uses 396 QASPER questions and 80 questions from eight complete textbooks, with common passages, a five-passage limit, and a fixed answer generator. On books, Hybrid + Jev achieves the highest observed evidence coverage (94.1%), compared with 88.7% for Jev full scan and 81.3\% for OpenAI dense retrieval. Full scans examine every passage initially, yet later reduction steps can discard relevant evidence. Higher evidence coverage also does not consistently produce better answers: Hybrid + Decisions achieves the highest observed book Answer Accuracy among retrieval methods (0.892), despite recovering less reference evidence. Full scanning incurs substantially higher latency on books under the tested deployments, while reusable dense retrieval has lower projected API cost than paid decision-based methods as queries accumulate. Most QASPER articles already fit within the hybrid candidate pool, limiting the benefit of scanning. These results highlight evidence retention, answer quality, and reuse cost as complementary criteria for choosing a long-document retrieval strategy.

论文详情

Is Refusal Direction Universal across Low-Resourced Languages?

Refusal directions have been shown to transfer cross-lingually with near-perfect effectiveness across safety-aligned languages (Wang et al., 2025), reportedly regardless of resource level. However, the only truly low-resourced language evaluated is Yoruba, which is strongly misaligned and shows limited transfer, leaving open how refusal directions behave for other low-resourced languages. We extend PolyRefuse to three additional low-resourced languages (Belarusian, Bashkir, and Tajik) and replicate the pipeline of (Wang et al., 2025) on Qwen2.5-14B-Instruct. We find that universality is graded rather than binary: directions from safety-aligned and partially-aligned languages transfer broadly, while those from strongly misaligned languages fail to reliably modulate refusal behavior on any target tested, including other misaligned languages, once ceiling effects are accounted for. Geometric alignment and behavioral transfer are further shown to be partially dissociated. These findings complicate the universality claim and suggest that users of the least-resourced, most strongly misaligned languages may face weaker safety guarantees.

论文详情

Building AI Research Teams for Autonomous Discovery of Linear Attention Architectures

Autonomous agents can increasingly propose ideas, modify code, and run experiments, creating an opportunity to accelerate scientific discovery using teams of collaborative AI researchers. To escape local minima in the discovery, we propose to encourage orthogonal exploration by constructing the team using agents with varying expertise. However, realizing this design requires more than diverse backgrounds. When experiments are costly, a team can test only a limited number of ideas, thereby creating the need to balance exploration and exploitation when selecting a subset of researchers to propose and execute new experiments. Furthermore, each result should shape what the team tries next. We therefore ask how AI researchers with different scientific backgrounds can build on one another's findings and sustain progress under a limited experimental budget. To address these challenges, we build a team of persistent AI researchers, each grounded in a different discipline, who keep private research histories, share experimental evidence, and receive research opportunities through adaptive allocation. We demonstrate the effectiveness of this design by deploying the team to search for linear attention architectures, where it outperforms GDN2 at 1.3B scale on language modeling, common-sense reasoning, and synthetic and real-world retrieval tasks. In controlled comparisons, removing any single organizational component from our design yields markedly weaker discoveries: without disciplinary backgrounds, the search plateaus early; without private histories, researchers make less progress despite identical shared evidence; and uniform selection falls short of adaptive allocation within the same budget. These results suggest that sustained autonomous discovery depends not only on stronger agents, but also on who explores, what they remember, and how research effort is allocated.

论文详情

KIRA: A Full-Stack Reading Screening System with Dual-Pathway Analysis for Children

Early-grade reading screening is critical for identifying children at risk of reading difficulty. Existing AI-based screeners are often limited in the scope of their analyses and evaluation metrics, or are proprietary systems that lack transparent model specifications and evaluation. We present KIRA, a dual-pathway screening system that pairs word-level fluency scoring with detailed phoneme-level error detection. We adapt pretrained word and phoneme recognizers to children's speech, reducing word error rate from 13.88% to 8.84% and phoneme error rate from 41.66% to 23.00%. Powered by these child-adapted models, we implement Word Reading (WRE) and Oral Reading Fluency (ORF), two foundational tasks in K-2 screening. The system integrates these recognizers with a web-based teacher-facing interface presenting fluency scores alongside phoneme feedback for potential targeted intervention. KIRA brings modern child-speech recognition into a full-stack, deployable, classroom-ready reading screener.

论文详情

A Parallel Multi-Dialect Arabic Dependency Treebank

Dependency parsing resource development for Arabic has largely focused on Modern Standard Arabic, leaving dialectal Arabic comparatively under-resourced. We introduce MADARTB, the first large-scale parallel dependency treebank spanning five city dialects: Beirut, Cairo, Doha, Rabat and Tunis, and extending an existing parallel MSA version. In total MADARTB consists of 5,000 sentences annotated using the CATiB dependency scheme. We analyze syntactic similarity across all city dialects and MSA. Although global construction profiles exhibit high similarity across varieties, local syntactic structures frequently diverge, revealing substantial structural variation across dialects. We further establish a cross-dialect dependency parsing comparison using a supervised parser and four LLMs. The supervised parser achieves 87.5% LAS, while the best LLM setup trails at 85.7% LAS across all six varieties on the test set. We release our annotations and models publicly.

论文详情

Where Do Legal Factors Live in LLMs?

In case-based legal reasoning, legal professionals identify legally significant fact patterns in a new dispute and compare them with those of decided cases. In AI & Law, HYPO dimensions and CATO factors represent these patterns symbolically, organizing expert knowledge distilled from case narratives as explicit, structured, interpretable, and auditable legal concepts and relations that support case comparison, legal argument, and precedent-based reasoning. Large language models (LLMs) are increasingly used for legal tasks, yet their internal organization of legal knowledge remains difficult to trace. We investigate whether LLMs form internal representations corresponding to all 26 CATO factors. Two research questions examine linear decodability and sparse localization with sparse autoencoders. Experiments cover three open models, Qwen3-1.7B, Qwen3-8B, and Gemma-2 2B, supported by cross-model comparison and human audit of controlled natural-language passages. Results show that all 26 factors are linearly decodable in all three models. Single-feature sparse readouts cover the complete factor catalog, with best-layer test AUCs ranging from 0.86 to 1.00. Five selected features approach full-vector readout performance. We report 78 model-specific layer-feature coordinates, one for each factor in each model. Together, these results show that information corresponding to expert-defined legal factors can be read from the internal activations of LLMs processing legal narratives. By locating these readouts, our study connects legal language and the symbolic abstractions of HYPO and CATO to learned internal representations.

论文详情

Scaling Therapy Supervision: Assessing Psychotherapy Fidelity Using Large Language Models

Psychotherapy fidelity assessment measures how faithfully a therapist adheres to a treatment protocol, a critical determinant of positive patient outcomes. However, fidelity assessment is bottlenecked by manual expert review, rendering the process labor-intensive and unscalable. To scale therapy supervision and support clinician self-learning, we present an integrated application of large language models (LLMs) that automates psychotherapy fidelity workflows and generates actionable supervisory feedback from authentic, long-form clinical transcripts. We evaluate three open-weight models across multiple task decomposition configurations and reasoning strategies, demonstrating that evidence-first reasoning improves fidelity estimation. Furthermore, we establish the framework's external construct validity on an independent randomized controlled trial (RCT), where it reliably distinguishes Cognitive Behavioral Therapy (CBT) from non-CBT sessions across core therapeutic skills. Through a user study that evaluates the generated feedback, mental health experts indicate that the pipeline synthesizes actionable clinical feedback. Ultimately, our work offers a practical, scalable solution toward bridging the community mental health supervision gap.

论文详情

Translation and data ethics

This chapter introduces data ethics for translation and discusses a number of ethical issues regarding data. These include issues of copyright, ownership and bias, which apply to all types of data, whereas there are further issues particular to minoritised language communities and those on either side of the digital divide, as data is implicated in power imbalances and dynamics. We close with a discussion of responsibility and regulation, and reflect on the growing attention on data ethics from translation studies researchers.

社区详情

Rectangle、Stay 我都用, LayoutKeeper 是第三种东西:说说窗口工具的三分法

LayoutKeeper 发布十天了,评论区和 Issue 里被问得最多的一句话是:"这和 Rectangle / Stay 有什么区别?" 这个问题我自己当年也问过——准确说,我是把它们仨都装上、逐个试了一遍,才决定自己写一个的。所以今天不吹自家东西,就把这三类工具的分工捋清楚,帮你选对的。 LayoutKeeper 是个 macOS 菜单栏小工具(开源 GPL-3.0 ):记住外接屏上每个窗口的位置和它所在的 Mission Control 桌面,拔线再插回来时一键还原。先放结论:**这三类工具管的是三件不同的事,不是谁替代谁。** **第一类:分屏工具,代表是 Rectangle 、Magnet 。** 管的是"此时此刻、这块屏幕上,怎么把窗口摆整齐"。快捷键一按,窗口贴左半、右半、四分之一。它的时间维度是"现在",空间维度是"当前屏幕"。我每天都在用 Rectangle ,它解决的是"摆"的效率问题。 但它不管"记住"。你拔了线再插回来,Rectangle 帮不了你——它从没记过你原来的样子。 **第二类:显示器配置恢复,代表是 Stay 、Display Maid 。** 管的是"这套显示器配置下,窗口应该在什么位置"。你存一份配置:这块屏上 Chrome 放左边、终端放右边。下次接上同一套显示器,它把窗口按位置摆回去。时间维度是"配置切换时",空间维度是"屏幕+坐标"。 我认真试过 Stay ,位置恢复做得不错。但它有个我过不去的坎:**窗口回不到原来的 Mission Control 桌面**。我一个桌面写代码、一个桌面通讯、一个桌面看文档,Stay 把窗口都摆回了外接屏,但全堆在当前桌面上——位置对了,桌面错了,我还是得一个个拖回去。对我来说等于问题只解决了一半。 **第三类:布局快照恢复,LayoutKeeper 在这里。** 管的是"把一切放回拔线之前的那一刻":位置、大小,连同窗口所在的桌面序号一起记,恢复时一起放回去。时间维度是"拔线前 vs 插线后",空间维度是"屏幕+坐标+桌面"。 为了做到"连桌面一起",技术上走了条野路子:跨桌面移动用的是 macOS 26 的 SkyLight 私有接口,不用关 SIP 、不用注入 Dock ,只要"辅助功能"一个权限。系统大更新后可能失效,应用启动时会自动检测,失效就自动关掉这个功能,不会乱移窗口。前面几篇开发日志写过这段,有兴趣可以翻我主页。 所以我的真实用法是三个一起装:Rectangle 管日常摆,Stay 那类我后来没再用(因为 LayoutKeeper 覆盖了它的场景还多记了桌面),LayoutKeeper 只管拔插线那一下。如果你从不用外接屏,或者不用多桌面,那你大概率不需要 LayoutKeeper ,Rectangle 一个就够了——工具选对场景比选"功能多"重要。 局限照例写前面,不藏着: - 只支持**一块**外接屏,多屏用户先别试。 - 跨桌面恢复要 macOS 26+(同桌面内的位置恢复 macOS 14+ 就行)。 - Finder 窗口没法跨桌面移动(拿不到进程启动时间,过不了身份校验)。 - 数据只存本机 `~/Library/Application Support/LayoutKeeper/`,不收集任何东西,唯一的联网是去 GitHub 查更新(可关)。 仓库: https://github.com/tumingke0/LayoutKeeper 如果你也在用这几类工具,欢迎聊聊你的组合——我特别想知道还有哪些"位置对了但桌面错了"之类的半截子痛点,Issue 里提,我看路线图怎么排。

社区详情

失业的程序员可以考虑一下跨境电商行业

linux.do110 帖子73 参与者

坐标广东某个二线城市,我所在的跨境电商行业,基本没有IT,我来之后,我就用codex开发了三个系统,大幅优化了公司整体工作效率.或许是老板看到了我的作用,现在我们公司也准备招聘两个程序员了,就是薪酬不高,大概给到8k的底薪,这个收入在二线城市已经不错了,失业的程序员可以考虑一下这个行业. 说实话,8k给有经验的全栈工程师有点低了,但是这个城市就这个diao样

社区详情

【实盘,长期更新】挑战100U到100万U,记录网贷上岸之路

linux.do54 帖子47 参与者

格局要打开,不要扣扣搜搜的,连买彩票都只敢幻想中500万还得交税剩下400万,为啥不让自己拥有九千万亿舔狗金然后只能给女神花呢 抱歉,前天爆仓了,忽略上边的胡言乱语 照例叠甲:无广告,无推荐,纯记录 照例画饼:如果真有那一天,到时候给佬友们抽万元CNY的大红包,如果到达十万U则是千元CNY红包,万U则是百元级别小红包(应该能看出来我是真的想发?) 为啥在L站开贴,因为我自己的小兰鸟账号无人问津,L站佬友们很活跃,能有评论唠唠嗑,甚至直接喷我,也是挺好的,你们可能不知道山之巅,傲世间,是有多么的孤独,不是 曾经的战绩有数次翻了N倍的,90多倍、七八十倍、三四十倍的都有,都是很小的资金,几十U开始的 当然,结局不出意外且喜闻乐见,都以爆仓收场 翻倍与爆仓都已司空见惯,家常便饭,关灯吃面 就拿前天来说,200亏到40,又从40打到400,然后爆掉,已经麻木 目前网贷已逾期,昨天信用卡也开始逾期,情况差到一定程度了,但我仍然乐观 昨天又入100,最后一舞,目前刚好二百五 朋友(也是赌狗),昨天从100到500又到100又到900多了,他的故事和战绩也非常精彩,有空再说 这个贴同时也用来记录我的网贷上岸经历 目前欠了34万多,其中七万网贷,信用卡+银行贷款27万多一些,巅峰期一个月要还三万多 关于贷款、催收这些事儿我也很清楚,大家有遇到啥问题也可以问我,哈哈 目前工资不到两万,除去开销大概能剩1.5万左右,网贷暂时还不起,先往后稍稍,现在的问题是银行贷+信用卡都有点还不上,正在接私活解决,已经接了个3万的私活 交易这件事实在是一言难尽,我会在这个帖子中时不时分享感悟,今天先就酱,晚上再来分享

社区详情

按上个帖子有人回复的来操作了一把,现在爽用中 😄,保佑不要被 ban 了 🙏

我简单说下这个环境是如何弄出来的,不是很复杂。就是 vpn+落地限制,我就用的这个环境注册新的 Claude 账号,然后立马开通 Pro 订阅,居然一把过了,没出现 KYC ,这个我感觉还是看运气,运气好注册的好就是绿灯通行,运气不好那可能就要验证,这个 IP 我发现 KYC 没出现过,出现过手机号码验证,我直接忽略再注册新号就是。

社区详情

[分享发现] 一劳永逸的解决 bitwarden 等自建服务的安全。

鉴于昨天爆出的零日漏洞,随着 ai 的发展,在可以预见的未来,类似的事情肯定不会少。 所以和 ai 商量了一个一劳永逸的方案,就是使用 Tailscale 和服务器组网,不把服务暴露到公网。 但是又不想常年挂着一个 Tailscale 客户端。 经过 ai 提醒才知道,原来现在的翻墙软件,已经集成了 Tailscale ,只需要开着翻墙软件,就能访问 Tailscale 内网,这也太方便了。

社区详情

[分享创造] Agent 拉的屎太多了,我 1T 都满了,开源一个 Agent-Shit-Cleaner

Agent 开发各种安装依赖,构建编译产物,大多数情况下都懒得管,但是耐不住越来越多 于是开源了一个小工具,名字很诚实:agent-shit-cleaner ( Agent💩清理工具) https://github.com/Viyozc/agent-shit-cleaner 做的事情很简单: - 扫描主要的工作区目录,统计每个项目/目录的磁盘占用 - 重点识别安装依赖、构建产物这类"垃圾大头" - CLI 交互式操作、严格避免误删除

社区详情

[Claude] Claude 封号,可能不是在查你的环境,而是在读你的上下文

Claude 又封了我一个 Max 5x 账号,复盘了下,讨论基本都集中在:节点不干净、浏览器指纹不对、时区没改、支付方式有问题。 这些当然可能是原因。但我觉得,大家可能还在用传统风控的思路,去理解一家模型公司。 Claude 不是普通 SaaS 。传统平台查设备、IP 、行为规则; 模型公司最擅长的,是直接理解内容。它完全可以在云端定时读取你的上下文,让另一个模型判断:你长期用什么语言、问什么问题、怎么描述自己的工作、提到哪些中文互联网才懂的词、对哪些话题的反应像“自己人”。 它甚至不需要准确判断你的国籍。它只需要判断:你像不像一个它不想继续服务的用户。 聊天记录本身就是一份比浏览器指纹更完整的身份画像。 那还有解吗?

社区详情

[宽带症候群] 现在 BT 下载全都变成私域了吗?

最近看了《生化危机:爆发夜》,想着把前面几部都找来看看; 想着这类动作片自然是要在大电视上看,于是想找找资源,结果发现之前熟悉的一些 BT 搜索站搜到的资源几乎都没有做种的了,找了一圈发现好些需要邀请的私人论坛还很活跃,但需要邀请...... 这是啥时候变成这样的?为啥呀?