Skip to main content
QUICK REVIEW

[Paper Review] PINTO: Faithful Language Reasoning Using Prompt-Generated Rationales

Peifeng Wang, Aaron Chan|arXiv (Cornell University)|Nov 3, 2022
Topic ModelingComputer Science21 citations
TL;DR

PINTO proposes a two-stage pipeline that prompts a frozen medium-scale LM to generate choice-specific rationales and then fine-tunes a smaller reasoning LM to answer using those rationales with counterfactual regularization to ensure faithful use of the rationales, improving ID and OOD generalization.

ABSTRACT

Neural language models (LMs) have achieved impressive results on various language-based reasoning tasks by utilizing latent knowledge encoded in their own pretrained parameters. To make this reasoning process more explicit, recent works retrieve a rationalizing LM's internal knowledge by training or prompting it to generate free-text rationales, which can be used to guide task predictions made by either the same LM or a separate reasoning LM. However, rationalizing LMs require expensive rationale annotation and/or computation, without any assurance that their generated rationales improve LM task performance or faithfully reflect LM decision-making. In this paper, we propose PINTO, an LM pipeline that rationalizes via prompt-based learning, and learns to faithfully reason over rationales via counterfactual regularization. First, PINTO maps out a suitable reasoning process for the task input by prompting a frozen rationalizing LM to generate a free-text rationale. Second, PINTO's reasoning LM is fine-tuned to solve the task using the generated rationale as context, while regularized to output less confident predictions when the rationale is perturbed. Across four datasets, we show that PINTO significantly improves the generalization ability of the reasoning LM, yielding higher performance on both in-distribution and out-of-distribution test sets. Also, we find that PINTO's rationales are more faithful to its task predictions than those generated by competitive baselines.

Motivation & Objective

  • Motivate explicit, faithful reasoning in language models for implicit knowledge tasks.
  • Reduce reliance on expensive rationale annotations by using prompt-based rationalization.
  • Improve generalization (ID and OOD) via counterfactual regularization that ties reasoning to rationale quality.
  • Enable efficient training by freezing the rationalizing module while fine-tuning a smaller reasoning LM.
  • Demonstrate that generated rationales are more faithful than baselines and can be refined for better performance.

Proposed method

  • Rationalizing module: Use a frozen 20B GPT-Neox-like LM prompted with a small in-context demonstration set to generate choice-specific rationales for each answer option without needing gold rationales.
  • Reasoning module: Fine-tune a 220M T5-base LM to compute a plausibility score for each (q, A, r) triple and select the best answer.
  • Counterfactual regularization: Apply perturbations to rationales (token masking or token replacement) and train the reasoning module with a softened (noisy) target distribution to discourage reliance on spuriously perturbed rationales.
  • Training objective: Combine standard cross-entropy over the correct answer with a counterfactual regularization loss that uses perturbed rationales to encourage faithful use of rationales (Equation 2).
  • Perturbation strategies: Randomly apply token masking (remove rationale attention) or token replacement (substitute rationale tokens) during training, with replacement rate set to 30%.
  • Evaluation: Assess ID and OOD accuracy, rationale faithfulness via LAS, and a Normalized Relative Gain (NRG) composite metric across four CSR benchmarks.

Experimental results

Research questions

  • RQ1Does PINTO improve end-task accuracy on in-distribution data compared to baselines?
  • RQ2Does PINTO improve faithfulness of generated rationales to the model's predictions (LAS) relative to baselines?
  • RQ3Do counterfactual perturbations of rationales lead to better generalization, especially in low-resource and OOD scenarios?
  • RQ4How does rationale quality affect task performance and generalization across Commonsense QA, StrategyQA, OpenBookQA, and QASC?
  • RQ5Are the improvements robust to different perturbation strategies and can the approach be refined with higher-quality rationales?

Key findings

  • PINTO achieves higher ID accuracy and faithfulness (LAS) than most baselines across CSQA, StrategyQA, OpenBookQA, and QASC.
  • PINTO yields strongest OOD accuracy among rationalization-based methods, indicating better generalization.
  • Counterfactual regularization improves both accuracy and faithfulness, with token replacement typically providing larger gains than masking.
  • Rationale perturbation analysis shows PINTO's faithfulness correlates with sensitivity to perturbed rationales, validating the regularization approach.
  • Low-resource settings favor PINTO, with consistent performance leads over baselines as training data decreases.
  • Rationale quality (including human-annotated ECQA rationales) offers further gains, underscoring the value of faithful reasoning for refinement.

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.