← Search

Xinyun Chen

44 accepted papers

2025

MATH-Perturb: Benchmarking LLMs' Math Reasoning Abilities against Hard Perturbations

ICML 2025poster

Large language models have demonstrated impressive performance on challenging mathematical reasoning tasks, which has triggered the discussion of whether the performance is achieved by true reasoning capability or memorization. To investigate this question, prior work has constructed mathematical be…

2024

A Human-Inspired Reading Agent with Gist Memory of Very Long Contexts

ICML 2024poster

Current Large Language Models (LLMs) are not only limited to some maximum context length, but also are not able to robustly consume long inputs. To address these limitations, we propose ReadAgent, an LLM agent system that increases effective context length up to 20x in our experiments. Inspired by h…

Cited by 29SourcePDFScholar
2024

Chain of Code: Reasoning with a Language Model-Augmented Code Emulator

ICML 2024oral

Code provides a general syntactic structure to build complex programs and perform precise computations when paired with a code interpreter – we hypothesize that language models (LMs) can leverage code-writing to improve Chain of Thought reasoning not only for logic and arithmetic tasks, but also for…

Cited by 69SourcePDFScholar
2024

Large Language Models Cannot Self-Correct Reasoning Yet

ICLR 2024poster

Large Language Models (LLMs) have emerged as a groundbreaking technology with their unparalleled text generation capabilities across various applications. Nevertheless, concerns persist regarding the accuracy and appropriateness of their generated content. A contemporary methodology, self-correction…

Cited by 431SourcePDFScholar
2024

Large Language Models as Analogical Reasoners

ICLR 2024poster

Chain-of-thought (CoT) prompting for language models demonstrates impressive performance across reasoning tasks, but typically needs labeled exemplars of the reasoning process. In this work, we introduce a new prompting approach, analogical prompting, designed to automatically guide the reasoning pr…

Cited by 60SourcePDFScholar
2024

Large Language Models as Optimizers

ICLR 2024poster

Optimization is ubiquitous. While derivative-based algorithms have been powerful tools for various problems, the absence of gradient imposes challenges on many real-world applications. In this work, we propose Optimization by PROmpting (OPRO), a simple and effective approach to leverage large langua…

2024

Mixture-of-Experts Meets Instruction Tuning: A Winning Combination for Large Language Models

ICLR 2024poster

Sparse Mixture-of-Experts (MoE) is a neural architecture design that adds learnable parameters to Large Language Models (LLMs) without increasing computational complexity (FLOPs). Instruction tuning is a technique for training LLMs to follow instructions. We advocate combining these two approaches,…

Cited by 78SourcePDFScholar
2024

Premise Order Matters in Reasoning with Large Language Models

ICML 2024poster

Large language models (LLMs) have accomplished remarkable reasoning performance in various domains. However, in the domain of reasoning tasks, we discover a frailty: LLMs are surprisingly brittle to the ordering of the premises, despite the fact that such ordering does not alter the underlying task.…

Cited by 64SourcePDFScholar
2024

SELF-DISCOVER: Large Language Models Self-Compose Reasoning Structures

NeurIPS 2024poster

We introduce SELF-DISCOVER, a general framework for LLMs to self-discover the task-intrinsic reasoning structures to tackle complex reasoning problems that are challenging for typical prompting methods. Core to the framework is a self-discovery process where LLMs select multiple atomic reasoning mod…

Cited by 47SourcePDFScholar
2024

Take a Step Back: Evoking Reasoning via Abstraction in Large Language Models

ICLR 2024poster

We present STEP-BACK PROMPTING, a simple prompting technique that enables LLMs to do abstractions to derive high-level concepts and first principles from instances containing specific details. Using the concepts and principles to guide reasoning, LLMs significantly improve their abilities in followi…

Cited by 157SourcePDFScholar
2023

Compositional Semantic Parsing with Large Language Models

ICLR 2023poster

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 s…

Cited by 150SourcePDFScholar
2023

Large Language Models Can Be Easily Distracted by Irrelevant Context

ICML 2023poster

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…

2023

Symbol tuning improves in-context learning in language models

