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

推荐订阅源

GbyAI
GbyAI
Simon Willison's Weblog
Simon Willison's Weblog
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
F
Fortinet All Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
Last Week in AI
Last Week in AI
月光博客
月光博客
有赞技术团队
有赞技术团队
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
Martin Fowler
Martin Fowler
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
Check Point Blog
U
Unit 42
The Register - Security
The Register - Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
D
DataBreaches.Net
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
H
Hacker News: Front Page
Recent Announcements
Recent Announcements
C
CXSECURITY Database RSS Feed - CXSecurity.com
Latest news
Latest news
小众软件
小众软件
P
Palo Alto Networks Blog
PCI Perspectives
PCI Perspectives
Security Latest
Security Latest
S
Secure Thoughts
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threat Research - Cisco Blogs
P
Proofpoint News Feed
M
MIT News - Artificial intelligence
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News
Recorded Future
Recorded Future
O
OpenAI News
S
Securelist
云风的 BLOG
云风的 BLOG
H
Help Net Security
T
Troy Hunt's Blog

MarkTechPost

A Coding Implementation of End-to-End Brain Decoding from MEG Signals Using NeuralSet and Deep Learning for Predicting Linguistic Features Meta Introduces Autodata: An Agentic Framework That Turns AI Models into Autonomous Data Scientists for High-Quality Training Data Creation A Coding Guide on LLM Post Training with TRL from Supervised Fine Tuning to DPO and GRPO Reasoning Qwen AI Releases Qwen-Scope: An Open-Source Sparse AutoEncoders (SAE) Suite That Turns LLM Internal Features into Practical Development Tools A Coding Deep Dive into Agentic UI, Generative UI, State Synchronization, and Interrupt-Driven Approval Flows Moonshot AI Open-Sources FlashKDA: CUTLASS Kernels for Kimi Delta Attention with Variable-Length Batching and H20 Benchmarks Microsoft Research’s World-R1 Uses Flow-GRPO and 3D-Aware Rewards to Inject Geometric Consistency Into Wan 2.1 Without Architectural Changes A Coding Implementation on Pyright Type Checking Covering Generics, Protocols, Strict Mode, Type Narrowing, and Modern Python Typing IBM Releases Two Granite Speech 4.1 2B Models: Autoregressive ASR with Translation and Non-Autoregressive Editing for Fast Inference Top 10 KV Cache Compression Techniques for LLM Inference: Reducing Memory Overhead Across Eviction, Quantization, and Low-Rank Methods Qwen Team Releases FlashQLA: a High-Performance Linear Attention Kernel Library That Achieves Up to 3× Speedup on NVIDIA Hopper GPUs Step by Step Guide to Build a Complete PII Detection and Redaction Pipeline with OpenAI Privacy Filter Meta FAIR Releases NeuralSet: A Python Package for Neuro-AI That Supports fMRI, M/EEG, Spikes, and HuggingFace Embeddings smol-audio: A Colab-Friendly Notebook Collection for Fine-Tuning Whisper, Parakeet, Voxtral, Granite Speech, and Audio Flamingo 3 A Coding Implementation on Document Parsing Benchmarking with LlamaIndex ParseBench Using Python, Hugging Face, and Evaluation Metrics Poolside AI Introduces Laguna XS.2 and M.1: Agentic Coding Models Reaching 68.2% and 72.5% on SWE-bench Verified How to Build Traceable and Evaluated LLM Workflows Using Promptflow, Prompty, and OpenAI OpenAI Releases Privacy Filter: A 1.5B-Parameter Open-Source PII Redaction Model with 50M Active Parameters Top 10 Physical AI Models Powering Real-World Robots in 2026 How to Build a Lightweight Vision-Language-Action-Inspired Embodied Agent with Latent World Modeling and Model Predictive Control Meet Talkie-1930: A 13B Open-Weight LLM Trained on Pre-1931 English Text for Historical Reasoning and Generalization Research Build a Reinforcement Learning Powered Agent that Learns to Retrieve Relevant Long-Term Memories for Accurate LLM Question Answering OpenMOSS Releases MOSS-Audio: An Open-Source Foundation Model for Speech, Sound, Music, and Time-Aware Audio Reasoning Meta AI Releases Sapiens2: A High-Resolution Human-Centric Vision Model for Pose, Segmentation, Normals, Pointmap, and Albedo The LoRA Assumption That Breaks in Production How to Build a Fully Searchable AI Knowledge Base with OpenKB, OpenRouter, and Llama How to Build Smarter Multilingual Text Wrapping with BudouX Through Parsing, HTML Rendering, Model Introspection, and Toy Training Top 7 Benchmarks That Actually Matter for Agentic Reasoning in Large Language Models RAG Without Vectors: How PageIndex Retrieves by Reasoning A Coding Tutorial on Datashader on Rendering Massive Datasets with High-Performance Python Visual Analytics xAI Launches grok-voice-think-fast-1.0: Topping τ-voice Bench at 67.3%, Outperforming Gemini, GPT Realtime, and More A Coding Implementation on kvcached for Elastic KV Cache Memory, Bursty LLM Serving, and Multi-Model GPU Sharing Google DeepMind Introduces Vision Banana: An Instruction-Tuned Image Generator That Beats SAM 3 on Segmentation and Depth Anything V3 on Metric Depth Estimation Meet GitNexus: An Open-Source MCP-Native Knowledge Graph Engine That Gives Claude Code and Cursor Full Codebase Structural Awareness A Coding Implementation on Deepgram Python SDK for Transcription, Text-to-Speech, Async Audio Processing, and Text Intelligence A Coding Implementation on Microsoft’s OpenMementos with Trace Structure Analysis, Context Compression, and Fine-Tuning Data Preparation DeepSeek AI Releases DeepSeek-V4: Compressed Sparse Attention and Heavily Compressed Attention Enable One-Million-Token Contexts Google DeepMind Introduces Decoupled DiLoCo: An Asynchronous Training Architecture Achieving 88% Goodput Under High Hardware Failure Rates Mend Releases AI Security Governance Framework: Covering Asset Inventory, Risk Tiering, AI Supply Chain Security, and Maturity Model Mend.io Releases AI Security Governance Framework Covering Asset Inventory, Risk Tiering, AI Supply Chain Security, and Maturity Model OpenAI Releases GPT-5.5, a Fully Retrained Agentic Model That Scores 82.7% on Terminal-Bench 2.0 and 84.9% on GDPval A Coding Tutorial on OpenMythos on Recurrent-Depth Transformers with Depth Extrapolation, Adaptive Computation, and Mixture-of-Experts Routing Google Cloud AI Research Introduces ReasoningBank: A Memory Framework that Distills Reasoning Strategies from Agent Successes and Failures Xiaomi Releases MiMo-V2.5-Pro and MiMo-V2.5: Matching Frontier Model Benchmarks at Significantly Lower Token Cost How to Design a Production-Grade CAMEL Multi-Agent System with Planning, Tool Use, Self-Consistency, and Critique-Driven Refinement Alibaba Qwen Team Releases Qwen3.6-27B: A Dense Open-Weight Model Outperforming 397B MoE on Agentic Coding Benchmarks A Detailed Implementation on Equinox with JAX Native Modules, Filtered Transforms, Stateful Layers, and End-to-End Training Workflows Next Leap to Harness Engineering: JiuwenClaw Pioneers ‘Coordination Engineering’ Photon Releases Spectrum: An Open-Source TypeScript Framework that Deploys AI Agents Directly to iMessage, WhatsApp, and Telegram OpenAI Open-Sources Euphony: A Browser-Based Visualization Tool for Harmony Chat Data and Codex Session Logs Hugging Face Releases ml-intern: An Open-Source AI Agent that Automates the LLM Post-Training Workflow A Coding Implementation to Build a Conditional Bayesian Hyperparameter Optimization Pipeline with Hyperopt, TPE, and Early Stopping Google Introduces Simula: A Reasoning-First Framework for Generating Controllable, Scalable Synthetic Datasets Across Specialized AI Domains A Coding Implementation on Qwen 3.6-35B-A3B Covering Multimodal Inference, Thinking Control, Tool Calling, MoE Routing, RAG, and Session Persistence Moonshot AI Releases Kimi K2.6 with Long-Horizon Coding, Agent Swarm Scaling to 300 Sub-Agents and 4,000 Coordinated Steps A Coding Implementation on Microsoft’s Phi-4-Mini for Quantized Inference Reasoning Tool Use RAG and LoRA Fine-Tuning OpenAI Scales Trusted Access for Cyber Defense With GPT-5.4-Cyber: a Fine-Tuned Model Built for Verified Security Defenders Moonshot AI and Tsinghua Researchers Propose PrfaaS: A Cross-Datacenter KVCache Architecture that Rethinks How LLMs are Served at Scale Meet OpenMythos: An Open-Source PyTorch Reconstruction of Claude Mythos Where 770M Parameters Match a 1.3B Transformer How TabPFN Leverages In-Context Learning to Achieve Superior Accuracy on Tabular Datasets Compared to Random Forest and CatBoost A Coding Implementation to Build an AI-Powered File Type Detection and Security Analysis Pipeline with Magika and OpenAI NVIDIA Releases Ising: the First Open Quantum AI Model Family for Hybrid Quantum-Classical Systems xAI Launches Standalone Grok Speech-to-Text and Text-to-Speech APIs, Targeting Enterprise Voice Developers A Coding Tutorial for Running PrismML Bonsai 1-Bit LLM on CUDA with GGUF, Benchmarking, Chat, JSON, and RAG A Coding Guide for Property-Based Testing Using Hypothesis with Stateful, Differential, and Metamorphic Test Design Anthropic Releases Claude Opus 4.7: A Major Upgrade for Agentic Coding, High-Resolution Vision, and Long-Horizon Autonomous Tasks Google AI Releases Auto-Diagnose: An Large Language Model LLM-Based System to Diagnose Integration Test Failures at Scale A End-to-End Coding Guide to Running OpenAI GPT-OSS Open-Weight Models with Advanced Inference Workflows Top 19 AI Red Teaming Tools (2026): Secure Your ML Models A Coding Guide to Build a Production-Grade Background Task Processing System Using Huey with SQLite, Scheduling, Retries, Pipelines, and Concurrency Control Qwen Team Open-Sources Qwen3.6-35B-A3B: A Sparse MoE Vision-Language Model with 3B Active Parameters and Agentic Coding Capabilities OpenAI Launches GPT-Rosalind: Its First Life Sciences AI Model Built to Accelerate Drug Discovery and Genomics Research Building Transformer-Based NQS for Frustrated Spin Systems with NetKet UCSD and Together AI Research Introduces Parcae: A Stable Architecture for Looped Language Models That Achieves the Quality of a Transformer Twice the Size How to Build a Universal Long-Term Memory Layer for AI Agents Using Mem0 and OpenAI A Coding Implementation to Build Multi-Agent AI Systems with SmolAgents Using Code Execution, Tool Calling, and Dynamic Orchestration Google AI Launches Gemini 3.1 Flash TTS: A New Benchmark in Expressive and Controllable AI Voice Google DeepMind Releases Gemini Robotics-ER 1.6: Bringing Enhanced Embodied Reasoning and Instrument Reading to Physical AI Google Launches ‘Skills’ in Chrome: Turning Reusable AI Prompts into One-Click Browser Workflows A Coding Implementation of Crawl4AI for Web Crawling, Markdown Generation, JavaScript Execution, and LLM-Based Structured Extraction TinyFish AI Releases Full Web Infrastructure Platform for AI Agents: Search, Fetch, Browser, and Agent Under One API Key NVIDIA and the University of Maryland Researchers Released Audio Flamingo Next (AF-Next): A Super Powerful and Open Large Audio-Language Model A Hands-On Coding Tutorial for Microsoft VibeVoice Covering Speaker-Aware ASR, Real-Time TTS, and Speech-to-Speech Pipelines Meta AI and KAUST Researchers Propose Neural Computers That Fold Computation, Memory, and I/O Into One Learned Model A Coding Implementation of MolmoAct for Depth-Aware Spatial Reasoning, Visual Trajectory Tracing, and Robotic Action Prediction MiniMax Just Open Sourced MiniMax M2.7: A Self-Evolving Agent Model that Scores 56.22% on SWE-Pro and 57.0% on Terminal Bench 2 Liquid AI Releases LFM2.5-VL-450M: a 450M-Parameter Vision-Language Model with Bounding Box Prediction, Multilingual Support, and Sub-250ms Edge Inference Researchers from MIT, NVIDIA, and Zhejiang University Propose TriAttention: A KV Cache Compression Method That Matches Full Attention at 2.5× Higher Throughput How to Build a Secure Local-First Agent Runtime with OpenClaw Gateway, Skills, and Controlled Tool Execution How Knowledge Distillation Compresses Ensemble Intelligence into a Single Deployable AI Model Alibaba’s Tongyi Lab Releases VimRAG: a Multimodal RAG Framework that Uses a Memory Graph to Navigate Massive Visual Contexts A Coding Guide to Markerless 3D Human Kinematics with Pose2Sim, RTMPose, and OpenSim NVIDIA Releases AITune: An Open-Source Inference Toolkit That Automatically Finds the Fastest Inference Backend for Any PyTorch Model Five AI Compute Architectures Every Engineer Should Know: CPUs, GPUs, TPUs, NPUs, and LPUs Compared An End-to-End Coding Guide to NVIDIA KVPress for Long-Context LLM Inference, KV Cache Compression, and Memory-Efficient Generation Meta Superintelligence Lab Releases Muse Spark: A Multimodal Reasoning Model With Thought Compression and Parallel Agents Sigmoid vs ReLU Activation Functions: The Inference Cost of Losing Geometric Context A Coding Guide to Build Advanced Document Intelligence Pipelines with Google LangExtract, OpenAI Models, Structured Extraction, and Interactive Visualization Google AI Research Introduces PaperOrchestra: A Multi-Agent Framework for Automated AI Research Paper Writing A Comprehensive Implementation Guide to ModelScope for Model Search, Inference, Fine-Tuning, Evaluation, and Export
A Technical Deep Dive into the Essential Stages of Modern Large Language Model Training, Alignment, and Deployment
2026-04-16 · via MarkTechPost

