paper-with-me

Papers

CoFrGeNet: Continued Fraction Architectures for Language Generation

2026-01-29 · Amit Dhurandhar, Vijil Chenthamarakshan, Dennis Wei, Tejaswini Pedapati, Karthikeyan Natesan Ramamurthy, Rahul Nair arxiv

Transformers are arguably the preferred architecture for language generation. In this paper, inspired by continued fractions, we introduce a new function class for generative modeling. The architecture family implementing this function class is named CoFrGeNets - Continued Fraction Generative Networks. We design novel architectural components based on this function class that can replace Multi-head Attention and Feed-Forward Networks in Transformer blocks while requiring much fewer parameters. We derive custom gradient formulations to optimize the proposed components more accurately and efficiently than using standard PyTorch-based gradients. Our components are a plug-in replacement requiring little change in training or inference procedures that have already been put in place for Transformer-based models thus making our approach easy to incorporate in large industrial workflows. We experiment on two very different transformer architectures GPT2-xl (1.5B) and Llama3 (3.2B), where the former we pre-train on OpenWebText and GneissWeb, while the latter we pre-train on the docling data mix which consists of nine different datasets. Results show that the performance on downstream classification, Q\& A, reasoning and text understanding tasks of our models is competitive and sometimes even superior to the original models with $\frac{2}{3}$ to $\frac{1}{2}$ the parameters and shorter pre-training time. We believe that future implementations customized to hardware will further bring out the true potential of our architectures.

📄 PDF Abstract BibTeX arXiv:2601.21766

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Real-valued continued fraction of straight lines

2024-12-16 · Vijay Prakash S

In an unbounded plane, straight lines are used extensively for mathematical analysis. They are tools of convenience. However, those with high slope values become unbounded at a faster rate than the independent variable. …

image-classificationImage Classification

CoFrNets: Interpretable Neural Architecture Inspired by Continued Fractions

2021-12-01 · NeurIPS 2021 12 · Isha Puri, Amit Dhurandhar, Tejaswini Pedapati, Karthikeyan Shanmugam 외

In recent years there has been a considerable amount of research on local post hoc explanations for neural networks. However, work on building interpretable neural architectures has been relatively sparse. In this paper,…

Analytic Continued Fractions for Regression: A Memetic Algorithm Approach

2019-12-18 · Pablo Moscato, Haoyuan Sun, Mohammad Nazmul Haque

We present an approach for regression problems that employs analytic continued fractions as a novel representation. Comparative computational results using a memetic algorithm are reported in this work. Our experiments i…

BIG-bench Machine LearningregressionSymbolic Regression

Fitting magnetization data using continued fraction of straight lines

2025-12-11 · Vijay Prakash S arxiv

Magnetization of a ferromagnetic substance in response to an externally applied magnetic field increases with the strength of the field. This is because at the microscopic level, magnetic moments in certain regions or do…

Circuit Model Reduction with Scaled Relative Graphs

2022-04-04 · Thomas Chaffey, Alberto Padoan

Continued fractions are classical representations of complex objects (for example, real numbers) as sums and inverses of simpler objects (for example, integers). The analogy in linear circuit theory is a chain of series/…

Continued fractionmodel