Papers for

ai service operators

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.

Routing requests improves quality and efficiency of fixed quantized AI models

Quality-Constrained Routing over a Fixed Pool of Quantized Mixture-of-Experts Instances

Abstract: Quantized Mixture-of-Experts (MoE) services can hold several pre-materialized instances of one base model, but quantization damage varies sharply across requests and bitwidths. Because instance materialization and replica counts consume memory and require slow reconfiguration, we treat them as upstream provisioning decisions and study routing within a fixed resident pool. Within this fixed-pool boundary, we route each request to maximize modeled throughput under a class-level expected quality-degradation budget and measured instance capacities. To predict this request-specific risk, we introduce FWP (Fragility-Weighted Perplexity), computed from prompt tokens on a reference-instance prefill and calibrated to candidate-instance degradation. Underlying FWP is an exact two-expert affinity--fragility decomposition and a conditional multi-layer top-$k$ expansion whose bias, interaction, route-change, separability, and higher-order terms remain explicit. Using these calibrated risks, a window-level linear program yields a signed reduced-reward score that is KKT-consistent with the LP optimum under optimal prices and primal-feasible tie allocation. On 88 extended Qwen prompts, complete W2, W3, and W4 instances quantizing all 6,144 expert blocks incur mean $Δ$NLL of $0.9437$, $0.1832$, and $0.0513$. Under the same population and $τ=0.1513$, FWP allocation reaches a $1.284\times$ offline model-based multiplier versus $1.253\times$ for request-agnostic mixing and $1.000\times$ for static W4, an incremental $2.5\%$ relative FWP gain.

Fri 11 SeptMachine Learning
The gist
AI models called Mixture-of-Experts can be stored in different versions using less memory, but this reduces their quality unevenly depending on the input. The authors study how to smartly send requests to these fixed stored versions to keep quality loss within a budget and make processing more efficient. They introduce a new way to predict the quality drop for each request and use a mathematical optimization to assign requests to model instances accordingly. Their approach improves throughput and reduces quality loss compared to simpler baseline methods.
Open 2609.12550v1

TripPattern improves text watermarks without hurting quality

TripPattern: A Pattern-based Text Watermarking Method for Large Language Models

Abstract: Text watermarking techniques have gained significant attention for identifying machine-generated text and mitigating risks from large language models (LLMs). Existing methods typically divide an LLM's vocabulary into green and red tokens, but encouraging generation toward green tokens can reduce text quality and naturalness. To address this, we propose TripPattern, a watermarking framework that formulates text watermarking as a pattern-based matching task using three vocabulary partitions. TripPattern divides the vocabulary into one neutral group and two pattern groups. During generation, the model alternates token selection between the two pattern groups to embed detectable patterns, while neutral tokens are selected independently to improve flexibility and preserve naturalness. For detection, TripPattern uses pattern-based statistical tests that provide interpretable p-values by measuring how often adjacent tokens alternate between the pattern groups. Theoretical analysis and empirical evaluations on four multilingual datasets show that TripPattern maintains LLM generation quality while achieving robust watermark detectability.

Fri 11 SeptArtificial Intelligence
The gist
Large language models can produce text that might be hard to tell apart from human writing, so people create watermarks to detect machine-generated text. Existing watermark methods can make the text sound less natural because they push the model toward certain words. The authors propose TripPattern, which splits words into three groups and uses patterns between two groups while allowing neutral words freely. This keeps the text natural while embedding detectable patterns. Their tests show TripPattern keeps text quality good and still finds machine-generated text reliably.
Open 2609.12472v1

Activation maps enable fast uncertainty estimates for single answers

ActMap: Single-Pass Uncertainty Quantification from Generation-Time Activation Maps

