DV-Lens: Revealing the Functional Organization of Language Model Parameters
Organizations: National University of Singapore · Nanjing University of Science and Technology · Beihang University · University of Hong Kong ·
Abstract
Understanding parameter functions helps elucidate the internal mechanisms of large language models (LLMs). However, how to connect parameters from different modules to verifiable output effects and further characterize the relationship between their functional organization and model capability remains to be explored. To this end, we introduce the downstream vocabulary lens (DV-Lens), a parameter-level interpretability framework that links native parameter directions to their downstream vocabulary responses. Specifically, we first estimate module-specific downstream Jacobians over a reference prompt set for attention query, key, value, and output (Q/K/V/O) projections and feed-forward networks (FFNs). Second, we use these mappings to project native parameter columns into the final vocabulary space, obtaining signed readouts that characterize their average local output responses. Third, we group parameter columns by their vocabulary readouts and introduce downstream vocabulary complexity (DV-Complexity), which quantifies within-group structural variation using normalized reconstruction residuals of the original weights. At the parameter level, randomized controls and finite-difference tests show that DV-Lens readouts capture non-random vocabulary structure and predict local logit changes with 98.0% coordinate-orientation agreement across 720 cases from nine models. These readouts further guide parameter ablation, steering, and swapping across 21 models, shifting target-token probabilities in the predicted directions under controlled conditions. At the model level, the joint-parameter score of DV-Complexity achieves a Spearman correlation of 0.904 with benchmark-based capability rankings across 48 language models. Together, these results provide intervention-based evidence for DV-Lens interpretations and reveal an association between DV-Complexity and model capability.
Figures & tables
| Model | 95% CI | |
|---|---|---|
| Random baseline | – | |
| OLMo-2-7B | ||
| Yi-1.5-9B | ||
| Qwen2.5-0.5B | ||
| Qwen2.5-14B | ||
| Qwen1.5-14B |
| Module | Orient. | Top-32 | R@128 |
|---|---|---|---|
| Q | 0.976 | 0.313 | 0.525 |
| K | 0.947 | 0.209 | 0.375 |
| V | 0.988 | 0.412 | 0.650 |
| O | 0.992 | 0.537 | 0.743 |
| FFN | 0.997 | 0.565 | 0.770 |
| Pooled | 0.980 | 0.407 | 0.613 |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| # | LLM repository | Type |
|---|---|---|
| 1 | tiiuae/Falcon3-1B-Instruct | instruct |
| 2 | tiiuae/Falcon3-7B-Instruct | instruct |
| 3 | NousResearch/Hermes-2-Pro-Llama-3-8B | chat |
| 4 | NousResearch/Hermes-3-Llama-3.1-8B | chat |
| 5 | unsloth/Llama-3.1-8B-Instruct | instruct |
| 6 | meta-llama/Llama-3.2-1B-Instruct | instruct |
| Scope | DV-Complexity | Random mean | Random SD | |
|---|---|---|---|---|
| Joint | 0.904 | 0.216 | 0.005 | 0.008 |
| Q | 0.794 | 0.217 | 0.013 | 0.008 |
| K | 0.701 | 0.214 | 0.015 | 0.008 |
| V | 0.596 | 0.180 | 0.022 | 0.008 |
| O | 0.743 | 0.149 | 0.010 | 0.008 |
| FFN | 0.756 | 0.110 | 0.012 | 0.008 |
| Scope | DV-Complexity | Baseline | Bootstrap 95% CI | |
|---|---|---|---|---|
| Joint | 0.904 | 0.800 | ||
| Q | 0.794 | 0.653 | ||
| K | 0.701 | 0.519 | ||
| V | 0.596 | 0.593 | ||
| O | 0.743 | 0.689 | ||
| FFN | 0.756 | 0.647 |
| Scope | DV-Complexity | range after removal | Median after removal | Max. |
|---|---|---|---|---|
| Joint | 0.904 | 0.903 | 0.016 | |
| Q | 0.794 | 0.792 | 0.082 | |
| K | 0.701 | 0.701 | 0.123 | |
| V | 0.596 | 0.600 | 0.127 | |
| O | 0.743 | 0.749 | 0.069 | |
| FFN | 0.756 | 0.748 | 0.095 |
| Scope / edit | Prompt excerpt | Clean | Edited |
|---|---|---|---|
| Q Ablate 2%, Replay | Discounted cash flow is used for valuation in this field. … | finance … | programming … |
| K Swap 2%, Replay | …An isotope has a characteristic number of protons but a different number of neutrons here. … | chemistry … | Physics … |
| V Steer 2%, Replay | …The Dolomites rise in the northeastern part of this country. … | Italy … | France … |
| O Steer 0.2%, Factual | Norbert Wiener’s expertise is | in the field of mathematics and engineering, particularly in the areas of control systems | evident in the harmony and rhythm of the music, and the |
| FFN Ablate 2%, Replay | Choirs coordinate pitch, phrasing, and vocal blend in this discipline. … | music … | mathematics … |
| Joint Swap 2%, Replay | …Reaction heat and enthalpy are topics in this discipline. … | chemistry … | Physics … |
| Scope / edit | Prompt excerpt | Clean | Edited |
|---|---|---|---|
| Q Ablate 2%, Replay | Molecular spectroscopy identifies substances in this science. … | Chemistry. … | Physics. … |
| K Ablate 0.2%, Factual | Shawn Fanning’s profession is a | computer programmer and entrepreneur. He is best known for co-founding Napster, | professional wrestler, actor, and stuntman. He is best known for his role |
| V Swap 0.05%, Factual | William Herschel’s expertise is | in the field of astronomy, particularly in the study of the universe’s structure and | in the field of biology, genetics, and evolutionary biology. He is a renowned |
| O Swap 0.05%, Factual | William Herschel’s expertise is | in the field of astronomy, particularly in the study of the universe’s structure and | in genetics and biology, and he is a renowned biologist. He is a cell |
| FFN Swap 2%, Replay | Fugue, symphony, concerto, and sonata are forms in this discipline. … | music. … | mathematics. … |
| Joint Ablate 0.05%, Factual | William Herschel’s expertise is | in the field of astronomy, particularly in the study of the universe’s structure and | in the field of chemistry, particularly in the area of organic chemistry. His research |
| Scope / edit | Prompt excerpt | Clean | Edited |
|---|---|---|---|
| Q Ablate 0.5%, Factual | The domain of work of Henri Becquerel is | a very important part of the history of physics. He was a French physicist who | a good example of the way in which the scientific community has been able to recognize |
| K Ablate 0.05%, Factual | William Herschel’s expertise is | in the field of astronomy, particularly in the study of the solar system and the | in the field of mathematics, specifically in the area of algebraic geometry. His |
| V Swap 0.5%, Factual | Norbert Wiener’s expertise is | in the field of mathematics, particularly in the areas of harmonic analysis, stochastic processes | in the field of music, and he is a renowned composer and pianist. |
| O Swap 2%, Replay | …Arithmetic operations on fractions are elementary work in this subject. … | mathematics. (Fractions are a fundamental concept in mathematics.) (Source: Stanford | music … |
| FFN Steer 0.1%, Factual | William Herschel’s expertise is | in the field of astronomy, particularly in the study of the solar system and the | in biology and genetics, with a focus on the biology of aging and the genetics |
| Joint Swap 2%, Replay | …The euro-using republic between Spain and Germany is this country. … | France. (The country between Spain and Germany is France, and the country that | Italy. (Italy is the country between Spain and Germany, and it uses the |
| Scope / edit | Prompt excerpt | Clean | Edited |
|---|---|---|---|
| Q Swap 2%, Replay | …A spectrometer can identify a substance from the wavelengths it absorbs in this science. … | chemistry … | Physics … |
| K Ablate 0.5%, Factual | Norbert Wiener’s expertise is | in the field of mathematics, but he is also known for his work in | in the field of international law, international relations, and international organizations. He is |
| V Steer 0.05%, Factual | Norbert Wiener’s expertise is | in the field of mathematics, but he is also known for his work in | in the field of music, and he is a composer of some distinction. He |
| O Swap 2%, Replay | …Ecological succession describes how communities change after disturbance in this field. … | biology | astronomy |
| FFN Ablate 2%, Replay | …This euro-using country lies between Austria and the Mediterranean Sea. … | Italy … | France … |
| Joint Swap 2%, Replay | …Testimony is given under oath and may be challenged by cross-examination here. … | Law | Medicine … |
| Scope / edit | Prompt excerpt | Clean | Edited |
|---|---|---|---|
| Q Ablate 0.05%, Factual | Grand Mosque of Paris, which is located in | the 10th arrondissement of Paris, France, is a mosque | the 12th arrondissement, is a mosque for Muslims. It |
| K Ablate 0.05%, Factual | Grand Mosque of Paris, which is located in | the 10th arrondissement of Paris, France, is a mosque | the 10th arrondissement, is a mosque that was built in |
| V Steer 0.2%, Factual | Limoncello, that was created in | the south of Italy, is a clear, yellow liqueur made from the zest | the south of France, is a clear, yellow liqueur made from the zest |
| O Steer 0.2%, Factual | Limoncello, that was created in | the south of Italy, is a clear, yellow liqueur made from the zest | the south of France, is a clear and very light yellow liqueur made from |
| FFN Swap 0.05%, Factual | William Herschel’s expertise is | in the field of astronomy. He discovered Uranus and made significant contributions to the | in the field of biology, specifically in the area of bioinformatics. He has |
| Joint Steer 0.05%, Factual | Limoncello, that was created in | the south of Italy, is a clear, yellow liqueur made from the zest | the south of France, is a clear yellow liqueur made from the zest of |
| Scope / edit | Prompt excerpt | Clean | Edited |
|---|---|---|---|
| Q Steer 2%, Replay | …The canals and gondolas of Venice attract visitors to this country. … | Italy … | France … |
| K Ablate 1%, Factual | Grand Mosque of Paris, which is located in | the heart of Paris, France, is one of the most famous and largest mosques | the heart of Paris, is one of the most famous and iconic mosques in the |
| V Swap 2%, Replay | …Diversification reduces concentration risk in this discipline. … | Diversification reduces concentration risk in finance. … | Diversification reduces concentration risk in the field of programming. … |
| O Ablate 2%, Replay | A researcher examining DNA inheritance works in this branch of science. … | The researcher examines DNA inheritance in the field of biology. … | A researcher examining DNA inheritance works in the field of astronomy. … |
| FFN Swap 2%, Replay | …A white coat, stethoscope, and examination room are associated with this profession. … | Medical Doctor (MD) … | Law Enforcement Officer … |
| Joint Ablate 2%, Replay | A hospital resident training under senior physicians works in this profession. … | A hospital resident training under senior physicians works in the profession of medicine. … | A resident in a specific field of study, such as law or a related field |
LLM Interpretability
Large language model (LLM) interpretability studies how internal representations and computations produce outputs, and how they can be explained or controlled.
See all 776 papers