paper-with-me

Papers

Investigating Task Arithmetic for Zero-Shot Information Retrieval

2025-05-01 · Marco Braga, Pranav Kasela, Alessandro Raganato, Gabriella Pasi

Large Language Models (LLMs) have shown impressive zero-shot performance across a variety of Natural Language Processing tasks, including document re-ranking. However, their effectiveness degrades on unseen tasks and domains, largely due to shifts in vocabulary and word distributions. In this paper, we investigate Task Arithmetic, a technique that combines the weights of LLMs pre-trained on different tasks or domains via simple mathematical operations, such as addition or subtraction, to adapt retrieval models without requiring additional fine-tuning. Our method is able to synthesize diverse tasks and domain knowledge into a single model, enabling effective zero-shot adaptation in different retrieval contexts. Extensive experiments on publicly available scientific, biomedical, and multilingual datasets show that our method improves state-of-the-art re-ranking performance by up to 18% in NDCG@10 and 15% in P@10. In addition to these empirical gains, our analysis provides insights into the strengths and limitations of Task Arithmetic as a practical strategy for zero-shot learning and model adaptation. We make our code publicly available at https://github.com/DetectiveMB/Task-Arithmetic-for-ZS-IR.

📄 PDF Abstract BibTeX arXiv:2505.00649

Code (1)

detectivemb/task-arithmetic-for-zs-ir 공식 구현 pytorch

Tasks

Information RetrievalRe-RankingRetrievalTask ArithmeticZero-Shot Learning

Similar Papers 제목 키워드 기반

Algorithmic Phase Transitions in Language Models: A Mechanistic Case Study of Arithmetic

2024-12-10 · Alan Sun, Ethan Sun, Warren Shepard

Zero-shot capabilities of large language models make them powerful tools for solving a range of tasks without explicit training. It remains unclear, however, how these models achieve such performance, or why they can zer…

Logical Reasoning

Language and Task Arithmetic with Parameter-Efficient Layers for Zero-Shot Summarization

2023-11-15 · Alexandra Chronopoulou, Jonas Pfeiffer, Joshua Maynez, Xinyi Wang 외

Parameter-efficient fine-tuning (PEFT) using labeled task data can significantly improve the performance of large language models (LLMs) on the downstream task. However, there are 7000 languages in the world and many of …

Cross-Lingual Transferparameter-efficient fine-tuningTask ArithmeticText Generation+1

ZeroCap: Zero-Shot Image-to-Text Generation for Visual-Semantic Arithmetic

2021-11-29 · CVPR 2022 1 · Yoad Tewel, Yoav Shalev, Idan Schwartz, Lior Wolf

Recent text-to-image matching models apply contrastive learning to large corpora of uncurated pairs of images and sentences. While such models can provide a powerful score for matching and subsequent zero-shot tasks, the…

Contrastive LearningDescriptiveImage CaptioningImage to text+6

Large Language Models are Zero-Shot Reasoners

2022-05-24 · Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 외

Pretrained large language models (LLMs) are widely used in many sub-fields of natural language processing (NLP) and generally known as excellent few-shot learners with task-specific exemplars. Notably, chain of thought (…

Arithmetic ReasoningCommon Sense ReasoningDate UnderstandingFew-Shot Learning+3

Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Ranking

2023-10-20 · Shengyao Zhuang, Bing Liu, Bevan Koopman, Guido Zuccon

In the field of information retrieval, Query Likelihood Models (QLMs) rank documents based on the probability of generating the query given the content of a document. Recently, advanced large language models (LLMs) have …

Document RankingInformation RetrievalQuestion GenerationQuestion-Generation+1