
Sign up to save your podcasts
Or


This academic paper explores methods to improve Bayesian optimization (BO), a process for finding optimal settings for complex, costly functions. The authors address the challenge of maximizing acquisition functions, which are heuristics guiding BO's search and are often difficult to optimize, especially when evaluating multiple points simultaneously. They demonstrate that Monte Carlo integration allows for gradient-based optimization of a wide range of acquisition functions. Furthermore, they identify a family of acquisition functions that possess submodular properties, making them suitable for efficient greedy maximization. Experimental results indicate that these techniques significantly enhance BO performance, particularly as the complexity of the optimization increases.
This paper introduces Bayesian Prompt Ensembles (BayesPE), a novel method for quantifying uncertainty in black-box large language models (LLMs) without requiring access to their internal parameters or retraining. BayesPE achieves this by ensembling the outputs of an LLM prompted with various semantically equivalent instructions, learning the optimal weighting for each prompt through approximate Bayesian variational inference on a small validation dataset. The paper demonstrates that this approach effectively approximates a Bayesian input layer and provides a lower bound on the model's reducible error. Extensive experiments across various LLMs and natural language classification tasks show that BayesPE significantly improves uncertainty calibration compared to existing baselines in both zero- and few-shot settings, while also exhibiting superior efficiency in terms of the required number of LLM forward passes and labeled validation data.
This academic paper introduces PC-SUBQ, a prompting strategy designed to improve the ability of Large Language Models (LLMs) to infer causal relationships from correlations. The strategy breaks down the complex task into sequential sub-questions that mirror the steps of the PC algorithm, a formal causal discovery method. Evaluating PC-SUBQ on the CORR2CAUSE benchmark, which provides correlation data to test causal reasoning, the researchers found that it significantly boosted performance across several LLMs compared to baseline prompting techniques. The approach also demonstrated robustness to variations in variable names and paraphrased phrasing, suggesting it enhances the models' underlying causal reasoning skills rather than just memorization. PC-SUBQ offers transparent reasoning steps, making it easier to understand where errors occur.
This academic paper presents the parallel knowledge gradient method (q-KG), a novel approach for batch Bayesian optimization designed to efficiently find the global optimum of costly, derivative-free functions when multiple evaluations can be performed concurrently. Unlike previous methods that build batches greedily, q-KG uses a decision-theoretic analysis to select a set of points that is Bayes-optimal for sampling in a single iteration. The authors address the computational challenge of maximizing q-KG by developing an efficient gradient computation strategy based on infinitesimal perturbation analysis (IPA), demonstrating through experiments on synthetic and real-world machine learning problems that q-KG significantly outperforms existing parallel Bayesian optimization algorithms, particularly in the presence of noisy function evaluations.
This paper introduces FunBO, a novel method utilizing Large Language Models (LLMs) to discover and refine acquisition functions (AFs) for Bayesian Optimization (BO). The core idea is to treat the discovery of effective AFs as an algorithm discovery problem, leveraging FunSearch, an LLM-based approach for mathematical sciences. FunBO iteratively generates and evaluates candidate AFs written in code, aiming to improve BO's sample efficiency and performance across diverse optimization problems, outperforming existing general-purpose and some function-specific AFs while offering interpretability through code. The research demonstrates FunBO's effectiveness on various benchmarks and hyperparameter optimization tasks, highlighting its ability to generalize well in and out of the training distribution of functions.
This paper introduces an innovative method for automating social science research, focusing on generating and testing hypotheses in a simulated environment. Leveraging recent strides in large language models (LLMs), the approach centers on structural causal models (SCMs) as the foundational language for hypotheses and the blueprint for experiments. The authors detail a system that uses LLMs to propose hypotheses, design agents with specified attributes, run experiments involving these agents in various social scenarios (negotiation, bail hearing, job interview, auction), collect data, and analyze the results using SCMs. Crucially, the paper demonstrates that in silico simulations driven by SCMs yield insights not consistently available through direct LLM prediction, highlighting the value of experimentation even in simulated settings. Findings from several scenarios illustrate the system's capabilities in identifying causal relationships and generating empirically-derived results.
This research proposes a novel approach to understanding the self-attention mechanism within Transformer neural networks, interpreting it through the lens of structural causal models (SCMs). By viewing self-attention as a method for estimating an SCM for input sequences, the authors demonstrate that pre-trained Transformers can be used for zero-shot causal discovery, even in the presence of unobserved factors. This allows for learning the causal structure over individual input sequences by analyzing the attention matrix, which can then be used to provide causal explanations for the Transformer's outputs in tasks like sentiment classification and recommendation systems. The proposed method, called CLEANN, is shown to produce smaller and more specific explanation sets compared to baseline approaches.
This paper investigates whether Generative Pre-trained Transformer (GPT) models, trained solely for next-token prediction, implicitly learn a causal world model. By proposing a causal interpretation of GPT's attention mechanism, the authors suggest that these models can perform zero-shot causal structure learning for input sequences. Experiments in controlled game environments like Othello and Chess show that GPT is more likely to generate legal moves for out-of-distribution sequences when the attention mechanism strongly encodes a causal structure, highlighting a connection between implicit causal learning and adherence to rules.
This paper introduces Trace, a novel framework designed to optimize complex computational workflows end-to-end. Trace extends the concept of automatic differentiation by propagating the execution trace of a workflow as feedback, enabling the optimization of both differentiable and non-differentiable operations. The authors propose a general setup called OPTO (Output-Feedback Optimization), where an optimizer iteratively updates parameters based on rich feedback and the computational graph. They also present OptoPrime, an optimizer that leverages large language models to interpret the execution trace and feedback for parameter updates. Experimental results across various tasks, including game playing, traffic control, LLM prompt and code optimization, and robot manipulation, demonstrate that Trace with OptoPrime can efficiently learn complex strategies and outperform baseline methods, highlighting the value of using execution traces in optimization.
This paper presents research exploring adaptive inference-time compute for large language models (LLMs) to enhance performance and efficiency. The core concept involves training LLMs to perform capability-aware and mid-generation self-evaluations, allowing them to predict whether restarting a response would yield a better result without needing external reward models. The paper demonstrates two key techniques leveraging this capability: adaptive sampling, which resamples only when predicted as beneficial, and early pruning, which stops unpromising responses during generation. The findings show that these methods can achieve significant performance improvements, such as increasing the win rate against GPT-4 on AlpacaEval and boosting accuracy on GSM8K math problems, while substantially reducing the average number of samples and tokens generated.
From the publisher's feed