Language Models are General-Purpose Interfaces

Auteurs : Yaru Hao, Haoyu Song, Li Dong, Shaohan Huang, Zewen Chi, Wenhui Wang, Shuming Ma, Furu Wei

Soumis à arXiv le 13 Jui. 2022
Résumé scientifique

Foundation models have received much attention due to their effectiveness across a broad range of downstream applications. Though there is a big convergence in terms of architecture, most pretrained models are typically still developed for specific tasks or modalities. In this work, we propose to use language models as a general-purpose interface to various foundation models. A collection of pretrained encoders perceive diverse modalities (such as vision, and language), and they dock with a language model that plays the role of a universal task layer. We propose a semi-causal language modeling objective to jointly pretrain the interface and the modular encoders. We subsume the advantages and capabilities from both causal and non-causal modeling, thereby combining the best of two worlds. Specifically, the proposed method not only inherits the capabilities of in-context learning and open-ended generation from causal language modeling, but also is conducive to finetuning because of the bidirectional encoders. More importantly, our approach seamlessly unlocks the combinations of the above capabilities, e.g., enabling in-context learning or instruction following with finetuned encoders. Experimental results across various language-only and vision-language benchmarks show that our model outperforms or is competitive with specialized models on finetuning, zero-shot generalization, and few-shot learning.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Proche
    Reformulating Vision-Language Foundation Models and Datasets Towards Universal Multimodal Assistants
    Tianyu Yu, Jinyi Hu, Yuan Yao et al. · 2023 · arXiv.org · preprint, non relu par les pairs · cité 33 fois · Pas encore résumé
    Résumé scientifique

    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. Proche Cité par cet article Utilisé en profondeur par cet article
    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 · cité 23 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    Chain of Hindsight Aligns Language Models with Feedback
    Hao Liu, Carmelo Sferrazza, Pieter Abbeel · 2023 · Machine Learning · cité 177 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche Cité par cet article Utilisé en profondeur par cet article
    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 · cité 242 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche Cite cet article
    Foundation Transformers
    Hongyu Wang, Shu-Ming Ma, Shao-Han Huang et al. · 2022 · arXiv.org · preprint, non relu par les pairs · cité 30 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    Fine-tuned Language Models are Continual Learners
    Thomas Scialom, Tuhin Chakrabarty, Smaranda Muresan · 2022 · Computation and Language · cité 211 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    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, non relu par les pairs · cité 59 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche
    Large Language Models are not Models of Natural Language: they are Corpus Models
    Csaba Veres · 2021 · Computation and Language · cité 26 fois · Résumé IA disponible
    Résumé scientifique

    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 …

Les travaux antérieurs sur lesquels il s’appuie

  1. Proche Utilisé en profondeur par cet article Une méthode qu’il utilise
    Language Models are Few-Shot Learners
    Tom B. Brown, Benjamin Mann, Nick Ryder et al. · 2020 · Computation and Language · cité 65 949 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche Utilisé en profondeur par cet article Une méthode qu’il utilise
    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 · cité 124 860 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche Utilisé en profondeur par cet article Une méthode qu’il utilise
    Multimodal Few-Shot Learning with Frozen Language Models
    M. Tsimpoukelli, Jacob Menick, Serkan Cabi et al. · 2021 · Neural Information Processing Systems · cité 1 030 fois · Pas encore résumé
    Résumé scientifique

    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. Apparenté Utilisé en profondeur par cet article Une méthode qu’il utilise
    Training language models to follow instructions with human feedback
    Long Ouyang, Jeff Wu, Xu Jiang et al. · 2022 · Neural Information Processing Systems · cité 25 620 fois · Résumé IA disponible
    Résumé scientifique

    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. Apparenté Utilisé en profondeur par cet article Une méthode qu’il utilise
    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 · cité 801 fois · Pas encore résumé
    Résumé scientifique

    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…

Les articles qui le citent

  1. Proche
    PaLM-E: An Embodied Multimodal Language Model
    Danny Driess, Fei Xia, Mehdi S. M. Sajjadi et al. · 2023 · Machine Learning · cité 3 423 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche
    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, non relu par les pairs · cité 734 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    Language Is Not All You Need: Aligning Perception with Language Models
    Shaohan Huang, Li Dong, Wenhui Wang et al. · 2023 · Computation and Language · cité 828 fois · Résumé IA disponible
    Résumé scientifique

    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. Apparenté Utilise cet article en profondeur
    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, non relu par les pairs · cité 173 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche
    When large language models meet personalization: perspectives of challenges and opportunities
    Jin Chen, Zheng Liu, Xu Huang et al. · 2023 · World wide web (Bussum) · cité 397 fois · Résumé IA disponible
    Résumé scientifique

    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 …

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 2 novembre 2026.

Le guide illustré des articles autour d’un article