Training a modern large language model (LLM) is not a single step but a carefully orchestrated pipeline that transforms raw data into a reliable, aligned, and deployable intelligent system. At its core lies pretraining, the foundational phase where models learn general language patterns, reasoning structures, and world knowledge from massive text corpora. This is followed by supervised fine-tuning (SFT), where curated datasets shape the model’s behavior toward specific tasks and instructions. To make adaptation more efficient, techniques like LoRA (Low-Rank Adaptation) and QLoRA (Quantized LoRA) enable parameter-efficient fine-tuning without retraining the entire model. 

Alignment layers such as RLHF (Reinforcement Learning from Human Feedback) further refine outputs to match human preferences, safety expectations, and usability standards. More recently, reasoning-focused optimizations like GRPO (Group Relative Policy Optimization) have emerged to enhance structured thinking and multi-step problem solving. Finally, all of this culminates in deployment, where models are optimized, scaled, and integrated into real-world systems. Together, these stages form the modern LLM training pipeline—an evolving, multi-layered process that determines not just what a model knows, but how it thinks, behaves, and delivers value in production environments.

Pre-Training

Pretraining is the first and most foundational stage in building a large language model. It’s where a model learns the basics of language—grammar, context, reasoning patterns, and general world knowledge—by training on massive amounts of raw data like books, websites, and code. Instead of focusing on a specific task, the goal here is broad understanding. The model learns patterns such as predicting the next word in a sentence or filling in missing words, which helps it generate meaningful and coherent text later on. This stage essentially turns a random neural network into something that “understands” language at a general level .

