betaFeedback

WorksComputer Science

Sparse Autoencoders Are a Shared Coordinate System for Symbolic Matching

Abstract

Large language models (LLMs) hold broad knowledge in one set of weights, but lack interpretability and trustworthy reasoning, especially in high-stakes use cases. A neuro-symbolic model, with its interpretable architecture and System 2 reasoning capacity, is a promising alternative if built at the scale of LLMs; however, its symbolic backbone is usually constructed with human effort, so existing neuro-symbolic models are bottlenecked by the scope of the symbol component and usually domain-specific. A data-driven method could instead build a larger symbolic system by aligning and merging existing ones. We target its first, foundational step: matching units across these heterogeneous systems. Our method, SAE-IDF, encodes a symbol in its native context into a sparse code with a sparse autoencoder (SAE), re-weights each dimension by its rarity and matches across systems. On 12 tasks across 6 kinds of symbolic system, SAE-IDF outperforms the same LLM's dense baseline on all tasks with Gemma-2-9B and all but one with Llama-3.1-8B, by up to 45 points, consistently across SAE layers and configurations. SAE-IDF is also interpretable: every dimension of the sparse code has a human-readable meaning, so each match decomposes into named concepts (features). Our work paves the way to a universal symbolic backbone.

Introduction

Modern large language models (LLMs) hold broad knowledge in a single set of weights and are widely seen as a route to general-purpose intelligence. However, the lack of interpretability of a model’s internal working mechanism (Zhao et al., 2024), and the controversy on whether it has genuine reasoning capability rather than pattern matching [43] (Wu et al. 2024), make that route questionable (Dawid and LeCun, 2024), especially in high-stakes scenarios such as healthcare.

Neuro-symbolic models (d’Avila Garcez and Lamb, 2023; Kautz, 2022), instead, address the two defects of LLMs architecturally: a symbolic component exposes intermediate states that a person can read and intervene on (Yang, 2026), and supplies the slow, deliberate, and usually rule-governed reasoning capability that cognitive theory calls System 2 [32, 8, 24].

Yet a major challenge that blocks neuro-symbolic models is scalability. Unlike LLMs whose knowledge is obtained via self-supervised learning on an enormous corpus, which benefits from modern computing hardware, symbolic systems depend on knowledge and careful handcraft from human experts. Consequently, most existing symbolic systems and neuro-symbolic models are confined to one domain [3, 36] (The mathlib Community 2020; Silyer et al. 2016; Segler et al. 2018). Nonetheless, much symbolic knowledge does already exist, and AI now adds to it, e.g., Lean proofs on open problems [46]. But it is spread across those numerous domain-specific systems that each describe it in their own schema: a math problem is a Lean 4 theorem in one proof assistant and a string of $\mathit{\$} hypotheses in Meta-math, and the same place is TrainStation in one knowledge graph and RailwayStation in another. Indeed, aligning such heterogeneous systems is a classic problem in several communities—ontology matching [17], schema matching (Rahm and Bernstein, 2001), entity alignment (Sun et al., 2020), cross-language code retrieval (Zhu et al., 2022)—but each solves it for its own kind of system. We use one term, symbolic matching, for all of them, and a general approach to it is the first step towards the universal symbolic backbone that a general-purpose neuro-symbolic model needs, reusing the human effort in existing systems instead of starting over like Cyc [37].

One might think a pretrained LLM already supplies a general tool for symbolic matching: trained on a large general corpus, it reads almost any notation and contextualizes each symbol through attention (Vaswani et al., 2017). Its hidden states are a natural candidate, but they are known to be anisotropic, dominated by directions shared by all inputs [16, 44], and dense text embeddings tend to favor superficial linguistic similarity over structural correspondence (Yang et al., 2024). Neither defect is easy to fix: each dense dimension mixes many concepts in superposition [15], so it can be neither rarity-weighted nor read to explain a match, and post-hoc fixes such as whitening trail SAE-IDF on most tasks (Appendix K).

Sparse autoencoders (SAEs) address these defects. They write an LLM’s hidden state as a sparse sum of interpretable features from a large dictionary [9, 12] (Templeton et al. 2024). Trained on a large corpus, the dictionary is a shared coordinate system for any token, including symbols: each feature is a basis direction and its weight (the code) the coordinate. Here, the directions shared by every dense vector become a few named, ubiquitous features that can be identified and downweighted, as well as lexical features, so each symbol’s contextual meaning contributes most to the matching.

Upon such merits, we build SAE-IDF, a general approach for symbolic matching. An LLM reads each symbol in its native context; the SAE encodes it as a sparse code, in effect a bag of named concepts, so text retrieval’s classic inverse document frequency (IDF) applies: features are weighted by rarity and candidates ranked by the cosine of weighted codes (Figure 1), much as DNA sequence search finds relatedness in a few high-scoring local matches, each scored against chance [1], not in stretches every genome shares. Needing no aligned pairs, SAE-IDF matches any systems an LLM can read.

Across 12 tasks on 6 kinds of symbolic system, SAE-IDF beats the same model’s dense hidden state on every task with Gemma-2-9B and on all but one with Llama-3.1-8B, and it is the best training-free method on most tasks.

Our main contributions are as follows:

  • SAE-IDF, a training-free, general and interpretable approach to symbolic matching that significantly outperforms baselines (Sections 2, 3).

  • Ablations showing that both ingredients matter and the gain is robust (Sections 4.1, 4.2).

  • A feature-level interpretability analysis with rule-selected case studies, a column-type split and merge tests (Sections 4.3, 5).

SAE-IDF

Symbolic matching takes a query symbol ss of a source system AA and ranks a candidate set C(s)C(s) from a target system BB so that the counterpart of ss comes first. Let ht∈Rdh_t \in\mathbb{R}^{d} be the residual stream of a causal language model at layer ℓ\ell and token position tt when it reads a text, and let E:Rd→R≥0FE:\mathbb{R}^{d}\to\mathbb{R}_{\geq0}^{F} be the encoder of a sparse autoencoder with FF features trained on that layer; for a JumpReLU SAE, E(h)=JumpReLU⁡(Wench+benc)E(h)=\operatorname{JumpReLU}(W_{\mathrm{enc}}h+b_{\mathrm{enc}}) with JumpReLU⁡(z)f=zf1[zf>θf]\operatorname{JumpReLU}(z)_{f}=z_{f}\mathbf{1}[z_{f}>\theta_{f}] and a learned threshold θf\theta_{f} per feature (Rajamanoharan et al., 2024). SAE-IDF represents every symbol by a sparse vector (code) in RF\mathbb{R}^{F} with the following pipeline before matching with cosine similarity.

Native contexts. Every symbol ss comes with pieces of information recorded in its own system, which we call its views v1(s),…,vm(s)v_{1}(s),\ldots,v_{m}(s): the instances of a knowledge-graph class, the axioms an ontology term occurs in, or the sampled cell values of a table column. Each view is turned into part of input to the LLM, consisting of a context cj(s)c_{j}(s), followed by the symbol itself (Figure 1). The LLM reads each input in a forward pass to the target layer ℓ\ell, whose residual-stream states {ht}\{h_{t}\} are handed to the SAE of that layer in the next step. Table 5 lists the views and templates of every dataset.

Figure 1. SAE-IDF on the NELL class trainstation (Common-KG NELL → DBpedia). (1) A native view—context first, symbol last—goes through the LLM; the residual stream hth_t is read at the symbol’s tokens. (2) The SAE encoder EE maps each state to a sparse code; codes are averaged into a(s)a(s). (3) Its largest coordinates, with explanations and document frequencies: idf damps features that fire on many symbols (grey). (4) Each bar is a feature’s share of the cosine with the query; the mark says whether it is the gold: 93% of the match with the gold RailwayStation comes from two features for railroads and stations, whereas dense ranks the gold fifth and AutomobileEngine (sic) first, which shares only ubiquitous or unrelated features and ranks fourth under SAE-IDF.

Kind of systemTaskNative context per symbolQueriesCandidates per query
Formal mathematicsminiF2F ((Zheng et al., 2022)): Lean 4 → Isabelle / Metamath / HOL Lightthe statement itself483 / 482 / 317all statements
CodeXLCoST ((Zhu et al., 2022)): Java, C++, Python, C#, JavaScript, PHP, C → the other sixthe program itself283–3,918 per languageofficial pool
Table schemasValentine ([35]): source → target columnscolumn name + 16 cell values551 pairsall target columns
Knowledge graphsOAEI Common-KG ([19]): NELL → DBpedia, YAGO → Wikidataup to 16 of the class’s instances129 / 304137 / 304 classes
Cross-lingual ontologiesMultiFarm ([42]): Chinese / Russian / Arabic → Englishthe term’s own axioms, in its language246 / 246 / 239all target terms
Biomedical ontologiesBio-ML ([28]): NCIT → DOID (validation split); OAEI Anatomy ([6]): mouse → humandefinitions, parents and part-of relations634 / 1,516100 per query / 3,298 classes

Table 5. The main-table tasks. Appendix task: PubChem notations ([34]).

Sparse code. Of each input only the states at the symbol’s own token positions Tj(s)T_{j}(s) are used, as the information from context has been extracted and added to those tokens via self-attention. When the whole text is the symbol—a program, a formal statement, or a table column written as its name and sampled values—Tj(s)T_{j}(s) is every position. Each kept token is SAE-encoded first and the codes are averaged afterwards, over tokens and then views:

a(s)=1m∑j=1m1∣Tj(s)∣∑t∈Tj(s)E(ht)∈RF.(1)a(s)=\frac{1}{m}\sum_{j=1}^{m}\frac{1}{\lvert T_{j}(s)\rvert}\sum_{t\in T_{j}(s)}E(h_{t})\in\mathbb{R}^{F}. \tag*{(1)}

where a(s)a(s), the sparse code vector, has nonnegative and mostly zero elements.

Rarity weighting. Over a reference collection DD of NN symbols, let df⁡(f)=∣{u∈D:af(u)>0}∣\operatorname{df}(f)=\lvert\{u\in D:a_{f}(u)>0\}\rvert be the number of symbols on which feature ff fires. Then each dimension of a(s)a(s) is multiplied by its feature’s inverse document frequency,

w(s)=a(s)⊙idf⁡∈RF,idf⁡f=[log⁡N1+df⁡(f)]+,(2)w(s)=a(s)\mathbin{\odot}\operatorname{idf}\in\mathbb{R}^{F},\quad\operatorname{idf}_{f}=\left[\log\frac{N}{1+\operatorname{df}(f)}\right]_{+}, \tag*{(2)}

so a feature firing on every symbol gets weight zero and one firing on few symbols is amplified.

Matching. Every symbol is encoded into a sparse code with the pipeline above. Given a query symbol ss and a pool of candidate symbols C(s)C(s), candidates are ranked by the cosine of the weighted vectors, and by default the top-1 candidate is taken as the predicted matched symbol:

t^(s)=arg⁡max⁡t∈C(s) cos⁡(w(s),w(t))(3)\hat{t}(s)=\underset{t\in C(s)}{\arg\max}\ \cos\left(w(s),w(t)\right) \tag*{(3)}

The cosine decomposes exactly over coordinates of all features:

cos⁡(w(s),w(t))=∑fcfwithcf=wf(s)wf(t)∥w(s)∥∥w(t)∥,\cos\left(w(s),w(t)\right)=\sum_{f}c_{f}\quad\text{with}\quad c_{f}=\frac{w_{f}(s)w_{f}(t)}{\lVert w(s)\rVert\lVert w(t)\rVert},

where the contribution of each interpretable feature to the similarity score is available.

Experiments

Datasets

Six different kinds of symbolic systems were chosen to test the universal applicability of SAE-IDF, where every run uses the full test data and the benchmark’s own metric code where one exists. miniF2F (Zheng et al., 2022): from the Lean 4 port (Yang, 2023) we retrieve each problem’s statement in another prover among all statements of that prover, with names, proofs, comments and labels stripped so that nothing but the mathematics identifies a problem. XLCoST (Zhu et al., 2022): the official protocol and evaluator (the pool contains the query’s own row, a free first hit); MRR and Precision@6 averaged over the seven query languages. Valentine [35]: all 551 joinable and unionable pairs, scored with Valentine’s F1 (one-to-one assignment) and MRR. Common-KG [19]: 129 NELL–DBpedia reference pairs and 304 YAGO–Wikidata pairs; classes without instances match on their label alone. MultiFarm [42]: foreign-language terms against the English terms of a different conference ontology, so that neither language nor ontology is shared. Bio-ML [28] and OAEI Anatomy [6]: biomedical ontologies, NCIT →\to DOID on the Bio-ML validation split with its 100-candidate ranking protocol, and mouse →\to human anatomy against all 3,298 human classes; about half of their gold pairs have identical labels. The metric is MRR unless stated; Appendix § 11 gives view formats. PubChem SMILES / IUPAC / InChI [34], notations the model cannot read, are in Appendix § 14.

Setup and baselines

In the main experiments, we choose two model families: Gemma-2-9B [23] at ℓ=20\ell= 20 with the Gemma Scope JumpReLU SAE (F=131,072F = 131{,}072, average L0L_0 of 114; Lieberum et al., [38]), and Llama-3.1-8B (Grattafiori et al., [25]) at ℓ=15\ell= 15 with the Llama Scope SAE of the same width (He et al., [29]); other layers, widths, sparsities and model sizes are swept in § 4.2. The reference collection DD for idf is the candidate pool for miniF2F, XLCoST and Valentine and all symbols of both systems for the ontology and knowledge-graph tasks (Appendix § 11).

