Back to Feed
Efficiency & Inference / Benchmarks & Evals

Optimizing Language Models for CPU Inference

Original: Daedalus-150M: A Convolution-Attention Hybrid Designed for CPU Inference

Listen to the summary

Uses a voice available on your device

Audio options
On this page 4 sections
Related concepts 5 concepts

Key Takeaways

  • Daedalus-150M delivers a 1.76 times speedup in token decoding compared to a parameter-matched all-attention dense model at a context length of 2048 tokens.
  • The model achieves a 6.3 percent reduction in 4-bit model size, resulting in a 95.56 MiB file footprint.
  • It outperforms several larger models, including GPT-2 124M and Pythia-160M, on a five-task benchmark despite being trained on a smaller data budget.
  • The hybrid architecture effectively utilizes short-convolution channels to optimize inference latency, though nearly half of these channels are currently inert.

Summary & Methodology Analysis

The Daedalus-150M architecture is designed to optimize single-user, batch-size-one inference on CPUs by mixing standard attention with short-convolution blocks. The model consists of 18 total blocks, utilizing 160.49 million parameters in total. The specific design alternates between these block types to reduce computational overhead, while tying input and output embeddings to manage memory growth. During training, the model processed 59.9 billion tokens from a diverse ten-source English corpus, including FineWeb-Edu, DCLM-baseline, and several other datasets, using a linear decay learning-rate schedule.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the main goal of the Daedalus-150M model?

The goal is to design an efficient language model architecture optimized for single-user, batch-size-one inference on CPUs while maintaining high quality.

Q2. Does this model work faster than standard architectures?

Yes, it decodes 1.76 times faster than a parameter-matched all-attention model at 2048 tokens of context.

Q3. Is this model smaller than comparable models?

Yes, its 4-bit artifact is 95.56 MiB, which is 6.3 percent smaller than a parameter-matched all-attention twin.

Q4. What benchmarks were used to evaluate the model?

The model was evaluated on a five-task benchmark consisting of HellaSwag, ARC-Easy, PIQA, OpenBookQA, and WinoGrande.

Q5. How did the training process deviate from the original plan?

The training mixture drifted with an L1 distance of 10.42 percent, exceeding the 10.0 percent limit. Additionally, the optimizer state was not carried across training interruptions, and the data cursor reset, resulting in the final 4.8 billion tokens being a fresh pass over the corpus.

Q6. Are there any issues with the current model quantisation?

Yes, quantisation-aware training failed, so the model was quantised post-training and incurs a 4-bit quality penalty of approximately 6 percent in perplexity.

Q7. What percentage of the short-convolution channels are effective?

Approximately 47.9 percent of the short-convolution channels contribute nothing to the output and are currently inert.

Q8. How many parameters does the Daedalus-150M have?

The model has 160.49 million parameters spread across 18 blocks.

Q9. What is the primary limitation regarding the results presented?

All results are based on a single random seed and English-only data, meaning variability and multilingual performance were not evaluated.

Flag an issue

What is wrong with this summary?

What is wrong?