Search arXiv⌕ Search

arXiv subjects

Lining Hu

Publications and source records attributed to Lining Hu.

3 recordsLinked to original sources

The Price of a Vocabulary: Finite-Sample Laws for Time-Series Tokenization

Tokenized time-series foundation models quantize continuous values into a finite vocabulary before sequence modeling. We develop a finite-sample theory of how large that vocabulary should be, separating input resolution (how finely history is read) from output resolution (how finely forecasts are stated). The central difficulty is that the vocabulary also partitions the training sample across discrete contexts: a worst-case analysis charges for every representable context, yet real series occupy only a small, nonuniform fraction. Our Wasserstein risk bound charges instead for occupancy -- how often each context actually occurs -- with rate-matching lower bounds, and balancing estimation against distortion yields, for fixed-range scalar grids, the vocabulary scaling law $B^* \asymp n^{1/(d+2)}$, where $d$ is the occupancy dimension of the context stream. A second theorem prices the output side: estimators that reserve a fixed prior mass on every output cell regardless of the data admit a finite optimal output vocabulary growing as the square root of the label count. Whether trained softmax heads obey the output-side law is a hypothesis we test, not a consequence of the theorems. Occupancy-based selection recovers the oracle vocabulary in 30 of 30 synthetic runs where nominal context counting incurs up to 72% median regret. Across eight datasets and two architectures trained from scratch, coarse input vocabularies match or improve CRPS on seven of eight datasets (by up to 21%), the finest output vocabulary is best on only one, and nine pretrained forecasters tolerate inputs discretized to 512-1024 bins. Supervising every position rather than only the last lowers the fine-output penalty on six of eight datasets by point estimate (three nominally significant, one significantly reversed) and moves the best tested output vocabulary up on three datasets and down on none.

cs.LG↗

What a Pooled Leaderboard Does Not Say: Auditing the Scope and Provenance of Method Comparisons in Microservice RCA Benchmarks

Offline benchmarks for microservice root cause analysis (RCA) rank methods by a score pooled over several applications, and a pooled lead leaves two things unstated: on which of the systems it holds, and how the score was produced. We audit both on three public benchmark families (OpenRCA, RCAEval, and PetShop), running the released implementations of 16 methods under recorded configurations on 11 subsystems and on a second release of three of the applications. Whether a pooled lead between published methods holds on every subsystem is decided by a quantity the leaderboard withholds, the spread of the lead across subsystems: of 15 leads whose margin exceeds this spread, 14 hold everywhere; of the 8 whose margin is below it, 6 reverse. The per-fault and per-scenario tables that the benchmark papers publish split the same way, and every error of a ranking computed without one subsystem falls on a lead of the second kind. On the second release a third of the comparisons change sign, most through one method's response to the metric kinds it records, and on several subsystems a simple probe or a shipped baseline beats every published method. How the score was produced matters as much: the input table that one released runner reads is not the one its documentation describes, and this choice alone reverses a comparison between published methods with intervals excluding zero both ways; an unpinned dependency and a duplicated column header each make a method return its input column order without an error. Of 23 RCA papers we examined, none releases the per-case outputs needed to check either premise. We recommend that a pooled comparison state the subsystems it covers and its spread across them, the input table, the handling of failed outputs, and the denominator, and be accompanied by per-case outputs, as ours are in our replication package.

cs.AI↗

Edit2TikZ: A Comprehensive and Challenging Benchmark for Scientific Figure Editing with TikZ

Although multimodal large language models (MLLMs) have shown substantial potential in visual understanding and graphic code generation, editing scientific figures through code presents a greater challenge: a model must jointly recover visual structure, ground the requested change, generate compilable code, and preserve all unrelated content. While existing TikZ benchmarks mainly focus on figure reconstruction and generation, few systematically evaluate instruction-guided scientific figure editing with compilable code. We introduce Edit2TikZ, a comprehensive benchmark for scientific figure editing tasks, featuring 1,548 diverse and high-quality samples. Edit2TikZ combines real-world and controlled synthetic edit cases, supports both textual and visual localization request, and contains multi-step editing, each with step-level annotations. We further construct a human-aligned evaluation framework to measure whether a requested edit is completed while irrelevant content is preserved. Utilizing Edit2TikZ, we evaluate 14 mainstream MLLMs and find that current systems remain unreliable: on average, proprietary models achieve a compilation success rate of merely 75% and remain limited in both figure restoration and edit correctness, while compact models below 9B struggle further with instruction following and complete figure generation. Therefore, we build a mixed training set TikZEditMix and adopt reconstruction-then-editing curriculum learning for compact models. On Qwen3.5-4B, this training improves the compilation success rate from 45.35% to 83.40% and yields an average improvement of 18.7 points across our proposed evaluation metrics. The code and data will be released at https://github.com/Solunny/Edit2TikZ.

cs.CV↗