paper-with-me

홈 › Papers

SuperCorrect: Supervising and Correcting Language Models with Error-Driven Insights

2024-10-11 · Ling Yang, Zhaochen Yu, Tianjun Zhang, Minkai Xu, Joseph E. Gonzalez, Bin Cui, Shuicheng Yan

Large language models (LLMs) like GPT-4, PaLM, and LLaMA have shown significant improvements in various reasoning tasks. However, smaller models such as Llama-3-8B and DeepSeekMath-Base still struggle with complex mathematical reasoning because they fail to effectively identify and correct reasoning errors. Recent reflection-based methods aim to address these issues by enabling self-reflection and self-correction, but they still face challenges in independently detecting errors in their reasoning steps. To overcome these limitations, we propose SuperCorrect, a novel two-stage framework that uses a large teacher model to supervise and correct both the reasoning and reflection processes of a smaller student model. In the first stage, we extract hierarchical high-level and detailed thought templates from the teacher model to guide the student model in eliciting more fine-grained reasoning thoughts. In the second stage, we introduce cross-model collaborative direct preference optimization (DPO) to enhance the self-correction abilities of the student model by following the teacher's correction traces during training. This cross-model DPO approach teaches the student model to effectively locate and resolve erroneous thoughts with error-driven insights from the teacher model, breaking the bottleneck of its thoughts and acquiring new skills and knowledge to tackle challenging problems. Extensive experiments consistently demonstrate our superiority over previous methods. Notably, our SuperCorrect-7B model significantly surpasses powerful DeepSeekMath-7B by 7.8%/5.3% and Qwen2.5-Math-7B by 15.1%/6.3% on MATH/GSM8K benchmarks, achieving new SOTA performance among all 7B models. Code: https://github.com/YangLing0818/SuperCorrect-llm

📄 PDF Abstract BibTeX arXiv:2410.09008

Code (2)

yangling0818/supercorrect-llm 공식 구현 pytorch
gen-verse/reasonflux pytorch

Tasks

GSM8KMathMathematical Reasoning

Methods 이 논문이 사용한 방법론

DPO 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Position-Wise Feed-Forward Layer 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Hybrid Mamba-Transformer Decoder for Error-Correcting Codes

2025-05-23 · Shy-el Cohen, Yoni Choukroun, Eliya Nachmani

We introduce a novel deep learning method for decoding error correction codes based on the Mamba architecture, enhanced with Transformer layers. Our approach proposes a hybrid decoder that leverages Mamba's efficient seq…

DecoderMamba

Segmentation for Efficient Supervised Language Annotation with an Explicit Cost-Utility Tradeoff

2014-01-01 · TACL 2014 1 · Matthias Sperber, Mirjam Simantzik, Graham Neubig, Satoshi Nakamura 외

In this paper, we study the problem of manually correcting automatic annotations of natural language in as efficient a manner as possible. We introduce a method for automatically segmenting a corpus into chunks such that…

Active LearningSegmentation

Segmenting Subtitles for Correcting ASR Segmentation Errors

2021-04-16 · EACL 2021 2 · David Wan, Chris Kedzie, Faisal Ladhak, Elsbeth Turcan 외

Typical ASR systems segment the input audio into utterances using purely acoustic information, which may not resemble the sentence-like units that are expected by conventional machine translation (MT) systems for Spoken …

Information RetrievalMachine TranslationRetrievalSegmentation+2

Correcting Automated and Manual Speech Transcription Errors using Warped Language Models

2021-03-26 · Mahdi Namazifar, John Malik, Li Erran Li, Gokhan Tur 외

Masked language models have revolutionized natural language processing systems in the past few years. A recently introduced generalization of masked language models called warped language models are trained to be more ro…

Language ModelingLanguage Modelling

Great Models Think Alike and this Undermines AI Oversight

2025-02-06 · Shashwat Goel, Joschka Struber, Ilze Amanda Auzina, Karuna K Chandra 외

As Language Model (LM) capabilities advance, evaluating and supervising them at scale is getting harder for humans. There is hope that other language models can automate both these tasks, which we refer to as "AI Oversig…

Language ModelingLanguage Modelling