↓ Skip to main content
AI Technical Glossary: A Complete Guide to 270+ Terms
  1. Posts/

AI Technical Glossary: A Complete Guide to 270+ Terms

AI LLM Systematic Tutorials - This article is part of a series.
Part : This Article

AI Technical Glossary
#

This reference gathers the core terminology of the LLM field, from basic concepts to advanced technical architecture, to help you build a systematic understanding of the AI technology landscape.


📚 Fundamentals
#

TermTechnical definitionPlain-language explanationExample
AGI (Artificial General Intelligence)An AI system with human-level intelligenceAn all-capable AI that can think, learn, and create like a personA robot that can write poetry, code, cook, and chat at the same time
LLM (Large Language Model)A large neural network model trained on massive dataA “super brain” that understands and generates human languageGPT-4, Claude, ERNIE Bot, and the like are all LLMs
TrainingThe process of fitting neural network parameters on large dataThe AI’s “study phase” — like a person absorbing knowledge from booksTraining a model on all text on the internet until it learns language
InferenceA trained model generating output from inputThe AI’s “application phase” — like a person answering questions from what they learnedThe model generating an answer after you ask it a question
TokenThe smallest unit of text a model processes, a fragment split by a tokenization algorithmThe particles of AI language, processed one at a time"我喜欢苹果" → ["我", "喜欢", "苹果"]

🏗️ Architecture
#

TermTechnical definitionPlain-language explanationExample
TransformerA deep learning architecture based on self-attention, proposed by Google in 2017The “neural skeleton” of modern AI that lets models understand language efficientlyGPT, BERT, and every other large model is built on Transformer
EncoderA neural network component that encodes an input sequence into semantic representationsThe AI’s “understanding unit” — turns text into vectors machines understandBERT uses an encoder for text understanding tasks
DecoderA neural network component that generates output token by token based on contextThe AI’s “writing unit” — generates answers from what it understoodThe GPT series are all decoder-only models
Self-AttentionA mechanism that computes how much each element in a sequence relates to the othersThe AI automatically “focuses on what matters”, like a person picking out key points while readingIn “deposit money at the bank”, “bank” attends to “money”; in “fish by the river bank”, it attends to “river”
Multi-Head AttentionSeveral self-attention mechanisms run in parallel to capture different types of dependenciesThe AI understands text from multiple angles at onceOne head tracks syntax while another tracks semantics
Positional EncodingVector representations that add position information to each tokenLets the model know “who comes first, who comes later”“The dog bit the man” and “the man bit the dog” mean different things
QueryThe vector that actively asks for related information — what the current word needsThe numeric expression of “what am I looking for”“Apple” queries attributes like taste and color
KeyThe identifier vector for information being queried — what each word can offerThe label of “what I can provide”“Sweet” serves as the Key for a taste feature, waiting to be queried
ValueThe representation vector holding the actual content and true semantic information“My actual content”, in numbersThe actual semantic representation of “sweet”: [0.8, 0.2, -0.1]
Attention WeightImportance scores expressing how much to attend, usually normalized via softmax“How much to pay attention”, quantified0.8 means strong attention, 0.1 weak; all weights sum to 1
Cross-AttentionAttention across two sequences — Query comes from one, Key/Value from anotherCross-modal information exchangeIn image-text matching, text Queries attend to image Keys/Values
Causal AttentionAttention restricted to the current position and earlier, preventing future information leaksAttention that can “only look backward”When GPT generates the 5th word it can only see the previous 4
Softmax FunctionAn activation function that turns any real-valued vector into a probability distributionConverts scores into “importance percentages”[2,1,0] → [0.67,0.24,0.09], preserving relative magnitudes

🔢 Mathematical Representation
#

TermTechnical definitionPlain-language explanationExample
VectorA mathematical object with magnitude and direction; an ordered list of numbersA “numeric ID card” that describes a thing with numbers[25, 180, 70] can represent a person’s age, height, and weight
EmbeddingThe technique of mapping discrete symbols into a continuous vector spaceTurns words into “numeric coordinates”"king"→[0.25, -0.12, 0.78, ...]
Query / Key / ValueThe three core vector matrices in self-attention: what is asked, what is labeled, what is deliveredQuery = what I want, Key = what I can offer, Value = my actual contentQuery=[0.1,0.2] asks about taste, Key=[0.8,0.1] labels sweetness, Value=[0.9,0.05] is the actual representation of sweetness
Feed-Forward NetworkApplies an independent nonlinear transform at each positionDeepens the model’s understanding of each wordFrom “spring” the model further associates “warmth, growth”
Layer NormalizationStandardizes a layer’s inputsA “stabilizer” for trainingPrevents gradient explosion or divergence
Residual ConnectionA cross-layer connection that preserves the original informationAn “express lane” for information, preventing lossLike a shortcut path that keeps deep networks from degrading

