Reproduce “Beyond Fine-Tuning: In-Context Learning and Chain-of-Thought for Reasoned Distractor Generation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Elaf Alhazmi, Quan Z. Sheng, Wei Emma Zhang

An In-Context Learning (ICL) framework, augmented by k-nearest-neighbor (k-NN) retrieval and Chain-of-Thought (COT) prompting with Large Language Models, generates reasoned distractors for multiple-choice questions. This approach consistently outperforms traditional fine-tuning methods and instruction-tuned models on diverse datasets, producing distractors that human evaluators rate highly for relevance, difficulty, and fluency, and are effective in challenging external Question Answering models.

Key insights

  • LLMs exhibit emergent reasoning capabilities that can be effectively harnessed through ICL to generate pedagogically sound and reasoned distractors, moving beyond pattern matching.
  • Semantic retrieval of few-shot examples (k-NN) is crucial for improving ICL performance in distractor generation, providing more informative context than random example selection.
  • Chain-of-Thought prompting, by explicitly generating rationales, enables LLMs to produce distractors with a deeper underlying reasoning, enhancing both generation quality and interpretability.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.