betaFeedback

WorksComputer Science

Bigger Model or Bigger Table? How Much Backbone a Chorus N-gram Module Replaces

Abstract

We ask how much of a transformer's backbone the Chorus N-gram module replaces. Chorus adds hashed tables of token bigrams and trigrams to its input and attention. We train models of 16M to 349M parameters on 1.34 billion tokens of Polish printed before 1918 and find the size of a plain model with the same held-out loss. A separate learning-rate search for each kind of model cuts Chorus's gain at 47M by about a third. With tables about as large as the backbone, Chorus then matches a plain model 1.34 times its size at 16M and 1.16 to 1.20 times from 107M to 349M. With these tables, each added parameter replaces at most 0.31 backbone parameters. Chorus trains slower than a plain model of its size and faster than one of the same loss. On a fact quiz the two differ about as much as two seeds of one model. The results rest on one corpus, one 8,000-token vocabulary and a fifth of an epoch.

Introduction

Lookup memories give a language model more parameters with little added computation per token. Engram [2] reads hashed N-gram embeddings into the residual stream, and Chorus [3] shares one set of N-gram tables between the input and the attention values of many layers. Chung and Du vary Chorus’s tables from 20M to 9.6B parameters on a backbone of 21M and train one table size each on backbones of 17M and 133M. Someone choosing a model needs to know how many backbone parameters a table of a given size replaces, and whether that number changes with the size of the backbone.

We measure this number for Chorus at five backbone sizes, from 16M to 349M parameters, on the Wieszcz-XIX corpus of Polish printed before 1918 [13]. We call the transformer that Chorus is added to the backbone, and the same transformer trained without Chorus the plain model. For each Chorus model we read off the size a plain model needs for the same held-out loss, its equivalent size. A learning rate shared by both kinds of model can favour one of them, so we search the rate at every size for each kind separately. § 4 reports the effect of the rate search, equivalent sizes at several token budgets, larger tables, the parts of the module, a fact quiz and training throughput.

Related work

N-gram and token tables. Several recent modules add parameters that are looked up by token or by a hash of the last few tokens. Engram [2], called Deep Sparse Embedding in the proceedings version, reads such embeddings into a mixture-of-experts model. The Over-Tokenized Transformer [9] grows the input vocabulary with them and reports that its 400M model with the largest vocabulary matches the training loss of a 1B model without it. The count tables of COUNT, held in host memory [19], keep statistics of the training data outside the network. Appendix § 14 lists further work of this kind.

Equivalent sizes of added parameters. Scaling studies relate loss to model size and data [12, 7], and untuned learning rates distort such comparisons [21]. N-gram tables added to a pretrained 0.6B model brought no gain at the backbone’s rate and were trained at fifty times that rate [8]. The value of added parameters has been given as the size of an equivalent dense model for routed models [5], and memory layers outperform dense models with more than twice their computation [1]. JTok [26] reports the computation a mixture-of-experts model saves with token-indexed tables. Chorus extends a finding made by an AI agent on rStation (2026b), where agents also report dense-equivalent multipliers of hashed N-gram input tables of 151k rows, about ×\times1.3 at 26M and ×\times1.2 at 135M, with one fixed recipe (2026a). The Over-Tokenized Transformer and COUNT each give their gain across model sizes as an equivalent size or as computation, with one training recipe for models with and without tables. To our knowledge, as of November 2026, no published work measures the equivalent size of a learned N-gram memory with the backbone’s learning rate searched at every size for both kinds of model.

Setup

Data

All models train on the training split of the Wieszcz-XIX corpus ([13]), 6.69 billion tokens of Polish printed before 1918, under the corpus’s byte-level BPE tokenizer with a vocabulary of 8,000 tokens. We measure held-out loss on the corpus’s held-out split of 56.4 million tokens. Near-identical documents are removed first. The split is then drawn per document, and held-out documents with half or more of their five-word sequences in the training split are moved to the training side. A full run reads 1.34 billion tokens at random positions of the training split, a fifth of an epoch. Appendix § 10 gives the exact counts.

Backbones

The backbone is a decoder-only transformer with rotary position embeddings, RMSNorm before each sublayer and on its output, QK-normalisation, a SwiGLU feed-forward layer, grouped-query attention, a context of 1,024 tokens and input embeddings tied to the output head. The six sizes follow one rule: the width is 48 times the number of layers, the head dimension is 64, and there are a third as many key/value heads as query heads (Table 1).

NameParametersWithout embeddingLayersWidthHeads (KV)
16M15,668,60812,596,60883846 (2)
47M47,105,08842,497,088125769 (3)
107M106,859,264100,715,2641676812 (4)
204M204,368,320196,688,3202096015 (5)
349M349,069,440339,853,44024115218 (6)
550M550,399,808539,647,80828134421 (7)

Table 1. Table 1: Backbone sizes. Parameters counts every parameter of the plain model, including the tied embedding of 8,000×\times width. The size axis of every result uses this count, except where Section 4.2 reads it without the embedding. 550M is trained as a plain model only.

Chorus

We reimplement Chorus as described by Chung and Du [3], following their code. For each token, the module looks up one row in each of four shared N-gram tables, two for bigrams and two for trigrams, and one row in a token table. The key of an N-gram is its token ids read as one number in base 8,001, the extra symbol marking a position before the start of the sequence. A table’s row is that key modulo its number of rows, which is mm, m+2m + 2, m+4m + 4 or m+6m + 6 for a size mm set by the table budget. Each N-gram row has a quarter of the model’s width; joined, they are added to the token row of the full width. A sigmoid gate computed from the last three token embeddings scales the result, and a causal depthwise convolution over four positions refines it. The result is added once to the input embedding and, through a projection gated by each block’s hidden state, to the attention values of the even-numbered blocks. The tables start at zero, so an untrained module leaves the backbone unchanged.

Our code departs from the authors’ in two ways. The authors’ backbones normalise the input embedding; ours does not, and the module’s output is added to the raw embedding. The N-gram tables and the token table, together called the tables, are trained by SparseAdam at a rate of 0.0015 without weight decay. The authors use their Ember optimiser, which keeps one second-moment value per table row and per column. Appendix C has 47M runs with Ember at four rates.

Fixed part and N-gram rows. Chorus adds two groups of parameters. The fixed part is the token table, the gates, the convolution and the projections, and its size follows from the backbone’s width and depth (8.26 million parameters at 47M, 4.61 million of them in the token table). The N-gram rows are the rest, and we choose their number. We also train the fixed part alone, as Chorus without N-gram tables, and call it “fixed part only”.

Added ratio. We describe a Chorus model by its added ratio, all the parameters Chorus adds divided by the backbone’s. We train ratios of 0.275, 1.09 and 4.35, and for the largest tables 21.7 at 16M and 47M, 9.58 at 107M and 5.01 at 204M. At 349M we train 1.09 only. Tables of ratio 1.09 add about as many parameters as the backbone has, and we call them equal-size tables. Their fixed part is 25% of what Chorus adds at 16M and 9% at 349M.

Training

A full run takes 5,104 steps of 262,144 tokens (256 sequences of 1,024) with a warmup of 300 steps. The rate then stays at its peak and falls linearly to a tenth of it over the last 10% of steps, a short form of the cooldown studied by Hägele et al. [6]. Runs at half and twice the budget resume a full run from a step still at the peak rate and cool down over their own last 10% of steps. Muon (Jordan et al. [11]) trains the two-dimensional weights of the blocks and of the module, AdamW (Loshchilov and Hutter, [18]) the embedding, the normalisation weights and the convolution, and SparseAdam the tables.

