Papers for

api service providers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Lightweight defense thwarts language model cloning with style tricks

Antidistillation is Cheap: Lightweight Distillation-Resistance via Stylistic Corruption

Abstract: Knowledge distillation (KD) is a highly effective paradigm for transferring capabilities from large language models (LLMs) to smaller, more specialized student models. In commercial deployment where frontier models are restricted behind black-box APIs, sequence-level distillation remains a potent vector for competitors to clone proprietary capabilities at a fraction of the development cost. Existing defenses mostly rely on surrogate models to manipulate next-token sampling, which increases computational overhead and real-time inference latency. In this work, we propose a lightweight defense that dynamically injects style-steering vectors into the teacher model's activations upon malicious queries. This framework offers exceptional flexibility, allowing hosts to customize target defensive styles and dynamically blend them to maximize stylistic variance. Crucially, this inference-time intervention preserves semantic utility and fluency during malicious queries, misleading adversaries into believing that they are extracting pristine teacher outputs, while standard consumers continue to receive original, unmodified responses. Our experiments demonstrate that this framework successfully disrupts student learning, achieving substantial anti-distillation performance while incurring negligible overhead and preserving text naturalness. Our code is available at https://anonymous.4open.science/r/distill-resist-38C6/.

Fri 13 NovMachine Learning
The gist
Language models can be copied by training smaller models on their answers, which is a problem for companies wanting to protect their work. The authors propose a way to subtly change the style of answers when suspicious requests are detected, so copycat models learn confusing versions that don’t work well. Regular users still get clear and useful answers, so the change is hidden. This method is simple and doesn’t slow down the system much but still makes copying the original model harder.
Open → 2611.17772v1

One integer sequence can identify language models with high accuracy

One Sequence Is Enough: Fingerprinting Language Models from Fixed-Length Integer Sequences

Abstract: Users of model APIs and third-party platforms often rely on the declared model name to identify the model responding to their requests. However, the actual model may differ from the declared one, motivating identity verification based on observable outputs. Previous studies have shown that preferences in simple numerical-choice tasks can serve as model fingerprints. We investigate whether a single fixed-length integer sequence can combine multiple numerical observations to identify its source model. For this task, we introduce NumPrint, a benchmark of 5,036 answers from 51 models, collected using Chinese, Japanese, and English prompts that request 294 integers between 1 and 355 in one response. We propose the Shallow MLP and Causal Transformer (SMCT) to capture aggregate numerical preferences and behavioral patterns in generated sequences. In 51-class closed-set evaluation, SMCT achieves 92.72% accuracy from a single sequence, outperforming all methods compared in this study. Using two and four answers increases accuracy to 96.06% and 97.12%, respectively. These results show that a single integer sequence contains useful model fingerprints and that additional answers further improve identification.

Tue 10 NovComputation and Language
The gist
Sometimes people use fake names to pretend they are a certain AI model. The researchers found that by asking a model to generate a specific sequence of numbers in one go, they can tell which model it really is just from that sequence. They made a test set of many such number responses from 51 models and developed a smart program that guesses the model with over 92% accuracy from just one answer. Using more answers makes this identification even better. This helps verify a model’s identity based only on its output.
Open → 2611.14010v1

Aroute routes language models to save cost and boost accuracy

ARoute: Task-Aligned Batch and Streaming Model Routing

Abstract: Language models increasingly power data-intensive applications, from semantic data processing to question answering and agentic workflows. Using frontier models for every request is prohibitively expensive, while relying only on smaller models reduces accuracy. We study model routing under a user-specified cost budget, aiming to maximize accuracy under task-specific correctness criteria. Existing routers fall short in two ways: pretrained routers rely on generic preference signals that may not reflect a task's own correctness criteria or a new model pair, and model cascades run the weaker model first on every request, adding sequential latency. We present ARoute, a task-aligned router that learns cost and accuracy signals to select a model for each request before inference. ARoute has two variants: ARoute-Batch operates on a batch of requests known in advance, routing requests with the greatest expected benefit to the stronger model subject to the budget, whereas ARoute-Stream processes requests online, using a threshold calibrated on a small validation set to satisfy the cost quota and dynamically adjusting it as the budget is consumed. For ARoute-Stream, we provide a finite-sample guarantee on expected normalized spending. We evaluate ARoute on MMLU-Pro, LiveCodeBench, SuperGPQA, and two value-filling tasks built from SWAN semantic query benchmark against other state-of-the-art approaches. At matched cost, ARoute-Batch achieves the highest mean accuracy in all 15 task-cost settings, improving over the strongest baseline by 4.1 percentage points on average and by up to 11.9 points. ARoute also completes a batch up to 2.8x faster than cascades.

