Best AI papers explained

Best AI papers explained

By Enoch H. KangTechnology
Download on the App Store

Best AI papers explained episodes

  • Inference time alignment in continuous space

    This academic paper introduces Simple Energy Adaptation (SEA), a novel method for aligning large language models (LLMs) with human preferences during the inference phase. Unlike traditional methods that rely on discrete searches within a limited set of responses from the base model, SEA formulates alignment as an iterative optimization process in a continuous latent space. By applying gradient-based Langevin Dynamics to the continuous output logits, guided by an energy function derived from the optimal RLHF policy, SEA more effectively explores potential responses. Experimental results on various tasks like safety, truthfulness, and reasoning demonstrate that SEA significantly outperforms existing search-based techniques, even those using larger candidate sets, highlighting the advantages of continuous optimization for inference-time LLM alignment. The paper also analyzes how SEA mitigates the issue of "shallow alignment," promoting a balanced distribution of alignment efforts across the entire output.

    16 min
  • Efficient Test-Time Scaling via Self-Calibration

    This academic paper explores methods to improve the efficiency and accuracy of Large Language Models (LLMs) during the final step of generating responses, known as test-time scaling. The authors propose Self-Calibration, a technique to teach LLMs to reliably estimate their own confidence in an answer with a single pass. By incorporating these calibrated confidence scores, they develop efficient test-time scaling strategies, such as stopping repeated sampling early when a confident answer is found or weighting sampled answers by confidence. Experimental results demonstrate that these confidence-based approaches enhance performance and computational efficiency compared to traditional methods that sample a fixed number of responses. The paper highlights the importance of reliable confidence estimation for optimizing LLM inference.

    25 min
  • Conformal Prediction via Bayesian Quadrature

    This paper explores a novel perspective on conformal prediction, a method for providing performance guarantees for machine learning models without assuming a specific data distribution. The authors propose viewing conformal prediction through a Bayesian lens, specifically utilizing Bayesian quadrature, a technique for estimating integrals with uncertainty. They argue that this approach addresses limitations of traditional frequentist-based conformal prediction, offering more interpretable guarantees and a richer understanding of potential future losses. The paper demonstrates how existing techniques like split conformal prediction and conformal risk control can be understood as special cases of their Bayesian framework. Ultimately, the authors show that their method, grounded in Bayesian probability, can provide a more nuanced and robust way to quantify uncertainty for complex models.

    23 min
  • Predicting from Strings: Language Model Embeddings for Bayesian Optimization

    This paper, a research paper from Google DeepMind, introduces a novel approach called Embed-then-Regress for Bayesian Optimization. This method leverages the ability of language models to embed string representations of various types of inputs, including synthetic, combinatorial, and hyperparameter configurations, into fixed-length vectors. These vectors then serve as features for a Transformer-based regressor trained using in-context learning. The paper demonstrates that this approach achieves comparable results to traditional Gaussian Process algorithms across diverse optimization tasks, highlighting its versatility and potential for broader application in blackbox optimization.

    28 min
  • Self-Evolving Curriculum for LLM Reasoning

    This document presents Self-Evolving Curriculum (SEC), a novel method for reinforcement learning (RL) fine-tuning of large language models (LLMs) to enhance their reasoning capabilities. SEC frames curriculum selection as a non-stationary Multi-Armed Bandit (MAB) problem, where problem categories represent individual "arms". It learns a curriculum policy concurrently with LLM training, utilizing the absolute advantage from policy gradient methods as a metric for learning gain to dynamically adjust the problems presented. The paper demonstrates SEC's effectiveness across planning, inductive reasoning, and mathematics, showing improvements in generalization to harder problems and better skill balance in multi-domain training.

    15 min
  • Online Decision-Focused Learning in Dynamic Environments

    This paper introduces online decision-focused learning (DFL), a framework for training predictive models used in dynamic, sequential decision-making tasks where data distributions and objectives change over time. The authors propose a new algorithm, Decision-Focused Online Gradient Descent (DF-OGD), which handles the non-differentiable and non-convex nature of the decision objective by regularizing the problem and using an optimistic approach with perturbations. Theoretical dynamic regret bounds are provided for DF-OGD on both simplex and general convex polytope decision spaces, demonstrating its convergence guarantees. Empirical experiments on a knapsack problem show that DF-OGD outperforms a traditional prediction-focused approach in terms of downstream decision quality, particularly in the presence of model mispecification.

    21 min
  • FisherSFT: Data-Efficient Supervised Fine-Tuning of Language Models Using Information Gain

    This paper introduces FisherSFT, a method for making supervised fine-tuning (SFT) of large language models (LLMs) more data-efficient by selecting the most informative training examples. The key concept is to choose examples that maximize information gain, which is approximated by evaluating the Hessian of the LLM's log-likelihood. This approach uses a computationally efficient approximation based on linearizing the LLM's last layer and employs a greedy algorithm to select sentences with the highest information gain. The authors provide a theoretical analysis bounding the prediction error and empirical results demonstrating FisherSFT's superiority over baseline sampling methods on synthetic and real-world datasets, including GPT-2.

    15 min
  • Reward Shaping from Confounded Offline Data

    This academic paper explores a novel technique for automatic reward shaping in reinforcement learning, specifically addressing the challenge of learning from offline data that may contain unobserved confounding factors. The authors propose using causal state value upper bounds, derived from this confounded data, as potential functions for Potential-Based Reward Shaping (PBRS). They demonstrate theoretically and through simulations that their method, when applied to a model-free learner like Q-UCB, leads to improved learning efficiency and a better regret bound compared to approaches without this causal shaping. The work focuses on Confounded Markov Decision Processes (CMDPs), explicitly modeling hidden confounders, and introduces a new algorithm for learning these robust potential functions from offline data, aiming to accelerate the learning of optimal policies for online agents.

    21 min
  • Trajectory Bellman Residual Minimization: A Simple Value-Based Method for LLM Reasoning

    This academic paper introduces Trajectory Bellman Residual Minimization (TBRM), a novel value-based reinforcement learning algorithm designed to enhance the reasoning capabilities of large language models (LLMs), particularly in mathematical problem-solving. Unlike prevailing policy-based methods like PPO and GRPO, TBRM streamlines the training process by eliminating the need for critics, importance sampling, or clipping mechanisms, requiring only a single rollout per prompt. The authors present theoretical evidence showing TBRM's convergence to a near-optimal policy using off-policy data and empirical results demonstrating its superior performance and efficiency compared to baselines on several math benchmarks. The findings suggest that value-based approaches, like TBRM, offer a promising and efficient alternative for improving LLM reasoning.

    18 min
  • Understanding Best-of-N Language Model Alignment

    This paper critically examines the best-of-n policy, a common method for aligning generative language models by selecting the highest-reward sample from $n$ options drawn from a reference policy. It disproves a widely-used analytical formula for the KL divergence between the best-of-n policy and the reference, proving that the formula is only an upper bound. The authors analyze the conditions under which this bound is tight or loose and propose a new, more accurate estimator for the KL divergence. Additionally, they analyze the win rate of the best-of-n policy against the reference, providing both upper and lower bounds, and compare best-of-n to another rejection sampling method, rewind-and-repeat, showing best-of-n's superior trade-offs between win rate and KL divergence.

    15 min

About Best AI papers explained

From the publisher's feed

Cut through the noise. We curate and break down the most important AI papers so you don’t have to.