
Sign up to save your podcasts
Or


This paper introduces PRL (Prompts from Reinforcement Learning), a novel method that automatically generates and refines prompts for Large Language Models (LLMs) using reinforcement learning. Unlike previous methods, PRL can create new, task-specific few-shot examples that were not part of the training data, leading to state-of-the-art performance across various natural language processing tasks, including classification, summarization, and simplification. The approach incorporates a reasoning phase before prompt generation and a prompt selection strategy to improve robustness and efficiency, demonstrating that even larger LLMs benefit from these optimized prompts and that effective prompting is task-dependent.
This academic paper proposes a novel method called Plugin for adapting closed-source Large Language Models (LLMs) to specific tasks without needing to access their internal weights or original training data. The key idea is to leverage token logits, which are the raw probability scores before the final token selection, viewing the adaptation as a label noise correction problem in a sequence setting. A separate, smaller model is trained on task-specific data to reweight these probabilities during inference, effectively steering the black-box LLM's output. The research includes theoretical justification for this approach and empirical results on various datasets and LLMs, demonstrating its effectiveness compared to prompting and training new models. The authors advocate for broader access to token logits in commercial LLMs to enable such efficient and privacy-preserving customization.
This academic paper proposes a novel approach to understanding how large language models (LLMs) learn from example demonstrations provided within the input, a process called in-context learning. The authors suggest viewing LLMs through a Bayesian perspective, considering them as implicitly inferring a latent variable that encapsulates task information. Based on this theory, they developed an algorithm to select the most effective demonstrations by training a smaller LLM to identify examples most likely to reveal this latent concept. Remarkably, the selected demonstrations can be generalized to larger LLMs, significantly boosting performance on various text classification and math problems compared to baseline methods, providing empirical support for their hypothesis.
This academic paper presents Inference-Time Intervention (ITI), a novel method for improving the truthfulness of large language models (LLMs) like LLaMA. ITI works by adjusting internal model activations during the process of generating a response, aiming to align the model's output with known facts and avoid common misconceptions. The research demonstrates that this technique significantly boosts performance on benchmarks like TruthfulQA, even with limited training data, while remaining computationally efficient. The study also explores the trade-off between truthfulness and helpfulness and suggests that LLMs might possess an internal representation of truth.
This academic paper explores various methods for improving the text generated by large language models (LLMs) after they have been trained, focusing on inference-time algorithms. It categorizes these techniques into three core areas: token-level generation algorithms that operate on individual tokens, meta-generation algorithms which structure multiple generation steps, and strategies for efficient generation concerning both token cost and speed. The work formalizes the objectives of different generation approaches and discusses how to incorporate external information, such as other models or tools, to enhance output quality. The authors also analyze the cost-performance tradeoffs of these algorithms and highlight future research directions.
This academic paper investigates the mechanism behind in-context learning (ICL) in large language models (LLMs). The authors propose a theoretical analysis suggesting that ICL can be understood as kernel regression, where the model uses input-output examples within the prompt to make predictions on new data. Through analysis of attention patterns and experiments across different tasks, the study provides evidence that LLMs allocate significant attention to the demonstration samples, particularly their labels, and that internal key and value vectors store relevant information for this process. While the kernel regression framework explains phenomena like the importance of example similarity and output formats, the paper acknowledges that certain aspects of ICL, such as sensitivity to sample order, remain unexplained by this model.
This paper introduces PANDA, a novel approach to personalizing large language models (LLMs) at the point of generating text, known as inference time. Unlike traditional methods that require costly retraining for each new preference, PANDA dynamically adjusts an LLM's output based on learned user preferences without altering the core model. By using context-aware preference weights and reward models, PANDA enables flexible and efficient tailoring of LLM responses to individual needs, validated through experiments showing improved performance on personalized tasks compared to existing alignment techniques. This method represents a significant step towards scalable and dynamic personalization of LLMs.
This research introduces InferenceGuard, a novel method for aligning large language models (LLMs) at inference time, aiming to ensure safe responses with high probability. Traditional alignment methods are costly and modify model weights, while existing inference-time techniques often lack strong safety guarantees. InferenceGuard reframes safe generation as a constrained Markov decision process (MDP) within the LLM's latent space, using state augmentation to guarantee almost sure safety. By training a compact critic in this latent space, the proposed approach balances safety and task performance effectively, outperforming other inference-time alignment methods in generating safe and aligned outputs without altering the base model.
This comprehensive survey examines in-context learning (ICL) in large language models (LLMs), a capability that allows them to learn tasks from examples provided within the input. The paper explores advancements from theoretical viewpoints, such as mechanistic interpretability and mathematical foundations, and empirical perspectives, analyzing factors influencing ICL like pre-training data, model properties, and demonstration characteristics. Understanding ICL is crucial for improving LLM performance, utilizing their adaptable nature without retraining, and addressing potential risks such as bias and toxicity. The survey highlights open questions and suggests future research directions to move from correlational analysis to causal understanding and improve evaluation methods for ICL.
This academic paper explores various methods for improving the text generated by large language models (LLMs) after they have been trained, focusing on inference-time algorithms. It categorizes these techniques into three core areas: token-level generation algorithms that operate on individual tokens, meta-generation algorithms which structure multiple generation steps, and strategies for efficient generation concerning both token cost and speed. The work formalizes the objectives of different generation approaches and discusses how to incorporate external information, such as other models or tools, to enhance output quality. The authors also analyze the cost-performance tradeoffs of these algorithms and highlight future research directions.
From the publisher's feed