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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
J
Java Code Geeks
Jina AI
Jina AI
罗磊的独立博客
宝玉的分享
宝玉的分享
S
SegmentFault 最新的问题
D
DataBreaches.Net
博客园 - 叶小钗
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
阮一峰的网络日志
阮一峰的网络日志
B
Blog
V
Visual Studio Blog
雷峰网
雷峰网
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

HN's home page

Rainbow Query Language | Hacker News Exec into Node via Kubectl An AI native hedge fund The Seven-Action Documentation Model | Hacker News Package Manager for Kubectl Plugins Tongan Castaways | Hacker News Tech overlords plan for conscious AI to conquer the cosmos. What could go wrong? Data Breach Disclosure Lag Is Getting Worse How LLMs Work | Hacker News I Dropped PRDs for Shape Up Go Experiments Explained | Hacker News FCA's Palantir deal could expose UK financial data to Trump's US, critics fear WebXR BCI for Neural-Adaptive Avatar Control in Mixed Reality The first murder conviction via DNA analysis Tom Interviews Theo de Raadt of the OpenBSD Project (2019) [video] Show HN: Replace shell commands with bun shell typescript scripts Quay.io Is Down | Hacker News AI driven analysis of brokerage account fees in the UK Bill Gates Spent Years Crafting His Image. Now It's Cracking Using LLMs to secure source code Wi-Fi 8 in the Lab [video] The household battery revolution that could change energy bills and the world Is Python Becoming Pinyin? | Hacker News Livia – Executive Assistant | Hacker News FindMyPipe – Query Apple Find My from Linux for AI Agents Show HN: Agent skill for creating product launch videos with Remotion RecruitMyself – AI job search copilot for resumes and applications AI coding agents and the erosion of system understanding The 'Resting' Generation and South Korea's Youth Recession AMD Computex 2026: 10 Years of AM4, AM5 Support Through 2029
Show HN: UQLM – Closed-book hallucination detection with UQ
virenbajaj · 2026-06-01 · via HN's home page

Hi HN,

We built an open source library for closed book hallucination detection called UQLM (Uncertainty Quantification for Language Models).

It packages over 20 types of scorers from the latest uncertainty quantification literature in one API so that one can calculate a confidence score (between 0 and 1) of an LLMs response without reference to external knowledge. It accepts any LangChain BaseChatModel which wraps every major provider.

UQLM has six families of scorers: 1. Black-box scorers: calculate the consistency across multiple responses to the same prompt 2. White-box scorers: use log-probabilities from the model’s output to estimate confidence 3. LLM-as-a-judge scorers: use a single judge or panel of judges 4. Long-text scorers: work like black box scorers but first decompose the claim into sentences or claims. They also have uncertainty aware decoding which drops low confidence claims / sentences and reconstructs the output. 5. Code generation scorers: calculate functional correctness of a piece of code without running it by using functional equivalence methods 6. Ensemble scorers: calculate a weighted combination of other scorers that can be tuned

A canonical use case for UQLM is to use one or many of the scorers to flag low confidence responses from an LLM in production for human review instead of sending them to the user.

We’d love to hear your feedback about the library’s methods and its use in production.