Thinking aloud is an effective meta-cognitive strategy human reasoners apply to solve difficult problems. We suggest to improve the reasoning ability of pre-trained neural language models in a similar way, namely by expanding a task's context with problem elaborations that are dynamically generated by the language model itself. Our main result is that dynamic problem elaboration significantly improves the zero-shot performance of GPT-2 in a deductive reasoning and natural language inference task: While the model uses a syntactic heuristic for predicting an answer, it is capable (to some degree) of generating reasoned additional context which facilitates the successful application of its heuristic. We explore different ways of generating elaborations, including fewshot learning, and find that their relative performance varies with the specific problem characteristics (such as problem difficulty). Moreover, the effectiveness of an elaboration can be explained in terms of the degree to which the elaboration semantically coheres with the corresponding problem. In particular, elaborations that are most faithful to the original problem description may boost accuracy by up to 24%.
翻译:大声思考是一种有效的元认知战略,人类理性者适用于解决困难问题。我们建议以类似的方式提高受过训练的神经语言模型的推理能力,即扩大任务背景,由语言模型本身动态地生成问题说明。我们的主要结果是动态问题阐述大大改善了GPT-2在推论和自然语言推论任务中的零弹性能:模型在预测答案时使用综合理论超常法,但它能够(在某种程度上)产生合理的附加环境,促进成功应用其超自然学。我们探索了不同的方式生成描述,包括少发学,并发现其相对性能与具体问题特点(如问题难度)不同。此外,一个阐述的有效性可以用阐述语义与相应问题交织的程度来解释。特别是,最忠实于原始问题描述的阐述可以提高准确性达24%。