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

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Troy Hunt's Blog
T
The Exploit Database - CXSecurity.com
Microsoft Security Blog
Microsoft Security Blog
V
Visual Studio Blog
F
Fortinet All Blogs
博客园_首页
P
Proofpoint News Feed
V
Vulnerabilities – Threatpost
The Cloudflare Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
H
Heimdal Security Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
AI
AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
Security Affairs
The Register - Security
The Register - Security
S
Security @ Cisco Blogs
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
Schneier on Security
Schneier on Security
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
GbyAI
GbyAI
T
Tailwind CSS Blog
Hacker News: Ask HN
Hacker News: Ask HN
W
WeLiveSecurity
D
Docker
L
LangChain Blog
B
Blog RSS Feed
The Last Watchdog
The Last Watchdog
Cloudbric
Cloudbric
TaoSecurity Blog
TaoSecurity Blog
N
Netflix TechBlog - Medium
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
The Hacker News
The Hacker News
AWS News Blog
AWS News Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
宝玉的分享
宝玉的分享
I
Intezer
云风的 BLOG
云风的 BLOG
V2EX - 技术
V2EX - 技术
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO

Snorkel AI

Building AI-Native Systems for Federal Infrastructure: A Conversation with Rezaur Rahman Code World Models and AutoHarness for LLM Agents Benchtalks #1: Alex Shaw (Terminal-Bench, Harbor) – Building the Benchmark Factory Building FinQA: An Open RL Environment for Financial Reasoning Agents How Tool Discipline Let a 4B Model Outsmart a 235B Giant on Financial Tasks Coding agents don’t need to be perfect, they need to recover Closing the Evaluation Gap in Agentic AI SlopCodeBench: Measuring Code Erosion as Agents Iterate Introducing the Snorkel Agentic Coding Benchmark 2026: The year of environments Part V: Future Direction and Emerging Trends in Rubric-Based AI Evaluation The self-critique paradox: Why AI verification fails where it’s needed most Chat With the Terminal-Bench Team | Snorkel AI Intelligence per watt: A new metric for AI’s future Terminal-Bench 2.0: Raising the bar for AI agent evaluation Snorkeling in RL environments Introducing SnorkelSpatial: A Benchmark for LLM Spatial Reasoning Scaling Trust: Rubrics in Snorkel's Quality Process Evaluating Multi-Agent Systems in Enterprise Tool Use Evaluating Coding Agents with Terminal-Bench 2.0 Parsing isn’t neutral: why evaluation choices matter The science of rubric design The right tool for the job: An A-Z of rubrics Data quality and rubrics: how to build trust in your models Building the benchmark: inside our agentic insurance underwriting dataset Evaluating AI agents for insurance underwriting LLM observability: key practices, tools, and challenges Anthropic Claude + AWS: revolutionizing pharma data analytics with Snorkel AI Data-centric development of an enterprise AI agent with Snorkel Building the data development platform for specialized AI LLM-as-a-judge for enterprises: evaluate model alignment at scale Why GenAI evaluation requires SME-in-the-loop for validation and trust Research spotlight: is long chain-of-thought structure all that matters when it comes to LLM reasoning distillation? Why enterprise GenAI evaluation requires fine-grained metrics to be insightful What is specialized GenAI evaluation, and why is it so critical to enterprise AI? LLM alignment techniques: 4 post-training approaches Research spotlight: Is intent analysis the key to unlocking more accurate LLM question answering? Why enterprises should embrace LLM distillation Retrieval-augmented generation (RAG) failure modes and how to fix them Databricks + Snorkel Flow: integrated, streamlined AI development How LLM evaluation drives better models in Snorkel Flow Unlock proprietary data with Snorkel Flow and Amazon SageMaker LLM evaluation in enterprise applications: a new era in ML Snorkel AI joins the AWS ISV Accelerate Program and launches Snorkel Flow Availability in AWS Marketplace AI data development: a guide for data science projects SnorkelCon 2024: Inaugural Snorkel AI user conference gathers leaders from 30+ Fortune 500 companies Snorkel Flow 2024.R3: Supercharge your AI development with enhanced data-centric workflows Explore the new GenAI Evaluation Suite: Snorkel 2024.R3 New NLP features in Snorkel Flow 2024.R3 Enterprise data compliance and security review: Snorkel Flow 2024.R3 How a global financial services company built a specialized AI copilot accurate enough for production Task Me Anything: innovating multimodal model benchmarks Alfred: Data labeling with foundation models and weak supervision RAG: LLM performance boost with retrieval-augmented generation Call center AI for customer experience management: a case study New GenAI features, data annotation: Snorkel Flow 2024.R2 How data slices transform enterprise LLM evaluation Meta’s Llama 3.1 405B is the new Mr. Miyagi, now what? Meta’s new Llama 3.1 models are here! Are you ready for it? Data-centric AI with Snorkel and MinIO Weak supervision for non-categorical applications + superalignment Snorkel AI signs strategic collaboration agreement with AWS to help enterprises cross the demo-to-production chasm AI alignment made simple: innovative solutions for businesses How does the Snorkel Flow label model work? Vision language models: how LLMs boost image classification Long context models in the enterprise: benchmarks and beyond How to build production-grade RAG retrieval with Snorkel Flow How Bonito helps fine-tune specialized LLMs faster than ever Walking safely before building flying saucer seatbelts: introducing Enterprise Alignment Role-based access controls in Snorkel Flow secure enterprise data Accelerating AI development in manufacturing with Snorkel Flow and AWS SageMaker How ROBOSHOT boosts zero-shot foundation model performance Discover what’s new in Snorkel Flow: Flexible data and LLM connectivity, secure data controls, and more! Faster than ever document intelligence with new Snorkel Flow FM-first workflow The art of data development for Enterprise LLMs Crossing the demo-to-production chasm with Snorkel Custom How Snorkel topped the AlpacaEval leaderboard (and why we're not there anymore) CRFM's HELM and enterprise LLM evaluation beyond accuracy How we achieved 89% accuracy on contract question answering Five sessions not to miss at Google Cloud Next 24 Content filtering breakthrough: Snorkel client reaches 96% recall in 3 days Here's how Snorkel Flow + Google AI built an enterprise-ready model in a day Snorkel teams with Microsoft to showcase new AI research at NVIDIA GTC How Skill-it! enables faster, better LLM training Fine-tuned representation models boost LLM systems. Here's how Enterprise GenAI to surge in 2024: survey results Large language model training: how three training phases shape LLMs LoRA: Low-Rank Adaptation for LLMs LLM distillation demystified: a complete guide Enterprises must shift their focus from models to data in AI development Insurance’s GenAI revolution: a business perspective Scaling human preferences in AI: Snorkel's programmatic approach Building better enterprise AI: incorporating expert feedback in system development “Fall in love with your data”—Snorkel AI’s Enterprise LLM Summit Why QBE Ventures invested in Snorkel AI New benchmark results demonstrate value of Snorkel AI approach to LLM alignment Retrieval augmented generation (RAG): a conversation with its creator Snorkel Flow 2023.R4: enhanced UI + PDF and Databricks tools How Snorkel Flow users can register custom models to Databricks Stanford professor discusses exciting advances in foundation model evaluation
What is large language model (LLM) alignment?
Matthew Casey · 2025-01-22 · via Snorkel AI

