paper-with-me

홈 › Papers

Controlling Equational Reasoning in Large Language Models with Prompt Interventions

2023-07-19 · Jordan Meadows, Marco Valentino, Andre Freitas

This paper investigates how hallucination rates in Large Language Models (LLMs) may be controlled via a symbolic data generation framework, exploring a fundamental relationship between the rate of certain mathematical errors and types of input intervention. Specifically, we systematically generate data for a derivation generation task using a symbolic engine, applying targeted interventions to prompts to perturb features of mathematical derivations such as the surface forms of symbols, equational tree structures, and mathematical context. We then evaluate the effect of prompt interventions across a range of LLMs including fine-tuned T5 models, GPT, and LLaMa-based models. Our experiments suggest that T5-Large can outperform the few-shot performance of GPT-4 on various evaluation sets generated via the framework. However, an extensive evaluation based on human analysis, template-based error detection, and text generation metrics reveals model weaknesses beyond what the reference-based metrics singularly describe. We use these results to tie characteristic distributional footprints of interventions to the human evaluation of LLM derivation quality, potentially leading to significant control over fine-grained mathematical capabilities of language models with respect to specific types of errors.

📄 PDF Abstract BibTeX arXiv:2307.09998

Code (0)

등록된 구현이 없습니다.

Tasks

HallucinationIn-Context LearningMathText Generation

Methods 이 논문이 사용한 방법론

Gated Linear Unit A Gated Linear Unit, or GLU computes: $$ \mathrm{GLU}(a, b) = a \otimes \sigma(b) $$ It is used in natural language processing architectures, for example the Gated CNN,…
Multi-Head Attention 설명 없음
Attention 설명 없음
fail 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Weight Decay 설명 없음
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Less Is More: Cognitive Load and the Single-Prompt Ceiling in LLM Mathematical Reasoning

2026-04-20 · Manuel Israel Cazares arxiv

We present a systematic empirical study of prompt engineering for formal mathematical reasoning in the context of the SAIR Equational Theories Stage 1 competition. The task requires deciding whether one equational law im…

Mathematical ReasoningPrompt Engineering

Fuzzy inequational logic

2014-08-08 · Vilem Vychodil

We present a logic for reasoning about graded inequalities which generalizes the ordinary inequational logic used in universal algebra. The logic deals with atomic predicate formulas of the form of inequalities between t…

On Incorrectness Logic and Kleene Algebra with Top and Tests

2021-08-17 · Cheng Zhang, Arthur Azevedo de Amorim, Marco Gaboardi

Kleene algebra with tests (KAT) is a foundational equational framework for reasoning about programs, which has found applications in program transformations, networking and compiler optimizations, among many other areas.…

Effectively Controlling Reasoning Models through Thinking Intervention

2025-03-31 · Tong Wu, Chong Xiang, Jiachen T. Wang, G. Edward Suh 외

Reasoning-enhanced large language models (LLMs) explicitly generate intermediate reasoning steps prior to generating final answers, helping the model excel in complex problem-solving. In this paper, we demonstrate that t…

Instruction FollowingSafety Alignment

Measuring reasoning capabilities of ChatGPT

2023-10-08 · Adrian Groza

I shall quantify the logical faults generated by ChatGPT when applied to reasoning tasks. For experiments, I use the 144 puzzles from the library \url{https://users.utcluj.ro/~agroza/puzzles/maloga}~\cite{groza:fol}. The…

Language Modelling