Multimodal Instruction-Tuning Alters LLM Identity Encoding.

Jorge A. Castillo, Marco Torres Y\'evenes, Juan Carlos Lanas· July 14, 2026 View original

▶ The 2-minute explainer

Key takeaways

  • Multimodal instruction-tuning fundamentally alters how LLMs encode identity prompts.
  • Identity encoding shifts from directional cues to magnitude in hidden states after multimodal tuning.
  • This "direction-to-magnitude" reorganization is specific to multimodal instruction-tuning.
  • Understanding these internal mechanisms can improve prompt engineering and model design.

Who benefits

AI DevelopmentSoftware EngineeringResearch & Academia

Summary

This research reveals that multimodal instruction-tuning qualitatively reorganizes how large language models encode identity-specifying prompts, shifting the "fingerprint" from directional cues to magnitude in hidden states. This change is specific to multimodal tuning, not observed in other post-training regimes.

This study delves into how transformer language models geometrically encode identity-specifying system prompts within their hidden states. It compares four open-weight models across different post-training regimes: a base model, a multimodal RLHF model, an RL distillation model, and an SFT model. The researchers used various geometric metrics, primarily the 1-Wasserstein distance on Ollivier-Ricci curvature distributions, to analyze the hidden-state trajectories generated by different prompt conditions. A central finding is a significant qualitative shift in how identity is encoded after multimodal instruction-tuning. In the base model, the identity "fingerprint" is primarily direction-coded, meaning the distinctiveness comes from the orientation of the hidden state vectors. However, in the multimodal instruction-tuned model, this directional separation collapses, and the encoding migrates into the magnitude of the hidden states. This means the identity is distinguished more by the "strength" or "size" of the vector rather than its specific direction. Crucially, this "direction-to-magnitude" reorganization is unique to the multimodal instruction-tuning regime and was not observed in models trained with RL distillation or standard supervised fine-tuning (SFT). The research also introduces the use of W_1 on edge-wise Ollivier-Ricci distributions on k-NN trajectory graphs as a novel methodological contribution for analyzing transformer internal states.

Why it matters

Understanding how LLMs encode identity and instructions is critical for developing more controllable, reliable, and safe AI systems. This research provides insights into the internal mechanisms of instruction-tuned models, which can inform future model design and prompt engineering strategies.

How to implement this in your domain

  1. 1Analyze the internal representations of your own instruction-tuned LLMs to understand how specific prompt types are encoded.
  2. 2Develop prompt engineering strategies that leverage the observed encoding mechanisms (e.g., focusing on magnitude for identity in multimodal models).
  3. 3Investigate if similar encoding shifts occur with different types of instruction tuning or model architectures.
  4. 4Use geometric analysis techniques, like the 1-Wasserstein distance on Ollivier-Ricci curvature, to debug and interpret model behavior.

Original post by Jorge A. Castillo, Marco Torres Y\'evenes, Juan Carlos Lanas

"arXiv:2607.09842v1 Announce Type: new Abstract: We investigate whether identity-specifying system prompts produce statistically distinguishable geometric fingerprints in the hidden-state trajectories of four open-weight transformer language models spanning four post-training regi…"

View on X

Originally posted by Jorge A. Castillo, Marco Torres Y\'evenes, Juan Carlos Lanas on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Research

AI ResearchAI Engineering & DevTools

Emotional Preferences Regulate Goal Priorities in Reinforcement Learning Agents

This paper proposes a computational framework where higher-level goals autonomously generate state-dependent emotional preferences to regulate the priorities of competing lower-level objectives in reinforcement learning agents. It demonstrates how this emergent preference function exhibits contextual priority switching and improves performance over fixed-preference strategies in multi-objective exploration environments.

Shiqi Liu, Yihua Tan, Hu Fu, Guanyu QiAug 28, 2026
AI Engineering & DevToolsAI Research

New Framework Unifies Task Detection and Adaptation for Continual Learning

This paper proposes FiUni, a Fisher-guided unified framework for task-free continual learning in LLMs that combines batch-level task detection with parameter-efficient adaptation. FiUni uses Fisher information matrix (FIM) properties to dynamically determine whether to reuse, expand, or create new low-rank adaptation (LoRA) subspaces, effectively mitigating catastrophic forgetting without explicit task boundaries.

Dezheng Han, Anbang Zhang, Zhihao Zhu, Shuaishuai GuoAug 28, 2026
AI Engineering & DevToolsAI Research

Soft EMG Interface Enables Machine Learning-Powered Silent Speech Recognition

This paper introduces a soft, active electromyography (EMG) interface worn on the hand that enables word-level silent speech recognition (SSR) using machine learning. The device acquires stable EMG signals from a fingertip electrode near the lips, achieving 97.2% accuracy on a 30-word vocabulary and demonstrating real-time drone control in noisy environments.

Yuta Kurotaki, Shusuke Yamakoshi, Reitaro Yoshida, Yutaka Isoda, Tamami Takano, Yuji Isano, Yusuke Miyake, Kentaro Kuribayashi, Hiroki OtaAug 28, 2026