The neural network architecture of large language models makes them black boxes. Neither data scientists nor developers can tell you how any individual model weight impacts its output; they often can’t reliably predict how small changes in the input will change the output. So, how do enterprises ensure that their models’ responses comply with company policies and general decency? They use a process called LLM alignment.

Large language model alignment uses a data-centric approach to encourage generative AI outputs to abide by organizational values, principles, or best practices. Data scientists collect user reactions that indicate what model responses they did and didn’t like and then use that information to nudge the model more in line with user preferences.

This process results in bespoke behaviors that maximize the effectiveness of the model for the organization using it.

Below, we will explain multiple facets of how alignment builds better large language model (LLM) experiences.

Let’s dive in.

How does large language model alignment work?

Think of large language model alignment as on-the-job training. When a company hires a new employee, they can execute their tasks, but that doesn’t mean they will do them perfectly within workplace guidelines on the first day. The manager observes the employee and tells them both what they’re doing well and what they can do better. Then, the employee adjusts.

Aligning an LLM works similarly. Upon deployment, the model’s architecture, pre-training, and fine-tuning likely enable it to mimic your organization’s style and preferred format, but it needs guidance to achieve that goal. To provide this guidance, the data scientists in charge of the model solicit user feedback that they use to encourage some kinds of responses while discouraging others.

Results from Microsoft’s paper on its instruction-finetuned LLM, Orca, clearly show the benefits of LLM alignment. Models such as Orca and ChatGPT that have been aligned for safety and truthfulness significantly outperform in these categories relative to models that have only been aligned for helpfulness, such as Vicuna.
Image1

Results from Microsoft’s paper on its instruction-finetuned LLM, Orca, clearly show the benefits of alignment. Models such as Orca and ChatGPT that have been aligned for safety and truthfulness significantly outperform in these categories relative to models that have only been aligned for helpfulness, such as Vicuna.

An important note: alignment nudges responses to mimic the preferences of the users who label it. That means that a model aligned to one organization’s preferences may yield responses quite different from one aligned to another organization.

Large language model alignment starts with data

Training a large language model (LLM) requires three phases:

  1. Pre-training.
  2. Fine-tuning.
  3. Alignment.

