Zubnet AIAprenderWiki › Mechanistic Interpretability
Safety

Mechanistic Interpretability

Mech Interp, MI
Uma abordagem de pesquisa que tenta entender o que está acontecendo dentro de redes neurais no nível de neurônios individuais, circuitos e features — não só o que o modelo produz, mas como ele computa essas saídas. O objetivo é fazer reverse-engineering dos algoritmos que redes neurais aprendem, do jeito que você faria reverse-engineering de software compilado para entender seu código fonte.

Por que importa

Se vamos confiar na IA com decisões importantes, precisamos entender como ela as toma. Interpretabilidade mecanística é a tentativa mais rigorosa disso — não só perguntar “o que o modelo fez?” mas “que algoritmo ele implementou e por quê?”. É central à pesquisa de segurança IA, particularmente na Anthropic, e está produzindo resultados reais: pesquisadores identificaram circuitos para identificação de objeto indireto, induction heads, e aritmética modular dentro de Transformers.

Deep Dive

The field draws on a key observation: neural networks don't store information in individual neurons (usually). Instead, they use superposition — many features are encoded as directions in activation space, with individual neurons participating in many features simultaneously. A neuron that seems to respond to "the concept of water" might actually respond to a superposition of features related to liquids, transparency, flow, and specific contexts. Disentangling these superposed features is one of the field's central challenges.

Sparse Autoencoders

One of the most promising recent tools is the sparse autoencoder (SAE). You train an autoencoder to reconstruct a model's internal activations, but with a sparsity constraint that forces it to use only a few features at a time. The learned features often correspond to interpretable concepts — a feature for "code comments," one for "French text," one for "mathematical reasoning." Anthropic published influential work using SAEs to find interpretable features in Claude, identifying millions of features including ones for deception, specific concepts, and language patterns.

From Features to Circuits

Beyond individual features, mechanistic interpretability tries to trace circuits: how does information flow through the network to produce a specific behavior? For example, "induction heads" are two-attention-head circuits that implement in-context learning by pattern-matching: if the model sees "A B ... A" it predicts B. These circuits have been found in models from 2-layer toy Transformers to full-scale LLMs. Understanding circuits at scale remains an open challenge, but progress is accelerating.

Conceitos relacionados

← Todos os termos
← MCP Memory →