# Cost-Aware Abstention for LLM-Based IT Ticket Classification

DevFeed: [Cost-Aware Abstention for LLM-Based IT Ticket Classification](<https://devfeed.tech/articles/cost-aware-abstention-for-llm-based-it-ticket-classification-97098.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31657>)

Author: Sachin Gupta

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>), [few-shot](<https://devfeed.tech/topics/few-shot.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [assessment](<https://devfeed.tech/tags/assessment.md>), [classification](<https://devfeed.tech/tags/classification.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [cost](<https://devfeed.tech/tags/cost.md>), [costs](<https://devfeed.tech/tags/costs.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [defer](<https://devfeed.tech/tags/defer.md>), [discrimination](<https://devfeed.tech/tags/discrimination.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [error](<https://devfeed.tech/tags/error.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [few-shot](<https://devfeed.tech/tags/few-shot.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [it](<https://devfeed.tech/tags/it.md>), [llm](<https://devfeed.tech/tags/llm.md>), [ticket](<https://devfeed.tech/tags/ticket.md>)

## AI overview

The study finds that cost-aware abstention can reduce IT ticket routing costs in an offline evaluation, but results depend on the dataset and assumed costs. On a public 47,837-ticket, eight-class corpus, a calibration-selected TF-IDF/logistic-regression policy at a 0.60 threshold cut held-out cost from 0.763 to 0.472 under costs of 0 for correct routing, 1 for triage, and 5 for a wrong route, while reducing wrong routes from 15.3% to 3.5%. Prompted LLMs performed less strongly in the reported comparison: the strongest reached 0.477 accuracy on a 1,000-ticket subset, versus 0.879 for fine-tuned DistilBERT. Isotonic recalibration reduced expected calibration error but did not reliably improve discrimination; at the derived 0.80 break-even probability, seven prompted configurations deferred every ticket. The authors frame this as an evaluation method, not a universal deployment certification.

## Source excerpt

arXiv:2610.31657v1 Announce Type: new 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: select a routing policy on calibration data under explicit costs, then evaluate that frozen policy once on held-out test data. On a public 47,837-ticket, eight-class corpus, we compare four trained non-LLM classifiers with four large language models under zero- and few-shot prompting. Under the illustrative cost model (c_ok, c_triage, c_wrong) = (0, 1, 5), TF-IDF with logistic regression and a threshold of 0.60 selected on calibration reduces test cost from 0.763 to 0.472, a 38.1% relative reduction (paired ratio-bootstrap 95% CI [35.7%, 40.4%]), while lowering wrong routes from 15.3% to 3.5%. Frozen calibration-selected policies also beat both always-route and always-defer on held-out test data in 14 of 16 settings in a post-hoc cost-parameter analysis. The strongest prompted configuration reaches 0.477 accuracy on a stratified 1,000-ticket test subset, versus 0.879 for fine-tuned DistilBERT on the same tickets. Isotonic lowers expected calibration error without reliably improving discrimination: GPT-4o-mini few-shot has one confidence value before and after recalibration and correctness AUROC 0.500. We therefore report correctness AUROC and tie-aware risk-coverage area alongside ECE. At the analytically derived break-even probability 0.80, seven prompted configurations defer all tickets; Haiku few-shot routes only 19/1,000. An LLM-only agreement control and margin/entropy rejection baselines further separate calibration from discrimination. 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.