...understand new architectures

From PRIMO.ai
Jump to navigation Jump to search
↺ Start over · Full treeYou are here: AI Solver › Build it right › ...understand new architectures
AI Solver map
Your current page is in bold
0 · Start
1 · Predict & analyze
tables, numbers, events
2 · Understand unstructured data
text, documents, images, audio
3 · Generate & converse
4 · Decide & act
5 · Build it right
applies to every path

YouTube ... Quora ...Google search ...Google News ...Bing News

Use this page to understand why the options on other pages exist. You do not need to build these architectures to benefit from them, but they change what is cheap, fast, private or possible, and therefore which model you should pick.

The architectures and what they mean for you

Architecture In one line What it changes for you Examples
Transformer (2017) Attention lets every token look at every other token The base of today's language, vision and speech models; cost grows with context length GPT, Claude, Gemini, Llama, Qwen
Mixture of experts (MoE) Many "expert" sub-networks; a router activates only a few for each token Large-model quality for less compute per token, but all experts must fit in memory: great in the cloud, harder on devices Mixtral, DeepSeek, Qwen MoE, Llama 4, gpt-oss, Kimi
Reasoning models (test-time compute) The model works through a problem step by step before answering; trained with reinforcement learning on checkable tasks Much better at math, code and planning; slower and uses more tokens, so set the effort per task OpenAI reasoning models, DeepSeek-R1, Claude and Gemini "thinking" modes, Qwen thinking models
State-space and hybrid models (Mamba, linear attention) Recurrent-style layers that use constant memory per token, mixed with a few attention layers Faster, cheaper long contexts and high-throughput serving; attractive for agents and edge devices Jamba (AI21), NVIDIA Nemotron-H and Nemotron 3, IBM Granite 4.0, Qwen3-Next, Kimi Linear
Diffusion (images, video, audio, and now text) Start from noise and refine the whole output in parallel The standard for images and video; diffusion LLMs generate 1,000+ tokens per second for latency-critical apps, at mid-tier quality so far Stable Diffusion, FLUX, Veo, Sora; Inception Mercury, Gemini Diffusion (experimental)
Multimodal and "omni" models One model reads, and often writes, text, images, audio and video Document understanding, visual Q&A, natural voice agents without separate pipelines GPT, Gemini, Claude (vision), Qwen-VL, Gemma
Small language models (SLMs) Roughly 1–15 billion parameters, often distilled from larger models Run on laptops and phones; cheap and private; ideal for narrow tasks and agent sub-steps Gemma, Phi, small Qwen and Llama models, Granite, SmolLM, Apple's on-device model
Embedding and retrieval models Turn content into vectors so similar things are close together The backbone of search, RAG, deduplication and clustering Commercial and open embedding and reranking models (compare on MTEB)
Tabular and time-series foundation models Pretrained on many real or synthetic datasets; predict new data "in context" Strong results with little or no training; usually need a GPU TabPFN, TabICL; Chronos-2, TimesFM, Moirai, TimeGPT, Toto
Graph neural networks (GNNs) Learn from nodes and the links between them Fraud rings, molecules, traffic and weather GraphCast (weather), traffic-aware arrival-time models
World models Learn how an environment changes, so a system can imagine the results of actions Simulation for robots, games and planning; early but moving fast Google DeepMind Genie 3, Meta V-JEPA 2, NVIDIA Cosmos
Vision-language-action (VLA) models Camera images + an instruction → robot motor actions General-purpose robots that follow plain-language instructions Google DeepMind Gemini Robotics, Physical Intelligence π0, NVIDIA GR00T
Compound AI / agentic systems Not one network: models + retrieval + tools + memory + control logic Most real products; quality comes from system design and evals as much as from the model RAG assistants, coding agents, MCP- and A2A-connected agents

Classics still earning their keep: convolutional networks (efficient vision on small devices), RNNs/LSTMs (small streaming signals), GANs (fast single-step generation, super-resolution), autoencoders and VAEs (anomaly detection; the compressed space many diffusion models work in), and gradient-boosted trees (most tabular problems).

Transformers, the tech behind LLMs | Deep Learning Chapter 5
3Blue1Brown visually explains how transformers, the architecture behind large language models, work.


Three Important Advances in Foundation Models

