跳到正文
arXiv cs.CL· Xin-Rui Ma, Shi-Zhi Chen, Hai-Yan Jiang, De-Cheng Feng, Michael Beer·· 11 小时前AI 评分39

变量名提供先验:语义接地让 LLM 实现数据高效的数值预测

Variable names provide priors: semantic grounding enables data-efficient numerical prediction by large language models

AI 导读

研究发现,变量名与其描述数值之间的语义匹配(语义接地)使五个未经任务特定训练的 LLM 在九个科学领域的 20 个数据集上追平或超越七个监督 ML 模型,样本稀缺时优势尤为明显。

正文 · 原文

View PDF HTML (experimental)

Abstract:Large language models (LLMs) have achieved strong performance across diverse tasks, from question answering to code generation. Recent studies have found that LLMs can perform numerical prediction on tabular datasets via in-context learning. However, it remains unclear under what conditions and how LLMs use variable names and in-context examples for numerical prediction. Here we show that semantic grounding, the match between variable names and the values they describe, allows five LLMs without task-specific training to match or outperform seven supervised machine learning (ML) models across 20 datasets from nine scientific domains, particularly when examples are scarce. Reasoning traces indicate that variable names allow LLMs to draw on domain-specific knowledge acquired during pretraining. Using controlled tasks based on physical formulas, we further show that LLMs integrate domain-specific knowledge with in-context examples in a way consistent with Bayesian updating. Specifically, when the relationship between the inputs and the target cannot be inferred from the examples alone, LLMs rely on domain-specific knowledge as the prior. Conversely, as contradicting examples accumulate, LLM predictions shift progressively towards these examples, which act as the likelihood. Our work reveals how LLMs use domain-specific knowledge in numerical prediction and positions them as data-efficient predictors for data-scarce scientific domains.
Comments: Main text: 30 pages, 6 figures. Supplementary information: 53 pages, 11 figures
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Machine Learning (cs.LG)
Cite as: arXiv:2611.02637 [cs.AI]
  (or arXiv:2611.02637v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2611.02637

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Xin-Rui Ma [view email]
[v1] Mon, 2 Nov 2026 07:00:18 UTC (4,966 KB)

来源:arXiv cs.CL · arxiv.org