IBM CoFrNets Open-Sourced: 30-50% Fewer Parameters

IBM Research has open-sourced CoFrNets, short for Continued Fraction Networks, a neural architecture inspired by continued fractions. The company says the design can represent complex functions with 30% to 50% fewer parameters than traditional approaches and can be used in large language model training.
What CoFrNets are
CoFrNets use a ladder-like sequence of division operations to approximate complex functions. That structure, borrowed from continued fractions, lets the network capture intricate function shapes compactly. According to IBM, the architecture can stand in for feed-forward networks or attention layers inside large language models.
The idea is not new, and earlier versions ran into practical problems. Division is inefficient on modern hardware, and small denominators can destabilize training.
How IBM fixed the scaling problem
IBM says it reworked the design so each layer uses a single division operation. Everything else is matrix addition and multiplication, the operations GPUs handle best. The team also rewrote division using logarithms and exponentials to improve stability during training and inference in deep networks.
According to IBM, these changes make it possible to train multi-billion-parameter language models efficiently and improve GPU compatibility.
- One division operation per layer, with the rest as matrix arithmetic
- Division rewritten with logarithms and exponentials for stability
- A gated, non-expanding variant that skips incremental layer-by-layer training
- No dependence on epsilon, the tunable value used to avoid division-by-zero errors
What the repository includes
The code is released under the Apache License 2.0, which permits commercial use and modification. The repository ships with examples for univariate functions and tabular datasets, plus integrations with nanoGPT and GPT-2. It also contains diffusion-model experiments, which IBM used to demonstrate generative modeling for image generation.
The gated variant is the most relevant for language model work. IBM says it can replace feed-forward layers while using 30% to 50% fewer parameters. These figures come from IBM, and independent benchmarks have not yet been published.
Release date and availability
IBM Research officially released on December 4, 2026, with the repository public and open to contributions. Officially released on December 4, 2026, the project is available to developers now, and IBM is inviting the community to extend the code and address open issues.
Possible research directions
IBM says CoFrNets may inspire new optimization methods and could be explored in quantum or optical computing. The company also expects scientific uses, such as physics, where the architecture's ability to model boundary conditions may help.
Those applications are early-stage suggestions rather than demonstrated results. The concrete evidence so far covers tabular tasks, small language models like GPT-2 and nanoGPT, and diffusion experiments.
What this means
Most efforts to shrink language models focus on quantization, pruning or distillation applied after training. CoFrNets take a different route by changing the building block itself. If the 30% to 50% parameter savings hold at larger scales and on standard benchmarks, the architecture could offer a practical way to cut memory and compute costs. For now, the Apache 2.0 license and the nanoGPT and GPT-2 examples give researchers a low-friction way to test those claims independently.
on Emergent today




