{"id":"bce9fd42-c65b-43f1-96e7-a75c683e97b4","arxiv_id":"2609.14864","paper_version":1,"verdict":"CONDITIONAL","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":5,"one_line_summary":"A roofline-style predictor using GGUF metadata and active-parameter accounting achieves 13-36% decode throughput error on three systems, but prefill prediction fails on one system and translation across systems is incomplete.","lead":"This paper presents a method to predict how fast a large language model runs on a given computer by reading the model's metadata file. It could help users choose the best local model without running every model first.","discovery_kind":"extension","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Small held-out set (4-5 families on Apple, 2 on RTX) leaves cross-family generalization of per-format efficiency factor unvalidated; a 49.9% error on the Ling-mini test family reveals systematic failure for non-Qwen architectures.","rationale":"The reader's weakest_assumption correctly identifies the per-host per-quantization scale factor as load-bearing. This stress-test agrees but sharpens the concern: the assumption is not just partly failing on RTX and low-bit formats, but also fails for specific architectures (Ling-mini) on Apple systems, yet is masked by the small held-out set. The concrete test (leave-one-family-out CV) is a systematic way to quantify this cross-family variation. The reader's condition (expand held-out sets or add caveat) is appropriate; this test directly addresses that condition. The verdict remains CONDITIONAL because the paper's transparent limitations already cover this possibility, but the proposed test would strengthen the empirical foundation. No ad hominem or theatrical language used.","tokens_in":34238,"tokens_out":3887,"duration_ms":39109,"concrete_test":"Perform leave-one-family-out cross-validation on each host. For MacBook (15 training configs from 5 families: gemma4, gpt-oss, qwen35, qwen35moe, smollm3), refit B2 on 4 families and evaluate on the left-out family's configurations (including all its quantizations and depths). Repeat for each family. Report the per-family MAPE and the standard deviation across folds. If any family (e.g., the dense non-Qwen gpt-oss or smollm3) exceeds 30% MAPE, the single per-format efficiency factor does not generalize uniformly, and the claim should be qualified accordingly.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The central claim that a per-host per-quantization scale factor η_{h,q} captures all kernel and implementation differences is tested on only 4–5 held-out configurations on Apple systems and 2 on RTX. The training set is dominated by Qwen3.8-27B files (7 of 15 training configs on each Apple host, representing one architecture family with multiple quantizations). Per-format η values for formats like Q4_K_M are therefore fitted primarily on Qwen data. When applied to the held-out Ling-mini-2.0 (a small MoE with many KV heads), the predictor achieves 49.9% APE at depth 0 on MacBook (the worst of all test observations). This single outlier substantially influences the aggregate MAPE: the remaining three test configs all stay well under 15%. The small held-out set does not allow systematic assessment of how η generalizes across families with different kernel tuning, tensor shapes, or memory patterns. The paper explicitly notes that most quantization groups have only one training family, so the per-format coefficient is effectively a per-model-family coefficient. Without a broader evaluation across multiple families per format, the claim of substantial improvement over total-parameter models rests on a fragile empirical base. Limitations section acknowledges this in passing, but the headline MAPE figures may give an overly optimistic impression of generalizability.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper proposes a predictor for single-sequence llama.cpp throughput using only GGUF metadata (file size, active parameter count, per-layer KV cache size) with host- and quantization-specific fitted efficiency factors. The model is evaluated on 53 host-file configurations across two Apple M4 Max systems and an NVIDIA RTX 5080. On held-out sets of 4, 5, and 2 configurations, the active-parameter decode model (B2) achieves 13.1%, 14.4%, and 36.1% MAPE respectively, substantially improving over a total-parameter baseline. The prefill model is correctly reported as unsupported. The paper also tests cross-host transfer and documents limitations transparently.","tokens_in":34650,"tokens_out":2374,"duration_ms":24952,"significance":"The work addresses a practical problem: predicting LLM throughput on a given machine without running the model, using only metadata available from the GGUF file header. The proposed active-parameter and per-layer KV corrections are conceptually clear and shown to improve prediction on all three tested systems. The paper is notable for its explicit documentation of failure cases (e.g., the Ling-mini outlier, poor RTX results, negative prefill result) and its deliberate avoidance of inflated claims. If the approach generalizes beyond the small held-out sets, it would be a useful tool for model selection. The reproducible protocol and open data (hashes, append-only archives) are strengths.","major_comments":[{"comment":"The held-out set sizes (4, 5, 2 configurations) are very small. The 49.9% APE on Ling-mini-2.0 demonstrates that the per-format efficiency factor η_h,q does not transfer well to architectures outside the dominant training family (Qwen). The paper acknowledges this limitation in §5, but the headline MAPE figures (13.1%, 14.4%, 36.1%) give an overly optimistic impression of generalizability. The authors should add bootstrap confidence intervals or at least discuss how the small test size affects the reliability of the reported errors.","section":"§3, Table 1"},{"comment":"The RTX 5080 results are the weakest: only 2 held-out configurations, no device-memory telemetry, and the largest working set exceeds reported VRAM (acknowledged in §5). This makes the 36.1% MAPE figure essentially unreliable for cross-model generalization. The paper should either (a) remove RTX from the headline claims and treat it as a pilot test, or (b) add explicit caveat that the RTX results are preliminary due to unresolved residency questions.","section":"§3, RTX 5080 experiments"},{"comment":"The prefill model (P2) is correctly labeled as unsupported, but the inclusion of a 108.2% test MAPE in the abstract (alongside the decode numbers) may confuse readers. The abstract already states 'The P2 prefill baseline gives 18.7%, 22.2%, and 108.2% test MAPE', which is clear. However, the reasons for failure on RTX (high prefill CV, poor fit) could be elaborated: the per-format coefficients are weakly identified (only one training configuration per format) and the model omits prefix-dependent computation.","section":"§4.3, prefill model"}],"minor_comments":[{"comment":"The notation D(c) is defined as 'bytes per generated token', but the equation divides file size and KV cache, which is actually total bytes transferred per token (file size per active token plus KV). Clarify the units.","section":"§2, Eq. (1)"},{"comment":"The phrase 'back-solve r = T_p (2P_a)/F_h' is unclear: what is r, and why is 2P_a used? Ensure the text explains the factor of 2 (likely due to FLOP counting).","section":"§2, paragraph after Eq. (3)"},{"comment":"The description of the 'atomic selector' for data reduction is vague. It prefers 'lower decode coefficient of variation (CV) and pre-run load'. How much lower? Provide a threshold or clarify that it is a heuristic.","section":"§3, last paragraph"},{"comment":"The scatter plot is dense and the ±25% lines are helpful. However, the orange markers (held-out) are hard to distinguish from the blue train markers when overplotted. Consider using different shape or larger markers for test points.","section":"Figure 1"},{"comment":"The phrase '14 three-way matched configurations' appears without explanation. Define what 'three-way matched' means (presumably the same model–quantization–depth combination on all three hosts) and state how many such points exist.","section":"§4.2, '14 three-way matched configurations'"},{"comment":"The appendix includes SHA-256 hashes and full provenance, which is excellent for reproducibility. However, the body of the paper could reference this more clearly (e.g., 'see Appendix Table 6 for complete provenance').","section":"Appendix, Table 6"},{"comment":"Some acronyms are used without expansion on first use (e.g., 'GGUF' is defined in the abstract but not in the introduction; 'MoE' is introduced in the introduction but not expanded). Ensure all acronyms are spelled out where first used in each section.","section":"General"}],"recommendation":"minor_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Dear Colleague,\n\nThis paper tackles a practical problem: can you predict how fast a model will run on your machine without downloading it first, using only the GGUF file header? That's useful for local LLM deployment. The authors propose a roofline-shaped model with active-parameter and per-layer KV corrections, fitted with a single per-host, per-quantization scale factor. The ablation is clean—active parameters clearly beat total parameters, and per-layer KV beats uniform-global. The cross-system transfer experiment is a nice diagnostic. And they are unusually honest about failure: the prefill model is labeled unsupported, the RTX result is preliminary, and the limitations section is twice as long as most.\n\nThe soft spots are real and load-bearing. The held-out sets are tiny: 4–5 configurations on Apple, 2 on RTX. The training data is dominated by one model family (Qwen3.8), so the per-format scale factors are effectively per-family. The Ling-mini outlier (49.9% error on MacBook) shows exactly this fragility. The RTX result (36% MAPE with only two test files) cannot support any strong claim. The stress-test concern is right: the headline MAPE gives an optimistic picture of generalizability, and the paper's own data prove that most quantization groups have only one training family.\n\nThat said, the paper is not claiming universality. The conclusions are measured. The code and data are (mostly) reproducible. For a workshop or a systems venue, this is a reasonable method paper that clearly defines a baseline and states its failure modes.\n\nWho gets value from this? Practitioners who want a cheap pre-download filter, and researchers working on performance modeling who want a clear baseline to beat. It is not a breakthrough, but it is honest engineering science.\n\nRecommendation: Send to peer review. A good referee will push for a larger held-out set (at least 10 per host) and a clearer statement that the per-format factor is essentially per-family. With those additions, the paper would be solid. Without them, it remains a poster or workshop paper. But desk rejection is too harsh for work this transparent.","headline":"Careful study with transparent limitations, but tiny held-out sets (especially RTX's 2 configs) turn the headline generalizability claim into a fragile one.","tokens_in":35187,"tokens_out":1958,"duration_ms":21871},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"A predictor using only GGUF metadata achieves held-out decode MAPE of 13% on an M4 Max, 36% on an RTX 5080.","keywords":["large language models","performance prediction","llama.cpp","GGUF","mixture of experts","single-sequence throughput","roofline model","active parameters"],"falsifier":"A new model family with a known host-quantization efficiency factor (e.g., a 7B dense model at Q4_K_M) showing predicted throughput deviating more than 20% from measured throughput would contradict the claim that the scale factor generalizes beyond the calibration set. A specific test: try a model with a novel attention mechanism not covered by the per-layer KV formula on the RTX 5080 at Q4_K_M; if the error exceeds 25%, it indicates the predictor's metadata representation is incomplete for that architecture.","tokens_in":37591,"feed_emoji":"⚡","tokens_out":2045,"duration_ms":72317,"temperature":0.7,"pith_summary":"The paper proposes a simple roofline-style predictor for single-sequence llama.cpp decode throughput that uses only metadata stored in a model's GGUF file: file size, active parameter count (adjusting for mixture-of-experts), and per-layer key-value cache size. On three host systems — two Apple M4 Max machines and an NVIDIA RTX 5080 — the model achieves held-out mean absolute percentage errors of 13.1%, 14.4%, and 36.1%, respectively, a large improvement over a baseline using total parameter count (49–55%). The central insight is that replacing total parameters with active parameters and using per-layer rather than uniform-global KV accounting corrects systematic misestimates, especially for MoE and hybrid-attention models. However, the predictor requires host- and quantization-specific efficiency factors that do not transfer universally across hardware, and it fails to model prefill throughput on the RTX 5080.","feed_headline":"Active-parameter decode cuts MAPE from 49% to 13%","feed_subtitle":"A roofline-shaped model using only GGUF file metadata achieves held-out decode MAPE of 13–36% on three systems.","key_machinery":"The decode predictor is built from two equations. First, bytes per generated token $D(c) = S \\cdot P_a / P + K(c)$, where $S$ is file size, $P_a$ and $P$ are active and total parameters, and $K(c)$ is the per-layer KV cache size computed from head counts, head dimensions, and attention windows (with sliding-window and recurrent layers treated specially). Second, predicted throughput $\\hat{T}_d(c) = \\eta_{h,q} \\cdot B_h / D(c)$, where $B_h$ is the calibrated copy bandwidth of host $h$ and $\\eta_{h,q}$ is an empirical scale factor for that host-quantization pair, fitted as the median ratio of measured throughput times $D(c)$ over bandwidth. The active parameter count $P_a$ is computed from GGUF expert-routing metadata: for MoE with $E$ experts, $k$ selected, and expert-bank weights $P_e$, $P_a = P - P_e + (k/E) P_e$; for dense models $P_a = P$.","core_discovery":"The paper establishes that a roofline-based decoder throughput predictor for llama.cpp, using only fields parseable from a GGUF header (file size, active parameter count via expert-routing fields, and per-layer KV metadata), can estimate single-sequence generation speed with moderate accuracy on unseen model families. The key quantities are the active parameter fraction, which corrects for mixture-of-experts waste, and the per-layer KV byte formula, which prevents the 10–14x overestimates that a uniform-global attention assumption would produce. The improvement over a total-parameter baseline is substantial across all three test systems, though the RTX 5080 shows larger errors and the prefill model is not supported. The efficiency factors are not hardware-universal; leave-one-host-out tests show that coefficients fitted on the other two systems give similar test-set MAPE, but low-bit quantization ordering varies by runtime stack, and the RTX held-out accuracy is notably worse.","pith_inferences":["If the approach were embedded in a local LLM client (e.g., a downloader or model selector), it could rank candidate GGUF models by expected decode speed without requiring the user to download and run each one, reducing trial-and-error bandwidth.","The failure on prefill suggests that a combined predictor would likely need separate models for prompt processing and generation, with prefill predicted from a compute-roofline (FLOP-bound) rather than memory-roofline (bandwidth-bound) framework.","The observed variation in low-bit quantization ordering across systems implies that quantization recommendations should be hardware-aware; a format optimal on Apple Silicon may not be optimal on NVIDIA CUDA.","A practical extension would be a learning curve study to determine how many reference models (and which quantization–architecture combinations) are needed to stabilize efficiency factors for a new host."],"forward_implications":["A user evaluating a new GGUF model on a known host can obtain a reasonable decode throughput estimate from the file's metadata alone, without running a benchmark, after a one-time calibration of efficiency factors on a few reference models.","Active-parameter accounting should become standard for performance prediction of sparse mixture-of-experts models, as the paper shows it reduces held-out error by a factor of 3–4 compared to using total parameters.","Per-layer KV metadata (head counts, windows) is essential for hybrid architectures; a uniform-global assumption can overstate cache traffic by an order of magnitude, leading to large prediction errors.","The prefill throughput predictor fails under this protocol, especially on the RTX 5080, indicating that prefill requires a different modeling approach (likely involving compute-bound prefilling and dependency on prefix depth).","Cross-system transfer is possible only when the target host's quantization efficiency factors are re-fitted; a single universal coefficient set does not suffice, particularly for low-bit quantizations."],"supporting_citations":[{"why":"Supplies the roofline performance model that shapes the predictor's conceptual foundation.","marker":"[1]"},{"why":"Argues for measuring sparse utilization via activated rather than stored parameters, which the paper tests as the active-parameter correction.","marker":"[6]"},{"why":"Provides the llama.cpp runtime and llama-bench benchmark tool from which all throughput measurements are obtained.","marker":"[8]"},{"why":"Defines the GGUF file format that the predictor parses for metadata (file size, tensor shapes, expert routing, attention parameters).","marker":"[9]"},{"why":"Characterizes quantization and memory behavior on Apple Silicon, providing context for the host-specific efficiency factors on the two M4 Max systems.","marker":"[7]"}],"fun_headline_variants":["Active-parameter decode predicts throughput with 13% MAPE","GGUF metadata yields 13% error on decode speed","Roofline model cuts speed prediction error to 13%","Active parameters beat total params for llama.cpp speed","From 49% to 13%: active-parameter decode wins"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The load-bearing assumption is that a single per-host per-quantization scale factor $\\eta_{h,q}$ can capture all kernel and implementation differences for that host-format pair, independent of model architecture and size; the paper exposes that this assumption partly fails for RTX and for low-bit quantizations.","fun_headline_variants_meta":{"raw":{"variants":["Active-parameter decode predicts throughput with 13% MAPE","GGUF metadata yields 13% error on decode speed","Roofline model cuts speed prediction error to 13%","Active parameters beat total params for llama.cpp speed","From 49% to 13%: active-parameter decode wins"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000184,"raw_usage":{"cost":0.000183568,"is_byok":false,"cost_details":{"upstream_inference_cost":0.000183568,"upstream_inference_prompt_cost":0.000101528,"upstream_inference_completions_cost":8.204e-05},"total_tokens":1223,"prompt_tokens":930,"completion_tokens":293,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":256,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":207}},"tokens_in":930,"tokens_out":293,"cost_source":"openrouter_usage","duration_ms":3935,"image_pages":[],"temperature":1.0,"reasoning_tokens":207,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-09-15T13:04:37.747935+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"A new model family with a known host-quantization efficiency factor (e.g., a 7B dense model at Q4_K_M) showing predicted throughput deviating more than 20% from measured throughput would contradict the claim that the scale factor generalizes beyond the calibration set. A specific test: try a model with a novel attention mechanism not covered by the per-layer KV formula on the RTX 5080 at Q4_K_M; if the error exceeds 25%, it indicates the predictor's metadata representation is incomplete for that architecture.","supporting_citations":[{"cited_title":"A predictor based on stored metadata would reduce candidate executions relative to a lookup table; remote header-only acquisition is outside our scope","cited_arxiv_id":null,"evidence_quote":"Supplies the roofline performance model that shapes the predictor's conceptual foundation."},{"cited_title":"Roofline: An insightful visual performance model for multi- core architectures,","cited_arxiv_id":null,"evidence_quote":"Argues for measuring sparse utilization via activated rather than stored parameters, which the paper tests as the active-parameter correction."},{"cited_title":"Vidur: A large-scale simulation framework for LLM inference,","cited_arxiv_id":null,"evidence_quote":"Provides the llama.cpp runtime and llama-bench benchmark tool from which all throughput measurements are obtained."},{"cited_title":"RooflineBench: A Benchmarking Framework for On-Device LLMs via Roofline Analysis","cited_arxiv_id":"2602.11506","evidence_quote":"Defines the GGUF file format that the predictor parses for metadata (file size, tensor shapes, expert routing, attention parameters)."},{"cited_title":"LLMCompass: Enabling efficient hardware design for large language model inference,","cited_arxiv_id":null,"evidence_quote":"Characterizes quantization and memory behavior on Apple Silicon, providing context for the host-specific efficiency factors on the two M4 Max systems."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}