CurveFP Datatypes Optimize Low-Precision Language Model Training and Inference

Ye Qiao· August 12, 2026 View original

Key takeaways

  • CurveFP datatypes optimize low-precision arithmetic for language models, reducing cost.
  • They use logarithmic curves and a rational radix for efficient quantization.
  • CurveFP seven achieves FP8-class performance with fewer bits for compact inference.
  • The approach simplifies product paths and maintains high model quality during training.

Who benefits

AI/ML PlatformsCloud ComputingEdge AISemiconductorSoftware Development

Summary

CurveFP introduces a family of closed-product codebook datatypes that distribute quantized magnitudes across interleaved logarithmic curves, optimizing low-precision arithmetic for language models. It achieves FP8-class numerical behavior with fewer bits, enabling more compact deployment and efficient training while maintaining high quality.

Reducing the cost of language models often involves using low-precision datatypes, but many existing formats prioritize scalar fidelity without optimizing the arithmetic operations, particularly products. CurveFP addresses this by introducing a new family of closed-product codebook datatypes. These datatypes distribute quantized magnitudes across interleaved logarithmic curves, managed under compact block scales. A key innovation is the use of a rational radix, which allows for tuning dynamic range against local resolution. Uniform curve indices ensure that every non-zero product is algebraically closed, simplifying product formation to an exact sign XOR and integer-index update. A derived finite phase count then dictates the accumulation schedule. The research instantiates this algebra as CurveFP eight (E4C3/E5C2) for training and CurveFP seven (E3C3) for compact deployment. Evaluations show that CurveFP seven surpasses tensor-wise FP8 perplexity on several 7B-9B models, using one fewer element bit while staying within 1.32% of native quality. CurveFP eight also demonstrates lower operand NMSE across numerous GEMM comparisons. In pretraining experiments, CurveFP eight achieved mean BF16-inference perplexity comparable to FP8, and its checkpoints consistently showed lower WikiText-103 perplexity in downstream tasks. These results establish CurveFP as an arithmetic co-design that combines FP8-class numerical behavior with seven-bit inference and a significantly simpler product path, offering substantial efficiency gains for language models.

Why it matters

This innovation provides a more efficient and compact way to train and deploy large language models, significantly reducing computational costs and memory footprint without sacrificing performance.

How to implement this in your domain

  1. 1Evaluate CurveFP datatypes for training and inference of internal large language models to reduce computational resources.
  2. 2Investigate integrating CurveFP into custom hardware accelerators or specialized AI chips for further optimization.
  3. 3Benchmark the performance and memory footprint of models using CurveFP against current low-precision formats.
  4. 4Collaborate with hardware vendors to ensure compatibility and leverage CurveFP's benefits.
  5. 5Train engineering teams on the principles of rational-radix logarithmic datatypes for model optimization.

Original post by Ye Qiao

"arXiv:2608.10010v1 Announce Type: new Abstract: Low-precision datatypes reduce language-model cost, but most formats optimize scalar fidelity while leaving the arithmetic induced by their products unchanged. We introduce CurveFP, a closed-product codebook family that distributes…"

View on X

Originally posted by Ye Qiao on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses