arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.07522cs.CLcs.AI
收藏

LIME:通过语言元数据嵌入使LLM数据更高效

LIME: Making LLM Data More Efficient with Linguistic Metadata Embeddings

TU Darmstadt(达姆施塔特工业大学);Lab1141;Aleph Alpha Research(Aleph Alpha研究院);Meta FAIR;German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心)

Sebastian Sztwiertnia, Felix Friedrich, Kristian Kersting, Patrick Schramowski, Björn Deiseroth

AI总结:

LIME通过语言元数据嵌入提升LLM预训练效率,显著增强语言建模和生成任务表现

摘要:

预训练仅解码器的语言模型依赖于大量高质量的数据,但此类数据的可用性正日益接近极限。尽管元数据常用于创建和整理这些数据集,但其作为直接训练信号的潜力仍被低估。我们挑战这一现状,提出LIME(语言元数据嵌入),一种通过捕捉语法、语义和上下文属性的元数据来丰富标记嵌入的方法。LIME显著提高了预训练效率。具体而言,它能以高达56%的速度适应训练数据分布,同时仅引入0.01%的额外参数,计算开销可忽略不计。除了效率外,LIME还改进了分词,导致语言建模能力和生成任务表现显著增强。这些好处在不同模型规模(500M到2B)上均保持不变。此外,我们还开发了变体LIME+1,能够引导标记生成。在给定下一个标记的先前元数据的情况下,LIME+1能将推理性能提高高达38%,算术准确性提高高达35%。

英文摘要:

Pre-training decoder-only language models relies on vast amounts of high-quality data, yet the availability of such data is increasingly reaching its limits. While metadata is commonly used to create and curate these datasets, its potential as a direct training signal remains under-explored. We challenge this status quo and propose LIME (Linguistic Metadata Embeddings), a method that enriches token embeddings with metadata capturing syntax, semantics, and contextual properties. LIME substantially improves pre-training efficiency. Specifically, it adapts up to 56% faster to the training data distribution, while introducing only 0.01% additional parameters at negligible compute overhead. Beyond efficiency, LIME improves tokenization, leading to remarkably stronger language modeling capabilities and generative task performance. These benefits persist across model scales (500M to 2B). In addition, we develop a variant with shifted metadata, LIME+1, that can guide token generation. Given prior metadata for the next token, LIME+1 improves reasoning performance by up to 38% and arithmetic accuracy by up to 35%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