Skip to main content
Search

# Jacobian lens

3 related articles

Subscribe to updates
  1. arXiv

    Why the Jacobian lens favors slow features: a theory writes its choice as three coherence factors and predicts their ordering in toy models

    The Jacobian lens (J-lens), an interpretability tool that decodes a model's hidden states into words, had been used to find working-memory-like linear directions, but what makes a feature detectable to it was unclear. This work gives a mathematical theory: the lens preferentially selects directions that grow across layers, stay smooth across token positions, and remain consistent across contexts, that is, coherent Lyapunov modes. On a Bayes filter and a two-layer toy transformer, changing task parameters to modulate coherence shifts the ordering of latent states the lens selects, as predicted.

  2. arXiv

    Prefill jailbreaks meet a training-free fix: restore the refusal signal the attack erodes, request by request

    Prefill jailbreaks force an unsafe opening into the assistant turn so a model that would refuse continues instead. Tracking vocabulary-grounded signals with the Jacobian lens shows refusal weakening faster than harmfulness as the forced prefix deepens, reaching the benign baseline by free generation. J-Anchor, a training-free inference-time defense, anchors each request to its pre-attack assistant-header state and restores only the refusal components that fall below that target during prefilling and decoding, cutting attack success on fixed and deep prefills across four open-weight instruction models while keeping benign refusal and reasoning close to the undefended model.

  3. arXiv

    Image quality scoring drops human labels: a Jacobian lens fits in 35 seconds and barely moves when resolution doubles

    Image compression, restoration and generation all need to measure how different two images look to a person, yet the most accurate perceptual distances are fitted to human judgments and lose accuracy when resolution changes. JLD turns the Jacobian of a frozen vision encoder's output with respect to its early features into one fixed metric tensor, fitted once from 100 unlabeled images in about 35 seconds with no human labels. Across TID2013, CSIQ, LIVE and KADID-10k it reaches a mean Spearman correlation of 0.926, above 0.915 for VSI and 0.900 for DISTS; on TID2013 its lens-term correlation falls only from 0.850 to 0.845 when resolution doubles from 256 to 512 pixels, where DISTS drops from 0.815 to 0.717.

You’re all caught up