Learning rate per size. Every size starts from the same peak rates, 0.015 for Muon and 0.0003 for AdamW, which we call the base rate. We name each rate by its Muon value, with AdamW in proportion: Muon 0.12 comes with AdamW 0.0024. We search the rate separately for the plain model and for Chorus with equal-size tables, in steps of a factor of two (Table 2). From 107M upward we ran fewer rates, and then the rates next to the best one. The 550M plain model ran at 0.06 and 0.12 only. A model’s best measured rate is the one with the lowest held-out loss, averaged over seeds; of two rates within a thousandth of a nat, we take the one with more seeds. We mark it ‡ when it lies at the edge of the searched range.

SizeModel0.00750.0150.030.060.120.240.48
16Mplain3.66063.60713.58203.56853.55733.54963.5512
16MChorus 1.093.52803.49973.48923.48033.47923.47913.4869
16Mgain0.1330.1070.0930.0880.0780.0710.064
47Mplain3.36333.33013.31283.29463.28693.28313.2946
47MChorus 1.093.27153.25313.24373.23683.23373.24103.2575
47Mgain0.0920.0770.0690.0580.0530.0420.037
107Mplain·3.16633.14893.13783.12703.12573.1463
107MChorus 1.09·3.10363.10023.09693.09663.1061·
107Mgain0.0630.0490.0410.0300.020
204Mplain·3.05223.03643.02903.02363.0286·
204MChorus 1.09·3.01093.00373.00073.0005··
204Mgain0.0410.0330.0280.023
349Mplain·2.97632.96172.95432.95112.9596·
349MChorus 1.09·2.94342.93662.93392.9348··
349Mgain0.0330.0250.0200.016
550Mplain···2.89762.8987·

Table 2. Table 2: Held-out loss in nats per token of plain models and of Chorus with equal-size tables at each Muon learning rate, with Chorus’s gain at each rate in italics. Bold: the best measured rate, the lowest loss after the tie rule of § 3.4. Chorus 1.09: Chorus with equal-size tables. ·: not run; larger models were run at fewer rates, chosen from the best rates at the smaller sizes. Cells with more than one seed (Table 8) give the average. Seeds of one configuration differ by 0.0002 to 0.0088 nats.

The fixed part only and the other table sizes run at 0.12 at 16M and 47M and at 0.06 at 107M and 204M, and half of them also at the base rate (Table 7). Equal-size tables also run at the base rate at every size. The tables’ own rate stays at 0.0015 at every size, five times the base AdamW rate.

