AI summary · arXiv: 2206.06336v1 · cs.CL

Language Models are General-Purpose Interfaces

Yaru Hao, Haoyu Song, Li Dong, Shaohan Huang, Zewen Chi, Wenhui Wang, Shuming Ma, Furu Wei
Original paper Submitted to arXiv on 13 Jun. 2022 32 pages. The first three authors contribute equally License: NONEXCLUSIVE-DISTRIB 1.0

How to read this summary? Illustrated guide

The essentials

  • Authors propose using language models as universal interfaces for interacting with diverse foundation models
  • Methodology involves pretrained encoders for different modalities integrated with a language model as a universal task layer
  • Introduce semi-causal language modeling objective for joint pretraining of interface and encoders
  • Approach combines elements of causal and non-causal modeling to create a versatile framework
  • Advantages include leveraging bidirectional encoders for effective fine-tuning while retaining benefits of in-context learning and open-ended generation
  • Capabilities unlocked include in-context learning, instruction following, and finetuning with encoders
  • Experiments across multiple benchmarks show outperformance or favorable competition with specialized models in tasks like finetuning, zero-shot generalization, and few-shot learning

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Language Models General-Purpose Interfaces Foundation Models Pretrained Encoders Semi-causal Language Modeling

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In their paper titled "Language Models are General-Purpose Interfaces," authors Yaru Hao, Haoyu Song, Li Dong, Shaohan Huang, Zewen Chi, Wenhui Wang, Shuming Ma, and Furu Wei delve into the realm of foundation models and their widespread applicability in various downstream tasks. The authors propose a novel approach using language models as universal interfaces to interact with diverse foundation models. Their methodology involves a collection of pretrained encoders that can perceive different modalities such as vision and language. These encoders are then integrated with a language model acting as a universal task layer. To facilitate this integration, the authors introduce a semi-causal language modeling objective that enables joint pretraining of the interface and modular encoders. By combining elements from both causal and non-causal modeling approaches, their method harnesses the strengths of each to create a versatile framework. One key advantage of their approach is its ability to leverage bidirectional encoders for effective fine-tuning while retaining the benefits of in-context learning and open-ended generation from causal language modeling. This seamless combination unlocks various capabilities such as in-context learning and instruction following with finetuned encoders. The authors conducted experiments across multiple language-only and vision-language benchmarks to evaluate the performance of their model. The results demonstrate that their proposed approach outperforms or competes favorably with specialized models in tasks such as finetuning, zero-shot generalization, and few-shot learning. With 32 pages dedicated to detailing their research findings, this work represents a significant contribution towards enhancing the adaptability and effectiveness of foundation models through the use of language models as general-purpose interfaces.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 113 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 31 papers around this one, the name that comes back most: Li Dong (4 papers)

