titleNon-Expanding Gated Continued Fraction Architecture for Feedforward Layers in Language Models
authorsAmit Dhurandhar, Vijil Chenthamarakshan, Karthikeyan Natesan Ramamurthy, Dennis Wei, Rahul Nair
date2026-11-23
venuearXiv (preprint, not peer reviewed)
idarXiv:2611.26835
affiliationIBM Research
upvotes6 (Hugging Face Daily Papers, 2026-12-02)
linksabs pdf hf code
cite
relatedMCP-Cosmos: World Model-Augmented Agents for Complex Task Execution in MCP Environments
DRACO: Fine-Grained Credit Assignment with Dynamic Rubrics for Long-Horizon Agent Training
Results and Retrospective Analysis of the CODS 2025 AssetOpsBench Challenge
Flash-GMM: A Memory-Efficient Kernel for Scalable Soft Clustering
Evoflux: Inference-Time Evolution of Executable Tool Workflows for Compact Agents
abstractRecent work has shown that continued fraction inspired neural architectures (CoFrGeNets) can be highly parameter efficient yet performant for language modeling. In this work, we revisit continued fraction-based channel mixing with the goal of improving its performance and simplifying integration into standard pre-training protocols for language models. We achieve this by two simple yet critical contributions: i) we propose a novel non-expanding gated continued fraction inspired architectural component to replace feedforward layers in established language model architectures that may use vanilla multilayer perceptrons or gated linear units or (vanilla/gated) experts in mixture-of-experts (MoE) type architectures. ii) We propose a way to re-implement divisions -- the non-linearity in these architectures -- in terms of logarithms and exponentials. By experimenting on different language modeling architectures such as GPT-2, Llama-3, Mamba-2 and (nano) Llama-MoE we find that our proposed architecture performs similarly or significantly better than the continued fraction architecture proposed in prior work along with having higher throughput. In addition, our re-implementation of divisions makes training of deeper CoFrGeNets stable without the need for incremental training which was proposed in prior work as a means to stabilize training, but added notable complexity to existing large language model training implementations. Code is available at http://github.com/IBM/CoFrNets

bibtex

@misc{dhurandhar2026non,
  title={Non-Expanding Gated Continued Fraction Architecture for Feedforward Layers in Language Models},
  author={Amit Dhurandhar and Vijil Chenthamarakshan and Karthikeyan Natesan Ramamurthy and Dennis Wei and Rahul Nair},
  year={2026},
  eprint={2611.26835},
  archivePrefix={arXiv},
  url={https://arxiv.org/abs/2611.26835}
}