{% extends "base.html" %} {% block title %}Learned-basis baseline · {{ site_title }}{% endblock %} {% block content %}

Learned-basis baseline

The paper Native neurons against learned dictionaries, at equal effort discusses these numbers, per unit and per layer.

Are a model's own neurons as explainable as the latents of a sparse dictionary trained on its MLPs? Randomly selected latents and randomly selected neuron poles of the same model and layers, scanned the same way and audited under the same protocol. Each unit counts once, by its first experiment, so follow-ups don't favour either side. Intervals are 95% Wilson intervals; p is a two-sided Fisher exact test of latents against positive poles (and against all poles). In a GELU MLP, such as GPT-2's, the negative pole sits in the activation's dip on most tokens, so no hard negative can pass; there the positive poles are the comparison.

{% for b in stats.baseline %}
{% for label, arm in [("Dictionary latents", b.features), ("Neuron poles", b.neurons), ("↳ positive poles", b.positive_poles), ("↳ negative poles", b.negative_poles)] %} {% endfor %}
{{ b.model_name }} · {{ b.dictionary }} · layers {{ b.layers | first }}–{{ b.layers | last }} · {% if b.window_tokens %}{{ b.window_tokens }}-token windows{% else %}whole documents{% endif %} of corpus {{ (b.corpus_sha256 or "?")[:8] }} · explained variance {{ b.explained_variance | pct }} · mean L0 {{ b.mean_l0 | num(0) }}{% if b.dead_share is not none %} · dead latents {{ b.dead_share | pct }}{% endif %}{% if b.p_positive is not none %} · p = {{ b.p_positive | pval }} vs positive poles{% endif %}{% if b.p_value is not none %} ({{ b.p_value | pval }} vs all){% endif %}
Random unitsAuditedVerifiedShare (95% CI)Balanced accuracyNot auditable
{{ label }} {{ arm.units }} {{ arm.verified }} {% if arm.units %}{{ arm.share | pct }} ({{ arm.interval[0] | pct }}–{{ arm.interval[1] | pct }}){% else %}—{% endif %} {{ arm.mean_balanced_accuracy | num(2) }} {% if arm.dead or arm.default_on %}{% if arm.dead %}{{ arm.dead }} dead{% endif %}{% if arm.dead and arm.default_on %}, {% endif %}{% if arm.default_on %}{{ arm.default_on }} default-on{% endif %}{% else %}—{% endif %}
{% endfor %}
{% endblock %}