Dialz: A Python Toolkit for Steering Vectors

We introduce Dialz, a framework for advancing research on steering vectors for open-source LLMs, implemented in Python.Steering vectors allow users to modify activations at inference time to amplify or weaken a 'concept', e.g.honesty or positivity, providing a more powerful alternative to prompting or fine-tuning.Dialz supports a diverse set of tasks, including creating contrastive pair datasets, computing and applying steering vectors, and visualizations.Unlike existing libraries, Dialz emphasizes modularity and usability, enabling both rapid prototyping and in-depth analysis.We demonstrate how Dialz can be used to reduce harmful outputs such as stereotypes, while also providing insights into model behaviour across different layers.We release Dialz with full documentation, tutorials, and support for popular open-source models to encourage further research in safe and controllable language generation.Dialz enables faster research cycles and facilitates insights into model interpretability, paving the way for safer, more transparent, and more reliable AI systems. 1

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-demo.35
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Dialz: A Python Toolkit for Steering Vectors

Luis Espinosa-Anke, Liam D. Turner, Zara Siddique
Topic Modeling
article

Dialz: A Python Toolkit for Steering Vectors

Luis Espinosa-Anke, Liam D. Turner, Zara Siddique
article en

Abstract

We introduce Dialz, a framework for advancing research on steering vectors for open-source LLMs, implemented in Python.Steering vectors allow users to modify activations at inference time to amplify or weaken a 'concept', e.g.honesty or positivity, providing a more powerful alternative to prompting or fine-tuning.Dialz supports a diverse set of tasks, including creating contrastive pair datasets, computing and applying steering vectors, and visualizations.Unlike existing libraries, Dialz emphasizes modularity and usability, enabling both rapid prototyping and in-depth analysis.We demonstrate how Dialz can be used to reduce harmful outputs such as stereotypes, while also providing insights into model behaviour across different layers.We release Dialz with full documentation, tutorials, and support for popular open-source models to encourage further research in safe and controllable language generation.Dialz enables faster research cycles and facilitates insights into model interpretability, paving the way for safer, more transparent, and more reliable AI systems. 1

UK Research and Innovation
Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.