paper-with-me

홈 › Papers

Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategies

2024-02-27 · Flavio Petruzzellis, Alberto Testolin, Alessandro Sperduti

Large Language Models (LLMs) have revolutionized the field of Natural Language Processing thanks to their ability to reuse knowledge acquired on massive text corpora on a wide variety of downstream tasks, with minimal (if any) tuning steps. At the same time, it has been repeatedly shown that LLMs lack systematic generalization, which allows to extrapolate the learned statistical regularities outside the training distribution. In this work, we offer a systematic benchmarking of GPT-4, one of the most advanced LLMs available, on three algorithmic tasks characterized by the possibility to control the problem difficulty with two parameters. We compare the performance of GPT-4 with that of its predecessor (GPT-3.5) and with a variant of the Transformer-Encoder architecture recently introduced to solve similar tasks, the Neural Data Router. We find that the deployment of advanced prompting techniques allows GPT-4 to reach superior accuracy on all tasks, demonstrating that state-of-the-art LLMs constitute a very strong baseline also in challenging tasks that require systematic generalization.

📄 PDF Abstract BibTeX arXiv:2402.17396

Code (0)

등록된 구현이 없습니다.

Tasks

BenchmarkingSystematic Generalization

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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…
Multi-Head Attention 설명 없음
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…
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…

Similar Papers 제목 키워드 기반

AlgoBench: Benchmarking Algorithmic Adaptation in Code Generation

2026-06-30 · Xinyuan Song, Zekun Cai, Liang Zhao arxiv

High pass rates on established programming benchmarks such as HumanEval and LiveCodeBench do not always show whether a model can reason about algorithms. Many fixed benchmarks eventually become part of the public trainin…

Code Generation

Structural bias in multi-objective optimisation

2026-02-06 · Jakub Kudela, Niki van Stein, Thomas Bäck, Anna V. Kononova arxiv

Structural bias (SB) refers to systematic preferences of an optimisation algorithm for particular regions of the search space that arise independently of the objective function. While SB has been studied extensively in s…

A Neural Rewriting System to Solve Algorithmic Problems

2024-02-27 · Flavio Petruzzellis, Alberto Testolin, Alessandro Sperduti

Modern neural network architectures still struggle to learn algorithmic procedures that require to systematically apply compositional rules to solve out-of-distribution problem instances. In this work, we focus on formul…

Language ModelingLanguage ModellingLarge Language ModelOut-of-Distribution Generalization+1

Chain-of-Code Collapse: Reasoning Failures in LLMs via Adversarial Prompting in Code Generation

2025-06-08 · Jaechul Roh, Varun Gandhi, Shivani Anilkumar, Arin Garg

Large Language Models (LLMs) have achieved remarkable success in tasks requiring complex reasoning, such as code generation, mathematical problem solving, and algorithmic synthesis -- especially when aided by reasoning t…

Code GenerationMathematical Problem-Solving

Can Language Models Solve Graph Problems in Natural Language?

2023-05-17 · NeurIPS 2023 11 · Heng Wang, Shangbin Feng, Tianxing He, Zhaoxuan Tan 외

Large language models (LLMs) are increasingly adopted for a variety of tasks with implicit graphical structures, such as planning in robotics, multi-hop question answering or knowledge probing, structured commonsense rea…

In-Context LearningKnowledge ProbingMulti-hop Question AnsweringQuestion Answering