paper-with-me

Papers

Plug-and-Play Document Modules for Pre-trained Models

2023-05-28 · Chaojun Xiao, Zhengyan Zhang, Xu Han, Chi-Min Chan, Yankai Lin, Zhiyuan Liu, Xiangyang Li, Zhonghua Li, Zhao Cao, Maosong Sun

Large-scale pre-trained models (PTMs) have been widely used in document-oriented NLP tasks, such as question answering. However, the encoding-task coupling requirement results in the repeated encoding of the same documents for different tasks and queries, which is highly computationally inefficient. To this end, we target to decouple document encoding from downstream tasks, and propose to represent each document as a plug-and-play document module, i.e., a document plugin, for PTMs (PlugD). By inserting document plugins into the backbone PTM for downstream tasks, we can encode a document one time to handle multiple tasks, which is more efficient than conventional encoding-task coupling methods that simultaneously encode documents and input queries using task-specific encoders. Extensive experiments on 8 datasets of 4 typical NLP tasks show that PlugD enables models to encode documents once and for all across different scenarios. Especially, PlugD can save $69\%$ computational costs while achieving comparable performance to state-of-the-art encoding-task coupling methods. Additionally, we show that PlugD can serve as an effective post-processing way to inject knowledge into task-specific models, improving model performance without any additional model training.

📄 PDF Abstract BibTeX arXiv:2305.17660

Code (1)

thunlp/document-plugin 공식 구현 pytorch

Tasks

Question Answering

Similar Papers 제목 키워드 기반

Training Plug-n-Play Knowledge Modules with Deep Context Distillation

2025-03-11 · Lucas Caccia, Alan Ansell, Edoardo Ponti, Ivan Vulić 외

Dynamically integrating new or rapidly evolving information after (Large) Language Model pre-training remains challenging, particularly in low-data scenarios or when dealing with private and specialized documents. In-con…

In-Context LearningLanguage ModelingLanguage ModellingLarge Language Model+3

Plug-and-Play Transformer Modules for Test-Time Adaptation

2024-01-06 · Xiangyu Chang, Sk Miraj Ahmed, Srikanth V. Krishnamurthy, Basak Guler 외

Parameter-efficient tuning (PET) methods such as LoRA, Adapter, and Visual Prompt Tuning (VPT) have found success in enabling adaptation to new domains by tuning small modules within a transformer model. However, the num…

Domain AdaptationTest-time AdaptationVisual Prompt Tuning

Friendly Topic Assistant for Transformer Based Abstractive Summarization

2020-11-01 · EMNLP 2020 11 · Zhengjue Wang, Zhibin Duan, Hao Zhang, Chaojie Wang 외

Abstractive document summarization is a comprehensive task including document understanding and summary generation, in which area Transformer-based models have achieved the state-of-the-art performance. Compared with Tra…

Abstractive Text SummarizationDocument Summarizationdocument understandingTopic Models

CellProfiler plugins -- an easy image analysis platform integration for containers and Python tools

2023-06-02 · Erin Weisbart, Callum Tromans-Coia, Barbara Diaz-Rohrer, David R Stirling 외

CellProfiler is a widely used software for creating reproducible, reusable image analysis workflows without needing to code. In addition to the >90 modules that make up the main CellProfiler program, CellProfiler has a p…

Variator: Accelerating Pre-trained Models with Plug-and-Play Compression Modules

2023-10-24 · Chaojun Xiao, Yuqi Luo, Wenbin Zhang, Pengle Zhang 외

Pre-trained language models (PLMs) have achieved remarkable results on NLP tasks but at the expense of huge parameter sizes and the consequent computational costs. In this paper, we propose Variator, a parameter-efficien…

Computational Efficiency