arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.14101cs.LGcs.AI

语言模型是弱学习器

Language models are weak learners

Carnegie Mellon University(卡内基梅隆大学);Bosch Center for AI(博世人工智能中心)

Hariharan Manikandan, Yiding Jiang, J Zico Kolter

AI总结:

本文提出将基于提示的大语言模型作为弱学习器应用于表格数据的 boosting 算法中,利用 LLM 生成的文本摘要作为分类模板,在少量数据场景下优于传统树模型和微调方法。

摘要:

在实用和理论机器学习中,一个核心概念是“弱学习器”,即在任意给定的数据分布上,即使优势微弱,也能取得优于随机性能的分类器。这类弱学习器构成了如 boosting 等经典机器学习方法的实践基础。在本研究中,我们阐明了基于提示的大语言模型能够有效地作为上述弱学习器来运行。具体而言,我们展示了将大语言模型(LLM)作为弱学习器应用于表格数据的 boosting 算法中。我们证明,通过提供表格数据样本的文本描述(根据感兴趣的分布进行适当采样),LLM 能够生成样本摘要,作为分类的模板,并在此任务中实现作为弱学习器的目标。我们将这些模型整合到 boosting 方法中,在某些设置下,该方法能够利用 LLM 内部的知识来超越传统的基于树的 boosting。该模型优于少样本学习,有时甚至超越更复杂的微调过程,特别是在涉及少量数据点的任务中。结果展示了基于提示的 LLM 不仅可以作为少样本学习器本身,还可以作为更大机器学习流程组件的潜力。

英文摘要:

A central notion in practical and theoretical machine learning is that of a $\textit{weak learner}$, classifiers that achieve better-than-random performance (on any given distribution over data), even by a small margin. Such weak learners form the practical basis for canonical machine learning methods such as boosting. In this work, we illustrate that prompt-based large language models can operate effectively as said weak learners. Specifically, we illustrate the use of a large language model (LLM) as a weak learner in a boosting algorithm applied to tabular data. We show that by providing (properly sampled according to the distribution of interest) text descriptions of tabular data samples, LLMs can produce a summary of the samples that serves as a template for classification and achieves the aim of acting as a weak learner on this task. We incorporate these models into a boosting approach, which in some settings can leverage the knowledge within the LLM to outperform traditional tree-based boosting. The model outperforms both few-shot learning and occasionally even more involved fine-tuning procedures, particularly for tasks involving small numbers of data points. The results illustrate the potential for prompt-based LLMs to function not just as few-shot learners themselves, but as components of larger machine learning pipelines.

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

↑