EMNLP 2023long main

We present symbol tuning - finetuning language models on in-context input-label pairs where natural language labels (e.g., "positive/negative sentiment") are replaced with arbitrary symbols (e.g., "foo/bar"). Symbol tuning leverages the intuition that when a model cannot use instructions or natural…

Cited by 0SourceScholar
2022

Benchmarking Language Models for Code Syntax Understanding

EMNLP 2022finding

Pre-trained language models have demonstrated impressive performance in both natural language processing and program understanding, which represent the input as a token sequence without explicitly modeling its structure. Some prior works show that pre-trained language models can capture the syntacti…

2022

Learning Bounded Context-Free-Grammar via LSTM and the Transformer: Difference and the Explanations

AAAI 2022technical

Long Short-Term Memory (LSTM) and Transformers are two popular neural architectures used for natural language processing tasks. Theoretical results show that both are Turing-complete and can represent any context-free language (CFL).In practice, it is often observed that Transformer models have bett…

2022

Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignment

NAACL 2022findings

In text-to-SQL tasks — as in much of NLP — compositional generalization is a major challenge: neural networks struggle with compositional generalization where training and test distributions differ. However, most recent attempts to improve this are based on word-level synthetic data or specific data…

2022

Perturbation type categorization for multiple adversarial perturbation robustness

UAI 2022poster

Recent works in adversarial robustness have proposed defenses to improve the robustness of a single model against the union of multiple perturbation types. However, these methods still suffer significant trade-offs compared to the ones specifically trained to be robust against a single perturbation…

2021

Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalization

EMNLP 2021main

Recently, there has been significant progress in studying neural networks for translating text descriptions into SQL queries under the zero-shot cross-domain setting. Despite achieving good performance on some public benchmarks, we observe that existing text-to-SQL models do not generalize when faci…

2021

LEGO: Latent Execution-Guided Reasoning for Multi-Hop Question Answering on Knowledge Graphs

ICML 2021spotlight

Answering complex natural language questions on knowledge graphs (KGQA) is a challenging task. It requires reasoning with the input natural language questions as well as a massive, incomplete heterogeneous KG. Prior methods obtain an abstract structured query graph/tree from the input question and t…

2021

Latent Execution for Neural Program Synthesis Beyond Domain-Specific Languages

NeurIPS 2021poster

Program synthesis from input-output (IO) examples has been a long-standing challenge. While recent works demonstrated limited success on domain-specific languages (DSL), it remains highly challenging to apply them to real-world programming languages, such as C. Due to complicated syntax and token va…

Cited by 58SourcePDFScholar
2021

Learn-to-Share: A Hardware-friendly Transfer Learning Framework Exploiting Computation and Parameter Sharing

ICML 2021oral

Task-specific fine-tuning on pre-trained transformers has achieved performance breakthroughs in multiple NLP tasks. Yet, as both computation and parameter size grows linearly with the number of sub-tasks, it is increasingly difficult to adopt such methods to the real world due to unrealistic memory…

Cited by 20SourcePDFScholar
2021

Natural SQL: Making SQL Easier to Infer from Natural Language Specifications

EMNLP 2021finding

Addressing the mismatch between natural language descriptions and the corresponding SQL queries is a key challenge for text-to-SQL translation. To bridge this gap, we propose an SQL intermediate representation (IR) called Natural SQL (NatSQL). Specifically, NatSQL preserves the core functionalities…

2021

PlotCoder: Hierarchical Decoding for Synthesizing Visualization Code in Programmatic Context

ACL 2021long

Creating effective visualization is an important part of data analytics. While there are many libraries for creating visualization, writing such code remains difficult given the myriad of parameters that users need to provide. In this paper, we propose the new task of synthesizing visualization prog…

2021

SpreadsheetCoder: Formula Prediction from Semi-structured Context

ICML 2021spotlight

Spreadsheet formula prediction has been an important program synthesis problem with many real-world applications. Previous works typically utilize input-output examples as the specification for spreadsheet formula synthesis, where each input-output pair simulates a separate row in the spreadsheet. H…

2021