Abstract: Practical uncertainty quantification (UQ) for large language models must decide, from a single generation, whether a specific answer should be trusted. Existing methods either sample multiple generations, read only output-token probabilities, or reduce the model's internal computation to a single hidden state. We introduce ActMap, a white-box representation that compresses the generation-time hidden- state trajectory (every layer, every generated token) into a fixed $12 \times 32 \times 128$ tensor of temporal-statistic channels that preserves structure across transformer depth and pooled hidden coordinates. The map is captured during the generation pass with no measurable overhead, has a fixed shape across model depths and hidden sizes, and occupies 96 KiB: a compact artifact that can be retained for audit-relevant generations and probed directly, with occlusion analysis localizing the classifier's signal to mid-depth regions of the map. A lightweight classifier, instantiated as a compact Vision Transformer, reads an estimated correctness probability from each map in a fraction of a millisecond; capacity-matched MLPs perform comparably, indicating the representation itself carries the result. Trained and evaluated in-domain on short-answer QA, direct- answer math, and summarization factuality with three instruction-tuned 7-8B models, ActMap consistently outperforms sampling, token-probability, attention, and embedding baselines, and matches ACT-ViT, a detector trained on dense activation tensors $67 \times$ larger, at essentially the same mean AUROC with lower calibration error on ten of twelve pairs. The resulting score supports abstention, routing, and selective verification from a single generation, making it a practical primitive for scalable oversight of deployed models.

Thu 10 SeptArtificial Intelligence
The gist
Knowing when to trust a computer's answer is important, especially for language models that generate text. The authors created ActMap, a way to look inside the model’s internal steps during answer generation and produce a simple map that summarizes this process. This map can be quickly analyzed by a small classifier to judge how likely the answer is correct, without needing to sample multiple answers or do extra heavy computations. Their experiments show ActMap works better than other methods on tasks like short answers, math, and summarization.
Open 2609.11498v1

Reusable evidence views reduce memory and latency in language model retrieval

REVA: Reusable Evidence View Aggregation for Context-Efficient RAG Serving

Abstract: Retrieval-augmented generation (RAG) improves knowledge-intensive large language model (LLM) applications by conditioning generation on retrieved documents, but longer contexts increase latency, key-value (KV) cache memory, and token cost. Post-retrieval compression can reduce this cost, yet existing compressors often operate independently for each query, rely on auxiliary models or rewriting, and introduce online overhead that can offset the benefit of shorter prompts. We revisit RAG compression from a data-mining perspective by aggregating historical query--document--model interactions into reusable evidence views. We first show that modern compressors have unstable gains over simple truncation and can add substantial inference-time latency. We then propose Reusable Evidence View Aggregation (REVA), a framework that mines the target generator's historical attention traces into a document-keyed, budget-agnostic score store. REVA maps token-level attention to readable word units, aggregates importance across repeated document accesses, and renders budget-specific plain-text views that preserve document order and the standard RAG interface. Across four representative benchmarks and modern LLMs, REVA improves generation quality by 1.0--5.8 points over existing advances, while reducing compression overhead by a factor of 5.3 to 15.6, adding less than 40 ms of latency.

Thu 10 SeptMachine LearningComputation and LanguageInformation Retrieval
The gist
When large language models look up documents to answer tough questions, handling many documents slows things down and costs more memory. The authors show that existing ways to shrink these documents can be slow or unreliable. They introduce REVA, a method that learns which parts of documents are important by reusing past attention data, creating compact views that keep useful content. This makes answers better and faster with much less extra processing time.
Open 2609.11209v1

Ai housing recommendations often miss better rental options despite following preferences

Following the Preference, Missing the Optimum: Compliance Without Optimization in AI Housing Recommendation

Abstract: Large language models are becoming the first point of contact for consumer search in domains where the stakes are material and the law is explicit. Existing audits show that models steer housing seekers by perceived identity, but none can say what a user loses when a recommender overlooks a suitable option, for want of an enumerated inventory to score omissions against. We audit AI housing recommendation against a verifiable ground truth. For each of 150 synthetic renter scenarios in New York City we build a pool of 120 real listings with known rent, bedrooms and GTFS-computed transit commute, compute the exact set satisfying the renter's stated constraints, and derive its Pareto frontier. The primary outcome assumes no utility function: a recommendation is strictly dominated if the same pool holds a listing cheaper, faster to commute from and no smaller in bedrooms. Across 9,945 calls to three models from two vendors, compliance is near-perfect (1.8% violation against a 66.6% random floor), yet 39.0% of recommendations are strictly dominated, and the dominating listing is a median 900 USD/month cheaper and 3.5 minutes closer. A within-scenario manipulation separates two capabilities usually conflated: changing one sentence moves median recommended rent by 646 USD/month in the correct direction, so preferences are honored, yet recommendations still sit 606 USD/month above the five cheapest qualifying listings on the same screen, and an unambiguous lexicographic instruction gives no improvement under equivalence testing against a pre-specified 50 USD/month bound. The gap widens with candidate-set size and replicates across OpenAI and Anthropic models to within 3 USD. We characterize the failure as compliance without optimization, propose dominance-rate instrumentation as a deployable diagnostic, and release all code, prompts and per-call results.

