PyTorchKR Papers

신규 논문

총 2,195편
태그·기간 등 상세 필터

카테고리 탐색

로그인 후 이 카테고리 구독

arXiv:2611.37957v1cs.AI

MultiVerse: A Trustworthy Tool-Use Benchmark for Real-World Task Delegation under Harnesses

As agents improve, users delegate increasingly complex tasks involving sequences of tool calls across multiple services. These requests are often incomplete or constrained, requiring agents to ask for clarification or follow instructions that change how they ordinarily use tools and communicate. Moreover, users often make requests through end-user harnesses, such as Hermes and OpenClaw, which change how models act. Therefore, a tool-use benchmark for such tasks must use realistic service interfaces, support multi-turn user interaction, assess instruction-based behavioral steering, and compare models across harnesses. Trustworthy evaluation also requires distinguishing agent failures from errors introduced by the infrastructure, harness integrations, user simulators, or verifiers. We present MultiVerse, a benchmark for cross-service delegation that simulates 35 real-world services with 809 tools in a self-contained sandbox. Its tasks include behavioral instructions and multi-turn settings that test whether agents seek missing information from a reticent user simulator. We compare nine proprietary and three open-weight models on the same tasks under one bare harness (a simple loop) and four end-user harnesses. The strongest model-harness pair achieves a mean success rate of 70.0%, compared with 52.4% with an open-weight model. Instruction-following weaknesses differ across constraints and models. Agents struggle to obtain user-held information: in the multi-turn setting, 29.5% of attempts end without the agent consulting the user for information needed to solve the task. No harness is consistently best. On average, end-user harnesses perform nearly identically to the bare harness, despite large gains and losses for particular model-harness-setting combinations. MultiVerse enables the community to reliably test agent improvements in the various aspects that matter in real-world tool use.

arXiv:2611.37952v1cs.AI

Native Position Reindexing for Sparse Attention

Sparse attention typically inherits positional encodings designed for dense attention, despite changing each query's context. Although sparse attention bounds the number of attended keys, these encodings retain large original-sequence distances poorly covered or unseen during training. We argue that positional distances should instead be co-designed with sparse attention, letting long-range interactions share positional representations with short-range ones. To realize this co-design, we make position reindexing native to sparse-attention training: each query's selected tokens receive consecutive positions in their original order during both training and inference, limiting relative distances to the attention budget rather than the full sequence length. Unlike inference-time reindexing in StreamingLLM, native training lets the model adapt to these query-dependent positions rather than merely tolerate them. Applying this rule to rotary position encoding (RoPE) yields ReIndexing RoPE (RiRoPE). A challenge is that query-dependent rotations hinder reuse of rotated keys, erasing the efficiency gains of sparse attention; we address it with structure-aware rotation reuse and fused kernels that preserve tensor-core matrix multiplication without materializing per-pair rotated keys. With matched OLMo-3-7B continued pretraining, RiRoPE outperforms a sparse-attention baseline using RoPE with YaRN at 64K by 6.14 RULER points ($74.10 \to 80.24$) and 4.40 HELMET points ($42.97 \to 47.37$). At 512K---eight times the training length---it retains about 90\% of its 64K RULER score without further training or positional retuning. Native training also outperforms inference-only switching by 21.24 RULER points at 256K. Our work motivates co-designing positional encodings with sparse attention, reframing sparsity not merely as a computational constraint but as an opportunity for better long-context modeling.

arXiv:2611.37942v1cs.LG

PocketRL: Training a 7B Language Model with Reinforcement Learning on One RTX 5090

It is now common to post-train large language models with reinforcement learning with verifiable rewards (RLVR), but its heavy memory use, and hence high cost, is an important bottleneck for RLVR research and a major expense in training frontier models. We introduce PocketRL, a low-cost, memory-efficient RLVR code base that trains a 7B model on a single RTX 5090 and a 27B model on only four, without CPU offloading. PocketRL combines two ideas. First, we project each layer's gradient and optimizer state onto a small basis fitted to the layer's input activations by a QR factorisation, which we call ActGRA, and show that such a basis retains far more of the gradient than the random projections used in prior work. Second, we propose training on 16-bit weights with half an extra byte per weight that carries the rounding error, which prevents small updates from being lost. The same 16-bit weights are used for inference, which saves further memory. Together, these methods reduce memory use for training a 7B model by 84%. This enables us to train a competitive 7B model in less than 8 hours on a single RTX 5090 for just $4.71, less than 9% of the cost of training comparable models. PocketRL also reduces the cost of a 27B training step by more than 77% compared with similar code bases. We open-source our PocketRL code base.

