arXiv Machine Learning By Sebastian Gerstner, Leonor Veloso, Hinrich Sch\"utze

GLUScope: A Tool for Analyzing GLU Neurons in Transformer Language Models

Read the original on arXiv Machine Learning →

GLUScope is an open‑source tool designed to analyze neurons in Transformer language models that use GLU‑based activation functions such as SwiGLU. It visualizes the four possible sign combinations—gate and in activation being positive or negative—by providing text examples for each quadrant and indicating their frequency. The resource aims to uncover interpretable behaviors that other tools might miss and is available for researchers to extend with additional models, corpora, or neuron pages.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Machine Learning
Sep 17

Weakening Neurons: An Input-Output Functionality in Transformers with Outsize Influence

The paper studies GLU-based neurons in large language models by measuring the cosine similarity between each neuron's input and output weight vectors. A strong negative similarity identifies a "weakening neuron," which tends to appear in late layers, activates frequently, and exerts a large influence on model behavior. The authors also find that weakening neurons significantly affect outputs when gate values are negative, contrary to expectations.

By Sebastian Gerstner, Hilal AlQuabeh, Kentaro Inui, Hinrich Sch\"utze
arXiv Machine Learning
Oct 22

SYNAPSE: Framework for Neuron Analysis and Perturbation in Sequence Encoding

SYNAPSE is a training‑free framework that probes Transformer models by extracting per‑layer [CLS] representations, ranking neurons with a lightweight linear probe, and applying forward‑hook interventions during inference. It enables controlled, repeatable experiments on internal representations without altering the original model, revealing that task‑relevant information is encoded in broad, overlapping neuron subsets and that small weight or logit manipulations can redirect predictions. The framework highlights functional stability, class‑specific specialization, and complementary vulnerability profiles across domains.

By Jes\'us S\'anchez Ochoa, Enrique Tom\'as Mart\'inez Beltr\'an, Alberto Huertas Celdr\'an
arXiv AI
Sep 15

LLM-Microscope: Uncovering the Hidden Role of Punctuation in Context Memory of Transformers

The paper introduces LLM-Microscope, a toolkit for measuring how Large Language Models encode contextual information at the token level. It shows that seemingly minor tokens—such as determiners, stopwords, and punctuation—carry surprisingly high contextual weight, and removing them degrades performance on benchmarks like MMLU and BABILong-4k. The study also finds a strong link between contextualization and linearity, indicating that the transformation between layers can be approximated by a single linear mapping when tokens are well contextualized.

By Anton Razzhigaev, Matvey Mikhalchuk, Temurbek Rahmatullaev, Elizaveta Goncharova, Polina Druzhinina, Ivan Oseledets, Andrey Kuznetsov