paper-with-me

Papers

Zemi: Learning Zero-Shot Semi-Parametric Language Models from Multiple Tasks

2022-10-01 · Zhenhailong Wang, Xiaoman Pan, Dian Yu, Dong Yu, Jianshu Chen, Heng Ji

Although large language models have achieved impressive zero-shot ability, the huge model size generally incurs high cost. Recently, semi-parametric language models, which augment a smaller language model with an external retriever, have demonstrated promising language modeling capabilities. However, it remains unclear whether such semi-parametric language models can perform competitively well as their fully-parametric counterparts on zero-shot generalization to downstream tasks. In this work, we introduce $\text{Zemi}$, a zero-shot semi-parametric language model. To our best knowledge, this is the first semi-parametric language model that can demonstrate strong zero-shot performance on a wide range of held-out unseen tasks. We train $\text{Zemi}$ with a novel semi-parametric multitask prompted training paradigm, which shows significant improvement compared with the parametric multitask training as proposed by T0. Specifically, we augment the multitask training and zero-shot evaluation with retrieval from a large-scale task-agnostic unlabeled corpus. In order to incorporate multiple potentially noisy retrieved augmentations, we further propose a novel $\text{augmentation fusion}$ module leveraging perceiver resampler and gated cross-attention. Notably, our proposed $\text{Zemi}_\text{LARGE}$ outperforms T0-3B by 16% on all seven evaluation tasks while being 3.9x smaller in model size.

📄 PDF Abstract BibTeX arXiv:2210.00185

Code (1)

mikewangwzhl/zemi 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingRetrievalText AugmentationZero-shot Generalization

Similar Papers 제목 키워드 기반

Knowledge-in-Context: Towards Knowledgeable Semi-Parametric Language Models

2022-10-28 · Xiaoman Pan, Wenlin Yao, Hongming Zhang, Dian Yu 외

Fully-parametric language models generally require a huge number of model parameters to store the necessary knowledge for solving multiple natural language tasks in zero/few-shot settings. In addition, it is hard to adap…

Common Sense ReasoningCoreference ResolutionLanguage ModelingLanguage Modelling+7

SPT: Semi-Parametric Prompt Tuning for Multitask Prompted Learning

2022-12-21 · M Saiful Bari, Aston Zhang, Shuai Zheng, Xingjian Shi 외

Pre-trained large language models can efficiently interpolate human-written prompts in a natural way. Multitask prompted learning can help generalization through a diverse set of tasks at once, thus enhancing the potenti…

Language ModelingLanguage Modellingparameter-efficient fine-tuningZero-shot Generalization

Adaptation Approaches for Nearest Neighbor Language Models

2022-11-15 · Rishabh Bhardwaj, George Polovets, Monica Sunkara

Semi-parametric Nearest Neighbor Language Models ($k$NN-LMs) have produced impressive gains over purely parametric LMs, by leveraging large-scale neighborhood retrieval over external memory datastores. However, there has…

Retrieval

Parametric Memory Decoding for Zero-Shot Routing in LoRA-Based External Parametric Memory

2026-07-05 · Fengxian Ji, Zhuohan Xie, Jingpu Yang, Fan Zhang 외 arxiv

With the rise of parametric memory, LoRA-based External Parametric Memory (EPM) has emerged as a modular solution, but existing routing methods often introduce additional training, deployment, and maintenance overhead. T…

Zero-Shot Dual Machine Translation

2018-05-25 · Lierni Sestorain, Massimiliano Ciaramita, Christian Buck, Thomas Hofmann

Neural Machine Translation (NMT) systems rely on large amounts of parallel data. This is a major challenge for low-resource languages. Building on recent work on unsupervised and semi-supervised methods, we present an ap…

Machine TranslationNMTReinforcement LearningTranslation