All baselines use exactly the same views and token positions. Dense is the hidden state averaged over symbol tokens and views, similar to the form in Eq. (1) except for the use SAE. Dense−PC1_{\mathrm{PC1}} additionally subtracts the mean of the dense vectors over DD and removes their projection onto the first principal direction u1u_1 of DD, (I−u1u1T)(d−μ)(I-u_1u_1^\mathsf{T})(d-\mu), the common-direction removal of Mu and Viswanath [44] and Arora et al. [2]. SAE-unweighted is the unweighted code a(s)a(s), which isolates the sparse basis from the weighting. Strings is the best of word TF-IDF (Sparck Jones, 1972), character 3–5-gram TF-IDF and BM25 (Robertson and Zaragoza, 2009) over the surface strings of the same views, chosen per task in the strings’ favour (Appendix § 11); TF-IDF over strings separates the SAE features from the weighting. Retrievers: BGE-M3 (Chen et al., [11]) and Qwen3-Embedding-8B (Zhang et al., 2025), embedding models specially trained for retrieval, on the same view texts with the same controls (Appendix § 15); every similarity is a cosine. They are a reference rather than a like-for-like baseline: a retriever is trained on paired data to emit one similarity, whereas what is under test here is the untrained feature space of a general model. We compare with no task-specific matcher (such as BERTMap (He et al., [27]) and LogMap (Jiménez-Ruiz and Cuenca Grau, [31])), as each is built, tuned and usually trained for one kind of system and does not run on the others and cannot meet the requirement of symbolic matching in general.

Main results

Table 1 gives the main results (plotted in Figure 4, Appendix § 14). With Gemma-2-9B, SAE-IDF beats the dense hidden state of the same model on every task, by up to +0.45 MRR (Lean 4 → Metamath), and is ahead of DensePC1_{\mathrm{PC1}} and strings everywhere except XLCoST (word TF-IDF marginally ahead) and MultiFarm Chinese (DensePC1_{\mathrm{PC1}} by 0.006). A paired bootstrap puts every gain over dense at p<0.004p < 0.004, and the gain over DensePC1_{\mathrm{PC1}} at p<0.01p < 0.01 on 14 of 18 comparisons (Appendix § 22). With Llama-3.1-8B the margins are smaller: SAE-IDF beats dense on 13 of 14 rows, all but XLCoST MRR, and is ahead of or level with Dense−PC1\mathrm{Dense}_{-\mathrm{PC1}} on 10 of 14, trailing on the other four: XLCoST MRR, NELL → DBpedia, MultiFarm Russian and Anatomy.

TaskMetricStringsGemma-2-9B (layer 20) DenseDense, PC1 rm.SAE-IDFΔ denseLlama-3.1-8B (layer 15) DenseDense, PC1 rm.SAE-IDFΔ dense
Formal mathematics (miniF2F)
Lean 4 → IsabelleMRR0.8250.9120.9260.961+0.050.9420.9440.976+0.03
Lean 4 → MetamathMRR0.6150.2100.1510.661+0.450.6460.6370.787+0.14
Lean 4 → HOL LightMRR0.7410.5390.5310.898+0.360.6030.6990.906+0.30
Code (XLCoST, program level)
7 languages, meanMRR†0.4680.4540.4520.464+0.010.4510.4470.442−0.01
7 languages, meanP@6†0.7450.6800.6780.732+0.050.6410.6480.657+0.02
Table schemas (Valentine)
source → target columnsF1–0.5330.5340.614+0.080.5880.5790.625+0.04
source → target columnsMRR–0.7660.7610.856+0.090.7860.8110.862+0.08
Knowledge graphs (OAEI Common-KG)
NELL → DBpediaMRR0.9360.9310.9570.976+0.040.9490.9600.958+0.01
YAGO → WikidataMRR0.8990.8600.9320.962+0.100.8890.9440.944+0.06
Cross-lingual ontologies (MultiFarm)
Chinese → EnglishMRR0.2300.6500.7600.754+0.100.6590.7790.787+0.13
Russian → EnglishMRR0.2340.6440.7510.765+0.120.6610.7510.726+0.06
Arabic → EnglishMRR0.2380.5950.7020.722+0.130.5780.6690.672+0.09
Biomedical ontologies (Bio-ML, Anatomy)
NCIT → DOIDMRR0.7790.7010.7320.817+0.120.7040.7100.779+0.08
mouse → humanMRR0.7340.8120.8640.886+0.070.8000.8710.844+0.04

Table 1. Main results with native context for two model families, each with a 131k-feature SAE (Gemma Scope, Llama Scope). Bold: best per row within each model, Strings in both; ties go to the model. Δ dense: SAE-IDF minus Dense of the same model. †XLCoST official metrics averaged over the seven query languages (Appendix § 12); Strings is word TF-IDF there, and Valentine has no comparable string baseline. Trained retrievers: Appendix § 15.

Figure 4. Main-table results with Gemma-2-9B as MRR (Valentine: MRR; XLCoST: official MRR averaged over languages). The grey bar joins Dense to SAE-IDF. SAE-IDF beats Dense on every task, and the gap is widest on the formal-mathematics pairs whose notation differs most from Lean 4.

The magnitude of the gain depends on how similar the two surface notations are. Isabelle statements resemble Lean 4 and the gain is small (dense 0.912, SAE-IDF 0.961); Metamath and HOL Light read very differently, and dense collapses to 0.210 and 0.539 where SAE-IDF keeps 0.661 and 0.898. On MultiFarm, where source and target share neither script nor ontology, strings are near useless (0.23, MRR) and SAE-IDF gains +0.10 to +0.13 over dense. Conversely, XLCoST programs share identifiers across languages, so word TF-IDF is strong (0.468) and SAE-IDF gains only +0.01 over dense.

Removing the first principal component from dense hidden states recovers some of the gap on ontology and knowledge-graph terms, whose dense vectors share a large common component, but makes no difference on code, formal statements and tables. Stronger controls (Appendix § 21)—top-36 PC removal, standardization, whitening, a dense analogue of idf—sharpen the picture.

Even without any training on retrieval objectives, SAE-IDF outperforms the dedicated multilingual retriever BGE-M3 on 10 of 15 rows (same views, same controls; Appendix § 15), and against Qwen3-Embedding-8B, a retriever of the same scale as our backbone, it leads on code, YAGO → Wikidata, MultiFarm Arabic and Bio-ML while trailing on 8 rows, mainly formal mathematics (0.97–0.99 MRR), while it might be attributed to memorization from pretraining data: these datasets have been public under matching names since 2021 ((Zheng et al., 2022)), in Lean 4 since 2023 ((Yang, 2023)), and Qwen3’s 36T-token pretraining corpus includes code and STEM data whose contents are not disclosed ((Yang et al., 2025)). Our backbone and its SAE may have read these statements as well, but they are trained only to predict or reconstruct text, whereas a retriever is further trained on query–document pairs to score each query’s counterpart above other candidates ([11] (Zhang et al. 2025)), which is exactly how matching is evaluated here. More importantly, our approach is naturally aligned with the trend of scaling up LLMs and their SAEs: sparse dictionaries now reach tens of millions of features on frontier models ([22] (Templeton et al. 2024)) and are released for every layer of open models ([38, 29]), and SAE-IDF inherits every such release at no training cost. The empirical result confirms the benefit of scaling up in symbolic matching tasks: for example, HOL Light MRR rises from 0.87 to 0.94 and Metamath from 0.65 to 0.74 across Gemma-2-2B, 9B and 27B (§ 4.2), whereas a retriever is bounded by its training pairs and must be retrained at each size. A retriever must also be trained on aligned pairs from the domain it will serve, which a newly encountered pair of systems does not have; SAE-IDF needs none, which is why one method covers all six kinds of system here.

Ablations and Analysis

Rarity weighting and the coordinate system

We ablate the two factors of SAE-IDF, the rarity weighting and the learned coordinate system, one at a time. Without the idf factor, the sparse basis alone does not help: it trails dense on 15 of the 18 main-table comparisons and leads by at most 0.012 on the other three (SAE-unweighted in Table 2). The learned basis directions by SAE matters too for this coordinate system: a random dictionary of the same width and sparsity, with the same idf, stays below dense on every task (Table 2; its unweighted variant and the bootstrap tests are in Appendix § 21). Stronger post-hoc fixes of the dense state, from whitening to an idf over dense coordinates, also trail SAE-IDF on most tasks (Table 21): rarity weighting needs learned features.

TaskMetricRandom + idfSAE unweightedSAE-IDF
Formal mathematics (miniF2F)
Lean 4 → IsabelleMRR0.8650.8820.961
Lean 4 → MetamathMRR0.1460.0950.661
Lean 4 → HOL LightMRR0.3490.4930.898
Code (XLCoST, program level)
7 languages, meanMRR{sup}†`0.4170.4490.464
7 languages, meanP@6{sup}†`0.6270.6730.732
Table schemas (Valentine)
source → target columnsF10.4820.4580.614
source → target columnsMRR0.6470.6850.856
Knowledge graphs (OAEI Common-KG)
NELL → DBpediaMRR0.9010.9380.976
YAGO → WikidataMRR0.7970.8720.962
Cross-lingual ontologies (MultiFarm)
Chinese → EnglishMRR0.5330.4040.754
Russian → EnglishMRR0.5420.2520.765
Arabic → EnglishMRR0.4250.2250.722
Biomedical ontologies (Bio-ML, Anatomy)
NCIT → DOIDMRR0.6920.6960.817
mouse → humanMRR0.7880.8010.886

Table 2. Ablating the two ingredients of SAE-IDF on the main-table tasks. Random + idf: a random dictionary of the same width and sparsity with the same rarity weighting; SAE-unweighted: the learned features without it. Bold: best per row. †As in Table 1.

TaskMetricDense−PC1−36 PCsz-scoreZCAdense-idfsparse dense-idfSAE-IDF
Lean 4 → IsabelleMRR0.9120.9260.9280.9420.9460.9420.9140.961
Lean 4 → MetamathMRR0.2100.1510.4010.2570.4650.2510.2350.661
Lean 4 → HOL LightMRR0.5390.5310.7280.7070.7860.7060.6050.898
XLCoST, 7 languagesMRR0.4540.4520.4610.4560.4450.4560.4520.464
XLCoST, 7 languagesP@60.6800.6780.7090.7090.5990.7090.7050.732
Valentine columnsF10.5330.5340.4680.4600.4100.3990.2080.614
Valentine columnsMRR0.7660.7610.5480.5290.5030.4850.3910.856
NELL → DBpediaMRR0.9310.9570.9730.9230.9890.9230.9250.976
YAGO → WikidataMRR0.8600.9320.9570.8140.9640.8120.8470.962
MultiFarm zh → enMRR0.6500.7600.2500.7140.1360.7100.5820.754
MultiFarm ru → enMRR0.6440.7510.2590.7130.1560.7100.5820.765
MultiFarm ar → enMRR0.5950.7020.2400.6510.1700.6440.5450.722

Table 21. Stronger dense controls (MRR unless stated). Bold: best per row. Whitening recovers the knowledge-graph rows and nothing else; no control comes within 0.1 MRR of SAE-IDF on Metamath or HOL Light.

Layer, width, sparsity, model size and model family

We sweep the other configurations in SAE-IDF on Lean 4 →\to HOL Light and Metamath (Figure 2; Appendix § 18). Across all 39 configurations, including different SAE layers, SAE width, sparsity levels and model families and sizes, SAE-IDF consistently beats both dense and Dense−-PC1 on both tasks, by +0.18 to +0.55 MRR over dense on HOL Light and +0.08 to +0.58 on Metamath, and beats SAE-unweighted in all 78 runs, by +0.11 to +0.66. At nearly fixed sparsity, SAE-IDF rises with every doubling of the dictionary on HOL Light (0.817 at 16k to 0.935 at 1M) and levels off from 65k on Metamath, while SAE-unweighted drifts down as it widens. The same sweeps on Common-KG and MultiFarm agree (Figure 5). The effect holds from 2B to 27B parameters (Gemma-2-27B: 0.939 and 0.738 vs. dense 0.41 and 0.20) and for a second model family: with Llama-3.1-8B and Llama Scope, SAE-IDF beats dense in all six miniF2F configurations (Table 14).

Figure 2. Ablating the layer (top; 131k-feature SAE at each layer, grey line: the main-table layer) and the SAE width at matched sparsity (bottom; layer 20, average L0L_0 48–58) with Gemma-2-9B on miniF2F Lean 4 →\to HOL Light and →\to Metamath. SAE-IDF beats every baseline at every layer and width; the unweighted code tracks or trails dense.

Llama Scope SAELean 4 → HOL LightLean 4 → Metamath
DensePC1 rm.SAE unw.SAE-IDFDensePC1 rm.SAE unw.SAE-IDF
Layer 8, 131k0.5020.5870.4360.7430.5000.5160.5670.674
Layer 12, 131k0.5090.6140.4510.8150.6300.6240.5820.711
Layer 15, 131k0.6030.6990.6110.9060.6460.6370.6750.787
Layer 20, 131k0.3040.2900.2090.6660.2690.3430.3690.719
Layer 24, 131k0.2910.2670.2740.7510.1240.2730.2020.661
Layer 15, 32k0.6030.6990.5830.8450.6460.6370.6260.741

Table 14. Second model family: Llama-3.1-8B with Llama Scope SAEs (MRR). SAE-IDF beats Dense and Dense−PC1 in all six configurations on both tasks.

Figure 5. Layer sweep (top) and SAE-width sweep (bottom) on Common-KG and MultiFarm with native views, Gemma-2-9B. SAE-IDF beats Dense and the unweighted code in every setting; Dense−PC1 is close on YAGO and MultiFarm.

Feature-level analysis

We decomposed up to 300 correct SAE-IDF matches per task on the ten tasks other than Bio-ML and Anatomy (2,315 in all), and the same pairs unweighted. Each feature is described from outside our pipeline: Neuronpedia (Lin, [39]) publishes

an automatic explanation (Bills et al., [5]) for 129,642 of the 131,072 features we used. An LLM sorted the 5,252 explanations that occur into concept, notation, surface (a particular word or script) and generic from their text alone; a second, unrelated model agreed on 92% (κ=0.80\kappa= 0.80).

