Uri Alon (@urialon1) profile picture

Research Scientist @GoogleDeepMind

Pittsburgh, PA
Joined April 2013
Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)Photo by Uri Alon (@urialon1)
Agreed, and: In the vast majority of papers, the Related Work section becomes a mini-survey. This is a mistake and a waste of space. However, focusing on the specific *differences* between the present paper and each previous one can really strengthen the paper
I feel strongly about this. I'm not opposed to relegating the "related work" section to an appendix. One can appropriately cite the related work all over the paper at the most relevant sections. Why do we need a dedicated section that most readers just skip?
18
2,748
Replying to @Swarooprm7
@Swarooprm7 presenting the paper now at #ICLR2024
I am at poster #131 at #ICLR2024 for the next 1-2 hrs if you want to chat.
1
9
813
📢New paper : "In-Context Principle Learning from Mistakes" Instead of prompting using only *correct* few-shot examples, we intentionally make *mistakes*, and then learn "principles" or "lessons" from them. Lead by @tianjun_zhang @aman_madaan @luyu_gao arxiv.org/pdf/2402.05403.pdf
In-Context Principle Learning from Mistakes paper page: huggingface.co/papers/2402.0… 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 learning more from the few given input-output examples. We introduce Learning Principles (LEAP): First, we intentionally induce the model to make mistakes on these few examples; then we reflect on these mistakes, and learn explicit task-specific "principles" from them, which help solve similar problems and avoid common mistakes; finally, we prompt the model to answer unseen test questions using the original few-shot examples and these learned general principles. We evaluate LEAP on a wide range of benchmarks, including multi-hop question answering (Hotpot QA), textual QA (DROP), Big-Bench Hard reasoning, and math problems (GSM8K and MATH); in all these benchmarks, LEAP improves the strongest available LLMs such as GPT-3.5-turbo, GPT-4, GPT-4 turbo and Claude-2.1. For example, LEAP improves over the standard few-shot prompting using GPT-4 by 7.5% in DROP, and by 3.3% in HotpotQA. Importantly, LEAP does not require any more input or examples than the standard few-shot prompting settings.
5
24
4
118
25,204
with @HuaixiuZheng @Swarooprm7 Yiming Yang and Niket Tandon
3
524
📢Career news: I'm happy to announce that I'm starting as a Research Scientist at @GoogleDeepMind . I'm really excited to work with @denny_zhou and the team on reasoning and developing the next generation of LLMs! (I'll be working from Google's Pittsburgh office) (1/2)
29
5
1
203
19,526
I’m extremely grateful to @gneubig and all my wonderful collaborators at CMU for the amazing past 2 years as a postdoc at @LTIatCMU. I feel very lucky for the opportunity to meet and work with you all ❤️ (2/2)
22
1,218
📢 Unlimiformer now supports LLama-2! Unlimiformer-LLama-2 allows encoding extremely long inputs without re-training or finetuning LLama-2. This is an initial implementation, but encoding 130k token inputs using LLama-2 takes only a few minutes! github.com/abertsch72/unlimi… (1/4)
3
29
3
99
39,174
The idea is that every layer has a FAISS index that stores the states for all input tokens; then the next layer attends to that index. We use the Attention Reformulation trick from the Unlimiformer paper to share the same hidden states across different attention heads. (2/4)
1
1
11
721
New paper 📢 *DocPrompting: Generating Code by Retrieving the Docs* (#ICLR2023 Spotlight) LMs of code cannot generate calls to unseen functions which came out after the model was trained. Instead, DocPrompting retrieves *documentation* of unseen functions and libraries. (1/n)
1
21
1
107
16,104
DocPrompting can generate code that calls unseen functions by simply reading the docs! We demonstrate the general DocPrompting approach across two retrievers, 5 generators, and across 2 new retrieval-based NL->code datasets. (2/n)
1
4
561
📢New Paper: Self-Refine: Iterative Refinement with Self-Feedback We use an LLM such as GPT-3.5/4 to: 1. Generate output 2. Provide feedback on its own output 3. Refine its previous output Improves outputs across 7 tasks without additional data/training! arxiv.org/pdf/2303.17651.pdf
4
17
94
11,177
The work was led by @aman_madaan 👏 Project page: selfrefine.info/ Code and data: github.com/madaan/self-refin… Interactive demo: self-refine-webgen.herokuapp…
7
463
A new preprint 📢 arxiv.org/pdf/2301.02828.pdf K-nearest neighbors language models (kNN-LMs; @ukhndlwl et al., ICLR'2020) improve the perplexity of standard LMs, even when they retrieve examples from the *same training set that the base LM was trained on*. but why? (1/3)
4
61
8
344
87,639
How do they improve the base LM, without additional data nor training training? We find that the reasons are threefold: 1. kNN-LMs ensemble representations from two different Transformer activations. This provides 50% of the gains (2/3)
1
16
2,496
Thanks to @hwchase17 , PaL is now implemented in @langchain ! 🦜🔗LangChain is a new and super useful library for working with prompts and LLMs such as Codex/GPT3, which has already gained much popularity. Colab notebook: colab.research.google.com/dr… Code: github.com/hwchase17/langcha…
Last week, the PaL (Program-aided Language models) paper came out, pushing the boundary of LLM performance on math/symbolic reasoning tasks As of today, it's in 🦜🔗LangChain 🙂Was super fun to work with @urialon1 & @aman_madaan on this Collab notebook: colab.research.google.com/dr…
2
1
18
📢 New Paper: Program-aided Language models Prompting methods such as chain-of-thought (@_jasonwei) employ LLM for decomposing the problem into steps *and* solving each step. Instead, PaL decomposes the problem into *programmatic* steps and solves using a Python interpreter. 1/4
13
99
14
495
With PaL, decomposing the NL problem remains the only task for the LLM, since solving is offloaded to the Python interpreter. PaL+Codex achieves better results than Chain-of-Thought+larger models such as PaLM-540B, across 12 mathematical/algorithmic/symbolic reasoning tasks 2/4
1
20
There are NLP tasks in which Codex performs better than GPT-3 and T5, if you convert the NL problem into pseudo-python! arxiv.org/pdf/2210.07128.pdf code: github.com/madaan/CoCoGen (To appear in #emnlp2022) Work led by @aman_madaan , with @shuyanzhxyc Yiming Yang @gneubig and me
I loved this paper. Initial evidence that even for problems not related to code, LMs of code are better (structured) commonsense reasoners than LMs of natural language. arxiv.org/pdf/2210.07128.pdf @urialon1
3
38
7
247
New repo: kNN-Transformers We've just released a @huggingface🤗 implementation of RetoMaton, including @ukhndlwl 's kNN-LM and kNN-MT! You can simply wrap any model by: wrapper = RetomatonWrapper(...) # or: KNNWrapper wrapper.break_into(model) github.com/neulab/knn-transf… (1/2)
📢 New paper! RetoMaton: Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval #ICML2022 We construct a *weighted automaton* from the training data of a given LM, and traverse it at inference time, in parallel with the LM. arxiv.org/abs/2201.12431 🧵 (1/4)
1
32
2
145
As far as I know, this is the first public @huggingface implementation of kNN-LM/MT. If you're attending #ICML2022, please come to our spotlight (10:40 ET, Hall F) and poster (6-8pm) tomorrow (Thu)! Joint work with @frankxu2004 @junxian_he Sudipta Sengupta @DanRothNLP @gneubig
12
I'm incredibly honored to be selected for ACM @sigplan Reynolds Doctoral Dissertation Award! I was very fortunate to have @yahave as my PhD advisor, and I'm grateful to my amazing collaborators.
Replying to @urialon1
@urialon1 receiving the ACM SIGPLAN John Reynolds Outstanding Dissertation Award at @PLDI. Congratulations Uri!
8
2
72
📢 New paper! RetoMaton: Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval #ICML2022 We construct a *weighted automaton* from the training data of a given LM, and traverse it at inference time, in parallel with the LM. arxiv.org/abs/2201.12431 🧵 (1/4)
5
57
4
279
Specifically, we extend @ukhndlwl et al.'s kNN-LM (ICLR 2020) with (1) pointers from each datastore entry to the next, and (2) cluster similar entries. This creates an automaton where states are clusters of datastore entries, and transitions are pointers between them. (2/4)
1
5
Graph Attention Networks (GAT) are one of the most popular GNNs. However, their attention mechanism is much weaker than standard attention (e.g., Transformer's)! Luckily, it can be fixed! We will present GATv2 at #ICLR2022 tomorrow, Wed Apr 27 1:30-3:30 PM EST 5:30-7:30 PM GMT
How attentive are Graph Attention Networks (GATs)? Apparently, not that much! Hear more about the limitations of GAT and our new GATv2 operator at #ICLR2022 Wed Apr 27, 1:30-3:30 EST. Poster: iclr.cc/virtual/2022/poster/… Code: github.com/tech-srl/how_atte… Paper: openreview.net/forum?id=F72x…
15
1
128
GATv2, our fixed version of GAT, is now available as part of PyTorch Geometric, DGL, and Google's TensorFlow GNN library! github.com/tech-srl/how_atte…
I'm excited to share that our paper "How Attentive are Graph Attention Networks?" has been accepted to #ICLR2022!. This joint work with @urialon and @yahave discloses a profound limitation of the GAT architecture and presents a simple fix to it. arxiv.org/abs/2105.14491
8
59
I successfully defended my PhD thesis! I'm leaving the CS department of the @TechnionLive, a place that has been my home. I am grateful to my amazing and inspirational advisor @yahave. Looking forward to my next academic adventure, as a postdoc with @gneubig at @LTIatCMU!
17
4
3
177
Hi #ICLR2021 attendees! Come to our poster session at iclr.cc/virtual/2021/poster/… where @yahave and I introduce the *over-squashing* problem of Graph Neural Networks of long-range tasks. Today (Wed) May 5th, 9am PDT (4pm UTC)
Our claims in this paper are as follows: GNNs are great for *short-range* tasks (citations, recommendations, social networks), but limited in long-range tasks (molecules, biological structures, computer programs). (1/n)
2
11
39
Our claims in this paper are as follows: GNNs are great for *short-range* tasks (citations, recommendations, social networks), but limited in long-range tasks (molecules, biological structures, computer programs). (1/n)
People seem to be asking about this, so here is a link to @urialon1's nice paper about the bottleneck in GNNs. arxiv.org/pdf/2006.05205.pdf
2
6
3
38
The reason is the exponentially-growing receptive field, that squashes exponentially-growing information into fixed-length vectors. If you want to pass a message to a distance of K - the cost is O(degree^K) messages that are squashed into a single vector. (2/n)
1
1
6
Hi #ICML2020 attendees! Come to our session at icml.cc/virtual/2020/poster/… ! (tmw) Wed Jul 15, noon EDT (4pm UTC) Thu Jul 16, 1am EDT (5am UTC) We (@RoySadaka, @omerlevy_, @yahave) perform code completion using a structural language model (SLM) over abstract syntax trees (1/3)
1
8
2
27
We model the AST using AST paths, which allow sending long-range dependencies in the tree. We then generate code given its surrounding code, by predicting the next node in the paths. (2/3)
1
1
3