← Search

Xiaofei Ma

18 accepted papers

2025

Approximately Aligned Decoding

NeurIPS 2025poster

It is common to reject undesired outputs of Large Language Models (LLMs); however, current methods to do so require an excessive amount of computation to re-sample after a rejection, or distort the distribution of outputs by constraining the output to highly improbable tokens. We present a method, A…

Cited by 0SourceScholar
2025

Automated Composition of Agents: A Knapsack Approach for Agentic Component Selection

NeurIPS 2025poster

Designing effective agentic systems requires the seamless composition and integration of agents, tools, and models within dynamic and uncertain environments. Most existing methods rely on static, semantic retrieval approaches for tool or agent discovery. However, effective reuse and composition of e…

Cited by 0SourceScholar
2025

LibEvolutionEval: A Benchmark and Study for Version-Specific Code Generation

NAACL 2025long

Recent advancements in code completion models have primarily focused on local file contexts. However, these studies do not fully capture the complexity of real-world software development, which often requires the use of rapidly-evolving public libraries. To address this gap, we introduce LibEvolutio…

Cited by 1SourcePDFScholar
2024

BASS: Batched Attention-optimized Speculative Sampling

ACL 2024findings

Speculative decoding has emerged as a powerful method to improve latency and throughput in hosting large language models. However, most existing implementations focus on generating a single sequence. Real-world generative AI applications often require multiple responses and how to perform speculativ…

2024

CODE REPRESENTATION LEARNING AT SCALE

ICLR 2024poster

Recent studies have shown that code language model at scale demonstrate significant performance gains on downstream tasks, i.e., code generation. However, most of the existing works on code representation learning train models at a hundred million parameter scale using very limited pretraining corpo…

Cited by 18SourcePDFScholar
2024

CodeFort: Robust Training for Code Generation Models

EMNLP 2024finding

Code generation models are not robust to small perturbations, which often lead to incorrect generations and significantly degrade the performance of these models. Although improving the robustness of code generation models is crucial to enhancing user experience in real-world applications, existing…

Cited by 1SourcePDFScholar
2024

LeDex: Training LLMs to Better Self-Debug and Explain Code

NeurIPS 2024poster

In the domain of code generation, self-debugging is crucial. It allows LLMs to refine their generated code based on execution feedback. This is particularly important because generating correct solutions in one attempt proves challenging for complex tasks. Prior works on self-debugging mostly focus…

Cited by 4SourcePDFScholar
2024

Repoformer: Selective Retrieval for Repository-Level Code Completion

ICML 2024oral

Recent advances in retrieval-augmented generation (RAG) have initiated a new era in repository-level code completion. However, the invariable use of retrieval in existing methods exposes issues in both efficiency and robustness, with a large proportion of the retrieved contexts proving unhelpful or…

Cited by 30SourcePDFScholar
2023

ContraCLM: Contrastive Learning For Causal Language Model

ACL 2023long

Despite exciting progress in causal language models, the expressiveness of their representations is largely limited due to poor discrimination ability. To remedy this issue, we present CONTRACLM, a novel contrastive learning framework at both the token-level and the sequence-level. We assess CONTRAC…

2023

Efficient Shapley Values Estimation by Amortization for Text Classification

ACL 2023long

Despite the popularity of Shapley Values in explaining neural text classification models, computing them is prohibitive for large pretrained models due to a large number of model evaluations. In practice, Shapley Values are often estimated with a small number of stochastic model evaluations. However…

2023

Exploring Continual Learning for Code Generation Models

ACL 2023short

Large-scale code generation models such as Copilot and CodeT5 have achieved impressive performance. However, libraries are upgraded or deprecated very frequently and re-training large-scale language models is computationally expensive. Therefore, Continual Learning (CL) is an important aspect that r…

2023

Multitask Pretraining with Structured Knowledge for Text-to-SQL Generation

ACL 2023long

Many machine learning-based low-code or no-code applications involve generating code that interacts with structured knowledge. For example, one of the most studied tasks in this area is generating SQL code from a natural language statement. Prior work shows that incorporating context information fro…

2023

STREET: A MULTI-TASK STRUCTURED REASONING AND EXPLANATION BENCHMARK

ICLR 2023top-25%

We introduce STREET, a unified multi-task and multi-domain natural language reasoning and explanation benchmark. Unlike most existing question-answering (QA) datasets, we expect models to not only answer questions, but also produce step-by-step structured explanations describing how premises in the…

Cited by 27SourcePDFScholar
2022

Entailment Tree Explanations via Iterative Retrieval-Generation Reasoner

NAACL 2022findings

Large language models have achieved high performance on various question answering (QA) benchmarks, but the explainability of their output remains elusive. Structured explanations, called entailment trees, were recently suggested as a way to explain the reasoning behind a QA system’s answer. In orde…

2022

Learning Dialogue Representations from Consecutive Utterances

NAACL 2022long

Learning high-quality dialogue representations is essential for solving a variety of dialogue-oriented tasks, especially considering that dialogue systems often suffer from data scarcity. In this paper, we introduce Dialogue Sentence Embedding (DSE), a self-supervised contrastive learning method tha…

2022

Virtual Augmentation Supported Contrastive Learning of Sentence Representations

ACL 2022findings

Despite profound successes, contrastive representation learning relies on carefully designed data augmentations using domain-specific knowledge. This challenge is magnified in natural language processing, where no general rules exist for data augmentation due to the discrete nature of natural langua…

2021

Contrastive Document Representation Learning with Graph Attention Networks

EMNLP 2021finding

Recent progress in pretrained Transformer-based language models has shown great success in learning contextual representation of text. However, due to the quadratic self-attention complexity, most of the pretrained Transformers models can only handle relatively short text. It is still a challenge wh…