Skip to main content
aiSource: platphorm-dictionary-latent-space-surgery-flat

Latent Space Surgery

Definition of targeted model editing through concept directions in latent space.

platphormnews1 min read92 words

Latent Space Surgery #

Latent space surgery is a model-editing technique that identifies directions in a latent space corresponding to concepts, styles, or behaviors, then adds, subtracts, or dampens those directions to change outputs or internal representations.

Instead of retraining an entire model, practitioners can use targeted vector edits to nudge behavior, such as moving a music embedding from a classical direction toward a jazz direction.

Example: If a vector direction reliably represents sentiment, latent space surgery can increase or reduce that direction to alter the tone of generated text.

Dictionary: https://dictionary.platphormnews.com/en/define/latent-space-surgery