🔄 Processing Pipeline
#

TermTechnical definitionPlain-language explanationExample
TokenizerConverts text into a sequence of tokensA “knife for chopping text”"Hello world" → ["Hello", " world"]
Context WindowThe maximum number of tokens a model can processThe AI’s “memory limit”GPT-4 has a 128K context
DecodingGenerates text token by token from a probability distributionThe AI’s “writing process”Starts generating from the most probable word
TemperatureA parameter controlling generation randomnessA “creativity dial”High temperature is more creative, low more stable
Top-p SamplingA sampling strategy based on cumulative probabilityAn “essence filter”Only considers candidates whose cumulative probability reaches 90%
Max TokensCaps the length of generated outputA “word-count limiter”Keeps the AI from answering too long

🛠️ Engineering Practice
#

TermTechnical definitionPlain-language explanationExample
RAG (Retrieval-Augmented Generation)An AI approach combining retrieval and generationAn “open-book exam” AILook up references first, then answer the question
Prompt EngineeringThe craft of designing and optimizing prompts“The art of asking”Helping the AI understand your needs better
Fine-tuningTraining a pretrained model on a specific task“Targeted job training”Turning a general model into a medical assistant
BPE (Byte Pair Encoding)A common tokenization algorithmA “text compression technique”"unhappiness" → ["un","happi","ness"]
DetokenizationTurns a token sequence back into readable text“Reassembling the pieces”["我","喜欢","苹果"]→"我喜欢苹果"
StreamingGenerates output token by token in real timeThe “typewriter effect”A chatbot thinking while it types

🧠 Classic Models Compared
#

TermTechnical definitionPlain-language explanationExample
RNN (Recurrent Neural Network)A neural network that processes sequences step by stepA “read-one-word-at-a-time AI”Translating "我爱你" word by word
LSTM (Long Short-Term Memory)An improved RNN that handles long-range dependencies“A better memory”Can remember content from the beginning
CNN (Convolutional Neural Network)A neural network that excels at image patternsAn “image specialist”Recognizing cats, dogs, and faces
Encoder-Decoder ArchitectureA model containing both understanding and generation modulesAn “all-round AI”Machine translation models

📊 Application Scenarios
#

TermTechnical definitionPlain-language explanationExample
Chat productA user-facing AI application interfaceAn “AI chat shell”ChatGPT, Claude
API callAn interface for program-to-program communicationThe “AI phone line”An application calling the OpenAI API
Context managementThe technique of maintaining conversation historyThe “AI’s memory”A chatbot remembers what you said
Multi-turn dialogueA continuous human-machine interaction mode“Ongoing conversation”Ask about the weather, then what to wear
Function CallingThe model invoking external APIs to perform tasksThe “AI’s ability to act”The AI checks the weather or searches automatically

🧩 Model Optimization and Training Techniques
#

TermTechnical definitionPlain-language explanationExample
LoRA (Low-Rank Adaptation)Fine-tunes model parameters via low-rank matrices“Lightweight fine-tuning”Lets an LLM quickly adapt to a new domain
QuantizationRepresents model parameters at lower precision“Slimming the model down”FP32→INT8 speeds up inference
PruningRemoves redundant neurons or connections“Trimming the branches”Cutting useless parameters
Distillation (Knowledge Distillation)A large model teaches a small one“Teacher trains the student”GPT-4 teaching a small model
CheckpointA saved intermediate state during model trainingA “training save point”Prevents losing progress on a power cut

🔍 Vector Retrieval and Knowledge Integration
#

