拉曼光谱会产生大量无标签数据,而传统监督学习难以充分利用这些数据。本文提出了一种基于掩码自编码器(MAE)的多域自监督学习框架,用于从异构的生物学、化学、法医学和材料学数据集中学习可迁移的拉曼光谱表征。所提出的预训练策略引入了物理感知目标,将掩码强度重建与稀疏 Voigt 轮廓解码器相结合,后者通过可微的峰中心、峰宽和峰幅来建模光谱峰结构。此外还加入了去噪目标,以提高对光谱损坏的鲁棒性。学习到的编码器在物质分类、成分识别、浓度估计和光谱去噪任务上进行评估,评估方式包括线性探测、基于注意力的探测、端到端微调以及从头训练。实验结果表明,自监督预训练对标注数据有限的挑战性任务最为有益。基于注意力的探测还揭示出,冻结表征中包含的有用信息显著多于线性探测,这表明传统的线性评估可能低估了表征质量。此外,预训练带来的收益随着编码器容量增加而更加明显。总体而言,所提出的框架表明,物理感知的多域自监督预训练可以提升 l
Form 10-Q的MD&A部分将长篇管理层叙述与会计及前瞻性信息结合在一起。针对财务申报文件的基准测试通常评估问答或数值推理,这使得大语言模型(LLM)的输出是否与市场和分析师结果相一致仍不明确。我们评估了13个通用及金融专用LLM在2001年至2024年间45,964个Form 10-Q申报事件上的提示式零样本输出,将MD&A文本与横截面基本面排名、申报前分析师预测以及已实现异常收益相关联。评估涵盖五种受控信息视图下的收益排名,以及直接接口和共识锚定接口下的下一季度EPS预测。相较于仅披露信息,加入横截面基本面排名使有效事件日收益的平均有效日期秩相关(RankIC)提高0.0089,使次日收益提高0.0098,而分析师摘要上下文没有提供可相比的平均增益。在四个包含披露信息的视图中,金融专用模型在有效事件日上表现出群体优势,但在次日上没有统计上可靠的优势,而通用Qwen模型产生了最强的个体收益排名结果。在全信息视图下,直接LLM预测平均位于分析师分布的第43.4百分位,且不能稳定胜过个体分析师。共识锚定将平均区间内占比从41.1%提高到
Hunyuan 3D 和 Meshy 等基于 AI 的三维生成模型能够根据图像或文本提示生成视觉上吸引人的三维形状。然而,它们通常只关注物体的外部外观,往往生成不完整或不合理的内部几何结构。因此,生成的形状无法保证在功能上有效,限制了其在仿真和制造等下游应用中的直接使用。本文提出一种通过内部几何构建使 AI 生成的三维形状具备功能的计算方法。我们的关键观察是:部件的功能角色决定了其内部几何结构,而这种几何结构通常光滑、相对简单,并与部件的外部形状密切相关。受这些观察启发,我们引入一种内部感知部件图(interior-aware part graph),用于编码在 AI 生成的三维形状中构建内部几何所需的信息,并通过基于 VLM 的形状分割和图属性推断来构建该图。在该图的引导下,我们将每个部件的内部几何建模为广义圆柱体,并通过优化从部件的外部几何推断其参数。生成的三维形状在功能上有效,同时保留了其 AI 生成的外部外观。我们在多种 AI 生成的三维形状上演示了该方法,包括器皿、容器和储物家具,并制造了部分示例以进行功能验证。
胸片上的弱监督定位通常以单一重叠准确率报告,而这些数字在不同论文之间不可比较。我们测量了其中一个包含什么。相对于保留读出自身框、仅移动其位置的位置零假设对照,类激活映射及其梯度加权变体在ChestX-ray14的七个标注发现中的两到四个、在CheXlocalize的八个中的两个上优于零假设。零假设是可被击败的:三位委员会认证的放射科医生在四到七个发现上超过了它。三个很少被说明的选择各自对结果的推动超过大多数已报告的方法效应:结果机制、提取阈值,以及掩码到框规则,其代价由阈值化掩码的碎片化程度所预测。仅预测框面积就能逆转配对比较。这些测量产生了PACE,即用于“群体异常与类别证据”(population anomaly and class evidence)的方法,它将来自标签训练头的发现身份与来自从未见过病理标签的冻结胸片骨干网络的空间证据相乘。它是使协议依赖性变得可见的案例研究,我们将其代价与收益并列报告:在一项探索性匹配面积分析中,它在两个语料库上都提高了严格重叠准确率,并击败了标签衍生的第二地图,但它在三个读出中对分类器的因果图最不忠实,其优势取决于框规则,而且,由于该基准未发布定位验证集,其背后的每一个设计选择都是
Natural long documents are widely used for context extension, but which selection pipelines are effective remains unclear. We conduct a controlled comparison on Qwen2.5-3B at 128K under matched 6B-token continued-training budgets. Random sampling of natural long documents (random-long) outperforms repacking at longer evaluation lengths. Within the same candidate pool, selecting documents with high LongPPL key-token density yields further gains, unlike the evaluated generic-quality and LLM-judge selectors. We introduce truncLongPPL to reduce scoring cost by computing key-token density over a truncated prefix. At 128K, scoring the first half of the reference span yields downstream performance close to full-span scoring with a measured $2.28\times$ end-to-end scoring speedup. Across three training seeds, truncLongPPL achieves the highest mean scores among evaluated pipelines, exceeding random-long by 4.54 points on validation HELMET and 3.28 on held-out RULER, with gains most consistent in retrieval. At a 256K target context, it gains 2.82 average RULER points over random-long on Qwen2.5-3B. In short/long mixed training across Qwen2.5-3B, Qwen3-8B, and OLMo~3-7B, it gains 1.47--7.31 average RULER points over random-long mixing, with seven-task short-context averages within 0.23 points of the corresponding baselines. After supervised fine-tuning (SFT), Qwen3-8B and OLMo~3-7B models trained with selected long documents outperform their random-long counterparts by 1.13--1.67 points on LongBench v2 and 0.62--1.44 points on MRCR.
Self-supervised speech models commonly consist of a set of convolutional neural network (CNN) layers used as a local feature extractor, followed by transformer layers. The CNN layers are computationally demanding, and are also similar across models and resemble the much simpler mel spectral features. We hypothesize that the CNN layers can be replaced by a simple, universal model. To test this hypothesis, we learn a two-layer feature extractor via distillation from one or more teacher models (HuBERT, data2vec, and WavLM). Experiments on SUPERB(-SG) benchmark tasks show that our model largely retains the performance of the teacher models and can also be used in an unseen model (wav2vec 2.0). Our feature extractor requires only 3% of the MACs of the CNNs, resulting in a $>$20% overall inference runtime reduction.
Speculative decoding accelerates large language model (LLM) inference by using a lightweight drafter to propose a block of tokens that the target model verifies in one parallel pass. Autoregressive drafters generate this block one token at a time, whereas block diffusion drafters such as DFlash generate it in one pass, making drafting faster. However, these diffusion drafters predict each token independently, ignoring dependencies between tokens in the block. We introduce FlashMap, a continuous flow drafter that conditions a flow map language model on the target model's hidden states and generates the whole block in one forward pass while capturing inter-token dependencies. On Qwen3-8B, FlashMap is faster than a matched DFlash baseline on every benchmark, with 7% higher average speedup and up to 6.1x lossless acceleration.
Pixel-based language models process rendered text without relying on a fixed subword vocabulary, offering a promising approach to noisy and multilingual inputs. However, their practical value depends on whether they can be reliably adapted to downstream tasks. To this end, we systematically examine this question through fine-tuning behavior, typographical robustness, and zero-shot crosslingual transfer. Under our tested settings, pixel-based models require longer training and broader labelled-data coverage than text-based models, while delayed learning and learning-rate-dependent failures make adaptation less reliable. Our analyses further suggest that task-relevant information is less readily accessible in pretrained pixel representations, placing greater demands on fine-tuning. Once successfully adapted, however, pixel-based models lose substantially less accuracy under typographical noise and achieve higher target-language accuracy than English-pretrained text-based counterparts on two crosslingual benchmarks, despite weaker clean English performance. Together, these findings reveal a central trade-off: replacing tokenization with rendering reduces sensitivity to corrupted and unfamiliar inputs, but shifts a central bottleneck to downstream adaptation.
Computational models have explanatory power to understand cognition in individuals, but there is usually not enough training data to build such models with traditional machine learning. However, alternative architectures that model neural and cognitive processes in more detail can be more easily fit to individuals and can lead to mechanistic insights into human behavior. BiLex is such a computational model of the bilingual lexicon, containing a shared semantic system and phonetic language systems represented through self-organizing maps. In this study, BiLex was extended further into biological realism with excitatory and inhibitory lateral connections. This extension makes it possible to account for response times as well as common errors such as those based on semantic concept familiarity, typicality, and specificity. The Boston Naming Test was simulated in Spanish and English, and model performance approximated naming accuracy and error types in Spanish-English bilinguals with varying primary and secondary language histories. The results indicated that the approach captures semantic-level processes in bilingual lexical access, thus modeling the semantic cognition of individual subjects. In the future, such models may serve as a foundation for modeling impairments and treatment options.
What happens after a learner makes an error, and how does the instructor's response shape the next turn? Investigating these exchanges across classrooms requires context-sensitive annotation that is difficult to scale manually. We introduce SLA-LENS, an end-to-end LLM-assisted framework that connects classroom transcripts to structured pedagogical annotations and evidence-linked descriptive analytics. Grounded in interactionist Second Language Acquisition (SLA) theory, its annotation schema captures second language learner errors, pedagogical functions, and uptake or repair while accounting for speaker roles, conversational context, and hierarchical labels. We apply the framework to 40 authentic online L2 Spanish classroom transcripts comprising over 21,000 sentence-level instances. We evaluate proprietary and open-weight LLMs, including task-specific QLoRA adaptation, using expert-reviewed gold annotations, held-out silver data, and metrics sensitive to different types of annotation error. A deterministic reporting layer generates reproducible visualizations of participation, feedback, learner errors, uptake, and temporal interaction patterns, linked to supporting transcript evidence. By making these patterns accessible and inspectable, SLA-LENS supports systematic classroom discourse research, pedagogical reflection, and curriculum design.
We empirically analyze two recently proposed encoder-free multimodal LLMs, Gemma-4 12B and Inkling-Small. Unlike previous multimodal LLMs, these models do not use modality-specific encoders to extract tokenized embeddings representing audio and image input; instead, they directly feed windows of samples, pixels, or spectral features to the Transformer language model. We analyze whether the early layers of these models learn to function similarly to dedicated audio and visual encoders. We find that these early layers do in fact act as ``implicit encoders,'' encoding audio and visual inputs in a way that is largely invariant to their cross-modal context. Furthermore, when performing multimodal reasoning tasks, we show that independently encoding the modalities throughout these early model layers achieves the same accuracy as jointly encoding them from the first layer onwards. Finally, we use layer-wise probing to analyze the salient information captured by the implicit encoders and find their behavior to be similar to several popular encoder models.
User simulators can help evaluate and train AI systems to interact with humans at scale. To do so, evaluation of user simulators must measure behavioral parity with people. We evaluate whether memory-constrained user simulators are sensitive to two factors known to affect human information retention: repetition of a fact and interference from competing information. We find that some simulators achieve human-like overall accuracy, and replicate the magnitude of repetition and interference effects, but none match people's accuracy on particular questions: while humans misremember facts, models forget them, leading to different error patterns. We release this data as a challenge benchmark for future work on user simulators.
真实 Web 环境中的智能体交互通常受请求预算、时间延迟、反爬限制和操作失败风险约束。仅优化任务成功率的策略常出现“高成功率但高成本”或“低风险但保守失败”等不可用现象。本文提出一种面向 Web Agent 的约束式智能体强化学习模型,将页面访问、搜索请求和外部 API 调用统一为带成本的长期决策框架。该模型将成本预算约束与尾部风险控制同时纳入优化目标:构建由累计请求数、总延迟和失败惩罚组成的多维成本向量,通过 Lagrange 对偶更新实现预算合规,同时采用 CVaR 风险项抑制对高失败概率路径的过度探索,从而在“完成率、成本与风险”之间实现自适应平衡。实验覆盖 30-70 个站点/页面模板和 800-1,500 个端到端 Web 任务,包括信息抽取、比价、表单提交和跨页面导航。交互序列长度为 20-120 步,工具规模为 30-200。性能与无约束 RL、预算约束 RL 以及基于规则/脚本的 Web Agent 进行对比,量化任务完成率、每次成功成本、失败率和策略稳定性。结果 d
我们描述了一件实体艺术作品的创作过程,该作品由艺术家、计算机科学家和生成式 AI 工具协同完成。研究者在特定艺术家的艺术作品照片上对一个 latent diffusion model 进行了微调,随后生成模型生成了风格相似的合成艺术作品。从生成的艺术作品中选出一部分,由原艺术家再次用丙烯在画布上绘制。除实体作品外,还加入了一个增强现实组件,通过一组生成式视频模型让作品栩栩如生。随本文一起,我们在 https://github.com/BernhardEgger/ARTimate 发布了部分艺术作品(训练数据)、用于生成作品的代码,以及面向艺术、研究和教育的增强现实体验。
Multilingual reasoning comparisons depend on translated premises preserving the relations in their English sources. Automatic translation scores can rank source-target pairs, but an acceptance decision alone cannot certify a counterfactual benchmark field. We test a source-contrast diagnostic for ACCORD premises: reverse the English polarity, translate both arms independently, count identical target outputs, and score each arm against its own source. Across 71 matched question identities at two containing-item depths, five target languages, and three translation checkpoints, Swahili has 63, 113, and 67 exact collisions among 710 pairs per checkpoint. At a human-reference-calibrated threshold, round-trip NLI passes both arms of 3 of the 113 NLLB-3.3B collisions, while LaBSE passes 78. Each collision proves at least one unfaithful translation, but does not identify its arm. These controlled measurements do not establish screening accuracy on spontaneous translation errors or a language-by-hop reasoning effect; the study has no native equivalence labels or answer-model evaluation.
LLM agents can ask clarifying questions to complete tasks, but answering each question demands users' time and effort. Existing evaluations typically measure this burden by counting questions, treating necessary and avoidable questions equally. We propose an evaluation protocol that distinguishes how often agents ask from how well they ask. An interruption budget limits the number of questions, while a user-attention cost charges extra for questions that are hard to read or not worth asking, as rated by a human-validated LLM judge. Beyond question counts, this cost captures perceived effort: on conversation pairs with the same number of questions, human annotators agreed with the cost on which conversation required more effort 75% of the time. Across eight LLMs and four customer-service domains, limiting agents to one to three questions reduces user-attention cost by 36-73% while keeping 86-94% of the task reward they earn with unlimited questions. At the same budget, reviewing each question against the memory of users' earlier answers cuts attention cost by another 13% with little reward loss and yields more valuable questions. Models also differ sharply in how well they ask: at the same user-attention cost, the most efficient models gain more than twice as much reward from their questions as the others. These results show that asking less and asking better are distinct goals, and that evaluations of proactive agents should measure both.
Training large language models directly in 4-bit floating-point (FP) formats promises substantial improvements in throughput and energy efficiency. While some recipe design choices have been validated at scale, many promising approaches remain untested beyond small models and short token horizons, leaving open the question of which trends will hold. We present a systematic comparison of recent NVFP4 recipes at medium model scale, evaluating dense 8B and 30B-A3B MoE models trained for up to 1T tokens, with a focus on which ingredients are necessary for accuracy recovery. We propose a final recipe grounded in the principles behind established stable NVFP4 training at scale, incorporating state-of-the-art techniques such as unbiased gradient estimation with lower quantization error than stochastic rounding. To the best of our knowledge, this is the strongest FP4 training result demonstrated at this scale to date in loss gap to BF16. Through ablation studies, we find that: (i) each technique in the optimized recipe measurably improves loss trajectory, (ii) selective high-precision layers are necessary for recovering accuracy at scale, (iii) not all tensors in the backward pass benefit equally from de-biasing, leaving room to apply complementary error-reduction techniques to the remaining tensors.
Safety classifiers for large language models (LLMs) are typically built and evaluated on standard-script text, yet Bangla, like many lower-resource languages, is routinely written in native script, in Latin-script romanization, and code-mixed with English, Hindi, or Urdu. We introduce BanglaShield, a resource and model for graded prompt-safety classification across these written forms. We consolidate 10,245 Bangla prompts from six sources under a four-level taxonomy (Safe, Offensive, Harmful, Severe) and render each prompt in three aligned forms that share labels and a group-aware split, enabling strictly paired comparisons. Benchmarking six contemporary LLMs, including a Bangla-specialized one, on 36,882 classification queries and 24,318 judged responses, we find that LLM classifiers label 47.0% of unsafe native-script prompts as Safe, rising to 63.4% under romanization, while response-level safety accuracy drops by 10.3 points. Three multilingual guard models also pass 30.3-57.3% of unsafe native-script prompts. Using a model's own classification as an input filter reduces harmful compliance by only about five points. In contrast, BanglaShield, a compact fine-tuned encoder, reaches 87.8 macro-F1 on native-script and 84.4 on romanized prompts, outperforming the best LLM on each form by 42.8-46.1 points with ~130x fewer parameters than Gemma 4 31B. We release the corpus, splits, judgments, and model.
BERT-based models require thousands of labeled samples to train. Larger models like GPT-X require only 1-5 examples per class. However, performance, cost and time tradeoffs of such models remain under-explored. In this work, we classify survey text data into 16 classes. We focus on experimental approaches and results on performance, cost, and time taken for this problem. We compare these parameters of a trained RoBERTa-based model, and an (off-the-shelf) GPT-3.5 model for text classification. Baseline experiments show that the time taken by GPT-3.5 for generating predictions on 10,000 records is 6 hours, whereas a RoBERTa-based model takes only 12 mins on a T4 GPU. To identify the best prompting approach for GPT-3.5, we explore batch prompting. We experiment with (1) batch-size, and (2) few-shot sampling. We find the best batch size is 20 with human few-shot curation. Experiments show the F1 score of a trained RoBERTa-based model (96%) is much higher than a GPT-3.5 model (83%). In case of GPT-3.5, batch prompting is beneficial in lowering inference costs by ~70%, without hindering task performance. We find the best approach is an ensemble of a RoBERTa-based and GPT-3.5 model (F1: 97.5%) incurring only 4.4% of inference cost compared to a standalone GPT-3.5.
Large language models (LLMs) are increasingly used in annotation tasks with varying success. While several studies have demonstrated the opportunities and shortcomings of LLMs for annotation, a critical question remains unanswered: is it possible to predict how well they will perform on a new dataset? To answer this and related questions, we construct two task families which induce 461 text classification datasets. We find that it is possible to predict LLM performance - to a certain degree - and that contrary to other work which highlights the usefulness of LLM verbalizations of self-confidence, internal log-probabilities are the most predictive signal.
Reinforcement Learning with Verifiable Rewards (RLVR) improves the reasoning capabilities of large language models, but often reduces the diversity of their reasoning behaviors. We study this phenomenon from the perspective of finite-sample learning dynamics and show that limited on-policy rollouts can progressively suppress semantically distinct but equally rewarded reasoning modes. Once a mode becomes sufficiently under-sampled, standard on-policy RLVR rarely recovers it. Motivated by this observation, we propose TAR, a Targeted Adaptive Replay framework that preserves diverse correct reasoning behaviors already present in the base policy. TAR constructs a compact memory bank of diverse base-model solutions and selectively replays them through an adaptive mechanism that activates only when stored behaviors are being suppressed during RLVR. Across six mathematical reasoning benchmarks and two Qwen2.5 model scales, TAR consistently achieves a better balance between reasoning performance and diversity preservation than existing diversity-preserving post-training methods, while substantially reducing the forgetting of correct base-model solutions. Code is available at https://github.com/wenzhilics/tar.
While aligned large language models (LLMs) can successfully complete many creative tasks, their outputs tend to be highly self-similar. Though solutions to this problem of "mode collapse" have been proposed, comprehensive large-scale surveys of the phenomenon in specific textual genres are still lacking. We address this gap through an extensive treatment of LLM mode collapse in poetry. Across 15 poetic forms, 248 subject matter tags, and 16 open-weight models, we generate over 1.1 million poems. To our knowledge, this constitutes the largest corpus of LLM-generated poetry to date. At million-poem scale, we find that LLM poetic vocabularies and rhyming abilities are substantial, but severely underutilized. In other words, LLMs are "lazy" poets: despite possessing large poetic inventories, LLMs over-rely on a small number of words, opening phrases, and rhymes. Further, we find that lexical homogenization differs across models and poetic forms, noting observed rhyming vocabulary is correlated with model size.