pre-training

3 posts

google

Empty shelves or lost keys? Recall is the bottleneck for parametric factuality (opens in new tab)

Frontier LLMs often fail at factual questions not because they lack the information, but because they cannot reliably retrieve information already encoded in their parameters. The authors’ knowledge-profiling framework finds that models such as Gemini 3 and GPT-5 encode 95–98% of tested facts, yet still fail to directly recall 26–34% of them. This suggests that improving factuality increasingly depends on better knowledge utilization, not simply larger models or more training data. ## Knowledge Profiling - The framework evaluates facts rather than isolated question-answer pairs. - Each fact is assigned one of five profiles: - Encoding failure - Recall failure - Direct recall - Recall with thinking - Inference without encoding - It distinguishes three behaviors: - **Encoding:** reproducing a fact in a pre-training-like context. - **Knowledge:** answering semantically equivalent direct and reverse questions. - **Recall:** retrieving an encoded fact without external cues. - “Thinking” can help models recover facts through intermediate reasoning, multi-hop inference, or educated guesses. ## The WikiProfile Benchmark - WikiProfile contains 2,150 facts extracted from Wikipedia. - Each fact is tested with 10 tasks: - Two encoding tasks - Four knowledge questions - Four multiple-choice recognition questions - Questions include different phrasings and relational directions, such as asking either what entity *B* is associated with or what entity *A* is associated with. - An automated pipeline using Gemini-2.5-Pro generated, refined, searched, and filtered questions, followed by manual validation. - The study evaluated 13 LLMs, with and without thinking. - Eight responses were sampled for every model, fact, and task, producing roughly 4.5 million responses graded by LLM-based autoraters. ## Recall, Not Encoding, Is the Main Bottleneck - Frontier models show near-saturated factual encoding: - Gemini 3 and GPT-5 encode approximately 95–98% of the benchmark’s facts. - They nevertheless fail to directly recall 26–34% of those facts. - Thinking reduces, but does not eliminate, the failures; 11–12% remain inaccessible. - Scaling improves encoding more strongly than recall. - In the Gemma 3 family, larger models have substantially fewer encoding failures, while recall failures remain significant and account for a larger share of residual errors. - The results indicate a shift from knowledge acquisition toward knowledge accessibility and utilization. ## Why Recall Fails - Recall appears sensitive to the conditions under which a fact was learned. - Retrieval becomes more difficult when a question differs from the fact’s training-time context, wording, or ordering. - Rare, long-tail facts illustrate this distinction: - Their encoding rates are relatively close to those of popular facts. - Their recall rates are substantially worse. - This suggests that many rare facts are present in model parameters but are difficult to access, rather than completely absent. The practical implication is that future factuality improvements should target retrieval, post-training, prompting, and inference-time reasoning—not only model scale or broader data coverage.

google

ATLAS: Practical scaling laws for multilingual models (opens in new tab)