Towards Robustness of Text-to-SQL Models against Synonym Substitution

ACL 2021long

Recently, there has been significant progress in studying neural networks to translate text descriptions into SQL queries. Despite achieving good performance on some public benchmarks, existing text-to-SQL models typically rely on the lexical matching between words in natural language (NL) questions…

2021

Understanding Robustness in Teacher-Student Setting: A New Perspective

AISTATS 2021poster

Adversarial examples have appeared as a ubiquitous property of machine learning models where bounded adversarial perturbation could mislead the models to make arbitrarily incorrect predictions. Such examples provide a way to assess the robustness of machine learning models as well as a proxy for und…

Cited by 2SourcePDFScholar
2020

Compositional Generalization via Neural-Symbolic Stack Machines

NeurIPS 2020poster

Despite achieving tremendous success, existing deep learning models have exposed limitations in compositional generalization, the capability to learn compositional rules and apply them to unseen cases in a systematic manner. To tackle this issue, we propose the Neural-Symbolic Stack Machine (NeSS).…

Cited by 115SourcePDFScholar
2020

Deep Symbolic Superoptimization Without Human Knowledge

ICLR 2020poster

Deep symbolic superoptimization refers to the task of applying deep learning methods to simplify symbolic expressions. Existing approaches either perform supervised training on human-constructed datasets that defines equivalent expression pairs, or apply reinforcement learning with human-defined…

Cited by 8SourcecodeScholar
2020

Infinite-horizon Off-Policy Policy Evaluation with Multiple Behavior Policies

ICLR 2020poster

We consider off-policy policy evaluation when the trajectory data are generated by multiple behavior policies. Recent work has shown the key role played by the state or state-action stationary distribution corrections in the infinite horizon context for off-policy policy evaluation. We propose estim…

Cited by 7SourceScholar
2020

Neural Symbolic Reader: Scalable Integration of Distributed and Symbolic Representations for Reading Comprehension

ICLR 2020spotlight

Integrating distributed representations with symbolic operations is essential for reading comprehension requiring complex reasoning, such as counting, sorting and arithmetics, but most existing approaches are hard to scale to more domains or more complex reasoning. In this work, we propose the Neura…

Cited by 129SourceScholar
2020

Spatiotemporal Attacks for Embodied Agents

ECCV 2020poster

Adversarial attacks are valuable for providing insights into the blind-spots of deep learning models and help improve their robustness. Existing work on adversarial attacks have mainly focused on static scenes; however, it remains unclear whether such attacks are effective against embodied agents, w…

2020

Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesis

NeurIPS 2020poster

The use of deep learning techniques has achieved significant progress for program synthesis from input-output examples. However, when the program semantics become more complex, it still remains a challenge to synthesize programs that are consistent with the specification. In this work, we propose SE…

Cited by 57SourcePDFScholar
2019

Coda: An End-to-End Neural Program Decompiler

NeurIPS 2019poster

Reverse engineering of binary executables is a critical problem in the computer security domain. On the one hand, malicious parties may recover interpretable source codes from the software products to gain commercial advantages. On the other hand, binary decompilation can be leveraged for code vulne…

2018

Fooling Vision and Language Models Despite Localization and Attention Mechanism

CVPR 2018poster

Adversarial attacks are known to succeed on classifiers, but it has been an open question whether more complex vision systems are vulnerable. In this paper, we study adversarial examples for vision and language models, which incorporate natural language understanding and complex structures such as a…

2017

Delving into Transferable Adversarial Examples and Black-box Attacks

ICLR 2017poster

An intriguing property of deep neural networks is the existence of adversarial examples, which can transfer among different architectures. These transferable adversarial examples may severely hinder deep neural network-based applications. Previous works mostly study the transferability using small s…

Cited by 2183SourcecodeScholar
2016

Latent Attention For If-Then Program Synthesis

NeurIPS 2016poster

Automatic translation from natural language descriptions into programs is a long-standing challenging problem. In this work, we consider a simple yet important sub-problem: translation from textual descriptions to If-Then programs. We devise a novel neural network architecture for this task which w…

Cited by 108SourcePDFScholar