arXiv:2610.31657cs.LGOct 2026

Manuscript Offprint

arXiv:2610.31657

Cost-Aware Abstention for LLM-Based IT Ticket Classification

Sachin Gupta

Sachin Gupta

Independent Researcher

United States

sachinkg12@gmail.com

Abstract—Wrong automatic routing of an IT support ticket can cost more than human triage. We evaluate cost-aware abstention as an offline, cost-conditional readiness assessment: a routing policy is selected on calibration data under asymmetric costs and evaluated once on held-out test data. On a public 47,837-ticket, eight-class corpus, we compare four trained classifiers with four large language models under zero- and few-shot prompting. With illustrative per-ticket costs of zero for a correct route, one for human triage, and five for a wrong route, term-frequency-inverse-document-frequency logistic regression selects a threshold of 0.60 and reduces test cost from 0.763 to 0.472, a 38.1% relative reduction (95% bootstrap confidence interval, 35.7%–40.4%), while lowering wrong routes from 15.3% to 3.5%. In a post-hoc 16-setting analysis, calibration-selected policies beat both always-route and always-defer in 14 settings. The strongest prompted configuration reaches 0.477 accuracy on a stratified 1,000-ticket subset, versus 0.879 for fine-tuned DistilBERT on the same tickets. Isotonic recalibration reduces expected calibration error but does not reliably improve ranking discrimination; one GPT-4o-mini setting emits a single confidence value and has correctness area under the receiver operating characteristic curve of 0.500. At the break-even probability of 0.80, seven prompted conditions defer every ticket, and Haiku few-shot routes 19 of 1,000. A language-model-only agreement control and margin- and entropy-based rejection scores for the logistic-regression baseline provide nontrivial comparators. The findings are scoped to this dataset, prompt design, model endpoints, and illustrative costs; the work is an evaluation framework, not a new abstention algorithm or universal deployment certification.

Index Terms—trustworthy machine learning, calibration, cost-aware abstention, selective prediction, large language models, text classification, IT service management

I. INTRODUCTION

Enterprise IT service desks process tens of thousands of internal tickets per month, where the “customer” is an employee asking internal IT for help with hardware, access, or software (not an external consumer). HDI/MetricNet reports the North American average cost per voice IT service-desk ticket at US17.19,withwalk−upticketsaveragingUS17.19, with walk-up tickets averaging US37.52 [1]. Routing happens under an asymmetric cost structure. Sending a ticket to the correct queue is nearly free. Sending it to a human triager is moderately costly. Sending it to the wrong queue is much more expensive once you account for handoff latency, double work, and missed service levels. Accuracy or macro-F1 alone cannot represent this asymmetry or indicate when to trust an automated decision [2], [3].

Two trends make this gap more pressing. First, large language models (LLMs) can be prompted as zero- or few-shot text classifiers [4], [5], potentially reducing the need for task-specific training. Second, modern neural classifiers, including LLMs, are known to be poorly calibrated. They often produce high confidence values regardless of actual accuracy [6]–[9]. Together these trends raise a concrete operational question: should a prompted LLM be allowed to auto-route IT tickets, and if so, under what abstention policy?

We study this question on the public IT Service Ticket Classification Dataset (47,837 tickets, eight categories). We treat cost-aware abstention not as a way to improve a classifier but as an empirical readiness test under stated assumptions. Predictors, confidence estimators, rejection scores, and policies remain separate. Our contributions are:

  1. A comparison of four trained non-LLM classifiers and eight prompted LLM conditions on the same public corpus, including a common 1,000-ticket test subset.

  2. A calibration analysis that reports expected calibration error (ECE), correctness area under the receiver operating characteristic curve (AUROC), and tie-aware area under the risk-coverage curve (AURC), plus separate mixed (M=9) and LLM-only (M=8) agreement pools.

  3. A calibration-selected, paired-bootstrap cost analysis with top-probability, probability-margin, and entropy rejection scores; a post-hoc 16-setting cost-parameter analysis; and LLM policies that use a cost-derived threshold rather than test tuning.

  4. A reproducible evaluation framework and per-ticket artifacts that expose prediction, confidence, rejection, and cost as separately auditable stages.

The main observation is simple: abstention does not repair a weak classifier. It exposes when auto-routing is cost-preferred under a particular dataset, confidence signal, and cost model.

Positioning. The components we combine are individually established: Chow-style error-reject [3], Elkan-style cost-sensitive decision-making [10], ECE-based calibration diagnostics [6], [11], isotonic recalibration, and self-consistency-inspired agreement signals [12]. We introduce no new abstention algorithm. This paper’s contribution is an empirical evaluation of deployment-relevant assumptions and its reproducible implementation, not a universal readiness certificate.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. Accepted for publication at the 38th IEEE International Conference on Tools with Artificial Intelligence (ICTAI 2026).

References (29)