Recent AI Breakthroughs

Chapter Context: The field of AI has seen unprecedented progress in recent years. This page surveys the most significant breakthroughs that are reshaping the landscape — from large language models to protein folding to generative art. Understanding these developments provides context for where AI is headed and what may appear in future GATE DA syllabi.

Scaling Laws & Foundation Models

Scaling Laws: Empirical relationships showing that model performance (measured by loss) improves predictably as a power law with increases in model size (parameters N), dataset size (D), and compute budget (C). First formalized by Kaplan et al. (2020) for language models.

The Chinchilla scaling law (Hoffmann et al., 2022) refined earlier estimates, showing that for compute-optimal training, both model size and training data should be scaled equally. A model with N parameters should be trained on roughly 20N tokens.

Example — Scaling in Practice:
ModelParametersTraining TokensYear
GPT-21.5B~40B2019
GPT-3175B~300B2020
Chinchilla70B1.4T2022
LLaMA 270B2T2023
GPT-4~1.8T (MoE)~13T2023
Foundation Model: A large model trained on broad data at scale that can be adapted (fine-tuned) to a wide range of downstream tasks. The term was coined by Stanford's Center for Research on Foundation Models (CRFM) in 2021.

Key Insight

The paradigm shift: instead of training task-specific models from scratch, we pre-train a massive general-purpose model and adapt it. This pre-train → fine-tune → prompt pipeline now dominates NLP, vision, and multimodal AI.

Large Language Models (LLMs)

LLMs are transformer-based models trained on massive text corpora to predict the next token. They demonstrate remarkable few-shot and zero-shot capabilities.

Key LLM Milestones:
  • GPT-3 (2020): 175B parameters; demonstrated that scale alone enables in-context learning — the model performs tasks given only a few examples in the prompt, without gradient updates.
  • InstructGPT / ChatGPT (2022): Applied RLHF (Reinforcement Learning from Human Feedback) to align GPT-3.5 with human intent, producing a conversational assistant.
  • GPT-4 (2023): Multimodal (text + image input); passes professional exams (bar exam 90th percentile, SAT 99th percentile); likely a Mixture-of-Experts architecture.
  • LLaMA / LLaMA 2 (2023): Meta's open-weight models; proved that smaller, well-trained models can match larger ones (Chinchilla-optimal training).
  • Gemini (2023): Google's natively multimodal model family (Ultra, Pro, Nano) — processes text, images, audio, video, and code.

Emergent Abilities

Emergent Abilities: Capabilities that appear suddenly as model scale increases past a threshold, not present in smaller models. Examples include multi-step arithmetic, chain-of-thought reasoning, and word unscrambling. (Note: recent work debates whether emergence is an artifact of evaluation metrics rather than a true phase transition.)
Controversy: Schaeffer et al. (2023) argued that apparent emergence may be due to non-linear evaluation metrics rather than discontinuous changes in model behavior. Using linear or continuous metrics, the performance curves often look smooth.

Chain-of-Thought Reasoning

Chain-of-Thought (CoT) Prompting: A technique where the model is prompted to produce intermediate reasoning steps before arriving at a final answer. Introduced by Wei et al. (2022), it dramatically improves performance on arithmetic, commonsense, and symbolic reasoning tasks.
Example — CoT Prompt:
Q: Roger has 5 tennis balls. He buys 2 more cans of 3 balls each.
   How many tennis balls does he have now?
A: Roger started with 5 balls. 2 cans of 3 balls each is 2 × 3 = 6.
   5 + 6 = 11. The answer is 11.

By including worked examples with explicit reasoning, the model learns to generate its own step-by-step solutions.

Variants of CoT

  • Zero-shot CoT: Simply appending "Let's think step by step" to the prompt (Kojima et al., 2022).
  • Self-Consistency: Sample multiple reasoning paths and take the majority vote (Wang et al., 2022).
  • Tree-of-Thought: Explore multiple reasoning branches and evaluate which to pursue (Yao et al., 2023).
  • Graph-of-Thought: Generalizes reasoning to arbitrary graph structures (Besta et al., 2023).

Diffusion Models & Generative AI

Diffusion Model: A generative model that learns to reverse a gradual noising process. Starting from pure Gaussian noise, the model iteratively denoises to produce a data sample. Mathematically, the forward process adds noise: q(x_t | x_{t-1}) = N(x_t; √(1-β_t) x_{t-1}, β_t I), and the model learns the reverse: p_θ(x_{t-1} | x_t).
Key Diffusion Model Systems:
  • DALL-E 2 (2022): Uses CLIP text embeddings + diffusion prior + decoder diffusion model.
  • Stable Diffusion (2022): Operates in latent space (latent diffusion model, LDM) for efficiency. Open-source, enabling widespread community adoption.
  • DALL-E 3 (2023): Improved text understanding via better captioning during training.
  • Midjourney: Commercial system known for artistic quality.
  • Sora (2024): OpenAI's video generation model, extending diffusion to temporal sequences.

Why Diffusion Beats GANs

  • Training stability: No adversarial min-max optimization; direct likelihood-based training.
  • Mode coverage: Diffusion models cover the full data distribution better (fewer mode collapse issues).
  • Controllability: Classifier-free guidance allows precise control over generation.
  • Quality: Achieves state-of-the-art FID scores on ImageNet.

AlphaFold & AI for Science

AlphaFold 2 (2020): DeepMind's neural network that predicts 3D protein structures from amino acid sequences with near-experimental accuracy. It effectively solved the 50-year-old "protein folding problem," achieving <1 Å RMSD on many targets at CASP14.

The architecture combines:

  • Evoformer: A novel transformer module that jointly processes multiple sequence alignments (MSAs) and pair representations.
  • Structure Module: Iteratively refines 3D coordinates using invariant point attention.
  • Recycling: The entire network is run multiple times, feeding outputs back as inputs.
Impact: AlphaFold DB now contains predicted structures for >200 million proteins (nearly all known proteins). This has accelerated drug discovery, enzyme engineering, and structural biology research immeasurably.

Other AI-for-Science Breakthroughs

  • AlphaFold 3 (2024): Predicts structures of protein complexes, DNA, RNA, ligands, and ions.
  • GNoME (2023): DeepMind's graph neural network discovered 2.2 million new crystal structures for materials science.
  • FunSearch (2023): LLM-powered evolutionary search found new mathematical constructions, surpassing known bounds for the cap set problem.
  • Weather forecasting: GraphCast and Pangu-Weather outperform traditional numerical weather prediction models.

RLHF & Alignment Techniques

RLHF (Reinforcement Learning from Human Feedback): A training paradigm where a language model is fine-tuned using a reward model trained on human preference data. The pipeline: (1) Supervised fine-tuning on demonstrations, (2) Train reward model on comparison data, (3) Optimize policy via PPO against the reward model.
RLHF Pipeline:
  1. SFT: Fine-tune base LLM on high-quality instruction-response pairs.
  2. Reward Model: Given two responses, human annotators indicate preference. Train a model R(prompt, response) → scalar.
  3. PPO Optimization: Maximize E[R(x, y)] - β · KL[π_θ || π_ref] where π_ref is the SFT model (KL penalty prevents reward hacking).

Beyond RLHF

  • DPO (Direct Preference Optimization): Eliminates the separate reward model by directly optimizing the policy on preference data. Simpler and more stable.
  • Constitutional AI (CAI): Uses principles ("constitution") for self-critique and revision, reducing dependence on human labelers.
  • RLAIF: Replaces human feedback with AI feedback using a stronger model as judge.

Open-Source AI Movement

A major trend has been the democratization of powerful AI models through open-source releases:

Notable Open Models:
ModelOrganizationParametersKey Feature
LLaMA / LLaMA 2Meta7B–70BCommercial license, competitive with GPT-3.5
Mistral / MixtralMistral AI7B / 8×7B MoEEfficient MoE architecture
FalconTII7B–180BHigh-quality web data curation
Stable DiffusionStability AI~1BOpen latent diffusion for images
WhisperOpenAI~1.5BRobust speech recognition
Impact: Open models have enabled: (1) academic research without massive compute budgets, (2) fine-tuning for domain-specific tasks (medical, legal, code), (3) on-device deployment for privacy, and (4) community-driven improvements and safety research.

Multimodal & Embodied AI

Key Multimodal Developments:
  • GPT-4V (2023): Accepts image inputs alongside text; can analyze charts, diagrams, photos, and handwritten math.
  • Gemini (2023): Natively multimodal — trained jointly on text, code, images, audio, video from the ground up.
  • LLaVA (2023): Open-source vision-language model that connects a CLIP vision encoder with LLaMA via a projection layer.
  • RT-2 (2023): Google's Robotics Transformer 2 — a vision-language-action model that translates natural language instructions into robot actions.

Embodied AI & Robotics

Foundation models are increasingly being deployed in physical robots:

  • SayCan: Grounds LLM reasoning in robot affordances (what the robot can physically do).
  • PaLM-E: Embodies a vision-language model with sensor data for robotic planning.
  • Figure 01 / Tesla Optimus: Humanoid robots leveraging large models for general-purpose manipulation.

Code Generation & AI Assistants

Code LLM: A language model specifically trained or fine-tuned on source code and related text (documentation, Stack Overflow, GitHub). These models can generate, complete, debug, and explain code.
Major Code AI Systems:
  • Codex / GitHub Copilot (2021): GPT-3 fine-tuned on code; powers autocomplete in IDEs.
  • AlphaCode (2022): DeepMind's system that generates solutions for competitive programming problems, performing at ~50th percentile of human competitors.
  • Code LLaMA (2023): Meta's open code model, based on LLaMA 2 with extended code training.
  • StarCoder (2023): BigCode's open model trained on The Stack (permissively licensed code).
  • Devin (2024): Cognition Labs' AI software engineer that can plan, code, debug, and deploy autonomously.
HumanEval Benchmark: Measures functional correctness of generated code. GPT-4 achieves ~67% pass@1 (first attempt correct), up from Codex's ~29%. With best-of-100 sampling, pass rates exceed 90%.

Efficient AI & Democratization

Making large models accessible on consumer hardware has been a key research direction:

Key Efficiency Techniques:
  • Quantization (GPTQ, GGML, AWQ): Reduce model weights from FP16 to INT4/INT8 with minimal quality loss. A 70B parameter model can run on a single GPU.
  • LoRA (Low-Rank Adaptation): Fine-tune models by adding small trainable matrices (rank r ≪ d) to frozen pretrained weights. Reduces trainable parameters by 10,000×.
  • QLoRA: Combines 4-bit quantization with LoRA, enabling fine-tuning of 65B models on a single 48GB GPU.
  • Flash Attention: IO-aware attention algorithm that is 2-4× faster and uses O(N) memory instead of O(N²).
  • Mixture of Experts (MoE): Only a subset of parameters are activated per token. Mixtral 8×7B has 47B total but only uses ~13B per forward pass.
Environmental Concern: Training GPT-4 is estimated to have consumed ~50 GWh of electricity and emitted thousands of tonnes of CO₂. Efficiency research is critical for sustainable AI development.

GATE DA Relevance

Exam Tip: While cutting-edge breakthroughs may not be directly tested, GATE DA increasingly includes questions on:
  • Transformer architecture and self-attention mechanisms
  • Pre-training and fine-tuning paradigms
  • Basic understanding of generative models (GANs, VAEs, diffusion)
  • Evaluation metrics (FID for images, perplexity for language)
  • Ethical considerations and bias in ML systems
Understanding the conceptual foundations behind these breakthroughs will help you tackle novel question formats.
Potential GATE Questions:
  • "Which technique is used to align language models with human preferences?" → RLHF
  • "In a Mixture of Experts model with 8 experts where 2 are active per token, what fraction of parameters is used per forward pass?" → 2/8 = 25%
  • "What is the key advantage of LoRA over full fine-tuning?" → Drastically fewer trainable parameters while maintaining performance