arXiv:2611.37936v1cs.LG

Bench the Weights: Can AI Agents Debug Neural Networks?

Weight-space programming, the ability to read a network's weights and edit them directly without gradients, is an emerging capability of coding agents. We introduce Bench the Weights, a benchmark that tests whether AI agents can debug neural networks in weight space. Each of its 42 problems is a public pretrained network, from seven domains and with up to 230 million parameters, in which a bug-injection agent has placed two or three targeted bugs. The bugs touch at most 3% of the weights, are hard to spot, resist simple workarounds and can be reversed exactly. A solver agent receives the modified network with 25 minutes and 50 forward passes on a CPU, no gradients and no indication that anything has been changed, and we score the share of the lost performance it recovers on a hidden test split. Across 19 frontier models running in their providers' harnesses, the best agent, GPT-6.2 Astra in Codex, recovers 80% on average and solves 30 to 31 of the 42 problems, with at least 75% recovery, while most models recover between 10% and 38%. Trajectory analysis shows that agents usually locate the bugs but often undo correct edits that do not yet improve the score. Performance increases with more time, from 25% to 83% for Gemini 4 Neon at two hours, and has improved quickly across model releases.

arXiv:2611.37917v1cs.CL

Training with Honeypots: Reshaping How LLMs Fail Under Adversarial Attacks

Automated red-teaming of Large Language Models (LLMs) commonly relies on attack success rates (ASR) as a proxy for real-world harm, implicitly assuming that judge-detected violations correspond to actionable risk. In practice, safety judges are imperfect, and outputs that satisfy automated criteria for harm can vary widely in their operational usefulness. In this work, we investigate whether model failure modes can be reshaped so that, when defenses fail, they preferentially produce reduced-actionability outputs rather than highly actionable harm. Inspired by honeypots in computer security, we construct responses that are frequently flagged as harmful by automated judges yet provide limited real-world operational value, and treat them as hard negatives in the safety training pipeline. Our findings show that shaping how models fail under attack can improve overall safety by reducing both the real-world impact and the frequency of harmful failures, and serves as a practical complement to ASR-based evaluations. Our code is available at https://github.com/samuelsimko/training_with_honeypots.

arXiv:2611.37881v1cs.CL

Puns Lost in Translation: A Location-Based Measure and Benchmark for English-French Pun Translation

Existing machine translation measures and LLM-as-a-judge setups focus on global fluency and adequacy, so they fail to assess whether English-French translations preserve a pun or wordplay. Pun translation is a hard testbed for creative generation, requiring reconstruction of ambiguity and wordplay, where literal but unfunny outputs can still score highly under current evaluation paradigms. We introduce an annotated English-French pun test collection and a location-based measure to evaluate the preservation of the pun-bearing span, showing that it closely tracks human judgments and cleanly separates literal from successful translations, where standard measures and LLM judges do not. Our results argue for location-aware, task-specific evaluation of creative MT and motivate extending location-based measures and resources to broader forms of wordplay, figurative language, and other language pairs.

arXiv:2611.37839v1cs.CL

A Single Pass Captures the Gain of Document Assessment in Retrieval-Augmented Generation

Retrieval-augmented generation gives a large language model (LLM) only a few retrieved documents, so outdated or misleading passages can displace useful evidence. Document assessment scores the candidates before generation, and recent systems spend extra LLM calls on repeated judgments or specialized assessor roles. However, it is unclear how much of this work a system with a fixed retriever and answer generator needs. To answer this question, we compare assessment recipes under a matched protocol that fixes the questions, candidate pools, answer generator, and context budget. Across conflicting, entity-ambiguous, and open-domain question answering with five open-weight LLMs, we find that a single assessment pass, such as one relevance judgment for each document, captures the gain of assessment, whereas repeated judgments, extra roles, and answer voting multiply the calls without a reliable further gain. The gain comes chiefly from which documents enter the context and tends to be largest under tight budgets. For new retrieval settings without answer labels, we propose a score-entropy pilot that recommends which recipe to validate first, and on two held-out benchmarks it recommends the most accurate recipe or one nearly tied with it.

