惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Vulnerabilities – Threatpost
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
D
DataBreaches.Net
博客园_首页
罗磊的独立博客
B
Blog
T
Threat Research - Cisco Blogs
C
Cisco Blogs
GbyAI
GbyAI
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
G
GRAHAM CLULEY
H
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
爱范儿
爱范儿
SecWiki News
SecWiki News
T
Threatpost
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Schneier on Security
Schneier on Security
T
The Exploit Database - CXSecurity.com
Google Online Security Blog
Google Online Security Blog
T
Tor Project blog
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
H
Hacker News: Front Page
V
V2EX
Security Latest
Security Latest
Cloudbric
Cloudbric
Simon Willison's Weblog
Simon Willison's Weblog
Attack and Defense Labs
Attack and Defense Labs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed
博客园 - 三生石上(FineUI控件)
NISL@THU
NISL@THU
S
Secure Thoughts
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
V2EX - 技术
V2EX - 技术
Vercel News
Vercel News
P
Palo Alto Networks Blog
IT之家
IT之家
MyScale Blog
MyScale Blog
有赞技术团队
有赞技术团队
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
Docker
Google DeepMind News
Google DeepMind News
Webroot Blog
Webroot Blog

Artificial Intelligence in Plain English - Medium

OpenAI launched GPT-5.5 - it’s the death of digital hand-holding The Future of Agentic AI is Not One Genius Model, it is a Team How AI Development Optimizes Smart Parking Management Systems The FAST Framework: A Practical Responsible AI Checklist for Data Scientists Why is Cloud Migration Consulting Important for Businesses? My Team Caught Me Using AI to Merge PRs. The Code Was Fine. The Trust Wasn’t. SQL Tricks Every Data Scientist Should Know I Stopped Chasing AI Hype and Started Building Systems That Actually Worked GPT-5.5: The Model That Thinks Ahead Mastering AI Storytelling: Crafting Prompts for Captivating Narratives Why So Many Businesses Are Switching to Clawdbot for AI Automation The Growing Dependence on AI Tools — And Why It’s Risky How to Cut Claude Code Costs by At least 2 to 3x How The Google Antigravity Agent Hallucinated NSFW Adult Websites? “Vercel Hack Exposed: How a Simple AI Tool Led to a $2M Data Breach” The Vercel Hack: How One AI Tool Cracked Open the Internet’s Deployment Stack AI Chatbot Development Services for Enterprise Data-Sensitive Processes What AI Agent Developers Should Consider When Designing Agents for High-volume Environments My ChatGPT Responds Better Than Yours, Here is the 3-Step Guide How To Create A Custom AI Chatbot, Train & Deploy It In 48 Hrs Learning in the Age of Intelligent Systems: Why Human Understanding Still Matters Everyone Is Learning AI, So Why Will Most Still Fail? AI Is Learning Faster Than You Think What If Your Next Best Friend Is a Robot That Even Feels Real? OpenAI Quietly Broke the Way You Build AI Apps The AI Superpower Standoff: Why the OpenAI vs. Anthropic War Looks Exactly Like the US vs. Iran The LLM Tools That Actually Matter in Production (Not LangChain, Not the OpenAI SDK) The Most Dangerous Use of Artificial Intelligence Yet! | AI Porn Why Your AI Chatbot Gives Vague Answers (And Why That Should Matter to You) How Do You Prove You’re You, After AI Has Evolved? AWS Bedrock Agents Keep Crashing Mid-Flow, Here’s Why and How to Actually Fix It I Built a Full Stack App Without Writing Code (AI vs Developer Reality Check) Why Your Business Doesn’t Need a Chatbot — It Needs an AI Agent 3 Counter-Intuitive Things I Learned Promoting my Micro-SaaS I Tested 5 LLMs Across 100 Real-World Tasks — The Winner Isn’t Who You Think Why Claude Design is Terrifying UX Teams? 9 AI Behaviors That Developers Misinterpret Completely How Large Language Models Actually Work (Explained Simply) The 4-Month Blueprint: How to Become an AI Automation Builder Claude Opus 4.7: The Model That Verifies Itself The $1 AI Stack: Build Scalable AI Systems Without Burning Cash How Blockchain Development Solutions Enable Decentralized Innovation Your AI Is Lying to You — And Your Tests Are Helping It How to Create a Local AI Assistant Using Python Without Paying for APIs What Is a Context Graph — and Why Is Everyone Talking About It? Jobs Are Disappearing. Careers Are Breaking. The Smartest People Are Building This Instead The Silent Trade: Convenience in Exchange for Control Why “The Dark Knight” and “The Avengers” Are 78% Similar, A Math-First Guide to Movie… Claude Skills — The Workflows That Actually Stick Claude Code’s source code just leaked. Today I’m going to teach you how it works. Build a Production-Grade AI Invoice Processing Pipeline in Snowflake — Using Only SQL The AI-Driven Developer Blueprint: How Modern Software Really Works The Truth About AI — From First Model to Real-World Systems AI in Everyday Life Google’s Gemma 4 Is Beating Models 20x Its Size And You Can Run It on Your Laptop 8 AI Scenarios Where You Should Never Trust the Output How to Make Money from Podcast Videos with AI: A Complete 4-Step Workflow for Creators (2026 Guide) n8n Google Search Workflow Automation: Streamlined SEO Indexing with Google APIs Why Drug Discovery Gets the Wrong Targets — and How Causal AI Can Fix It Why Your Workflow Is Broken (And How AI Automation Fixes It) Failure Mode and Effects Analysis (FMEA): Turning Risk into Preventive Control Measurement System Analysis (MSA): Why Good Projects Fail Without Good Data Advanced DMAIC Tools: Moving Beyond the Basics in Lean Six Sigma AI Won’t Fix a Messy Operation The Invisible Tech Revolution That’s Already Reshaping Your Job (And No, You Don’t Need to Know How… The Battle of the Bastards Is Happening Right Now. And Your Job Is Jon Snow. 7 Real-World Machine Learning Projects You Can Build in a Weekend 5 Prompting Habits That Are Destroying Your AI’s Logic MiniMax M2.7: The Model That Helped Build Itself The Token Dependency: Why Cloud-Only AI is a Single Point of Failure One Agent, Many Skills: Why You Don’t Always Need a Multi-Agent Architecture AI, Machine Learning, and Data Science in Action The Human-AI Symbiosis in Data Science Insurance Chatbots: Benefits, Use Cases & Examples The AI Model Anthropic Won’t Let You Use From Idea to Production: Our Approach to Deep Learning Development From 50 Files to One Graph: How Graphify Turns Code Into Knowledge Meta Just Hit Reset on Its AI Strategy And Muse Spark Is the First Big Sign The Complete Suno AI Prompt & Style Collection for Viral Music (2026) CLAUDE.md — The File Claude Reads Before You Speak Stop Chatting with Claude Code. Start Building on It. AI Agents: The Only Guide You’ll Ever Need (And Why Your Job Depends On It) The Stencil Strategy: How to Automate World-Class Medium Content Solving ‘AI Amnesia’ Through Compounding Strategy I Let AI Do My Job for 30 Days — These Were the Things It Couldn’t Do I Take My AI Agent Everywhere With Claude Dispatch: 3 Use Cases You Must Know AI Is Writing My Code — So What Exactly Is My Job Now? NVIDIA Releases AITune: The Toolkit That Automatically Finds the Fastest Inference Backend for Any… How AI Creates Business Value: The 5 Core Types of AI Enterprise AI Architecture Cheatsheet: A Complete Guide How I Almost Shipped My Credentials with Gemini 3 Flash in Google Antigravity The Agentic AI Security Universe: A Complete Guide to Securing Autonomous AI Systems How I Fixed My Neck Which Started Breaking Before My Career Did Using AI Mastering OpenClaw: How This Autonomous Agent Framework Actually Works The Model Too Dangerous to Release— And Why Anthropic Is Talking to the US Government About It Demystifying BM25: The Algorithm That Powers Search Step-by-Step Guide to Building AI Agents Using LLMs Gradient Descent — An Explanation Your AI Agent Isn’t Dumb. It Has ADHD 10 AI Startups Changing the World in 2026 (Nobody Is Talking About These Yet)_Part 5
The Invisible Assembly Line: How ChatGPT Was Trained — and What It Cost Us
Mohd Azhar · 2026-04-26 · via Artificial Intelligence in Plain English - Medium
The Invisible Assembly Line: How ChatGPT Was Trained — and What It Cost Us Subtitle Inside the multi-billion-dollar pipeline that turns the internet’s chaos into a conversational AI — and why the next generation of models is learning to think, not just predict. Hook: The $100 Million Personality In November 2022, a strange thing happened inside OpenAI’s offices. The team flipped a switch, and GPT-3.5 — a model that had been technically impressive but socially insufferable — suddenly became polite . It stopped completing sentences with conspiracy theories. It learned to say “I’m not sure” instead of hallucinating with confidence. It began refusing requests to write malware or generate hate speech, not because it understood morality, but because it had been trained to recognize the statistical shape of a refusal. This was not a software update in the traditional sense. No engineer sat down and wrote a line of code that said if (toxic) then decline. Instead, thousands of human contractors — many working through outsourcing firms like Scale AI — had spent months ranking AI outputs, comparing two answers to the same prompt and clicking which one felt more helpful, more honest, more human . Those clicks were converted into mathematical reward signals. The model was then fine-tuned, using a reinforcement learning algorithm called PPO, to maximize those rewards. The result was ChatGPT. Sam Altman would later confirm that training GPT-4 alone cost more than $100 million in compute . But that figure tells only a fraction of the story. Behind every coherent paragraph ChatGPT produces lies an invisible assembly line: petabytes of scraped web data, armies of human annotators, reinforcement learning pipelines that would make a robotics lab jealous, and an emerging arms race over who can teach AI not just to speak — but to think . This is how it all works. And more importantly, this is where it’s going. Core Explanation: From Internet Scrap to Digital Polymath Stage 1: Pre-Training — Drinking from the Fire Hose Before ChatGPT could learn to follow instructions, it had to learn English. And Python. And the basics of quantum mechanics, celebrity gossip, legal precedent, Reddit arguments, and Shakespearean sonnets. This happens during pre-training, the most computationally brutal phase of the entire pipeline. The model starts as a randomly initialized neural network — specifically, a decoder-only Transformer architecture. Its sole objective is deceptively simple: predict the next token in a sequence. Given “The cat sat on the,” the model learns to assign high probability to “mat.” Do this across trillions of tokens, and the model internalizes grammar, facts, reasoning patterns, and even something resembling common sense . But where do those trillions of tokens come from? For GPT-3, OpenAI disclosed that roughly 60% of its weighted training dataset came from a filtered version of Common Crawl — a nonprofit archive that has scraped billions of web pages monthly since 2008 . The remainder came from WebText2, books, Wikipedia, and other curated sources . Common Crawl has become the invisible infrastructure beneath modern AI; at least 64% of major LLMs published between 2019 and 2023 were trained on its data . This raw data is messy. It contains spam, hate speech, personal information, and low-quality SEO sludge. So AI labs run aggressive filtering: deduplication, quality scoring, toxicity classifiers, and lexicon-based removal of inappropriate content . OpenAI has admitted to using internally trained classifiers to filter out inappropriate erotic content before training GPT-4 . The goal is not to create a “clean” internet — that would strip away the linguistic diversity that makes models robust — but to remove the worst extremes while preserving the statistical richness of human expression. The cost of this phase is staggering. According to the Stanford AI Index Report 2025, frontier model training costs have escalated dramatically, with GPT-4’s training estimated at $78–100+ million and Google’s Gemini Ultra 1.0 reaching $192 million . This represents a 287,000× increase from the cost of training a Transformer model in 2017 . Stage 2: Supervised Fine-Tuning — Learning to Follow Orders A pre-trained model is a savant, not an assistant. Ask it a question, and it might complete your prompt with more questions, or drift into a Wikipedia-style article, or simply ramble. It has no concept of “helpfulness” — only of statistical likelihood. This is where Supervised Fine-Tuning (SFT) comes in. Human annotators write thousands of ideal responses to real prompts: “Explain quantum computing like I’m five,” “Write a Python function to sort a list,” “Help me draft an email to my boss.” These demonstration datasets teach the model the format of assistance — how to structure answers, when to ask clarifying questions, and how to adopt a conversational tone . SFT is relatively cheap compared to pre-training, but it is labor-intensive. Each high-quality demonstration requires skilled annotators who understand both the technical domain and the nuanced expectations for AI behavior . For ChatGPT, OpenAI’s labelers created thousands of demonstration conversations covering everything from technical explanations to creative writing, showing the model not just what to say, but how to say it . The output of SFT is what researchers call a “policy model” — an AI that can follow instructions but still lacks a reliable sense of what humans actually prefer. Stage 3: RLHF — The Secret Sauce This is where ChatGPT diverged from every chatbot that came before it. Reinforcement Learning from Human Feedback (RLHF) is the technique that transformed GPT-3.5 from a text-completion engine into something that feels like a conversational partner . The process has three steps: First, the SFT model generates multiple responses to the same prompt. Human annotators rank these responses from best to worst — not by absolute score, but by pairwise comparison, which humans find more consistent . Second, these rankings train a Reward Model (RM) — a smaller neural network that learns to predict human preference. The RM is essentially a synthetic critic: given any prompt-response pair, it outputs a scalar reward signal estimating how much humans would like that response . Third, the SFT model is fine-tuned using reinforcement learning (specifically, the PPO algorithm) to maximize the reward model’s scores . The language model is treated as a stochastic policy over tokens; each generated response has a probability under that policy, and training updates nudge that distribution toward higher-reward outputs . What makes RLHF distinct is that the reward function is not manually specified — it is learned from human judgment . The model is not trained to discover objective truth; it is trained to reproduce response patterns that humans tend to prefer when presented with alternatives . This is why ChatGPT apologizes for errors, refuses certain requests, and asks for clarifications — behaviors that emerged not from explicit programming, but from optimization toward human preference . But RLHF is brittle. OpenAI’s own GPT-4 System Card admits that after RLHF, models still exhibit “undesired behaviors based on prompts where instructions to labelers were underspecified” . The GPT-4-early model became “overly cautious,” refusing innocuous requests and excessively hedging — a phenomenon engineers call “overrefusing” . Case Studies / Real Examples: The New Factory Floor The Annotator Economy RLHF created an entirely new labor market. Companies like Scale AI, Surge AI, and Toloka built businesses around supplying human feedback for model training. These annotators are not AI researchers — they are gig workers, often in Kenya, the Philippines, and Eastern Europe, earning wages that represent a tiny fraction of the models’ ultimate value. The work is psychologically taxing. Annotators spend hours reading AI-generated text about violence, self-harm, and sexual content, ranking which version is “less harmful.” They are not teaching the model morality; they are teaching it the statistical average of human discomfort. And because different cultures have different thresholds for what constitutes “helpful” versus “harmful,” the model’s “values” are effectively the averaged preferences of a specific, economically accessible demographic of annotators. Anthropic’s Constitutional AI: Scaling Without Humans Not everyone believes RLHF is sustainable. Anthropic, OpenAI’s chief rival, developed Constitutional AI as an alternative. Instead of relying solely on human preference data, Claude is trained using a written “constitution” — a set of principles the model uses to critique and revise its own outputs . This reduces the amount of human labeling required and allows for more scalable alignment . The approach is clever but imperfect. A constitution is only as good as its authors, and the model may learn to game the principles rather than internalize them. Still, Constitutional AI represents a crucial industry trend: the shift from pure human feedback to AI-generated feedback, or RLAIF (Reinforcement Learning from AI Feedback). DeepSeek and the Efficiency Shock In January 2025, Chinese AI lab DeepSeek released R1, a reasoning model that matched OpenAI’s o1 on mathematics and coding benchmarks — at roughly 4% of the cost . DeepSeek R1 was built on a Mixture-of-Experts (MoE) architecture with 671 billion total parameters, but only 37 billion activated per forward pass . The final reinforcement learning phase to imbue reasoning capabilities reportedly cost under $300,000 in GPU time . However, this figure requires context. DeepSeek had already spent approximately $5.6 million training the base V3 model on 2,048 H800 GPUs for two months . The $300,000 figure covers only the RL post-training, not the full pipeline. Even so, DeepSeek’s efficiency sent shockwaves through Silicon Valley, proving that algorithmic innovation — not just brute-force scaling — could produce frontier-level capabilities . DeepSeek R1 also revealed something fascinating: when trained with pure outcome-based reinforcement learning (rewarded only for correct final answers), the model spontaneously developed reasoning strategies including self-verification, backtracking, and multi-approach problem-solving . Reasoning, it turned out, could emerge from optimization alone. Industry Impact: The Three Shifts Reshaping AI Shift 1: From Prediction to Reasoning The most significant development since ChatGPT’s launch is the rise of reasoning models — systems like OpenAI’s o1 and o3, and DeepSeek’s R1, that generate internal “chain-of-thought” before producing a final answer . Unlike standard LLMs, which predict tokens reflexively, reasoning models allocate compute dynamically: a simple factual question might use 50 internal tokens, while a complex math proof could use 10,000+ . These models are trained using reinforcement learning where the reward signal is based on reaching correct answers through valid reasoning chains . OpenAI’s o3 reportedly used 10× more training compute than o1 . The industry is rapidly converging on the view that reasoning-focused post-training will become standard practice in future LLM pipelines . Shift 2: Data Scarcity and the Crawl Wars The internet is not infinite — at least, not the high-quality portion of it. A 2024 Mozilla Foundation study noted that Common Crawl’s data is strongly skewed toward English content and digitally dominant communities, while excluding large swaths of the non-English web . Meanwhile, The Atlantic revealed that Common Crawl has archived millions of paywalled articles from major news outlets, potentially allowing AI companies to train on premium journalism for free . This has triggered a legal and ethical backlash. Publishers including The New York Times, The Atlantic, and Ziff Davis have sued OpenAI for copyright infringement. The outcome of these cases will determine whether the next generation of models trains on a richer, licensed web — or a shrinking pool of freely available text. Shift 3: The Cost Asymmetry Training costs are creating a moat around incumbent players. GPT-4 cost an estimated $78–100+ million to train . Google’s Gemini Ultra 1.0 cost $192 million . Even Meta’s Llama 3.1–405B cost an estimated $170 million . These figures exclude the salaries of hundreds of ML engineers, the cost of failed training runs, and the ongoing expense of RLHF data collection — which, according to some estimates, now exceeds compute costs by up to 28× in certain phases . This cost asymmetry explains why the AI industry has consolidated around a handful of well-funded labs. It also explains why open-source models like Llama and DeepSeek V3 are so disruptive: they prove that with clever architecture and efficient training, smaller teams can still compete. Future Predictions: Where This Pipeline Goes Next 1. Test-Time Compute Becomes the New Training The next frontier is not bigger models, but longer thinking . OpenAI’s o3 and DeepSeek R1 demonstrate that allowing models to “think” longer at inference time — generating and evaluating multiple reasoning paths — can outperform simply scaling model size . We will see a shift from “train-time scaling” (bigger models, more data) to “test-time scaling” (more compute per query). This will make AI more accurate but also more expensive to run, potentially bifurcating the market into “fast” models for simple tasks and “deep thinkers” for complex analysis. 2. Synthetic Data Loops As high-quality human-written data runs out, labs will increasingly rely on synthetic data — AI-generated text filtered and refined by other AI systems. This creates a risk of “model collapse,” where training on AI-generated output degrades performance over time. The labs that solve this — likely through careful mixing of synthetic and real data, or through adversarial filtering — will gain a significant edge. 3. Regulatory Intervention in Training Pipelines The EU AI Act and emerging U.S. legislation will force labs to document their training data, filtering methods, and human annotation practices. We will see “nutrition labels” for AI models, disclosing data sources, energy consumption, and annotator labor conditions. This transparency will be expensive but necessary for enterprise adoption. 4. The End of Generic RLHF RLHF as practiced today — pairwise human preferences on general tasks — will be replaced by more specialized alignment techniques. Process Reward Models (PRMs) that evaluate reasoning step-by-step, rather than just final outputs, are already showing promise . Direct Preference Optimization (DPO) eliminates the need for a separate reward model entirely, reducing complexity . And Constitutional AI-style self-supervision will reduce reliance on low-wage human annotators. 5. Multimodal Pre-Training Becomes Standard GPT-4 was trained on both text and images . Future models will train on video, audio, and sensor data from the physical world simultaneously. This will require new architectures — likely variations on the vision transformer and cross-attention mechanisms used in models like Flamingo and KOSMOS-1 — and will push training costs into the billions. Key Takeaways ChatGPT is not “programmed” to be helpful. It is optimized, through a three-stage pipeline (pre-training → supervised fine-tuning → RLHF), to statistically resemble responses that humans prefer . The training data is the internet, filtered. Common Crawl provides the backbone, but aggressive filtering, deduplication, and quality scoring determine what actually enters the model . RLHF is the secret sauce — and the bottleneck. Human preference data transforms a text-completion engine into a conversational assistant, but it introduces bias, brittleness, and significant labor costs . Reasoning models represent a paradigm shift. Systems like o3 and DeepSeek R1 use reinforcement learning to generate internal chains of thought, achieving capabilities that scale with inference-time compute, not just model size . Costs are stratospheric and rising. Frontier models now cost $100M–$200M+ to train, creating competitive moats but also incentives for algorithmic efficiency . The data pipeline is legally and ethically contested. Paywalled content, copyright lawsuits, and annotator labor conditions are becoming central issues, not footnotes . Alignment remains unsolved. Models still hallucinate, overrefuse, and can be jailbroken. RLHF makes them safer, but “safer” is not the same as “aligned” . Conclusion: The Assembly Line We Cannot See The next time ChatGPT writes you a poem, debugs your code, or refuses to generate something harmful, remember: that moment is the endpoint of a pipeline that spans continents, costs nine figures, and involves the distilled preferences of thousands of anonymous workers. We are living through the industrialization of intelligence. Just as the 19th century saw the rise of factories that transformed raw cotton into finished garments, the 2020s are witnessing the rise of computational factories that transform raw internet text into polished, preference-aligned prose. The machinery is different — GPUs instead of looms, gradient descent instead of steam — but the structural logic is eerily similar: extract raw material, process it through multiple stages of refinement, and optimize for the desires of the end consumer. What comes next is not just more of the same. The shift from prediction to reasoning, from human feedback to AI self-supervision, and from train-time to test-time compute suggests we are entering a new phase. The models being trained today are not just learning to speak; they are learning to think — or at least, to simulate thinking with enough fidelity to solve problems that stumped their predecessors. Whether that simulation becomes something more — and whether we can align it with human values at a cost the world can afford — is the defining question of the decade. The assembly line is running faster than ever. We would do well to understand how it works before it starts building things we never asked for. The Invisible Assembly Line: How ChatGPT Was Trained — and What It Cost Us was originally published in Artificial Intelligence in Plain English on Medium, where people are continuing the conversation by highlighting and responding to this story.