Without weighting, every task matches on the same few features. One feature, “mathematical or programming notation” (f103676, active on 99% of Pile tokens; Gao et al., [21]), is among SAE-unweighted’s five largest contributions in 99% of all correct matches (96–100% per task) and in none under SAE-IDF; two further ubiquitous features behave the same way (Appendix § 19). Features active on more than 1% of the Pile carry 56–91% of SAE-unweighted’s cosine and 0–6% of SAE-IDF’s (Figure 3; per-task details in Table 19, Appendix § 19). With weighting, two regimes appear. On knowledge-graph and ontology terms one or two rare concept features usually carry a match (87–94% of the cosine from features active on <0.1% of the Pile); on MultiFarm a quarter of it is surface features firing on both the foreign term and its English counterpart, a translation inside the model’s features ([10] (Templeton et al. 2024)). Formal statements, programs and table columns spread half the cosine over 10–21 features, about half of it notation on formal mathematics.

Figure 3. Share of each correct match’s cosine carried by features that fire on more than 1% of Pile tokens (Gemma-2-9B; 2,315 correct SAE-IDF matches on ten tasks, and the same pairs unweighted). Without weighting (squares) these ubiquitous features carry 56–91% of the cosine on every task; with rarity weighting (diamonds) they carry 0–6%.

TaskMatchesCommon (>1%): unw. → SAE-IDFRare (<0.1%) SAE-IDFFeatures for 50% / 80%Concept / surface / notation (SAE-IDF top-5)
Lean 4 → Isabelle30087% → 3%32%21 / 14643% / 7% / 48%
Lean 4 → Metamath25991% → 2%31%15 / 8839% / 4% / 55%
Lean 4 → HOL Light27190% → 3%30%17 / 13746% / 8% / 44%
XLCoST, Java → 6 languages30081% → 0%75%10 / 8851% / 11% / 35%
Valentine columns30088% → 6%49%10 / 5479% / 4% / 13%
NELL → DBpedia12456% → 1%94%1 / 294% / 5% / 1%
YAGO → Wikidata28660% → 1%93%1 / 387% / 11% / 2%
MultiFarm zh → en16270% → 2%87%1 / 469% / 26% / 1%
MultiFarm ru → en16371% → 2%88%1 / 472% / 24% / 2%
MultiFarm ar → en15073% → 2%87%2 / 471% / 24% / 1%

Table 19. Feature-level decomposition of correct matches. Common: share of the cosine from features active on >1% of Pile tokens, under the unweighted code and under SAE-IDF. Rare: share from features active on <0.1%. Features for 50%/80%: median number of shared features needed to reach that share of the cosine. The last column splits SAE-IDF’s five largest contributions per match by explanation type.

Case studies. In Table 3, the Chinese MultiFarm term for fee shares no word with “fee for conference”, and dense ranks this gold 13th. Without weighting, the largest contribution to their cosine comes from “mathematical or programming notation” (53%), which every pair shares, and the gold falls to rank 40; with rarity weighting, “fees and payment structures” contributes 88% and the gold ranks first. The HOL Light floor problem shows the same shift: notation leads without weighting (gold at rank 131), “floor and rounding operations” with it (rank 1). Failures are as readable: “has first name” loses to “has name” because both have the same top feature, “variable names in programming code”, and the column src_id, whose only value is 1, meets the gold SRI only at “positive integers”, which the numeric column CONFSC shares as well.

