Show HN: Alignmenter – Measure brand voice and consistency across model versions

Share This Post

I built a framework for measuring persona alignment in conversational AI systems.

*Problem:*
When you ship an AI copilot, you need it to maintain a consistent brand voice across model versions. But “sounds right” is subjective. How do you make it measurable?

*Approach:* Alignmenter scores three dimensions:

1. *Authenticity*: Style similarity (embeddings) + trait patterns (logistic regression) + lexicon compliance + optional LLM Judge

2. *Safety*: Keyword rules + offline classifier (distilroberta) + optional LLM judge

3. *Stability*: Cosine variance across response distributions

The interesting part is calibration: you can train persona-specific models on labeled data. Grid search over component weights, estimate normalization bounds, and optimize for ROC-AUC.

*Validation:* We published a full case study using Wendy’s Twitter voice:

– Dataset: 235 turns, 64 on-brand / 72 off-brand (balanced)

– Baseline (uncalibrated): 0.733 ROC-AUC

– Calibrated: 1.0 ROC-AUC – 1.0 f1

– Learned: Style > traits > lexicon (0.5/0.4/0.1 weights)

Full methodology: https://docs.alignmenter.com/case-studies/wendys-twitter/

There’s a full walkthrough so you can reproduce the results yourself.

*Practical use:*

pip install alignmenter[safety]

alignmenter run –model openai:gpt-4o –dataset my_data.jsonl

It’s Apache 2.0, works offline, and designed for CI/CD integration.

GitHub: https://github.com/justinGrosvenor/alignmenter

Interested in feedback on the calibration methodology and whether this problem resonates with others.


Comments URL: https://news.ycombinator.com/item?id=45870538

Points: 1

# Comments: 0

Source: www.alignmenter.com

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Windows Securitym Hackers Feeds

Whisper Leak: A novel side-channel attack on remote language models

Article URL: https://www.microsoft.com/en-us/security/blog/2025/11/07/whisper-leak-a-novel-side-channel-cyberattack-on-remote-language-models/ Comments URL: https://news.ycombinator.com/item?id=45872966 Points: 1 # Comments: 0 Source: www.microsoft.com

Do You Want To Boost Your Business?

drop us a line and keep in touch

We are here to help

One of our technicians will be with you shortly.