AI RESEARCH

LiSeCo: Linear Semantic Control for Language Generation

arXiv CS.CL

ArXi:2405.15454v4 Announce Type: replace The prevalence of Large Language Models (LLMs) in critical applications highlights the need for controlled language generation methods that are both computationally efficient and enjoy performance guarantees. To address this need, we use a common model of concept semantics as linearly represented in an LLM's latent space. In particular, we take the view that natural language generation traces a trajectory in this continuous semantic space, realized by the language model's hidden activations.