TaskSource →\to gold counterpartGold’s rankTop-1 feature by contribution to the cosine: SAE-unweightedTop-1 feature by contribution to the cosine: SAE-IDF
MultiFarm zh →\to enfeiyong (fee) →\to “fee for conference”13 / 40 / 1“mathematical or programming notation” (53%)“fees and payment structures” (88%)
YAGO →\to WikidataMass (no instances) →\to mass (instances: Earth mass, quark mass)7 / 24 / 1“terms related to mass” (50%)“terms related to mass” (91%)
Lean 4 →\to HOL LightInt.floor (10 * n) + . . . + Int.floor (10000 * n) = 3702 →\to floor (&10 * n) + . . . + floor (&10000 * n) = &37027 / 131 / 1“mathematical or programming notation” (33%)“floor and rounding operations” (9%)
Lean 4 →\to Metamath1 / Real.cos x + Real.tan x = 22 / 7 . . . →\to ((1 / (cos \ X)) + (tan ` X)) = (; 2 2 / 7) . . .`5 / 41 / 1“mathematical or programming notation” (29%)“limits and trigonometric functions” (18%)
Failure: MultiFarm zh →\to enyou ming (“has first name”) →\to “has first name”; ranks “has name” first1 / 2 / 2“open-source license text” (46%)“variable names in programming code” (41%)
Failure: Valentine (ChEMBL)src_id (its only value is 1) →\to SRI; ranks CONFSC first1 / 1 / 3“numbers, dates and measurements” (84%)“positive integers” (53%)

Table 3. Case studies selected by rule, not by hand: per task, correct SAE-IDF matches that Dense ranks 5th or worse, the shortest texts with the widest SAE-IDF margin, and cases where Dense is right and SAE-IDF is not. Gold’s rank: under Dense / SAE-unweighted / SAE-IDF. The last two columns give each code’s top feature by contribution to the source–gold cosine, with its share; feature names are abbreviated Neuronpedia explanations. In both failures the wrong first-ranked candidate has the same top feature under SAE-IDF. Selection rules: Appendix § 19.

Discussion

Optimal choice between neural and symbolic representations. A neuro-symbolic system must decide which knowledge to leave to its symbolic component (Yang, 2026). Rules are exact where identity is fixed by definition (equal keys, units, formats), while neural representations suit graded similarity, the “family resemblance” of Wittgenstein (1953). Splitting the 551 Valentine pairs by the kind of value a column holds (Appendix § 13), SAE-IDF leads dense in every class, with top-1 accuracy of 0.79–0.81 on free-text, categorical and identifier columns but 0.67 on numeric ones, the hardest class for every method. This indicates that bare numbers, which give the features the least to match, are where rules on ranges, units and value distributions should take over, a hypothesis for future work.

Composition and abstention in symbolic system merging. Merging many systems needs pairwise alignments that agree (A to B then B to C equals A to C) and links that group symbols by their true identity. Over the twelve ordered pairs among the four provers, with mutual top-1 matches as links, SAE-IDF links almost twice as many statements as dense (coverage 0.64 vs. 0.34) at equal or higher consistency (transitivity 0.981 vs. 0.963; purity 0.981 vs. 0.979), and its merge comes closest to the true grouping (adjusted Rand index 0.795; dense 0.519, Dense−PC1_1 0.646; Table 4, Appendix § 18). A shared space alone does not ensure this: the unweighted code, in the same space, is the least consistent (transitivity 0.902, purity 0.958). A merge also needs abstention, since under transitive closure one false link fuses two correct clusters. For answering selectively, the cosine margin between the first two candidates is a usable confidence: at 90% precision SAE-IDF answers 24% of Metamath and 93% of HOL Light queries, against 1% and 24% for dense (Appendix § 20).

MethodMutual-top-1 precisionCoverageTransitivity (triples)Merge purityARIComponents (489 true)
Dense0.9000.3400.963 (872)0.9790.5191,096
Dense−PC1_10.9100.4830.960 (1,868)0.9580.646895
SAE unweighted0.6160.2990.902 (572)0.9580.4321,143
SAE-IDF0.9830.6390.981 (3,474)0.9810.795758

Table 4. Merging the four miniF2F provers (Gemma-2-9B, layer 20; 489 problems) by linking mutual top-1 matches over the twelve ordered prover pairs. Precision and coverage: means over the pairs; in parentheses, chained triples behind each transitivity; ARI: adjusted Rand index of the merged components against the true problems. Bold: best per column (components: closest to 489).

Related Work

Alignment within one kind of system. Ontology matching has a yearly evaluation (OAEI) and many systems, from logic-based lexical matchers such as LogMap (Jiménez-Ruiz and Cuenca Grau, [31]) to fine-tuned language models (He et al., [27]), prompted LLMs (Hertling and Paulheim, [30]) and LLM agents (Qiang et al., 2024); Euzenat and Shvaiko [17] survey it. Schema matching ([35] (Rahm and Bernstein 2001)), entity alignment from seed pairs (Sun et al., 2020) and cross-language code retrieval ([20, 26]) each have their own methods and benchmarks; none runs unchanged on another kind of system (§ 3.2).

Sparse autoencoders. SAEs recover sparse, interpretable features from superposed activations ([15, 9, 12, 22] (Templeton et al. 2024)), are released as open suites ([38, 29]), and give interpretable axes for semantic search when trained on text embeddings (O’Neill et al., [45]). Against doubts about their downstream use (Kantamneni et al., [33]), they help here once the code is rarity-weighted.

Neuro-symbolic models. Neuro-symbolic systems combine learned representations with explicit symbolic structure (Kautz, 2022): differentiable logic and proving (Logic Tensor Networks, Badreddine et al., [4]; neural theorem provers, Rocktäschel and Riedel, 2017; NLProlog, Weber et al., 2019; ∂ILP, Evans and Grefenstette, [18]), probabilistic logic programs over neural predicates (DeepProbLog, Manhaeve et al., [40]), symbolic programs run over neural scene parses (NS-CL, Mao et al., [41]), and language models paired with symbolic solvers or deduction engines (Logic-LM, Pan et al., [47]; AlphaGeometry, Trinh et al., 2024). Each reasons inside formalisms chosen for its task; none aligns the symbols of independently built systems, the step a universal symbolic backbone needs (Yang, 2026) and the one we address.

Conclusion

SAE-IDF matches symbols across heterogeneous systems without training: native context, an LLM’s sparse autoencoder, rarity weighting and cosine. On 12 tasks across six kinds of system it beats the same model’s dense state on every task with Gemma-2-9B and all but one with Llama-3.1-8B; both the dictionary and the weighting are needed, and each match reads as a few rare, named concepts. An LLM’s feature dictionary is thus an interpretable common ground for aligning symbolic systems, a step toward a universal backbone.

Limitations

What the model can read. The method is only as general as the base model’s reading of each notation and the native context each system offers: it is at chance on SMILES, IUPAC names and InChI, on par with word TF-IDF when two notations share their identifiers (XLCoST), short of context on MultiFarm, Anatomy and label-only knowledge-graph classes, and we dropped context-less symbols such as ICD codes and drug names. Protocol. Every task ranks a given candidate pool in which the query has a counterpart, with one layer per model. A real merging pipeline must also decide how many counterparts a symbol has—none, one or several—under the structural constraints of the merged systems, and be tested by merging many systems with transitivity as the criterion; our margin-based abstention covers only queries that have a counterpart, and such full alignments are left to future work. Comparisons. We compare representations, not dedicated pipelines, and claim no state of the art on any benchmark. Trained retrievers lead on formal mathematics, where memorized aligned statements are possible; the lead over Dense−PC1 is within noise on MultiFarm and NELL → DBpedia and smaller with Llama-3.1-8B; and the idf is computed on the pool being matched (Appendix § 21 tests a held-out library). Explanations. Feature names are generated automatically and their types labelled by an LLM; they describe matches but never compute them.

Ethical Considerations

Artifacts and licenses. We use released models, SAEs and benchmarks for research inference and evaluation only, with no fine-tuning and no redistribution of weights or data, which is consistent with their terms: Gemma 2 under the Gemma Terms of Use and its Prohibited Use Policy, which also cover Gemma Scope (released under CC BY 4.0); Llama-3.1-8B under the Llama 3.1 Community License and its Acceptable Use Policy; Llama Scope and Qwen3-Embedding-8B under Apache-2.0; BGE-M3 under MIT. miniF2F is released under Apache-2.0 (Lean, Isabelle), MIT (Metamath) and FreeBSD (HOL Light) licenses, miniF2F-lean4 under MIT, Bio-ML and the two Anatomy ontologies (MA, NCI Thesaurus) under CC BY 4.0; MultiFarm may be used for any scientific purpose and NCBI places no restrictions on PubChem data; XLCoST, Valentine, the OAEI Common-KG track and the Neuronpedia feature explanations are distributed by their authors for research and evaluation without a stated data license. Every artifact is cited. Data. The tasks consist of formal statements, programs, table schemas with sampled cell values from the public benchmark tables, and ontology and knowledge-graph terms; we collected no data from people and add no personal information. Risks. Automatic matching can propagate errors: under transitive closure one false link fuses two correct clusters (§ 5), so merges built on SAE-IDF should use abstention or human review, especially for high-stakes resources such as biomedical ontologies. Feature names are generated automatically and can mislead a reader about why a match was made.

Acknowledgments

We thank the INVITE Institute at the University of Illinois Urbana-Champaign and the ACCESS program for the computing credits that supported this work. This material is based upon work supported by the National Science Foundation and the Institute of Education Sciences under Grant #229612. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of National Science Foundation or the U.S. Department of Education. This work used the Delta system at the National Center for Supercomputing Applications [award OAC 2005572] through allocations CIS251094 and CIS261897 from the Advanced Cyberinfrastructure Coordination Ecosystem: Services & Support (ACCESS) program ([7]), which is supported by National Science Foundation grants #2138259, #2138286, #2138307, #2137603, and #2138296.

Benchmark and protocol details

Models and SAEs. Gemma-2-9B (42 layers, d=3,584d = 3{,}584), Gemma-2-2B (26 layers, d=2,304d = 2{,}304) and Gemma-2-27B (46 layers, d=4,608d = 4{,}608) are run in bfloat16; the residual stream after block ℓ\ell (hidden_states[ℓ+1\ell+1]) is encoded with the Gemma Scope gemma-scope-9b-pt-res (or -2b-pt-res, -27b-pt-res, the latter released for layers 10, 22 and 34) JumpReLU SAEs (E(h)=JumpReLU⁡(Wench+benc)E(h) = \operatorname{JumpReLU}(W_{\mathrm{enc}}h + b_{\mathrm{enc}}), § 2, with the released per-feature thresholds θf\theta_f). The main-table SAE is layer_20/width_131k/average_l0_114, the canonical release, which is the one with Neuronpedia explanations. Llama-3.1-8B (32 layers, d=4,096d = 4{,}096) uses the Llama Scope residual SAEs Llama3_1-8B-Base-L{8,12,15,20,24}R-32x (131k features) and L15R-8x (32k), applied as published, with dataset-wise input scaling and the released JumpReLU threshold. Texts are truncated to 1,024 tokens (15 of 3,918 Java programs were truncated).

Views. Common-KG: up to 16 instances per class sampled with a fixed seed, written Instance: <label>. Class: <label>; a class with no instances gets the single view Class: <label>. MultiFarm: one view per axiom of the term in its own ontology and language (parents and children, domain and range, properties whose domain or range it is, sub- and super-properties, inverses, disjoint classes), written <relation> <other>. Term: <label>. Bio-ML and Anatomy: definitions, parents and part-of relations in the same form. Valentine: <table>.<column>: <v1>; <v2>; . . . with 16 sampled values. Only the symbol’s final occurrence is pooled, and no synonyms are used anywhere.

Reference collections for idf.

miniF2F and XLCoST: the candidate pool (the target prover’s statements; the test file of the query language). Valentine: the target columns of each table pair. Common-KG, MultiFarm, Bio-ML, Anatomy: all symbols of both systems. df(ff) counts symbols, not tokens or views.

String baselines.

For formal statements and PubChem the “Strings” column is the best of word TF-IDF, character 3–5-gram TF-IDF and BM25 over the statements: BM25 on Isabelle (0.825; word TF-IDF 0.772), word TF-IDF on Metamath (0.615; BM25 0.187) and character nn-grams on HOL Light (0.741; word TF-IDF 0.669). For XLCoST the official evaluator scores the word TF-IDF ranking. For ontology and knowledge-graph terms it is the better of character 3–5-gram TF-IDF over labels and word TF-IDF over the view texts.

Compute.

One 48 GB A6000 (or two 24 GB A5000s with the model split across them) runs Gemma-2-9B plus the 131k SAE encoder (131,072 × 3,584 in bfloat16, about 0.9 GB); Llama-3.1-8B ran on one 40 GB A100 and Gemma-2-27B on two. Encoding takes minutes for miniF2F, Common-KG and MultiFarm and a few hours for XLCoST and Valentine; scoring and all analyses run on CPU.

XLCoST per language

Table 6 breaks the XLCoST rows of Table 1 down by query language; each program is matched against its versions in the other six languages. Word

Query languageProgramsMetricStringsDense−PC1SAE unw.SAE-IDF
Java3,918MRR0.4850.4660.4660.4580.480
P@60.7030.5820.5800.5640.681
C++3,895MRR0.4860.4700.4690.4650.478
P@60.7090.6260.6250.6270.675
Python3,853MRR0.4840.4740.4680.4700.485
P@60.7140.6910.6710.6700.711
C#3,898MRR0.4850.4660.4660.4600.479
P@60.7050.5910.5940.5990.683
JavaScript3,851MRR0.4870.4750.4710.4690.482
P@60.7140.6710.6640.6590.696
PHP1,566MRR0.4410.4320.4320.4310.442
P@60.8110.7740.7800.7650.818
C283MRR0.4080.3920.3950.3930.405
P@60.8550.8230.8330.8270.863

Table 6. XLCoST program-level code-to-code search, official metrics, per query language. Strings is word TF-IDF. SAE-IDF beats Dense in every language on both metrics and is within 0.01 MRR of word TF-IDF.

TF-IDF has the best MRR in five of the seven languages, because the versions keep their identifiers, and SAE-IDF is within 0.01 MRR of it everywhere and best on Python (0.485) and PHP (0.442). On precision at six, SAE-IDF gains most over Dense where the dense state is weakest, about +0.10 on Java (0.681 vs. 0.582) and +0.09 on C# (0.683 vs. 0.591), and it is the best method on PHP and C, the two smallest pools.

Valentine: layouts and column types

Valentine pairs a source table with a target table whose columns must be matched. Table 7 varies what the model reads for each column: the whole column as one text (the main setting), 16 views each holding the name and one value, and pooling over only the value or only the name tokens. Table 8 splits the columns by the kind of value they hold; § 5 uses this split to ask where rules on ranges, units and formats should take over.

Layout (tokens pooled)DenseSAE-unweightedSAE-IDF
F1
Whole column, all tokens (main)0.5330.4580.614
Name + one value per view, all tokens (16 views)0.5630.4290.630
Value tokens only, name before them (16 views)0.5700.5550.608
Name tokens only, after one value (16 views)0.6110.5200.572
MRR
Whole column, all tokens (main)0.7660.6850.856
Name + one value per view, all tokens0.6510.4980.820
Value tokens only, name before them0.8230.7720.851
Name tokens only, after one value0.7090.5890.748

Table 7. Valentine, 551 pairs, four ways of reading a column. SAE-IDF leads Dense on MRR in every layout and on F1 in all but the name-only one; taking each method’s best layout, SAE-IDF is still ahead (F1 0.630 vs. 0.611, MRR 0.856 vs. 0.823). SAE-unweighted is weakest in every layout.

Column typennDense−PC1SAEunw_{\mathrm{unw}}SAE-IDF
Free text9300.7270.7140.6840.806
Categorical2,3130.6290.6450.4910.790
Identifier1,2160.7020.7180.6300.805
Numeric3,8870.5670.4900.4890.670
Graded (text, categ.)3,2430.6570.6650.5460.795
Rule-governed (id, num.)5,1030.5990.5440.5220.702

Table 8. Valentine top-1 accuracy by the kind of value a column holds (whole-column layout, all 551 pairs). SAE-IDF leads in every class; numeric columns are the hardest for every method, while SAE-IDF matches identifiers as well as free text. Types are assigned by a pattern heuristic on the sampled values.

F1 by dataset family under the whole-column layout, SAE-IDF vs. Dense: ChEMBL 0.659 vs. 0.557, OpenData 0.568 vs. 0.467, TPC-DI 0.597 vs. 0.553, Wikidata 0.724 vs. 0.695, Magellan 1.0 for every method.

Other tasks

Figure 4 draws the Gemma-2-9B rows of Table 1 as one line per task, so the size of the gain can be read directly: it is largest where the target notation differs most from Lean 4 (Metamath and HOL Light) and smallest on XLCoST, where programs share identifiers. Table 9 adds the training split of Bio-ML (3,845 queries), where SAE-IDF leads with 0.815 MRR against 0.789 for strings and 0.736 for Dense, and three PubChem tasks that translate one molecule between SMILES, IUPAC names and InChI. On PubChem every method stays near chance (at most 0.029 MRR): these notations encode a structure the model does not read off the string, which is why they are not in the main table (§ 3.1).

TaskQueriesStringsDense−PC1SAE unw.SAE-IDF
Bio-ML NCIT → DOID, valid split6340.7790.7010.7320.6960.817
Bio-ML NCIT → DOID, train split3,8450.7890.7360.7580.7360.815
OAEI Anatomy, mouse → human1,5160.7340.8120.8640.8010.886
PubChem SMILES → IUPAC1,0000.0090.0270.0120.0260.015
PubChem SMILES → InChI1,0000.0080.0070.0090.0050.029
PubChem IUPAC → InChI1,0000.0120.0060.0080.0050.020

Table 9. Biomedical and chemical tasks with native context (MRR); Bio-ML valid and Anatomy also appear in Table 1. Bio-ML uses its 100-candidate ranking protocol; Anatomy ranks all 3,298 human classes. PubChem’s chance level is 0.0075 and no method exceeds 0.03.

Embedding-model baseline

BGE-M3 ([11]) (XLM-RoBERTa-large, CLS pooling, inputs truncated to 1,024 tokens as for the LLM) embeds exactly the view texts used elsewhere: the statement or program, the whole-column text for Valentine, and each native view for classes and terms, averaged per symbol. Candidates and metrics are those of the main table; the centred and PC1-removed variants use the same reference collections as for the LLM hidden state (Table 10).

TaskMetricStringsGemma-2-9B DenseGemma-2-9B SAE-IDFBGE-M3 plainBGE-M3 centredBGE-M3 −PC1Qwen3-Emb-8B plainQwen3-Emb-8B −PC1
Lean 4 → IsabelleMRR0.8250.9120.9610.9560.9540.9320.9920.995
Lean 4 → MetamathMRR0.6150.2100.6610.8190.5910.5830.9720.970
Lean 4 → HOL LightMRR0.7410.5390.8980.9670.9670.9670.9750.981
XLCoST, 7 languagesMRR0.4680.4540.4640.4380.4370.4510.4400.447
XLCoST, 7 languagesP@60.7450.6800.7320.6710.6690.7020.6840.710
Valentine columnsF1—0.5330.6140.6450.6380.6120.6330.609
Valentine columnsMRR—0.7660.8560.8790.8900.8750.8720.847
NELL → DBpediaMRR0.9360.9310.9760.9830.9880.9840.9730.975
YAGO → WikidataMRR0.8990.8600.9620.9100.9250.9580.9230.957
MultiFarm zh → enMRR0.2300.6500.7540.7160.7150.7430.7950.809
MultiFarm ru → enMRR0.2340.6440.7650.7180.7150.7260.7800.782
MultiFarm ar → enMRR0.2380.5950.7220.6700.6810.7010.6900.681
Bio-ML validMRR0.7790.7010.8170.6110.6170.6110.7390.720
Bio-ML trainMRR0.7890.7360.8150.6360.6440.7400.7590.795
AnatomyMRR0.7340.8120.8860.7890.8100.8530.8960.925

Table 10. Off-the-shelf retrievers against SAE-IDF. Bold: best of the seven model-based columns. Plain BGE-M3 is ahead of SAE-IDF on Lean 4 → Metamath, → HOL Light, Valentine and NELL → DBpedia; plain Qwen3-Embedding-8B on the formal-mathematics pairs, Valentine, MultiFarm Chinese and Russian and Anatomy. SAE-IDF is ahead of every retriever column on XLCoST, YAGO → Wikidata, MultiFarm Arabic and both Bio-ML splits.

Qwen3-Embedding-8B ((Zhang et al., 2025)) (8B parameters, last-token pooling, bf16, the same 1,024-token truncation) was run afterwards under the same protocol, with the model’s instruction format on the query side only (Instruct: Given a symbol from one symbolic system, retrieve its counterpart in another system); Table 10 puts it next to BGE-M3. It is ahead of SAE-IDF on 8 of the 15 rows and behind on the other 7 (narrowly on NELL →\to DBpedia, 0.973 vs. 0.976), with the pattern described in § 3.3.

XLCoST without the free hit

The official XLCoST pool contains the query’s own row, which every method retrieves first. Table 11 removes it, so the metrics count only the other-language versions of each program. The ordering of the methods does not change: word TF-IDF is marginally ahead on MRR in five languages (by 0.005–0.011) and SAE-IDF on Python and PHP, and SAE-IDF beats Dense in every language on both metrics, by up to +0.075 on precision at six (Java, 0.534 vs. 0.459).

Query languageProgramsMetricStringsDense−PC1SAE unw.SAE-IDF
Java3,918MRR0.5580.5280.5270.5160.551
P@60.5500.4590.4580.4450.534
C++3,895MRR0.5600.5360.5350.5300.549
P@60.5540.4960.4930.4940.531
Python3,853MRR0.5600.5450.5360.5400.561
P@60.5570.5400.5280.5260.553
C#3,898MRR0.5610.5300.5300.5220.553
P@60.5520.4670.4690.4720.538
JavaScript3,851MRR0.5630.5470.5420.5380.557
P@60.5580.5280.5220.5190.545
PHP1,566MRR0.5000.4880.4880.4870.502
P@60.6580.6330.6370.6260.661
C283MRR0.4570.4350.4380.4380.452
P@60.7120.6990.7090.6950.730

Table 11. XLCoST program-level search with the query’s own row excluded from the pool (official metric definitions otherwise). SAE-IDF beats Dense in every language on both metrics; word TF-IDF stays marginally ahead on MRR in most languages.

Generated contexts

Native views are the default throughout the paper. Table 12 instead describes each symbol with text that an LLM generates from its own system’s data, either with one generator for both systems or with a different generator for each, so that the two sides cannot share phrasing. Generated text raises every model-based method on MultiFarm (Dense from 0.650 to 0.780 on Chinese with two generators), and DensePC1_{\mathrm{PC1}} then matches or beats SAE-IDF: 0.825 vs. 0.819 on Chinese and 0.840 vs. 0.811 on Russian. A generator can also add shared text that the systems themselves do not contain, as the drug-name run with shared metadata shows (Appendix § 23); the main table therefore uses native context only, which needs no generator.

TaskContextsStringsDense−PC1SAE unw.SAE-IDF
NELL → DBpediatwo LLMs0.9360.9640.9660.9160.969
one LLM0.9360.9270.9720.9040.972
native0.9360.9310.9570.9380.976
YAGO → Wikidatatwo LLMs0.8990.9080.9770.9150.973
one LLM0.8990.9170.9680.9200.968
native0.8990.8600.9320.8720.962
MultiFarm zh → entwo LLMs0.0670.7800.8250.4920.819
one LLM0.0670.7530.7870.4780.786
native0.2300.6500.7600.4040.754
MultiFarm ru → entwo LLMs0.0670.7030.8400.2700.811
one LLM0.0730.6800.8470.2480.807
native0.2340.6440.7510.2520.765
MultiFarm ar → entwo LLMs0.0660.5880.7730.1950.753
one LLM0.0660.5950.7940.1630.724
native0.2380.5950.7020.2250.722
Drug brand → generictwo LLMs0.7620.4010.4640.2760.448
one LLM, shared metadata0.8280.3840.4560.2770.441

Table 12. Generated versus native contexts (MRR). “One LLM”: both sides described by the same generator; “two LLMs”: the source side by one generator and the target side by another, each seeing only its own system’s data; “shared metadata”: the first drug run, in which both names were given the same pharmacologic-class text. With generated text, removing the first principal component of the dense vectors matches or beats SAE-IDF on every task except NELL → DBpedia with two generators (0.966 vs. 0.969); with native context SAE-IDF leads everywhere except MultiFarm Chinese (0.754 vs. 0.760). Drug names have no native context and are not in the main table.

Full ablation

Beyond formal mathematics. Figure 5 repeats the layer and width sweeps on Common-KG and MultiFarm with the same SAE files (the 262k and matched-sparsity 16k/1M files were not available on the cluster used for these runs). Over the 45 (task, setting) pairs SAE-IDF beats dense by +0.006 to +0.28 MRR and the unweighted code in every pair; DensePC1_{\mathrm{PC1}} is behind in 32 of 45 (15 of 15 on NELL →\to DBpedia, 10 on YAGO →\to Wikidata, 7 on MultiFarm). On the knowledge-graph tasks every layer from 5 to 25 is within 0.03 MRR; on MultiFarm layers 15 and 25 are best (0.769 and 0.763); the last layers fall off everywhere. Width helps less than on HOL Light: NELL →\to DBpedia rises slightly (0.964 to 0.979), YAGO →\to Wikidata is flat, and MultiFarm peaks at 65k features (0.774) and declines to 0.730 at 1M, while the unweighted code on MultiFarm collapses as the dictionary widens (0.42 to 0.14).

Setting (Gemma-2-9B, layer 20, unless noted)HOL LightMetamath
Dense baseline0.5410.207
SAE width 16k / 32k / 65k / 131k / 262k / 524k / 1M, each at its canonical L0L_0 (68 / 57 / 55 / 114 / 50 / 48 / 101)
SAE-IDF0.82 / 0.86 / 0.89 / 0.90 / 0.91 / 0.93 / 0.930.62 / 0.61 / 0.71 / 0.67 / 0.68 / 0.70 / 0.66
Sparsity, average L0L_0 11 / 19 / 34 / 53 / 62 / 114 / 221 / 276 (131k features)
SAE-IDF0.89 / 0.89 / 0.90 / 0.91 / 0.90 / 0.90 / 0.90 / 0.900.68 / 0.67 / 0.70 / 0.71 / 0.72 / 0.67 / 0.62 / 0.64
Smaller model: Gemma-2-2B, layer 12, width 16k / 65k / 262k
Dense0.4620.257
SAE-IDF0.80 / 0.86 / 0.870.65 / 0.52 / 0.45
Larger model: Gemma-2-27B, layer 10 / 22 / 34 (131k, canonical L0L_0 106 / 82 / 72)
Dense0.32 / 0.41 / 0.410.08 / 0.20 / 0.15
SAE-IDF0.84 / 0.94 / 0.580.41 / 0.74 / 0.60

Table 13. SAE-IDF MRR across SAE width, sparsity and model size (Gemma Scope SAEs on Gemma-2-2B, 9B and 27B; miniF2F). Every entry beats the dense baseline in its row group. These runs were repeated separately from Table 1; at the main setting they differ from it by at most 0.006 MRR.

ConfigurationLean 4 → HOL Light DenseLean 4 → HOL Light PC1 rm.Lean 4 → HOL Light SAE unw.Lean 4 → HOL Light SAE-IDFLean 4 → Metamath DenseLean 4 → Metamath PC1 rm.Lean 4 → Metamath SAE unw.Lean 4 → Metamath SAE-IDF
Gemma-2-9B, layer 5, 131k0.2480.2240.1770.8000.1380.1590.0680.512
layer 90.3170.3200.3480.8400.1900.1720.1400.583
layer 100.3350.3300.4330.8670.2120.1750.1300.451
layer 150.4580.4340.5240.8800.2330.1730.1000.727
layer 20 (L0L_0 114, main table)0.5410.5300.4930.9000.2070.1490.0920.667
layer 250.4390.5530.2800.8820.1790.1450.1120.623
layer 300.2140.2480.1440.7390.1230.0890.0880.693
layer 310.2100.2090.1220.7570.1210.0760.0770.703
layer 350.2250.2040.1150.7160.1000.0760.0780.594
layer 400.1730.1390.0800.4640.0770.0490.0390.301
layer 20, 16k (L0L_0 68)0.5410.5300.5210.8200.2070.1490.1190.625
layer 20, 16k (L0L_0 58)0.5410.5310.4900.8170.2090.1510.1140.621
layer 20, 32k (L0L_0 57)0.5410.5300.5030.8620.2070.1490.1090.608
layer 20, 65k (L0L_0 55)0.5410.5300.4170.8900.2070.1490.0860.706
layer 20, 262k (L0L_0 50)0.5410.5310.4420.9120.2090.1510.0630.684
layer 20, 524k (L0L_0 48)0.5410.5300.4620.9270.2070.1490.0600.698
layer 20, 1M (L0L_0 101)0.5410.5300.4550.9310.2070.1490.0770.659
layer 20, 1M (L0L_0 57)0.5410.5310.4360.9350.2090.1510.0590.668
layer 20, 131k, L0L_0 110.5410.5300.4030.8940.2070.1490.0460.676
L0L_0 190.5410.5300.3140.8930.2070.1490.0560.670
L0L_0 340.5410.5300.4230.9040.2070.1490.0570.700
L0L_0 530.5410.5300.4620.9060.2070.1490.0800.708
L0L_0 620.5410.5300.5170.9040.2070.1490.0840.720
L0L_0 2210.5410.5300.5010.8960.2070.1490.1090.625
L0L_0 2760.5410.5300.4870.8970.2070.1490.1160.639
Gemma-2-2B, layer 12, 16k0.4620.4870.4920.8000.2570.2380.2360.651
Gemma-2-2B, layer 12, 65k0.4620.4870.5750.8620.2570.2380.1220.523
Gemma-2-2B, layer 12, 262k0.4620.4870.4910.8720.2570.2380.1560.452
Llama-3.1-8B, layer 8, 131k0.5020.5870.4360.7430.5000.5160.5670.674
Llama-3.1-8B, layer 12, 131k0.5090.6140.4510.8150.6300.6240.5820.711
Llama-3.1-8B, layer 15, 131k0.6030.6990.6110.9060.6460.6370.6750.787
Llama-3.1-8B, layer 15, 32k0.6030.6990.5830.8450.6460.6370.6260.741
Llama-3.1-8B, layer 20, 131k0.3040.2900.2090.6660.2690.3430.3690.719
Llama-3.1-8B, layer 24, 131k0.2910.2670.2740.7510.1240.2730.2020.661
Gemma-2-27B, layer 10, 131k (L0L_0 106)0.3190.2880.2820.8430.0770.1140.0580.405
Gemma-2-27B, layer 22, 131k (L0L_0 82)0.4080.3280.2820.9390.1990.0970.1390.738
Gemma-2-27B, layer 22, 131k (L0L_0 48)0.4080.3280.2810.9170.1990.0970.1260.731
Gemma-2-27B, layer 22, 131k (L0L_0 150)0.4080.3280.2800.9240.1990.0970.1720.709
Gemma-2-27B, layer 34, 131k (L0L_0 72)0.4070.4910.1540.5840.1450.1260.0830.597

Table 18. All 39 ablation configurations (78 runs) on miniF2F Lean 4 → HOL Light and → Metamath (MRR). Gemma Scope widths are given at the sparsity used; “L0L_0” rows are the 131k-feature SAE at layer 20. SAE-IDF beats Dense, DensePC1_{\mathrm{PC1}} and SAE-unweighted in every run.

Feature weightings. Every evaluator also scores the alternatives to collection idf that the pipeline computes: an idf from Neuronpedia’s Pile activation densities (which needs no matched collection), an information weighting (log of in-symbol over background firing rate) and a log-odds weighting. Collection idf is best on 10 of 13 comparisons (Table 15); the information weighting is close on ontology terms and tables, and the Pile-density idf is far behind on formal mathematics (0.190 vs. 0.661 on Metamath), where the generic features are specific to the pair of systems rather than to the Pile.

TaskMetricUnweightedidf (collection)idf (Pile density)InformationLog-odds
Lean 4 →\to IsabelleMRR0.8820.9610.9080.7400.756
Lean 4 →\to MetamathMRR0.0950.6610.1900.1020.190
Lean 4 →\to HOL LightMRR0.4930.8980.5880.1940.277
XLCoST, 7 languagesMRR0.4490.4640.4510.4380.471
Valentine columnsF10.4580.6140.5740.6150.592
Valentine columnsMRR0.6850.8560.8080.8550.781
NELL →\to DBpediaMRR0.9380.9760.9660.9680.934
YAGO →\to WikidataMRR0.8720.9620.9410.9470.914
MultiFarm zh →\to enMRR0.4040.7540.7100.7260.509
MultiFarm ru →\to enMRR0.2520.7650.6990.7650.319
MultiFarm ar →\to enMRR0.2250.7220.6790.7140.296
Bio-ML validMRR0.6960.8170.7930.8110.760
AnatomyMRR0.8010.8860.8630.8850.846

Table 15. Alternative feature weightings on the same sparse codes (MRR unless stated). Bold: best per row.

Four-prover merge. Running all twelve ordered pairs among Lean 4, Isabelle, Metamath and HOL Light (Gemma-2-9B, layer 20) and merging mutual-top-1 matches into connected components gives Table 4: SAE-IDF’s alignments are more precise and cover almost twice as many statements as dense at equal or higher consistency, so they merge into fewer components, closer to the 489 true problems. Transitivity is computed on the chained triples a method links, so each method is measured on its own subset; Dense−PC1 removes the mean and first principal direction of all merged statements. The same procedure on XLCoST (911 programs in up to seven languages), where notations share their surface, gives transitivity 0.9987 for SAE-IDF and 0.9967 for dense and an adjusted Rand index of 0.983 and 0.962 (Dense−PC1 was not rerun there).

Second model family on the main table. Table 1 includes Llama-3.1-8B with the Llama Scope layer-15 131k SAE on every main-table task with the same native views. SAE-IDF beats dense on 13 of the 14 rows and Dense−PC1 on 10: the formal-mathematics gains carry over (Llama’s dense state is far stronger on Metamath), Valentine improves (F1 0.625 vs. 0.588 dense, MRR 0.862), the knowledge-graph, cross-lingual and biomedical tasks are ties or small deficits against Dense−PC1 (NELL → DBpedia 0.958 vs. 0.960, MultiFarm ru → en 0.726 vs. 0.751, Anatomy 0.844 vs. 0.871), and on XLCoST SAE-IDF trails dense by 0.01 MRR while leading on Precision@6. Without the idf factor the Llama code stays below SAE-IDF on 13 of the 14 rows (all but XLCoST MRR, 0.448 vs. 0.442), and on the Bio-ML training split SAE-IDF reaches 0.789 against 0.727 for dense.

Llama layers on knowledge-graph and cross-lingual terms. Table 16 repeats the Common-KG and MultiFarm runs with every Llama Scope layer: the layer-15 ties with Dense−PC1 become leads at layers 8 and 12 on both knowledge-graph pairs; on MultiFarm (mean of the three language pairs) SAE-IDF leads at layers 12, 20 and 24 and trails Dense−PC1 by at most 0.012 at the others. Across the 18 (task, layer) cells SAE-IDF beats dense in 16 and Dense−PC1 in 10.

TaskLlama Scope SAEDense−PC1SAE unw.SAE-IDF
NELL →\to DBpedialayer 8, 131k0.9530.9600.9450.970
layer 12, 131k0.9390.9500.9370.973
layer 15, 131k0.9490.9600.9300.958
layer 15, 32k0.9490.9600.9420.961
layer 20, 131k0.9470.9580.9040.947
layer 24, 131k0.9380.9510.9080.936
YAGO →\to Wikidatalayer 8, 131k0.8890.9370.8850.949
layer 12, 131k0.8060.9220.8610.955
layer 15, 131k0.8890.9440.9150.944
layer 15, 32k0.8890.9440.9200.955
layer 20, 131k0.9120.9350.8990.928
layer 24, 131k0.9150.9360.8750.926
MultiFarmlayer 8, 131k0.6720.7510.5750.739
layer 12, 131k0.5830.6870.4960.758
layer 15, 131k0.6330.7330.5560.728
layer 15, 32k0.6330.7330.5280.726
layer 20, 131k0.6250.7160.4700.722
layer 24, 131k0.5230.6840.3070.704

Table 16. Llama-3.1-8B layer sweep on Common-KG and MultiFarm (mean of the three pairs), native views, MRR.

Seed study. The only stochastic step is the sampling of views: up to 16 instances per Common-KG class and 16 cell values per Valentine column. Table 17 repeats the main-table runs with other sampling seeds (four seeds for Common-KG, three for Valentine); the ranges are far smaller than the gaps between methods.

TaskSeedsDense−PC1SAE unw.SAE-IDF
NELL →\to DBpedia40.934±0.0020.934 \pm0.0020.954±0.0030.954 \pm0.0030.933±0.0040.933 \pm0.0040.976±0.000\mathbf{0.976 \pm0.000}
YAGO →\to Wikidata40.861±0.0010.861 \pm0.0010.932±0.0030.932 \pm0.0030.874±0.0020.874 \pm0.0020.960±0.0020.960 \pm0.002
Valentine (F1)30.535±0.0020.535 \pm0.0020.534±0.0030.534 \pm0.0030.459±0.0020.459 \pm0.0020.614±0.0010.614 \pm0.001
Valentine (MRR)30.768±0.0010.768 \pm0.0010.762±0.0010.762 \pm0.0010.685±0.0020.685 \pm0.0020.857±0.0020.857 \pm0.002

Table 17. Mean ±\pm half-range over sampling seeds (MRR unless stated). Gemma-2-9B, layer 20, 131k SAE.

Feature-level decomposition and case studies

Cases were selected per task by three rules, applied to the evaluation’s own rankings: wins, correct SAE-IDF matches whose gold counterpart Dense ranks 5th or worse, taking the shortest query texts with the widest SAE-IDF margin over the runner-up; failures, pairs where Dense ranks the gold counterpart first and SAE-IDF does not, taking the shortest; and the features with the largest SAE-IDF contributions over all decomposed matches of the task. For each case we list the gold’s rank under every method, the top five shared features with their share of the cosine and Pile density, the same pair’s top shared features without weighting, and, for failures, the features shared with the wrong top candidate. One XLCoST “failure” is spurious, because the dataset contains the program twice. The full listings for the ten decomposed tasks (38 cases: 28 wins and 10 failures) are released with the code.

Abstention

If a matcher may abstain, how much coverage does it keep at a given precision? For every query the confidence is the cosine margin between the best and the second-best candidate; queries are answered in decreasing order of confidence. Table 20 gives top-1 accuracy with every query answered and the largest coverage at which precision is still at least 90% or 95%, for SAE-IDF and the dense hidden state, from the same weights the evaluation used (XLCoST is omitted because its official pool contains the query’s own row). Every query in these benchmarks has a counterpart, so this measures selective answering; detecting symbols that have no counterpart is not tested.

TasknnDense Top-1Dense Cov.@90%Dense Cov.@95%SAE-IDF Top-1SAE-IDF Cov.@90%SAE-IDF Cov.@95%
Lean 4 → Isabelle4830.8800.960.890.9361.000.98
Lean 4 → Metamath4820.1270.010.010.5370.240.21
Lean 4 → HOL Light3170.4540.240.200.8550.930.85
Valentine columns8,3460.6220.380.220.7380.670.53
NELL → DBpedia1290.8990.990.910.9611.001.00
YAGO → Wikidata3040.8190.890.760.9411.000.97
MultiFarm zh → en2460.5490.420.320.6590.410.30
MultiFarm ru → en2460.5530.290.200.6630.340.20
MultiFarm ar → en2390.5230.310.210.6280.440.24

Table 20. Margin-based abstention. Cov.@90%: the fraction of queries that can be answered while top-1 precision stays at or above 90%.

Post-hoc controls and analyses

The experiments in this section were added after the main results, with their decision rules written down before they ran.

Stronger dense controls. On the stored dense vectors of every main-table run, each fitted on the same reference collection DD as the idf: removal of the top 36 principal directions (≈d/100\approx d/100), per-dimension standardisation, ZCA whitening with Ledoit–Wolf shrinkage, and two dense-idf variants that mark a symbol’s 114 largest standardised coordinates as active, compute an idf over those activity sets, and weight either all coordinates or only the active ones (Table 21). The pre-registered rule—drop the anisotropy claim if any single control is within noise of SAE-IDF on at least 8 of 16 rows—was not met: whitening is the strongest control and ties or beats SAE-IDF only on the two Common-KG pairs, where it reaches 0.989 and 0.964, while it collapses on MultiFarm (0.14–0.17 MRR), falls below dense on XLCoST and leaves Metamath at 0.465 and HOL Light at 0.786. For Valentine the transforms are fitted on all target columns of all pairs.

A random dictionary of the same width and sparsity. To separate the learned features from sparsity plus rarity weighting, we replaced the SAE encoder by a random one of the same width (F=131,072F = 131{,}072; i.i.d. Gaussian columns, unit norm, no bias) with one global JumpReLU threshold calibrated so that its mean number of active features per token on a fixed sample of symbol tokens equals the real SAE’s on the same tokens (122.6 vs. 127.8), and ran the whole pipeline—native views, per-token encoding, averaging, idf over the same collection, cosine—unchanged on every main-table row (Table 22). The pre-registered rule: the title stands if SAE-IDF is significantly ahead of the random dictionary with idf on at least 12 of 16 rows; the contribution is re-described as rarity weighting of sparse codes if the random dictionary is within noise on at least 8. The first rule holds: SAE-IDF is significantly ahead of the random dictionary with idf on 16 of 17 bootstrapped comparisons (the exception is XLCoST C#, a tie), by 0.10–0.55 MRR on formal mathematics and 0.07– 0.30 on knowledge-graph and cross-lingual terms, and the random dictionary with idf is below the plain dense state on every row. The biomedical tasks, run the same way after they joined the main table, agree: SAE-IDF leads the random dictionary with idf by 0.10–0.13 MRR on both Bio-ML splits and on Anatomy (p<0.001p < 0.001), and the random dictionary stays below dense there too. Sparsity plus rarity weighting is therefore not enough; the learned features carry the result, and the weighting is what makes them usable. The calibration matched the mean number of active features (122.6 vs. 127.8) but not its distribution: with one global threshold on anisotropic activations the random code’s median is 50 features and 11% of its features never fire on the calibration sample, whereas the SAE’s thresholds are per feature.

TaskMetricDenseRandom, unw.Random + idfSAE unw.SAE-IDF
Lean 4 → IsabelleMRR0.9120.8450.8650.8820.961
Lean 4 → MetamathMRR0.2100.1560.1460.0950.661
Lean 4 → HOL LightMRR0.5390.4840.3490.4930.898
XLCoST, 7 languagesMRR0.4540.4290.4170.4490.464
XLCoST, 7 languagesP@60.6800.6070.6270.6730.732
Valentine columnsF10.5330.4600.4820.4580.614
Valentine columnsMRR0.7660.6540.6470.6850.856
NELL → DBpediaMRR0.9310.9010.9010.9380.976
YAGO → WikidataMRR0.8600.7970.7970.8720.962
MultiFarm zh → enMRR0.6500.4820.5330.4040.754
MultiFarm ru → enMRR0.6440.4480.5420.2520.765
MultiFarm ar → enMRR0.5950.3680.4250.2250.722
Bio-ML validMRR0.7010.6800.6920.6960.817
Bio-ML trainMRR0.7360.6930.7110.7360.815
AnatomyMRR0.8120.7910.7880.8010.886

Table 22. A random 131k-feature dictionary with the SAE’s sparsity, unweighted and with the same idf weighting, against the SAE (MRR unless stated). Bold: best per row.

idf from a held-out library. The idf of the main table is computed over the candidate pool. Computing it instead from 3,000 theorems sampled from set.mm (for Metamath) and 3,000 library terms from the HOL Light distribution (for HOL Light), rendered as the test statements are and encoded with the same model and SAE, gives MRR 0.588 on Lean 4 → Metamath (pool idf 0.661; dense 0.210) and 0.906 on → HOL Light (0.898). By the pre-registered threshold (a drop of more than 0.05) the Metamath result makes the choice of reference collection a stated limitation; a library idf is nonetheless far above every dense baseline on both tasks.

A random sample of failures. Appendix § 19 selects case studies by rule; here five failures per task on the same ten tasks (gold not ranked first by SAE-IDF) were drawn uniformly at random (seed 0) and decomposed in the same way, into the features the query shares with the gold counterpart and with the wrong top-1 candidate. Failure rates range from 0.5% of XLCoST queries and 4% of NELL → DBpedia to 46% on Lean 4 → Metamath and 34–37% on MultiFarm; when SAE-IDF fails, the gold is still within the top five in 57–100% of cases, and Dense ranks it first in only 2–10% of our failures on Metamath, HOL Light, MultiFarm Arabic and Valentine, 16–33% on MultiFarm Chinese and Russian, YAGO and XLCoST, and 45% and 60% on Isabelle and NELL → DBpedia, so most failures are shared by both representations. The features carrying the wrong matches have the same explanation-type mix as those carrying the gold (about 62% concept, 16% notation, 5% generic on both sides); the single largest contributor across all sampled failures is a generic feature (“specific structured information or categories”) on XLCoST. The 316 distinct features involved are released with their Neuronpedia explanations for a human check of the automatic names.

Statistical significance

For every comparison in the main table we take the per-query quantity that the metric averages (the official per-query MRR for miniF2F and XLCoST, the per-pair F1 or MRR for Valentine, the reciprocal rank of the gold counterpart for the ontology and knowledge-graph tasks), resample the queries with replacement 10,000 times, and report the mean difference SAE-IDF minus baseline with its 95% percentile interval and the one-sided bootstrap pp-value P(Δ≤0)P(\Delta\le0) (Table 23). Every gain over Dense has p<0.004p < 0.004. The gain over Dense−PC1 has p<0.01p < 0.01 on every row except the three MultiFarm pairs and NELL →\to DBpedia, where the interval covers zero. Against strings, SAE-IDF is significantly ahead on all formal-mathematics, knowledge-graph and ontology tasks (Lean 4 →\to Metamath marginally, p=0.02p = 0.02), tied on XLCoST Python, PHP and C, and significantly behind word TF-IDF on XLCoST Java, C++, C# and JavaScript. Table 25 applies the same bootstrap to the post-hoc controls of Appendix § 21. Table 24 repeats the analysis for the Llama-3.1-8B runs: the gains over dense stay significant on the formal-mathematics, Valentine, YAGO, MultiFarm and biomedical tasks, while NELL →\to DBpedia is a tie, XLCoST is mixed (small significant gains on Java, C# and PHP, deficits on C++, Python and JavaScript), and Dense−PC1 is significantly ahead on Anatomy.

Tasknnvs. Dense Δ\Delta [95% CI]ppvs. Dense−PC1 Δ\Delta [95% CI]ppvs. Strings Δ\Delta [95% CI]pp
Lean 4 → Isabelle483+0.048 [+0.027, +0.071]<.001+0.034 [+0.014, +0.055]<.001+0.136 [+0.105, +0.168]<.001
Lean 4 → Metamath482+0.451 [+0.418, +0.485]<.001+0.510 [+0.475, +0.546]<.001+0.046 [+0.002, +0.090]0.02
Lean 4 → HOL Light317+0.359 [+0.315, +0.405]<.001+0.367 [+0.322, +0.412]<.001+0.157 [+0.114, +0.200]<.001
XLCoST Java3,918+0.014 [+0.013, +0.016]<.001+0.015 [+0.013, +0.016]<.001−0.005 [−0.006, −0.004]1.00
XLCoST C++3,895+0.008 [+0.007, +0.010]<.001+0.009 [+0.008, +0.011]<.001−0.008 [−0.009, −0.006]1.00
XLCoST Python3,853+0.011 [+0.009, +0.012]<.001+0.017 [+0.016, +0.019]<.001+0.000 [−0.001, +0.002]0.25
XLCoST C#3,898+0.013 [+0.012, +0.015]<.001+0.013 [+0.012, +0.015]<.001−0.006 [−0.006, −0.005]1.00
XLCoST JavaScript3,851+0.006 [+0.005, +0.008]<.001+0.010 [+0.009, +0.012]<.001−0.005 [−0.006, −0.004]1.00
XLCoST PHP1,566+0.010 [+0.008, +0.011]<.001+0.010 [+0.008, +0.011]<.001+0.001 [−0.000, +0.003]0.07
XLCoST C283+0.013 [+0.009, +0.016]<.001+0.010 [+0.008, +0.013]<.001−0.004 [−0.008, +0.000]0.96
Valentine (F1)551+0.081 [+0.074, +0.089]<.001+0.080 [+0.072, +0.089]<.001–
Valentine (MRR)551+0.090 [+0.075, +0.105]<.001+0.095 [+0.082, +0.109]<.001–
NELL → DBpedia129+0.045 [+0.011, +0.081]<.01+0.018 [−0.009, +0.048]0.11+0.040 [+0.014, +0.071]<.001
YAGO → Wikidata304+0.102 [+0.070, +0.136]<.001+0.030 [+0.007, +0.054]<.01+0.062 [+0.039, +0.087]<.001
MultiFarm zh → en246+0.104 [+0.058, +0.151]<.001−0.006 [−0.040, +0.028]0.64+0.524 [+0.467, +0.578]<.001
MultiFarm ru → en246+0.121 [+0.079, +0.162]<.001+0.014 [−0.017, +0.045]0.19+0.531 [+0.480, +0.581]<.001
MultiFarm ar → en239+0.127 [+0.088, +0.168]<.001+0.019 [−0.016, +0.054]0.14+0.484 [+0.429, +0.539]<.001
Bio-ML valid634+0.117 [+0.094, +0.141]<.001+0.086 [+0.064, +0.107]<.001+0.038 [+0.017, +0.059]<.001
Bio-ML train3,845+0.080 [+0.071, +0.089]<.001+0.057 [+0.049, +0.066]<.001+0.026 [+0.019, +0.034]<.001
Anatomy1,516+0.074 [+0.061, +0.087]<.001+0.021 [+0.009, +0.033]<.001+0.152 [+0.137, +0.167]<.001

Table 23. Paired bootstrap over queries (10,000 resamples): mean difference SAE-IDF minus baseline, 95% interval, and one-sided bootstrap pp-value. Valentine has no string baseline.

Tasknnvs. Dense Δ\Delta [95% CI]ppvs. Dense−PC1 Δ\Delta [95% CI]ppvs. Strings Δ\Delta [95% CI]pp
Lean 4 → Isabelle483+0.034 [+0.018, +0.052]<.001+0.032 [+0.015, +0.049]<.001+0.152 [+0.120, +0.184]<.001
Lean 4 → Metamath482+0.141 [+0.109, +0.173]<.001+0.150 [+0.118, +0.182]<.001+0.172 [+0.132, +0.213]<.001
Lean 4 → HOL Light317+0.303 [+0.260, +0.348]<.001+0.207 [+0.170, +0.245]<.001+0.166 [+0.123, +0.208]<.001
XLCoST Java3,918+0.007 [+0.004, +0.009]<.001+0.010 [+0.008, +0.012]<.001−0.015 [−0.017, −0.014]1.00
XLCoST C++3,895−0.058 [−0.062, −0.053]1.00−0.053 [−0.058, −0.049]1.00−0.067 [−0.071, −0.063]1.00
XLCoST Python3,853−0.011 [−0.013, −0.009]1.00−0.002 [−0.005, +0.000]0.96−0.024 [−0.027, −0.021]1.00
XLCoST C#3,898+0.005 [+0.003, +0.008]<.001+0.010 [+0.008, +0.012]<.001−0.017 [−0.019, −0.016]1.00
XLCoST JavaScript3,851−0.004 [−0.005, −0.002]1.00+0.001 [−0.001, +0.002]0.19−0.017 [−0.019, −0.016]1.00
XLCoST PHP1,566+0.003 [+0.001, +0.005]<.01+0.006 [+0.003, +0.008]<.001−0.013 [−0.015, −0.011]1.00
XLCoST C283+0.000 [−0.002, +0.002]0.48−0.004 [−0.007, −0.002]1.00−0.025 [−0.029, −0.020]1.00
Valentine (F1)551+0.037 [+0.030, +0.044]<.001+0.046 [+0.039, +0.053]<.001–
Valentine (MRR)551+0.075 [+0.067, +0.083]<.001+0.051 [+0.042, +0.059]<.001–
NELL → DBpedia129+0.009 [−0.021, +0.040]0.27−0.002 [−0.028, +0.024]0.57+0.022 [−0.004, +0.052]0.05
YAGO → Wikidata304+0.056 [+0.030, +0.083]<.001+0.000 [−0.021, +0.022]0.49+0.045 [+0.024, +0.067]<.001
MultiFarm zh → en246+0.128 [+0.087, +0.170]<.001+0.008 [−0.022, +0.038]0.31+0.557 [+0.508, +0.606]<.001
MultiFarm ru → en246+0.065 [+0.022, +0.107]<.01−0.024 [−0.059, −0.010]0.92+0.492 [+0.441, +0.545]<.001
MultiFarm ar → en239+0.094 [+0.050, +0.139]<.001+0.002 [−0.038, +0.044]0.46+0.434 [+0.379, +0.488]<.001
Bio-ML valid634+0.075 [+0.052, +0.099]<.001+0.069 [+0.047, +0.091]<.001−0.000 [−0.021, +0.020]0.51
Bio-ML train3,845+0.062 [+0.053, +0.071]<.001+0.046 [+0.038, +0.055]<.001−0.000 [−0.008, +0.007]0.51
Anatomy1,516+0.043 [+0.029, +0.058]<.001−0.027 [−0.040, −0.015]1.00+0.110 [+0.094, +0.126]<.001

Table 24. The same paired bootstrap for the Llama-3.1-8B runs (layer 15, Llama Scope 131k).

What did not work

Generated contexts (Appendix § 17) and a drug-name task with shared metadata, where the shared text leaked the answer to both sides. Pooling hidden states before SAE encoding, which drops features that fire on part of a symbol. A “universal” idf computed from Pile densities instead of the matched collection, which was worse on every task (0.190 vs. 0.661 MRR on Metamath) because it does not know which features are generic for these two systems. Qwen2.5-7B-Instruct as a context generator (broken fragments and factual errors). Using synonyms as context, which hands over the other side’s label. Smaller candidate pools (a 59-pair Valentine subset gave the opposite verdict to the full 551 pairs), which is why every reported number is on full data.

RowComparisonnnSAE-IDFotherΔ\Delta [95% CI]pp
S1: random dictionary of the same width and sparsity
Lean 4 →\to IsabelleRandom + idf4830.9610.865+0.096 [+0.068, +0.125]<0.001
Lean 4 →\to IsabelleRandom, unw.4830.9610.845+0.116 [+0.088, +0.145]<0.001
Lean 4 →\to MetamathRandom + idf4820.6610.146+0.516 [+0.476, +0.555]<0.001
Lean 4 →\to MetamathRandom, unw.4820.6610.156+0.505 [+0.466, +0.543]<0.001
Lean 4 →\to HOL LightRandom + idf3170.8980.349+0.549 [+0.500, +0.596]<0.001
Lean 4 →\to HOL LightRandom, unw.3170.8980.484+0.414 [+0.367, +0.461]<0.001
XLCoST JavaRandom + idf39180.4800.420+0.060 [+0.056, +0.063]<0.001
XLCoST JavaRandom, unw.39180.4800.467+0.013 [+0.011, +0.016]<0.001
XLCoST CppRandom + idf38950.4780.317+0.161 [+0.155, +0.167]<0.001
XLCoST CppRandom, unw.38950.4780.387+0.091 [+0.087, +0.096]<0.001
XLCoST PythonRandom + idf38530.4850.471+0.014 [+0.013, +0.016]<0.001
XLCoST PythonRandom, unw.38530.4850.472+0.013 [+0.011, +0.015]<0.001
XLCoST CsharpRandom + idf38980.4790.479+0.000 [-0.002, +0.002]0.366
XLCoST CsharpRandom, unw.38980.4790.483-0.004 [-0.006, -0.002]1.000
XLCoST JavascriptRandom + idf38510.4820.470+0.012 [+0.009, +0.014]<0.001
XLCoST JavascriptRandom, unw.38510.4820.478+0.003 [+0.001, +0.005]<0.001
XLCoST PHPRandom + idf15660.4420.426+0.016 [+0.013, +0.019]<0.001
XLCoST PHPRandom, unw.15660.4420.421+0.021 [+0.017, +0.024]<0.001
XLCoST CRandom + idf2830.4050.336+0.069 [+0.059, +0.079]<0.001
XLCoST CRandom, unw.2830.4050.295+0.110 [+0.099, +0.122]<0.001
NELL →\to DBpediaRandom + idf1290.9760.901+0.075 [+0.032, +0.121]<0.001
NELL →\to DBpediaRandom, unw.1290.9760.901+0.075 [+0.032, +0.123]<0.001
YAGO →\to WikidataRandom + idf3040.9620.797+0.165 [+0.126, +0.204]<0.001
YAGO →\to WikidataRandom, unw.3040.9620.797+0.165 [+0.126, +0.206]<0.001
MultiFarm zh →\to enRandom + idf2460.7540.533+0.221 [+0.165, +0.274]<0.001
MultiFarm zh →\to enRandom, unw.2460.7540.482+0.272 [+0.218, +0.327]<0.001
MultiFarm ru →\to enRandom + idf2460.7650.542+0.222 [+0.170, +0.275]<0.001
MultiFarm ru →\to enRandom, unw.2460.7650.448+0.316 [+0.261, +0.370]<0.001
MultiFarm ar →\to enRandom + idf2390.7220.425+0.297 [+0.245, +0.351]<0.001
MultiFarm ar →\to enRandom, unw.2390.7220.368+0.354 [+0.301, +0.410]<0.001
Bio-ML validRandom + idf6340.8170.692+0.126 [+0.100, +0.152]<0.001
Bio-ML validRandom, unw.6340.8170.680+0.137 [+0.111, +0.162]<0.001
Bio-ML trainRandom + idf38450.8150.711+0.105 [+0.095, +0.115]<0.001
Bio-ML trainRandom, unw.38450.8150.693+0.123 [+0.113, +0.133]<0.001
AnatomyRandom + idf15160.8860.788+0.098 [+0.083, +0.114]<0.001
AnatomyRandom, unw.15160.8860.791+0.094 [+0.078, +0.111]<0.001
Valentine (F1)Random + idf5510.6140.482+0.132 [+0.118, +0.147]<0.001
Valentine (F1)Random, unw.5510.6140.460+0.154 [+0.137, +0.172]<0.001
Valentine (MRR)Random + idf5510.8560.647+0.209 [+0.187, +0.231]<0.001
Valentine (MRR)Random, unw.5510.8560.654+0.202 [+0.179, +0.226]<0.001

Table 25. Paired bootstrap for the post-hoc controls of Appendix § 21: SAE-IDF minus the comparison, per row (XLCoST per language), with the 95% interval and one-sided pp.

RowComparisonnnSAE-IDFotherΔ\Delta [95% CI]pp
S2: stronger dense controls
Lean 4 → Isabelle−36 PCs4830.9610.928+0.033 [+0.014, +0.052]<0.001
Lean 4 → Isabellez-score4830.9610.942+0.019 [+0.001, +0.038]0.020
Lean 4 → IsabelleZCA4830.9610.946+0.015 [−0.002, +0.032]0.041
Lean 4 → Isabelledense-idf4830.9610.942+0.019 [+0.001, +0.037]0.020
Lean 4 → Isabellesparse dense-idf4830.9610.914+0.047 [+0.026, +0.069]<0.001
Lean 4 → Metamath−36 PCs4820.6610.401+0.260 [+0.225, +0.297]<0.001
Lean 4 → Metamathz-score4820.6610.257+0.404 [+0.369, +0.439]<0.001
Lean 4 → MetamathZCA4820.6610.465+0.196 [+0.163, +0.230]<0.001
Lean 4 → Metamathdense-idf4820.6610.251+0.410 [+0.375, +0.446]<0.001
Lean 4 → Metamathsparse dense-idf4820.6610.235+0.426 [+0.392, +0.461]<0.001
Lean 4 → HOL Light−36 PCs3170.8980.728+0.170 [+0.133, +0.208]<0.001
Lean 4 → HOL Lightz-score3170.8980.707+0.191 [+0.154, +0.230]<0.001
Lean 4 → HOL LightZCA3170.8980.786+0.112 [+0.080, +0.145]<0.001
Lean 4 → HOL Lightdense-idf3170.8980.706+0.192 [+0.154, +0.231]<0.001
Lean 4 → HOL Lightsparse dense-idf3170.8980.605+0.293 [+0.250, +0.335]<0.001
XLCoST Java−36 PCs39180.9940.489+0.505 [+0.495, +0.514]<0.001
XLCoST Javaz-score39180.9940.460+0.533 [+0.523, +0.543]<0.001
XLCoST JavaZCA39180.9940.463+0.531 [+0.521, +0.541]<0.001
XLCoST Javadense-idf39180.9940.460+0.533 [+0.523, +0.543]<0.001
XLCoST Javasparse dense-idf39180.9940.466+0.527 [+0.517, +0.537]<0.001
XLCoST Cpp−36 PCs38950.9850.483+0.503 [+0.493, +0.512]<0.001
XLCoST Cppz-score38950.9850.477+0.508 [+0.498, +0.518]<0.001
XLCoST CppZCA38950.9850.472+0.513 [+0.503, +0.524]<0.001
XLCoST Cppdense-idf38950.9850.477+0.508 [+0.499, +0.518]<0.001
XLCoST Cppsparse dense-idf38950.9850.475+0.510 [+0.500, +0.520]<0.001
XLCoST Python−36 PCs38530.9910.483+0.508 [+0.498, +0.517]<0.001
XLCoST Pythonz-score38530.9910.477+0.514 [+0.504, +0.523]<0.001
XLCoST PythonZCA38530.9910.405+0.586 [+0.575, +0.597]<0.001
XLCoST Pythondense-idf38530.9910.477+0.514 [+0.505, +0.524]<0.001
XLCoST Pythonsparse dense-idf38530.9910.442+0.549 [+0.539, +0.560]<0.001
XLCoST Csharp−36 PCs38980.9940.488+0.506 [+0.497, +0.516]<0.001
XLCoST Csharpz-score38980.9940.459+0.535 [+0.525, +0.545]<0.001
XLCoST CsharpZCA38980.9940.462+0.532 [+0.522, +0.542]<0.001
XLCoST Csharpdense-idf38980.9940.459+0.535 [+0.525, +0.545]<0.001
XLCoST Csharpsparse dense-idf38980.9940.464+0.530 [+0.520, +0.540]<0.001
XLCoST Javascript−36 PCs38510.9900.488+0.502 [+0.493, +0.512]<0.001
XLCoST Javascriptz-score38510.9900.479+0.511 [+0.502, +0.521]<0.001
XLCoST JavascriptZCA38510.9900.481+0.510 [+0.500, +0.519]<0.001
XLCoST Javascriptdense-idf38510.9900.479+0.511 [+0.502, +0.521]<0.001
XLCoST Javascriptsparse dense-idf38510.9900.478+0.513 [+0.503, +0.522]<0.001
XLCoST PHP−36 PCs15660.9880.444+0.544 [+0.529, +0.558]<0.001
XLCoST PHPz-score15660.9880.437+0.551 [+0.536, +0.565]<0.001
XLCoST PHPZCA15660.9880.388+0.600 [+0.583, +0.617]<0.001

Table 25 (PDF p. 27). Paired bootstrap for the post-hoc controls of Appendix K (continued).

RowComparisonnnSAE-IDFotherΔ\Delta [95% CI]pp
S2: stronger dense controls, continued
XLCoST PHPdense-idf15660.9880.437+0.551 [+0.536, +0.566]<0.001
XLCoST PHPsparse dense-idf15660.9880.435+0.553 [+0.538, +0.568]<0.001
XLCoST C−36 PCs2830.9790.316+0.663 [+0.625, +0.700]<0.001
XLCoST Cz-score2830.9790.393+0.585 [+0.549, +0.620]<0.001
XLCoST CZCA2830.9790.283+0.696 [+0.655, +0.738]<0.001
XLCoST Cdense-idf2830.9790.394+0.585 [+0.549, +0.620]<0.001
XLCoST Csparse dense-idf2830.9790.397+0.581 [+0.546, +0.616]<0.001
NELL → DBpedia−36 PCs1290.9760.973+0.003 [-0.016, +0.019]0.437
NELL → DBpediaz-score1290.9760.923+0.053 [+0.015, +0.094]0.003
NELL → DBpediaZCA1290.9760.989-0.013 [-0.033, +0.003]0.952
NELL → DBpediadense-idf1290.9760.923+0.053 [+0.016, +0.094]0.002
NELL → DBpediasparse dense-idf1290.9760.925+0.051 [+0.008, +0.097]0.009
YAGO → Wikidata−36 PCs3040.9620.957+0.005 [-0.013, +0.023]0.283
YAGO → Wikidataz-score3040.9620.814+0.148 [+0.110, +0.188]<0.001
YAGO → WikidataZCA3040.9620.964-0.003 [-0.018, +0.013]0.631
YAGO → Wikidatadense-idf3040.9620.812+0.150 [+0.111, +0.190]<0.001
YAGO → Wikidatasparse dense-idf3040.9620.847+0.115 [+0.081, +0.151]<0.001
MultiFarm zh → en−36 PCs2460.7540.250+0.504 [+0.451, +0.557]<0.001
MultiFarm zh → enz-score2460.7540.714+0.040 [+0.002, +0.077]0.020
MultiFarm zh → enZCA2460.7540.136+0.618 [+0.564, +0.669]<0.001
MultiFarm zh → endense-idf2460.7540.710+0.044 [+0.006, +0.081]0.012
MultiFarm zh → ensparse dense-idf2460.7540.582+0.172 [+0.124, +0.221]<0.001
MultiFarm ru → en−36 PCs2460.7650.259+0.506 [+0.449, +0.561]<0.001
MultiFarm ru → enz-score2460.7650.713+0.052 [+0.013, +0.091]0.004
MultiFarm ru → enZCA2460.7650.156+0.609 [+0.555, +0.662]<0.001
MultiFarm ru → endense-idf2460.7650.710+0.055 [+0.015, +0.094]0.004
MultiFarm ru → ensparse dense-idf2460.7650.582+0.182 [+0.135, +0.229]<0.001
MultiFarm ar → en−36 PCs2390.7220.240+0.482 [+0.428, +0.535]<0.001
MultiFarm ar → enz-score2390.7220.651+0.071 [+0.036, +0.108]<0.001
MultiFarm ar → enZCA2390.7220.170+0.552 [+0.498, +0.606]<0.001
MultiFarm ar → endense-idf2390.7220.644+0.078 [+0.042, +0.116]<0.001
MultiFarm ar → ensparse dense-idf2390.7220.545+0.177 [+0.130, +0.223]<0.001
Valentine (F1)−36 PCs5510.6140.468+0.146 [+0.130, +0.161]<0.001
Valentine (F1)z-score5510.6140.459+0.155 [+0.138, +0.171]<0.001
Valentine (F1)ZCA5510.6140.411+0.204 [+0.186, +0.222]<0.001
Valentine (F1)dense-idf5510.6140.399+0.215 [+0.196, +0.233]<0.001
Valentine (F1)sparse dense-idf5510.6140.208+0.406 [+0.385, +0.427]<0.001
Valentine (MRR)−36 PCs5510.8560.548+0.308 [+0.287, +0.329]<0.001
Valentine (MRR)z-score5510.8560.529+0.327 [+0.305, +0.349]<0.001
Valentine (MRR)ZCA5510.8560.503+0.353 [+0.331, +0.373]<0.001
Valentine (MRR)dense-idf5510.8560.485+0.371 [+0.350, +0.393]<0.001
Valentine (MRR)sparse dense-idf5510.8560.390+0.466 [+0.445, +0.485]<0.001

Table 25 (PDF p. 28). Paired bootstrap for the post-hoc controls of Appendix § 21 (continued).

References

  1. [1]Stephen F. Altschul, Warren Gish, Webb Miller, Eugene W. Myers, and David J. Lipman. 1990. Basic local alignment search tool. Journal of Molecular Biology, 215(3):403–410.
  2. [2]Sanjeev Arora, Yingyu Liang, and Tengyu Ma. 2017. A simple but tough-to-beat baseline for sentence embeddings. In International Conference on Learning Representations (ICLR).
  3. [3]Michael Ashburner, Catherine A. Ball, Judith A. Blake, David Botstein, et al. 2000. Gene Ontology: Tool for the unification of biology. Nature Genetics, 25(1):25–29.pubmed.ncbi.nlm.nih.gov/10802651
  4. [4]Samy Badreddine, Artur d’Avila Garcez, Luciano Serafini, and Michael Spranger. 2022. Logic Tensor Networks. Artificial Intelligence, 303:103649.DOI
  5. [5]Steven Bills, Nick Cammarata, Dan Mossing, Henk Tillman, Leo Gao, Gabriel Goh, Ilya Sutskever, Jan Leike, Jeff Wu, and William Saunders. 2023. Language models can explain neurons in language models. OpenAI.
  6. [6]Olivier Bodenreider, Terry F. Hayamizu, Martin Ringwald, Sherri De Coronado, and Songmao Zhang. 2005. Of mice and men: Aligning mouse and human anatomies. In AMIA Annual Symposium Proceedings, pages 61–65.pubmed.ncbi.nlm.nih.gov/16779002
  7. [7]Timothy J. Boerner, Stephen Deems, Thomas R. Furlani, Shelley L. Knuth, and John Towns. 2023. ACCESS: Advancing innovation: NSF’s advanced cyberinfrastructure coordination ecosystem: Services & support. In Practice and Experience in Advanced Research Computing (PEARC ’23), pages 173–176. ACM.
  8. [8]Grady Booch, Francesco Fabiano, Lior Horesh, Kiran Kate, Jon Lechner, Nick Linck, Andrea Loreggia, Keerthiram Murugesan, Nicholas Mattei, Francesca Rossi, and Biplav Srivastava. 2021. Thinking fast and slow in AI. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 15042–15046.arxiv.org/abs/2010.06002
  9. [9]Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Zac Hatfield-Dodds, Alex Tamkin, Karina Nguyen, and 6 others. 2023. Towards monosemanticity: Decomposing language models with dictionary learning. Transformer Circuits Thread.
  10. [10]Jannik Brinkmann, Chris Wendler, Christian Bartelt, and Aaron Mueller. 2025. Large language models share representations of latent grammatical concepts across typologically diverse languages. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 6131–6150.
  11. [11]Jianlyu Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. 2024. M3-Embedding: Multi-linguality, multi-functionality, multi-granularity text embeddings through self-knowledge distillation. In Findings of the Association for Computational Linguistics: ACL 2024, pages 2318–2335.arxiv.org/abs/2402.03216
  12. [12]Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, and Lee Sharkey. 2024. Sparse autoencoders find highly interpretable features in language models. In International Conference on Learning Representations (ICLR).arxiv.org/abs/2309.08600
  13. [15]Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, and Christopher Olah. 2022. Toy models of superposition. Transformer Circuits Thread. ArXiv:2209.10652.arxiv.org/abs/2209.10652
  14. [16]Kawin Ethayarajh. 2019. How contextual are contextualized word representations? Comparing the geometry of BERT, ELMo, and GPT-2 embeddings. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).arxiv.org/abs/1909.00512
  15. [17]Jérôme Euzenat and Pavel Shvaiko. 2013. Ontology Matching, 2nd edition. Springer, Heidelberg.
  16. [18]Richard Evans and Edward Grefenstette. 2018. Learning explanatory rules from noisy data. Journal of Artificial Intelligence Research, 61:1–64.arxiv.org/abs/1711.04574
  17. [19]Omaima Fallatah, Ziqi Zhang, and Frank Hopfgartner. 2020. A gold standard dataset for large knowledge graphs matching. In Proceedings of the 15th International Workshop on Ontology Matching (OM 2020), CEUR Workshop Proceedings 2788.
  18. [20]Zhangyin Feng, Daya Guo, Duyu Tang, Nan Duan, Xiaochen Feng, Ming Gong, Linjun Shou, Bing Qin, Ting Liu, Daxin Jiang, and Ming Zhou. 2020. CodeBERT: A pre-trained model for programming and natural languages. In Findings of the Association for Computational Linguistics: EMNLP 2020.arxiv.org/abs/2002.08155
  19. [21]Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nbesihama, Shawn Presser, and Connor Leahy. 2020. The Pile: An 800GB dataset of diverse text for language modeling. ArXiv:2101.00027.arxiv.org/abs/2101.00027
  20. [22]Leo Gao, Tom Dupré la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. 2025. Scaling and evaluating sparse autoencoders. In International Conference on Learning Representations (ICLR).arxiv.org/abs/2406.04093
  21. [23]Gemma Team, Morgane Riviere, Shreya Pathak, Pier Giuseppe Sessa, et al. 2024. Gemma 2: Improving open language models at a practical size. ArXiv:2408.00118.
  22. [24]Anirudh Goyal and Yoshua Bengio. 2022. Inductive biases for deep learning of higher-level cognition. Proceedings of the Royal Society A, 478(2266):20210068.arxiv.org/abs/2011.15091
  23. [25]Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, et al. 2024. The Llama 3 herd of models. ArXiv:2407.21783.
  24. [26]Daya Guo, Shuai Lu, Nan Duan, Yanlin Wang, Ming Zhou, and Jian Yin. 2022. UniXcoder: Unified cross-modal pre-training for code representation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (ACL).arxiv.org/abs/2203.03850
  25. [27]Yuan He, Jiaoyan Chen, Denvar Antonyrajah, and Ian Horrocks. 2022a. BERTMap: A BERT-based ontology alignment system. In Proceedings of the 36th AAAI Conference on Artificial Intelligence.arxiv.org/abs/2112.02682
  26. [28]Yuan He, Jiaoyan Chen, Hang Dong, Ernesto Jiménez-Ruiz, Ali Hadian, and Ian Horrocks. 2022b. Machine learning-friendly biomedical datasets for equivalence and subsumption ontology matching. In The Semantic Web – ISWC 2022.arxiv.org/abs/2205.03447
  27. [29]Zhengfu He, Wentao Shu, Xuyang Ge, Lingjie Chen, Junxuan Wang, Yunhua Zhou, Frances Liu, Qipeng Guo, Xuanjing Huang, Zuxuan Wu, Yu-Gang Jiang, and Xipeng Qiu. 2024. Llama scope: Extracting millions of features from Llama-3.1-8B with sparse autoencoders. ArXiv:2410.20526.arxiv.org/abs/2410.20526
  28. [30]Sven Hertling and Heiko Paulheim. 2023. OLaLa: Ontology matching with large language models. In Proceedings of the 12th Knowledge Capture Conference (K-CAP).DOI
  29. [31]Ernesto Jiménez-Ruiz and Bernardo Cuenca Grau. 2011. LogMap: Logic-based and scalable ontology matching. In The Semantic Web – ISWC 2011, LNCS 7031, pages 273–288. Springer.
  30. [32]Daniel Kahneman. 2011. Thinking, Fast and Slow. Farrar, Straus and Giroux, New York.
  31. [33]Subhash Kantamneni, Joshua Engels, Senthooran Rajamanoharan, Max Tegmark, and Neel Nanda. 2025. Are sparse autoencoders useful? A case study in sparse probing. In International Conference on Machine Learning (ICML).arxiv.org/abs/2502.16681
  32. [34]Sunghwan Kim, Jie Chen, Tiejun Cheng, Asta Gindulyte, Jia He, Siqian He, Qingliang Li, Benjamin A. Shoemaker, Paul A. Thiessen, Bo Yu, Leonid Zaslavsky, Jian Zhang, and Evan E. Bolton. 2023. PubChem 2023 update. Nucleic Acids Research, 51(D1):D1373–D1380.DOI
  33. [35]Christos Koutras, George Siachamis, Andra Ionescu, Kyriakos Psarakis, Jerry Brons, Marios Fragkoulis, Christoph Lofi, Angela Bonifati, and Asterios Katsifodimos. 2021. Valentine: Evaluating matching techniques for dataset discovery. In IEEE 37th International Conference on Data Engineering (ICDE).arxiv.org/abs/2010.07386
  34. [36]Guillaume Lample and François Charton. 2020. Deep learning for symbolic mathematics. In International Conference on Learning Representations (ICLR).arxiv.org/abs/1912.01412
  35. [37]Douglas B. Lenat. 1995. CYC: A large-scale investment in knowledge infrastructure. Communications of the ACM, 38(11):33–38.DOI
  36. [38]Tom Lieberum, Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Nicolas Sonnerat, Vikrant Varma, János Kramár, Anca Dragan, Rohin Shah, and Neel Nanda. 2024. Gemma scope: Open sparse autoencoders everywhere all at once on gemma 2. ArXiv:2408.05147.arxiv.org/abs/2408.05147
  37. [39]Johnny Lin. 2023. Neuronpedia: Interactive reference and tooling for analyzing neural networks. Software available from neuronpedia.org.
  38. [40]Robin Manhaeve, Sebastijan Dumančić, Angelika Kimmig, Thomas Demeester, and Luc De Raedt. 2018. DeepProbLog: Neural probabilistic logic programming. In Advances in Neural Information Processing Systems, volume 31.arxiv.org/abs/1805.10872
  39. [41]Jiayuan Mao, Chuang Gan, Pushmeet Kohli, Joshua B. Tenenbaum, and Jiajun Wu. 2019. The Neuro-Symbolic Concept Learner: Interpreting scenes, words, and sentences from natural supervision. In International Conference on Learning Representations.arxiv.org/abs/1904.12584
  40. [42]Christian Meilicke, Raúl García-Castro, Fred Freitas, Willem Robert van Hage, Elena Montiel-Ponsoda, Ryan Ribeiro de Azevedo, Heiner Stuckenschmidt, Ondřej Šváb-Zamazal, Vojtěch Svátek, Andrej Tamilin, Cássia Trojahn, and Shenghui Wang. 2012. MultiFarm: A benchmark for multilingual ontology matching. Journal of Web Semantics, 15:62–68.DOI
  41. [43]Iman Mirzadeh, Keivan Alizadeh, Hooman Shahrokhi, Oncel Tuzel, Samy Bengio, and Mehrdad Farajtabar. 2025. GSM-Symbolic: Understanding the limitations of mathematical reasoning in large language models. In International Conference on Learning Representations (ICLR).arxiv.org/abs/2410.05229
  42. [44]Jiaqi Mu and Pramod Viswanath. 2018. All-but-the-top: Simple and effective postprocessing for word representations. In International Conference on Learning Representations (ICLR).
  43. [45]Charles O’Neill, Christine Ye, Kartheik Iyer, and John F. Wu. 2024. Disentangling dense embeddings with sparse autoencoders. ArXiv:2408.00657.arxiv.org/abs/2408.00657
  44. [46]OpenAI. 2026. openai/math. GitHub repository, https://github.com/openai/math. Released 6 October 2026.
  45. [47]Liangming Pan, Alon Albalak, Xinyi Wang, and William Yang Wang. 2023. Logic-LM: Empowering large language models with symbolic solvers for faithful logical reasoning. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 3806–3824.arxiv.org/abs/2305.12295

Paper details

vlnc:W_ga7nshk6
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents