Posts

Showing posts with the label algorithms

[8 September 2025] Interesting Things I Learnt This Week

Image
 1. Multi-Token Prediction Reshapes LLM Training Paradigms - This research proposes that training large language models to predict multiple future tokens simultaneously, rather than just the next one, improves sample efficiency. The approach involves the model predicting the next 'n' tokens at each position in the training data using separate output heads on a shared model base. When used as an auxiliary task, multi-token prediction enhances performance in downstream tasks for both code and natural language models without increasing training time. The benefits are more significant with larger models and persist across multiple training epochs. Notably, this method excels in generative tasks like coding, where a 13B parameter model outperforms next-token models by solving 12% more problems on HumanEval and 17% more on MBPP. Additionally, it aids in developing induction heads and algorithmic reasoning on small tasks, and offers up to 3x faster inference speeds with 4-token predi...

[29th June 2025] Interesting Things I Learnt This Week

Image
1.  The Illusion of Thinking  - A recent paper from Apple's Machine Learning Research team challenges the idea that Large Reasoning Models (LRMs) can truly "think." The researchers argue that current methods for evaluating these models, which often use standard math and coding problems, are flawed due to potential data contamination and a focus on final answers rather than the reasoning process. Using controllable puzzles to test the models, the study found that even the most advanced LRMs experience a complete collapse in accuracy when the problem's complexity passes a certain point. Counterintuitively, as problems became more difficult, the models' "thinking" effort decreased, suggesting they "give up" rather than reason more deeply. The research identifies a significant gap between mimicking thought-like patterns and genuine, scalable reasoning, questioning the true capabilities of current AI.   My Take : Thinking is a complex p...

[1st December 2024] Interesting Things I Learnt This Week

Image
1. C++ Pitfalls - this article, explains some of the pitfalls you can fall into when programming in C++ and shares their experience with them. This includes Operator precedence, Arithmetic conversion rules, Right bit-shift, Implicit conversions and Order of evaluation.  My Take : We've all read about JavaScript's quirks, leading to unexpected outputs. But let's remember that such behaviors aren't unique to JavaScript. Even languages like C and C++ have their share of ambiguities and compiler-specific behaviors. While it's tempting to dive deep into these intricacies, I've found that focusing on clear, consistent, and unambiguous code is often more practical. However, understanding these nuances is essential for any experienced programmer. It helps us avoid pitfalls and write robust, reliable code. Remember, mastering a language isn't just about writing "Hello World." It involves delving into its intricacies, including its counterintuitive and ambi...