Skip to main content
QUICK REVIEW

[Paper Review] ALERT: Adapting Language Models to Reasoning Tasks

Ping Yu, Tianlu Wang|arXiv (Cornell University)|Dec 16, 2022
Topic ModelingComputer Science9 citations
TL;DR

ALERT introduces a comprehensive benchmark and analysis suite to evaluate fine-grained reasoning skills in large language models (LLMs), demonstrating that finetuning—particularly with chain-of-thought rationales—significantly enhances reasoning abilities like textual entailment, abductive, and analogical reasoning. The study reveals that finetuning improves reasoning beyond mere memorization, though models often overfit to prompt templates, reducing robustness.

ABSTRACT

Current large language models can perform reasonably well on complex tasks that require step-by-step reasoning with few-shot learning. Are these models applying reasoning skills they have learnt during pre-training and reason outside of their training context, or are they simply memorizing their training corpus at finer granularity and have learnt to better understand their context? To tease apart these possibilities, we introduce ALERT, a benchmark and suite of analyses for assessing language models' reasoning ability comparing pre-trained and finetuned models on complex tasks that require reasoning skills to solve. ALERT provides a test bed to asses any language model on fine-grained reasoning skills, which spans over 20 datasets and covers 10 different reasoning skills. We leverage ALERT to further investigate the role of finetuning. With extensive empirical analysis we find that language models learn more reasoning skills such as textual entailment, abductive reasoning, and analogical reasoning during finetuning stage compared to pretraining state. We also find that when language models are finetuned they tend to overfit to the prompt template, which hurts the robustness of models causing generalization problems.

Motivation & Objective

  • To determine whether LLMs acquire reasoning skills during finetuning or merely memorize training data.
  • To evaluate the extent to which finetuning improves specific reasoning skills such as logical, causal, and spatial reasoning.
  • To diagnose whether performance gains stem from data memorization, template memorization, or actual reasoning skill acquisition.
  • To develop a benchmark that enables fine-grained evaluation of reasoning abilities across diverse reasoning types and model variants.
  • To assess the robustness of finetuned models under distribution shift and prompt template variations.

Proposed method

  • ALERT is a benchmark suite comprising over 20 datasets spanning 10 distinct reasoning skills, including logical, causal, commonsense, abductive, spatial, analogical, argument, deductive, textual entailment, and mathematical reasoning.
  • The framework supports zero-shot, few-shot, and chain-of-thought (CoT) prompting for evaluating any language model on reasoning tasks.
  • Three model types are evaluated: a pre-trained OPT model, a finetuned OPT on reference answers (OPT-FT), and a CoT-finetuned OPT on rationale-annotated data (OPT-CoT).
  • The study uses vocabulary overlap analysis to measure data memorization effects between finetuning and evaluation datasets.
  • Held-out datasets are constructed to isolate reasoning skills not present in training data, enabling evaluation of generalization and skill transfer.
  • Robustness is tested by varying prompt templates, revealing model overfitting to specific template structures.

Experimental results

Research questions

  • RQ1To what extent do finetuned LLMs acquire new reasoning skills, as opposed to memorizing training examples or prompt templates?
  • RQ2Which specific reasoning skills (e.g., abductive, analogical, causal) show the most improvement after finetuning?
  • RQ3Does CoT-finetuning lead to better reasoning performance than standard finetuning, and does it improve generalization?
  • RQ4How much of the performance gain in reasoning tasks is attributable to data memorization versus actual skill acquisition?
  • RQ5To what degree do prompt templates influence model behavior, and does overfitting to templates reduce robustness?

Key findings

  • Finetuning significantly improves reasoning performance across multiple skills, including textual entailment, abductive reasoning, and analogical reasoning, indicating actual skill acquisition beyond memorization.
  • Models finetuned with rationales (OPT-CoT) show superior reasoning performance compared to standard finetuning (OPT-FT), especially on complex, multi-step tasks.
  • A substantial portion of performance gains is not due to data memorization, as evidenced by low vocabulary overlap between finetuning and evaluation data in held-out datasets.
  • Models exhibit strong overfitting to prompt templates, with performance degrading significantly when templates are altered, indicating poor robustness.
  • Even state-of-the-art models like text-davinci-003 and ChatGPT fail on certain reasoning tasks, highlighting the need for systematic evaluation frameworks like ALERT.
  • The benchmark reveals that models generalize poorly to reasoning skills not seen during training, especially when those skills are held out from the finetuning data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.