Back to search

Nanyang Technological University

Constructing reliable answer engines using unreliable black-box LLMs

Abstract

dc:description.abstract

This thesis studies how to turn unreliable, black-box LLMs into reliable answer engines without changing model weights. It introduces a system-level framework— Reliable Answer Engine (RAE)—that combines multi-sample generation with a calibrated reliability gate. The gate optimizes an operating threshold 𝜏 through a sweep procedure and makes decisions using a unified metric, which aligns coverage, correctness, and robustness on challenging cases into a single objective. The calibration routine scans candidate scores to find the 𝜏 that maximizes accuracy under an error constraint, while recording full ROC-style diagnostics for auditability. RAE’s gate aggregates consistency, verifiability (a readability-based proxy), and self evaluation confidence into a composite score; additional conditions trigger abstention or clarification. The self-confidence signal is parsed from model output and used as a supportive, non-decisive feature. Experiments on factual QA use Qwen3-8B as the sole base model, with Train/Calibration = 256 and Test = 64 samples to isolate gating effects. Calibrated at the training optimum, RAE trades coverage for quality: compared with the base LLM, answer rate drops while both accuracy | answer and accuracy_on_hard rise sharply, shifting the reliability bottleneck from accuracy to coverage. Overall, RAE shows that system-level calibration and evidence-aware gating improve reliability, offering a practical path toward safer deployment in knowledge-intensive applications.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yang, Zixiao
Advisor dc:contributor.supervisor
  • Lim Wei Quan

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/205338

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Yang, Zixiao. Constructing reliable answer engines using unreliable black-box LLMs. Nanyang Technological University, 2025. https://hdl.handle.net/10356/205338