What makes pretraining especially important is that it defines the model’s core capabilities before any customization happens. While later stages like fine-tuning adapt the model for specific use cases, they build on top of what was already learned during pretraining. Even though the exact definition of “pretraining” can vary—sometimes including newer techniques like instruction-based learning or synthetic data—the core idea remains the same: it is the phase where the model develops its fundamental intelligence. Without strong pretraining, everything that follows becomes much less effective.

Supervised Finetuning

Supervised Fine-Tuning (SFT) is the stage where a pre-trained LLM is adapted to perform specific tasks using high-quality, labeled data. Instead of learning from raw, unstructured text like in pretraining, the model is trained on carefully curated input–output pairs that have been validated beforehand. This allows the model to adjust its weights based on the difference between its predictions and the correct answers, helping it align with specific goals, business rules, or communication styles. In simple terms, while pretraining teaches the model how language works, SFT teaches it how to behave in real-world use cases.

This process makes the model more accurate, reliable, and context-aware for a given task. It can incorporate domain-specific knowledge, follow structured instructions, and generate responses that match desired tone or format. For example, a general pre-trained model might respond to a user query like:
“I can’t log into my account. What should I do?” with a short answer like:
“Try resetting your password.”

After supervised fine-tuning with customer support data, the same model could respond with:
“I’m sorry you’re facing this issue. You can try resetting your password using the ‘Forgot Password’ option. If the problem persists, please contact our support team at [email protected]—we’re here to help.”