TermTechnical definitionPlain-language explanationExample
Embedding ModelA model that converts text into semantic vectorsA “semantic coordinate machine”text-embedding-3-large
Vector DatabaseA database supporting vector retrievalA “semantic warehouse”Milvus, Pinecone, FAISS
Cosine SimilarityMeasures how similar two vectors’ directions areA “semantic similarity meter”A cat is sleeping ≈ The cat is resting
Knowledge GraphStores knowledge as nodes and relationshipsA “knowledge map”apple → is a → fruit
Hybrid SearchCombines semantic retrieval with keyword matching“Belt-and-suspenders search”Searching both cat and pet animal at once

🧩 Multimodal and Agents
#

TermTechnical definitionPlain-language explanationExample
Multimodal ModelHandles text, images, audio, and other modalities at onceA “full-senses AI”GPT-4V, Gemini
VLM (Vision-Language Model)Vision-Language ModelAn AI that can “see pictures”A visual question-answering AI
Speech RecognitionConverts speech to textA “dictation AI”Voice input methods
TTS (Text-to-Speech)Converts text to speechAn “AI announcer”The AI reads its answer aloud
AI AgentAn AI capable of autonomous action and decision-makingAn AI assistant “that can act”Devin, AutoGPT

⚙️ Model Evaluation and Safety
#

TermTechnical definitionPlain-language explanationExample
HallucinationThe model generating false information“Confident nonsense”Inventing papers or facts
AlignmentBringing the model in line with human values“Values training”Tuning a model with RLHF
RLHF (Reinforcement Learning from Human Feedback)Optimizes a model with human preferences“Humans teaching AI to speak”How ChatGPT was trained
Red TeamingAdversarial testing of model safetyA “security penetration test”Testing whether the model leaks secrets
BiasSystematic prejudice in model outputs“The AI plays favorites”Preference for a gender or language

🧰 Emerging Trends and Future Directions#

TermTechnical definitionPlain-language explanationExample
Mixture of ExpertsA structure with multiple sub-models activated dynamicallyA “panel-of-experts AI”The Gemini 1.5 Pro architecture
Context CompressionCompresses conversation history to save tokens“Memory compression”Summarizing long conversations
Memory-Augmented ModelAn AI combined with long-term memory mechanismsAn AI “with a memory”ChatGPT long-term memory
Autonomous AgentAn AI that can plan and execute tasks on its ownA “self-managing AI”AutoGPT, Devin
Synthetic DataVirtual training data generated by AI“AI-made textbooks”Expanding a training set with AI

💡 Study Advice
#

🎯 Priority for Mastering Core Concepts
#

  1. Beginner (must know): Token, Embedding, Transformer, LLM
  2. Intermediate (important): Self-Attention, RAG, Context Window
  3. Advanced (optional): LoRA, Mixture of Experts, Red Teaming

📖 Suggested Learning Path
#

  1. Understand the basics: what a token is, and why vector representation is needed
  2. Master the core architecture: the Transformer encoder-decoder structure
  3. Practice application techniques: combining prompt engineering with RAG
  4. Go deeper into technical details: attention mechanisms and alignment training

🔗 Concept Map
#

1
2
3
4
Fundamentals → Math → Architecture → Processing → Engineering → Optimization → Retrieval → Agents
↓            ↓       ↓             ↓            ↓             ↓               ↓          ↓
Token   → Vector   → Transformer → Decoding → RAG → LoRA → Embedding → Agent
LLM     → Q/K/V    → Attention  → Context → Prompt → Quant → Knowledge → Memory

🚀 Tip: the AI technology landscape is vast but tightly interconnected. A good approach is to study it systematically along four dimensions: understand → build → optimize → secure.


📚 Further Reading
#

🔗 AI LLM Systematic Tutorials Series
#

  1. A Complete Guide to AI LLMs — tokens and vectors explained in depth, from the ground up
  2. Transformer Architecture Deep Dive — the attention mechanism and the core technology behind LLMs
  3. Prompt Engineering Complete Guide — a hands-on guide from prompt engineering to context engineering
  4. [This post] AI Technical Glossary — 270+ terms and a dictionary of the AI technology landscape

🎯 How to Use This Page
#

  • Order of study: work through tutorial 1 → tutorial 2 → tutorial 3 systematically, and keep this page handy as a reference dictionary
  • Looking up terms: when you hit an unfamiliar term while reading the other tutorials, just search for it here
  • Building the knowledge system: combine the tutorials’ theory with the term explanations here to build a complete picture of AI

📘 Appendix: English–Chinese AI Glossary (A–Z)
#