The following developments illustrate how modern AI capabilities are expanding beyond conventional language generation. They represent different kinds of innovation: improvements in training and inference, integration across information modalities, and pretrained models specialized for structured data.

Reasoning Models and Test-Time Compute

What changed: Reasoning models devote additional computation to solving difficult problems before presenting their final answers. Rather than immediately producing a response, they may generate intermediate reasoning steps, explore alternatives, and verify candidate solutions. OpenAI introduced its o1 reasoning-model family in September 2024. Subsequent developments include DeepSeek-R1 and thinking capabilities in other model families.

How it works: Many reasoning models build on familiar Transformer or Mixture-of-Experts (MoE) architectures. Additional training, often involving Reinforcement Learning (RL) and rewards for verifiably correct answers, improves their ability to perform multi-step reasoning. Increasing inference-time computation can improve performance, but also increases latency and computational cost.

Why it matters: Reasoning models are particularly useful for mathematics, software development, scientific analysis, complex planning, and other tasks that benefit from additional problem-solving effort. They can still make logical and factual errors, so important results require independent verification.

Key distinction: A reasoning model is not necessarily a new neural-network architecture. The breakthrough often comes from training methods and how computation is allocated during inference.

Explore: Reasoning Models and Test-Time Compute · How AI Performs Multi-Step Reasoning · Chain of Thought (CoT) · OpenAI o1 Research

Native Multimodal and Omni Models

What changed: Early multimodal applications commonly connected separate models for language, vision, and speech. More integrated architectures can process relationships among several information modalities within a unified model. GPT-4o, introduced in May 2024, demonstrated an important step toward native audio, visual, and textual processing.

How it works: A multimodal system may use modality-specific encoders, shared representations, cross-modal attention, and integrated generation components. In a more tightly integrated design, information from different modalities can interact during processing rather than being handled only through independently executed pipelines.

Why it matters: Multimodal architectures support visual question answering, document understanding, natural voice interaction, video interpretation, and applications that combine sensory information with language-based instructions.

Key distinction: Multimodal capability does not automatically mean native multimodal architecture. A system that connects a speech-recognition model to a language model and then to a speech synthesizer can be multimodal without using a single jointly trained model.

Explore: Native Multimodal Architectures · Multimodal Language Models · Foundation Models (FM) · Hello GPT-4o

Tabular and Time-Series Foundation Models

What changed: Foundation-model pretraining is increasingly being applied to structured numerical data, not just natural language, images, and audio. Instead of developing every predictive model from scratch, users can evaluate pretrained models that generalize across previously unseen datasets.

Tabular foundation models: TabPFN and related models learn predictive strategies across many synthetic or real datasets. They can perform classification or regression on new tables with limited task-specific training. TabPFN is particularly relevant to smaller structured datasets, but it should be compared against gradient-boosted trees and other established techniques.

Time-series foundation models: Chronos, TimesFM, Moirai, and related systems are pretrained on collections of time-ordered observations. They can generate forecasts for previously unseen series, sometimes without task-specific training. Their performance depends on the characteristics of the series, forecast horizon, external variables, and evaluation procedure.

Why it matters: These models may reduce the time and expertise needed to develop predictive systems. They are especially worth evaluating when labeled data is limited, many related datasets must be modeled, or rapid experimentation is important.

Key distinction: Tabular models generally predict values or categories from rows and columns, while time-series models predict observations across time. Both may benefit from pretraining, but they solve different problems and require different validation methods.

Explore: Foundation Models (FM) · ...predict values · ...forecast time series · TabPFN Research | Nature · Chronos Research | arXiv

What this means for your decisions

  1. Price-performance improves every few months. Keep evals and a model-neutral design so you can switch (...choose a model).
  2. Inference-time compute is a dial. More "thinking" buys accuracy with latency and cost; tune it per task.
  3. Long context and retrieval are partners, not rivals. Hybrid and MoE models make long contexts cheaper, but retrieval still wins for large, changing or permissioned data (...answer questions from my data).
  4. Small models handle more of the work. Route routine steps to SLMs and keep large models for the hard parts (AI Agent Advisor).
  5. Try a pretrained baseline before training anything — even for tables and time series (...predict values, ...forecast time series).

Learn more


Where next? ◀ Build it right · ...choose a model · ...deploy AI · ...pick a product or platform · ▶ ...evaluate and trust AI