Here, the model has learned empathy, structure, and helpful guidance from labeled examples. That’s the power of SFT—it transforms a generic language model into a task-specific assistant that behaves exactly the way you want.

LoRA

LoRA (Low-Rank Adaptation) is a parameter-efficient fine-tuning technique designed to adapt large language models without retraining the entire network. Instead of updating all the model’s weights—which is extremely expensive for models with billions of parameters—LoRA freezes the original pre-trained weights and introduces small, trainable “low-rank” matrices into specific layers of the model (typically within the transformer architecture). These matrices learn how to adjust the model’s behavior for a specific task, drastically reducing the number of trainable parameters, GPU memory usage, and training time, while still maintaining strong performance.

This makes LoRA especially useful in real-world scenarios where deploying multiple fully fine-tuned models would be impractical. For example, imagine you want to adapt a large LLM for legal document summarization. With traditional fine-tuning, you would need to retrain billions of parameters. With LoRA, you keep the base model unchanged and only train a small set of additional matrices that “nudge” the model toward legal-specific understanding. So, when given a prompt like:
“Summarize this contract clause…”

A base model might produce a generic summary, but a LoRA-adapted model would generate a more precise, domain-aware response using legal terminology and structure. In essence, LoRA lets you specialize powerful models efficiently—without the heavy cost of full retraining.

