text string | source string |
|---|---|
that|Pr/hatwideD[S]−PrD[S]|≤PrD[S]/2for allS∈S. Hence, Pr/hatwideD[S]≥PrD[S]/2, i.e., the number of samples that fall in each set S∈S is at least NPrD[S]/2 =N(ǫ1/(Kk))Ω(k). Therefore, if N≥(dm)Cm(kK/ǫ1)Cklog(1/(δǫ2))/ηCfor a sufficiently large universal constant C >0, then by applying Lemma D.19 we have the following: w... | https://arxiv.org/abs/2505.21475v1 |
in polynomial tim e. D.3 Algorithmic Applications to Structured Multi-Index Mo del Classes In this section, we show that our general algorithm can be lev eraged to obtain state-of-the-art guar- antees for learning positive-homogeneous Lipschitz MIMs a nd polynomials in a few relevant direc- tions. The former result is ... | https://arxiv.org/abs/2505.21475v1 |
Lemma 5.5 in [CKM22]) .LetV,W be subspaces of Rdwith dim(W) =K,dim(V) =kandV⊆W. Letf:Rd→Rbe a function inHK,L such thatf(xW) =f(x). Suppose that Ex∼Nd/bracketleftbig/parenleftbig f(x)−f/parenleftbig xV/parenrightbig/parenrightbig2/bracketrightbig ≥ǫ2for some ǫ >0.For τ >2√ K−kL, andMV τ∈Rd×dthe matrix defined in Equatio... | https://arxiv.org/abs/2505.21475v1 |
be approx- imated arbitrary well by a piecewise constant function over a discretization of V×Rin cubes and intervals. Lemma D.28 (Cube-Interval Approximation of T).Letd,k∈Z+,ǫ,η∈(0,1),τ,L∈R+with τ≥L≥ǫ. LetV,W be subspaces of RdwithV⊆W,dim(V) =kanddim(W) =K. Let f:Rd→Rbe function inHK,Lsuch that f(x) =f(xW), and letDbe ... | https://arxiv.org/abs/2505.21475v1 |
of Lemma D.28. Moreover, we can also show that fis very close in squared error to a bounded function. This is needed in order for us to be able to approximate fusing a finite collection of cubes. Lemma D.29 (Functions inHK,Lare almost bounded) .Letf:Rd→Rbe a function inHK,L then for any B≥C√ KLln(LK/ǫ), for a sufficientl... | https://arxiv.org/abs/2505.21475v1 |
apply the aforementioned statement along with Lemmas D.6 and D.29, im ply that if for a piecewise con- stant approximation hS(see Definition D.4) it holds that E(x,y)∼D[(hS(x)−y)2]≤ǫ, then E(x,y)∼D[p(xW′ V⊥)1(y∈I)|xV∈S]≥e−32CK3L2/ǫ2. Consequently, conclude that Condi- tion (3) is satisfied with the specified parameters. T... | https://arxiv.org/abs/2505.21475v1 |
union of the sets S∈Ssuch that S⊆R. Note that in order for/summationtext S∈S′1(x∈ S)and1(x∈R)to disagree on some point x∈Rd, it must be that|v(i)·x|∈[1,1−ǫ]for some i∈[k]. Indeed, if xsatisfies|v(i)·x|≤1−2ǫfor alli∈[k], then the corresponding S∈S that containsxSmust lie lie entirely within R Using the union bound and th... | https://arxiv.org/abs/2505.21475v1 |
Theorem D.34. E Omitted Technical Facts E.1 Basic Mathematical Facts Fact E.1 (see e.g. Claim 2.3 in [DKRS23]) .Let1≤m < n . LetB∈Rm×nwithBB⊺=Im. It holds that Hk(Bx) =B⊗kHk(x),x∈Rn. Fact E.2 (Gaussian Density Properties) .LetNbe the standard one-dimensional normal distribution. Then, the following properties hold: 1. ... | https://arxiv.org/abs/2505.21475v1 |
Moreover, for those cubes S/n⌉}ationslash⊆Tit holds that κS≤κdef= exp(Rη√ d). From the fundamental theorem of calculus, for every x,y∈S, it holds that f(x)−f(y) =/integraldisplay1 0∇f/parenleftbig y+t(x−y)/parenrightbig ·(x−y)dt . Hence, using Jensen’s inequality we have (f(x)−f(y))2≤/ba∇⌈blx−y/ba∇⌈bl2/integraldisplay1... | https://arxiv.org/abs/2505.21475v1 |
Hardware-Efficient Attention for Fast Decoding Ted Zadouri1, Hubert Strauss2, and Tri Dao1 1Department of Computer Science, Princeton University 2Princeton Language and Intelligence, Princeton University {tz6037,hs6702,td8762}@princeton.edu Abstract LLM decoding is bottlenecked for large batches and long contexts by lo... | https://arxiv.org/abs/2505.21487v1 |
variants, as mentioned, reduce the KV cache, thereby easing MHA’s memory-bound performance during decoding by lowering data movement (Ivanov et al., 2021; Ootomo and Yokota, 2023; Gholami et al., 2024). Regrettably, the computational capabilities of modern accelerators have outpaced the growth of memory bandwidth (Ghos... | https://arxiv.org/abs/2505.21487v1 |
•We propose Grouped Latent Attention (GLA), a parallel-friendly extension of latent attention that benefits from low-level optimizations. GLA achieves a similar quality to MLA and can be up to 2 ×faster; for example, in speculative decoding, when the query sequence length is two or greater. In online serving benchmarks... | https://arxiv.org/abs/2505.21487v1 |
small decoupled Rotary Position Encoding (RoPE) (Su et al., 2023) with the latent, allowing the weight-absorption trick. The resulting prefill attention is 𝜎(𝑄𝐾𝑇+𝑄𝑟𝑜𝑝𝑒𝐾𝑇 𝑟𝑜𝑝𝑒)·𝑉. 2.2 Distributed Inference Sequential decoding limits parallelization opportunities to only the head axis for the attention co... | https://arxiv.org/abs/2505.21487v1 |
dense BF16 roofline of an Nvidia Hopper H100 SXM GPU (NVIDIA, 2022), ∼295 FLOPs per byte (989TFLOPs 3.35TB/s), leaving the tensor cores severely underutilized. In essence, the overall latency in distributed inference is limited by whichever is slower: the time to complete all FLOPs at the GPU’s peak compute, the time t... | https://arxiv.org/abs/2505.21487v1 |
The exact latent representation loaded into on-chip memory now serves both the key and the value states when computing attention, effectively doubling the arithmetic intensity compared to the most aggressive MQA designs (see Figure 1, left, for an illustration of the MLA memory loading schematic). Although the DeepSeek... | https://arxiv.org/abs/2505.21487v1 |
an even smaller subspace (Yu et al., 2024a; Sun et al., 2024). Meanwhile, multiple studies show that applying RoPE to a partial slice of head dimension preserves accuracy, so rotating the entire width yields little additional quality (Black et al., 2022; Barbero et al., 2025). If keys are intrinsically low rank and onl... | https://arxiv.org/abs/2505.21487v1 |
tensor parallel rank, scaling the aggregate KV cache footprint in proportion to the number of ranks. In contrast, GQA stores 2ℎkv𝑑ℎelements per token, with a larger KV cache than MLA when 𝑑𝑐<2ℎkv𝑑ℎandℎkv>2. However, for a four-degree tensor parallel configuration, MLA and a GQA-8 occupy roughly the same KV cache si... | https://arxiv.org/abs/2505.21487v1 |
per device for long sequences or large batches, limiting the batch size or context length relative to GLA. For example, GLA-4 shards the latent into four heads, ℎ𝑐=4with 2𝑑ℎper head dimension; with the same configuration (TP=4, DP=2), it halves the cache per device, fetches a smaller cache per step, yet has twice the... | https://arxiv.org/abs/2505.21487v1 |
cp.async ) where each thread separately issues individual load instructions. The challenge is that address computation is surprisingly expensive, as it requires 64-bit integer indexing, which translates to multiple instructions per integer multiplication. We instead have multiple threads in the same warp that cooperate... | https://arxiv.org/abs/2505.21487v1 |
Wikipedia and C4 (Colossal Clean Crawled Corpus) portions of RedPajama v1 (Weber et al., 2024), Cosmopedia (Ben Allal et al., 2024) and Pile (Gao et al., 2020), each evaluated using 100M tokens. We also report the average perplexity across these five datasets in Tables 2 and 5. Further validation perplexity results for... | https://arxiv.org/abs/2505.21487v1 |
56.4 GQA-4 54.9 87.3 71.2 38.4 25.7 52.2 68.6 56.9 MHA 53.8 86.0 71.4 37.4 25.2 51.5 66.7 56.0 GTA-4 57.3 88.1 72.6 39.8 25.2 52.6 67.5 57.6 GLA-2 55.0 88.1 72.0 40.6 25.6 52.4 69.1 57.5 GLA𝑞-2 54.9 87.9 71.3 38.6 25.6 52.9 67.9 57.0 GLA𝑞-2 (𝑑R:48) 54.2 88.4 71.9 38.4 24.6 52.2 67.2 56.7 MLA 54.1 86.8 71.5 40.4 26.0... | https://arxiv.org/abs/2505.21487v1 |
all gathered before the MoE feedforward layer and redistributed to mitigate MLA KV cache duplication. GLA configurations with zero-redundancy sharding (latent heads evenly distributed across TP ranks) outperform MLA under an equivalent parallel configuration due to fetching a smaller latent KV cache per device. Figure ... | https://arxiv.org/abs/2505.21487v1 |
find, FlashMLA from DeepSeek (Li, 2025). Our GLA kernel is about 20% faster than FlashMLA in the standard decoding setup (query length 1) and more than 2×faster in the speculative decoding setup (query length 2). Our GLA kernel reaches up to 93% of the maximum memory bandwidth and 70% of the maximum TFLOPS on the H100 ... | https://arxiv.org/abs/2505.21487v1 |
that the arithmetic intensity scales with the number of query heads. Appendix B.3 presents an ablation that replaces full query and output projections with low-rank versions to cut the parameters. The reduced capacity is offset by widening the column dimension to add additional query heads per group in GQA and GTA. The... | https://arxiv.org/abs/2505.21487v1 |
, pages 119–130, 2014. Loubna Ben Allal, Anton Lozhkov, Guilherme Penedo, Thomas Wolf, and Leandro von Werra. Cosmopedia, February 2024. URL https://huggingface.co/datasets/HuggingFaceTB/cosmopedia . Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: reasoning about physical commonsense in ... | https://arxiv.org/abs/2505.21487v1 |
800gb dataset of diverse text for language modeling, 2020. URL https://arxiv.org/abs/2101.00027 . Amir Gholami, Zhewei Yao, Sehoon Kim, Coleman Hooper, Michael W. Mahoney, and Kurt Keutzer. Ai and memory wall, 2024. URL https://arxiv.org/abs/2403.14123 . Saugata Ghose, Abdullah Giray Yağlıkçı, Raghav Gupta, Donghyuk Le... | https://arxiv.org/abs/2505.21487v1 |
Qu, Xuan Feng, Yaoxiang Wang, Yuqing Xia, Feiyang Chen, Yuting Jiang, Yasen Hu, Hao Ni, Binyang Li, Guoshuai Zhao, Jui-Hao Chiang, Zhongxin Guo, Chen Lin, Kun Kuang, Wenjie Li, Yelong Shen, Jian Jiao, Peng Cheng, and Mao Yang. Sigma: Differential rescaling of query, key and value for efficient language models, 2025. UR... | https://arxiv.org/abs/2505.21487v1 |
2019. URL https://arxiv.org/abs/1911.02150 . Ying Sheng, Lianmin Zheng, Binhang Yuan, Zhuohan Li, Max Ryabinin, Daniel Y. Fu, Zhiqiang Xie, Beidi Chen, Clark Barrett, Joseph E. Gonzalez, Percy Liang, Christopher Ré, Ion Stoica, and Ce Zhang. Flexgen: High-throughput generative inference of large language models with a ... | https://arxiv.org/abs/2505.21487v1 |
attention sinks, 2024. URL https://arxiv.org/abs/2309.17453 . Vikas Yadav, Steven Bethard, and Mihai Surdeanu. Quick and (not so) dirty: Unsupervised selection of justification sentences for multi-hop question answering. In Kentaro Inui, Jing Jiang, Vincent Ng, and Xiaojun Wan, editors, Proceedings of the 2019 Conferen... | https://arxiv.org/abs/2505.21487v1 |
per state, so the per token cache is (𝑅𝐾+𝑅𝑉)(ℎ+𝑑ℎ)elements. We report validation perplexity in our ablations for TPA in the Appendix B.3. The low-rank structure of TPA supports straightforward head-level TP sharding, but its KV cache scales linearly with 𝑅and already exceeds MLA once 𝑅≥4; ranks four and above ar... | https://arxiv.org/abs/2505.21487v1 |
(NVIDIA, 2024) or NVLink (NVIDIA Corporation, 2024), to hardware chips designed solely for fast inference (Groq, 2024). A.3 Low-Rank Projections Empirical findings indicate that, before applying RoPE, key activations have a sharply decaying singular-value spectrum (Yu et al., 2024a; Chen et al., 2024), implying that ma... | https://arxiv.org/abs/2505.21487v1 |
the GPT-3 model for a given parameter size for our MHA baseline, which has the largest parameter budget. Then, we widen the MLPs of every other attention variant until each model matches the MHA parameter count. Essentially, MHA’s parameter size is the anchor point. In GQA-4 & GTA-4, the 4 represents the number of grou... | https://arxiv.org/abs/2505.21487v1 |
parameters. To offset these lost parameters for fair comparison with the baselines, we increase the query heads ℎ𝑞to 48. It’s beneficial since arithmetic intensity depends on the number of query heads. RPV1 refers to RedPajama v1. Method FineWeb-Edu Cosmopedia RPV1 Pile RPV1 Avg C4 Wikipedia MHA 11.501 12.605 22.496 2... | https://arxiv.org/abs/2505.21487v1 |
MMLU HellaSwag Arc-Easy Avg GLA-2 57.4 91.8 73.9 40.4 26.1 58.2 72.1 60.0 GQA-4 59.0 91.5 74.1 41.6 25.2 58.5 71.6 60.2 GTA-4 58.2 91.0 75.1 40.8 25.3 58.6 72.5 60.2 MLA 56.4 89.5 73.5 39.4 25.3 58.1 71.8 59.1 MHA 60.5 90.7 73.1 41.0 25.9 57.6 71.9 60.1 Table 17: Downstream evaluation for the XL model (higher is better... | https://arxiv.org/abs/2505.21487v1 |
underlined marks the second-lowest. RPV1 refers to RedPajama v1. Method FineWeb-Edu RPV1 Cosmopedia RPV1 Pile Avg C4 Wikipedia GLA𝑞-2 (ℎ𝑞:20) 16.450 31.706 20.849 95.273 40.116 40.879 MLA 16.338 31.516 20.111 94.273 39.168 40.281 GLA𝑞-2 16.337 31.517 20.110 92.820 38.726 39.902 GTA-4 (𝑑𝑅:16) 16.870 32.732 21.089 1... | https://arxiv.org/abs/2505.21487v1 |
marks the lowest value in each column, and underlined marks the second-lowest. We benchmark TPA using low rank key and value projection matrices at ranks 2 and 4. RPV1 refers to RedPajama v1. 24 Method Model Winogrande SciQ PiQA OpenBook MMLU HellaSwag Arc Avg Param QA Easy TPA (r=2) 433.77M 53.8 84.1 68.3 36.3 25.8 45... | https://arxiv.org/abs/2505.21487v1 |
434.32M 23 13.249 25.734 15.089 69.569 30.735 30.875 MHA 433.77M 16 13.552 26.286 15.330 72.488 32.124 31.956 TPA(r=2) 433.47M 29 13.367 25.936 15.322 70.091 31.138 31.171 TPA(r=4) 432.59M 26 13.404 26.059 15.409 69.805 30.473 31.030 Table 24: We ablate by keeping the width of the FFNs (2736) constant across different ... | https://arxiv.org/abs/2505.21487v1 |
offset calc Page size 64, w/ dist. offset calcFigure 6: Decoding speed of GLA on H100 80GB SMX5 GPU (theoretical max BF16 compute 989 TFLOPS/s and memory 3350 GB/s), for query length 2, with BF16 format. Distributed offset calculation gives 1.2-1.5x speedup, allowing page size 1 to match the speed of page size 64. addr... | https://arxiv.org/abs/2505.21487v1 |
Prefill/Decode are fixed at 8 K/4 K tokens as concurrency is swept over 16, 64, 128. Because GLA-8 stores roughly half the KV-cache per token under a TP degree of 8, it fetches less data during decoding and consistently outperforms MLA. configurations and in cases where GLA employs only tensor parallelism, while MLA co... | https://arxiv.org/abs/2505.21487v1 |
179.45 11.94 40.90 1460.61 MLA (TP8) 8K/4K 64/1280 301.57 118.99 44.58 858.95 GLA-8 (TP8) 8K/4K 128/1280 370.62 168.84 49.27 1362.84 MLA (TP8) 8K/4K 128/1280 589.07 406.52 44.58 858.69 Table 28: Mean service-level metrics for MLA and GLA-8 on x8 GPU TP server; the table reports end-to-end latency, time to the first tok... | https://arxiv.org/abs/2505.21487v1 |
DP4) 8K/4K 128/1280 211.86 25.39 45.53 2474.20 MLA (TP2, DP4) 8K/4K 128/1280 247.04 26.57 53.84 2121.88 Table 30: Mean service-level results for GLA-2 and MLA when both run with eight-way tensor parallelism and four-way data parallel attention. GLA-2 shows lower latency under various metrics. MethodPrefill/Decode lengt... | https://arxiv.org/abs/2505.21487v1 |
GLA-2 (TP8) 32K/4K 16/1280 166.00 18.09 36.12 394.76 MLA (TP2, DP4) 32K/4K 16/1280 188.37 31.25 38.36 347.88 GLA-2 (TP8) 64K/4K 16/1280 291.90 112.39 43.63 224.29 MLA (TP2, DP4) 64K/4K 16/1280 314.16 102.16 51.77 208.59 Table 34: Mean service-level results for GLA-2 only with eight-way tensor parallelism and MLA under ... | https://arxiv.org/abs/2505.21487v1 |
latency (left), lower is better, and output throughput (right), higher is better, where the sequence length can vary and it is sampled from a uniform distribution. GLA using pure TP outperforms MLA with hybrid TP and DP. MethodPrefill/Decode lengthRand. ratioMax conc. /#PromptsMean E2E Latency (s)Mean TTFT (s)Mean ITL ... | https://arxiv.org/abs/2505.21487v1 |
conc. /#PromptsMean E2E Latency (s)Mean TTFT (s)Mean ITL (ms)Output Throughput (token/s) GLA-8 (TP8) 64K/256 3/1280 24.62 12.76 46.51 31.17 MLA (TP2, DP4) 64K/256 3/1280 54.26 46.47 30.55 14.14 Table 39: Mean service-level results for GLA and MLA. GLA shows lower latency (lower is better) than MLA under various metrics... | https://arxiv.org/abs/2505.21487v1 |
1.3-1.5 times faster than MLA with DP in these settings. 36 Seqlen MLA (DP) GLA (TP=2) 2048 15.0 𝜇s 16.1 𝜇s 8192 20.8 𝜇s 19.1 𝜇s 32768 35.9 𝜇s 27.6 𝜇s 131072 81.0 𝜇s 55.0 𝜇s Table 44: Attention kernel latency ( 𝜇s) for MLA vs. GLA on two GPUs with batch=1Seqlens in batch MLA (DP) GLA (TP=2) [1024]∗15+[8192] 23... | https://arxiv.org/abs/2505.21487v1 |
arXiv:2505.21493v1 [cs.LG] 27 May 2025Reinforcing General Reasoning without Verifiers Xiangxin Zhou∗23, Zichen Liu∗14, Anya Sims∗15, Haonan Wang14, Tianyu Pang1, Chongxuan Li6, Liang Wang23, Min Lin1, Chao Du†1 1Sea AI Lab, Singapore;2University of Chinese Academy of Sciences; 3Institute of Automation, Chinese Academy ... | https://arxiv.org/abs/2505.21493v1 |
limited to domains such as mathematics and code, where rule-based verification is feasible. Reasoning is critical far beyond math and coding; however, the difficulty of answer verification in general reasoning tasks poses a major obstacle to applying this training paradigm to broader domains. To address this limitation... | https://arxiv.org/abs/2505.21493v1 |
is typically to optimize πθto maximize a given reward function R(x,o): θ∈arg max θEo∼πθ(·|x)[R(x,o)]. (1) In R1-Zero-style RL, the reward is computed by first parsing the response ointo a reasoning trace zand a final answer y. A verifier then checks yagainst the ground-truth reference answer y⋆and 2 QuestionVeriFree (O... | https://arxiv.org/abs/2505.21493v1 |
answer y⋆. Check answer using a verifier . Evaluate probability πθ(y⋆|x,z). Reward RVerifier = 1if correct, 0 otherwise. Reward RVeriFree =πθ(y⋆|x,z). Train with gradient estimator ∇θJVerifier (Eq. 3). Train with gradient estimator ∇θJVeriFree (Eq. 5). Figure 3: A pseudocode-like comparison of VeriFree (ours) and the s... | https://arxiv.org/abs/2505.21493v1 |
comparisons. However, as reported in Tang et al. [40], these verifier-free, variational-inference-based methods consistently underperform the standard verifier-based R1-Zero approach. In contrast, our formulation matches or outperforms the verifier-based baseline. One possible explanation is that our method exactly rec... | https://arxiv.org/abs/2505.21493v1 |
template shown in Template 1. We do not employ KL regularization losses or KL penalties in rewards, as recent studies suggest that removing KL terms does not have a significant impact [ 24,14]. As a result, our method does not require maintaining a reference model in memory. Template 1 (for Ours ). <|im_start|>user\n{q... | https://arxiv.org/abs/2505.21493v1 |
parsed into reasoning traces and model-predicted answers. We replace the model-predicted answers with the reference answers from the training dataset. Subsequently, a single forward pass is executed to compute the conditional probability of the reference answer, conditioned on all preceding tokens including the prompt ... | https://arxiv.org/abs/2505.21493v1 |
26.0 23.9 24.4 30.8 26.8 26.9 27.0 26.6 18.9 16.6 22.3 22.6 27.3 Qwen3-1.7B-Base-VeriFree 964 24.8 25.7 24.7 24.9 26.5 30.2 25.9 27.9 28.0 20.4 15.9 22.9 25.0 28.9 Qwen3-4B-Base 902 24.7 25.7 23.6 26.0 23.6 25.4 28.8 28.4 19.6 16.4 16.8 20.6 25.6 24.0 Qwen3-4B (w/o thinking) 1397 31.6 32.0 31.5 32.3 37.5 36.1 37.8 33.7... | https://arxiv.org/abs/2505.21493v1 |
observe an increase in response length after tuned by VeriFree, suggesting that the model explores longer reasoning traces to arrive at more accurate answers—a behavior reminiscent of DeepSeek-R1-Zero [ 10]. Results on the GPQA benchmark are provided in Appendix D due to space constraints. VeriFree leads to better lear... | https://arxiv.org/abs/2505.21493v1 |
between reasoning path zand answer yto enable answer replacement. While human-readable splits using <answer> seem intuitive, we instead define zto end at “ <answer ” (omitting “ >”), ensuring consistent tokenization boundaries (see Sec. 2.4). We compare with a variant using text-based splitting (denoted as “VeriFree w/... | https://arxiv.org/abs/2505.21493v1 |
verifiable domains. Previous work on reasoning without access to verifiable re- wards has been based around employing an additional LLM to act as a proxy verifier or reward model. NaturalReasoning [ 47] introduces a large, multi-domain dataset and presents baselines trained using RFT [ 48] and DPO [ 33], leveraging a s... | https://arxiv.org/abs/2505.21493v1 |
to solve math word problems. arXiv preprint arXiv:2110.14168 , 2021. [6]Xinrun Du, Yifan Yao, Kaijing Ma, Bingli Wang, Tianyu Zheng, King Zhu, Minghao Liu, Yiming Liang, Xiaolong Jin, Zhenlin Wei, et al. Supergpqa: Scaling llm evaluation across 285 graduate disciplines. arXiv preprint arXiv:2502.14739 , 2025. [7]Leo Ga... | https://arxiv.org/abs/2505.21493v1 |
[20] Hunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step. InThe Twelfth International Conference on Learning Representations , 2024. URL https: //openreview.net/forum?id=v8L0pN6EOi . [21] Qianchu Liu,... | https://arxiv.org/abs/2505.21493v1 |
Modeling , 2024. [36] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347 , 2017. [37] Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Y Wu, et al. Deepseekmat... | https://arxiv.org/abs/2505.21493v1 |
and efficient. https://hkust-nlp.notion.site/simplerl-reason , 2025. Notion Blog. [51] Daniel M Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593 , 2019. [52] Yuxin Zuo, ... | https://arxiv.org/abs/2505.21493v1 |
Ezis over z∼πθ(·|x). The conditional variance Vary|zand expectation Ey|zare overy∼πθ(·|x,z)for fixed x,y⋆,z. Substituting the result from Eq. (8) into the law of total variance: Varz,yˆGVerifier (x,y⋆,z,y) =Ezh Vary|zˆGVerifier (x,y⋆,z,y)i +VarzˆGVeriFree (x,y⋆,z) The second term, VarzˆGVeriFree (x,y⋆,z) , is t... | https://arxiv.org/abs/2505.21493v1 |
(w/o thinking) 20.4 3146 67.5 2047 92.1 308 82.2 1143 41.2 822 49.5 2593 29.8 2127 Qwen3-4B (w/ thinking) 33.0 7750 62.5 6123 92.9 2261 84.4 4370 41.5 5352 47.3 6432 31.8 6504 Qwen3-4B-Base-Verifier 15.6 2407 57.5 1566 72.5 377 73.8 1023 24.6 1088 45.9 1576 44.4 1266 Qwen3-4B-Base-VeriFree 16.9 2706 65.0 1904 87.5 682 ... | https://arxiv.org/abs/2505.21493v1 |
related to their intrinsic luminosity (absolute magnitude). In other words, the longer the period of pulsation, the more intrinsically luminous the star is. This period-luminosity relation was first discovered by Henrietta Leavitt in 1908 by studying Cepheid variables in the Large Magellanic Cloud. Because Cepheids are... | https://arxiv.org/abs/2505.21493v1 |
or when they can benefit from doing so. This stage is often described as the "what’s in it for me?" stage. Children at this level understand the concept of exchange and may follow rules if it leads to a reciprocal benefit. Now, let’s evaluate the options: (A) they are taught that rules are unbreakable. - This does not ... | https://arxiv.org/abs/2505.21493v1 |
arXiv:2505.21496v1 [cs.CL] 27 May 2025UI-Genie: A Self-Improving Approach for Iteratively Boosting MLLM-based Mobile GUI Agents Han Xiao1,2†, Guozhi Wang2, Yuxiang Chai1,2†, Zimu Lu1, Weifeng Lin1,2†, Hao He1, Lue Fan1, Liuyang Bian2, Rui Hu2, Liang Liu2, Shuai Ren2‡B, Yafei Wen2, Xiaoxin Chen2, Aojun Zhou1B, Hongsheng... | https://arxiv.org/abs/2505.21496v1 |
complex. Existing assessment frameworks, including those utilizing proprietary models as judges [ 22,37], fail to provide accurate outcome verification and reliable step-level validation of intermediate actions. (2) Scalable High-Quality Training Data. Due to the lack of reliable verification methods, current training ... | https://arxiv.org/abs/2505.21496v1 |
Recent advances in Large Language Models (LLMs) [ 20,21,24,32] have enabled the development of GUI agents, with Multi-modal LLMs (MLLMs) further enhancing UI information perception [ 8,11]. Prior work [ 1,30,31,43] leveraging commercial MLLMs has shown promising results across mobile and desktop environments. Meanwhile... | https://arxiv.org/abs/2505.21496v1 |
where a user copies a headline from News to Notes, the correct action in Notes (typing the headline) depends on knowing what was seen earlier in News, not just the present screenshot. To address this issue, UI-Genie-RM uses an image-text interleaved architecture that leverages past interactions to evaluate current acti... | https://arxiv.org/abs/2505.21496v1 |
Training To train an MLLM into an effective GUI agent reward model, we develop deliberately-designed data construction strategies that create a comprehensive training corpus of approximately 517k reward data. The detailed data statistics are presented in Tab. 1. We initially leverage task instructions and corresponding... | https://arxiv.org/abs/2505.21496v1 |
iterative model fine-tuning with increased task complexity. Reward-Guided Trajectory Exploration. For GUI trajectory exploration, we find traditional Monte Carlo Tree Search (MCTS) mechanisms [ 4,26] are suboptimal due to their computational expense. More importantly, conventional MCTS fails to effectively address the ... | https://arxiv.org/abs/2505.21496v1 |
benchmarks and metrics in Sec. 4.2. Ablation studies are provided in Sec. 4.3 to validate the design choices of each component. 4.1 Implementation Details We implement both UI-Genie-RM and UI-Genie-Agent based on the Qwen2.5-VL family of models due to its strong multimodal understanding capabilities. For the reward mod... | https://arxiv.org/abs/2505.21496v1 |
86.3 77.0 4.2 Evaluation Benchmarks 4.2.1 Agent Model Evaluation To comprehensively evaluate UI-Genie, we conduct experiments on both static and dynamic bench- marks. Static evaluation assesses the agent’s ability to predict correct actions in static environments where only a single frame with ground-truth action histo... | https://arxiv.org/abs/2505.21496v1 |
and success depends on its ability to adapt to dynamic UI states resulting from its interactions. The benchmark comprises 138 tasks across nine categories of frequently used offline static applications (e.g., maps, calendars, books, music players, etc.). These tasks simulate typical daily user interactions such as mana... | https://arxiv.org/abs/2505.21496v1 |
61.8 40.4 43.6 57.8 39.5 34.9 51.4 Table 5: Performance comparison of reward models on step-level and outcome-level evaluation across different task complexity categories. We report F1-score (%) for classifying actions and outcomes as positive or negative. ModelStep Reward Outcome Reward Overall Easy Medium Hard Overal... | https://arxiv.org/abs/2505.21496v1 |
(less than 5 steps), medium (5-10 steps), and difficult tasks (more than 10 steps). As shown in Tab. 6, UI-Genie-RM consistently improves performance across both metrics and all model sizes. The Qwen2.5-VL-3B model shows substantial gains, with the step-level success rate increasing from 60.3% to 63.1% and the task-lev... | https://arxiv.org/abs/2505.21496v1 |
success rate (Step SR) and task-level success rate (Task SR). Model NOverall Easy Medium Hard Step SR Task SR Step SR Task SR Step SR Task SR Step SR Task SR QwenVL2.5-3B - 60.3 7.5 50.4 11.6 63.5 7.1 58.3 0.9 +UI-Genie-RM 5 61.8 8.3 52.2 13.5 65.7 7.6 58.4 0.9 +UI-Genie-RM 10 63.1 10.2 53.5 15.5 67.0 9.7 59.6 1.9 Qwen... | https://arxiv.org/abs/2505.21496v1 |
arXiv preprint arXiv:2502.13923 , 2025. [4]Cameron B Browne, Edward Powley, Daniel Whitehouse, Simon M Lucas, Peter I Cowling, Philipp Rohlfshagen, Stephen Tavener, Diego Perez, Spyridon Samothrakis, and Simon Colton. A survey of monte carlo tree search methods. IEEE Transactions on Computational Intelligence and AI in... | https://arxiv.org/abs/2505.21496v1 |
gui agents by reinforcement learning. arXiv preprint arXiv:2503.21620 , 2025. [19] Liangchen Luo, Yinxiao Liu, Rosanne Liu, Samrat Phatale, Meiqi Guo, Harsh Lara, Yunxuan Li, Lei Shu, Yun Zhu, Lei Meng, et al. Improve mathematical reasoning in language models by automated process supervision. arXiv preprint arXiv:2406.... | https://arxiv.org/abs/2505.21496v1 |
An effective process reward model for multimodal reasoning. arXiv preprint arXiv:2503.10291 , 2025. 13 [35] Yibin Wang, Yuhang Zang, Hao Li, Cheng Jin, and Jiaqi Wang. Unified reward model for multimodal understanding and generation. arXiv preprint arXiv:2503.05236 , 2025. [36] Zhiyong Wu, Zhenyu Wu, Fangzhi Xu, Yian W... | https://arxiv.org/abs/2505.21496v1 |
UI elements are labeled with numeric tags in the screenshot. This enables UI-Genie to predict element indices rather than exact coordinates when provided Set-of- Mark visual prompts, significantly enhancing generalization across diverse interface layouts. For each action type, we define tailored parameters: the open ac... | https://arxiv.org/abs/2505.21496v1 |
or leads the agent away from the goal, mark it as [wrong]. 4. If the action is appropriate and contributes to task completion, mark it as [correct]. 5. If the agent is stuck in a loop (repeating the same action without progress), mark it as [wrong]. ##IMPOR TANT 1. An action always follows a corresponding screenshot (e... | https://arxiv.org/abs/2505.21496v1 |
2. if the agent is stuck in the very first login stage, which means it fails to log into tar get website at the beginning, that's a failure. 3. Determine if the agent has achieved all the requirements of the task instruction based on the trajectory . 4. The agent sometimes can't stop after finishing a task and continue... | https://arxiv.org/abs/2505.21496v1 |
weight of 160.9 lbs, and a height of 5"7". Figure 7: Examples of action-level reward data used for UI-Genie-RM training. The visual prompts displayed here are for illustration purposes only and are not used during model training. For simplicity, we omit the history image displays, though they are included in the actual... | https://arxiv.org/abs/2505.21496v1 |
using the Android Arena (A3) benchmark. Fig. 13 demonstrates UI-Genie-Agent-7B executing a news search task within the CNN application. The agent successfully interprets the task instruction and navigates through the application’s interface to locate and utilize the search functionality, ultimately retrieving panda-rel... | https://arxiv.org/abs/2505.21496v1 |
arXiv:2505.21564v1 [cs.CV] 27 May 2025Multi-instance Learning as Downstream Task of Self-Supervised Learning-based Pre-trained Model Koki Matsuishi1, Tsuyoshi Okita1 1Kyushu Institute of Technology 680-4 Kawazu, Iizuka-shi, Fukuoka, 820-8502, JAPAN matsuishi.kouki587@mail.kyutech.jp, tsuyoshi@ai.kyutech.ac.jp Abstract ... | https://arxiv.org/abs/2505.21564v1 |
trained encoder was then used as an instance feature extractor in downstream MIL. This provided effective representation information for the patch images, making it easier to perform MIL even with 256 instances. In summary, our contributions are as follows: • We propose using a pre-trained model with self- supervised l... | https://arxiv.org/abs/2505.21564v1 |
as a binary classification problem. In this case, a bag is con- sidered positive if it contains at least one positive instance, and negative if it contains only negative instances. The bag’s label does not depend on the order of the instances, and the number of instances in a bag does not have to be the same across all... | https://arxiv.org/abs/2505.21564v1 |
is differentiable, the model can be trained end-to-end using backpropagation. Self-supervised Learning Using Patch Images In this study, we divide brain CT slice images into grid- based patch images, treating each patch as an instance and Figure 1: Overview of our method. In the first stage, self-supervised learning is... | https://arxiv.org/abs/2505.21564v1 |
format, windowing is applied as a preprocessing step. The window range determined by spe- cialists is used to select the target HU range and adjust the contrast. If the window width is described in the DICOM file metadata, that value is used. Let abe the lower window limit (unit: HU), bbe the upper window limit (unit: ... | https://arxiv.org/abs/2505.21564v1 |
valid 847 76 923 test 836 89 925 Dataset 2-3train 7394 678 8072 valid 921 88 1009 test 934 76 1010 Experimental Procedure To verify the effectiveness of our method, we conducted comparative experiments under the following conditions: (A) Using only attention-based deep multiple instance learn- ing. This serves as the b... | https://arxiv.org/abs/2505.21564v1 |
are shown in Table 1 and Figure 3. The evaluation values and attention maps for hypodensity (dataset 2-2) classification under each condition are shown in Table 2 and Figure 4. The evaluation values and attention maps for hypodensity (dataset 2-3) classification under each condition are shown in Table 3 and Figure 5. T... | https://arxiv.org/abs/2505.21564v1 |
baseline method (A) across all evaluation metrics. Comparing with (B), in the case of transfer learning, the pro- posed method (D) shows a 2.4% improvement in the F-score over (B). For fine-tuning, the proposed method (D) matches (B) in recall, but (B) outperforms in other evaluation metrics. Examining the attention ma... | https://arxiv.org/abs/2505.21564v1 |
for improving precision; and third, to evaluate theperformance of the proposed method on tasks other than the classification of brain hematoma images. References Boulouis, G.; Morotti, A.; Brouwers, H. B.; Charidimou, A.; Jessel, M. J.; Auriel, E.; Pontes-Neto, O.; Ayres, A.; Vashke- vich, A.; Schwab, K. M.; Rosand, J.... | https://arxiv.org/abs/2505.21564v1 |
data augmentation and self-supervised learning. Medical Image Analysis , 69: 101978. Lin, T.; Yu, Z.; Hu, H.; Xu, Y .; and Chen, C.-W. 2023. Inter- ventional bag multi-instance learning on whole-slide patho- logical images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition , 19830–198... | https://arxiv.org/abs/2505.21564v1 |
arXiv:2505.21566v1 [cs.CV] 27 May 2025Diffusion Model-based Activity Completion for AI Motion Capture from Videos Gao Huayu1, Huang Tengjiu2, Ye Xiaolong3, Tsuyoshi Okita*4 Kyushu Institute of Technology Abstract AI-based motion capture is an emerging technology that offers a cost-effective alternative to traditional m... | https://arxiv.org/abs/2505.21566v1 |
Models (DDPMs) for human motion generation, focusing on control signals such as textual descriptions [44, 17, 9], video [12, 30], images [16], and 3D objects [48]. However, these approaches typically generate only short, disconnected motion Diffusion Model-based Activity Completion for AI Motion Capture from Videos IJA... | https://arxiv.org/abs/2505.21566v1 |
actions. How- ever, its generated sequences are relatively short (limited to 125 frames), and the model requires extensive training time. To ad- dress these limitations, we designed a novel noise prediction net- work incorporating a gate module and a position-time embedding module. •Our approach accepts motion sequence... | https://arxiv.org/abs/2505.21566v1 |
AI Motion Capture from Videos IJABC: International Journal of Activity and Behavior Computing 6 2.1 Diffusion Model Diffusion models have gained popularity as generative models due to their ability to produce high-quality samples. They have demon- strated remarkable success in image generation and have recently been ad... | https://arxiv.org/abs/2505.21566v1 |
im- plicit neural networks, generating highly realistic 3D human models from different viewpoints. It can also adapt the appearance of the hu- man body based on input pose information. In mesh reconstruction, the normal vector for each point on the model is computed. We will utilize the normal vector computation code i... | https://arxiv.org/abs/2505.21566v1 |
adapt this technology, which let it increase its performance better. Adding noise up to step t-1, we perform iDCT transformation to convert the frequency-domain signal back to the time-domain signal. At the same time, we also pass pure noise through our noise model, then perform a denoising process to obtain the freque... | https://arxiv.org/abs/2505.21566v1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.