arXiv:2611.37838v1cs.CL

GeoGroup: Scalable Geometry-Preserving Dictionary Sharing for LLM Compression

Cross-layer redundancy offers a powerful opportunity to compress large language models, but sharing a representation across projections must account for the different inputs they receive. Existing approaches either fit all members using pooled input statistics, obscuring these differences, or retain projection-specific statistics while restricting sharing to pairs. We introduce GeoGroup, a training-free framework that shares sparse dictionaries across groups of arbitrary size and preserves each projection's activation geometry through a matrix-free preconditioned conjugate-gradient solver. Broader sharing spreads the cost of a dictionary across more projections, freeing storage for richer sparse coefficients. Ablations of grouping, storage allocation, and preconditioning identify consecutive grouping with Jacobi as an effective low-cost default, while pooled preconditioning offers further accuracy at higher cost. At 40\% nominal compression of attention and MLP projections, consecutive groups of sixteen retain 95.5\% and 97.7\% of dense seven-task accuracy on Llama-3-8B and Qwen3.5-9B, improving on GeoPair, a state-of-the-art pairwise factorization method, by 6.11 and 10.01 percentage points. The gains extend to Llama-3.2-1B, Phi-4, and Gemma-3-4B, where GeoGroup improves on GeoPair by 5.23, 6.84, and 10.18 points at the same nominal compression. Selective gate-up compression of Qwen3.8-27B at CR 0.6 achieves an average accuracy of 74.04\%, compared with 74.37\% for the dense model, and accelerates full-model decode by 1.13x, demonstrating a practical quality-speed trade-off beyond the primary ablation models.

arXiv:2611.37828v1cs.AI

Explanation-Guided Distillation for Human-Aligned LLM-Judges

Large language models (LLMs) are increasingly used as automated evaluators designed to emulate human judgment, yet reliably matching human ratings remains a challenge. Prompted LLM judges often lack task-specific supervision, while specialized reward models are prone to overfitting. We propose Exp-Eval, a framework that combines the strengths of both approaches by distilling structured, criterion-level explanations from a strong LLM judge into lightweight models trained on task-specific supervised data. The system decomposes evaluation into two components: a rating module that predicts human scores and an explainer module that generates structured evidence to support those predictions. To promote the usefulness of the explanations and encourage exploration of the explanation space, Exp-Eval introduces an RLHF-based training procedure for the explainer module. The explainer is first fine-tuned on teacher-generated explanations and then refined via RLHF, using a reward signal provided by the rating module, which is constructed based on observed ratings in the supervised data. To improve robustness under distribution shift, we introduce an online active ensembling strategy that dynamically combines the rating module's scores with the teacher's ratings under a label query-budget, with provable sublinear regret guarantees. Experiments across diverse domains show that Exp-Eval improves correlation with human judgments over strong LLM-as-a-judge baselines while maintaining efficiency. These results demonstrate that Exp-Eval offers a flexible, efficient, and human-aligned solution for scalable system evaluation.

arXiv:2611.37814v1cs.CL

Rectifying Latent Dynamics inside Looped Transformers