QLoRA

QLoRA (Quantized Low-Rank Adaptation) is an extension of LoRA that makes fine-tuning even more memory-efficient by combining low-rank adaptation with model quantization. Instead of keeping the pre-trained model in standard 16-bit or 32-bit precision, QLoRA compresses the model weights down to 4-bit precision. The base model remains frozen in this compressed form, and just like LoRA, small trainable low-rank adapters are added on top. During training, gradients flow through the quantized model into these adapters, allowing the model to learn task-specific behavior while using a fraction of the memory required by traditional fine-tuning.

This approach makes it possible to fine-tune extremely large models—even those with tens of billions of parameters—on a single GPU, which was previously impractical. For example, suppose you want to adapt a 65B parameter model for a chatbot use case. With standard fine-tuning, this would require massive infrastructure. With QLoRA, the model is first compressed to 4-bit, and only the small adapter layers are trained. So, when given a prompt like:
“Explain quantum computing in simple terms”

A base model might give a generic explanation, but a QLoRA-tuned version can provide a more structured, simplified, and instruction-following response—tailored to your dataset—while running efficiently on limited hardware. In short, QLoRA brings large-scale model fine-tuning within reach by dramatically reducing memory usage without sacrificing performance.

RLHF

Reinforcement Learning from Human Feedback (RLHF) is a training stage used to align large language models with human expectations of helpfulness, safety, and quality. After pretraining and supervised fine-tuning, a model may still produce outputs that are technically correct but unhelpful, unsafe, or not aligned with user intent. RLHF addresses this by incorporating human judgment into the training loop—humans review and rank multiple model responses, and this feedback is used to train a reward model. The LLM is then further optimized (commonly using algorithms like PPO) to generate responses that maximize this learned reward, effectively teaching it what humans prefer.

