Urgent.News

What's breaking now, across thousands of outlets.

AI

Canonical-basis realignment for Transformer LLMs: every hidden axis becomes independently measurable and controllable

The code essentially gives you a way to rotate a Transformer's internal coordinate system into a canonical basis that aligns with its own weight matrices in a lossless way. By absorbing the normalization gains directly into the adjacent weights and using orthogonal matrices built from the singular vectors of the model, you can transform architectures like Qwen or Pythia without altering their…

A new method has been developed that enables the rotation of a Transformer's internal coordinate system into a "canonical basis" that aligns with its own weight matrices. This process is lossless, meaning the model's outputs and perplexity scores remain unchanged. By utilizing orthogonal matrices constructed from the singular vectors of the model, researchers can transform architectures such as Qwen or Pythia without affecting their performance.

The transformation reveals the hidden geometric structures operating within the network, previously obscured and unobservable. Researchers have identified intriguing patterns, including a bipolar oscillator where certain axes act as inhibitory pairs, firing against each other in perfect opposition. Additionally, they have observed a rhythmic respiration across layers, where the model alternates between absorbing knowledge and filtering it.

Furthermore, the approach uncovers a homeostatic defense mechanism capable of rapidly eradicating localized perturbations within just a few layers. This newfound insight provides researchers with a powerful tool for mapping out how language models perform reasoning. For instance, it was discovered that the effective rank of the correlation matrix in a half-billion parameter model may be as low as eleven independent patterns.

By reframing the study of language models' internal activations, this method offers a standardized approach to understanding their underlying architecture. This development promises to significantly advance our comprehension of these complex systems and their reasoning capabilities.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at github.com →

More in AI

What skills are needed of CEOs in the AI era? A headhunter on the bittersweet future The rapid development of AI (artificial intelligence) is drastically changing the business environment. In order to survive in this new era, companies need to drastically change their organisations and management styles. A headhunter who has introduced numerous top executives to major companies had a talk with a journalist about what CEOs need in order to be successful in the AI era. The headhunter said that in the AI era, top executives need to have a wide range of skills, including digital literacy, which is an understanding of AI and data, as well as leadership skills that enable them to promote drastic reforms. The headhunter also said that it will be difficult for companies to find people who have all of these skills. In the future, it will become clear which companies will be able to secure top talent. The headhunter also said that even if a company has a CEO with excellent skills, if the rest of the organisation is not also reforming, then the CEO alone cannot change the company. The headhunter said that in order to survive, companies need to change drastically, including their organisations and personnel evaluation systems. The headhunter said that there are many companies that are not aware of the need for drastic change. The headhunter said that many companies will not be able to cope with the changes brought about by AI and will disappear. The AI era is approaching rapidly. It has become a matter of life and death for companies as to whether or not they can secure top talent and change drastically.

More from Saturday 29 August →