Iterative Forward Tuning Boosts In-Context Learning in Language Models
원문 초록
Despite the advancements in in-context learning (ICL) for large language models (LLMs), current research centers on specific prompt engineering, such as demonstration selection, with the expectation that a single iteration of demonstrations processing can generalize effectively to a given test sample. However, this perspective overlooks the potential benefits derived from multiple iterations involving demonstrations, a practice aligning more closely with the iterative decision-making process exhibited by humans, who often learn through analogy. In this study, we introduce a novel two-stage framework to boost ICL in LLMs. Specifically, our framework delineates the ICL process into two distinct stages: Deep-Thinking and test stages. The Deep-Thinking stage incorporates a unique attention mechanism, i.e., iterative enhanced attention, which enables multiple rounds of information accumulation. This mechanism operates by manipulating the Key-Value matrices without training, fostering enhanced understanding capabilities in LLMs by thinking demonstrations multiple times. We evaluated Deep-Thinking across a range of benchmarks and LLMs, showing its superior performance over vanilla ICL methods and its effectiveness in challenging tasks where demonstration selection is infeasible.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
CausalPFN: Amortized Causal Effect Estimation via In-Context Learning
State and Memory is All You Need for Robust and Reliable AI Agents
Case-based Reasoning Augmented Large Language Model Framework for Decision Making in Realistic Safety-Critical Driving Scenarios
Hypothesis Testing for Quantifying LLM-Human Misalignment in Multiple Choice Settings
Instruction Tuning and CoT Prompting for Contextual Medical QA with LLMs
Flipping Against All Odds: Reducing LLM Coin Flip Bias via Verbalized Rejection Sampling
토론
이 논문과 연결된 포럼 글이 아직 없습니다.