English term中文名称Brief explanation
AGI (Artificial General Intelligence)通用人工智能AI with human-level general intelligence
Alignment对齐Making AI behavior conform to human values
API (Application Programming Interface)应用程序接口The standard way programs call each other
AutoGPT / Autonomous Agent自主智能体AI systems that plan and execute tasks on their own
BERT (Bidirectional Encoder Representations from Transformers)双向Transformer编码模型A landmark pretrained NLP model
Bias偏差Systematic unfairness in model output
BPE (Byte Pair Encoding)字节对编码A widely used text tokenization algorithm
Checkpoint检查点A saved intermediate state during model training
CNN (Convolutional Neural Network)卷积神经网络A network architecture that excels at image recognition
Context Window上下文窗口The maximum number of tokens a model can process
Context Compression上下文压缩Summarizing history to save context
Cosine Similarity余弦相似度A metric for semantic similarity between vectors
Decoder解码器The network module that turns semantic vectors into text
Decoding解码过程The process of a model generating text
Detokenization反分词Turning a token sequence back into text
Distillation (Knowledge Distillation)知识蒸馏A large model guiding a small one’s learning
Embedding嵌入Mapping discrete words into a continuous vector space
Embedding Model向量模型A model that produces semantic vectors for text
Encoder编码器A network component that turns text into semantic representations
Encoder–Decoder编码–解码结构A model architecture with both understanding and generation
Feed Forward Network (FFN)前馈网络The nonlinear transform module inside a Transformer layer
Fine-tuning微调Further training a pretrained model on a specific task
Function Calling工具调用A model’s ability to call external APIs to take actions
Hallucination幻觉The model generating false or fabricated information
Hybrid Search混合检索Combining semantic retrieval with keyword search
Knowledge Graph知识图谱A network storing knowledge as nodes and relationships
Layer Normalization层归一化Standardizing a network layer’s inputs
Latency延迟Response time from model input to output
LLM (Large Language Model)大语言模型A language model trained on massive corpora
LoRA (Low-Rank Adaptation)低秩适配A lightweight model fine-tuning method
LSTM (Long Short-Term Memory)长短期记忆网络An RNN variant that captures long-range dependencies
Memory-Augmented Model记忆增强模型AI with long-term memory capability
Mixture of Experts (MoE)专家混合模型An architecture that dynamically selects sub-models to cooperate
Multi-Head Attention多头注意力A mechanism computing several attentions in parallel
Positional Encoding位置编码A way to add position information to tokens
Pruning剪枝Removing redundant parameters to shrink a model
Prompt Engineering提示工程Optimizing prompts to improve model output quality
Quantization量化Representing model parameters at lower precision for performance
Query / Key / Value (QKV)查询 / 键 / 值The three elements of self-attention
RAG (Retrieval-Augmented Generation)检索增强生成Combining external knowledge retrieval with generation
Red Teaming红队测试Evaluating model safety through adversarial inputs
Residual Connection残差连接A cross-layer information pass-through that prevents gradient degradation
RLHF (Reinforcement Learning from Human Feedback)人类反馈强化学习Optimizing model output with human preferences
RNN (Recurrent Neural Network)循环神经网络A network that processes sequences step by step
Self-Attention自注意力A mechanism computing relationships between sequence elements
Streaming流式输出A model generating and emitting output as it goes
Synthetic Data合成数据Virtual training data generated by AI
Temperature温度参数The parameter controlling generation randomness
Throughput吞吐量The number of requests processed per second
Token词元The smallest unit of text a model processes
Tokenizer分词器The tool that splits text into tokens
Top-p Sampling累积概率采样A generation strategy that filters low-probability words
TransformerTransformer架构The core neural network built on attention
TTS (Text-to-Speech)文本转语音Turning text into natural speech
Vector向量A mathematical structure representing an entity’s features numerically
Vector Database向量数据库A system that stores vectors and retrieves them semantically
VLM (Vision-Language Model)视觉语言模型A model that understands both images and language
Weight权重参数The core learnable numeric parameters of a model

 Author
Author
ByF (BaiFan)
ByF,即 BaiFan(白帆)。系统后端工程师,专注 AI 底层原理与智能体架构。主站 baifan.site。
AI LLM Systematic Tutorials - This article is part of a series.
Part : This Article