paper-with-me

홈 › Papers

Predictive Auditing of Hidden Tokens in LLM APIs via Reasoning Length Estimation

2025-07-29 · Ziyao Wang, Guoheng Sun, Yexiao He, Zheyu Shen, Bowei Tian, Ang Li arxiv

Commercial LLM services often conceal internal reasoning traces while still charging users for every generated token, including those from hidden intermediate steps, raising concerns of token inflation and potential overbilling. This gap underscores the urgent need for reliable token auditing, yet achieving it is far from straightforward: cryptographic verification (e.g., hash-based signature) offers little assurance when providers control the entire execution pipeline, while user-side prediction struggles with the inherent variance of reasoning LLMs, where token usage fluctuates across domains and prompt styles. To bridge this gap, we present PALACE (Predictive Auditing of LLM APIs via Reasoning Token Count Estimation), a user-side framework that estimates hidden reasoning token counts from prompt-answer pairs without access to internal traces. PALACE introduces a GRPO-augmented adaptation module with a lightweight domain router, enabling dynamic calibration across diverse reasoning tasks and mitigating variance in token usage patterns. Experiments on math, coding, medical, and general reasoning benchmarks show that PALACE achieves low relative error and strong prediction accuracy, supporting both fine-grained cost auditing and inflation detection. Taken together, PALACE represents an important first step toward standardized predictive auditing, offering a practical path to greater transparency, accountability, and user trust.

📄 PDF Abstract BibTeX arXiv:2508.00912

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CoIn: Counting the Invisible Reasoning Tokens in Commercial Opaque LLM APIs

2025-05-19 · Guoheng Sun, Ziyao Wang, Bowei Tian, Meng Liu 외

As post-training techniques evolve, large language models (LLMs) are increasingly augmented with structured multi-step reasoning abilities, often optimized through reinforcement learning. These reasoning-enhanced models …

Exact and Consistent Interpretation of Piecewise Linear Models Hidden behind APIs: A Closed Form Solution

2019-06-17 · Zicun Cong, Lingyang Chu, Lanjun Wang, Xia Hu 외

More and more AI services are provided through APIs on cloud where predictive models are hidden behind APIs. To build trust with users and reduce potential application risk, it is important to interpret how such predicti…

Form

Invisible Tokens, Visible Bills: The Urgent Need to Audit Hidden Operations in Opaque LLM Services

2025-05-24 · Guoheng Sun, Ziyao Wang, Xuandong Zhao, Bowei Tian 외

Modern large language model (LLM) services increasingly rely on complex, often abstract operations, such as multi-step reasoning and multi-agent collaboration, to generate high-quality outputs. While users are billed bas…

Large Language Model

Overthinking: Amplifying Reasoning Weights to Extract Learned Secrets

2026-07-09 · Jack Hopkins, Dipika Khullar, Fabien Roger arxiv

Black box auditing of language models is an essential pre-deployment tool, but it may miss subtle forms of misalignment and hidden information. To better elicit hidden information during an auditing process, we introduce…

Temporal Predictors of Outcome in Reasoning Language Models

2025-11-03 · Joey David arxiv

The chain-of-thought (CoT) paradigm uses the elicitation of step-by-step rationales as a proxy for reasoning, gradually refining the model's latent representation of a solution. However, it remains unclear just how early…