Looped transformers iteratively refine token representations in the hidden space, providing a promising way for latent reasoning. However, the test-time scaling of looped transformers is limited by the overthinking issue: the performance first peaks and then drops with the growth of loop iterations. We analyse the latent dynamics and identify two potential causes for this phenomenon: 1) an excessively large update in the first loop directly leads tokens into the wrong space; 2) the persistent and stochastic late-stage drift pushes the tokens from right to wrong. To address these issues, we propose Rectifying Latent Dynamics (RLD), an explicit regulation approach comprising three components: 1) Recurrent Depth Modulator to inject recurrence depth signal and dynamically control the update magnitude according to token difficulty and loop iteration; 2) Latent Residual Rectifier to capture evolving update directions and rectify distorted traces, making the trace smoother and more coherent; 3) Update Clipping to constrain and slow down excessive latent updates and underscore step-by-step reasoning potential. With fewer than 5M trainable parameters, RLD is easy to deploy and generalizes well to multiple tasks and unseen recurrence depths. We evaluate RLD on both language and vision-language models across 18 benchmarks. Specifically, the vanilla LoopVL model suffers an 80.7% performance degradation on ChartQA when the inference depth is $2\times$ the default depth, while RLD preserves 95.2% of the vanilla model score at default depth. For looped language models, standard SFT faces a 77.2% drop on GSM8k when the depth exceeds the training depth, while RLD only loses 0.8% of the highest score under this setting.

arXiv:2611.37772v1cs.CL

Labels, Sources and Routes: Presentation Sensitivity and Advice Following in Language Models

A hallmark of intelligence is the ability to make reliable decisions even when the same evidence takes a different form. Can language-model agents do this consistently? Across 59 model versions, we collected 381,258 responses and navigation episodes to study ten operational biases, namely structural, positional, numerical, ordinal, statistical, informational, logical, semantic, cognitive, and self-referential. We began with choices and rankings for which any option was acceptable. How often did the label still matter? Choices were uneven in 743 of 1,053 eligible tests, including 199/363 with arbitrary identifiers, 245/309 with ordered labels, and 299/381 with familiar words. The first option drew more choices than expected in 265 of 711 comparisons. Asked for a random integer from 1 to 10, 38 of 43 versions returned 7 most often. To see whether individual answers changed, we tested 41 versions on 60 public reasoning questions. GPT-4o scored 39 out of 50 on the objective questions before and after relabeling. Five correct answers became wrong, offset by five wrong answers that became correct. Changing the stated author of an answer affected its rating. At requested temperature 0.7, the same text scored 0.105 points higher on a seven-point scale, averaged over 40 versions, when attributed to the model itself than to another model. In the matched test at requested temperature 0.7, all 34 versions corrected every retained wrong answer under either label. On the two original grids, goal success averaged 78.8% with helpful advice and 3.8% with misleading advice. We then tested 96 maps with a no-advice condition. Even with the full map and rewards visible, misleading advice reduced success by 18.75 percentage points for Command A and 13.54 for GPT-4.1-mini relative to unaided navigation. We therefore report which answers changed, which errors were corrected, and which routes reached the goal.

arXiv:2611.37746v1cs.CL

HistXLS: Cross-Lingual Text Summarization of Historical Documents

An edition of approximately 2,600 medieval Latin charters issued by Emperor Frederick~II (1194--1250) requires \emph{Kopfregesten}---standardized single-sentence German summaries following strict diplomatic rules. Writing them manually demands senior Latin scholars and remains a major bottleneck in the multi-decade project. We investigate the potential of large language models (LLMs) for this low-resource cross-lingual summarization task, comparing few-shot prompting, modular translation/summarization pipelines, and parameter-efficient end-to-end finetuning across encoder--decoder and decoder-only architectures ranging from 0.3B to 72B parameters. To assess quality beyond standard NLP metrics, we develop an evaluation framework that aggregates 14 metrics across five equally weighted categories into a composite score in $[0,1]$, using an LLM-as-a-Judge to verify the diplomatic rules that surface-level metrics miss. A finetuned Qwen2.5-72B achieves the best overall score, and a finetuned 8B model surpasses the strongest 70B few-shot result; nevertheless, guideline-explicit few-shot prompting remains a competitive training-free baseline for large models, but it fails for small ones. Modular pipelines perform substantially worse: first-stage errors propagate irreversibly, as the second stage never attends to the original source. The finetuned small models (3B--8B) run on consumer hardware, making them deployable in a resource-constrained workflow as draft-generation tools with expert review.

arXiv:2611.37741v1cs.CL

SeenRef: How Reference Choice Distorts Few-Shot Style-Adaptation Scores