Wed 9 SeptComputers and SocietyInformation Retrieval
The gist
When people use AI to find apartments, the AI usually respects what they say they want, like budget or number of bedrooms. But the researchers found that the AI still often suggests places that are not the best deals—more expensive and with longer commutes—even when cheaper and better options exist. The AI follows the user's rules but doesn't always pick the optimal choice. This was tested on many made-up renter cases in New York City using real listings. The authors suggest a way to measure this problem so future AI systems can improve.
Open 2609.10856v1

Coding agent trajectory watermarking detects edits and proves ownership

TrajMark: Ownership Attribution and Segment-Level Tamper Localization for Coding-Agent Trajectories

Abstract: Watermarking the final patch produced by a coding agent provides provenance evidence for the submitted artifact, but does not authenticate the visible process that produced it. Behavioral watermarking methods primarily provide a global detection or identifier-recovery signal, so a locally edited trajectory may retain sufficient ownership evidence without revealing which protected region has become inconsistent. To address this limitation, we propose TrajMark, a training-free, symmetric-key, visible-only trajectory watermarking framework that separates robust ownership attribution from fragile local integrity verification. Our framework consists of two complementary layers: a sparse owner layer that encodes a six-bit deployment identifier by rewriting a keyed subset of naturally occurring READ actions into masked linear equations, and a localization layer that inserts linked Q12 ordinary, group, and terminal seals to commit to protected critical-action segments. This separation allows ownership evidence to accumulate robustly across trajectories, while local modifications perturb nearby keyed commitments and expose the affected protocol region. We further provide a design-level analysis of owner recoverability, integrity collision probability, structural overhead, and localization behavior. Across three coding-agent frameworks and three LLMs, TrajMark recovers the exact owner in all evaluated clean full-watermark batches. Under exhaustive eligible single-site attacks it detects 95.5%-100% of edits, and under random single-action corruption it localizes 95.8% of modified sites to an accepted protocol region rather than to the individual action. Owner marking adds no trajectory actions; the integrity layer adds explicit read-only seals, and matched Pass@1 is 26.9% versus 26.3% for unwatermarked runs.

Wed 9 SeptCryptography and SecuritySoftware Engineering
The gist
When software agents write code, it's important to prove who created the final work and to tell if someone changed parts of the process. The authors propose TrajMark, a system that adds hidden marks to the agent’s sequence of actions to identify the owner and to flag exactly where changes were made. This system doesn’t need special training and doesn’t add extra steps to making code. Their tests showed it can reliably find the owner and detect or locate modifications in the process.
Open 2609.10416v1

Pretraining checkpoint quality affects later model training success

Good Pretraining, Bad SFT: Checkpoint Quality Across the Training Stack

Abstract: Language-model checkpoints are commonly selected by pretraining loss or benchmark scores, assuming that the highest-scoring checkpoint will remain the best starting point for subsequent training. We show that this assumption can fail in a full 30B mixture-of-experts training pipeline. The checkpoints that perform better after the full downstream training stack also have higher solution density, i.e., retain downstream performance under local weight perturbations.

Tue 8 SeptArtificial IntelligenceComputation and Language
The gist
Many people assume that the best early version of a language model is the best starting point for further training. This paper shows that this is not always true in a complex 30-billion parameter model training setup. The researchers found that checkpoints that keep good performance even when slightly changed end up being better for later training steps. This means how stable a model’s solution is can predict how well it will do after more training.
Open 2609.08966v1

Style changes trick ai safety judges into mislabeling replies

