Shaping & Monitoring Models through their Internal Representations

Thomas Fel, Matthew Kowal, Matt Feiszli, Satchel Grant, Andrew Lee +21 more
11/4/2026
cs.LGcs.AI
rlhf-rlvr-dpo

No confident code implementation found for this paper.

Abstract

We propose Mechanistic Shaping, a unified framework for shaping models through their internal representations. Mechanistic Shaping is applied during training so that models follow specifications (rules) about which concepts they express, measured via their outputs or internal representations (e.g., no harmful content), and also which concepts they rely on, i.e., what they use to make their decisions (e.g., not a candidate's gender when screening a résumé).

Show full abstract

Across multiple domains (vision, medical imaging, language), scales (up to 32B parameters), and training paradigms (classification, SFT, DPO, GRPO), we find that Mechanistic Shaping substantially reduces targeted behaviors while preserving task performance. Since training against a representation can also modify it, we ask whether shaped concepts remain monitorable, a question that depends on the class of monitors considered. We therefore introduce a hierarchy of such classes, which separates a concept that escapes one probe from a concept that is truly gone. We characterize three geometric mechanisms of circumvention: the concept can drift away from the monitor, be erased from the layer, or persist in higher-order statistics as a nonlinear encoding, which we explain through a product-code construction. Although other mechanisms may arise in different settings or at larger scales, these three account for all of our observations, and each can be detected by a matching monitor. In practice, we find that shaped concepts largely remain monitorable: refitted linear probes recover the concept in most settings, and the original probe remains reliable whenever gradients do not flow through it. Taken together, these results point to the potential of using interpretability as a tool for training, and call for a correspondingly rigorous science of interpretability-based training.

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{fel2026shaping,
  title  = {Shaping & Monitoring Models through their Internal Representations},
  author = {Thomas Fel and Matthew Kowal and Matt Feiszli and Satchel Grant and Andrew Lee and Chris Earls and Fatih Dinc and Vasudev Shyam and Usha Bhalla and Leon Bergen and Siddharth Boppana and Ching Fang and Michael Byun and Tristan Gallent and Nicholas Wang and Tal Haklay and Dron Hazra and Neehar Kondapaneni and Connor Watts and Ryan Panwar and Thomas Dooms and Jack Merullo and Atticus Geiger and Ekdeep Singh Lubana and Thomas McGrath and Owen Lewis},
  year   = {2026},
  eprint = {2611.07071},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.07071v1}
}

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/2611.07071.svg)](https://codeofpaper.com/paper/2611.07071)

Discussion