Few-shot style adaptation is evaluated by asking an authorship verifier how close a system's output is to reference texts by the target author, and the score is read as closeness to that author. We show that the score depends on which texts serve as the reference: when they are the system's own examples, as in the three protocols we read, it is not a reliable measure of closeness to the author. On a Korean and English benchmark where the author's own text is known, a reference that the adapter was trained on places its output closer to the author than unseen references do, and on LUAR above the author. Memorisation alone does not explain this: an adapter that reproduces its training texts in 1.7% of cases has the same estimated inflation as one that does so in 95.5%, and the inflation persists, somewhat reduced, when shared spans are masked. Two simple remedies fall short. Early stopping makes the inflation of the default adapter undetectable but degrades its outputs, and scoring against the author's own text with the same verifier confounds style with shared wording. We introduce SeenRef, which rescores outputs against several unseen texts by the author and reports the difference. With two simple filters, the same score selects outputs closer to the author's text. We detect no inflation with a larger training set or in a scaled-down rerun of AuthorMix.

arXiv:2611.37726v1cs.CL

Same Change, Different Meaning: A Paired Audit of Epistemic Drift in LLM Rewrites

Language models are widely used to polish grammar and style in scientific writing, but rewriting can introduce subtle semantic errors. We introduce Semantic Audit, a paired test of meaning-preservation checks, to answer the question: does a judge model give the same verdict on a single semantic edit when the surrounding prose is rewritten? On 80 source topics held out from an earlier study, we plant one change in modality, frequency, or precision and retain its full sentence verbatim in a broader rewrite. Four model endpoints judge the bare edit, the broader rewrite, and the same rewrite with a short commitment checklist. Our audit exposes a gap between preserving a passage's overall message and preserving its commitments. Across four judges, rewriting increased false approval by 23.3 - 60.0 percentage points on complete pairs. The checklist reduced it by 24.0 - 76.0 points. The eight complete-pair tests all had Holm-adjusted p < .001, and the direction of each effect survived every assignment of the 36 missing outcomes. Three contrasts met the prespecified coverage and control criteria.

arXiv:2611.37706v1cs.CL

Can an LLM Reason Like a Lawyer? Benchmarking the ability of LLMs to map the facts of a case to the elements of the applicable legal rule

Legal judgment prediction has made substantial progress in recent years, yet existing work evaluates whether models reach correct conclusions rather than whether they reason correctly. The core of legal decision-making is the mapping of case facts to the elements of an applicable legal provision, a step that prior benchmarks neglect. We introduce LegalReasoningBench, the first benchmark that tests legal syllogism from the perspective of mapping facts of a case to the elements of doctrine. Our benchmark is built on 375 judgments of the European Court of Human Rights (ECtHR) discussing Art. 11 ECHR on freedom of assembly. We exploit that the court routinely splits the decision in a stage reporting the facts of the case, and an evaluation stage in which it uses these facts selectively for justification. We give the (preprocessed) list of facts to 10 downstream LLMs and evaluate their justifications. The pipeline is validated by three expert legal annotators. Downstream models are reasonably accurate in predicting whether Art. 11 has been violated, and which elements of doctrine are critical, but perform substantially worse at attributing specific facts to doctrinal elements. Essentially they make the right decision, but for the wrong reasons. This weakness is invisible under standard evaluation metrics. Our pipeline can easily be adapted to any legal rule that follows the Civil law tradition, i.e. to legal reasoning that requires the mapping of facts to an abstract legal rule.

arXiv:2611.37705v1cs.CL

REE-BoN: Efficient Best-of-N Scoring via Depth-wise Retrieve-Rerank

Best-of-N selection scores N candidates with a reward model, requiring N full forward passes. Since intermediate transformer layers are known to carry rich task-relevant information, we ask whether early layers of a reward model can filter candidates before committing to full-depth evaluation. We propose REE-BoN, a "retrieve-rerank" pipeline along the depth axis of a reward model: shallow layers cheaply narrow the candidate set, and deeper layers discriminate among the shortlist. To make early layers reliable filters, we train lightweight exit heads on a frozen backbone with a margin-weighted multi-response Bradley-Terry loss. We jointly optimize which layers filter and how many candidates each keeps on a small calibration set, but also provide a zero-calibration alternative. With a default setting shared by all 20 configurations, spanning five reward models, two preference datasets and two policies, the pipeline cuts reward-model scoring FLOPs by 41% on average. In 17 of the 20 configurations, its selection quality is at most 1% below full depth, on a scale normalized between random and oracle selection. When savings are reinvested into additional candidates, the pipeline improves selections at matched budget.

