Skip to content
tezvyn:
Menu

HHH: The Three-Way Tug-of-War in LLMs

MediumHow cards are made

HHH frames LLM alignment as a three-way tug-of-war: helpful, harmless, honest. It governs RLHF reward models and safety filters, where maximizing one axis weakens the others. The footgun is optimizing helpfulness, producing sycophants or dangerous compliance.

Why it exists

Before HHH, LLM safety was often an afterthought bolted onto capable models. Researchers at Anthropic and elsewhere noticed that raw scaling produced helpful systems that would also hallucinate, insult users, or explain how to build weapons. The problem was that capability and safety were being optimized separately. HHH was introduced to make safety a first-class citizen during training rather than a filter applied after the fact. It treats alignment as a multi-objective optimization problem from the start.

The mental model

Think of HHH as a three-legged stool. If one leg is longer than the others, the stool tips over. Helpfulness is the leg that says answer the question and carry out the task. Harmlessness is the leg that refuses to produce abuse, malware, or self-harm instructions. Honesty is the leg that admits uncertainty and avoids making up facts. In practice, these legs are not independent. A model that is maximally helpful without honesty becomes a confident liar. A model that is maximally harmless without helpfulness becomes an over-refusing brick wall.

How it works

HHH is not a single algorithm. It is a design language that shapes data curation, reward models, and evaluation benchmarks. During RLHF, human labelers score responses on each axis. A response that answers a medical question accurately scores high on helpful and honest, but if it gives dosage advice without a disclaimer, it may score low on harmless. These scores are combined into a composite reward signal, often with explicit trade-off weights or a Pareto frontier search. Red-teaming and constitutional AI are then used to find edge cases where the composite reward fails.

When to use it

Use HHH as your north star when building any assistant that faces open-ended user queries. It is especially valuable when you are collecting preference data for RLHF or designing safety evaluation suites. If you are choosing between model behaviors, such as refusing a borderline request versus answering with a caveat, HHH gives you a vocabulary to argue about the trade-off explicitly instead of relying on gut feeling.

When not to use it

Do not treat HHH as a mathematical guarantee or a compliance checklist. It does not give you formal proofs of safety, and it does not replace legal review or access controls. It is also a poor fit for narrow single-purpose models, such as a SQL query generator inside a locked-down BI tool, where helpfulness and harmlessness are not in tension. Using HHH rhetoric there adds ceremony without reducing real risk.

One canonical example

Anthropic's Claude models are trained with constitutional AI that encodes HHH principles directly into the feedback loop. In one documented pattern, Claude is asked to summarize a biased news article. A purely helpful model would amplify the bias. A purely harmless model might refuse to summarize anything political. The HHH-trained response acknowledges the bias, presents the summary with caveats, and declines to endorse the slant. This sits at the intersection of all three legs: it is helpful because it answers, harmless because it does not spread misinformation uncritically, and honest because it flags its own limitations.

Interview question

A product team is choosing between refusing a borderline request outright or answering with a caveat. According to the HHH framework, how should they decide?

  • a.Select the behavior that scores highest on a single composite reward metric without red-teaming
  • b.Always answer with caveats to maximize helpfulness
  • c.Use HHH to explicitly weigh the trade-off between harmlessness and helpfulness rather than relying on gut feelingCorrect
  • d.Always refuse borderline requests to maximize harmlessness
Why?

The card states HHH provides vocabulary to argue about trade-offs explicitly when choosing between refusing and answering with caveats. Option D and B each over-optimize a single axis, while D ignores the need for red-teaming to find edge cases where composite rewards fail.

Just read this? Test yourself on what you have been reading.

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles