Categories: FAANG

Cut Your Losses in Large-Vocabulary Language Models

As language models grow ever larger, so do their vocabularies. This has shifted the memory footprint of LLMs during training disproportionately to one single layer: the cross-entropy in the loss computation. Cross-entropy builds up a logit matrix with entries for each pair of input tokens and vocabulary items and, for small models, consumes an order of magnitude more memory than the rest of the LLM combined. We propose Cut Cross-Entropy (CCE), a method that computes the cross-entropy loss without materializing the logits for all tokens into global memory. Rather, CCE only computes the logit…
AI Generated Robotic Content

Recent Posts

Electricity per AI image on an RTX PRO 6000, RTX 5090 Laptop, RTX 5080, RTX 3090 and more: about 3 to 10 cents per 1,000 images (FLUX.2 klein, 1024×1024)

What one generated image costs in electricity on each GPU we've measured, at one dated…

15 hours ago

Choosing an LLM Inference Optimization Technique: A Decision-Tree Approach

In this article, you will learn how to match an LLM inference optimization technique to…

15 hours ago

Bring structured and unstructured data together with Amazon Quick

Organizations collect data in many forms. Structured data lives in databases and spreadsheets, whereas unstructured…

15 hours ago

How Nammu21 automates syndicated loans on Google Cloud Universal Ledger

The syndicated loan and private credit markets, both critical components of corporate finance, have long…

15 hours ago

The Lenovo IdeaPad Slim 5x Is Only $900 Right Now

Laptop prices keep going up, but this discount on the Lenovo IdeaPad Slim 5x is…

16 hours ago

Leading AI models are biased against certain accents when scoring interviews, presentations and tests

Artificial intelligence models replicate, and sometimes amplify, all sorts of human biases. In the last…

16 hours ago