arXiv:2611.37690v1cs.CL

Investigating the effect of spontaneous speech features on by-speaker automatic speech recognition performance

There is growing interest in using automatic speech recognition (ASR) systems to produce transcripts of real-life spoken interactions. ASR systems consistently perform less well with spontaneous speech compared with planned speech. Using a dataset of thirteen adult males of non-standard varieties of British English, we provide a linguistic evaluation of by-speaker ASR performance, analysing disfluency and articulatory imprecision to better understand ASR transcription errors. We observe between-speaker variability across the dataset and a complex interaction of speech features that can explain peripheral performance. The work demonstrates that ASR performance can be better understood by accounting for speech- and speaker-related factors.

arXiv:2611.37670v1cs.CL

SkillACE: Fine-Grained Agent Skill Evolution via an Adaptive Error Taxonomy

Skill self-evolution enables large language model (LLM) agents to accumulate reusable procedural knowledge from execution experience without updating parameters. Existing methods either consolidate this experience into a single shared Skill or maintain a library of Skills, each revised with feedback from the tasks that invoke it. Tasks sharing a Skill, however, often fail for different reasons, so each revision mixes unrelated errors and a rule that fixes one error interferes with other tasks. We argue that error categories are the natural unit for organizing and revising Skills, because failures that share an error call for the same correction. Since these errors vary across environments and only surface during execution, we propose SkillACE, which induces an adaptive error taxonomy from observed failures and pairs each category with one fine-grained Skill revised only with that category's failures. Because this pairing persists throughout evolution, the correction for each error accumulates in its own Skill. On four agentic benchmarks, SkillACE outperforms all compared baselines, improving the average score by 11.5 points over using no Skill, and its Skills transfer effectively to other LLMs. These results establish the adaptive error taxonomy as an effective unit for accumulating agent experience.

arXiv:2611.37660v1cs.CL

Spontaneous reasoning reorders language models' gains from chain-of-thought

Chain-of-thought prompting asks a language model to reason in writing before answering. Its benefit is measured against a direct answer, for which the model is asked for the answer alone. In 16 of 20 published comparisons, nothing stopped the model from writing out its reasoning anyway. Many models do: told to show no working, 29 open-weight models answered at length a third of the time. We compared this requested answer with a forced one, which we began for the model and cut short after a few words. The most accurate of 36 models, a commercial model with reasoning off, gained 2.7 points from chain-of-thought against its requested answers and 16.0 against its forced ones. Measuring gains against the forced answer instead of the requested one reversed which of two models gained more in about one pair in five, shrank the measured advantage of stronger models and reversed the measured effect of five-shot prompting in arithmetic. Flagship models no longer let reasoning be switched off, so their measured gains depend on how the direct answer is built.

arXiv:2611.37659v1cs.CL

Know Your Role, Take Your Turn: Socially Grounded Multi-Party Dialogue Agents

As intelligent assistants become more deeply embedded in everyday life, future AI agents must participate naturally in dynamic multi-party conversations. Doing so requires understanding social roles, recognizing whom an utterance targets, deciding when to speak, and responding appropriately. In this work, we investigate how social relationship information shapes these capabilities through a three-stage diagnostic framework consisting of addressee recognition, turn-taking judgement, and response generation. We evaluate four LLMs on MPDD and a reconstructed English subset of Bazinga! across three levels of social information: none, positional, and relational. We additionally examine results by addressee mention type to determine when social cues provide the greatest benefit. Results show that relationship-aware prompting consistently improves addressee recognition in Chinese multi-party dialogue, with particularly clear benefits for role-based references, and can also improve turn-taking judgement and response generation. These findings suggest that socially grounded reasoning is an important component of AI agents that can better understand their roles, take appropriate turns, and participate naturally in multi-party conversation.