CLAIMay 23, 2025

Beyond Demonstrations: Dynamic Vector Construction from Latent Representations

arXiv:2505.20318v22 citationsh-index: 3EMNLP
Originality Incremental advance
AI Analysis

This work addresses a bottleneck in lightweight, data-efficient inference-time task adaptation for large language models, offering an incremental improvement over prior methods.

The paper tackled the sensitivity and inefficiency of existing In-Context derived Vector methods by proposing DyVec, which uses exhaustive query rotation and dynamic segmentation to extract and inject robust latent representations, achieving superior performance over few-shot ICL and other baselines.

In-Context derived Vector (ICV) methods extract task-relevant representations from large language models (LLMs) and reinject them during inference, achieving comparable performance to few-shot In-Context Learning (ICL) without repeated demonstration processing. However, existing ICV methods remain sensitive to ICL-specific factors, often use coarse or semantically fragmented representations as the source of the vector, and rely on heuristic-based injection positions, limiting their applicability. To address these issues, we propose Dynamic Vector (DyVec), which incorporates an Exhaustive Query Rotation (EQR) strategy to extract robust semantically aggregated latent representations by mitigating variance introduced by ICL. It then applies Dynamic Latent Segmentation and Injection to adaptively partition representations based on task complexity and leverages REINFORCE-based optimization to learn optimal injection positions for each segment. Experiments results show that DyVec outperforms few-shot ICL, LoRA, and prior ICV baselines. Further analysis highlights the effectiveness of dynamically segmenting and injecting semantically aggregated latent representations. DyVec provides a lightweight and data-efficient solution for inference-time task adaptation.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes