-
How AI Is Changing Healthcare: Diagnosis, Drug Discovery, and Patient Care
Medicine’s Quiet Revolution Healthcare has always advanced in waves, examples being germ theory, antibiotics, the randomised controlled trial, genomic sequencing. Each wave took decades to become standard practice. Artificial intelligence is different. The pace at which AI tools have moved from research papers to clinical wards has compressed that timeline dramatically, and the breadth of the transformation, including touching diagnostics, drug development, genomics, and patient management simultaneously, has no obvious historical parallel. This is not hype at distance. It is measurable, already underway, and raising genuinely difficult questions about how medicine will be practised, validated, and governed in the decade ahead. Seeing What Human Eyes Miss: AI in Medical Imaging…
-
What Is the Difference Between AI, Machine Learning, and Data Science?
Three Terms, One Persistent Confusion Artificial Intelligence, Machine Learning, and Data Science are three of the most frequently used, and three of the most consistently conflated, terms in technology today. Job descriptions blend them interchangeably. News articles use them as synonyms. Even within organisations, teams labelled differently are sometimes doing work that is functionally indistinguishable. The confusion is understandable. The three fields overlap substantially, share tooling and mathematical foundations, and have converged further in recent years as data-driven methods have come to dominate AI research. But they are not the same thing, and treating them as such leads to poor hiring decisions, misdirected research investment, and architectural choices that do…
-
Beyond the Hype: Demystifying the Architecture, Evolution, and Mechanics of Machine Intelligence
The term “Machine Intelligence” (MI), often used interchangeably with Artificial Intelligence (AI) and Machine Learning (ML), has graduated from speculative science fiction into the core infrastructure of modern computing. However, cutting through the industry marketing requires looking at MI not as a singular “thinking mind,” but as a highly sophisticated convergence of statistical learning, algorithmic optimization, and distributed computational systems. This post explores what machine intelligence truly is under the hood, how it evolved structurally, the core tools that power it today, and its high-stakes applications. Defining Machine Intelligence: What It Is (and Isn’t) We define Machine Intelligence as the capacity of a computational system to execute tasks by constructing…
-
DeepSeek: The $6 Million Model That Shook Wall Street and Challenged the AI Establishment
A Startup Nobody Saw Coming In the summer of 2023, a hedge fund manager in Hangzhou, China, quietly spun off an AI research lab. By January 2025, that lab had triggered what CBS News described as a shockwave through Wall Street, briefly dethroned ChatGPT as the most downloaded free app on Apple’s App Store, and forced a fundamental reassessment of the assumptions underlying hundreds of billions of dollars in AI infrastructure investment. The company was DeepSeek. The model was R1. And nothing in the AI industry looked quite the same afterward. For enterprise AI leaders evaluating model strategy, AI governance, and infrastructure spending, understanding DeepSeek is not optional. It is…
-
How Large Language Models Work — Part 5: Inference, Sampling, Emergent Behaviour, and Open Frontiers
This is the final part of a five-part series on the internal mechanics of large language models. Parts 1–4 covered tokenization, embeddings, attention, the transformer block, and the training and alignment pipeline. Part 5 addresses inference: how a trained model generates text, the mathematics of sampling, context window management, emergent capabilities, and the open research frontiers shaping the next generation of LLMs. From Trained Weights to Generated Text A trained, aligned LLM is a fixed mathematical function: given a sequence of input tokens, it produces a probability distribution over the next token. Inference is the process of repeatedly applying this function to generate text, while the engineering decisions made at…
-
How Large Language Models Work — Part 4: Training, Scaling Laws, and RLHF
This is Part 4 of a five-part series on the internal mechanics of large language models. Part 3 covered the complete transformer block and architectural variants. Part 4 addresses how models are trained: the pre-training objective, loss functions, the Chinchilla scaling laws, and the alignment pipeline of instruction tuning and RLHF that transforms a raw language model into a useful assistant. The Pre-Training Objective The entire capability of a modern LLM emerges from one deceptively simple training objective: predict the next token. Given a sequence of tokens [t1,t2,…,tn][t_1, t_2, \ldots, t_n], the model is trained to maximise the log-probability of each token given all preceding tokens:LPT=−1n∑i=1nlogP(ti∣t1,…,ti−1; θ)\mathcal{L}_{\text{PT}} = -\frac{1}{n} \sum_{i=1}^{n} \log…
-
How Large Language Models Work — Part 3: The Transformer Block and Architecture
This is Part 3 of a five-part series on the internal mechanics of large language models. Part 2 derived scaled dot-product attention and the KV cache. Part 3 traces the complete transformer block consisting of feed-forward networks, layer normalisation, and residual streams; it examines the architectural differences between decoder-only and encoder-decoder models. From Attention Output to Transformer Block At the end of Part 2, self-attention had produced an output matrix O∈Rn×dO \in \mathbb{R}^{n \times d} or one updated vector per token, now containing contextual information drawn from every other position in the sequence. But this is only the first half of a single transformer block. Before the signal moves to…
-
How Large Language Models Work — Part 2: The Attention Mechanism
This is Part 2 of a five-part series on the internal mechanics of large language models. Part 1 covered tokenization, embeddings, and positional encoding. Part 2 derives the self-attention mechanism from first principles, covers multi-head attention, and examines the KV cache. The Problem Attention Solves At the end of Part 1, we had a matrix X∈Rn×dX \in \mathbb{R}^{n \times d}, which was a one ddd-dimensional vector per token, encoding both semantic identity and position. The first transformer layer receives this matrix and must do something critical: allow each token to incorporate information from every other token in the sequence before passing its updated representation to the feed-forward network. This is…
-
How Large Language Models Work — Part 1: Tokenization and Embeddings
This is Part 1 of a five-part deep-dive series on the internal mechanics of large language models. This series is written for engineers, ML practitioners, and technically advanced readers. Part 1 covers tokenization and embeddings — the first two stages through which raw text becomes a mathematical object a neural network can reason over. Why Text Must Be Transformed Neural networks are, at their core, mathematical functions that operate on tensors, which are multi-dimensional arrays of floating-point numbers. They cannot accept raw text strings as input. Before a language model can do anything useful, it must convert a sequence of characters into a sequence of numbers. This two-step process of…
-
A History of Artificial Intelligence — Part 3: From Transformers to ChatGPT — and What It Means for the Strong AI Debate
This is the final part of a three-part series on the history of AI. Part 1 covered AI’s philosophical origins and the Turing Test, Strong AI vs. Weak AI, and Searle’s Chinese Room argument. Part 2 traced the rise of machine learning and deep learning through the founding of OpenAI in 2015. Part 3 picks up the story with the breakthrough that made ChatGPT possible. The Paper That Changed Everything By 2017, deep learning had already transformed computer vision and game-playing AI, as Part 2 described. But language remained stubbornly difficult. Earlier neural network architectures processed text sequentially, word by word, which made them slow to train and bad at…