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

An Introduction to Loop Engineering

It's tempting to treat loop engineering as something invented in a single week in June,…

16 hours ago

Best practices for applying Amazon Bedrock Guardrails to code generation workflows

This post continues our series on best practices with Amazon Bedrock Guardrails. For the previous…

16 hours ago

The Blueprint: How Voicify makes AI-enabled ordering a delight for customers

Welcome to The Blueprint, a new feature where we highlight how Google Cloud customers are…

16 hours ago

An FDA Panel Just Endorsed These Unproven Peptides

Outside experts—some with a vested interest in peptides—recommended adding a number of the amino acids…

17 hours ago

AI extracts hidden material rules from microscopic data to predict large-scale behavior

Researchers from the National University of Singapore (NUS) have developed artificial intelligence (AI) methods that…

17 hours ago

AI Teammates: how monday.com runs production AI agents on Amazon Bedrock

AI Teammates are agentic AI on Amazon Bedrock, and few engineering organizations run them in…

2 days ago