arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.21009cs.AIcs.LG
收藏

AI辅助生成困难数学问题

AI-Assisted Generation of Difficult Math Questions

Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);Princeton University(普林斯顿大学);University of Colorado, Boulder(科罗拉多大学博尔德分校)

Vedant Shah, Dingli Yu, Kaifeng Lyu, Simon Park, Jiatong Yu, Yinghui He, Nan Rosemary Ke, Michael Mozer, Yoshua Bengio, Sanjeev Arora, Anirudh Goyal

AI总结:

针对LLM生成数学问题难度和多样性不足的问题,提出结合LLM与人在回路的框架,通过随机配对核心技能生成分布外的困难问题,构建了MATH²数据集,显著提升了问题难度与模型推理评估效果。

摘要:

当前的LLM训练将数学推理定位为核心能力。随着公开可用来源被充分挖掘,对多样且具有挑战性的数学问题存在未满足的需求。仅仅依靠人类专家既耗时又昂贵,而LLM生成的问题通常缺乏必要的多样性和难度。我们提出了一个结合LLM优势与人在回路方法的设计框架,以生成各种具有挑战性的数学问题。我们利用强大LLM的LLM元认知技能[Didolkar等人,2024]从现有数学数据集中提取核心“技能”。这些技能作为基础,通过用核心技能的随机对提示LLM来生成新颖且困难的问题。在每个问题中使用两种不同的技能,使得寻找此类问题成为LLM和人类的“分布外”任务。我们的流水线采用LLM通过多轮提示迭代地生成和改进问题及解决方案。人类标注员随后验证并进一步改进问题,通过进一步的LLM交互提高其效率。将从MATH数据集[Hendrycks等人,2021]中提取的技能应用此流水线,产生了MATH$^2$——一个更高质量数学问题的数据集,证据如下:(a)所有模型在MATH$^2$上的表现低于在MATH上的表现(b)使用MATH$^2$问题作为上下文示例时,在MATH上的表现更高。尽管专注于数学,我们的方法似乎适用于其他需要结构化推理的领域,并可能作为可扩展监督的组件。同样引人关注的是,在新数据集上观察到的模型表现之间引人注目的关系:在MATH$^2$上的成功率是在MATH上的平方,表明在MATH$^2$中成功解决问题需要两种不同数学技能的非平凡组合。

英文摘要:

Current LLM training positions mathematical reasoning as a core capability. With publicly available sources fully tapped, there is unmet demand for diverse and challenging math questions. Relying solely on human experts is both time-consuming and costly, while LLM-generated questions often lack the requisite diversity and difficulty. We present a design framework that combines the strengths of LLMs with a human-in-the-loop approach to generate a diverse array of challenging math questions. We leverage LLM metacognition skills [Didolkar et al., 2024] of a strong LLM to extract core "skills" from existing math datasets. These skills serve as the basis for generating novel and difficult questions by prompting the LLM with random pairs of core skills. The use of two different skills within each question makes finding such questions an "out of distribution" task for both LLMs and humans. Our pipeline employs LLMs to iteratively generate and refine questions and solutions through multiturn prompting. Human annotators then verify and further refine the questions, with their efficiency enhanced via further LLM interactions. Applying this pipeline on skills extracted from the MATH dataset [Hendrycks et al., 2021] resulted in MATH$^2$ - a dataset of higher-quality math questions, as evidenced by: (a) Lower performance of all models on MATH$^2$ than on MATH (b) Higher performance on MATH when using MATH$^2$ questions as in-context examples. Although focused on mathematics, our methodology seems applicable to other domains requiring structured reasoning, and potentially as a component of scalable oversight. Also of interest is a striking relationship observed between models' performance on the new dataset: the success rate on MATH$^2$ is the square on MATH, suggesting that successfully solving the question in MATH$^2$ requires a nontrivial combination of two distinct math skills.

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

↑