惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
IT之家
IT之家
D
Docker
博客园 - 叶小钗
A
About on SuperTechFans
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
Recorded Future
Recorded Future
Stack Overflow Blog
Stack Overflow Blog
腾讯CDC
V
V2EX
S
SegmentFault 最新的问题
量子位
P
Proofpoint News Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
Latest news
Latest news
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
有赞技术团队
有赞技术团队
The GitHub Blog
The GitHub Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
D
DataBreaches.Net
G
GRAHAM CLULEY
P
Proofpoint News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Microsoft Security Blog
Microsoft Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Y
Y Combinator Blog
小众软件
小众软件
NISL@THU
NISL@THU
L
Lohrmann on Cybersecurity
aimingoo的专栏
aimingoo的专栏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
I
Intezer
Last Week in AI
Last Week in AI
T
Threatpost
人人都是产品经理
人人都是产品经理
U
Unit 42
Security Latest
Security Latest
AWS News Blog
AWS News Blog
T
The Blog of Author Tim Ferriss
MongoDB | Blog
MongoDB | Blog
罗磊的独立博客
GbyAI
GbyAI
P
Palo Alto Networks Blog
G
Google Developers Blog
MyScale Blog
MyScale Blog
L
LangChain Blog

IBM Research

It’s time for cryptography to get its own abstraction layer This could be the largest synthetic code dataset yet How to measure the performance of a quantum computer | IBM Quantum Computing Blog Release News: Qiskit v2.5 is here! | IBM Quantum Computing Blog How training environments can teach AI models to misbehave What’s new at IBM Quantum - Q2 2026 | IBM Quantum Computing Blog Modeling the chemistry of fusion reactor material | IBM Quantum Computing Blog Ponder This Challenge - July 2026 - Return of the Superheroes Apply to IBM Quantum Developer Conference 2026 | IBM Quantum Computing Blog Qiskit Paulice: postselected quantum error correction | IBM Quantum Computing Blog What is IBM’s nanostack chip architecture? IBM introduces the smallest computer chip in the world A new playbook for quantum optimization benchmarking Running AI on mixed hardware for speed and affordability Explore next-gen quantum algorithms with IBM Quantum Credits | IBM Quantum Computing Blog Allstate explores quantum computing for insurance portfolios | IBM Quantum Computing Blog Can LLMs discover quantum error correction codes? Prototype and validate fermionic circuits faster with ffsim | IBM Quantum Computing Blog Bringing the power of semantic AI to IBM Db2 The fast Fourier transform, how and why it works Building AI more like software The future of quantum takes center stage at NY Tech Week Qiskit Fall Fest 2026: Applications open | IBM Quantum Computing Blog IBM to invest $10 billion in quantum computing | IBM Quantum Computing Blog Renowned mathematician Subhash Khot joins IBM Research Ponder This Challenge - June 2026 - The Superhero Team Movies New Classroom Accounts expand quantum access for educators | IBM Quantum Computing Blog Qiskit Global Summer School 2026: Registration now open | IBM Quantum Computing Blog How researchers built a record-setting quantum circuit | IBM Quantum Computing Blog IBM charts a new research path with MIT How IBM is using quantum computing to understand the operating system of the universe How to use sample-based quantum diagonalization on IBM hardware Quantum-centric supercomputing simulates 12,635-atom protein | IBM Quantum Computing Blog A decade of quantum on the cloud | IBM Quantum Computing Blog Ponder This Challenge - May 2026 - The Powers of a Binary Matrix Where the frontiers of high-speed racing and computing meet Introducing the IBM Granite 4.1 family of models Building the future of computing, together Next-generation algorithms could move fusion from the lab to the grid Bringing quantum-centric supercomputing to Illinois What’s new at IBM Quantum - Q1 2026 | IBM Quantum Computing Blog Release News: Qiskit v2.4 is here! | IBM Quantum Computing Blog How IBM Quantum is enabling healthcare and biology research | IBM Quantum Computing Blog How an extra training step can unlock AI’s reasoning power IBM demonstrates extreme scale for content-aware storage with a 100-billion vector database Ponder This Challenge - April 2026 - The Unlabeled Clock IBM Research and ETH Zurich open a new era of innovation IBM’s newest time-series models cover a full range of enterprise prediction tasks Toward a transparent supply chain for AI Quantum computers take a step into real materials science Donating llm-d to the Cloud Native Computing Foundation Cleveland Clinic & IBM debut new quantum simulation workflow | IBM Quantum Computing Blog Turning turbulence into transcripts Like the information in a dream: IBM’s Charles H. Bennett receives ACM Turing award Doubling down on open-access quantum computing | IBM Quantum Computing Blog Unveiling the first reference architecture for quantum-centric supercomputing Realizing Feynman’s vision for the future of simulation | IBM Quantum Computing Blog IBM is working today to secure communication from tomorrow’s quantum risks Building PyTorch-native support for the IBM Spyre Accelerator Quantum simulates properties of the first-ever half-Möbius molecule, designed by IBM and researchers A look back at the International Year of Quantum | IBM Quantum Computing Blog TerraStackAI: Bringing Earth and space AI to Red Hat and the world Ponder This Challenge - March 2026 - Path game on a hole-riddled chessboard IBM demonstrates High NA EUV process capability on track for insertion below 2 nm nodes at SPIE 2026 Quantum Advantage Tracker: the race to advantage | IBM Quantum Computing Blog
CoFrGeNets replace the ‘bones’ of transformer-based models
Peter Hess · 2026-07-09 · via IBM Research