4 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 23 November 2026: Artificial intelligence this week: The difference between looking right and getting it right · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Close
    Reformulating Vision-Language Foundation Models and Datasets Towards Universal Multimodal Assistants
    Tianyu Yu, Jinyi Hu, Yuan Yao et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 33 times · Not summarized yet
    Abstract

    Recent Multimodal Large Language Models (MLLMs) exhibit impressive abilities to perceive images and follow open-ended instructions. The capabilities of MLLMs depend on two crucial factors: the model architecture to facilitate the feature alignment of visual modules and large language models; the multimodal instruction tuning datasets for human instruction following. (i) For the model architecture, most existing models introduce an external bridge module to connect vision encoders with language models, which needs an additional feature-alignment pre-training. In this work, we discover that compact pre-trained vision language models can inherently serve as ``out-of-the-box'' bridges between vi…

  2. Close Cited by this paper Used in depth by this paper
    On the Role of Bidirectionality in Language Model Pre-Training
    Mikel Artetxe, Jing-Fei Du, Naman Goyal et al. · 2022 · Conference on Empirical Methods in Natural Language Processing · cited 23 times · Not summarized yet
    Abstract

    Prior work on language model pre-training has explored different architectures and learning objectives, but differences in data, hyperparameters and evaluation make a principled comparison difficult. In this work, we focus on bidirectionality as a key factor that differentiates existing approaches, and present a comprehensive study of its role in next token prediction, text infilling, zero-shot priming and fine-tuning. We propose a new framework that generalizes prior approaches, including fully unidirectional models like GPT, fully bidirectional models like BERT, and hybrid models like CM3 and prefix LM. Our framework distinguishes between two notions of bidirectionality (bidirectional cont…

  3. Close
    Chain of Hindsight Aligns Language Models with Feedback
    Hao Liu, Carmelo Sferrazza, Pieter Abbeel · 2023 · Machine Learning · cited 177 times · AI summary available
    Abstract

    Learning from human preferences is important for language models to be helpful and useful for humans, and to align with human and social values. Prior work have achieved remarkable successes by learning from human feedback to understand and follow instructions. Nonetheless, these methods are either founded on hand-picked model generations that are favored by human annotators, rendering them ineffective in terms of data utilization and challenging to apply in general, or they depend on reward functions and reinforcement learning, which are prone to imperfect reward function and extremely challenging to optimize. In this work, we propose a novel technique, Chain of Hindsight, that is easy to o…

  4. Close Cited by this paper Used in depth by this paper
    What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?
    Thomas Wang, Adam Roberts, Daniel Hesslow et al. · 2022 · Computation and Language · cited 242 times · AI summary available
    Abstract

    Large pretrained Transformer language models have been shown to exhibit zero-shot generalization, i.e. they can perform a wide variety of tasks that they were not explicitly trained on. However, the architectures and pretraining objectives used across state-of-the-art models differ significantly, and there has been limited systematic comparison of these factors. In this work, we present a large-scale evaluation of modeling choices and their impact on zero-shot generalization. In particular, we focus on text-to-text models and experiment with three model architectures (causal/non-causal decoder-only and encoder-decoder), trained with two different pretraining objectives (autoregressive and ma…

  5. Close Cites this paper
    Foundation Transformers
    Hongyu Wang, Shu-Ming Ma, Shao-Han Huang et al. · 2022 · arXiv.org · preprint, not peer reviewed · cited 30 times · Not summarized yet
    Abstract

    A big convergence of model architectures across language, vision, speech, and multimodal is emerging. However, under the same name"Transformers", the above areas use different implementations for better performance, e.g., Post-LayerNorm for BERT, and Pre-LayerNorm for GPT and vision Transformers. We call for the development of Foundation Transformer for true general-purpose modeling, which serves as a go-to architecture for various tasks and modalities with guaranteed training stability. In this work, we introduce a Transformer variant, named Magneto, to fulfill the goal. Specifically, we propose Sub-LayerNorm for good expressivity, and the initialization strategy theoretically derived from …

  6. Close
    Fine-tuned Language Models are Continual Learners
    Thomas Scialom, Tuhin Chakrabarty, Smaranda Muresan · 2022 · Computation and Language · cited 211 times · Not summarized yet
    Abstract

    Recent work on large language models relies on the intuition that most natural language processing tasks can be described via natural language instructions. Language models trained on these instructions show strong zero-shot performance on several standard datasets. However, these models even though impressive still perform poorly on a wide range of tasks outside of their respective training and evaluation sets. To address this limitation, we argue that a model should be able to keep extending its knowledge and abilities, without forgetting previous skills. In spite of the limited success of Continual Learning we show that Language Models can be continual learners. We empirically investigate…

  7. Close
    On the generalization of language models from in-context learning and finetuning: a controlled study
    Andrew K. Lampinen, Arslan Chaudhry, Stephanie C. Y. Chan et al. · 2025 · Computation and Language · preprint, not peer reviewed · cited 59 times · AI summary available
    Abstract

    Large language models exhibit exciting capabilities, yet can show surprisingly narrow generalization from finetuning -- from failing to generalize to simple reversals of relations they are trained on, to missing logical deductions that can be made from trained information. These failures to generalize from fine-tuning can hinder practical application of these models. However, language models' in-context learning shows different inductive biases, and can generalize better in some of these cases. Here, we explore these differences in generalization between in-context- and fine-tuning-based learning. To do so, we constructed several novel datasets to evaluate and improve models' ability to gene…

  8. Close
    Large Language Models are not Models of Natural Language: they are Corpus Models
    Csaba Veres · 2021 · Computation and Language · cited 26 times · AI summary available
    Abstract

    Natural Language Processing (NLP) has become one of the leading application areas in the current Artificial Intelligence boom. Transfer learning has enabled large deep learning neural networks trained on the language modeling task to vastly improve performance in almost all downstream language tasks. Interestingly, when the language models are trained with data that includes software code, they demonstrate remarkable abilities in generating functioning computer code from natural language specifications. We argue that this creates a conundrum for the claim that eliminative neural models are a radical restructuring in our understanding of cognition in that they eliminate the need for symbolic …

Prior work it builds on

  1. Close Used in depth by this paper A method it uses
    Language Models are Few-Shot Learners
    Tom B. Brown, Benjamin Mann, Nick Ryder et al. · 2020 · Computation and Language · cited 65,949 times · AI summary available
    Abstract

    Recent work has demonstrated substantial gains on many NLP tasks and benchmarks by pre-training on a large corpus of text followed by fine-tuning on a specific task. While typically task-agnostic in architecture, this method still requires task-specific fine-tuning datasets of thousands or tens of thousands of examples. By contrast, humans can generally perform a new language task from only a few examples or from simple instructions - something which current NLP systems still largely struggle to do. Here we show that scaling up language models greatly improves task-agnostic, few-shot performance, sometimes even reaching competitiveness with prior state-of-the-art fine-tuning approaches. Spec…

  2. Close Used in depth by this paper A method it uses
    BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
    J. Devlin, Ming-Wei Chang, Kenton Lee et al. · 2019 · North American Chapter of the Association for Computational Linguistics · cited 124,860 times · AI summary available
    Abstract

    We introduce a new language representation model called BERT, which stands for Bidirectional Encoder Representations from Transformers. Unlike recent language representation models (Peters et al., 2018a; Radford et al., 2018), BERT is designed to pre-train deep bidirectional representations from unlabeled text by jointly conditioning on both left and right context in all layers. As a result, the pre-trained BERT model can be fine-tuned with just one additional output layer to create state-of-the-art models for a wide range of tasks, such as question answering and language inference, without substantial task-specific architecture modifications. BERT is conceptually simple and empirically powe…

  3. Close Used in depth by this paper A method it uses
    Multimodal Few-Shot Learning with Frozen Language Models
    M. Tsimpoukelli, Jacob Menick, Serkan Cabi et al. · 2021 · Neural Information Processing Systems · cited 1,030 times · Not summarized yet
    Abstract

    When trained at sufficient scale, auto-regressive language models exhibit the notable ability to learn a new language task after being prompted with just a few examples. Here, we present a simple, yet effective, approach for transferring this few-shot learning ability to a multimodal setting (vision and language). Using aligned image and caption data, we train a vision encoder to represent each image as a sequence of continuous embeddings, such that a pre-trained, frozen language model prompted with this prefix generates the appropriate caption. The resulting system is a multimodal few-shot learner, with the surprising ability to learn a variety of new tasks when conditioned on examples, rep…

  4. Related Used in depth by this paper A method it uses
    Training language models to follow instructions with human feedback
    Long Ouyang, Jeff Wu, Xu Jiang et al. · 2022 · Neural Information Processing Systems · cited 25,620 times · AI summary available
    Abstract

    Making language models bigger does not inherently make them better at following a user's intent. For example, large language models can generate outputs that are untruthful, toxic, or simply not helpful to the user. In other words, these models are not aligned with their users. In this paper, we show an avenue for aligning language models with user intent on a wide range of tasks by fine-tuning with human feedback. Starting with a set of labeler-written prompts and prompts submitted through the OpenAI API, we collect a dataset of labeler demonstrations of the desired model behavior, which we use to fine-tune GPT-3 using supervised learning. We then collect a dataset of rankings of model outp…

  5. Related Used in depth by this paper A method it uses
    VLMo: Unified Vision-Language Pre-Training with Mixture-of-Modality-Experts
    Hangbo Bao, Wen-Hui Wang, Li Dong et al. · 2021 · Neural Information Processing Systems · cited 801 times · Not summarized yet
    Abstract

    We present a unified Vision-Language pretrained Model (VLMo) that jointly learns a dual encoder and a fusion encoder with a modular Transformer network. Specifically, we introduce Mixture-of-Modality-Experts (MoME) Transformer, where each block contains a pool of modality-specific experts and a shared self-attention layer. Because of the modeling flexibility of MoME, pretrained VLMo can be fine-tuned as a fusion encoder for vision-language classification tasks, or used as a dual encoder for efficient image-text retrieval. Moreover, we propose a stagewise pre-training strategy, which effectively leverages large-scale image-only and text-only data besides image-text pairs. Experimental results…

Papers that cite it

  1. Close
    PaLM-E: An Embodied Multimodal Language Model
    Danny Driess, Fei Xia, Mehdi S. M. Sajjadi et al. · 2023 · Machine Learning · cited 3,423 times · AI summary available
    Abstract

    Large language models excel at a wide range of complex tasks. However, enabling general inference in the real world, e.g., for robotics problems, raises the challenge of grounding. We propose embodied language models to directly incorporate real-world continuous sensor modalities into language models and thereby establish the link between words and percepts. Input to our embodied language model are multi-modal sentences that interleave visual, continuous state estimation, and textual input encodings. We train these encodings end-to-end, in conjunction with a pre-trained large language model, for multiple embodied tasks including sequential robotic manipulation planning, visual question answe…

  2. Close
    Image as a Foreign Language: BEiT Pretraining for All Vision and Vision-Language Tasks
    Wen-Hui Wang, Hangbo Bao, Li Dong et al. · 2022 · arXiv.org · preprint, not peer reviewed · cited 734 times · Not summarized yet
    Abstract

    A big convergence of language, vision, and multimodal pretraining is emerging. In this work, we introduce a general-purpose multimodal foundation model BEiT-3, which achieves state-of-the-art transfer performance on both vision and vision-language tasks. Specifically, we advance the big convergence from three aspects: backbone architecture, pretraining task, and model scaling up. We introduce Multiway Transformers for general-purpose modeling, where the modular architecture enables both deep fusion and modality-specific encoding. Based on the shared backbone, we perform masked"language"modeling on images (Imglish), texts (English), and image-text pairs ("parallel sentences") in a unified man…

  3. Close
    Language Is Not All You Need: Aligning Perception with Language Models
    Shaohan Huang, Li Dong, Wenhui Wang et al. · 2023 · Computation and Language · cited 828 times · AI summary available
    Abstract

    A big convergence of language, multimodal perception, action, and world modeling is a key step toward artificial general intelligence. In this work, we introduce Kosmos-1, a Multimodal Large Language Model (MLLM) that can perceive general modalities, learn in context (i.e., few-shot), and follow instructions (i.e., zero-shot). Specifically, we train Kosmos-1 from scratch on web-scale multimodal corpora, including arbitrarily interleaved text and images, image-caption pairs, and text data. We evaluate various settings, including zero-shot, few-shot, and multimodal chain-of-thought prompting, on a wide range of tasks without any gradient updates or finetuning. Experimental results show that Ko…

  4. Related Uses this paper in depth
    Foundational Models Defining a New Era in Vision: A Survey and Outlook
    Muhammad Awais, Muzammal Naseer, Salman Siddique Khan et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 173 times · AI summary available
    Abstract

    Vision systems to see and reason about the compositional nature of visual scenes are fundamental to understanding our world. The complex relations between objects and their locations, ambiguities, and variations in the real-world environment can be better described in human language, naturally governed by grammatical rules and other modalities such as audio and depth. The models learned to bridge the gap between such modalities coupled with large-scale training data facilitate contextual reasoning, generalization, and prompt capabilities at test time. These models are referred to as foundational models. The output of such models can be modified through human-provided prompts without retraini…

  5. Close
    When large language models meet personalization: perspectives of challenges and opportunities
    Jin Chen, Zheng Liu, Xu Huang et al. · 2023 · World wide web (Bussum) · cited 397 times · AI summary available
    Abstract

    The advent of large language models marks a revolutionary breakthrough in artificial intelligence. With the unprecedented scale of training and model parameters, the capability of large language models has been dramatically improved, leading to human-like performances in understanding, language synthesizing, common-sense reasoning, etc. Such a major leap forward in general AI capacity will fundamentally change the pattern of how personalization is conducted. For one thing, it will reform the way of interaction between humans and personalization systems. Instead of being a passive medium of information filtering, like conventional recommender systems and search engines, large language models …

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 2 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.