ATLAS introduces practical scaling laws for training multilingual language models, addressing the lack of public guidance for non-English systems. Based on 774 runs covering 400+ languages and models from 10M to 8B parameters, it predicts how to combine languages, data, and model capacity efficiently. The study finds strong cross-lingual transfer, a manageable multilingual capacity tax, and clear trade-offs between fine-tuning and pretraining from scratch. ## Adaptive Scaling for Multilingual Mixtures - ATLAS extends traditional scaling laws with: - A cross-lingual transfer matrix identifying helpful language combinations. - Rules for scaling model size and data as supported languages increase. - Guidance on whether to pretrain from scratch or fine-tune a multilingual checkpoint. - It separates training data into: - The target language. - Similar “transfer languages,” such as Spanish, Portuguese, and Italian for Catalan. - All other languages. - This allows ATLAS to estimate which languages help or hinder a target language. ## Evaluation Across Languages and Model Sizes - Experiments used MADLAD-400, spanning more than 750 monolingual, bilingual, and multilingual runs. - ATLAS outperformed earlier scaling laws when predicting performance for new: - Model sizes. - Data volumes. - Language mixtures. - Optimal scaling patterns were broadly similar across English, French, Russian, Chinese, Hindi, and Swahili. - Multilingual vocabularies and data impose a compute-efficiency tax, particularly for English. - Low-resource languages eventually encounter data repetition, causing their scaling curves to bend upward. ## Cross-Lingual Transfer - The transfer matrix measures how training on one language affects another. - Examples of strong transfer include: - Norwegian benefiting from Swedish and German. - Malay benefiting from Indonesian. - Arabic benefiting from Hebrew. - English, French, and Spanish are broadly useful training languages, partly because of their large, diverse, and high-quality web corpora. - Shared writing systems and language families are the strongest predictors of positive transfer, with statistical significance of p < .001. - Transfer is asymmetric: language A may help language B more than B helps A. - The results replace informal language-selection assumptions with empirical data. ## Scaling the Number of Supported Languages - ATLAS formalizes the “curse of multilinguality,” in which adding languages can reduce performance because model capacity is limited. - Adding languages creates a modest capacity cost but also substantial positive transfer. - To support twice as many languages, the study recommends approximately: - 1.18× larger model size. - 1.66× more total training data. - Although each language receives less data individually, cross-lingual synergies offset much of the degradation. ## Pretraining Versus Fine-Tuning - Fine-tuning a strong multilingual “Unimax” checkpoint generally delivers the best early performance for the least additional compute. - Pretraining from scratch can eventually produce better results when substantially more tokens are affordable. - For 2B-parameter models, the crossover typically occurs between roughly 144B and 283B tokens, depending on the language. - The supplied article ends while discussing how ATLAS further models this crossover point. ## Practical Recommendation Use ATLAS to select language mixtures based on measured transfer rather than intuition. Fine-tune an existing multilingual checkpoint under tight compute budgets, but consider training from scratch when enough data and compute are available to pass the language-specific crossover point.

kakao

Kanana-2 Development Story ( (opens in new tab)

Kakao has introduced Kanana-2, a series of language models utilizing a Mixture of Experts (MoE) architecture to achieve high intelligence while maintaining low inference costs. To support the stable pre-training of their largest 155B parameter model, the team implemented advanced technical stacks including the Muon optimizer and MuonClip to prevent training instabilities. These developments reflect a strategic focus on balancing large-scale performance with "high-efficiency, low-cost" engineering. ### MoE Architecture and Scaling Strategy * Kanana-2 models, such as the 32B version, activate only 3B parameters during inference to maximize computational efficiency without sacrificing the intelligence of a larger model. * The team is currently training a massive 155B parameter version (Kanana-2-155b-a17b) using FP8 training infrastructure, MuonClip, and Hyperparameter Transfer to ensure stable convergence. * Custom-developed MoE kernels were integrated to reduce memory usage and increase training speed, resulting in a highly stable Loss Curve even during constant learning rate phases. ### A Controlled Testbed for Mid- and Post-Training * The Kanana-2-30b-a3b-base-2601 model was intentionally released without synthetic reasoning data to serve as a "clean" base for research. * This model allows researchers to investigate phenomena like "Reasoning Trace Distribution Mismatch" and "Spurious Rewards" by providing a baseline unaffected by post-training interventions. * By offering a high-quality Korean base model, Kakao aims to support the local AI community in conducting more rigorous experiments on mathematical and logical reasoning. ### Optimization with Muon and Polar Express * Kakao shifted from the industry-standard AdamW optimizer to Muon, which updates parameters by orthogonalizing gradients rather than performing element-wise updates. * To achieve more accurate orthogonalization, they implemented the Polar Express iterative algorithm instead of the standard Newton-Schulz method, aiming to reduce noise in weight updates during the latter stages of large-scale training. * The optimization process also involved detailed adjustments to RMSNorm parameterization and learning rate (LR) management to ensure the model scales effectively. ### Training Stability via MuonClip * To address potential "logit explosion" in large-scale models, the team utilized MuonClip, a technique that clips attention logits to maintain stability. * Because standard Flash Attention stores Max Logit values only on-chip, the team modified the Flash Attention kernels to extract and return these values for monitoring and clipping purposes. * Stress tests conducted with high learning rates proved that MuonClip prevents training divergence and maintains performance levels even when the model is pushed to its limits. The development of Kanana-2 demonstrates that scaling to hundreds of billions of parameters requires more than just data; it necessitates deep architectural optimizations and custom kernel engineering. For organizations looking to train large-scale MoE models, adopting sophisticated orthogonalization optimizers and logit clipping mechanisms is highly recommended to ensure predictable and stable model convergence.