This approach is especially useful for tasks where rules are hard to define mathematically—like being polite, funny, or non-toxic—but easy for humans to evaluate. For example, given a prompt like:
“Tell me a joke about work”

A basic model might generate something awkward or even inappropriate. But after RLHF, the model learns to produce responses that are more engaging, safe, and aligned with human taste. Similarly, for a sensitive query, instead of giving a blunt or risky answer, an RLHF-trained model would respond more responsibly and helpfully. In short, RLHF bridges the gap between raw intelligence and real-world usability by shaping models to behave in ways humans actually value.

Reasoning (GRPO)

Group Relative Policy Optimization (GRPO) is a newer reinforcement learning technique designed specifically to improve reasoning and multi-step problem-solving in large language models. Unlike traditional methods like PPO that evaluate responses individually, GRPO works by generating multiple candidate responses for the same prompt and comparing them within a group. Each response is assigned a reward, and instead of optimizing based on absolute scores, the model learns by understanding which responses are better relative to others. This makes training more efficient and better suited for tasks where quality is subjective—like reasoning, explanations, or step-by-step problem solving.

In practice, GRPO starts with a prompt (often enhanced with instructions like “think step by step”), and the model generates several possible answers. These answers are then scored, and the model updates itself based on which ones performed best within the group. For example, given a prompt like:
“Solve: If a train travels 60 km in 1 hour, how long will it take to travel 180 km?”

A basic model might jump to an answer directly, sometimes incorrectly. But a GRPO-trained model is more likely to produce structured reasoning like:
  “Speed = 60 km/h. Time = Distance / Speed = 180 / 60 = 3 hours.”

By repeatedly learning from better reasoning paths within groups, GRPO helps models become more consistent, logical, and reliable in complex tasks—especially where step-by-step thinking matters.

Deployment

LLM deployment is the final stage of the pipeline, where a trained model is integrated into a real-world environment and made accessible for practical use. This typically involves exposing the model through APIs so applications can interact with it in real time. Unlike earlier stages, deployment is less about training and more about performance, scalability, and reliability. Since LLMs are large and resource-intensive, deploying them requires careful infrastructure planning—such as using high-performance GPUs, managing memory efficiently, and ensuring low-latency responses for users.

To make deployment efficient, several optimization and serving techniques are used. Models are often quantized (e.g., reduced from 16-bit to 4-bit precision) to lower memory usage and speed up inference. Specialized inference engines like vLLM, TensorRT-LLM, and SGLang help maximize throughput and reduce latency. Deployment can be done via cloud-based APIs (like managed services on AWS/GCP) or self-hosted setups using tools such as Ollama or BentoML for more control over privacy and cost. On top of this, systems are built to monitor performance (latency, GPU usage, token throughput) and automatically scale resources based on demand. In essence, deployment is about turning a trained LLM into a fast, reliable, and production-ready system that can serve users at scale.

I am a Civil Engineering Graduate (2022) from Jamia Millia Islamia, New Delhi, and I have a keen interest in Data Science, especially Neural Networks and their application in various areas.