← Search

Uri Alon

19 accepted papers

2025

In-Context Learning with Long-Context Models: An In-Depth Exploration

NAACL 2025long

As model context lengths continue to increase, the number of demonstrations that can be provided in-context approaches the size of entire training datasets. We study the behavior of in-context learning (ICL) at this extreme scale on multiple datasets and models. We show that, for many datasets with…

Cited by 65SourcePDFScholar
2024

In-Context Principle Learning from Mistakes

ICML 2024poster

In-context learning (ICL, also known as few-shot prompting) has been the standard method of adapting LLMs to downstream tasks, by learning from a few input-output examples. Nonetheless, all ICL-based approaches only learn from correct input-output pairs. In this paper, we revisit this paradigm, by l…

Cited by 29SourcePDFScholar
2024

Learning Performance-Improving Code Edits

ICLR 2024spotlight

With the decline of Moore's law, optimizing program performance has become a major focus of software research. However, high-level optimizations such as API and algorithm changes remain elusive due to the difficulty of understanding the semantics of code. Simultaneously, pretrained large language mo…

2024

SEGLLM: Topic-Oriented Call Segmentation Via LLM-Based Conversation Synthesis

ICASSP 2024accepted

Transcriptions of phone calls are of significant value across diverse fields, such as sales, customer service, healthcare, and law enforcement. Nevertheless, the analysis of these recorded conversations can be an arduous and time-intensive process, especially when dealing with long and multifaceted…

Cited by 0SourceScholar
2024

WebArena: A Realistic Web Environment for Building Autonomous Agents

ICLR 2024poster

With advances in generative AI, there is now potential for autonomous agents to manage daily tasks via natural language commands. However, current agents are primarily created and tested in simplified synthetic environments, leading to a disconnect with real-world scenarios. In this paper, we build…

2023

CodeBERTScore: Evaluating Code Generation with Pretrained Models of Code

EMNLP 2023long main

Since the rise of neural natural-language-to-code models (NL$\rightarrow$Code) that can generate long expressions and statements rather than a single next-token, one of the major problems has been reliably evaluating their generated output. In this paper, we propose CodeBERTScore: an evaluation met…

Cited by 0SourcecodeScholar
2023

DocPrompting: Generating Code by Retrieving the Docs

ICLR 2023top-25%

Publicly available source-code libraries are continuously growing and changing. This makes it impossible for models of code to keep current with all available APIs by simply training these models on existing code repositories. Thus, existing models inherently cannot generalize to using unseen functi…

Cited by 155SourcePDFScholar
2023

On the Expressivity Role of LayerNorm in Transformers’ Attention

ACL 2023findings

Layer Normalization (LayerNorm) is an inherent component in all Transformer-based models. In this paper, we show that LayerNorm is crucial to the expressivity of the multi-head attention layer that follows it. This is in contrast to the common belief that LayerNorm’s only role is to normalize the ac…

2023

Self-Refine: Iterative Refinement with Self-Feedback

NeurIPS 2023poster

Like humans, large language models (LLMs) do not always generate the best output on their first try. Motivated by how humans refine their written text, we introduce Self-Refine, an approach for improving initial outputs from LLMs through iterative feedback and refinement. The main idea is to generat…

Cited by 1546SourcePDFScholar
2023

Unlimiformer: Long-Range Transformers with Unlimited Length Input

NeurIPS 2023poster

Since the proposal of transformers, these models have been limited to bounded input lengths, because of their need to attend to every token in the input. In this work, we propose Unlimiformer: a general approach that wraps any existing pretrained encoder-decoder transformer, and offloads the cross-a…

2022

Language Models of Code are Few-Shot Commonsense Learners

EMNLP 2022main

We address the general task of structured commonsense reasoning: given a natural language input, the goal is to generate a graph such as an event or a reasoning-graph.To employ large language models (LMs) for this task, existing approaches ‘serialize’ the output graph as a flat list of nodes and edg…

2022

Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval

ICML 2022spotlight

Retrieval-based language models (R-LM) model the probability of natural language text by combining a standard language model (LM) with examples retrieved from an external datastore at test time. While effective, a major bottleneck of using these models in practice is the computationally costly datas…

2019

code2seq: Generating Sequences from Structured Representations of Code

ICLR 2019poster

The ability to generate natural language sequences from source code snippets has a variety of applications such as code summarization, documentation, and retrieval. Sequence-to-sequence (seq2seq) models, adopted from neural machine translation (NMT), have achieved state-of-the-art performance on the…