Mon 9 NovDatabases
The gist
Using large AI language models for every task is expensive, and using smaller models can reduce accuracy. The authors developed ARoute, a method that decides which model to use for each request to balance cost and accuracy based on the task. ARoute works for both known batches of requests and streaming requests, improving accuracy while respecting cost limits. It outperforms previous methods, completing batches faster and achieving better results at the same cost.
Open → 2611.13209v1

Graph neural network stealing attack works with limited queries

Dagger: Decoupling-based Model Stealing Attack against Graph Neural Networks

Abstract: As Graph Neural Networks (GNNs) are widely deployed as Machine Learning-as-a-Service (MLaaS) APIs, model stealing attacks have emerged as a critical security threat. By querying a victim model's black-box API, an adversary can construct a functionally equivalent surrogate model, compromising proprietary intellectual property and downstream security. Existing GNN stealing attacks, however, rely on overly permissive assumptions, such as soft-label outputs, large query budgets, full-graph query access, and prior knowledge of victim backbones that rarely hold in real-world deployments. In this work, we formalize a strictly constrained black-box, hard-label and backbone-agnostic threat model for GNN stealing attacks under a tight query budget. Given these realistic restrictions, we identify four fundamental challenges: sparse local structures and isolated nodes that degrade victim label quality, insufficient supervision signals, systematic imbalance with incomplete class coverage, and backbone mismatch. To address these interlocking barriers, we propose Dagger, a novel two-phase decoupling-based attack framework. Specifically, in Phase 1, Dagger pre-trains a surrogate using decoupled information propagation to preserve structural context over sparse local subgraphs while handling isolated nodes, combined with manifold-level node mixup to synthesize continuous supervision signals and smooth decision boundaries. In Phase 2, Dagger freezes the encoder and fine-tunes the classifier head via class-balanced sampling paired with logit adjustment to rectify severe query imbalance without requiring extra victim queries. Extensive experiments across four benchmark graphs and four GNN backbones demonstrate that Dagger consistently outperforms state-of-the-art GNN stealing attacks, achieving up to 18.16\% higher fidelity while only utilizing 12.23$\times$ fewer queries than the strongest baseline.

Tue 29 SeptCryptography and SecurityArtificial IntelligenceMachine Learning
The gist
Graph neural networks (GNNs) are often offered as online services, but attackers can try to copy these models by sending queries to them. Existing attacks usually assume easy access to detailed model information, which is unrealistic. The authors propose a new method called Dagger that works under strict limits, like only getting final answers and having few queries available. Dagger uses a two-step approach to learn structural relationships and balance the data it receives, resulting in a more accurate stolen model using fewer queries.
Open → 2609.37972v1

Distillation defenses fail after language models undergo reinforcement learning

Distillation Defenses Easily Break After Reinforcement Learning

Abstract: Distillation attacks copy the reasoning capabilities of closed-source large language models, allowing bad actors to replicate state-of-the-art performance at low cost. Attackers systematically collect a large volume of frontier model reasoning traces and then train (i.e., "distill") their own models on these traces. Existing defenses against distillation attacks are typically evaluated immediately after distillation, implicitly assuming attackers do not train their models any further. In this paper, we argue that a more realistic threat model includes further training with reinforcement learning after distillation. A misspecified threat model can give a false sense of security -- some defenses that seem effective after distillation can be broken after subsequent reinforcement learning. Practically, reinforcement learning lowers the bar for a distillation attack to be effective. We show that simple attacks can steal reasoning capabilities from existing closed-source language models using data easily obtainable from current APIs, yielding reasoning improvements equivalent to more sophisticated attacks that extract the full hidden traces. Results indicate that any distillation defense that leaks sufficient information to reconstruct approximate reasoning traces is likely ineffective. We conclude by discussing broader implications and batch-level distillation defenses which could be more effective.

Mon 28 SeptMachine LearningArtificial IntelligenceCryptography and Security
The gist
Bad actors can copy the reasoning skills of big language models by training their own models on the original model's responses, a process called distillation. The authors found that defenses designed to stop this copying seem to work only if attackers stop training right after. But if attackers keep training their model using reinforcement learning, these defenses are easily broken. This means existing protections might give a false sense of security. The authors suggest new defense ideas that work at a group level of model responses may be more effective.
Open → 2609.35699v1