UCVG.cpp: Generate Control Vectors for Any LLM From a Single Prompt Pair

Egor4more · reddit · 2026-10-05

UCVG.cpp is a new open-source C++ tool that drastically simplifies LLM control vector generation: llama.cpp-style setup, one pair of contrasting prompts per vector, plus a modified llama-server that supports per-request dynamic steering magnitudes. The author argues control vectors are underused — they can't be leaked, don't wash off with long context, and resist 'ignore previous instructions' — while noting steering too hard degrades output quality, an active research area.

Original post →

More from Infra

Infra channel →