Prompts Forms Resume Reports ★ Saved ★ Saved★ + Submit a tool
AI wiki

AI, explained plainly

Concepts, models, methods and products, each in a single plain-language version. No jargon walls, no hype: read it and you can follow it, judge it and put it to use.

415 entries 7 categories Curated by hand, updated regularly
RAG (Retrieval-Augmented Generation)

RAG (Retrieval-Augmented Generation) is the mainstream solution to the problems of large models "not knowing the latest news" and "making up facts". The idea is direct: look up the material first, then answer.

Techniques81 views
Prompt Engineering

Prompt Engineering is the technique of designing input text that guides a large model toward higher-quality output. With the same model, a well-written prompt and a poorly written one can produce wildly different results.

Techniques80 views
Vector Databases

A vector database is a database specialized for storing and retrieving high-dimensional vectors, and it is the core infrastructure of a RAG system. Traditional databases are good at exact matching, but RAG asks for the ten passages closest in meaning to a sentence, which is a semantic similarity computation that traditional indexes cannot perform.

Techniques80 views
Chain of Thought (CoT)

Chain of Thought (CoT) is a prompting technique that makes a large model write out its reasoning process, proposed by Google in 2022 and one of the most important discoveries in the field of prompting. Researchers found that when a model is only asked for the answer directly, the error rate on complex reasoning problems is high.

Techniques81 views
Federated Learning

Federated learning is a technology that allows joint model training without the data leaving the local site, and its core is privacy protection. Training a good model requires large amounts of data, but in reality data is often scattered across different institutions and highly sensitive: hospitals cannot share medical records, and banks cannot exchange customer transaction records.

Techniques71 views
Model Distillation

Model distillation (knowledge distillation) is a technique that compresses the capability of a large model into a small one, so that a cheap small model can also achieve good results. A large model (the teacher) not only gives the answer but also gives a probability distribution over each class, and this distribution carries rich information.

Techniques80 views
Transfer Learning

Transfer learning means taking knowledge learned on one task and carrying it over to another related task. The core insight is that low-level features a model learns from large amounts of data (edges, textures, semantic structure) are general and can be reused directly, instead of training from scratch every time.

Techniques79 views
Few-shot Learning

Few-shot learning means a model can learn to recognize a new class from only a handful of examples (usually 1 to 5). It mimics human ability: a person who has seen one photo of a zebra can recognize every zebra, while conventional deep learning needs hundreds or thousands of images.

Techniques56 views
Mixed Precision Training

Mixed precision training is a technique that uses low-precision floating point (FP16 or BF16) to speed up training while preserving model accuracy. It can make training 1.5-3x faster and cut memory use by 30-50%, and it is a standard technique in large-model training.

Techniques69 views
Pruning and Quantization

Pruning and quantization are the two core techniques of model compression. Their goal is to make a huge model smaller and faster while keeping accuracy, so it can run on phones, embedded devices, and edge servers. Deep learning models contain a large amount of redundant parameters.

Techniques69 views
Knowledge Graph

A knowledge graph is a knowledge base that represents real-world entities and their relations in a graph structure. Nodes stand for entities (people, places, companies, events) and edges stand for relations (born in, works for, acquired). It lets machines manage knowledge structurally and reason over it, and it is the infrastructure behind search engines, recommendation systems, and intelligent question answering.

Techniques60 views
AutoML Automated Machine Learning

AutoML (Automated Machine Learning) automates the steps of the machine learning pipeline that traditionally require human decisions, so that non-experts can also build high-quality models. It covers the full chain from data preprocessing and feature engineering to model selection and hyperparameter tuning.

Techniques69 views
Data Annotation

Data annotation is the process of attaching labels to raw data (images, text, audio, video), and it is the fuel of supervised learning. The industry consensus is that 80% of the work behind a high-quality model goes into the data. Annotation quality sets the ceiling on model quality.

Techniques77 views
Synthetic Data

Synthetic data is virtual data generated by algorithms that imitates the statistical characteristics of real data. Where real data is scarce, expensive, or privacy-sensitive, it is an important supplement for training models. Gartner predicts that by 2030, AI training data will be predominantly synthetic.

Techniques72 views
Sim-to-Real Gap

Sim-to-Real refers to the sharp drop in performance when a model trained in simulation is moved to the real world. This gap is a core difficulty in robotics, autonomous driving, industrial inspection, and similar fields.

Techniques67 views
Data Cleaning

Data cleaning detects and corrects missing values, outliers, duplicates, format errors and inconsistencies in raw data before a model is trained or used. It is the first and most expensive step of preprocessing, and the ceiling of data quality often sets the ceiling of model performance.

Techniques70 views
Data Augmentation

Data augmentation expands the training set by controlled transformations or synthesized samples without changing semantic labels. It trades compute for data and is among the cheapest ways to improve generalization when labels are costly and samples scarce.

Techniques72 views
Data Deduplication

Data deduplication identifies and removes duplicate or highly similar samples, covering exact duplicates and fuzzy near-duplicates. With pretraining corpora in the trillions of tokens, it has gone from a nice-to-have to a step that must be done right.

Techniques71 views
Tokenization Algorithm BPE

Byte Pair Encoding (BPE) is a subword tokenization algorithm: starting from characters, it repeatedly merges the most frequent adjacent symbol pairs, building a subword vocabulary that balances size and expressiveness. It underlies the tokenizers of mainstream models such as GPT, RoBERTa and BART.

