HARISSA: Inference-Time Self-Checks for Efficient and Safe Local Language Model Deployment
Not on the map. Why?
Abstract (arXiv)
Running a language model locally offers advantages in privacy, latency, and cost, but local hardware fits only small models, which are less capable than frontier models. The usual remedy for a hard query, escalating it to a cloud model, gives up the privacy and cost advantages of running locally. A deployment that stays local faces two decisions for hard queries instead. First, it can spend more computation on a query, e.g., reasoning before answering, which raises accuracy at a cost in latency, so it must decide which queries are worth the extra computation (efficiency). Second, some queries are beyond the local model, and delivering a wrong answer is worse than deferring the query to a human in the loop, so it must decide which answers are safe to deliver (safety). We show that both decisions can be made from the model's own hidden states. The prefill state, computed before any token is generated, predicts whether the model will answer correctly, and the answer state, at the end of the generated answer, predicts whether that answer is correct. HARISSA fine-tunes the model so that both states predict correctness, then makes both decisions with one policy that cascades through the ways of answering from cheapest to most expensive, skipping a way the prefill state predicts will fail and deferring the query when the answer it stops with is predicted wrong. On a device running a single model, HARISSA is within one accuracy point of chain-of-thought at 2.7 times lower latency. On a server holding four sizes of one model, HARISSA is more accurate than the FrugalGPT and Self-REF cascades at the same latency, and at the same deferral rate the answer state leaves fewer wrong answers than the standard confidence signals in five of six task and setting pairs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 31 of its 47 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
31 of 47 references.
References · 31
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2017Selective Classification for Deep Neural Networkscited by 852
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
- 2023The Internal State of an LLM Knows When It's Lyingcited by 659
- 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 543
- 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 451
19 more
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 372
- 2020Consistent Estimators for Learning to Defer to an Expertcited by 271
- 2026Gemma 4 Technical Reportcited by 259
- 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 244
- 2017Predict Responsibly: Improving Fairness and Accuracy by Learning to Defercited by 233
- 2023Power Hungry Processing: Watts Driving the Cost of AI Deployment?cited by 191
- 2025AdaptThink: Reasoning Models Can Learn When to Thinkcited by 147
- 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 143
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 121
- 2024Learning to Route LLMs with Confidence Tokenscited by 67
- 2025ThinkSwitcher: When to Think Hard, When to Think Fastcited by 37
- 2025Confident or Seek Stronger: Exploring Uncertainty-Based On-device LLM Routing From Benchmarking to Generalizationcited by 29
- 2025The Rise of Small Language Models in Healthcare: A Comprehensive Surveycited by 18
- 2025Cost-Saving LLM Cascades with Early Abstentioncited by 14
- 2026LLMs Encode Their Failures: Predicting Success from Pre-Generation Activationscited by 14
- 2025Cascaded Language Models for Cost-effective Human-AI Decision-Makingcited by 11
- 2025DiffAdapt: Difficulty-Adaptive Reasoning for Token-Efficient LLM Inferencecited by 11
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthinesscited by 7
- 2026IntroLM: Introspective Language Models via Prefilling-Time Self-Evaluationcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Latency and Token-Aware Test-Time Compute
- 2026More Accurate or More Efficient? Evaluating Locally Deployed Compact Open-Weight Language Models for Mathematical Reasoning
- 2023LinguaLinked: A Distributed Large Language Model Inference System for Mobile Devices
- 2026P2Skill: Privacy Preserving Skill Distillation for Cloud-Local LLM Inference Systems
- 2025Minions: Cost-efficient Collaboration Between On-device and Cloud Language Models
- 2024Large Language Models Can Self-Correct with Key Condition Verification
- 2026Beyond Local vs. External: A Game-Theoretic Framework for Trustworthy Knowledge Acquisition
- 2025A Novel Hat-Shaped Device-Cloud Collaborative Inference Framework for Large Language Models