Nodes/ComfyUI-Model-Bending/Steering Vector (from Activations)
ComfyUI Node

Steering Vector (from Activations)

Steering vector = mean activation of run A minus run B at one layer, per denoising step.

By abuzreq·Created 2 years ago·Updated 2 days ago· 23
Steering Vector (from Activations)
  • activations_a
  • activations_b
  • steering_vector
  • info
◄sitemiddle_block.1►
◄modechannel►
Categorymodel_bending/probe

Inputs (4)

NameTypeDefaultDescription
activations_aACTIVATIONSRun with the concept to steer towards
activations_bACTIVATIONSRun with the concept to steer away from
siteSTRINGmiddle_block.1—
modeCOMBOchannelchannel: per-channel means (style/concept, layout-free); spatial: keeps the layout (needs spatial means)

Outputs (2)

NameTypeDescription
steering_vectorSTEERING_VECTOR—
infoSTRING—