Agentic AI
Study shows LLMs rely on weight ordering more than exact values
Researchers find that the relative rank of connection strengths matters far more than precise weight magnitudes for large language model performance.
A new study reveals that large language models maintain their capabilities through the ordering of their weights rather than the precise magnitude of individual values—a finding with implications for both model compression and understanding neural network robustness.
How the research worked#
Researchers applied K-means clustering to pretrained models, condensing each weight matrix from billions of individual values down to just 16–64 shared values. When tested on Llama 3.1-8B-Instruct and SmolLM2-135M, this drastic reduction preserved strong model accuracy without requiring retraining, offering a practical compression method.
The team then used clustering as an analytical tool to isolate which weight properties actually matter. They held cluster assignments constant while perturbing only the shared values—testing whether exact magnitudes or other properties drove performance.
Key findings#
The results show that preserving relative rank (the ordering of which connections are stronger or weaker) is substantially more important than maintaining exact weight values. Scrambling this ordering significantly increases perplexity, whereas changing numeric values while keeping the ordering intact causes minimal performance loss in many middle and late layers.
However, rank preservation alone isn't sufficient. Model performance also depends on maintaining the variance of reconstructed weights. Early layers proved more sensitive to perturbation, and the spatial geometry of cluster assignments itself carries functional importance.
Broader implications#
The same pattern held across four different LLMs spanning two architecture families, suggesting these principles are general. These findings point to weight ordering and overall variance as central to both LLM compression strategies and model robustness—potentially reshaping how researchers think about neural network efficiency and resilience.

