arXiv:2608.04390cs.CLcs.DB2026-08

用边缘样本提升大模型表格理解能力,选对例子比堆例子更重要

EdgeLM: Edge Demonstrations for Language Models' Table Understanding

论文配图:EdgeLM: Edge Demonstrations for Language Models' Table Understanding
图 1 · 摘自论文原文
  • 选取与查询相关且位于决策边界附近的反例作为示范
  • 在15个数据集上,5种模型均表现最优或接近最优
  • 无需重训练,适合需要精准推理的表格处理场景

大语言模型通过上下文学习进行表格中心预测,示范选择直接影响性能。现有检索方法侧重查询相似性,但相似示范常强化模型已有判断,而非揭示关键差异。本文提出EdgeLM,一种检索边缘证据的框架:选取数据边缘(标签不同但邻近的样本)和模型边缘(模型曾误判的相似样本)。该方法无需模型重训练或任务定制。在五个数据清洗任务、十五个数据集及五种开源与专有大模型上,EdgeLM在所有设置中均取得最佳或接近最佳表现;消融实验表明两类边缘证据具有互补优势。代码与数据集已公开于 https://github.com/soroushomidvar/EdgeLM。

原文摘要 · Abstract (English)

Large language models (LLMs) perform table-centric prediction through in-context learning, making demonstration selection critical to performance. Existing retrieval methods prioritize similarity to the query, but similar demonstrations often reinforce the model's likely prediction rather than reveal the distinctions needed for difficult decisions. We propose EdgeLM, a retrieval framework that instead selects edge evidence, demonstrations that are both relevant to the query and informative about the decision boundary. EdgeLM retrieves two complementary forms of edge evidence by selecting data edges, nearby examples with different ground-truth labels, and model edges, similar examples previously misclassified by the deployed model. EdgeLM requires neither model retraining nor task-specific engineering. Across five data wrangling tasks, fifteen datasets, and five open-weight and proprietary LLMs, EdgeLM consistently achieves the best or near-best performance in every setting, while ablations show that the two forms of edge evidence provide complementary benefits. Our code and datasets are publicly available at https://github.com/soroushomidvar/EdgeLM.

表格理解示范选择边缘样本LLM推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。