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

预测应用题的算法类

Predicting Algorithm Classes for Programming Word Problems

IIIT Hyderabad(印度理工学院海得拉巴分校(印度信息技术学院海得拉巴))

Vinayak Athavale, Aayush Naik, Rajas Vanjape, Manish Shrivastava

摘要:

我们介绍的任务,算法类预测编程的文字问题。编程文字题是用自然语言编写的问题,可以使用算法或程序来解决。我们定义类的各种编程字的问题,对应于类的算法需要解决的问题。我们提出了四个新的数据集为这项任务,两个多类数据集550和1159的问题和两个多标签数据集有3737和3960的问题。我们提出的问题作为一个文本分类问题和训练神经网络和非神经网络为基础的模型在这个任务。我们性能最好的分类器在五类分类数据集Codeforces Multiclass-5(CFMC 5)上的多类情况下的准确率为62.7%。我们还做了一些人类层面的分析,并将人类的表现与我们的文本分类模型进行了比较。我们最好的分类器在这项任务中的准确率仅比人类低9%。据我们所知,这些是关于这项任务的首次报告结果。我们公开我们的代码和数据集。

英文摘要:

We introduce the task of algorithm class prediction for programming word problems. A programming word problem is a problem written in natural language, which can be solved using an algorithm or a program. We define classes of various programming word problems which correspond to the class of algorithms required to solve the problem. We present four new datasets for this task, two multiclass datasets with 550 and 1159 problems each and two multilabel datasets having 3737 and 3960 problems each. We pose the problem as a text classification problem and train neural network and non-neural network-based models on this task. Our best performing classifier gets an accuracy of 62.7 percent for the multiclass case on the five class classification dataset, Codeforces Multiclass-5 (CFMC5). We also do some human-level analysis and compare human performance with that of our text classification models. Our best classifier has an accuracy only 9 percent lower than that of a human on this task. To the best of our knowledge, these are the first reported results on such a task. We make our code and datasets publicly available.

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

↑