Style Over Substance: Content-Invariant Wrappers Flip LLM Safety-Judge Verdicts

Abstract: Automatic safety judges -- systems such as Llama Guard or a GPT-4o grading prompt that decide whether a model's reply is harmful -- produce the numbers behind almost every reported jailbreak success rate, defense evaluation, and safety leaderboard. We ask whether these judges grade what a reply contains or how it sounds. We keep a reply's content fixed and add content-invariant style wrappers: fixed strings placed before or after the reply that change only its tone (an educational disclaimer, a fake safety "reasoning" block, a token refusal followed by the unchanged harmful body), or, on harmless refusals, framing that merely sounds dangerous. The body is preserved byte-for-byte, so a faithful judge must return the same verdict, and any flip is an error of the judge, not a change in safety. Over 600 JailbreakBench replies x up to 7 forms x 8 judges, we measure flip rates with paired significance tests and measured noise floors. Findings are precise rather than universal: most judges barely move, but specific judges harbor cheaply exploitable blind spots. A token-refusal wrapper flips 19.9% of GPT-4o-mini's correct "unsafe" verdicts (noise floor 0.5%; 18.2% under majority-of-three re-scoring) yet moves Claude only 0.4%. The deployed Llama Guard 4 is deterministically gamed: an "educational course" framing flips 12.3% of its harmful verdicts to safe. A second deployed guard (gpt-oss-safeguard-20b) is immune, and rewriting only the grading prompt (StrongREJECT-style) cuts the attack tenfold on the identical model -- the vulnerability lives in the judge, not the content. A two-annotator human validation confirms 100% content invariance and 90% of flips as judge errors (kappa 0.95-1.0), and a bootstrap shows the underlying model ranking is already unstable to sampling alone. We release the dataset, wrappers, code, and per-verdict labels.

Tue 8 SeptArtificial Intelligence
The gist
Many systems automatically check if AI replies are safe or harmful. The authors found that changing only the style or tone around the reply—without altering the harmful content—can cause these safety judges to flip their decisions incorrectly. Some safety systems are especially easy to fool this way, while others remain stable. This means safety judgments sometimes rely more on how something sounds than what it actually says, revealing weaknesses that could be exploited.
Open 2609.08236v1

Model blending improved with safe rotary embedding adjustment dial

MeRoTune: RoPE-Safe Merging with a Tunable Dial

Abstract: When you merge two fine-tuned models from the same base checkpoint by simply averaging their weights, you implicitly assume their attention subspaces are still aligned. Recent work attempts to fix misalignments by learning an invertible correction matrix, $M$, for each model's query and key projections. This correction cancels out---using $M$ on the query side and $M^{-T}$ on the key side---right before the dot product. However, this cancellation is only exact if nothing sits between the projection and the dot product. In reality, almost all modern open-weight language models put a rotary position embedding (RoPE) exactly there. In this paper, we show that this cancellation is exact under RoPE if and only if $M$ commutes with RoPE's per-position rotation. We derive the specific class of matrices where this holds: a scaled rotation acting independently within each RoPE frequency pair. This forms a strict, low-dimensional subset of the unconstrained matrices that current methods normally train. Building on this, we turn this constrained matrix class into a new merging method. While keeping the base weights entirely frozen, two fine-tunes each learn their own RoPE-compliant correction matrices. We optimize these corrections against a chosen blend ratio so the final result can be adjusted post-hoc like a dial, rather than locked into a single fixed merge. Our default approach trains at one fixed blend ratio, similar to how LoRA sets its scaling hyperparameter in advance. We also experiment with resampling the blend ratio randomly at every training step, and we report the results of both approaches.

Mon 7 SeptComputation and Language
The gist
Sometimes, when two versions of a language model are combined by averaging their settings, parts inside don't match perfectly, especially around the way positions are handled. The authors found that a common fix for this mismatch only works if a certain correction fits very specific rules related to how position information is rotated. They figured out which kinds of adjustments work exactly and made a new way for two fine-tuned models to each learn their own safe corrections. This lets users smoothly blend models at different mix levels after training, like turning a dial, instead of being stuck with one fixed mix.
Open 2609.07971v1