SizeModelMuon rateSeedsLossGainEquivalent sizeMultiplierQuizZeroed quiz
Each model at its best measured rate
16Mplain0.2453.54960.076
16Mfixed part only0.1213.52730.022317M×1.100.086·
16MChorus 0.2750.1213.52840.021217M×1.090.0870.077
16MChorus 1.090.2453.47910.070521M×1.340.0890.054
16MChorus 4.350.1213.42850.121126M×1.650.0930.051
16MChorus 21.70.1213.38580.163831M×1.970.1240.062
47Mplain0.2433.28310.123
47Mfixed part only0.1213.27120.011950M×1.060.110·
47MChorus 0.2750.1213.27030.012850M×1.070.1310.074
47MChorus 1.090.1233.23370.049461M×1.290.1460.060
47MChorus 4.350.1213.20830.074870M×1.480.1380.064
47MChorus 21.70.1213.17910.103981M×1.720.1640.062
107Mplain0.2423.12570.161
107Mfixed part only0.0613.12360.0021108M×1.010.161·
107MChorus 0.2750.0613.12270.0030109M×1.020.1530.073
107MChorus 1.090.1223.09660.0291129M×1.200.2110.045
107MChorus 4.350.0613.07460.0511148M×1.380.1830.070
107MChorus 9.580.0613.06380.0619158M×1.480.2020.084
204Mplain0.1223.02360.230
204Mfixed part only0.0613.01950.0041211M×1.03··
204MChorus 0.2750.0613.01810.0054213M×1.04··
204MChorus 1.090.0623.00070.0229242M×1.180.2180.054
204MChorus 4.350.0612.98460.0390273M×1.33··
204MChorus 5.010.0612.98400.0396274M×1.34··
349Mplain0.1222.95110.233
349MChorus 1.090.0622.93390.0172404M×1.160.2400.067
550Mplain0.06{sup}‡`12.89760.270
Every model at the base rate
16Mplain0.01513.60710.071
16MChorus 1.090.01513.49970.107424M×1.530.0740.054
16MChorus 21.70.01513.38340.223638M×2.430.1310.064
47Mplain0.01523.33010.116
47Mfixed part only0.01523.29230.037757M×1.210.111·
47MChorus 0.2750.01513.29570.034356M×1.190.126·
47MChorus 1.090.01523.25310.076969M×1.470.1490.081
47MChorus 4.350.01513.21380.116384M×1.790.1540.080
47MChorus 21.70.01523.18150.148599M×2.100.1730.076
107Mplain0.01513.16630.135
107MChorus 0.2750.01513.13550.0308127M×1.190.1570.116
107MChorus 1.090.01513.10360.0627153M×1.430.1660.086
107MChorus 4.350.01513.07950.0868175M×1.640.1900.084
107MChorus 9.580.01513.06890.0974186M×1.740.2030.076
204Mplain0.01513.05220.192
204MChorus 1.090.01513.01090.0413273M×1.340.2170.106
349Mplain0.01512.97630.227
349MChorus 1.090.01512.94340.0329440M{sup}†×1.26{sup}†0.2660.109

Table 7. Table 7: Equivalent size and multiplier of Chorus models and of the fixed part only, averaged over seeds (the quiz over the seeds it was run for). Upper block: the plain model and Chorus 1.09 at their best measured rates, the other table sizes and the fixed part only at the Muon rate given. Lower block: every model at the base rate. Chorus models are labelled by their added ratio. Muon rate: the backbone’s Muon learning rate. Gain: the plain model’s loss minus the model’s loss, in nats. {sup}†: read beyond the largest plain model. {sup}‡: best rate at the edge of the searched range. Quiz: share of the 688 scored questions whose right answer the model scores highest. Zeroed quiz: the same model with its N-gram tables set to zero. ·: not measured.

Measurement

Held-out loss. We measure cross-entropy in nats per token on 8,192 non-overlapping windows of 1,024 tokens spread evenly over the held-out split, in float32. Every model is scored on the same windows, so differences between models are paired. Chorus’s gain is the plain model’s loss minus the Chorus model’s at the same size. Every configuration is trained with seed 1337, and 23 configurations at 16M, 47M, 107M, 204M and 349M also with further seeds (Table 8). Values are averaged over seeds, which differ by 0.0002 to 0.0088 nats; we call this range the seed spread. A plain and a Chorus model with the same seed read different training positions, since the module draws from the same random generator at initialisation.

Knowledge. Equal loss can hide different downstream behaviour [15], so we also use a fact quiz of 497 facts in seven groups, asked as 755 questions in the spelling of the period (Appendix § 13). One group has no candidate list and is left out, which leaves 688 scored questions. In the other groups every answer of the group is a candidate, scored as the continuation of the question by the summed log-probability of its tokens. A question is known when the right answer scores highest, and the score is the share of the 688 scored questions known. We compare two models with a sign test over the questions exactly one of them knows. We also run the quiz with the N-gram tables set to zero and the token table kept. Between seeds the score differs by 0.001 to 0.033.

Cost. We measure training throughput in tokens per second on the card, as the median over the run with its first tenth left out. Each Chorus model is compared with the plain model of its size on the same card type, and with a plain model of the same loss, whose throughput we interpolate between the measured sizes on logarithmic axes. We count training FLOPs per token after Kaplan et al. [12]: six per parameter in a matrix product, the tied embedding once as the output head, and six times the layers, the context and the width for attention. Chorus’s table reads are lookups, and its gates, convolution and projections count as matrix products.

Equivalent size

We plot the plain models’ held-out loss against size on a logarithmic axis and join neighbouring sizes by straight lines. A Chorus model’s equivalent size is the size at which this line reaches the Chorus model’s loss. Its multiplier is the equivalent size divided by the backbone’s size; a multiplier of ×1.5 means that a plain model needs one and a half times as many parameters for the same loss. The backbone parameters replaced per added parameter are the equivalent size minus the backbone’s size, divided by the parameters Chorus adds. Beyond the largest plain model we extend the last line and mark the value †.

Results

Learning rate per size

Best rates. Both kinds of model are lowest well above the base rate (Table 2). The plain model is lowest at Muon 0.24 up to 107M and at 0.12 at 204M and 349M. The 550M model is lowest at 0.06, the lower of its two rates, and a lower loss at another rate would lower the 349M multiplier. Chorus’s best rate is 0.24 at 16M, 0.12 at 47M and 107M, and 0.06 at 204M and 349M. At every size but 47M its loss at the next rate is within a thousandth of a nat.

Gain against rate. At a rate shared by both kinds of model, Chorus’s gain shrinks as the rate rises, at every size and over the rates measured. At 47M it falls from 0.092 nats at a Muon rate of 0.0075 to 0.037 at 0.48. With each model at its own best rate, the gain is smaller than at the base rate at every size (Table 7).

Equivalent size

Table 7 in Appendix § 8 gives, for each Chorus model, the size a plain model needs for the same held-out loss. Figure 1 plots its upper block.

Held-out loss against backbone size and multiplier against added parameters

Figure 1. (a) Held-out loss against backbone size. Circles: plain models. Squares: the same models with Chorus, hashed N-gram tables added to the transformer (the backbone), adding about as many parameters as the backbone. Every model is at its best measured backbone learning rate (§ 3.4). Each arrow ends at the equivalent size, the size a plain transformer would need for the same loss. (b) The multiplier, equivalent size divided by backbone size, against all parameters Chorus adds, its token table, gates and projections included, divided by the backbone’s. Other table sizes are at the rates of Table 7. Sizes are shifted slightly sideways so that their points do not cover each other; Table 7 gives the exact values.

Equal-size tables. At the best measured rates, equal-size tables give a 16M model the loss of a plain model ×1.34\times1.34 its size and a 47M model that of one ×1.29\times1.29 its size. From 107M to 349M the multiplier lies between ×1.16\times1.16 and ×1.20\times1.20, lower than at the two smaller sizes. At the base rate the multipliers are larger (lower block of Table 7). Figure 2 shows these multipliers against size, with those of a lower tables’ rate from the Limitations. Chorus gains more on held-out windows that repeat training text word for word, and it also gains on windows that share none (Appendix § 12).

Multiplier of equal-size tables against backbone size

Figure 2. Multiplier of equal-size tables against backbone size. Squares: each model at its best measured backbone rate (§ 3.4), with the tables’ rate of 0.0015 (Table 7). Triangles: the same backbone rates with a tables’ rate of 0.0005, mostly one seed (Appendix § 10). Circles: Chorus and the plain models at the base rate; the open circle is read beyond the largest plain model at that rate.

Readings. Table 3 reads the multiplier in three ways. The first two use the straight lines of Section 3.6, with the size counted with and without the tied embedding. The third uses the curve L=E+AN−αL = E + AN^{-\alpha}, with NN in millions, fitted by least squares to the six plain models at their best rates (Appendix § 10). Between two measured sizes the straight lines lie above a convex curve, so they read the larger multiplier. A change of one seed spread in one plain model moves the multipliers next to it by a few hundredths, more than resampling the held-out windows does.

SizeStraight linesFitted curveWithout embeddingWindow resampling (95%)Replaced per added
16M×1.34\times1.34×1.30\times1.30×1.38\times1.381.336 to 1.3420.31
47M×1.29\times1.29×1.27\times1.27×1.31\times1.311.290 to 1.2960.27
107M×1.20\times1.20×1.19\times1.19×1.21\times1.211.199 to 1.2070.19
204M×1.18\times1.18×1.18\times1.18×1.19\times1.191.179 to 1.1880.17
349M×1.16\times1.16×1.15\times1.15×1.16\times1.161.153 to 1.1630.14

Table 3. Multiplier of equal-size tables at the best measured rates in three readings, the range of the straight-line reading over 2,000 resamples of the held-out windows (2.5th to 97.5th percentile, the same windows for every model, losses averaged over seeds as in Table 7 (at 16M over seeds 1337 and 2), without the seed spread), and the backbone parameters replaced per added parameter.

Prediction at 550M. Before the 550M plain model was trained, the curve fitted to the five smaller sizes, with the losses measured by then (Appendix § 10), predicted 2.8982 nats for it, and the line through 204M and 349M 2.8941. It reached 2.8976.

Other budgets. In the full runs, size and tokens per parameter change together. Table 4 adds half and twice the budget. In each of its three pairs of sizes with about as many tokens per parameter, the larger backbone has the lower multiplier, for instance ×1.21\times1.21 at 107M against ×1.34\times1.34 at 47M with half the budget. Agents on rStation report the same direction for hashed input tables, in the gain in bits per byte, with one recipe (2026c). At each size, halving the budget raises the multiplier by 0.03 to 0.05, about what a plain model’s seed spread moves it. Doubling it gives ×1.33\times1.33 at 16M, against ×1.34\times1.34.

Tokens per parameterGain (nats)Multiplier
SizeHalfFullDoubleHalfFullDoubleHalfFullDouble
16M43851710.0700.0700.073×1.38×1.34×1.33
47M1428570.0510.0510.052×1.34×1.30×1.28
107M6.313250.0310.030·×1.25×1.21·
204M3.36.5·0.0260.023·×1.24×1.19·
349M1.93.8·0.0220.018·×1.20†×1.17·

Table 4. Chorus with equal-size tables at half, the full and twice the training budget, each model at its best measured rate at the full budget, seed 1337, and at 16M also seed 2, so the full-budget multipliers can differ from Table 3 by a few hundredths. Each multiplier is read on the plain models of the same budget. Tokens per parameter count the plain model’s parameters. The 47M full runs saved no state at step 2,297, so the 47M half runs train from step 0; at 16M a plain half run from step 0 reaches 3.6248 nats against 3.6271 for the resumed one. †: read beyond the largest plain model of that budget. ·: not run.

Larger tables

Larger tables raise the multiplier at every size and rate where more than one table size was trained (Figure 1b, Table 7), and tables of 0.275 reach about the loss of the fixed part alone. From equal-size tables upward, each added parameter replaces less backbone. At 47M it replaces 0.27 backbone parameters with equal-size tables and 0.03 with tables of 21.7. With those tables the 47M model has 1.07 billion parameters in all and still a higher loss than the 107M plain model, at the best measured rates, 3.1791 against 3.1257, and at the base rate.

Fixed part against N-gram rows

The fixed-part-only rows of Table 7 split Chorus’s gain between its fixed part and its N-gram rows. At 47M and the base rate the fixed part alone gives 0.038 of Chorus’s 0.077 nats, about half. At Chorus’s best rate it gives 0.012 of 0.049. The N-gram rows add about the same in both settings, 0.039 nats at the base rate and 0.038 at the best rate, so the drop in Chorus’s gain is mostly a drop in the fixed part’s gain. With the plain model, the fixed part and Chorus all at the fixed part’s rate in the upper block of Table 7, the fixed part gives 30 to 38% of Chorus’s gain at each size where it ran. Its own rate is searched only at 47M, over three rates, and Table 7 sets it against the plain model at that model’s best rate.

Knowledge

Two seeds of the 107M plain model at its best rate split 20 against 43, p=0.005p = 0.005 on the sign test of Table 5, so these tests also flag differences between seeds of one model. Against a plain model of their equivalent size the differences are smaller at four of the five sizes. At 107M Chorus scores 0.169, 0.185 and 0.211 at Muon 0.03, 0.06 and 0.12, rates with close losses (Table 2), so its sign test depends on which rate counts as best.

SizeChorusPlainEqual-loss plainZeroed ChorusChorusPlainpp
16M0.0890.0760.0890.05425170.28
47M0.1460.1230.1350.06032180.06
107M0.2110.1610.1800.0455812< 0.001
204M0.2180.2300.2310.05440480.46
349M0.2400.2330.2450.06747420.67

Table 5. Fact quiz at the best measured rates: share of the 688 scored questions whose right answer the model scores highest. Equal-loss plain: a plain model of the Chorus model’s equivalent size, its score interpolated. Zeroed Chorus: with its N-gram tables set to zero. Known only by: among the questions that exactly one of the two models knows (seed 1337 of each), how many only the Chorus model knows and how many only the plain model of its size knows. pp: the chance of a split at least this uneven if both models were equally good (two-sided sign test).

With its N-gram tables set to zero, each Chorus model scores below the plain model of its size (Table 5).

Cost

A Chorus model trains 9 to 16% slower than the plain model of its size, with little change across table sizes (Table 6).

SizeModelCardThroughput: ChorusThroughput: PlainThroughput: Chorus relative to plainThroughput: Chorus relative to equal-loss plainFLOPs per token: Chorus relative to plainFLOPs per token: Chorus relative to equal-loss plain
16MChorus 0.275RTX 3080250k288k0.871.070.98
16MChorus 1.09RTX 5090767k893k0.861.111.070.81
16MChorus 4.35RTX 3080247k288k0.861.070.66
16MChorus 21.7RTX 5090748k893k0.841.521.070.56
47MChorus 0.275RTX 5090304k339k0.900.951.071.00
47MChorus 1.09RTX 5090301k339k0.891.091.070.83
47MChorus 4.35RTX 5090301k339k0.891.201.070.73
47MChorus 21.7RTX 5090295k339k0.871.331.070.63
107MChorus 0.275RTX 5090159k179k0.890.911.071.05
107MChorus 1.09RTX 5090159k179k0.891.051.070.89
107MChorus 4.35RTX 5090160k179k0.891.201.070.78
107MChorus 9.58RTX 5090158k179k0.881.261.070.73
204MChorus 0.275RTX 509090k100k0.900.941.071.03
204MChorus 1.09RTX 509090k100k0.901.051.070.91
204MChorus 4.35RTX 509090k100k0.911.171.070.81
204MChorus 5.01RTX 509089k100k0.901.161.070.80
349MChorus 1.09RTX 509056k62k0.901.031.070.92

Table 6. Training cost of Chorus models. Throughput: tokens per second of the Chorus model and of the plain model of its size on the same card type (medians over the runs of each configuration). Chorus relative to: the Chorus model’s value divided by that of the plain model of its size (plain) and by that of a plain model of the same loss (equal-loss plain), interpolated between the measured sizes; above 1 means faster or more FLOPs. Throughput against equal-loss plain on RTX 5090 cards only. Training FLOPs counted as in § 3.5. Blank: the equivalent size lies outside the measured plain sizes, or no RTX 5090 run.

Against a plain model of the same loss, the Chorus model with equal-size tables trains faster, by 11% at 16M and 3% at 349M, and larger tables widen the differences (Table 6). With tables of 0.275 it trains 5 to 9% slower than a plain model of the same loss. Runs of one configuration differ in throughput by up to 3%. Per token, equal-size tables add 7% to the training FLOPs of the plain model of their size, and the Chorus model needs 8 to 19% fewer than a plain model of the same loss. Stored in four bits after training, the 47M tables change the held-out loss by 0.002 nats (Appendix § 11).

Summary

With the backbone’s rate searched for both kinds of model and the tables’ rate fixed, Chorus with equal-size tables reaches the loss of a plain model ×1.34 its size at 16M and ×1.16 to ×1.20 its size from 107M to 349M. Each parameter added by equal-size or larger tables replaces at most 0.31 backbone parameters, so at the same total number of parameters a plain model reaches a lower loss, at more computation per token. With a tables’ rate of 0.0005 instead of 0.0015, the multipliers are 0.02 to 0.07 higher and still fall with size. In single-seed runs at half the budget, of two backbones that see about as many tokens per parameter, the larger has the lower multiplier. Larger tables raise the multiplier, but the 47M model with 1.07 billion parameters still has a higher loss than the 107M plain model. A Chorus model with equal-size tables trains 3 to 11% faster than a plain model of the same loss, against a run-to-run spread of up to 3%.

Limitations

  • One corpus, one tokenizer, one module. Every model trains on Polish printed before 1918 with an 8,000-token vocabulary. Chorus is our own reimplementation, which departs from the authors’ code as § 3.3 describes. Its gain has the sign of the authors’ and grows with table size. We did not run the authors’ setup, so we compare none of their numbers directly. At 47M and the base rate, one seed each, Chorus lowers the bits per byte by 0.033, 0.025 and

0.020 with 8,000, 32,000 and 48,000 tokens, with the same table parameters and fewer N-gram rows. Growing the plain model’s vocabulary from 8,000 to 48,000 tokens lowers its bits per byte by 0.021.

  • The rate search. Only the backbone’s Muon rate is searched, with AdamW tied to it and the tables’ rate fixed at 0.0015. At Chorus’s best backbone rate, a tables’ rate of 0.0005 lowered the loss at every size, by 0.003 to 0.009 nats, and raised the multiplier by 0.02 to 0.07, mostly for one seed (Appendix C). With 0.0005, the multiplier still falls with size, from ×1.36\times1.36 at 16M to ×1.21\times1.21 at 349M. Part of the change of the gain with the backbone rate may come from the fixed tables’ rate. The best rate is the lowest of two to seven losses, mostly from one seed, measured on the same held-out windows on which we report the loss.

  • Budgets and schedule. A full run reads 1.34 billion tokens with one short cooldown, from 85 tokens per parameter at 16M to 3.8 at 349M. The fixed part’s share of what Chorus adds also changes with backbone size. Runs at other budgets use the rates searched at the full budget.

  • Table sizes at 349M. At 349M only equal-size tables were trained: larger tables, with two optimiser moments per value, need more memory than a 32 GB card has. The curve over table size therefore ends at 204M.

  • Seeds. Only 23 configurations of Table 8, at 16M, 47M, 107M, 204M and 349M, have more than one seed.

  • What the subsets measure. Windows with and without overlap also differ in their text, and zeroing the N-gram tables also changes the input of every layer.

  • The quiz. The author chose its facts. Facts asked in two phrasings make the sign tests optimistic, and summing the log-probability of a multi-token answer may favour N-gram tables. Chance is one in 47 to 72.

  • Measures. We measure held-out loss, one quiz and training throughput on consumer cards. We count floating-point operations from the architecture, measure no inference, and know of no standard benchmark for this period of Polish.

Declarations

Funding. This research received no external, institutional or commercial funding. The training compute was rented and paid for by the author or ran on the author’s own machine.

Competing interests. The author declares no competing interests.

Use of AI. AI was used to assist with writing code and to draft and edit the text, which the author reviewed and revised. The author directed the study, chose its research questions and experiments, and takes full responsibility for the content.

Code and data. The corpus and tokenizer are those of Kocur [13]. The code, the configurations, the held-out results of every run and the script that computes the paper’s tables from them are at https://github.com/SKocur/chorus-scaling.

Equivalent size of every model

All runs

Every run of the rate search and of the table sizes. Muon rate: the backbone’s Muon learning rate at its peak (AdamW in proportion). Chorus r: added ratio r. Parameters: all of the model’s, Chorus’s tables included. Loss: held-out nats per token. Quiz: share of the 688 scored questions known; zeroed: with the N-gram tables set to zero. Tokens/s: training throughput (§ 3.5). Micro: micro-batch in sequences, the rest of the 256 per step made up by accumulation. ·: not measured.

SizeModelMuon rateSeedParametersLossBits/byteQuizZeroedTokens/sMicroCard
16Mplain0.0075133715.7M3.66061.57600.054·287k16RTX 3080
16Mplain0.015133715.7M3.60711.55310.071·286k16RTX 3080
16Mplain0.03133715.7M3.58201.54210.064·288k16RTX 3080
16Mplain0.06133715.7M3.56851.53640.081·288k16RTX 3080
16Mplain0.12215.7M3.55951.5326··895k16RTX 5090
16Mplain0.12133715.7M3.55501.53060.077·894k16RTX 5090
16Mplain0.24215.7M3.55331.52990.076·893k16RTX 5090
16Mplain0.24315.7M3.54741.5276··885k16RTX 5090
16Mplain0.24415.7M3.55311.5299··885k16RTX 5090
16Mplain0.24515.7M3.54961.5285··876k16RTX 5090
16Mplain0.24133715.7M3.54451.52610.077·903k16RTX 5090
16Mplain0.48215.7M3.54801.5277··902k16RTX 5090
16Mplain0.48133715.7M3.55451.53050.077·883k16RTX 5090
16Mfixed part only0.12133720.0M3.52731.51870.086·254k16RTX 3080
16MChorus 0.2750.12133720.0M3.52841.51930.0870.077250k16RTX 3080
16MChorus 1.090.0075133732.8M3.52801.51910.0760.058249k16RTX 3080
16MChorus 1.090.015133732.8M3.49971.50690.0740.054250k16RTX 3080
16MChorus 1.090.03133732.8M3.48921.50250.0830.060250k16RTX 3080
16MChorus 1.090.06232.8M3.48151.4991··769k16RTX 5090
16MChorus 1.090.06133732.8M3.47921.49810.0800.057250k16RTX 3080
16MChorus 1.090.12232.8M3.48041.49870.0840.054767k16RTX 5090
16MChorus 1.090.12133732.8M3.47801.49760.0870.054769k16RTX 5090
16MChorus 1.090.24232.8M3.47871.4979··767k16RTX 5090
16MChorus 1.090.24332.8M3.47831.4979··760k16RTX 5090
16MChorus 1.090.24432.8M3.48051.4988··764k16RTX 5090
16MChorus 1.090.24532.8M3.47971.4985··761k16RTX 5090
16MChorus 1.090.24133732.8M3.47811.49770.0890.054769k16RTX 5090
16MChorus 1.090.48133732.8M3.48691.50160.0860.060766k16RTX 5090
16MChorus 4.350.12133783.8M3.42851.47650.0930.051247k16RTX 3080
16MChorus 21.70.0151337356.3M3.38341.45740.1310.064748k16RTX 5090
16MChorus 21.70.121337356.3M3.38581.45840.1240.062246k16RTX 3080
47Mplain0.0075133747.1M3.36331.44850.102·340k16RTX 5090
47Mplain0.015247.1M3.3283·0.108·105k16RTX 3080
47Mplain0.015133747.1M3.33181.43490.124·106k16RTX 3080
47Mplain0.03133747.1M3.31281.42680.106·339k16RTX 5090
47Mplain0.06133747.1M3.29461.41900.118·338k16RTX 5090
47Mplain0.12133747.1M3.28691.41580.129·344k16RTX 5090
47Mplain0.24247.1M3.28331.41420.129·334k16RTX 5090
47Mplain0.24347.1M3.28201.41360.122·336k16RTX 5090
47Mplain0.24133747.1M3.28401.41450.116·344k16RTX 5090
47Mplain0.48133747.1M3.29461.41910.128·338k16RTX 5090
47Mfixed part only0.015255.4M3.29191.41800.100·306k16RTX 5090
47Mfixed part only0.015133755.4M3.2927·0.122·96k16RTX 3080
47Mfixed part only0.12133755.4M3.27121.40900.110·308k16RTX 5090
47Mfixed part only0.24133755.4M3.27321.40990.112·307k16RTX 5090
47MChorus 0.2750.015133760.1M3.2957·0.126·305k16RTX 5090
47MChorus 0.2750.12133760.1M3.27031.40880.1310.074304k16RTX 5090
47MChorus 1.090.0075133798.5M3.27151.40930.1290.084304k16RTX 5090
SizeModelMuon rateSeedParametersLossBits/byteQuizZeroedTokens/sMicroCard
47MChorus 1.090.015298.5M3.25301.40130.150·301k16RTX 5090
47MChorus 1.090.015133798.5M3.25321.40150.1480.08191k8RTX 3080
47MChorus 1.090.03133798.5M3.24371.39740.1320.067303k16RTX 5090
47MChorus 1.090.06298.5M3.23841.3951··300k16RTX 5090
47MChorus 1.090.06133798.5M3.23521.39370.1500.054302k16RTX 5090
47MChorus 1.090.12298.5M3.23431.39320.1500.064299k16RTX 5090
47MChorus 1.090.12398.5M3.23361.39270.1510.052300k16RTX 5090
47MChorus 1.090.12133798.5M3.23321.39290.1370.062303k16RTX 5090
47MChorus 1.090.24133798.5M3.24101.39620.1380.061303k16RTX 5090
47MChorus 1.090.48133798.5M3.25751.40330.1240.058300k16RTX 5090
47MChorus 4.350.0151337252.1M3.2138·0.1540.08091k8RTX 3080
47MChorus 4.350.121337252.1M3.20831.38210.1380.064301k16RTX 5090
47MChorus 21.70.01521071.3M3.18081.37050.1700.077290k16RTX 5090
47MChorus 21.70.01513371071.3M3.1822·0.1760.076295k16RTX 5090
47MChorus 21.70.1213371071.3M3.17911.36980.1640.062298k16RTX 5090
107Mplain0.0151337106.9M3.16631.36390.135·179k16RTX 5090
107Mplain0.031337106.9M3.14891.35660.147·178k16RTX 5090
107Mplain0.061337106.9M3.13781.35180.172·179k16RTX 5090
107Mplain0.122106.9M3.12471.34620.176·179k16RTX 5090
107Mplain0.121337106.9M3.12921.34800.164·181k16RTX 5090
107Mplain0.242106.9M3.12431.34600.177·179k16RTX 5090
107Mplain0.241337106.9M3.12711.34740.144·178k16RTX 5090
107Mplain0.481337106.9M3.14631.35540.170·178k16RTX 5090
107Mfixed part only0.061337121.1M3.12361.34570.161·162k16RTX 5090
107MChorus 0.2750.0151337136.3M3.13551.35070.1570.116161k16RTX 5090
107MChorus 0.2750.061337136.3M3.12271.34540.1530.073158k16RTX 5090
107MChorus 1.090.0151337223.4M3.10361.33730.1660.086159k16RTX 5090
107MChorus 1.090.032223.4M3.10331.3370··160k16RTX 5090
107MChorus 1.090.031337223.4M3.09711.33430.1690.084159k16RTX 5090
107MChorus 1.090.062223.4M3.09741.33460.1900.067160k16RTX 5090
107MChorus 1.090.061337223.4M3.09651.33400.1790.061160k16RTX 5090
107MChorus 1.090.122223.4M3.09641.3341··158k16RTX 5090
107MChorus 1.090.121337223.4M3.09681.33430.2110.045161k16RTX 5090
107MChorus 1.090.241337223.4M3.10611.3381··158k16RTX 5090
107MChorus 4.350.0151337571.8M3.07951.32690.1900.084159k16RTX 5090
107MChorus 4.350.061337571.8M3.07461.32470.1830.070160k16RTX 5090
107MChorus 9.580.01513371131.0M3.06891.32230.2030.076157k16RTX 5090
107MChorus 9.580.0613371131.0M3.06381.32020.2020.084159k16RTX 5090
204Mplain0.0151337204.4M3.05221.31510.192·100k8RTX 5090
204Mplain0.031337204.4M3.03641.30840.205·101k8RTX 5090
204Mplain0.061337204.4M3.02901.30510.212·99k8RTX 5090
204Mplain0.122204.4M3.02391.3030··99k8RTX 5090
204Mplain0.121337204.4M3.02321.30270.230·99k8RTX 5090
204Mplain0.241337204.4M3.02861.3050··100k8RTX 5090
204Mfixed part only0.061337227.1M3.01951.3012··91k8RTX 5090
204MChorus 0.2750.061337260.6M3.01811.3006··90k8RTX 5090
204MChorus 1.090.0151337427.2M3.01091.29740.2170.10690k8RTX 5090
204MChorus 1.090.031337427.2M3.00371.29430.2150.08490k8RTX 5090
204MChorus 1.090.062427.2M3.00151.2935··89k8RTX 5090
204MChorus 1.090.061337427.2M2.99991.29270.2180.05489k8RTX 5090
204MChorus 1.090.121337427.2M3.00051.29310.2080.06590k8RTX 5090
204MChorus 4.350.0613371093.6M2.98461.2862··90k8RTX 5090
204MChorus 5.010.0613371228.5M2.98401.2859··89k8RTX 5090
349Mplain0.0151337349.1M2.97631.28250.227·62k8RTX 5090
349Mplain0.031337349.1M2.96171.27620.259·62k8RTX 5090
349Mplain0.062349.1M2.95521.2735··62k8RTX 5090
349Mplain0.061337349.1M2.95351.27260.243·62k8RTX 5090
SizeModelMuon rateSeedParametersLossBits/byteQuizZeroedTokens/sMicroCard
349Mplain0.122349.1M2.95141.2717··63k8RTX 5090
349Mplain0.121337349.1M2.95081.27150.233·62k8RTX 5090
349Mplain0.241337349.1M2.95961.2752··63k8RTX 5090
349MChorus 1.090.0151337729.7M2.94341.26850.2660.10956k8RTX 5090
349MChorus 1.090.031337729.7M2.93661.26540.2750.09356k8RTX 5090
349MChorus 1.090.062729.7M2.93521.2648··56k8RTX 5090
349MChorus 1.090.061337729.7M2.93251.26380.2400.06756k8RTX 5090
349MChorus 1.090.121337729.7M2.93481.26460.2410.05756k8RTX 5090
550Mplain0.061337550.4M2.89761.24860.270·41k8RTX 5090
550Mplain0.121337550.4M2.89871.2489··42k8RTX 5090

Table 8.

Training details

Exact counts. The training split has 6,689,593,236 tokens and the held-out split 56,363,707. Every full run reads 1,337,982,976 tokens: 5,104 steps of 256 sequences of 1,024 tokens, each sequence starting at a random position of the training split, in which documents are separated by an end-of-text token.

Backbone. The feed-forward layer is SwiGLU with a hidden width of 8/38/3 of the model width, rounded up to a multiple of 64. Rotary embeddings use a base of 10,000. There is no dropout. Weights start from a normal distribution with standard deviation 0.02, and the output projections of the residual branches are scaled by 1/2L1/\sqrt{2L} for LL layers. RMSNorm uses ϵ=10−5\epsilon= 10^{-5}.

Optimisers. Muon uses momentum 0.95 and five Newton–Schulz steps, and scales each update by max⁡(1,rows⁡/columns⁡)\sqrt{\max(1,\operatorname{rows}/\operatorname{columns})} of the weight matrix. AdamW and SparseAdam use β=(0.9,0.95)\beta= (0.9, 0.95). No parameter has weight decay. Gradients of every parameter except the tables are clipped to a norm of 1.0. Training runs in bfloat16 autocast with torch.compile; the evaluation runs in float32. The micro-batch is 16 sequences with 16 steps of accumulation from 16M to 107M and 8 with 32 at 204M and 349M; configurations whose tables do not fit fall back to 8, 4, 2 or 1 sequences with the same 256 per step.

Chorus. The smallest of the four N-gram tables has mm rows of a quarter of the model’s width, and the others have m+2m + 2, m+4m + 4 and m+6m + 6. The value of mm is at 16M 17, 33,280, 166,334 and 875,943 for added ratios of 0.275, 1.09, 4.35 and 21.7; at 47M 8,153, 74,820, 341,490 and 1,763,705; at 107M 19,771, 133,199, 586,910 and 1,315,032 (ratio 9.58); at 204M 208,417 and at 349M 300,475 for equal-size tables. At 16M and 0.275 each N-gram table has 17 rows, so that model is about the fixed part alone. With equal-size tables the fixed part is 25, 16, 12, 10 and 9% of what Chorus adds from 16M to 349M, and with tables of 0.275 at 47M it is 64%.

Fitted curve. The curve L=E+AN−αL = E + AN^{-\alpha} of Section 4.2 is fitted with α\alpha chosen on a grid in steps of 0.002 and EE and AA by least squares for each α\alpha, which gives α=0.254\alpha= 0.254, E=2.4526E = 2.4526 and A=2.2070A = 2.2070. The prediction for 550M used 3.5489, 3.2831, 3.1257, 3.0232 and 2.9535 nats from 16M to 349M, the lowest losses measured by then.

Overlap. Checked token by token, sampled hash matches between held-out and training sequences agree in 200 of 200 cases for 13 tokens and 200 of 200 for 50.

Cards. Runs were trained on RTX 5090 cards (32 GB) and on one RTX 3080 (10 GB); Table 8 lists the card of every run.

Bits per byte. The bits per byte of Table 8 cover every window of the held-out split, more text than the 8,192 windows of the loss: the summed cross-entropy divided by ln⁡2\ln2 and by the UTF-8 bytes of the predicted tokens.

The tables’ rate. At 47M and the base rate, Chorus with equal-size tables reached 3.2531 nats with the tables’ rate of 0.0015 (two seeds), and 3.2539, 3.2498 and 3.2514 nats with 0.0005, 0.0045 and 0.0135 (seed 1337). At a Muon rate of 0.12, Chorus’s best at 47M, tables’ rates of 0.0005 and 0.0045 gave 3.2290 and 3.2498 nats against 3.2332 at 0.0015, all for seed 1337. At every size, with equal-size tables and Chorus’s best backbone rate, lower tables’ rates gave:

SizeTables’ rateSeedsChorus loss (nats) at 0.0015Chorus loss (nats) lowerEquivalent size at 0.0015Equivalent size lowerMultiplier at 0.0015Multiplier lower
16M0.000533.47843.475421.0M21.3M×1.34×1.36
16M0.0001733.47843.473921.0M21.4M×1.34×1.37
16M0.00005633.47843.474121.0M21.4M×1.34×1.37
47M0.000523.23383.230360.9M62.0M×1.29×1.32
47M0.0001713.23323.228061.1M62.7M×1.30×1.33
107M0.000513.09683.0875128M136M×1.20×1.27
204M0.000512.99992.9948243M253M×1.19×1.24
349M0.000512.93252.9289409M422M×1.17×1.21

Table 8 (PDF p. 19).

“Lower” is the tables’ rate of the row. The equivalent size is that of a plain model with the same loss on the line through the plain models at their best rates, and the multiplier divides it by the backbone’s size. Both columns of a pair come from the same seeds.

Ember. At 47M and the base rate, Chorus with equal-size tables trained with Ember at 0.023, 0.073, 0.23 and 0.73 reached 3.2604, 3.2626, 3.2660 and 3.2685 nats, against 3.2531 with SparseAdam. The rate of 0.23 is the authors’ 0.2 (d/768)−1/20.2\,(d/768)^{-1/2} at our width d=576d = 576.

Tables at lower precision

We round every row of the tables, the token table included, to signed integers of a given width, with the row’s largest magnitude as its 16-bit scale, and measure the change in held-out loss on 1,024 windows spread over the held-out split (Table 9). Stored in eight bits, the tables change the loss by 0.000 nats. In four bits the change is 0.002 nats, at about a quarter of the tables’ 16-bit size and with at most 1 quiz question changed; the tables keep 97 to 98% of the gain of the same configuration on all windows. In three bits the change is 0.012 to 0.014 nats, and in two bits 0.186 to 0.235, more than the tables gave. Chung and Du [4] report more than 99% of the gain of generic N-gram tables kept at four bits, as a share of the tables’ own gain; ours is a share of the whole module’s gain, at the base rate.

TableBitsLoss changeQuizTable size
47M, Chorus 1.0932 (trained)0.148
47M, Chorus 1.098+0.00000.14848 MB (bf16 95 MB)
47M, Chorus 1.094+0.00210.14825 MB (bf16 95 MB)
47M, Chorus 1.093+0.01220.14419 MB (bf16 95 MB)
47M, Chorus 1.092+0.18640.10313 MB (bf16 95 MB)
47M, Chorus 4.3532 (trained)0.154
47M, Chorus 4.358+0.00000.154204 MB (bf16 403 MB)
47M, Chorus 4.354+0.00220.153103 MB (bf16 403 MB)
47M, Chorus 4.353+0.01280.15678 MB (bf16 403 MB)
47M, Chorus 4.352+0.21520.12553 MB (bf16 403 MB)
47M, Chorus 21.732 (trained)0.170
47M, Chorus 21.78+0.00000.1701035 MB (bf16 2041 MB)
47M, Chorus 21.74+0.00250.172524 MB (bf16 2041 MB)
47M, Chorus 21.73+0.01410.170397 MB (bf16 2041 MB)
47M, Chorus 21.72+0.23510.131269 MB (bf16 2041 MB)

Table 9. Chorus tables of three 47M models trained at the base rate (added ratios 1.09 and 4.35 from seed 1337, 21.7 from seed 2), stored at lower precision after training: change in held-out loss on 1,024 windows spread over the held-out split against the trained tables, quiz score and table size.

Overlap between held-out and training text

An NN-gram memory can gain most where the held-out text repeats the training text word for word, as in reprints. For each of the 8,192 scored windows we therefore find which of its 13-token and 50-token sequences occur anywhere in the training split (Appendix § 10). A run reads about a fifth of the split, so the shares below bound the overlap with what any one run saw. Of the 13-token sequences at all positions of the windows, 11.0% occur in the training split, and 269 windows have more than half of theirs there. Of the 50-token sequences 1.0% occur there, in 1,759 windows.

Chorus gains more on windows that share text with the training split, and it also gains on windows that share none (Table 10). At 47M its gain falls from 0.049 nats over all windows to 0.046 on the 6,433 windows with no shared 50-token sequence, and to 0.043 on the 1,390 with no shared 13-token sequence. Read on the windows without a shared 50-token sequence, each multiplier of equal-size tables is a little lower than over all windows.

Gain (nats)Multiplier
SizeAll windowsNo shared 50No shared 13All windowsNo shared 50No shared 13
16M0.0700.0680.063×1.34×1.33×1.31
47M0.0490.0460.043×1.29×1.28×1.26
107M0.0290.0260.022×1.20×1.18×1.16
204M0.0230.0190.015×1.18×1.16×1.12
349M0.0170.0140.011×1.16×1.13×1.10
Windows8,1926,4331,390

Table 10. Chorus’s gain with equal-size tables and its multiplier at the best measured rates, over all 8,192 held-out windows and over the windows that share no 50-token or no 13-token sequence with the training split; the plain models are read on the same windows, losses averaged over seeds as in Table 7 (at 16M over seeds 1337 and 2).

The fact quiz

Table 11 gives the first question of each group. The model reads the Polish opening and scores each candidate as its continuation; the English line is a translation for the reader. Facts of the capitals, rivers and authors groups are also asked in a second phrasing, for example Głównem miastem Francyi jest (“The main city of France is”).

GroupOpening (translation)AnswerCandidates
CapitalsStolicą Francyi jest (The capital of France is)Paryż (Paris)54
RiversKraków leży nad (Kraków lies on the)Wisłą (Vistula)48
AuthorsAutor dzieła „Pan Tadeusz” zwał się (The author of the work Pan Tadeusz was called)Mickiewicz72
DatesJan Sobieski pobił Turków pod Wiedniem w roku (Jan Sobieski defeated the Turks at Vienna in the year)168370
PersonsOstatnim królem polskim był Stanisław August (The last Polish king was Stanisław August)Poniatowski49
Scripture and antiquityPatryarcha, który zbudował arkę przed potopem, zwał się (The patriarch who built the ark before the flood was called)Noe (Noah)47
Nature and everydayIle nóg ma pająk? Pająk ma (How many legs has a spider? A spider has)ośm (eight)none

Table 11. One question from each group of the fact quiz, in the spelling of the period (Francyi, Patryarcha, ośm). Candidates: the answers of the group, all scored as continuations of the opening. The nature and everyday group has no candidate list and is left out of the score.

Further related work

WorkWhat it does
SCONE ((Yu et al., 2025))embeddings of frequent N-grams computed by a separate model and cached
Byte Latent Transformer ([20])hashed N-gram embeddings added to byte embeddings
N-gram embeddings against experts ([16])N-gram tables compared with more experts at a fixed total
Tensorizing Engram (TN-gram) ([28]), FactorEngram ([25])factorised N-gram tables
Low-bit N-gram embeddings ([4])N-gram tables stored in four bits
Product keys ([14]), memory layers ([1]), UltraMem ([9])large sparse memories read by learned keys
TIDE ([10])token-indexed memories injected into every layer
Infini-gram ([17])count-based N-gram model of unbounded order

Table 12. Further work on token-indexed and N-gram memories.

References

  1. [1]Vincent-Pierre Berges, Barlas Oğuz, Daniel Haziza, Wen-tau Yih, Luke Zettlemoyer, and Gargi Ghosh. Memory layers at scale. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 3831–3842, 2025. URL https://proceedings.mlr.press/v267/berges25a.html.arxiv.org/abs/2412.09764
  2. [2]Xin Cheng, Wangding Zeng, Damai Dai, Qinyu Chen, Bingxuan Wang, Zhenda Xie, Kezhao Huang, Xingkai Yu, Zhewen Hao, Han Zhang, Yu-Kun Li, Huishuai Zhang, Dongyan Zhao, and Wenfeng Liang. Conditional memory via scalable lookup: A new axis of sparsity for large language models. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4968–4990, San Diego, California, United States, 2026. Association for Computational Linguistics. doi: 10.18653/v1/2026.acl-long.226. URL https://aclanthology.org/2026.acl-long.226/.DOI
  3. [3]Stephen Chung and Wenyu Du. Chorus: Shared N-gram embeddings with layer-wise adaptation. arXiv:2611.23386, 2026a.arxiv.org/abs/2611.23386
  4. [4]Stephen Chung and Wenyu Du. Low-bit N-gram embeddings for language models. arXiv:2610.31646, 2026b.arxiv.org/abs/2610.31646
  5. [5]Aidan Clark, Diego de Las Casas, Aurelia Guy, Arthur Mensch, Michela Paganini, Jordan Hoffmann, Bogdan Damoc, Blake Hechtman, Trevor Cai, Sebastian Borgeaud, George van den Driessche, Eliza Rutherford, Tom Hennigan, Matthew J Johnson, Albin Cassirer, Chris Jones, Elena Buchatskaya, David Budden, Laurent Sifre, Simon Osindero, Oriol Vinyals, Marc’Aurelio Ranzato, Jack Rae, Erich Elsen, Koray Kavukcuoglu, and Karen Simonyan. Unified scaling laws for routed language models. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 4057–4086, 2022. URL https://proceedings.mlr.press/v162/clark22a.html.arxiv.org/abs/2202.01169
  6. [6]Alexander Hägele, Elie Bakouch, Atli Kosson, Loubna Ben Allal, Leandro von Werra, and Martin Jaggi. Scaling laws and compute-optimal training beyond fixed training durations. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/8b970e15a89bf5d12542810df8eae8fc-Abstract-Conference.html.arxiv.org/abs/2405.18392
  7. [7]Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Thomas Hennigan, Eric Noland, Katherine Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Oriol Vinyals, Jack Rae, and Laurent Sifre. An empirical analysis of compute-optimal large language model training. In Advances in Neural Information Processing Systems (NeurIPS), volume 35, 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/c1e2faff6f588870935f114ebe04a3e5-Abstract-Conference.html.
  8. [8]Shaohua Hu, Xusheng Gu, Haofei Yang, Minghao Shao, Nanhui Zhao, Caoyun Fan, and Fangming Li. Augmenting pretrained language models with N-gram embeddings through incremental training. arXiv:2611.20415, 2026.arxiv.org/abs/2611.20415
  9. [9]Hongzhi Huang, Defa Zhu, Banggu Wu, Yutao Zeng, Ya Wang, Qiyang Min, and Xun Zhou. Over-tokenized Transformer: Vocabulary is generally worth scaling. In Proceedings of the 42nd Interna- Zihao Huang, Qiyang Min, Hongzhi Huang, Yutao Zeng, Defa Zhu, Ran Guo, and Xun Zhou. Ultra-sparse memory network. In International Conference on Learning Representations (ICLR), 2025b. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/d78d68cae595fabadd187b583ee8708e-Abstract-Conference.html.
  10. [10]Ajay Jaiswal, Lauren Hannah, Han-Byul Kim, Duc Hoang, Mehrdad Farajtabar, and Minsik Cho. TIDE: Token Identity Delivered Everywhere in LLMs. In NeurIPS 2026, 2026.
  11. [11]Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks. https://kellerjordan.github.io/posts/muon/, 2024. Blog post, December 8, 2024.
  12. [12]Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models. arXiv:2001.08361, 2020.arxiv.org/abs/2001.08361
  13. [13]Szymon Kocur. Wieszcz-XIX: A 3.1-billion-word corpus of pre-1918 Polish and temporally bounded language models trained from scratch. arXiv:2610.10592, 2026.arxiv.org/abs/2610.10592
  14. [14]Guillaume Lample, Alexandre Sablayrolles, Marc’Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. Large memory layers with product keys. In Advances in Neural Information Processing Systems (NeurIPS), volume 32, 2019. URL https://proceedings.neurips.cc/paper_files/paper/2019/hash/9d8df73a3cfbf3c5b47bc9b50f214aff-Abstract.html.arxiv.org/abs/1907.05242
  15. [15]Hong Liu, Sang Michael Xie, Zhiyuan Li, and Tengyu Ma. Same pre-training loss, better downstream: Implicit bias matters for language models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 22188–22214, 2023.arxiv.org/abs/2210.14199
  16. [16]Hong Liu, Jiaq i Zhang, Chao Wang, Xing Hu, Linkun Lyu, Jiaqi Sun, Xurui Yang, Bo Wang, Fengcun Li, Yulei Qian, Lingtong Si, Yerui Sun, Rumei Li, Peng Pei, Yuchen Xie, and Xunliang Cai. Scaling embeddings outperforms scaling experts in language models. arXiv:2601.21204, 2026.arxiv.org/abs/2601.21204
  17. [17]Jiacheng Liu, Sewon Min, Luke Zettlemoyer, Yejin Choi, and Hannaneh Hajishirzi. Infini-gram: Scaling unbounded N-gram language models to a trillion tokens. In COLM 2024, 2024.arxiv.org/abs/2401.17377
  18. [18]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019. URL https://arxiv.org/abs/1711.05101.
  19. [19]Ian Magnusson, Noah A. Smith, and Pang Wei Koh. The COUNT: Counting N-grams unlocks scaling on host memory and training-free adaptation. arXiv:2610.20456, 2026.arxiv.org/abs/2610.20456
  20. [20]Artidoro Pagnoni, Ram Pasunuru, Pedro Rodriguez, John Nguyen, Benjamin Muller, Margaret Li, Chunting Zhou, Lili Yu, Jason Weston, Luke Zettlemoyer, Gargi Ghosh, Mike Lewis, Ari Holtzman, and Srinivasan Iyer. Byte Latent Transformer: Patches scale better than tokens. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 9238–9258, 2025. doi: 10.18653/v1/2025.acl-long.453.DOI
  21. [21]Tomer Porian, Mitchell Wortsman, Jenia Jitsev, Ludwig Schmidt, and Yair Carmon. Resolving discrepancies in compute-optimal scaling of language models. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/b6341525cd84f3be0ef203e4d7cd8556-Abstract-Conference.html.arxiv.org/abs/2406.19146
  22. [25]Bowen Yang, Jingbo Zhou, Qinghong Miao, and Hua Wu. FactorEngram: Factorized N-gram memory with basis-level gating for language models. arXiv:2609.35578, 2026a.arxiv.org/abs/2609.35578
  23. [26]Yebin Yang, Huaijin Wu, Fu Guo, Lin Yao, Xiaohan Qin, Jingzhi Wang, Debing Zhang, and Junchi Yan. JTok: On token embedding as another axis of scaling law via joint token self-modulation. arXiv:2602.00800, 2026b.arxiv.org/abs/2602.00800
  24. [28]Wuyang Zhou, Yuxuan Gu, Giorgos Iacovides, Yuning Qiu, Qibin Zhao, and Danilo Mandic. Tensorizing Engram: Sharing latents across N-gram embeddings is beneficial in LLMs. arXiv:2606.08347, 2026. ICML 2026 Workshop CoLoRAI.arxiv.org/abs/2606.08347

Paper details

vlnc:W_nnmydkce
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

AI

View statement
Looking for related papers…
Contents