Every step of this process demands data and a lot of it. Alignment requires data in the form of prompts, the model’s responses to those prompts, and some form of human feedback for that prompt/response pairing (whether direct or by proxy).

Researchers and engineers have developed a variety of techniques to collect this data. In the simplest, a pipeline gives the model a prompt. The model generates multiple responses. Human evaluators then compare the responses and select the one they prefer.

In this scenario, the humans are deemed the oracle, i.e. the mechanism by which the model is provided with a reward signal and feedback. In some variants, annotators assign responses a numerical score using a standard such as the Likert scale, and sometimes responses are even evaluated using free-form textual descriptions. Model managers may also collect human feedback indirectly, using things like clicked links, follow-up questions, or the amount of time spent reading the response.

The mechanics of LLM alignment

Researchers and engineers have developed several approaches to turn user response data into useful alignment directions, the earliest of which was reinforcement learning with human feedback (RLHF).

In RLHF, data scientists use collected feedback to train a reward model. The reward model accepts a prompt/response pair and then predicts how the average human in the data labeling cohort would rate it. In the training environment, this reward model sends feedback to the LLM. This causes the LLM to adjust its neural network weights to produce responses that earn higher predicted scores.

RLHF still dominates alignment efforts at frontier model developers, but other approaches have gained ground in other corners of the AI world.

These include:

Direct preference optimization (DPO)

DPO fits the model to human preferences directly instead of using the intermediary of a reward model. DPO has achieved results comparable to—or better than—RLHF while vastly simplifying the model fine-tuning and preference optimization process.

Odds ratio preference optimization (ORPO)

ORPO improves decision-making by analyzing and optimizing preferences between two options. It calculates the “odds ratio” of how likely one option is preferred over another and adjusts choices or recommendations to better match those preferences.

Kahneman-Tversky optimization (KTO)

KTO leverages insights from behavioral economics to create systems that align with how humans naturally perceive risks and rewards. Instead of assuming users always make rational choices, it models real-world biases, such as the tendency to overvalue losses compared to equivalent gains. This makes predictions that feel more intuitive and effective for users.

Contrastive fine-tuning (CFT)

CFT directs a model to generate both desirable and undesirable responses. Data scientists then fine-tune the model to increase the odds of creating responses similar to the desirable output while decreasing the chances of mimicking the undesirable response.

Regardless of the specific technique used, the goal of alignment is to ground a machine learning model with the values, inclinations, and soft skills of a well-adjusted human.

LLM alignment is like taking a fresh college graduate and teaching them how to work within your organization.
LLM alignment is like taking a fresh college graduate and teaching them how to work within your organization.

Making LLM alignment scalable with Snorkel Flow

If the process of labeling data for alignment sounds laborious, it is.

In one six-month period in 2023, OpenAi hired more than 1,000 contractors to create and annotate alignment data. Very few organizations can afford to put that many human hours into model adjustments.

Researchers and engineers at Snorkel AI, however, have found ways to scale the impact of subject matter experts’ labeling time. By asking each labeler to explain why they thought a response was high or low quality, Snorkel Flow users can distill that logic into a labeling function that they can apply to thousands or millions of prompt/response pairs simultaneously.

Here are two quick examples:

  • If a user indicates that a model response was poor because the prompt asked for a bullet list and the response didn’t include one, Snorkel Flow users can build a regex-based labeling function to give similar responses a poor rating.
  • Using a sentiment analysis model, Snorkel Flow users can apply low ratings to negative-toned responses.

Through these approaches, Snorkel researchers and engineers have been able to achieve high-quality results in a fraction of the SME time this process would otherwise require.

LLM alignment: the forever stage

The practical use of LLMs changes over time. Organizations release new products and deprecate old ones. They update their messaging and brand guidelines. New regulations or evolving best practices may dictate what organizations incorporate into their LLMs and how.

Because of this, alignment never really ends. Data scientists must nudge model responses to accommodate changing organizational needs again and again. For some organizations, alignment may be a constant process. Other organizations may do an annual overhaul. Still, others may address alignment needs only when users indicate they’re unhappy with recent LLM behavior.

Regardless of the most appropriate approach, data science teams should keep in mind that alignment will rarely be a one-and-done process. They will want to plan for when and how to perform subsequent rounds.

LLM alignment: making LLMs more useful for your organization

LLMs promise to yield significant value, but they must work correctly for your purposes. Like a new employee, a fully-trained LLM won’t work perfectly for the tasks you have in mind. But, like a competent new hire, you can teach them to use their capabilities the way you want.

While this process has been laborious in the past, novel tools like Snorkel Flow have made it easier.

Learn More

Follow Snorkel AI on LinkedInTwitter, and YouTube to be the first to see new posts and videos!