Popular transformer-based AI models, such as GPT, Gemini, Claude, and Llama, have become the standard for natural language processing, thanks to their powerful classification and language generation capabilities. Models like these rely heavily on multi-head attention mechanisms and feed-forward networks, which consist of a large number of parameters that consume substantial computational resources. Together, these requirements contribute to these models needing notoriously high energy consumption and long training times.

But what if there were a way to cut down the resources it took to run useful models? Rather than relying only on incremental improvements to transformers, researchers could be experimenting with completely new architectural ideas.

Enter CoFrGeNets, which stands for Continued Fraction Generative Networks. They’re a new class of model architecture designed by a group within IBM Research. CoFrGeNets replace conventional transformer-based model components with structures derived from continued fractions, a mathematical representation that can express complex functions compactly. Relying on continued fractions allows a model to act more expressively with fewer parameters, since multiple components can combine in a way that increases representational complexity without proportional increases in size. The team outlined the evidence for CoFrGeNets in a new paper and presented the results this week at the International Conference on Machine Learning (ICML) in Seoul, South Korea.

The primary motivation behind the work is twofold, according to Amit Dhurandhar, principal research scientist at IBM Research. First, the field of LLM architecture design currently relies on a relatively small set of dominant ideas, particularly the transformer model. By introducing an alternative, Dhurandhar and his fellow researchers hope to expand the range of tools available for building models that are more efficient, compact, and scalable without sacrificing performance. Second, the team wanted to systematically explore the limits and capabilities of this function class.

CoFrGeNet builds on prior work where the team applied continued fractions to classification tasks. That research showed advantages over conventional architectures in a much more restricted setting, said Dhurandhar. The current project extends those ideas to generative models, a significant conceptual and engineering jump.

At the heart of CoFrGeNet is the use of continued fractions to represent functions. A continued fraction expresses a value as a nested sequence of divisions, which can capture complex relationships in a compact way. When adapted to neural networks, these structures form “ladders” of computations where each layer depends on the reciprocal of the previous one.

w0x+1w1x+1w2x+...w_0x + {1 \above{1pt} w_1x + {1 \above{1pt} w_2x + ...}}

Ensembles of these ladders can approximate very complex functions while using fewer parameters than traditional neural networks. This makes them a potentially powerful alternative to dense layers such as feed-forward networks. In practice, an input is passed to each “step” of the ladder, where it gets multiplied by model parameters and added to the reciprocal of the previous step. In this way, the causal chain of token generation is preserved, with each subsequent step on the ladder being defined by what came before it.

Dhurandhar and his colleagues sought to determine whether architectures based on these ladders can directly replace the two core parts of transformer blocks in the following ways:

Attention replacement: Performing token-to-token interactions while preserving the causal structure required for auto-regressive language generation.

Feed-forward mechanism replacement: Replacing standard feed-forward networks to enable feature mixing with fewer parameters.

