BOReFT: Manifold Steering of Language Models for Black-box Optimization
Dhruv Agarwal, Rico Angell, Kavitha Srinivas, Tahira Naseem, Horst Samulowitz, Willie Neiswanger, Andrew McCallum
Abstract
Language models are increasingly used as proposal models for black-box search, from program optimization to molecular design. Existing approaches typically improve proposals through iterative prompting or parameter updates, offering limited control over how completely and efficiently the model's search space is explored. Continuous optimization methods, such as Bayesian optimization, provide a principled way to search but require a suitable domain to operate over. To address this, we introduce BOReFT, which learns a compact, low-dimensional space of hidden-state interventions in a frozen language model, and uses this space as the search domain for Bayesian optimization with an external scoring function. Empirically, we find that the learned domain spans semantic regions and exhibits smoothness properties that support search. Theoretically, we show that semantic coverage and interpolation control the best score available in the learned space, and that decoding from this space yields a standard stochastic-bandit observation model for adaptive search. We evaluate BOReFT on the interpretable word search task "Semantle" and on three more real-world discovery tasks in de novo molecule property optimization. Compared to strong LLM baselines, BOReFT finds in Semantle a higher number of hidden targets and, on two out of three molecular objectives, achieves higher property scores. Consequently, our method provides a principled new bridge between discrete proposal spaces of LLM-based search and continuous black-box optimization.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.CL
Related papers
RISE-DMD: Reward-Improved Self-Evolving Distribution Matching Distillation for Black-Box Reward Optimization
Shared title terminologycs.LGYixiang Zhou, An Zhao, Xuanyi Liu et al.
Commutator Memory: Sparse, Path-Local Reading and Steering in Language Models
Shared title terminologycs.LGJohn Sweeney
Learning to Steer, Steering to See: Unveiling the Geometry of RLVR in Large Language Models via Trainable Vectors
Shared title terminologycs.LGYuchen Cai, Ding Cao, Qixiang Yin et al.
Rotated Manifold Optimization for Low-Rank Adaptation
Shared title terminologycs.LGYuhui Ding, Javier Zazo, James Hensman
Steering Language Model Goals with Value Transplant
Shared title terminologycs.LGPengcheng Jiang, Fabien Roger
Optimizing the Phi-2 Small Language Model for Real-time Chatbot Applications Using Parameter-Efficient Fine-Tuning (PEFT) with QLoRA Quantization
Shared title terminologycs.LGPhanTan Khanh Nguyen, Ashfaq Ali Shafin, Khandaker Mamun Ahmed