Arrow Research search

Author name cluster

Nathan Scales

Possible papers associated with this exact author name in Arrow. This page groups case-insensitive exact name matches and is not a full identity disambiguation profile.

5 papers
2 author rows

Possible papers

5

ICLR Conference 2023 Conference Paper

Compositional Semantic Parsing with Large Language Models

  • Andrew Drozdov
  • Nathanael Schärli
  • Ekin Akyürek
  • Nathan Scales
  • Xinying Song
  • Xinyun Chen
  • Olivier Bousquet
  • Denny Zhou

Humans can reason compositionally when presented with new tasks. Previous research shows that appropriate prompting techniques enable large language models (LLMs) to solve artificial compositional generalization tasks such as SCAN. In this work, we identify additional challenges in more realistic semantic parsing tasks with larger vocabulary and refine these prompting techniques to address them. Our best method is based on least-to-most prompting: it decomposes the problem using prompting-based syntactic parsing, then uses this decomposition to select appropriate exemplars and to sequentially generate the semantic parse. This method allows us to set a new state of the art for CFQ while requiring only 1% of the training data used by traditional approaches. Due to the general nature of our approach, we expect similar efforts will lead to new results in other tasks and domains, especially for knowledge-intensive applications.

ICML Conference 2023 Conference Paper

Large Language Models Can Be Easily Distracted by Irrelevant Context

  • Freda Shi
  • Xinyun Chen
  • Kanishka Misra
  • Nathan Scales
  • David Dohan
  • Ed H. Chi
  • Nathanael Schärli
  • Denny Zhou

Large language models have achieved impressive performance on various natural language processing tasks. However, so far they have been evaluated primarily on benchmarks where all information in the input context is relevant for solving the task. In this work, we investigate the distractibility of large language models, i. e. , how the model prediction can be distracted by irrelevant context. In particular, we introduce Grade-School Math with Irrelevant Context (GSM-IC), an arithmetic reasoning dataset with irrelevant information in the problem description. We use this benchmark to measure the distractibility of different prompting techniques for large language models, and find that the model is easily distracted by irrelevant information. We also identify several approaches for mitigating this deficiency, such as decoding with self-consistency and adding to the prompt an instruction that tells the language model to ignore the irrelevant information.

ICLR Conference 2023 Conference Paper

Least-to-Most Prompting Enables Complex Reasoning in Large Language Models

  • Denny Zhou
  • Nathanael Schärli
  • Le Hou
  • Jason Wei
  • Nathan Scales
  • Xuezhi Wang 0002
  • Dale Schuurmans
  • Claire Cui

Chain-of-thought prompting has demonstrated remarkable performance on various natural language reasoning tasks. However, it tends to perform poorly on tasks which requires solving problems harder than the exemplars shown in the prompts. To overcome this challenge of easy-to-hard generalization, we propose a novel prompting strategy, least-to-most prompting. The key idea in this strategy is to break down a complex problem into a series of simpler subproblems and then solve them in sequence. Solving each subproblem is facilitated by the answers to previously solved subproblems. Our experimental results on tasks related to symbolic manipulation, compositional generalization, and math reasoning reveal that least-to-most prompting is capable of generalizing to more difficult problems than those seen in the prompts. A notable finding is that when the GPT-3 code-davinci-002 model is used with least-to-most prompting, it can solve the compositional generalization benchmark SCAN in any split (including length split) with an accuracy of at least 99\% using just 14 exemplars, compared to only 16\% accuracy with chain-of-thought prompting. This is particularly noteworthy because neural-symbolic models in the literature that specialize in solving SCAN are trained on the entire training set containing over 15,000 examples. We have included prompts for all the tasks in the Appendix.

AAAI Conference 2021 Conference Paper

*-CFQ: Analyzing the Scalability of Machine Learning on a Compositional Task

  • Dmitry Tsarkov
  • Tibor Tihon
  • Nathan Scales
  • Nikola Momchev
  • Danila Sinopalnikov
  • Nathanael Schärli

We present *-CFQ (“star-CFQ”): a suite of large-scale datasets of varying scope based on the CFQ semantic parsing benchmark, designed for principled investigation of the scalability of machine learning systems in a realistic compositional task setting. Using this suite, we conduct a series of experiments investigating the ability of Transformers to benefit from increased training size under conditions of fixed computational cost. We show that compositional generalization remains a challenge at all training sizes, and we show that increasing the scope of natural language leads to consistently higher error rates, which are only partially offset by increased training data. We further show that while additional training data from a related domain improves the accuracy in datastarved situations, this improvement is limited and diminishes as the distance from the related domain to the target domain increases.

ICLR Conference 2020 Conference Paper

Measuring Compositional Generalization: A Comprehensive Method on Realistic Data

  • Daniel Keysers
  • Nathanael Schärli
  • Nathan Scales
  • Hylke Buisman
  • Daniel Furrer
  • Sergii Kashubin
  • Nikola Momchev
  • Danila Sinopalnikov

State-of-the-art machine learning methods exhibit limited compositional generalization. At the same time, there is a lack of realistic benchmarks that comprehensively measure this ability, which makes it challenging to find and evaluate improvements. We introduce a novel method to systematically construct such benchmarks by maximizing compound divergence while guaranteeing a small atom divergence between train and test sets, and we quantitatively compare this method to other approaches for creating compositional generalization benchmarks. We present a large and realistic natural language question answering dataset that is constructed according to this method, and we use it to analyze the compositional generalization ability of three machine learning architectures. We find that they fail to generalize compositionally and that there is a surprisingly strong negative correlation between compound divergence and accuracy. We also demonstrate how our method can be used to create new compositionality benchmarks on top of the existing SCAN dataset, which confirms these findings.

v2026.09.13