The development process began with small-scale experiments using a lightweight, open-source toolkit called nanoGPT, where they tested feasibility of different architectures that used these two approaches before scaling up. “If things don't work there, they're definitely not going to work for something bigger,” said Dhurandhar. “If things do work there, it doesn't necessarily mean it'll work for something else. But it was a good starting point.”

To test how CoFrGeNet components stack up, the team swapped out multi-head attention and the feed-forward network with their own ladders, then compared them against strong baselines like GPT2-xl (1.5B) and Llama-3.2B. The setups were broad, pre-training models on large datasets like OpenWebText, GneissWeb, and a mixed Docling data mix. Each combination of continued fraction ladder components was evaluated according to downstream benchmarks like GLUE (for classification), plus perplexity tests on multiple datasets.

The results were impressive for such a different architecture. Across downstream classification tasks, the CoFrGeNet variants (especially one called CoFrGeNet-F) often matched or slightly beat GPT2-xl, even though they used far fewer parameters, often hundreds of millions fewer.

Perplexity scores, which quantify how well a model can predict samples, told a similar story. CoFrGeNet models consistently performed better than GPT2-xl and beat efficient attention baselines like Synthesizer-D and Sparse Attention in many cases. CoFrGeNet models also demonstrated efficiency gains in the form of quicker training time and faster inference.

Even on the larger Llama-3.2B experiments, the CoFrGeNet models stayed competitive on tasks like open-domain Q&A and reasoning, while still being smaller and faster to train. Taken all together, these preliminary findings indicate that CoFrGeNet holds up in practice, giving similar or better performance while being leaner and more efficient.

Optimizing the new method

A major challenge with continued fractions is that they are computationally expensive and potentially unstable on modern hardware, Dhurandhar said. For example, if you get very small numbers in the denominator, a value could go essentially to infinity. Those kinds of figures can be dicey for today’s GPUs.

“The first thing we did to reduce divisions is we adopted this alternative formulation of representing continued fractions using something called continuants,” said Dhurandhar. Continuants are another way of representing a continued fraction that reduces it to a ratio of two polynomials. Irrespective of how deep the ladder goes, you only need to do one division. This particular element is what makes CoFrGeNet efficient to train and infer on modern digital hardware.

To improve training stability, the team also introduced an “incremental training” method, where model layers are gradually introduced during training rather than optimized all at once.

One of the defining advantages of CoFrGeNet is its flexibility. The approach is largely “plug and play,” meaning it can be integrated into existing model pipelines with minimal changes. Developers can selectively replace either attention layers, feed-forward networks, or both, and can mix the new components with traditional ones.

“This approach is very complementary to existing things,” said study co-author Vijil Chenthamarakshan, a senior technical staff member at IBM Research. “If there is a new development in some other aspect of LLMs, you can use that along with our model. It's not conflicting in any sense.”

Compared to existing efficiency techniques like pruning or sparsity methods that reduce parameters within an unchanged architecture, CoFrGeNet offers a novel solution, said Dhurandhar. It introduces a fundamentally different way of representing functions, opening new directions for research while still being compatible with other optimization strategies.

What’s next

In terms of practical impact, the results suggest strong potential for replacing feed-forward network components, which account for a large proportion of parameters in many models. Early collaborations with teams working on IBM Granite family models suggest that CoFrGeNet could reduce parameter counts or improve performance at similar scales. The approach from preliminary tests appears to be even more effective for mixture-of-experts (MoE) architectures, which power most frontier models. This is because each expert typically caters to only a subset of tokens, and hence there is more potential for compression.

Looking ahead, the team is exploring further hardware acceleration strategies. In an ongoing partnership with researchers at Rensselaer Polytechnic Institute (RPI), the team is now experimenting with performing the division operations on non-GPU hardware, like analog processors or field-programmable gate array (FPGA) boards. These have the advantage of faster division performance than GPUs can achieve, and then the GPUs take over to do the multiplication operations they excel at.

“That speeds up things a lot, and it also leads to a lot of savings in power,” said Dhurandhar.

Overall, CoFrGeNet has the potential to be both a practical tool for improving model efficiency and a conceptual shift that broadens how we think about neural architectures.