- Rating
- 4
- Clarity
- 2
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes a non-expanding gated continued-fraction architecture as a replacement for feed-forward layers in language models. The proposed module first applies a non-expanded gated transformation to the input and then passes the result through an ensemble of continued-fraction ladders, aiming to reduce the parameter cost of FFN layers while preserving language-modeling performance. The paper also proposes a log/exp-based implementation of the continued-fraction division operation to stabilize training without the incremental training schedule used in prior CoFrGeNet work. The authors evaluate the approach across GPT-2, Llama-style, Mamba-2, and Llama-MoE architectures, reporting that the proposed replacement achieves substantially smaller models with similar or sometimes better performance, as well as improved training throughput and reduced FLOPs/token.
Strengths and weaknesses
Strengths
- The paper targets an important problem. FFN layers account for a large fraction of parameters in modern language models, so a drop-in FFN replacement that substantially reduces parameters while maintaining performance would be valuable.
- The empirical claim is potentially strong. The results suggest that replacing FFNs with the proposed continued-fraction module can produce models that are roughly (2/3) the size for dense models and around (1/2) the size for the MoE setting, while remaining competitive with the original architectures. If this behavior generalizes, it would be an important result for efficient pretraining.
- The evaluation covers multiple architecture families. The paper does not only evaluate on a single Transformer variant, but also tests GPT-2, Llama-style models, Mamba-2, and a Llama-MoE setting. This makes the proposed replacement look more broadly applicable than a narrowly tuned architectural trick.
- The pretraining experiments are nontrivial. The authors appear to spend substantial compute on actual pretraining experiments rather than only small-scale proxies. This is important for an architecture paper, since many FFN alternatives look promising at small scale but fail under realistic pretraining.
Weaknesses
- The novelty is somewhat limited. The paper builds directly on prior CoFrGeNet work, which already proposed continued-fraction architectures as parameter-efficient FFN replacements. The main new components are the non-expanding gated variant and the log/exp implementation of division. These are useful modifications, but the conceptual leap over prior continued-fraction FFN replacements seems relatively modest. The paper would be stronger if it more clearly distinguished what is fundamentally new from what is inherited from previous CoFrGeNet designs.
- Important technical details are missing or under-specified. For a pretraining architecture paper, the method and experimental setup need to be very precise. The paper does not provide enough detail about the exact continued-fraction hyperparameters used for each model, such as ladder depth, number of ladders, projection dimensions, and how these choices were selected. The parameter-count formulas are also not sufficiently clear for different FFN types, especially vanilla MLPs, gated FFNs, Mamba channel mixers, and MoE experts. This makes it hard to fully understand or reproduce the reported parameter savings.
- The pretraining setup is not described in enough detail. The authors report large pretraining runs, but several important details are missing or only briefly stated, including exact token counts per model, global batch size, sequence length, tokenizer, warmup schedule, optimizer betas, gradient clipping, data mixture proportions, and checkpoint selection. Since the core claim depends on pretraining behavior, these details are important.
- The inference-efficiency story is incomplete. The paper reports training throughput, training time, and FLOPs/token, which are useful. However, it does not report autoregressive inference latency, prefill/decode throughput, peak memory, or batch/sequence-length sweeps. Since the architecture is proposed as a practical FFN replacement for language models, inference efficiency is an important missing component. This is especially relevant because continued-fraction ladders involve a less standard computation pattern than ordinary dense FFNs, and the authors themselves note that a more memory-efficient implementation may require dedicated kernels.
- The writing and presentation quality are poor. The paper is difficult to follow in several places. The main architecture figure is not very clear, the appendix is thin, and some explanations are informal.
- The paper does not sufficiently explain what makes the architecture work. The results look promising, but the mechanism behind the gains is not fully isolated. It is unclear how much of the improvement comes from non-expansion, gating, the continued-fraction ladders, the number/depth of ladders, or the log/exp division replacement. More targeted ablations would make the contribution easier to interpret.
Questions
Please see Weaknesses.
Limitations
Yes
Paper formatting concerns
N/A
Thank you for your constructive review. Below are our responses.
As mentioned in the experimental section of the paper we tried depths and widths of 1, 2, 5 and 8. Even a depth/width of 1 or 2 was good enough to get the results reported in the paper. The outputs of the ladders are projected back to embedding dimension so there is no specific design choice there as the output should be compatible with the model layers upstream.
We replace all variants of FFNs (i.e. vanilla or gated) with the same non-expanding gated CoFrNet architecture. Hence, the number of parameters for our architecture remains the same scale Lp(d+1)+2p2, where L is number of ladders, p is embedding dimension and d is ladder depth. The original models if using vanilla FFNs have about 2αp2 parameters, while the gated versions have 3αp2, where α is the expansion factor.
For GPT2-xl and our variants for it we use the same settings as provided in the public nanogpt repository, where the final checkpoint is evaluated. For the other models which are trained on the Docling data mix the number of tokens is 2T, the batch size is 16, sequence length is 4096, uses the HFs Fast tokenizer, with 2K warmup steps and rest cosine decay, β1=0.9, β2=0.95, with gradient clipping and the final checkpoint is selected. The datasets with the corresponding mixture proportions in the Docling data mix are as follows:
Datasets = dclm3plus, dclm2, cosmopedia_v2, fineweb_math_corpus, finemath-4plus, infiwebmath-4plus, finemath-3plus, infiwebmath-3plus, starcoder, stack-edu, fineweb-2-edu
Weights = 0.5, 0.24, 0.06, 0.01, 0.015, 0.01, 0.015, 0.005, 0.01, 0.17, 0.01
We will update the paper with these details.
We compare the original models with the corresponding CoFrGeNet-FNG variant (line below the original model). The times are per token for a batch size of 16 averaged over 10 batches using a single H100 gpu are reported below.
With a vLLM implementation in the future we believe these times should improve even further.
The architecture in Figure 1 is a drop in replacement for FFNs in the different model architectures depicted in the figure. In our implementations we create a different class for CoFrGeNet that has the same api as the FFN class, that is, same parameters are passed and the same size output tensor (equal to embedding size) is returned. The depth and width parameters for CoFrNet could be additionally passed or just set in the CoFrNet class itself. Hence, no changes are made to the residual stream or other aspects of the original architecture. The input x1,…,xp in the figure is thus simply the output of the attention or SSM layer where the residual stream is added and the representation normalized in the particular block. In other words, nothing else in the model architectures changes and the input and output tensors are both size embedding dimension. We will update Figure 1 to reflect these points. Further, we will also add a pseudo-code to clarify the architecture.
We would also like to note that we plan to release code in the months leading up to NeurIPS. This we believe will strongly facilitate the community trying our architecture consistent with the intent behind your suggestions.
The gating in conjunction with the continued fraction ladders produces the improvement. The non-expansion is a benefit of this combination (as parameters are saved), where increasing the expansion factor leads to further improved results as seen in the experiments on Granite 4.1 reported below. The results in Tables 2-6 in the paper already isolate the important contributors to performance as they show that gating helps since, CoFrGeNet-FNG is better than CoFrGeNet-F. They also show that having continued fraction ladders is important since, CoFrGeNet-FNG is better than the corresponding model NG variants (viz. Llama-NG, Mamba-2-NG, etc.).
Our pretrained variants of CoFrGeNet at different expansion factors showcase that non-expansion is a benefit of our continued fraction architecture and that doing expansion only further improves performance. Moreover, to further show generality of our approach across architectures we report experiments on a Granite 4.1 dense architecture which is recent and was not reported in the paper. We pretrain a 2B size model on web and math datasets (web-nemotron-cc, megamath-web, finemath-3plus) part of the Nematron repository (by NVIDIA) for 125B tokens. For CoFrGeNet we create four variants of increasing size to observe expansion behavior: CoFrGeNet-FNG has no expansion similar to the paper. CoFrGeNet-F2G, CoFrGeNet-F2.4G and CoFrGeNet-FG have expansion factors of 2, 2.4 and 3.2, where 3.2 is the expansion factor in Granite 4.1 (2B). The training of each variant was done using Adam with 3K warmup steps and 27K cosine decay steps with weight decay of 0.1, β1=0.9, β2=0.95, batch size 16, peak learning rate 3e−4 using fsdp on 64 H100s. Model details are in the Table below.
Rows = metrics, columns = models. Bold values indicate results of CoFrGeNets that are no worse than Granite. All benchmark values are accuracies except the PPL row which is perplexity where a lower value is better. The last two rows are derived metrics where Avg. Acc. averages the accuracies across the benchmarks and Int. density (i.e. Intelligence density) is Avg. Acc. per billion parameters.
As can be seen above all our variants are competitive— even those with 50% and 27% savings. But perhaps most interestingly at iso-parameters our variant CoFrGeNet-FG outperforms Granite in most of the cases (>70% cases).
Our contributions are threefold: i) We propose a non-expanding gated continued fraction architecture which uses a single ensemble of CoFrNet ladders. Note the architecture proposed in the ICML paper is depicted in Figure 3 in the appendix, which has no gating and uses two ensembles rather than one and where the outputs of these ensembles are elementwise multiplied. Thus, our proposal is quite different. ii) We reformulate divisions in terms of logarithms and exponentials, which leads to precluding the need for incremental training and iii) we integrate our architecture into Mamba and MoEs beyond just dense Transformers, thus extending its scope and utility significantly.
While the individual ideas may appear conceptually straightforward, we believe they are important because they enable both improved performance and consistently higher throughput compared to prior work. In our view, ideas that are elegant in their simplicity yet are consistently effective often have the greatest practical impact and in some sense are harder to discover. For instance, it is non-obvious to guess that reformulating divisions (in terms of log/exp) would compensate for something as significant as how a model is trained (i.e. absolve the need for incremental training). We appreciate your recognition of the value of this aspect of our work and are grateful for your thoughtful assessment.