Embedding Drift as a Sensitive Indicator of Internal Representation Instability in Language Model Fine-Tuning
Abstract
Fine-tuning pre-trained language models alter both performance metrics and internal representations, yet conventional loss measurements often fail to capture subtle shifts in high-dimensional embedding space. In this study, we introduce embedding drift, a scalar metric defined as the mean cosine distance between hidden-state vectors of fixed probe sentences, to quantify representational change during training. Each sentence is mapped to a 768-dimensional vector via mean pooling over token embeddings, and drift is computed as "drift"=1/N ∑_(i=1)^N▒〖(1-〗 (e_i^((0) )⋅e_i^((t) ))/(∥e_i^((0) )∥∥e_i^((t) )∥)) where N is the number of probe sentences, e_i^((0) )the initial embedding, and e_i^((t) )the embedding at step t. We performed two controlled experiments with DistilBERT on a subset of IMDb: a baseline (learning rate 5e-5) and a high learning rate (5e-4). Drift increased steadily from ~0.03 to ~0.26 in the baseline, whereas the high learning rate induced a rapid jump from ~0.22 to ~0.76, despite training loss showing minimal change. These results demonstrate that embedding drift provides a quantitative, vector-space measure of representational instability that conventional loss metrics may overlook, offering insight into internal model dynamics during fine-tuning.
Keywords
Citation
Harshit Chaturvedy (2026). Embedding Drift as a Sensitive Indicator of Internal Representation Instability in Language Model Fine-Tuning. NSRI Student Research Journal. 1(1). Article 0032. 10.67677/owwzt9hr.
Cite this publication record.
Publication details
- Open PDF
- ISSN
- NSRI Student Research Journal
Online ISSN: 3143-5653 - License
- Author-retained; open access display by NSRI unless a separate article license states otherwise.
- Peer review status
- NSRI uses editorial and scholarly review. When appropriate, manuscripts may undergo blinded review by reviewers with relevant subject knowledge.
- AI disclosure
- No AI disclosure is attached to this public record unless stated in the manuscript.
- Conflict of interest statement
- No conflict of interest statement is attached to this public record unless stated in the manuscript.
References
References are available in the manuscript PDF when provided.
Ethics and editorial note
This manuscript was selected for formal publication in the NSRI Student Research Journal after editorial review.
Authors are responsible for originality, authorship, ethics approvals or exemptions, safety, citations, data representations, and disclosure of conflicts or AI assistance where applicable.
For editorial questions, corrections, or integrity concerns, contact contact@nsri.world.