Techniques67 views
Word Embedding Word2Vec

Word2Vec is a set of word embedding methods proposed by Google in 2013, with CBOW and Skip-gram architectures, mapping words to low-dimensional dense vectors so semantically similar words lie closer. It turned word vectors from a research toy into an industry standard and marked NLP's turn to deep learning.

Techniques70 views
Vector Search ANN

Approximate nearest neighbor (ANN) search in vector retrieval quickly finds the top k records most similar to a query among hundreds of thousands to billions of high-dimensional vectors. It is the engine behind RAG, recommendation recall and image search.

Techniques68 views
Faiss Vector Index

Faiss (Facebook AI Similarity Search) is a high-performance vector similarity search library open-sourced by Meta AI, written in C++ with official Python bindings for CPU and GPU. It is built to find nearest neighbors fast among hundreds of millions of high-dimensional vectors.

Techniques63 views
Reranker

A reranker is the second-stage ranking component of a retrieval pipeline, finely scoring candidates from initial recall. In the typical recall-then-rerank architecture it sits after vector retrieval and before generation by a large model, the link that lifts roughly relevant results to actually usable ones.

Techniques72 views
Document Chunking Strategy

Chunking cuts long text into short segments suited to retrieval and generation, deciding how much a segment holds and how much meaning it preserves. It sits after parsing and before embedding in RAG and directly sets the ceiling of retrieval quality.

Techniques63 views
Hybrid Search

Hybrid search combines keyword-based sparse retrieval with semantic dense retrieval and fuses and ranks both result sets, usually followed by reranking and truncation. It sits in the recall layer of RAG and search systems and resolves the conflict in which semantic retrieval misses exact terms while keyword retrieval misses synonyms.

Techniques57 views
Prompt Template

A prompt template separates the fixed part of a prompt from task-dependent variables, forming a reusable, manageable, testable string structure. It sits between application logic and model invocation and is the infrastructure that turns one-off tuning into maintainable assets.

Techniques76 views
Self-Consistency

Self-consistency is a decoding strategy that raises reasoning accuracy: it samples several different reasoning paths for one question and takes a majority vote on final answers. It sits at the method layer of inference and is among the most classic, simple and effective enhancements after Chain-of-Thought.

Techniques62 views
Data Mixture

Data mixture refers to setting sampling weights for data from different sources, domains and languages within a pretraining corpus, thereby determining the model's knowledge recipe. It is one of the cheapest yet most sensitive levers in large-model training: with the same total amount of data, simply changing the weights markedly shifts the distribution of the model's downstream capabilities.

Techniques72 views
Corpus Quality Filtering

Corpus quality filtering is the process of removing low-quality text with rules, models and statistical methods before pretraining or building a retrieval corpus. It determines what books the model grows up reading; under the same token budget, filtering often improves results more than simply adding data.

Techniques67 views
Negative Sampling

Negative sampling is an efficient approximation that rewrites the multi-class problem of picking the correct item from a huge number of candidates into several true-or-false binary judgments. It is the common foundation of Word2Vec, graph embeddings and two-tower retrieval training, and one of the most central steps in contemporary vector retrieval training pipelines.

Techniques72 views
HNSW Graph Index

HNSW (Hierarchical Navigable Small World graph) is currently the most widely used graph index for approximate nearest neighbor search, proposed by Malkov and Yashunin. It has almost become the default index option for vector databases and is implemented by mainstream systems such as Milvus, Qdrant, Weaviate, pgvector and Faiss, long holding an advantage along the high-recall, low-latency axis.

Techniques64 views
Query Rewriting

Query rewriting is the practice of reconstructing a user's original question into a query better suited to the retrieval engine, using rules or a large model, before retrieval. It addresses the mismatch between the way people speak and the way a vector store or inverted index matches, and is one of the most cost-effective optimization steps in a RAG system.

Techniques66 views
Small-to-Big Retrieval

Small-to-Big is a two-level chunking strategy: small chunks are used for vector retrieval to keep semantics focused, and once a hit is found, the large chunk to which it belongs is returned as context. It directly answers the fundamental tension in RAG that retrieval wants small chunks while generation wants large chunks, and is one of the most important engineering techniques in the chunking step.

Techniques59 views
Multi-Channel Recall

Multi-channel recall is the engineering practice of running several different retrieval channels in parallel at the retrieval stage, each independently fetching candidate documents, and then merging them into a unified candidate pool. It is first-class infrastructure in modern retrieval-augmented generation systems, because a single path inevitably has blind spots, and generative models have no way to compensate for missing context.

Techniques69 views
ReAct Reasoning

ReAct is a prompting and execution paradigm that lets a large model alternate between reasoning and acting, its full name being Reasoning and Acting. Proposed by Yao et al. in a 2022 paper, it weaves thinking and doing into a single trajectory and lets the model call external tools while reasoning, and it is one of the most fundamental skeletons of agent architectures.

Techniques65 views
Prompt Injection Defense

Prompt injection defense is a set of engineering measures that prevent attackers from embedding instructions in input content to hijack model behavior. In an era when agents are heavily connected to external text and tools, it has moved from optional to security infrastructure on par with authentication.

Techniques68 views