MCP
TS

Timo Schick

43 papers in the library · Same-name authors told apart using DBLP

Papers

30
LongForm: Effective Instruction Tuning with Reverse Instructions
Abdullatif KöksalTimo SchickAnna KorhonenHinrich Schuetze
This paper introduces LongForm-C, a dataset created by selecting human-written documents from C4 and Wikipedia and then generating instructions for them via LLMs, a reverse-instruction approach that is cheaper and cleaner than prior methods. LongForm models trained on this dataset outperform 10x larger models without instruction tuning on story/recipe generation and long-form QA, and outperform prior instruction-tuned models like FLAN-T5 and Alpaca by a large margin.
ACL AnthologyACL Anthology · November 2024
0
FairPair: A Robust Evaluation of Biases in Language Models through Paired Perturbations
Jane Dwivedi-YuRaaz DwivediTimo Schick
FairPair is an evaluation framework for assessing differential treatment in language models during ordinary usage. It uses counterfactual pairs, but crucially, each continuation is grounded in the same demographic group, ensuring equivalent comparison. Unlike prior work, it accounts for the inherent variability of generation by measuring sampling variability. Evaluations of several generative models reveal a preference for discussing family and hobbies with regard to women.
arXivarXiv · · April 9, 2024
0
7
LongForm: Effective Instruction Tuning with Reverse Instructions
Abdullatif KöksalTimo SchickAnna KorhonenHinrich Schuetze
We present LongForm-C, a cheaper and cleaner instruction-tuning dataset created by reverse instructions: diverse human-written documents from corpora such as C4 and Wikipedia are selected, and LLMs generate instructions for them, yielding natural outputs suitable for long-text generation. Models tuned on this data outperform 10x larger models without tuning on story/recipe generation and long-form QA, beat prior tuned models like FLAN-T5 and Alpaca by a large margin, and follow multilingual instructions. Data and models are released.
OpenReviewOpenReview · February 11, 2024
0
91
Active Learning Principles for In-Context Learning with Large Language Models
Katerina MargatinaTimo SchickNikolaos AletrasJane Dwivedi-Yu
The remarkable advancements in large language models (LLMs) have significantly enhanced predictive performance in few-shot learning settings. By using only a small number of labeled examples, referred to as demonstrations, LLMs can effectively perform the task at hand through in-context learning. However, the process of selecting demonstrations for maximizing performance has received limited attention in prior work. This paper addresses the issue of identifying the most informative demonstrations for few-shot learning by approaching it as a pool-based Active Learning (AL) problem over a single iteration. We compare standard AL algorithms based on uncertainty, diversity, and similarity, and consistently observe that the latter outperforms all other methods, including random sampling. Our extensive experimentation involving a diverse range of GPT and OPT models across 24 classification and multi-choice tasks, coupled with thorough analysis, unambiguously demonstrates the importance of using demonstrations that are semantically similar to the domain of the test examples. In fact, we show higher average classification performance using “similar” demonstrations with GPT-2 (124M) than random demonstrations with GPT-Neox (20B). Notably, while diversity sampling shows promise, uncertainty sampling, despite its success in conventional supervised learning AL scenarios, performs poorly in in-context learning.
ACL AnthologyACL Anthology · December 2023
0
MEAL: Stable and Active Learning for Few-Shot Prompting
Abdullatif KöksalTimo SchickHinrich Schuetze
Few-shot classification has made great strides due to foundation models that, through priming and prompting, are highly effective few-shot learners. However, this approach has high variance both across different sets of few shots (*data selection*) and across different finetuning runs (*run variability*). This is problematic not only because it impedes the fair comparison of different approaches, but especially because it makes few-shot learning too unreliable for many real-world applications. To alleviate these issues, we make two contributions for more stable and effective few-shot learning: First, we propose novel ensembling methods and show that they substantially reduce *run variability*. Second, we introduce a new active learning (AL) criterion for *data selection* and present the first AL-based approach specifically tailored towards prompt-based learning. In our experiments, we show that our combined method, MEAL (**M**ultiprompt finetuning and prediction **E**nsembling with **A**ctive **L**earning), improves overall performance of prompt-based finetuning by 2.3 points on five diverse tasks. We publicly share our code and data splits in https://github.com/akoksal/MEAL.
ACL AnthologyACL Anthology · December 2023
0
Self-Alignment with Instruction Backtranslation
Xian LiPing YuChunting ZhouTimo SchickOmer LevyLuke ZettlemoyerJason E WestonMike Lewis
This paper introduces instruction backtranslation, a scalable method to build an instruction-following language model by automatically labeling human-written text with instructions. A seed model, finetuned on small seed data, generates instruction prompts for web documents (self-augmentation) and selects high-quality examples (self-curation). Finetuning LLaMa on two iterations of this data outperformed all non-distillation LLaMa models on the Alpaca leaderboard, demonstrating effective self-alignment.
OpenReviewOpenReview · · September 20, 2023
0
Evaluation of Faithfulness Using the Longest Supported Subsequence
Anirudh MittalTimo SchickMikel ArtetxeJane Dwivedi-Yu
The paper introduces the Longest Supported Subsequence (LSS): the longest non-continuous substring of a machine-generated claim that is supported by the context. A model fine-tuned on a new human-annotated dataset predicts LSS. Using LSS as an evaluation component yields faithfulness metrics that correlate better with human ratings than existing metrics, achieving an 18% improvement over the state-of-the-art on the dataset and consistently outperforming other metrics across six summarization models.
arXivarXiv · · August 23, 2023
0
3
Self-Alignment with Instruction Backtranslation
Xian LiPing YuChunting ZhouTimo SchickOmer LevyLuke ZettlemoyerJason WestonMike Lewis
Instruction Backtranslation is a scalable method that builds a high-quality instruction-following language model from a seed model and a web corpus. The seed model first generates instruction prompts for web documents (self-augmentation), then selects high-quality examples (self-curation). The resulting training data fine-tunes a stronger model. Applying this approach to LLaMa yields a model that outperforms all other LLaMa-based models on the Alpaca leaderboard that do not use distillation data, demonstrating effective self-alignment.
arXivarXiv · · August 11, 2023
0
398
Unnatural Instructions: Tuning Language Models with (Almost) No Human Labor
Or HonovichThomas ScialomOmer LevyTimo Schick
Instruction tuning enables pretrained language models to perform new tasks from inference-time natural language descriptions. These approaches rely on vast amounts of human supervision in the form of crowdsourced datasets or user interactions. In this work, we introduce Unnatural Instructions: a large dataset of creative and diverse instructions, collected with virtually no human labor. We collect 64,000 examples by prompting a language model with three seed examples of instructions and eliciting a fourth. This set is then expanded by prompting the model to rephrase each instruction, creating a total of approximately 240,000 examples of instructions, inputs, and outputs. Experiments show that despite containing a fair amount of noise, training on Unnatural Instructions rivals the effectiveness of training on open-source manually-curated datasets, surpassing the performance of models such as T0++ and Tk-Instruct across various benchmarks. These results demonstrate the potential of model-generated data as a cost-effective alternative to crowdsourcing for dataset expansion and diversification.
ACL AnthologyACL Anthology · July 2023
0
Task-aware Retrieval with Instructions
Akari AsaiTimo SchickPatrick LewisXilun ChenGautier IzacardSebastian RiedelHannaneh HajishirziWen-tau Yih
We study the problem of retrieval with instructions, where users provide explicit descriptions of their intent along with their queries to guide a retrieval system. Our solution is a general-purpose task-aware retrieval system, trained using multi-task instruction tuning and can follow human-written instructions to find relevant documents to a given query. We introduce the first large-scale collection of 37 retrieval datasets with instructions, BERRI, and present TART, a single multi-task retrieval system trained on BERRI with instructions that can adapt to a new task without any parameter updates. TART advances the state of the art on two zero-shot retrieval benchmarks, BEIR and LOTTE, outperforming models up to three times larger. We further introduce a new evaluation setup, X2-Retrieval, to better reflect real-world scenarios in which diverse domains and tasks are pooled. TART significantly outperforms competitive baselines in this setup, further highlighting the effectiveness of guiding retrieval with instructions.
ACL AnthologyACL Anthology · July 2023
0
Active Learning Principles for In-Context Learning with Large Language Models
Katerina MargatinaTimo SchickNikolaos AletrasJane Dwivedi-Yu
This paper frames demonstration selection in in-context learning as a pool-based active learning problem, comparing uncertainty, diversity, and similarity-based algorithms. Across GPT and OPT models over 24 tasks, similarity consistently outperforms others, including random sampling, yielding higher average accuracy (e.g., GPT-2 124M with similar demonstrations beats GPT-Neox 20B with random ones). Diversity shows promise, while uncertainty performs poorly, highlighting the importance of selecting semantically similar demonstrations.
OpenReviewOpenReview · · June 16, 2023
0
Active Learning Principles for In-Context Learning with Large Language Models
Katerina MargatinaTimo SchickNikolaos AletrasJane Dwivedi-Yu
The paper treats in-context demonstration selection as a single-iteration pool-based active learning problem. Comparing standard algorithms based on uncertainty, diversity, and similarity across 24 tasks with GPT and OPT models, it finds that similarity-based selection consistently outperforms all others, including random sampling. Notably, uncertainty sampling—effective in supervised learning—performs poorly here. The analysis shows that active learning prioritizes examples with low uncertainty and high similarity to test examples.
arXivarXiv · · May 23, 2023
0
132
Toolformer: Language Models Can Teach Themselves to Use Tools
Timo SchickJane Dwivedi-YuRoberto DessiRoberta RaileanuMaria LomeliEric HambroLuke ZettlemoyerNicola CanceddaThomas Scialom
Toolformer trains language models to self-supervise the use of external tools, deciding which API to call, when, with what arguments, and how to integrate results into future token prediction. Requiring only a few demonstrations per API, it integrates tools like a calculator, Q&A system, search engine, translator, and calendar. This substantially improves zero-shot performance on downstream tasks, often rivaling larger models, without sacrificing core language-modeling ability.
OpenReviewOpenReview · · May 10, 2023
0
Augmented Language Models: a Survey
Grégoire MialonRoberto DessiMaria LomeliChristoforos NalmpantisRamakanth PasunuruRoberta RaileanuBaptiste RoziereTimo SchickJane Dwivedi-YuAsli CelikyilmazEdouard GraveYann LeCun  +1
This survey defines Augmented Language Models (ALMs) as language models that, while retaining standard missing-token prediction, are augmented with reasoning (decomposing complex tasks into simpler subtasks) and tool use (calling external modules like a code interpreter), either via heuristics or learned from demonstrations. These augmentations can be applied separately or combined, allowing ALMs to expand context processing with non-parametric modules and outperform regular LMs on several benchmarks. The authors suggest this direction may address traditional limitations including interpretability, consistency, and scalability.
OpenReviewOpenReview · · March 14, 2023
0
Augmented Language Models: a Survey
Grégoire MialonRoberto DessìMaria LomeliChristoforos NalmpantisRam PasunuruRoberta RaileanuBaptiste RozièreTimo SchickJane Dwivedi-YuAsli CelikyilmazEdouard GraveYann LeCun  +1
This survey defines Augmented Language Models (ALMs) as language models that are augmented with reasoning skills—decomposing complex tasks into simpler subtasks—and the ability to use tools, such as a code interpreter. ALMs achieve these augmentations through heuristics or learning from demonstrations while retaining the standard missing tokens prediction objective. This allows them to expand context processing via non-parametric external modules, outperforming regular LMs on several benchmarks. The authors conclude that ALMs can address common limitations of traditional LMs, including interpretability, consistency, and scalability.
arXivarXiv · · February 15, 2023
0
1k+
Toolformer: Language Models Can Teach Themselves to Use Tools
Timo SchickJane Dwivedi-YuRoberto DessìRoberta RaileanuMaria LomeliLuke ZettlemoyerNicola CanceddaThomas Scialom
Toolformer is a language model that learns to call external APIs (calculator, search engine, translator, etc.) through self-supervised training requiring only a few demonstrations per tool. The model decides which API to invoke, when, and how to integrate the returned results into its next-token prediction. This approach improves zero-shot performance on arithmetic, factual lookup, and other tasks, often matching much larger models, while preserving the original language modeling capabilities.
arXivarXiv · · February 9, 2023
0
8k+
Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models
Aarohi SrivastavaAbhinav Rastogi…Timo Schick
We introduce BIG-bench, a benchmark of 204 tasks from 450 authors across 132 institutions, designed to probe capabilities beyond current language models. Evaluating GPT models, dense transformers, and sparse transformers from millions to hundreds of billions of parameters, plus human experts, we find that performance and calibration improve with scale yet remain poor in absolute terms. Performance is similar across model classes, sparsity helps, and tasks involving knowledge or memorization improve predictably, while multi-step or brittle-metric tasks show breakthrough behavior at critical scale. Social bias increases with scale in ambiguous contexts but can be reduced by prompting.
OpenReviewOpenReview · · January 18, 2023
0
3k+
Atlas: Few-shot Learning with Retrieval Augmented Language Models
Gautier IzacardPatrick LewisMaria LomeliLucas HosseiniFabio PetroniTimo SchickJane Dwivedi-YuArmand JoulinSebastian RiedelEdouard Grave
Large language models have shown impressive few-shot results on a wide range of tasks. However, when knowledge is key for such results, as is the case for tasks such as question answering and fact checking, massive parameter counts to store knowledge seem to be needed. Retrieval-augmented models are known to excel at knowledge intensive tasks without the need for as many parameters, but it is unclear whether they work in few-shot settings. In this work we present Atlas, a carefully designed and pre-trained retrieval-augmented language model able to learn knowledge intensive tasks with very few training examples. We perform evaluations on a wide range of tasks, including MMLU, KILT and Natural Questions, and study the impact of the content of the document index, showing that it can easily be updated. Notably, Atlas reaches over 42% accuracy on Natural Questions using only 64 examples, outperforming a 540B parameter model by 3% despite having 50x fewer parameters.
JMLRJMLR · 2023
0
Unnatural Instructions: Tuning Language Models with (Almost) No Human Labor
Or HonovichThomas ScialomOmer LevyTimo Schick
Unnatural Instructions is a dataset of 64,000 creative instruction-following examples generated by prompting a language model with three seed examples to produce a fourth, then expanded to about 240,000 examples through rephrasing, all with virtually no human labor. Training on this noisy, model-generated data rivals the effectiveness of training on open-source manually-curated datasets, surpassing T0++ and Tk-Instruct across benchmarks, demonstrating model-generated data as a cost-effective alternative to crowdsourcing for instruction tuning.
arXivarXiv · · December 19, 2022
0
553
Task-aware Retrieval with Instructions
Akari AsaiTimo SchickPatrick LewisXilun ChenGautier IzacardSebastian RiedelHannaneh HajishirziWen-tau Yih
TART (Task-Aware Retrieval with Instructions) is a multi-task retrieval system trained on BERRI, the first large-scale collection of ~40 retrieval datasets with instructions. It follows human-written instructions alongside queries to find the best documents. TART achieves state-of-the-art zero-shot results on BEIR and LOTTE, outperforming models up to three times larger. On X^2-Retrieval, a new evaluation pooling diverse domains and tasks, TART significantly outperforms baselines, demonstrating that explicit instructions effectively guide retrieval to align with user intent.
arXivarXiv · · November 16, 2022
0
201
MEAL: Stable and Active Learning for Few-Shot Prompting
Abdullatif KöksalTimo SchickHinrich Schütze
To reduce the high variance of few-shot prompting in foundation models, MEAL introduces two contributions: multiprompt ensembling, which stabilizes run variability, and an active learning criterion for data selection, the first tailored to prompt-based learning. Combined, these methods improve prompt-based finetuning by 2.3 points across five diverse tasks, making few-shot learning more reliable for real-world applications.
arXivarXiv · · November 15, 2022
0
38
EditEval: An Instruction-Based Benchmark for Text Improvements
Jane Dwivedi-YuTimo SchickZhengbao JiangMaria LomeliPatrick LewisGautier IzacardEdouard GraveSebastian RiedelFabio Petroni
EditEval is an instruction-based benchmark and evaluation suite for automatic assessment of text editing skills such as making text more cohesive and paraphrasing. Using high-quality existing and new datasets, it evaluates several pre-trained models, finding that InstructGPT and PEER perform best, though most baselines fall below the supervised state of the art, especially for neutralizing and updating information. The benchmark also reveals that common metrics for editing tasks do not always correlate well and that optimizing prompts for high performance does not guarantee robustness across models.
arXivarXiv · · September 27, 2022
0
38
PEER: A Collaborative Language Model
Timo SchickJane Dwivedi-YuZhengbao JiangFabio PetroniPatrick LewisGautier IzacardQingfei YouChristoforos NalmpantisEdouard GraveSebastian Riedel
PEER is a language model trained to imitate the entire collaborative writing process rather than only the final text. It can write drafts, suggest edits, and provide explanations for its actions. By training multiple instances able to infill different parts of the writing process, PEER uses self-training to increase the quality and diversity of training data, making it effective even without edit histories. PEER achieves strong performance across various editing tasks.
arXivarXiv · · August 24, 2022
0
190
Atlas: Few-shot Learning with Retrieval Augmented Language Models
Gautier IzacardPatrick LewisMaria LomeliLucas HosseiniFabio PetroniTimo SchickJane Dwivedi-YuArmand JoulinSebastian RiedelEdouard Grave
Atlas is a retrieval augmented language model designed for few-shot learning on knowledge-intensive tasks. Pre-trained with a carefully designed architecture, Atlas retrieves documents from an index to augment its predictions, enabling it to excel with very few training examples. On Natural Questions, Atlas achieves over 42% accuracy using only 64 examples, surpassing a 540B-parameter model by 3% while having 50 times fewer parameters, demonstrating that retrieval augmentation can replace massive parameter counts for few-shot knowledge tasks.
arXivarXiv · · August 5, 2022
0
1k+
Improving Wikipedia Verifiability with AI
Fabio PetroniSamuel BroscheitAleksandra PiktusPatrick LewisGautier IzacardLucas HosseiniJane Dwivedi-YuMaria LomeliTimo SchickPierre-Emmanuel MazaréArmand JoulinEdouard Grave  +1
We present Side, a neural network system that identifies Wikipedia citations unlikely to support their claims and recommends better alternatives from the web. Trained on existing Wikipedia references, it learns from the editors' collective wisdom. In crowd-sourcing, for the top 10% most likely unverifiable citations, humans preferred Side's suggestions over the original 70% of the time. A demo with the English Wikipedia community showed that Side's first recommendation collected over 60% more preferences than existing citations for the same claims. This shows AI can assist humans in improving Wikipedia's verifiability.
arXivarXiv · · July 8, 2022
0
51
Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models
Aarohi SrivastavaAbhinav Rastogi…Timo Schick
This paper introduces BIG-bench, a benchmark of 204 tasks designed to probe capabilities beyond current language models. Evaluating GPT, dense, and sparse transformer models across sizes, it finds that performance and calibration improve with scale but remain poor in absolute terms. A key finding is that tasks with gradual, predictable improvement often involve memorization, while those exhibiting breakthrough behavior at a critical scale typically involve multiple steps or brittle metrics. Social bias increases with scale in ambiguous contexts, though prompting can mitigate it.
arXivarXiv · · June 9, 2022
0
3k+
Leveraging QA Datasets to Improve Generative Data Augmentation
Dheeraj MekalaTu VuTimo SchickJingbo Shang
CONDA improves generative data augmentation by reformulating data generation as context generation for a given question-answer (QA) pair, training a generative language model on QA datasets to produce synthetic contexts. Downstream tasks are cast into the same QA format, and the fine-tuned model generates relevant contexts as synthetic training data. Experiments on multiple classification datasets show substantial performance gains in few- and zero-shot settings, with QA datasets requiring high-level reasoning (e.g., abstractive, common-sense) providing the most benefit.
arXivarXiv · · May 25, 2022
0
22
CoDA21: Evaluating Language Understanding Capabilities of NLP Models With Context-Definition Alignment
Lütfi Kerem SenelTimo SchickHinrich Schütze
CoDA21 is a benchmark for natural language understanding in which models must align $k$ definitions with $k$ contexts without seeing the words themselves. This task requires complex inference and world knowledge, and results show a large gap between human and pretrained language model performance, indicating that CoDA21 captures an aspect of NLU not well covered by existing benchmarks.
arXivarXiv · · March 11, 2022
0
6
Semantic-Oriented Unlabeled Priming for Large-Scale Language Models
Yanchen LiuTimo SchickHinrich Schütze
Semantic-Oriented Unlabeled Priming (SOUP) improves zero-shot performance of large language models without finetuning by leveraging unlabeled data. It retrieves semantically similar unlabeled examples, assigns labels via zero-shot classification, and uses them for in-context learning. A new bag-of-contexts priming strategy is also introduced to incorporate more examples than the context window allows.
arXivarXiv · · February 12, 2022
0
17
True Few-Shot Learning with Prompts -- A Real-World Perspective
Timo SchickHinrich Schütze
PET, a method combining textual instructions with example-based finetuning, achieves strong performance in true few-shot learning without a dev set, contrary to previous doubts. Its key strength lies in intelligently handling multiple prompts. On the RAFT benchmark, which reflects realistic NLP tasks with no labeled dev or test sets, PET sets a new state of the art and approaches non-expert human performance on 7 of 11 tasks, showing that prompt-based learners excel at true few-shot learning.
arXivarXiv · · November 26, 2021
0
121
Frequent collaborators
Hinrich Schütze (17)
Jane Dwivedi-Yu (14)
Maria Lomeli (8)
Patrick Lewis (7)
Gautier Izacard (7)
Sebastian Riedel (7)
Edouard Grave (7)
Omer Levy (6)
Thomas Scialom (6)
Fabio Petroni (5)
Abdullatif Köksal (4)
Hinrich Schuetze (4)