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 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 of a source system and ranks a candidate set from a target system so that the counterpart of comes first. Let be the residual stream of a causal language model at layer and token position when it reads a text, and let be the encoder of a sparse autoencoder with features trained on that layer; for a JumpReLU SAE, with and a learned threshold per feature (Rajamanoharan et al., 2024). SAE-IDF represents every symbol by a sparse vector (code) in with the following pipeline before matching with cosine similarity.
Native contexts. Every symbol comes with pieces of information recorded in its own system, which we call its views : 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 , followed by the symbol itself (Figure 1). The LLM reads each input in a forward pass to the target layer , whose residual-stream states 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 is read at the symbol’s tokens. (2) The SAE encoder maps each state to a sparse code; codes are averaged into . (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 system | Task | Native context per symbol | Queries | Candidates per query |
| Formal mathematics | miniF2F ((Zheng et al., 2022)): Lean 4 → Isabelle / Metamath / HOL Light | the statement itself | 483 / 482 / 317 | all statements |
| Code | XLCoST ((Zhu et al., 2022)): Java, C++, Python, C#, JavaScript, PHP, C → the other six | the program itself | 283–3,918 per language | official pool |
| Table schemas | Valentine ([35]): source → target columns | column name + 16 cell values | 551 pairs | all target columns |
| Knowledge graphs | OAEI Common-KG ([19]): NELL → DBpedia, YAGO → Wikidata | up to 16 of the class’s instances | 129 / 304 | 137 / 304 classes |
| Cross-lingual ontologies | MultiFarm ([42]): Chinese / Russian / Arabic → English | the term’s own axioms, in its language | 246 / 246 / 239 | all target terms |
| Biomedical ontologies | Bio-ML ([28]): NCIT → DOID (validation split); OAEI Anatomy ([6]): mouse → human | definitions, parents and part-of relations | 634 / 1,516 | 100 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 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— is every position. Each kept token is SAE-encoded first and the codes are averaged afterwards, over tokens and then views:
where , the sparse code vector, has nonnegative and mostly zero elements.
Rarity weighting. Over a reference collection of symbols, let be the number of symbols on which feature fires. Then each dimension of is multiplied by its feature’s inverse document frequency,
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 and a pool of candidate symbols , candidates are ranked by the cosine of the weighted vectors, and by default the top-1 candidate is taken as the predicted matched symbol:
The cosine decomposes exactly over coordinates of all features:
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 DOID on the Bio-ML validation split with its 100-candidate ranking protocol, and mouse 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 with the Gemma Scope JumpReLU SAE (, average of 114; Lieberum et al., [38]), and Llama-3.1-8B (Grattafiori et al., [25]) at 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 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− additionally subtracts the mean of the dense vectors over and removes their projection onto the first principal direction of , , the common-direction removal of Mu and Viswanath [44] and Arora et al. [2]. SAE-unweighted is the unweighted code , 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 Dense and strings everywhere except XLCoST (word TF-IDF marginally ahead) and MultiFarm Chinese (Dense by 0.006). A paired bootstrap puts every gain over dense at , and the gain over Dense at 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 on 10 of 14, trailing on the other four: XLCoST MRR, NELL → DBpedia, MultiFarm Russian and Anatomy.
| Task | Metric | Strings | Gemma-2-9B (layer 20) Dense | Dense, PC1 rm. | SAE-IDF | Δ dense | Llama-3.1-8B (layer 15) Dense | Dense, PC1 rm. | SAE-IDF | Δ dense |
| Formal mathematics (miniF2F) | ||||||||||
| Lean 4 → Isabelle | MRR | 0.825 | 0.912 | 0.926 | 0.961 | +0.05 | 0.942 | 0.944 | 0.976 | +0.03 |
| Lean 4 → Metamath | MRR | 0.615 | 0.210 | 0.151 | 0.661 | +0.45 | 0.646 | 0.637 | 0.787 | +0.14 |
| Lean 4 → HOL Light | MRR | 0.741 | 0.539 | 0.531 | 0.898 | +0.36 | 0.603 | 0.699 | 0.906 | +0.30 |
| Code (XLCoST, program level) | ||||||||||
| 7 languages, mean | MRR† | 0.468 | 0.454 | 0.452 | 0.464 | +0.01 | 0.451 | 0.447 | 0.442 | −0.01 |
| 7 languages, mean | P@6† | 0.745 | 0.680 | 0.678 | 0.732 | +0.05 | 0.641 | 0.648 | 0.657 | +0.02 |
| Table schemas (Valentine) | ||||||||||
| source → target columns | F1 | – | 0.533 | 0.534 | 0.614 | +0.08 | 0.588 | 0.579 | 0.625 | +0.04 |
| source → target columns | MRR | – | 0.766 | 0.761 | 0.856 | +0.09 | 0.786 | 0.811 | 0.862 | +0.08 |
| Knowledge graphs (OAEI Common-KG) | ||||||||||
| NELL → DBpedia | MRR | 0.936 | 0.931 | 0.957 | 0.976 | +0.04 | 0.949 | 0.960 | 0.958 | +0.01 |
| YAGO → Wikidata | MRR | 0.899 | 0.860 | 0.932 | 0.962 | +0.10 | 0.889 | 0.944 | 0.944 | +0.06 |
| Cross-lingual ontologies (MultiFarm) | ||||||||||
| Chinese → English | MRR | 0.230 | 0.650 | 0.760 | 0.754 | +0.10 | 0.659 | 0.779 | 0.787 | +0.13 |
| Russian → English | MRR | 0.234 | 0.644 | 0.751 | 0.765 | +0.12 | 0.661 | 0.751 | 0.726 | +0.06 |
| Arabic → English | MRR | 0.238 | 0.595 | 0.702 | 0.722 | +0.13 | 0.578 | 0.669 | 0.672 | +0.09 |
| Biomedical ontologies (Bio-ML, Anatomy) | ||||||||||
| NCIT → DOID | MRR | 0.779 | 0.701 | 0.732 | 0.817 | +0.12 | 0.704 | 0.710 | 0.779 | +0.08 |
| mouse → human | MRR | 0.734 | 0.812 | 0.864 | 0.886 | +0.07 | 0.800 | 0.871 | 0.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.
| Task | Metric | Random + idf | SAE unweighted | SAE-IDF |
| Formal mathematics (miniF2F) | ||||
| Lean 4 → Isabelle | MRR | 0.865 | 0.882 | 0.961 |
| Lean 4 → Metamath | MRR | 0.146 | 0.095 | 0.661 |
| Lean 4 → HOL Light | MRR | 0.349 | 0.493 | 0.898 |
| Code (XLCoST, program level) | ||||
| 7 languages, mean | MRR{sup}†` | 0.417 | 0.449 | 0.464 |
| 7 languages, mean | P@6{sup}†` | 0.627 | 0.673 | 0.732 |
| Table schemas (Valentine) | ||||
| source → target columns | F1 | 0.482 | 0.458 | 0.614 |
| source → target columns | MRR | 0.647 | 0.685 | 0.856 |
| Knowledge graphs (OAEI Common-KG) | ||||
| NELL → DBpedia | MRR | 0.901 | 0.938 | 0.976 |
| YAGO → Wikidata | MRR | 0.797 | 0.872 | 0.962 |
| Cross-lingual ontologies (MultiFarm) | ||||
| Chinese → English | MRR | 0.533 | 0.404 | 0.754 |
| Russian → English | MRR | 0.542 | 0.252 | 0.765 |
| Arabic → English | MRR | 0.425 | 0.225 | 0.722 |
| Biomedical ontologies (Bio-ML, Anatomy) | ||||
| NCIT → DOID | MRR | 0.692 | 0.696 | 0.817 |
| mouse → human | MRR | 0.788 | 0.801 | 0.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.
| Task | Metric | Dense | −PC1 | −36 PCs | z-score | ZCA | dense-idf | sparse dense-idf | SAE-IDF |
| Lean 4 → Isabelle | MRR | 0.912 | 0.926 | 0.928 | 0.942 | 0.946 | 0.942 | 0.914 | 0.961 |
| Lean 4 → Metamath | MRR | 0.210 | 0.151 | 0.401 | 0.257 | 0.465 | 0.251 | 0.235 | 0.661 |
| Lean 4 → HOL Light | MRR | 0.539 | 0.531 | 0.728 | 0.707 | 0.786 | 0.706 | 0.605 | 0.898 |
| XLCoST, 7 languages | MRR | 0.454 | 0.452 | 0.461 | 0.456 | 0.445 | 0.456 | 0.452 | 0.464 |
| XLCoST, 7 languages | P@6 | 0.680 | 0.678 | 0.709 | 0.709 | 0.599 | 0.709 | 0.705 | 0.732 |
| Valentine columns | F1 | 0.533 | 0.534 | 0.468 | 0.460 | 0.410 | 0.399 | 0.208 | 0.614 |
| Valentine columns | MRR | 0.766 | 0.761 | 0.548 | 0.529 | 0.503 | 0.485 | 0.391 | 0.856 |
| NELL → DBpedia | MRR | 0.931 | 0.957 | 0.973 | 0.923 | 0.989 | 0.923 | 0.925 | 0.976 |
| YAGO → Wikidata | MRR | 0.860 | 0.932 | 0.957 | 0.814 | 0.964 | 0.812 | 0.847 | 0.962 |
| MultiFarm zh → en | MRR | 0.650 | 0.760 | 0.250 | 0.714 | 0.136 | 0.710 | 0.582 | 0.754 |
| MultiFarm ru → en | MRR | 0.644 | 0.751 | 0.259 | 0.713 | 0.156 | 0.710 | 0.582 | 0.765 |
| MultiFarm ar → en | MRR | 0.595 | 0.702 | 0.240 | 0.651 | 0.170 | 0.644 | 0.545 | 0.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 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 DensePC1 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 48–58) with Gemma-2-9B on miniF2F Lean 4 HOL Light and Metamath. SAE-IDF beats every baseline at every layer and width; the unweighted code tracks or trails dense.
| Llama Scope SAE | Lean 4 → HOL Light | Lean 4 → Metamath | ||||||
| Dense | PC1 rm. | SAE unw. | SAE-IDF | Dense | PC1 rm. | SAE unw. | SAE-IDF | |
| Layer 8, 131k | 0.502 | 0.587 | 0.436 | 0.743 | 0.500 | 0.516 | 0.567 | 0.674 |
| Layer 12, 131k | 0.509 | 0.614 | 0.451 | 0.815 | 0.630 | 0.624 | 0.582 | 0.711 |
| Layer 15, 131k | 0.603 | 0.699 | 0.611 | 0.906 | 0.646 | 0.637 | 0.675 | 0.787 |
| Layer 20, 131k | 0.304 | 0.290 | 0.209 | 0.666 | 0.269 | 0.343 | 0.369 | 0.719 |
| Layer 24, 131k | 0.291 | 0.267 | 0.274 | 0.751 | 0.124 | 0.273 | 0.202 | 0.661 |
| Layer 15, 32k | 0.603 | 0.699 | 0.583 | 0.845 | 0.646 | 0.637 | 0.626 | 0.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% ().
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%.
| Task | Matches | Common (>1%): unw. → SAE-IDF | Rare (<0.1%) SAE-IDF | Features for 50% / 80% | Concept / surface / notation (SAE-IDF top-5) |
| Lean 4 → Isabelle | 300 | 87% → 3% | 32% | 21 / 146 | 43% / 7% / 48% |
| Lean 4 → Metamath | 259 | 91% → 2% | 31% | 15 / 88 | 39% / 4% / 55% |
| Lean 4 → HOL Light | 271 | 90% → 3% | 30% | 17 / 137 | 46% / 8% / 44% |
| XLCoST, Java → 6 languages | 300 | 81% → 0% | 75% | 10 / 88 | 51% / 11% / 35% |
| Valentine columns | 300 | 88% → 6% | 49% | 10 / 54 | 79% / 4% / 13% |
| NELL → DBpedia | 124 | 56% → 1% | 94% | 1 / 2 | 94% / 5% / 1% |
| YAGO → Wikidata | 286 | 60% → 1% | 93% | 1 / 3 | 87% / 11% / 2% |
| MultiFarm zh → en | 162 | 70% → 2% | 87% | 1 / 4 | 69% / 26% / 1% |
| MultiFarm ru → en | 163 | 71% → 2% | 88% | 1 / 4 | 72% / 24% / 2% |
| MultiFarm ar → en | 150 | 73% → 2% | 87% | 2 / 4 | 71% / 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.
| Task | Source gold counterpart | Gold’s rank | Top-1 feature by contribution to the cosine: SAE-unweighted | Top-1 feature by contribution to the cosine: SAE-IDF |
| MultiFarm zh en | feiyong (fee) “fee for conference” | 13 / 40 / 1 | “mathematical or programming notation” (53%) | “fees and payment structures” (88%) |
| YAGO Wikidata | Mass (no instances) mass (instances: Earth mass, quark mass) | 7 / 24 / 1 | “terms related to mass” (50%) | “terms related to mass” (91%) |
| Lean 4 HOL Light | Int.floor (10 * n) + . . . + Int.floor (10000 * n) = 3702 floor (&10 * n) + . . . + floor (&10000 * n) = &3702 | 7 / 131 / 1 | “mathematical or programming notation” (33%) | “floor and rounding operations” (9%) |
| Lean 4 Metamath | 1 / Real.cos x + Real.tan x = 22 / 7 . . . ((1 / (cos \ X)) + (tan ` X)) = (; 2 2 / 7) . . .` | 5 / 41 / 1 | “mathematical or programming notation” (29%) | “limits and trigonometric functions” (18%) |
| Failure: MultiFarm zh en | you ming (“has first name”) “has first name”; ranks “has name” first | 1 / 2 / 2 | “open-source license text” (46%) | “variable names in programming code” (41%) |
| Failure: Valentine (ChEMBL) | src_id (its only value is 1) SRI; ranks CONFSC first | 1 / 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−PC 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).
| Method | Mutual-top-1 precision | Coverage | Transitivity (triples) | Merge purity | ARI | Components (489 true) |
| Dense | 0.900 | 0.340 | 0.963 (872) | 0.979 | 0.519 | 1,096 |
| Dense−PC | 0.910 | 0.483 | 0.960 (1,868) | 0.958 | 0.646 | 895 |
| SAE unweighted | 0.616 | 0.299 | 0.902 (572) | 0.958 | 0.432 | 1,143 |
| SAE-IDF | 0.983 | 0.639 | 0.981 (3,474) | 0.981 | 0.795 | 758 |
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, ), Gemma-2-2B (26 layers, ) and Gemma-2-27B (46 layers, ) are run in bfloat16; the residual stream after block (hidden_states[]) 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 (, § 2, with the released per-feature thresholds ). 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, ) 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() 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 -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 language | Programs | Metric | Strings | Dense | −PC1 | SAE unw. | SAE-IDF |
| Java | 3,918 | MRR | 0.485 | 0.466 | 0.466 | 0.458 | 0.480 |
| P@6 | 0.703 | 0.582 | 0.580 | 0.564 | 0.681 | ||
| C++ | 3,895 | MRR | 0.486 | 0.470 | 0.469 | 0.465 | 0.478 |
| P@6 | 0.709 | 0.626 | 0.625 | 0.627 | 0.675 | ||
| Python | 3,853 | MRR | 0.484 | 0.474 | 0.468 | 0.470 | 0.485 |
| P@6 | 0.714 | 0.691 | 0.671 | 0.670 | 0.711 | ||
| C# | 3,898 | MRR | 0.485 | 0.466 | 0.466 | 0.460 | 0.479 |
| P@6 | 0.705 | 0.591 | 0.594 | 0.599 | 0.683 | ||
| JavaScript | 3,851 | MRR | 0.487 | 0.475 | 0.471 | 0.469 | 0.482 |
| P@6 | 0.714 | 0.671 | 0.664 | 0.659 | 0.696 | ||
| PHP | 1,566 | MRR | 0.441 | 0.432 | 0.432 | 0.431 | 0.442 |
| P@6 | 0.811 | 0.774 | 0.780 | 0.765 | 0.818 | ||
| C | 283 | MRR | 0.408 | 0.392 | 0.395 | 0.393 | 0.405 |
| P@6 | 0.855 | 0.823 | 0.833 | 0.827 | 0.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) | Dense | SAE-unweighted | SAE-IDF |
| F1 | |||
| Whole column, all tokens (main) | 0.533 | 0.458 | 0.614 |
| Name + one value per view, all tokens (16 views) | 0.563 | 0.429 | 0.630 |
| Value tokens only, name before them (16 views) | 0.570 | 0.555 | 0.608 |
| Name tokens only, after one value (16 views) | 0.611 | 0.520 | 0.572 |
| MRR | |||
| Whole column, all tokens (main) | 0.766 | 0.685 | 0.856 |
| Name + one value per view, all tokens | 0.651 | 0.498 | 0.820 |
| Value tokens only, name before them | 0.823 | 0.772 | 0.851 |
| Name tokens only, after one value | 0.709 | 0.589 | 0.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 type | Dense | −PC1 | SAE | SAE-IDF | |
| Free text | 930 | 0.727 | 0.714 | 0.684 | 0.806 |
| Categorical | 2,313 | 0.629 | 0.645 | 0.491 | 0.790 |
| Identifier | 1,216 | 0.702 | 0.718 | 0.630 | 0.805 |
| Numeric | 3,887 | 0.567 | 0.490 | 0.489 | 0.670 |
| Graded (text, categ.) | 3,243 | 0.657 | 0.665 | 0.546 | 0.795 |
| Rule-governed (id, num.) | 5,103 | 0.599 | 0.544 | 0.522 | 0.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).
| Task | Queries | Strings | Dense | −PC1 | SAE unw. | SAE-IDF |
| Bio-ML NCIT → DOID, valid split | 634 | 0.779 | 0.701 | 0.732 | 0.696 | 0.817 |
| Bio-ML NCIT → DOID, train split | 3,845 | 0.789 | 0.736 | 0.758 | 0.736 | 0.815 |
| OAEI Anatomy, mouse → human | 1,516 | 0.734 | 0.812 | 0.864 | 0.801 | 0.886 |
| PubChem SMILES → IUPAC | 1,000 | 0.009 | 0.027 | 0.012 | 0.026 | 0.015 |
| PubChem SMILES → InChI | 1,000 | 0.008 | 0.007 | 0.009 | 0.005 | 0.029 |
| PubChem IUPAC → InChI | 1,000 | 0.012 | 0.006 | 0.008 | 0.005 | 0.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).
| Task | Metric | Strings | Gemma-2-9B Dense | Gemma-2-9B SAE-IDF | BGE-M3 plain | BGE-M3 centred | BGE-M3 −PC1 | Qwen3-Emb-8B plain | Qwen3-Emb-8B −PC1 |
| Lean 4 → Isabelle | MRR | 0.825 | 0.912 | 0.961 | 0.956 | 0.954 | 0.932 | 0.992 | 0.995 |
| Lean 4 → Metamath | MRR | 0.615 | 0.210 | 0.661 | 0.819 | 0.591 | 0.583 | 0.972 | 0.970 |
| Lean 4 → HOL Light | MRR | 0.741 | 0.539 | 0.898 | 0.967 | 0.967 | 0.967 | 0.975 | 0.981 |
| XLCoST, 7 languages | MRR | 0.468 | 0.454 | 0.464 | 0.438 | 0.437 | 0.451 | 0.440 | 0.447 |
| XLCoST, 7 languages | P@6 | 0.745 | 0.680 | 0.732 | 0.671 | 0.669 | 0.702 | 0.684 | 0.710 |
| Valentine columns | F1 | — | 0.533 | 0.614 | 0.645 | 0.638 | 0.612 | 0.633 | 0.609 |
| Valentine columns | MRR | — | 0.766 | 0.856 | 0.879 | 0.890 | 0.875 | 0.872 | 0.847 |
| NELL → DBpedia | MRR | 0.936 | 0.931 | 0.976 | 0.983 | 0.988 | 0.984 | 0.973 | 0.975 |
| YAGO → Wikidata | MRR | 0.899 | 0.860 | 0.962 | 0.910 | 0.925 | 0.958 | 0.923 | 0.957 |
| MultiFarm zh → en | MRR | 0.230 | 0.650 | 0.754 | 0.716 | 0.715 | 0.743 | 0.795 | 0.809 |
| MultiFarm ru → en | MRR | 0.234 | 0.644 | 0.765 | 0.718 | 0.715 | 0.726 | 0.780 | 0.782 |
| MultiFarm ar → en | MRR | 0.238 | 0.595 | 0.722 | 0.670 | 0.681 | 0.701 | 0.690 | 0.681 |
| Bio-ML valid | MRR | 0.779 | 0.701 | 0.817 | 0.611 | 0.617 | 0.611 | 0.739 | 0.720 |
| Bio-ML train | MRR | 0.789 | 0.736 | 0.815 | 0.636 | 0.644 | 0.740 | 0.759 | 0.795 |
| Anatomy | MRR | 0.734 | 0.812 | 0.886 | 0.789 | 0.810 | 0.853 | 0.896 | 0.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 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 language | Programs | Metric | Strings | Dense | −PC1 | SAE unw. | SAE-IDF |
| Java | 3,918 | MRR | 0.558 | 0.528 | 0.527 | 0.516 | 0.551 |
| P@6 | 0.550 | 0.459 | 0.458 | 0.445 | 0.534 | ||
| C++ | 3,895 | MRR | 0.560 | 0.536 | 0.535 | 0.530 | 0.549 |
| P@6 | 0.554 | 0.496 | 0.493 | 0.494 | 0.531 | ||
| Python | 3,853 | MRR | 0.560 | 0.545 | 0.536 | 0.540 | 0.561 |
| P@6 | 0.557 | 0.540 | 0.528 | 0.526 | 0.553 | ||
| C# | 3,898 | MRR | 0.561 | 0.530 | 0.530 | 0.522 | 0.553 |
| P@6 | 0.552 | 0.467 | 0.469 | 0.472 | 0.538 | ||
| JavaScript | 3,851 | MRR | 0.563 | 0.547 | 0.542 | 0.538 | 0.557 |
| P@6 | 0.558 | 0.528 | 0.522 | 0.519 | 0.545 | ||
| PHP | 1,566 | MRR | 0.500 | 0.488 | 0.488 | 0.487 | 0.502 |
| P@6 | 0.658 | 0.633 | 0.637 | 0.626 | 0.661 | ||
| C | 283 | MRR | 0.457 | 0.435 | 0.438 | 0.438 | 0.452 |
| P@6 | 0.712 | 0.699 | 0.709 | 0.695 | 0.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 Dense 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.
| Task | Contexts | Strings | Dense | −PC1 | SAE unw. | SAE-IDF |
| NELL → DBpedia | two LLMs | 0.936 | 0.964 | 0.966 | 0.916 | 0.969 |
| one LLM | 0.936 | 0.927 | 0.972 | 0.904 | 0.972 | |
| native | 0.936 | 0.931 | 0.957 | 0.938 | 0.976 | |
| YAGO → Wikidata | two LLMs | 0.899 | 0.908 | 0.977 | 0.915 | 0.973 |
| one LLM | 0.899 | 0.917 | 0.968 | 0.920 | 0.968 | |
| native | 0.899 | 0.860 | 0.932 | 0.872 | 0.962 | |
| MultiFarm zh → en | two LLMs | 0.067 | 0.780 | 0.825 | 0.492 | 0.819 |
| one LLM | 0.067 | 0.753 | 0.787 | 0.478 | 0.786 | |
| native | 0.230 | 0.650 | 0.760 | 0.404 | 0.754 | |
| MultiFarm ru → en | two LLMs | 0.067 | 0.703 | 0.840 | 0.270 | 0.811 |
| one LLM | 0.073 | 0.680 | 0.847 | 0.248 | 0.807 | |
| native | 0.234 | 0.644 | 0.751 | 0.252 | 0.765 | |
| MultiFarm ar → en | two LLMs | 0.066 | 0.588 | 0.773 | 0.195 | 0.753 |
| one LLM | 0.066 | 0.595 | 0.794 | 0.163 | 0.724 | |
| native | 0.238 | 0.595 | 0.702 | 0.225 | 0.722 | |
| Drug brand → generic | two LLMs | 0.762 | 0.401 | 0.464 | 0.276 | 0.448 |
| one LLM, shared metadata | 0.828 | 0.384 | 0.456 | 0.277 | 0.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; Dense is behind in 32 of 45 (15 of 15 on NELL DBpedia, 10 on YAGO 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 DBpedia rises slightly (0.964 to 0.979), YAGO 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 Light | Metamath |
| Dense baseline | 0.541 | 0.207 |
| SAE width 16k / 32k / 65k / 131k / 262k / 524k / 1M, each at its canonical (68 / 57 / 55 / 114 / 50 / 48 / 101) | ||
| SAE-IDF | 0.82 / 0.86 / 0.89 / 0.90 / 0.91 / 0.93 / 0.93 | 0.62 / 0.61 / 0.71 / 0.67 / 0.68 / 0.70 / 0.66 |
| Sparsity, average 11 / 19 / 34 / 53 / 62 / 114 / 221 / 276 (131k features) | ||
| SAE-IDF | 0.89 / 0.89 / 0.90 / 0.91 / 0.90 / 0.90 / 0.90 / 0.90 | 0.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 | ||
| Dense | 0.462 | 0.257 |
| SAE-IDF | 0.80 / 0.86 / 0.87 | 0.65 / 0.52 / 0.45 |
| Larger model: Gemma-2-27B, layer 10 / 22 / 34 (131k, canonical 106 / 82 / 72) | ||
| Dense | 0.32 / 0.41 / 0.41 | 0.08 / 0.20 / 0.15 |
| SAE-IDF | 0.84 / 0.94 / 0.58 | 0.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.
| Configuration | Lean 4 → HOL Light Dense | Lean 4 → HOL Light PC1 rm. | Lean 4 → HOL Light SAE unw. | Lean 4 → HOL Light SAE-IDF | Lean 4 → Metamath Dense | Lean 4 → Metamath PC1 rm. | Lean 4 → Metamath SAE unw. | Lean 4 → Metamath SAE-IDF |
| Gemma-2-9B, layer 5, 131k | 0.248 | 0.224 | 0.177 | 0.800 | 0.138 | 0.159 | 0.068 | 0.512 |
| layer 9 | 0.317 | 0.320 | 0.348 | 0.840 | 0.190 | 0.172 | 0.140 | 0.583 |
| layer 10 | 0.335 | 0.330 | 0.433 | 0.867 | 0.212 | 0.175 | 0.130 | 0.451 |
| layer 15 | 0.458 | 0.434 | 0.524 | 0.880 | 0.233 | 0.173 | 0.100 | 0.727 |
| layer 20 ( 114, main table) | 0.541 | 0.530 | 0.493 | 0.900 | 0.207 | 0.149 | 0.092 | 0.667 |
| layer 25 | 0.439 | 0.553 | 0.280 | 0.882 | 0.179 | 0.145 | 0.112 | 0.623 |
| layer 30 | 0.214 | 0.248 | 0.144 | 0.739 | 0.123 | 0.089 | 0.088 | 0.693 |
| layer 31 | 0.210 | 0.209 | 0.122 | 0.757 | 0.121 | 0.076 | 0.077 | 0.703 |
| layer 35 | 0.225 | 0.204 | 0.115 | 0.716 | 0.100 | 0.076 | 0.078 | 0.594 |
| layer 40 | 0.173 | 0.139 | 0.080 | 0.464 | 0.077 | 0.049 | 0.039 | 0.301 |
| layer 20, 16k ( 68) | 0.541 | 0.530 | 0.521 | 0.820 | 0.207 | 0.149 | 0.119 | 0.625 |
| layer 20, 16k ( 58) | 0.541 | 0.531 | 0.490 | 0.817 | 0.209 | 0.151 | 0.114 | 0.621 |
| layer 20, 32k ( 57) | 0.541 | 0.530 | 0.503 | 0.862 | 0.207 | 0.149 | 0.109 | 0.608 |
| layer 20, 65k ( 55) | 0.541 | 0.530 | 0.417 | 0.890 | 0.207 | 0.149 | 0.086 | 0.706 |
| layer 20, 262k ( 50) | 0.541 | 0.531 | 0.442 | 0.912 | 0.209 | 0.151 | 0.063 | 0.684 |
| layer 20, 524k ( 48) | 0.541 | 0.530 | 0.462 | 0.927 | 0.207 | 0.149 | 0.060 | 0.698 |
| layer 20, 1M ( 101) | 0.541 | 0.530 | 0.455 | 0.931 | 0.207 | 0.149 | 0.077 | 0.659 |
| layer 20, 1M ( 57) | 0.541 | 0.531 | 0.436 | 0.935 | 0.209 | 0.151 | 0.059 | 0.668 |
| layer 20, 131k, 11 | 0.541 | 0.530 | 0.403 | 0.894 | 0.207 | 0.149 | 0.046 | 0.676 |
| 19 | 0.541 | 0.530 | 0.314 | 0.893 | 0.207 | 0.149 | 0.056 | 0.670 |
| 34 | 0.541 | 0.530 | 0.423 | 0.904 | 0.207 | 0.149 | 0.057 | 0.700 |
| 53 | 0.541 | 0.530 | 0.462 | 0.906 | 0.207 | 0.149 | 0.080 | 0.708 |
| 62 | 0.541 | 0.530 | 0.517 | 0.904 | 0.207 | 0.149 | 0.084 | 0.720 |
| 221 | 0.541 | 0.530 | 0.501 | 0.896 | 0.207 | 0.149 | 0.109 | 0.625 |
| 276 | 0.541 | 0.530 | 0.487 | 0.897 | 0.207 | 0.149 | 0.116 | 0.639 |
| Gemma-2-2B, layer 12, 16k | 0.462 | 0.487 | 0.492 | 0.800 | 0.257 | 0.238 | 0.236 | 0.651 |
| Gemma-2-2B, layer 12, 65k | 0.462 | 0.487 | 0.575 | 0.862 | 0.257 | 0.238 | 0.122 | 0.523 |
| Gemma-2-2B, layer 12, 262k | 0.462 | 0.487 | 0.491 | 0.872 | 0.257 | 0.238 | 0.156 | 0.452 |
| Llama-3.1-8B, layer 8, 131k | 0.502 | 0.587 | 0.436 | 0.743 | 0.500 | 0.516 | 0.567 | 0.674 |
| Llama-3.1-8B, layer 12, 131k | 0.509 | 0.614 | 0.451 | 0.815 | 0.630 | 0.624 | 0.582 | 0.711 |
| Llama-3.1-8B, layer 15, 131k | 0.603 | 0.699 | 0.611 | 0.906 | 0.646 | 0.637 | 0.675 | 0.787 |
| Llama-3.1-8B, layer 15, 32k | 0.603 | 0.699 | 0.583 | 0.845 | 0.646 | 0.637 | 0.626 | 0.741 |
| Llama-3.1-8B, layer 20, 131k | 0.304 | 0.290 | 0.209 | 0.666 | 0.269 | 0.343 | 0.369 | 0.719 |
| Llama-3.1-8B, layer 24, 131k | 0.291 | 0.267 | 0.274 | 0.751 | 0.124 | 0.273 | 0.202 | 0.661 |
| Gemma-2-27B, layer 10, 131k ( 106) | 0.319 | 0.288 | 0.282 | 0.843 | 0.077 | 0.114 | 0.058 | 0.405 |
| Gemma-2-27B, layer 22, 131k ( 82) | 0.408 | 0.328 | 0.282 | 0.939 | 0.199 | 0.097 | 0.139 | 0.738 |
| Gemma-2-27B, layer 22, 131k ( 48) | 0.408 | 0.328 | 0.281 | 0.917 | 0.199 | 0.097 | 0.126 | 0.731 |
| Gemma-2-27B, layer 22, 131k ( 150) | 0.408 | 0.328 | 0.280 | 0.924 | 0.199 | 0.097 | 0.172 | 0.709 |
| Gemma-2-27B, layer 34, 131k ( 72) | 0.407 | 0.491 | 0.154 | 0.584 | 0.145 | 0.126 | 0.083 | 0.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; “” rows are the 131k-feature SAE at layer 20. SAE-IDF beats Dense, Dense 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.
| Task | Metric | Unweighted | idf (collection) | idf (Pile density) | Information | Log-odds |
| Lean 4 Isabelle | MRR | 0.882 | 0.961 | 0.908 | 0.740 | 0.756 |
| Lean 4 Metamath | MRR | 0.095 | 0.661 | 0.190 | 0.102 | 0.190 |
| Lean 4 HOL Light | MRR | 0.493 | 0.898 | 0.588 | 0.194 | 0.277 |
| XLCoST, 7 languages | MRR | 0.449 | 0.464 | 0.451 | 0.438 | 0.471 |
| Valentine columns | F1 | 0.458 | 0.614 | 0.574 | 0.615 | 0.592 |
| Valentine columns | MRR | 0.685 | 0.856 | 0.808 | 0.855 | 0.781 |
| NELL DBpedia | MRR | 0.938 | 0.976 | 0.966 | 0.968 | 0.934 |
| YAGO Wikidata | MRR | 0.872 | 0.962 | 0.941 | 0.947 | 0.914 |
| MultiFarm zh en | MRR | 0.404 | 0.754 | 0.710 | 0.726 | 0.509 |
| MultiFarm ru en | MRR | 0.252 | 0.765 | 0.699 | 0.765 | 0.319 |
| MultiFarm ar en | MRR | 0.225 | 0.722 | 0.679 | 0.714 | 0.296 |
| Bio-ML valid | MRR | 0.696 | 0.817 | 0.793 | 0.811 | 0.760 |
| Anatomy | MRR | 0.801 | 0.886 | 0.863 | 0.885 | 0.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.
| Task | Llama Scope SAE | Dense | −PC1 | SAE unw. | SAE-IDF |
| NELL DBpedia | layer 8, 131k | 0.953 | 0.960 | 0.945 | 0.970 |
| layer 12, 131k | 0.939 | 0.950 | 0.937 | 0.973 | |
| layer 15, 131k | 0.949 | 0.960 | 0.930 | 0.958 | |
| layer 15, 32k | 0.949 | 0.960 | 0.942 | 0.961 | |
| layer 20, 131k | 0.947 | 0.958 | 0.904 | 0.947 | |
| layer 24, 131k | 0.938 | 0.951 | 0.908 | 0.936 | |
| YAGO Wikidata | layer 8, 131k | 0.889 | 0.937 | 0.885 | 0.949 |
| layer 12, 131k | 0.806 | 0.922 | 0.861 | 0.955 | |
| layer 15, 131k | 0.889 | 0.944 | 0.915 | 0.944 | |
| layer 15, 32k | 0.889 | 0.944 | 0.920 | 0.955 | |
| layer 20, 131k | 0.912 | 0.935 | 0.899 | 0.928 | |
| layer 24, 131k | 0.915 | 0.936 | 0.875 | 0.926 | |
| MultiFarm | layer 8, 131k | 0.672 | 0.751 | 0.575 | 0.739 |
| layer 12, 131k | 0.583 | 0.687 | 0.496 | 0.758 | |
| layer 15, 131k | 0.633 | 0.733 | 0.556 | 0.728 | |
| layer 15, 32k | 0.633 | 0.733 | 0.528 | 0.726 | |
| layer 20, 131k | 0.625 | 0.716 | 0.470 | 0.722 | |
| layer 24, 131k | 0.523 | 0.684 | 0.307 | 0.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.
| Task | Seeds | Dense | −PC1 | SAE unw. | SAE-IDF |
| NELL DBpedia | 4 | ||||
| YAGO Wikidata | 4 | ||||
| Valentine (F1) | 3 | ||||
| Valentine (MRR) | 3 |
Table 17. Mean 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.
| Task | Dense Top-1 | Dense Cov.@90% | Dense Cov.@95% | SAE-IDF Top-1 | SAE-IDF Cov.@90% | SAE-IDF Cov.@95% | |
| Lean 4 → Isabelle | 483 | 0.880 | 0.96 | 0.89 | 0.936 | 1.00 | 0.98 |
| Lean 4 → Metamath | 482 | 0.127 | 0.01 | 0.01 | 0.537 | 0.24 | 0.21 |
| Lean 4 → HOL Light | 317 | 0.454 | 0.24 | 0.20 | 0.855 | 0.93 | 0.85 |
| Valentine columns | 8,346 | 0.622 | 0.38 | 0.22 | 0.738 | 0.67 | 0.53 |
| NELL → DBpedia | 129 | 0.899 | 0.99 | 0.91 | 0.961 | 1.00 | 1.00 |
| YAGO → Wikidata | 304 | 0.819 | 0.89 | 0.76 | 0.941 | 1.00 | 0.97 |
| MultiFarm zh → en | 246 | 0.549 | 0.42 | 0.32 | 0.659 | 0.41 | 0.30 |
| MultiFarm ru → en | 246 | 0.553 | 0.29 | 0.20 | 0.663 | 0.34 | 0.20 |
| MultiFarm ar → en | 239 | 0.523 | 0.31 | 0.21 | 0.628 | 0.44 | 0.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 as the idf: removal of the top 36 principal directions (), 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 (; 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 (), 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.
| Task | Metric | Dense | Random, unw. | Random + idf | SAE unw. | SAE-IDF |
| Lean 4 → Isabelle | MRR | 0.912 | 0.845 | 0.865 | 0.882 | 0.961 |
| Lean 4 → Metamath | MRR | 0.210 | 0.156 | 0.146 | 0.095 | 0.661 |
| Lean 4 → HOL Light | MRR | 0.539 | 0.484 | 0.349 | 0.493 | 0.898 |
| XLCoST, 7 languages | MRR | 0.454 | 0.429 | 0.417 | 0.449 | 0.464 |
| XLCoST, 7 languages | P@6 | 0.680 | 0.607 | 0.627 | 0.673 | 0.732 |
| Valentine columns | F1 | 0.533 | 0.460 | 0.482 | 0.458 | 0.614 |
| Valentine columns | MRR | 0.766 | 0.654 | 0.647 | 0.685 | 0.856 |
| NELL → DBpedia | MRR | 0.931 | 0.901 | 0.901 | 0.938 | 0.976 |
| YAGO → Wikidata | MRR | 0.860 | 0.797 | 0.797 | 0.872 | 0.962 |
| MultiFarm zh → en | MRR | 0.650 | 0.482 | 0.533 | 0.404 | 0.754 |
| MultiFarm ru → en | MRR | 0.644 | 0.448 | 0.542 | 0.252 | 0.765 |
| MultiFarm ar → en | MRR | 0.595 | 0.368 | 0.425 | 0.225 | 0.722 |
| Bio-ML valid | MRR | 0.701 | 0.680 | 0.692 | 0.696 | 0.817 |
| Bio-ML train | MRR | 0.736 | 0.693 | 0.711 | 0.736 | 0.815 |
| Anatomy | MRR | 0.812 | 0.791 | 0.788 | 0.801 | 0.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 -value (Table 23). Every gain over Dense has . The gain over Dense−PC1 has on every row except the three MultiFarm pairs and NELL DBpedia, where the interval covers zero. Against strings, SAE-IDF is significantly ahead on all formal-mathematics, knowledge-graph and ontology tasks (Lean 4 Metamath marginally, ), 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 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.
| Task | vs. Dense [95% CI] | vs. Dense−PC1 [95% CI] | vs. Strings [95% CI] | ||||
| Lean 4 → Isabelle | 483 | +0.048 [+0.027, +0.071] | <.001 | +0.034 [+0.014, +0.055] | <.001 | +0.136 [+0.105, +0.168] | <.001 |
| Lean 4 → Metamath | 482 | +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 Light | 317 | +0.359 [+0.315, +0.405] | <.001 | +0.367 [+0.322, +0.412] | <.001 | +0.157 [+0.114, +0.200] | <.001 |
| XLCoST Java | 3,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 Python | 3,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 JavaScript | 3,851 | +0.006 [+0.005, +0.008] | <.001 | +0.010 [+0.009, +0.012] | <.001 | −0.005 [−0.006, −0.004] | 1.00 |
| XLCoST PHP | 1,566 | +0.010 [+0.008, +0.011] | <.001 | +0.010 [+0.008, +0.011] | <.001 | +0.001 [−0.000, +0.003] | 0.07 |
| XLCoST C | 283 | +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 → DBpedia | 129 | +0.045 [+0.011, +0.081] | <.01 | +0.018 [−0.009, +0.048] | 0.11 | +0.040 [+0.014, +0.071] | <.001 |
| YAGO → Wikidata | 304 | +0.102 [+0.070, +0.136] | <.001 | +0.030 [+0.007, +0.054] | <.01 | +0.062 [+0.039, +0.087] | <.001 |
| MultiFarm zh → en | 246 | +0.104 [+0.058, +0.151] | <.001 | −0.006 [−0.040, +0.028] | 0.64 | +0.524 [+0.467, +0.578] | <.001 |
| MultiFarm ru → en | 246 | +0.121 [+0.079, +0.162] | <.001 | +0.014 [−0.017, +0.045] | 0.19 | +0.531 [+0.480, +0.581] | <.001 |
| MultiFarm ar → en | 239 | +0.127 [+0.088, +0.168] | <.001 | +0.019 [−0.016, +0.054] | 0.14 | +0.484 [+0.429, +0.539] | <.001 |
| Bio-ML valid | 634 | +0.117 [+0.094, +0.141] | <.001 | +0.086 [+0.064, +0.107] | <.001 | +0.038 [+0.017, +0.059] | <.001 |
| Bio-ML train | 3,845 | +0.080 [+0.071, +0.089] | <.001 | +0.057 [+0.049, +0.066] | <.001 | +0.026 [+0.019, +0.034] | <.001 |
| Anatomy | 1,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 -value. Valentine has no string baseline.
| Task | vs. Dense [95% CI] | vs. Dense−PC1 [95% CI] | vs. Strings [95% CI] | ||||
| Lean 4 → Isabelle | 483 | +0.034 [+0.018, +0.052] | <.001 | +0.032 [+0.015, +0.049] | <.001 | +0.152 [+0.120, +0.184] | <.001 |
| Lean 4 → Metamath | 482 | +0.141 [+0.109, +0.173] | <.001 | +0.150 [+0.118, +0.182] | <.001 | +0.172 [+0.132, +0.213] | <.001 |
| Lean 4 → HOL Light | 317 | +0.303 [+0.260, +0.348] | <.001 | +0.207 [+0.170, +0.245] | <.001 | +0.166 [+0.123, +0.208] | <.001 |
| XLCoST Java | 3,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 Python | 3,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 JavaScript | 3,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 PHP | 1,566 | +0.003 [+0.001, +0.005] | <.01 | +0.006 [+0.003, +0.008] | <.001 | −0.013 [−0.015, −0.011] | 1.00 |
| XLCoST C | 283 | +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 → DBpedia | 129 | +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 → Wikidata | 304 | +0.056 [+0.030, +0.083] | <.001 | +0.000 [−0.021, +0.022] | 0.49 | +0.045 [+0.024, +0.067] | <.001 |
| MultiFarm zh → en | 246 | +0.128 [+0.087, +0.170] | <.001 | +0.008 [−0.022, +0.038] | 0.31 | +0.557 [+0.508, +0.606] | <.001 |
| MultiFarm ru → en | 246 | +0.065 [+0.022, +0.107] | <.01 | −0.024 [−0.059, −0.010] | 0.92 | +0.492 [+0.441, +0.545] | <.001 |
| MultiFarm ar → en | 239 | +0.094 [+0.050, +0.139] | <.001 | +0.002 [−0.038, +0.044] | 0.46 | +0.434 [+0.379, +0.488] | <.001 |
| Bio-ML valid | 634 | +0.075 [+0.052, +0.099] | <.001 | +0.069 [+0.047, +0.091] | <.001 | −0.000 [−0.021, +0.020] | 0.51 |
| Bio-ML train | 3,845 | +0.062 [+0.053, +0.071] | <.001 | +0.046 [+0.038, +0.055] | <.001 | −0.000 [−0.008, +0.007] | 0.51 |
| Anatomy | 1,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.
| Row | Comparison | SAE-IDF | other | [95% CI] | ||
| S1: random dictionary of the same width and sparsity | ||||||
| Lean 4 Isabelle | Random + idf | 483 | 0.961 | 0.865 | +0.096 [+0.068, +0.125] | <0.001 |
| Lean 4 Isabelle | Random, unw. | 483 | 0.961 | 0.845 | +0.116 [+0.088, +0.145] | <0.001 |
| Lean 4 Metamath | Random + idf | 482 | 0.661 | 0.146 | +0.516 [+0.476, +0.555] | <0.001 |
| Lean 4 Metamath | Random, unw. | 482 | 0.661 | 0.156 | +0.505 [+0.466, +0.543] | <0.001 |
| Lean 4 HOL Light | Random + idf | 317 | 0.898 | 0.349 | +0.549 [+0.500, +0.596] | <0.001 |
| Lean 4 HOL Light | Random, unw. | 317 | 0.898 | 0.484 | +0.414 [+0.367, +0.461] | <0.001 |
| XLCoST Java | Random + idf | 3918 | 0.480 | 0.420 | +0.060 [+0.056, +0.063] | <0.001 |
| XLCoST Java | Random, unw. | 3918 | 0.480 | 0.467 | +0.013 [+0.011, +0.016] | <0.001 |
| XLCoST Cpp | Random + idf | 3895 | 0.478 | 0.317 | +0.161 [+0.155, +0.167] | <0.001 |
| XLCoST Cpp | Random, unw. | 3895 | 0.478 | 0.387 | +0.091 [+0.087, +0.096] | <0.001 |
| XLCoST Python | Random + idf | 3853 | 0.485 | 0.471 | +0.014 [+0.013, +0.016] | <0.001 |
| XLCoST Python | Random, unw. | 3853 | 0.485 | 0.472 | +0.013 [+0.011, +0.015] | <0.001 |
| XLCoST Csharp | Random + idf | 3898 | 0.479 | 0.479 | +0.000 [-0.002, +0.002] | 0.366 |
| XLCoST Csharp | Random, unw. | 3898 | 0.479 | 0.483 | -0.004 [-0.006, -0.002] | 1.000 |
| XLCoST Javascript | Random + idf | 3851 | 0.482 | 0.470 | +0.012 [+0.009, +0.014] | <0.001 |
| XLCoST Javascript | Random, unw. | 3851 | 0.482 | 0.478 | +0.003 [+0.001, +0.005] | <0.001 |
| XLCoST PHP | Random + idf | 1566 | 0.442 | 0.426 | +0.016 [+0.013, +0.019] | <0.001 |
| XLCoST PHP | Random, unw. | 1566 | 0.442 | 0.421 | +0.021 [+0.017, +0.024] | <0.001 |
| XLCoST C | Random + idf | 283 | 0.405 | 0.336 | +0.069 [+0.059, +0.079] | <0.001 |
| XLCoST C | Random, unw. | 283 | 0.405 | 0.295 | +0.110 [+0.099, +0.122] | <0.001 |
| NELL DBpedia | Random + idf | 129 | 0.976 | 0.901 | +0.075 [+0.032, +0.121] | <0.001 |
| NELL DBpedia | Random, unw. | 129 | 0.976 | 0.901 | +0.075 [+0.032, +0.123] | <0.001 |
| YAGO Wikidata | Random + idf | 304 | 0.962 | 0.797 | +0.165 [+0.126, +0.204] | <0.001 |
| YAGO Wikidata | Random, unw. | 304 | 0.962 | 0.797 | +0.165 [+0.126, +0.206] | <0.001 |
| MultiFarm zh en | Random + idf | 246 | 0.754 | 0.533 | +0.221 [+0.165, +0.274] | <0.001 |
| MultiFarm zh en | Random, unw. | 246 | 0.754 | 0.482 | +0.272 [+0.218, +0.327] | <0.001 |
| MultiFarm ru en | Random + idf | 246 | 0.765 | 0.542 | +0.222 [+0.170, +0.275] | <0.001 |
| MultiFarm ru en | Random, unw. | 246 | 0.765 | 0.448 | +0.316 [+0.261, +0.370] | <0.001 |
| MultiFarm ar en | Random + idf | 239 | 0.722 | 0.425 | +0.297 [+0.245, +0.351] | <0.001 |
| MultiFarm ar en | Random, unw. | 239 | 0.722 | 0.368 | +0.354 [+0.301, +0.410] | <0.001 |
| Bio-ML valid | Random + idf | 634 | 0.817 | 0.692 | +0.126 [+0.100, +0.152] | <0.001 |
| Bio-ML valid | Random, unw. | 634 | 0.817 | 0.680 | +0.137 [+0.111, +0.162] | <0.001 |
| Bio-ML train | Random + idf | 3845 | 0.815 | 0.711 | +0.105 [+0.095, +0.115] | <0.001 |
| Bio-ML train | Random, unw. | 3845 | 0.815 | 0.693 | +0.123 [+0.113, +0.133] | <0.001 |
| Anatomy | Random + idf | 1516 | 0.886 | 0.788 | +0.098 [+0.083, +0.114] | <0.001 |
| Anatomy | Random, unw. | 1516 | 0.886 | 0.791 | +0.094 [+0.078, +0.111] | <0.001 |
| Valentine (F1) | Random + idf | 551 | 0.614 | 0.482 | +0.132 [+0.118, +0.147] | <0.001 |
| Valentine (F1) | Random, unw. | 551 | 0.614 | 0.460 | +0.154 [+0.137, +0.172] | <0.001 |
| Valentine (MRR) | Random + idf | 551 | 0.856 | 0.647 | +0.209 [+0.187, +0.231] | <0.001 |
| Valentine (MRR) | Random, unw. | 551 | 0.856 | 0.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 .
| Row | Comparison | SAE-IDF | other | [95% CI] | ||
| S2: stronger dense controls | ||||||
| Lean 4 → Isabelle | −36 PCs | 483 | 0.961 | 0.928 | +0.033 [+0.014, +0.052] | <0.001 |
| Lean 4 → Isabelle | z-score | 483 | 0.961 | 0.942 | +0.019 [+0.001, +0.038] | 0.020 |
| Lean 4 → Isabelle | ZCA | 483 | 0.961 | 0.946 | +0.015 [−0.002, +0.032] | 0.041 |
| Lean 4 → Isabelle | dense-idf | 483 | 0.961 | 0.942 | +0.019 [+0.001, +0.037] | 0.020 |
| Lean 4 → Isabelle | sparse dense-idf | 483 | 0.961 | 0.914 | +0.047 [+0.026, +0.069] | <0.001 |
| Lean 4 → Metamath | −36 PCs | 482 | 0.661 | 0.401 | +0.260 [+0.225, +0.297] | <0.001 |
| Lean 4 → Metamath | z-score | 482 | 0.661 | 0.257 | +0.404 [+0.369, +0.439] | <0.001 |
| Lean 4 → Metamath | ZCA | 482 | 0.661 | 0.465 | +0.196 [+0.163, +0.230] | <0.001 |
| Lean 4 → Metamath | dense-idf | 482 | 0.661 | 0.251 | +0.410 [+0.375, +0.446] | <0.001 |
| Lean 4 → Metamath | sparse dense-idf | 482 | 0.661 | 0.235 | +0.426 [+0.392, +0.461] | <0.001 |
| Lean 4 → HOL Light | −36 PCs | 317 | 0.898 | 0.728 | +0.170 [+0.133, +0.208] | <0.001 |
| Lean 4 → HOL Light | z-score | 317 | 0.898 | 0.707 | +0.191 [+0.154, +0.230] | <0.001 |
| Lean 4 → HOL Light | ZCA | 317 | 0.898 | 0.786 | +0.112 [+0.080, +0.145] | <0.001 |
| Lean 4 → HOL Light | dense-idf | 317 | 0.898 | 0.706 | +0.192 [+0.154, +0.231] | <0.001 |
| Lean 4 → HOL Light | sparse dense-idf | 317 | 0.898 | 0.605 | +0.293 [+0.250, +0.335] | <0.001 |
| XLCoST Java | −36 PCs | 3918 | 0.994 | 0.489 | +0.505 [+0.495, +0.514] | <0.001 |
| XLCoST Java | z-score | 3918 | 0.994 | 0.460 | +0.533 [+0.523, +0.543] | <0.001 |
| XLCoST Java | ZCA | 3918 | 0.994 | 0.463 | +0.531 [+0.521, +0.541] | <0.001 |
| XLCoST Java | dense-idf | 3918 | 0.994 | 0.460 | +0.533 [+0.523, +0.543] | <0.001 |
| XLCoST Java | sparse dense-idf | 3918 | 0.994 | 0.466 | +0.527 [+0.517, +0.537] | <0.001 |
| XLCoST Cpp | −36 PCs | 3895 | 0.985 | 0.483 | +0.503 [+0.493, +0.512] | <0.001 |
| XLCoST Cpp | z-score | 3895 | 0.985 | 0.477 | +0.508 [+0.498, +0.518] | <0.001 |
| XLCoST Cpp | ZCA | 3895 | 0.985 | 0.472 | +0.513 [+0.503, +0.524] | <0.001 |
| XLCoST Cpp | dense-idf | 3895 | 0.985 | 0.477 | +0.508 [+0.499, +0.518] | <0.001 |
| XLCoST Cpp | sparse dense-idf | 3895 | 0.985 | 0.475 | +0.510 [+0.500, +0.520] | <0.001 |
| XLCoST Python | −36 PCs | 3853 | 0.991 | 0.483 | +0.508 [+0.498, +0.517] | <0.001 |
| XLCoST Python | z-score | 3853 | 0.991 | 0.477 | +0.514 [+0.504, +0.523] | <0.001 |
| XLCoST Python | ZCA | 3853 | 0.991 | 0.405 | +0.586 [+0.575, +0.597] | <0.001 |
| XLCoST Python | dense-idf | 3853 | 0.991 | 0.477 | +0.514 [+0.505, +0.524] | <0.001 |
| XLCoST Python | sparse dense-idf | 3853 | 0.991 | 0.442 | +0.549 [+0.539, +0.560] | <0.001 |
| XLCoST Csharp | −36 PCs | 3898 | 0.994 | 0.488 | +0.506 [+0.497, +0.516] | <0.001 |
| XLCoST Csharp | z-score | 3898 | 0.994 | 0.459 | +0.535 [+0.525, +0.545] | <0.001 |
| XLCoST Csharp | ZCA | 3898 | 0.994 | 0.462 | +0.532 [+0.522, +0.542] | <0.001 |
| XLCoST Csharp | dense-idf | 3898 | 0.994 | 0.459 | +0.535 [+0.525, +0.545] | <0.001 |
| XLCoST Csharp | sparse dense-idf | 3898 | 0.994 | 0.464 | +0.530 [+0.520, +0.540] | <0.001 |
| XLCoST Javascript | −36 PCs | 3851 | 0.990 | 0.488 | +0.502 [+0.493, +0.512] | <0.001 |
| XLCoST Javascript | z-score | 3851 | 0.990 | 0.479 | +0.511 [+0.502, +0.521] | <0.001 |
| XLCoST Javascript | ZCA | 3851 | 0.990 | 0.481 | +0.510 [+0.500, +0.519] | <0.001 |
| XLCoST Javascript | dense-idf | 3851 | 0.990 | 0.479 | +0.511 [+0.502, +0.521] | <0.001 |
| XLCoST Javascript | sparse dense-idf | 3851 | 0.990 | 0.478 | +0.513 [+0.503, +0.522] | <0.001 |
| XLCoST PHP | −36 PCs | 1566 | 0.988 | 0.444 | +0.544 [+0.529, +0.558] | <0.001 |
| XLCoST PHP | z-score | 1566 | 0.988 | 0.437 | +0.551 [+0.536, +0.565] | <0.001 |
| XLCoST PHP | ZCA | 1566 | 0.988 | 0.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).
| Row | Comparison | SAE-IDF | other | [95% CI] | ||
| S2: stronger dense controls, continued | ||||||
| XLCoST PHP | dense-idf | 1566 | 0.988 | 0.437 | +0.551 [+0.536, +0.566] | <0.001 |
| XLCoST PHP | sparse dense-idf | 1566 | 0.988 | 0.435 | +0.553 [+0.538, +0.568] | <0.001 |
| XLCoST C | −36 PCs | 283 | 0.979 | 0.316 | +0.663 [+0.625, +0.700] | <0.001 |
| XLCoST C | z-score | 283 | 0.979 | 0.393 | +0.585 [+0.549, +0.620] | <0.001 |
| XLCoST C | ZCA | 283 | 0.979 | 0.283 | +0.696 [+0.655, +0.738] | <0.001 |
| XLCoST C | dense-idf | 283 | 0.979 | 0.394 | +0.585 [+0.549, +0.620] | <0.001 |
| XLCoST C | sparse dense-idf | 283 | 0.979 | 0.397 | +0.581 [+0.546, +0.616] | <0.001 |
| NELL → DBpedia | −36 PCs | 129 | 0.976 | 0.973 | +0.003 [-0.016, +0.019] | 0.437 |
| NELL → DBpedia | z-score | 129 | 0.976 | 0.923 | +0.053 [+0.015, +0.094] | 0.003 |
| NELL → DBpedia | ZCA | 129 | 0.976 | 0.989 | -0.013 [-0.033, +0.003] | 0.952 |
| NELL → DBpedia | dense-idf | 129 | 0.976 | 0.923 | +0.053 [+0.016, +0.094] | 0.002 |
| NELL → DBpedia | sparse dense-idf | 129 | 0.976 | 0.925 | +0.051 [+0.008, +0.097] | 0.009 |
| YAGO → Wikidata | −36 PCs | 304 | 0.962 | 0.957 | +0.005 [-0.013, +0.023] | 0.283 |
| YAGO → Wikidata | z-score | 304 | 0.962 | 0.814 | +0.148 [+0.110, +0.188] | <0.001 |
| YAGO → Wikidata | ZCA | 304 | 0.962 | 0.964 | -0.003 [-0.018, +0.013] | 0.631 |
| YAGO → Wikidata | dense-idf | 304 | 0.962 | 0.812 | +0.150 [+0.111, +0.190] | <0.001 |
| YAGO → Wikidata | sparse dense-idf | 304 | 0.962 | 0.847 | +0.115 [+0.081, +0.151] | <0.001 |
| MultiFarm zh → en | −36 PCs | 246 | 0.754 | 0.250 | +0.504 [+0.451, +0.557] | <0.001 |
| MultiFarm zh → en | z-score | 246 | 0.754 | 0.714 | +0.040 [+0.002, +0.077] | 0.020 |
| MultiFarm zh → en | ZCA | 246 | 0.754 | 0.136 | +0.618 [+0.564, +0.669] | <0.001 |
| MultiFarm zh → en | dense-idf | 246 | 0.754 | 0.710 | +0.044 [+0.006, +0.081] | 0.012 |
| MultiFarm zh → en | sparse dense-idf | 246 | 0.754 | 0.582 | +0.172 [+0.124, +0.221] | <0.001 |
| MultiFarm ru → en | −36 PCs | 246 | 0.765 | 0.259 | +0.506 [+0.449, +0.561] | <0.001 |
| MultiFarm ru → en | z-score | 246 | 0.765 | 0.713 | +0.052 [+0.013, +0.091] | 0.004 |
| MultiFarm ru → en | ZCA | 246 | 0.765 | 0.156 | +0.609 [+0.555, +0.662] | <0.001 |
| MultiFarm ru → en | dense-idf | 246 | 0.765 | 0.710 | +0.055 [+0.015, +0.094] | 0.004 |
| MultiFarm ru → en | sparse dense-idf | 246 | 0.765 | 0.582 | +0.182 [+0.135, +0.229] | <0.001 |
| MultiFarm ar → en | −36 PCs | 239 | 0.722 | 0.240 | +0.482 [+0.428, +0.535] | <0.001 |
| MultiFarm ar → en | z-score | 239 | 0.722 | 0.651 | +0.071 [+0.036, +0.108] | <0.001 |
| MultiFarm ar → en | ZCA | 239 | 0.722 | 0.170 | +0.552 [+0.498, +0.606] | <0.001 |
| MultiFarm ar → en | dense-idf | 239 | 0.722 | 0.644 | +0.078 [+0.042, +0.116] | <0.001 |
| MultiFarm ar → en | sparse dense-idf | 239 | 0.722 | 0.545 | +0.177 [+0.130, +0.223] | <0.001 |
| Valentine (F1) | −36 PCs | 551 | 0.614 | 0.468 | +0.146 [+0.130, +0.161] | <0.001 |
| Valentine (F1) | z-score | 551 | 0.614 | 0.459 | +0.155 [+0.138, +0.171] | <0.001 |
| Valentine (F1) | ZCA | 551 | 0.614 | 0.411 | +0.204 [+0.186, +0.222] | <0.001 |
| Valentine (F1) | dense-idf | 551 | 0.614 | 0.399 | +0.215 [+0.196, +0.233] | <0.001 |
| Valentine (F1) | sparse dense-idf | 551 | 0.614 | 0.208 | +0.406 [+0.385, +0.427] | <0.001 |
| Valentine (MRR) | −36 PCs | 551 | 0.856 | 0.548 | +0.308 [+0.287, +0.329] | <0.001 |
| Valentine (MRR) | z-score | 551 | 0.856 | 0.529 | +0.327 [+0.305, +0.349] | <0.001 |
| Valentine (MRR) | ZCA | 551 | 0.856 | 0.503 | +0.353 [+0.331, +0.373] | <0.001 |
| Valentine (MRR) | dense-idf | 551 | 0.856 | 0.485 | +0.371 [+0.350, +0.393] | <0.001 |
| Valentine (MRR) | sparse dense-idf | 551 | 0.856 | 0.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]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]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]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]Samy Badreddine, Artur d’Avila Garcez, Luciano Serafini, and Michael Spranger. 2022. Logic Tensor Networks. Artificial Intelligence, 303:103649.DOI
- [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]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]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]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]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]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]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]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
- [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
- [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
- [17]Jérôme Euzenat and Pavel Shvaiko. 2013. Ontology Matching, 2nd edition. Springer, Heidelberg.
- [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
- [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.
- [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
- [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
- [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
- [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.
- [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
- [25]Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, et al. 2024. The Llama 3 herd of models. ArXiv:2407.21783.
- [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
- [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
- [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
- [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
- [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
- [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.
- [32]Daniel Kahneman. 2011. Thinking, Fast and Slow. Farrar, Straus and Giroux, New York.
- [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
- [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
- [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
- [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
- [37]Douglas B. Lenat. 1995. CYC: A large-scale investment in knowledge infrastructure. Communications of the ACM, 38(11):33–38.DOI
- [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
- [39]Johnny Lin. 2023. Neuronpedia: Interactive reference and tooling for analyzing neural networks. Software available from neuronpedia.org.
- [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
- [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
- [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
- [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
- [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).
- [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
- [46]OpenAI. 2026. openai/math. GitHub repository, https://github.com/openai/math. Released 6 October 2026.
- [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




