@_avichawla: 8 AI model architectures, visually explained: There's a tendency to treat LLMs as the whole field. But they're one fami…
Summary
A visual breakdown of 8 major AI model architectures including LLMs, VLMs, MoE, SLMs, and more, plus a bonus mention of recursive language models from MIT.
View Cached Full Text
Cached at: 06/09/26, 10:44 AM
8 AI model architectures, visually explained:
There’s a tendency to treat LLMs as the whole field. But they’re one family among several others, each shaped by a different kind of input, output, or constraint.
Here’s a breakdown:
- LLM (Large language models)
Text goes in, gets tokenized into embeddings, processed through transformers, and text comes out.
↳ GPT, Claude, Gemini, Llama.
- LCM (Large concept models)
Works at the concept level, not tokens. Input is segmented into sentences, passed through SONAR embeddings, and then uses diffusion before output.
↳ Meta’s LCM is the pioneer.
- LAM (Large action models)
Turns intent into action. Input flows through perception, intent recognition, task breakdown, then action planning with memory before executing.
↳ Rabbit R1, Microsoft UFO, Claude Computer Use.
- MoE (Mixture of experts)
A router decides which specialized “experts” handle your query. Only relevant experts activate. Results go through selection and processing.
↳ Mixtral, GPT-4, DeepSeek.
- VLM (Vision-language models)
Images pass through a vision encoder, text through a text encoder. Both fuse in a multimodal processor, then a language model generates output.
↳ GPT-4V, Gemini Pro Vision, LLaVA.
- SLM (Small language models)
LLMs optimized for edge devices using compact tokenization, efficient transformers, and quantization for local deployment.
↳ Phi-3, Gemma, Mistral 7B, Llama 3.2 1B.
- MLM (Masked language models)
Tokens get masked, converted to embeddings, then processed bidirectionally to predict hidden words.
↳ BERT, RoBERTa, DeBERTa power search and sentiment analysis.
- SAM (Segment anything models)
Prompts and images go through separate encoders, feed into a mask decoder to produce pixel-perfect segmentation.
↳ Meta’s SAM powers photo editing, medical imaging, and autonomous vehicles.
That said, the 8 architectures above are the established families.
There’s one I left out of the image on purpose, because it’s less a model family and more a frontier idea called recursive language models from MIT.
Rather than fighting context rot with a bigger window, an RLM stores your prompt as a variable in a Python environment and lets a root model write code to inspect it, then spins up recursive sub-calls to process the relevant chunks.
The model reasons over the context instead of drowning in it, which lets it scale to 10M+ tokens without retraining and beats the base model even on inputs that already fit.
I wrote a full breakdown on it recently.
Read it below.
happy to help.
good point. Since you mentioned MoE, I also have this visual I created that shows how they work:
Similar Articles
@Ai_Vaidehi: Steps to building AI systems with LLM's. I've given a simple detailed explanation below. 𝗦𝘁𝗲𝗽 1 – 𝗟𝗟𝗠𝘀 (𝗟𝗮𝗿𝗴𝗲 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲 𝗠𝗼𝗱𝗲𝗹𝘀)
A step-by-step guide to building AI systems using LLMs, covering steps from choosing models to evaluation using frameworks, vector databases, and data extraction tools.
@pmddomingos: You can read hundreds of hype-filled posts about LLMs and still not know how they work. Or you can read this one and kn…
A tweet promotes a comprehensive blog post that explains the history of large language models, starting from the attention mechanism and distributed representations, aiming to demystify LLMs for readers.
@vicky_grok: STOP THINKING AN AI APP IS JUST AN LLM API CALL. THE MODEL IS ONLY ONE LAYER OF THE STACK. Imagine you're building an A…
An AI engineering commentary arguing that an AI app is far more than an LLM API call, breaking the stack down into compute/storage, serving, models, context, orchestration, agents, and experience layers — advising builders to start with hosted models and only add complexity as needed.
@Tabbu_ai: https://x.com/Tabbu_ai/status/2058145123444347339
An educational thread explaining 11 key lessons for understanding and building LLM architectures from scratch, covering tokens, embeddings, attention, positional encoding, data quality, and common misconceptions.
@ickma2311: Efficient AI Lecture 12: Transformer and LLM This lecture is not only about how LLMs work. It also explains the buildin…
Lecture notes from an Efficient AI course covering Transformer and LLM fundamentals, including multi-head attention, positional encoding, KV cache, and the connection between model architecture and inference efficiency. The content explains how design choices in transformers affect memory, latency, and hardware efficiency.