The Logical Implication Steering Method for Conditional Interventions on Transformer Generation

Damjan Kalajdzievski
2/5/2025
cs.LG

No confident code implementation found for this paper.

Abstract

The field of mechanistic interpretability in pre-trained transformer models has demonstrated substantial evidence supporting the ''linear representation hypothesis'', which is the idea that high level concepts are encoded as vectors in the space of activations of a model. Studies also show that model generation behavior can be steered toward a given concept by adding the concept's vector to the corresponding activations. We show how to leverage these properties to build a form of logical implication into models, enabling transparent and interpretable adjustments that induce a chosen generation behavior in response to the presence of any given concept. Our method, Logical Implication Model Steering (LIMS), unlocks new hand engineered reasoning capabilities by integrating neuro-symbolic logic into pre-trained transformer models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kalajdzievski2025logical,
  title  = {The Logical Implication Steering Method for Conditional Interventions on Transformer Generation},
  author = {Damjan Kalajdzievski},
  year   = {2025},
  eprint = {2502.03618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.03618v2},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.03618.svg)](https://codeofpaper.com/paper/2502.03618)

Discussion