English

Embedding-Aligned Language Models

Computation and Language 2024-10-29 v2 Artificial Intelligence Emerging Technologies Machine Learning

Abstract

We propose a novel approach for training large language models (LLMs) to adhere to objectives defined within a latent embedding space. Our method leverages reinforcement learning (RL), treating a pre-trained LLM as an environment. Our embedding-aligned guided language (EAGLE) agent is trained to iteratively steer the LLM's generation towards optimal regions of the latent embedding space, w.r.t. some predefined criterion. We demonstrate the effectiveness of the EAGLE agent using the MovieLens 25M and Amazon Review datasets to surface content gaps that satisfy latent user demand. We also demonstrate the benefit of using an optimal design of a state-dependent action set to improve EAGLE's efficiency. Our work paves the way for controlled and grounded text generation using LLMs, ensuring consistency with domain-specific knowledge and data representations.

Keywords

Cite

@article{arxiv.2406.00024,
  title  = {Embedding-Aligned Language Models},
  author = {Guy Tennenholtz and Yinlam Chow and Chih-Wei Hsu and Lior Shani and Ethan Liang and Craig Boutilier},
  journal= {arXiv preprint arXiv:2406.00024},
  year   = {2024}
}

Comments

Accepted Neurips 2024

R2 v1 2026-06-28T16:48:52.902Z