potentialpaper

Prime by Prime: A Reference for Emergent Modularity

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:06 UTC · 2ab9f96608b9 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "ho6cqpAPCt"
- }
- ],
- "title": "Prime by Prime: A Reference for Emergent Modularity",
- "authors": [],
- "abstract": "Neural networks can break a task into subtasks and learn to solve each independently, in a different \npart of the model. \nBut what determines whether this modular organization emerges during learning remains poorly understood.\n One obstacle is that the relevant subtasks and their internal representations are often unknown. \n We address this by studying transformers trained to \n compute $(a+b)\\bmod n$ and $(a\\times b)\\bmod n$, where $n=p_1\\cdots p_k$\n is a product of distinct primes. These tasks admit a simple decomposition: represent the inputs through their \n remainders $a\\bmod p_i$ and $b\\bmod p_i$, perform arithmetic separately for each prime, and reconstruct the \n unique answer modulo $n$ consistent with the results, as guaranteed by the Chinese remainder theorem. \n We ask whether transformers discover this decomposition through training. We \n find that models trained jointly on addition and multiplication (i.e., learning the ring $\\mathbf{Z}_n$) \n consistently do so, with evidence at \n three levels: (i) errors occur approximately independently across primes, (ii) each prime’s computation occupies \n its own representational subspace, and (iii) these computations largely rely on distinct groups of neurons. \n This modular organization critically depends on the training task: addition alone produces entangled or partially \n modular solutions that vary across seeds, including fused subtasks and asymmetric dependencies between \n primes. Why training on the ring induces this modular solution, while addition alone does not, \n remains an open theoretical question and an interesting direction for future work.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "2254cb02-4bdb-4cdf-a88b-3c55a32b70a7"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Prime by Prime: A Reference for Emergent Modularity",
+ "authors": [],
+ "abstract": "Neural networks can break a task into subtasks and learn to solve each independently, in a different \npart of the model. \nBut what determines whether this modular organization emerges during learning remains poorly understood.\n One obstacle is that the relevant subtasks and their internal representations are often unknown. \n We address this by studying transformers trained to \n compute $(a+b)\\bmod n$ and $(a\\times b)\\bmod n$, where $n=p_1\\cdots p_k$\n is a product of distinct primes. These tasks admit a simple decomposition: represent the inputs through their \n remainders $a\\bmod p_i$ and $b\\bmod p_i$, perform arithmetic separately for each prime, and reconstruct the \n unique answer modulo $n$ consistent with the results, as guaranteed by the Chinese remainder theorem. \n We ask whether transformers discover this decomposition through training. We \n find that models trained jointly on addition and multiplication (i.e., learning the ring $\\mathbf{Z}_n$) \n consistently do so, with evidence at \n three levels: (i) errors occur approximately independently across primes, (ii) each prime’s computation occupies \n its own representational subspace, and (iii) these computations largely rely on distinct groups of neurons. \n This modular organization critically depends on the training task: addition alone produces entangled or partially \n modular solutions that vary across seeds, including fused subtasks and asymmetric dependencies between \n primes. Why training on the ring induces this modular solution, while addition alone does not, \n remains an open theoretical question and an interesting direction for future work.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}