IBM Research has released the code for CoFrNets, a new building block for AI models based on continued fractions. IBM says CoFrNet layers can match standard designs with far fewer parameters, and in language models they perform as well or better with 30% to 50% fewer parameters. The code is available for anyone to test.
IBM Research has released the code for CoFrNets, a new kind of building block for AI models, the company said Friday. IBM says the layers can match standard designs with far fewer parameters, and anyone can now test them.
What are CoFrNets?
CoFrNets borrow their structure from continued fractions, a math form in which divisions are nested inside one another like the rungs of a ladder. IBM says that arrangement lets the networks capture complicated patterns with relatively few parameters.
The design also had a serious problem to overcome. Divisions run slowly on modern chips, and they can blow up when numbers get close to zero, which made the networks hard to train. IBM says each ladder now needs only one division. The company has also found ways to keep training stable without a special layer-by-layer process.
How many fewer parameters do CoFrNets need?
When CoFrNets replace standard layers in language models, they perform as well or better with 30% to 50% fewer parameters, IBM says. The latest version has also trained image-generation models, something earlier versions could not do.
IBM says the gains were even larger in mixture-of-experts models, a design used in frontier AI. Those results, however, are the company's own, and they come from tests on smaller models such as GPT-2. IBM says it still needs to build CoFrNets into larger open and closed models to see whether the savings hold.
The work will be presented at NeurIPS, the AI research conference, next week. It arrives as IBM continues to release small open models. The company put out Granite Docling V2 on Monday.
The release also fits a broader push to get more out of less. Stanford's AI100 panel has said scaling is running out of road. Spain's Multiverse Computing, meanwhile, is betting on compressing AI models rather than scaling them up. On Friday, the company shrank a robot model so it could run on an 8GB board.
This article was written with the assistance of AI.
News Factory APP - agentic news to boost your SEO & AEO.
