Technology

Add as a preferred source on Google

IBM Releases CoFrNets Repository Aimed at Reducing Model Size

The open-source architecture is inspired by continued fractions and is intended to reduce model size, with IBM presenting it as an alternative to feed-forward or attention layers.

Updated 2 min read
IBM Research campus buildings stand in Yorktown Heights, New York, under soft afternoon light. / EconoTimes.ai
IBM Research campus buildings stand in Yorktown Heights, New York, under soft afternoon light. / EconoTimes.ai

IBM released the CoFrNets repository Friday, Dec. 4, as an open-source architecture aimed at reducing model size and supporting efficient large-language-model training.

The project is available under the Apache License 2.0. Its examples range from tabular workloads to integrations with nanoGPT and GPT-2, and the repository includes image-generation experiments built around diffusion models.

IBM describes CoFrNets as inspired by continued fractions and using a ladder-like sequence of division operations to approximate complex functions. IBM structured each layer around one division, leaving matrix additions and multiplications to perform the remaining work. The design is intended to improve compatibility with graphics processing units, where division can be inefficient.

IBM's account of the architecture identifies two scaling concerns: division can be costly on modern hardware, while very small denominators can destabilize training. For deeper systems, IBM says it uses logarithmic and exponential forms to improve stability during both training and inference.

The company says those changes support efficient training of multi-billion-parameter large language models. IBM also says CoFrNets can represent complex functions with 30% to 50% fewer parameters than conventional designs and may replace feed-forward networks or attention layers in large language models.

The repository adds a gated, non-expanding CoFrNet variant. IBM says the version avoids incremental layer-by-layer training and does not depend on epsilon, a tuning value used to prevent division-by-zero errors.

IBM said the approach may be explored in scientific applications such as physics, where modeling boundary conditions could be useful. The company also identified quantum and optical computing as possible areas for further exploration.

IBM is asking developers to build on the repository and resolve issues.

Related articles

View all