PyTorchKR Papers

“Code Generation”

총 363편
태그·기간 등 상세 필터

카테고리 탐색

arXiv:2610.35523v2cs.SE

Ranking Function Generation with LLMs for Termination

Ranking functions are a fundamental technique for proving loop termination, but synthesizing them remains challenging and often requires substantial expertise. Despite considerable progress in their automated synthesis, existing approaches remain limited in their effectiveness. We propose RAINFALL, a neuro-symbolic framework that tightly integrates large language models (LLMs) with symbolic verification. To our best knowledge, RAINFALL is the first to employ a generate-verify-refine paradigm for LLM-based ranking function synthesis. RAINFALL formulates ranking function synthesis as a constrained code-completion task, inserting placeholders into the input program that the LLM must fill in four predefined slots per loop. The resulting program is checked by a symbolic verifier. Successful verification yields a valid ranking function, while verification failures produce diagnostics that are translated into natural-language feedback to guide iterative refinement. We evaluate RAINFALL on two public benchmark suites comprising 358 terminating C programs. Using DeepSeek-V4.1-Flash, RAINFALL synthesizes verified ranking functions for 333 programs (93.02%), outperforming all evaluated baselines. Notably, it solves 22 more programs than PROTON 2.1, the winner of the SV-COMP 2026 Termination Category. Combining RAINFALL with PROTON 2.1 further increases the success rate to 96.65% (346/358 programs). Ablation studies demonstrate the contributions of placeholder contracts, few-shot examples, symbolic verification, and diagnostic feedback, while experiments across different LLMs establish the broader applicability of the framework.

arXiv:2605.17291v2cs.LG

LLM 추론을 위한 단계별 루브릭 보상

Step-wise Rubric Rewards for LLM Reasoning

검증 가능한 보상을 활용한 강化학습(RLVR)은 최종 답의 정확성을 이용해 언어 모델의 추론을 향상시키지만, 중간 단계에 대한 지도는 부족하다. Rubrics as Rewards(RaR)와 같은 루브릭 기반 방법은 더 세밀한 기준을 제공하지만, 루브릭 점수를 응답 수준의 스칼라로 합쳐 버린다. 이로 인해 기준 수준의 구조가 손실되고, 정답 응답 내의 잘못된 단계가 보상받으며, 오답 응답 내의 타당한 단계가 불이익을 받고, 무제한적인 자기 수정을 부추길 수 있다. 샘플링된 1,000개 문제에서, 정답 응답의 단계 중 18.2%는 틀렸고, 오답 응답의 단계 중 49.9%는 옳았다. 본 논문은 Step-wise Rubrics as Rewards(SRaR)를 제안한다. SRaR은 (i) LLM 판정자를 사용해 루브릭 항목을 추론 단계에 할당하고, (ii) 롤아웃 간 단계 점수를 정규화하여 학습이 품질 차이에 집중하도록 하며, (iii) 안정적인 결과 기준선을 유지하는 분리형 어드밴티지 추정기를 통해 단계별 보상과 결과 보상을 결합한다. 또한 검증된 올바른 추론 경로와 결함 있는 추론 경로로부터 기준을 대조적으로 증류하여 16K 문제 규모의 루브릭 데이터셋을 구축한다. 여섯 개의 수학 벤치마크에서 SRaR은 Qwen3-8B-Non-Thinking과 Qwen3-32B-Non-Thinking에서 평균 정확도를 RaR 대비 각각 3.57점과 2.75점 향상시킨다. AIME 2025에서는 충실한 추론 비율(Faithful Reasoning Rate)을 34.5%에서 46.7%로 높이고, 자기 수정 반복 현상을 48.1%에서 26.5%로 줄인다. 또한 SRaR은 네 개의 코드 생성 벤치마크 중 세 개에서 최고 성능을 달성한다.

arXiv:2606.02955v3cs.CL

Fast-dLLM++: Fr\'echet Profile Decoding for Faster Diffusion LLM Inference

Diffusion large language models promise parallel token generation, yet inference remains bottlenecked by deciding which masked tokens can be safely committed together. Fast-dLLM addressed this with KV caching and confidence-guided parallel decoding, but its decoding theory uses a homogeneous high-confidence assumption that effectively reduces each candidate set to its weakest selected token. We argue that this leaves speed on the table because real decoding steps exhibit heterogeneous confidence profiles. We propose Fast-dLLM++, a training-free extension that introduces Fr\'echet profile decoding: selecting parallel commit sets from the full sorted confidence profile rather than a single worst-case confidence. The resulting rule is a heterogeneous-confidence generalization of Fast-dLLM's factor selector and it recovers the previous rule exactly in the equal-confidence case and adds a provable heterogeneity bonus when the selected tokens have uneven confidences. Fast-dLLM++ leaves the model, diffusion process, and cache implementation entirely unchanged, making it a drop-in replacement for existing Fast-dLLM decoding. Experiments on GSM8K, MATH, HumanEval, and MBPP with the LLaDA-8B model show that the theoretical improvement translates directly into empirical gains: profile-aware selection improves the accuracy-throughput frontier by exploiting safe parallelism that weakest-token rules miss, achieving up to 37% higher throughput at comparable accuracy. Our code release is at https://github.com/Ringo-Star/FastdLLM_plusplus.

arXiv:2603.22677v2cs.AI

MuQ-Eval: An Open-Source Per-Sample Quality Metric for AI Music Generation Evaluation

Distributional metrics such as Fr\'echet Audio Distance cannot score individual music clips and correlate poorly with human judgments, while the only per-sample learned metric achieving high human correlation is closed-source. We introduce MUQ-EVAL, an open-source per-sample quality metric for AIgenerated music built by training lightweight prediction heads on frozen MuQ-310M features using MusicEval, a dataset of generated clips from 31 text-to-music systems with expert quality ratings. Our simplest model, frozen features with attention pooling and a two-layer MLP, achieves system-level SRCC = 0.957 and utterance-level SRCC = 0.838 with human mean opinion scores. A systematic ablation over training objectives and adaptation strategies shows that no addition meaningfully improves the frozen baseline, indicating that frozen MuQ representations already capture quality-relevant information. Encoder choice is the dominant design factor, outweighing all architectural and training decisions. LoRA-adapted models trained on as few as 150 clips already achieve usable correlation, enabling personalized quality evaluators from individual listener annotations. A controlled degradation analysis reveals selective sensitivity to signal-level artifacts but insensitivity to musical-structural distortions. Our metric, MUQ-EVAL, is fully open-source, outperforms existing open per-sample metrics, and runs in real time on a single consumer GPU. Code, model weights, and evaluation scripts are available at https://github.com/dgtql/MuQ-Eval.

arXiv:2503.08907v3cs.LG공식 코드 · Papers with Code

모델에서 실험으로: DYNASTY 실험 시설에 대한 얕은 순환 디코더 네트워크

From Models To Experiments: Shallow Recurrent Decoder Networks on the DYNASTY Experimental Facility

얕은 순환 디코더(Shallow Recurrent Decoder) 네트워크는 희소 관측을 고차원 모델 데이터와 결합하는, 상태 추정을 위해 최근 도입된 새로운 패러다임이다. 이 아키텍처는 표준 데이터 기반 방법에 비해 다음과 같은 중요한 장점을 지닌다. 즉, (무작위로 선택된 경우에도) 단 세 개의 센서만으로 물리 시스템의 전체 동역학을 재구성할 수 있고, 축소 기저로 생성된 압축 데이터로 학습할 수 있으며, (측정이 쉬운) 단일 장 변수를 측정하여 관측할 수 없는 결합된 시공간 장을 재구성할 수 있고, 하이퍼파라미터 조정이 최소한으로 필요하다. 이 접근법은 원자로를 포함한 여러 분야의 다양한 테스트 사례에서 검증되었으나, 현장에서 관측된 양을 활용한 실제 실험 시설에의 적용은 아직 이루어지지 않았다. 본 연구는 이러한 공백을 메우기 위해, 특히 순환 연료 원자로의 경우를 중심으로 4세대 응용을 위한 내부 가열 유체에 의해 형성되는 자연 순환을 연구하는, 밀라노 공과대학교(Politecnico di Milano)에 구축된 DYNASTY 시설에 얕은 순환 디코더 아키텍처를 적용하는 것을 목표로 한다. 고충실도 데이터를 생성하기 위해 RELAP5 코드를 사용하며, 시설에서 추출한 온도 측정값을 상태 추정의 입력으로 사용한다. 본 연구의 결과는 이 접근법이 정확한 상태 추정을 제공하는 능력을 보여줌으로써 공학 시스템에 대한 얕은 순환 디코더 아키텍처의 검증을 제공할 것이다.

arXiv:2609.01470v2cs.CV

RadMatch: 소견 수준 매칭을 통한 감사 가능한 영상의학 판독문 평가

RadMatch: Auditable Radiology Report Evaluation via Finding-Level Matching

AI 시스템이 영상의학 판독문 초안 작성에 점점 더 많이 사용됨에 따라, 그 임상적 품질을 신뢰성 있게 평가하는 것은 여전히 중요한 과제이다. 본 논문은 판독문 평가를 구조화되고 감사 가능한 소견 수준 기록으로 전환하는 다단계 LLM 기반 프레임워크 RadMatch를 제안한다. RadMatch는 기준 판독문과 후보 판독문에서 소견을 추출하고, 임상적 동등성에 따라 매칭하며, 각 매칭을 열 가지 임상 속성으로 등급화하고, 모든 매칭과 매칭되지 않은 소견에 판정과 임상적 중요도 등급을 부여한다. CT에서 지표를 검증하기 위해 영상의학과 의사가 오류별로 주석을 단 흉부 및 복부 CT 판독문의 최초 공개 지표 평가 벤치마크인 MetricEval-BodyCT를 구축하여 공개한다. 이 벤치마크와 세 개의 흉부 X선 벤치마크에서, 소비자용 GPU 상의 공개 31B 판정 모델을 사용한 RadMatch는 기존에 발표된 지표보다 영상의학과 의사와 더 가깝게 일치하며, ReXVal과 MetricEval-BodyCT의 중대한 오류에서는 전문가 간 일치도에도 도달한다. 영상의학과 의사가 60건의 검사에서 판정을 감사한 결과 매칭의 98.5%와 집계된 오류의 93.6%가 확인되었다. 최신 영상의학 판독문 생성 모델을 평가했을 때, RadMatch는 여러 흉부 X선 모델과 달리 대부분의 CT 모델이 영상을 보지 않는 정상 템플릿보다 실제로 더 많은 중대한 오류를 남긴다는 것을 보여 주며, 이는 추가된 근거 없는 소견이 올바르게 보고한 기준 소견보다 많기 때문이다. RadMatch의 코드, 대시보드, MetricEval-BodyCT 데이터셋, 모든 판독문별 점수를 제공한다.

arXiv:2604.11748v4cs.CL

LangFlow: 언어 모델링에서 연속 확산이 이산 확산에 필적하다

LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling

연속 확산은 이미지, 비디오, 분자 구조와 같은 연속 데이터 양식 전반에서 고충실도, 제어 가능, 소수 단계 생성의 기반이 되어 왔다. 그러나 언어 모델링에서는 기존의 연속 확산 언어 모델(DLM)이 이산 방식에 뒤처진다. 기존의 범주형 및 심플렉스 기반 접근법은 극도로 크고 희소한 언어 공간에서 작동하며, 기존의 임베딩 공간 접근법은 이러한 희소성을 피하지만 잘 선택된 설계 공간이 부족하다. 본 연구는 임베딩 공간 DLM을 Flow Matching에 연결하고 세 가지 핵심 혁신을 더한 LangFlow로 이 격차를 해소한다. (1) 연속 흐름 기반 언어 모델을 원리적으로 평가하기 위해 새로운 ODE 기반 NLL 상계를 유도하고, (2) 노이즈 스케줄을 설정하기 위한 정보 균일 원리를 제안하며 이는 Gumbel 분포에 기반한 학습 가능한 노이즈 스케줄러의 동기가 되고, (3) 자기 조건화(self-conditioning)를 도입하여 기존 학습 프로토콜을 개정하는데, 이는 임베딩 공간 DLM의 우도와 샘플 품질을 모두 향상시키며 이산 확산에서의 사용과는 다르게 동작한다. 이 모든 것을 종합하여 LangFlow는 생성 품질에서 최상위 이산 DLM과 경쟁력을 가지며, LM1B에서 생성 퍼플렉시티 92.3, OpenWebText에서 36.5를 달성한다. 또한 Sudoku와 같은 추론 과제에서는 이산 방식을 능가한다. 생성 품질에서 이산 확산에 필적함을 보인 최초의 연속 DLM으로서, LangFlow는 연속 확산이 언어 모델링에 유망한 패러다임임을 보여 주는 명확한 증거를 제공한다. 코드: https://github.com/nealchen2003/LangFlow.

arXiv:2603.13950v2cs.CL

ToolFlood: Beyond Selection -- Hiding Valid Tools from LLM Agents via Semantic Covering

Large Language Model (LLM) agents increasingly use external tools for complex tasks and rely on embedding-based retrieval to select a small top-$k$ subset for reasoning. Prior work on attacking these systems competes for tool selection, assuming benign tools remain in the retrieved set; the robustness of the retrieval stage that produces this set is underexplored. This paper introduces ToolFlood, a retrieval-layer attack on tool-augmented LLM agents. Rather than altering which tool is chosen after retrieval, ToolFlood attacks retrieval itself: it injects a few attacker-controlled tools whose metadata is positioned to exploit the geometry of embedding space, so that these tools semantically span many user queries, dominate the top-k results, and push all benign tools out of the agent's context. ToolFlood uses a two-phase adversarial tool generation strategy. It first samples subsets of target queries and uses an LLM to iteratively generate diverse tool names and descriptions. It then runs an iterative greedy selection that chooses tools maximizing coverage of remaining queries in embedding space under a cosine-distance threshold, stopping when all queries are covered or a budget is reached. We provide theoretical intuition of retrieval saturation and show on a large catalog (ToolBench) that ToolFlood achieves up to a 95\% attack success rate with a ~1\% injection rate. The code is available at: https://github.com/as1-prog/ToolFlood

arXiv:2510.07626v2cs.LG

Large Language Model Unlearning Under the Microscope: A Benchmark Study

Machine unlearning for large language models (LLMs), known as LLM unlearning, aims to remove undesired data, knowledge, and behaviors while preserving model capabilities. Despite rapid progress over the past two years, research in LLM unlearning remains fragmented, with limited clarity on what constitutes effective unlearning and how it should be rigorously evaluated. In this work, we present a principled taxonomy of twelve recent stateful unlearning methods, grouped into three methodological families: divergence-driven optimization, representation misalignment, and rejection-based targeted unlearning. Building on this taxonomy, we revisit the evaluation of unlearning effectiveness (UE), utility retention (UT), and robustness (Rob), focusing on WMDP for hazardous knowledge and associated model capability removal. Our analysis shows that current evaluations, dominated by multiple-choice question (MCQ) accuracy, offer only a narrow perspective, often overstating success while overlooking model generation behavior. To address this gap, we introduce open question answering (Open-QA) metrics to better capture generative performance and reveal the strengths and limitations of different unlearning method families. Furthermore, we demonstrate that robustness requires finer-grained analysis. For example, vulnerabilities differ substantially between in-domain relearning and out-of-domain fine-tuning, even though both fall under model-level attacks. Through this study, we provide a full-stack re-examination of LLM unlearning and actionable guidance for designing and evaluating future methods. Code and model checkpoints are publicly available on GitHub and Hugging Face.

arXiv:2607.14962v3cs.LG

텍스트-이미지 생성에서 대표 다양성을 위한 다축 Max@K 강화학습

Multi-Axis Max@K Reinforcement Learning for Representative Diversity in Text-to-Image Generation

텍스트-이미지(T2I) 모델은 사실적이고 프롬프트에 부합하는 이미지를 생성하지만, 동일한 프롬프트에 대한 샘플은 시각적으로 구별되는 소수의 모드만을 포괄하는 경우가 많다. 인물 중심 프롬프트에서는 이러한 다양성 부족이 인구통계학적 편향을 반영하거나 증폭할 수 있다. 본 논문은 대표적 다양성을 목표 모드 포괄도, 즉 샘플 집합이 색상이나 인지된 인종 범주와 같은 사전 정의된 모드를 얼마나 잘 포괄하는가로 정식화한다. 이어서 다축 max@K 목적함수를 최적화하여 확산 T2I 모델의 포괄도를 개선하는 강화학습 후학습 방법인 MultiMaxPO를 제안한다. 각 샘플에 모드별 점수가 하나씩 주어졌을 때, 다축 max@K는 각 모드에 대해 샘플 전체의 최댓값을 취한 뒤 이 최댓값들을 합산한다. 따라서 샘플은 해당 모드의 최댓값을 높일 때만 그 모드에 대한 보상을 받으므로, 서로 다른 샘플이 서로 다른 모드에 대해 보상받는다. 이러한 보상 할당을 합성 가우시안 혼합과, 픽셀 기반 색상 보상을 사용한 Stable Diffusion 3.5 Medium에서 검증한 뒤, 인지된 외형 공정성에 적용한다. 보류된 프롬프트와 세 가지 자동 평가기에서 MultiMaxPO는 기본 모델 대비 공정성 점수를 Stable Diffusion 3.5 Medium에서 0.22–0.36, FLUX.1-dev에서 0.07–0.19만큼 향상시키고, 동일 조건의 강화학습 기준선을 능가하며, 이미지 품질과 텍스트 정렬을 유지한다. 코드는 https://github.com/KuOnoda/multi-axis-maxk 에서 확인할 수 있다.

arXiv:2607.03236v2cs.CL

TACG: 확산 언어 모델 디코딩을 위한 궤적 인식 커밋 게이팅

TACG: Trajectory-Aware Commit Gating for Diffusion Language Model Decoding

확산 언어 모델은 각 노이즈 제거 단계에서 많은 마스크 위치를 예측하지만, 효율성과 출력 품질은 어떤 예측이 진화하는 문맥에 들어가는지에 달려 있다. 신뢰도는 이 결정에 유익하지만 불완전하다. 신뢰도가 같더라도 정체성과 지지 이력이 다른 제안은 서로 다른 1단계 수정률을 보인다. 우리는 현재 토큰 제안과 이를 확정할지에 대한 결정을 분리하는 학습 불필요 디코더인 궤적 인식 확정 게이팅(Trajectory-Aware Commit Gating, TACG)을 제안한다. TACG는 현재 제안의 로짓을 이전 로짓의 지수 이동 평균과 대비하여 그 제안의 시간적 지지도를 점수화하고, History Gate를 통해 제안의 정체성이 유지될 것을 요구하며, 단계당 상한이 있는 개수의 추가 위치를 승격한다. 게이트는 어떤 위치를 언제 확정할지를 결정하며, 기록되는 모든 토큰은 동시점의 기본 제안으로 유지된다. 명시된 단일 시드 프로토콜 하에서 4개 과제 전체에 대한 LLaDA 평가에서, 측정된 과제별 동작점은 평균 모델 평가 67.82회로 평균 정확도 51.02\%에 도달하며, 이는 Native Confidence의 48.00\%와 76.59회에 비해 우수하다. 이벤트별 확정 개수를 일치시킨 리플레이에서, 이력 기반 선택은 샘플당 NFE가 동일할 때 신뢰도 순위 방식보다 정확도가 8.3포인트 높다. 이력 참조 개입은 기본 제안 기록 규칙을 유지하면서 확정 시점을 변경한다. Dream과 LLaDA2-Mini에 대한 실험은 여러 백본과 생성 길이에 걸쳐 품질-비용 거동을 규명한다. 코드는 https://github.com/Clarence-CV/TACG-DLLM 에 공개되어 있다.

arXiv:2605.17609v3cs.LG

적응형 생성-순위화-검증: 비용이 큰 검증을 수반하는 추론 시점 탐색

Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verification

많은 추론 시점 언어 모델 파이프라인은 수학적 추론에서의 정확한 정답 확인이나 코드 생성에서의 비공개 테스트 실행과 같이, 저렴한 보상 신호와 비용이 큰 검증기를 결합한다. 본 논문은 학습 이론적 관점에서 이러한 설정을 생성적 능동 탐색(generative active search)으로 형式화한다. 이는 비용을 고려하는 첫 양성 탐색 문제로, 정책이 알려지지 않은 분포에서 후보를 적응적으로 샘플링하고 저렴한 점수를 관찰하며, 양성 예시를 찾을 때까지 검증기 레이블에 대한 비용을 지불하는 문제이다. 고정된 프롬프트에 대해 생성기와 보상 모델은 두 개의 알려지지 않은 대상, 즉 보상 점수의 분포와 점수 조건부 성공 함수를 유도한다. 이러한 양을 알고 있을 때에는 동적 계획법을 사용하여 분포 인지 최적 정책을 규명한다. 점수 분포와 성공 함수가 모두 알려지지 않은 현실적이고 실용적인 설정에서는, 샘플링하는 응답 수와 상위 순위 검증 수를 점진적으로 늘리는 껍질 단위(shellwise) 적응형 생성-순위화-검증 알고리즘인 ADAP를 제안한다. 보상 점수가 높을수록 검증을 통과할 가능성이 낮지 않다는 단조성 가정 하에서, ADAP가 분포 인지 최적값의 상수 배 이내의 기대 비용을 달성함을 보인다. 또한 중심화된 스타 수(centered star number)에 기반한 학습 이론적 하한을 통해 점수-레이블 관계에 대한 구조적 가정이 필요함을 보여 이 결과를 보완한다. 수학적 추론과 경쟁 프로그래밍 실험을 통해 고정된 비적응형 정책과 난이도 적응형 기준 방법 모두에 대해 예측된 이점을 검증한다.

arXiv:2608.23927v3cs.CV

GlanceWAM: 월드-액션 모델을 위한 희소 테스트 타임 시각적 상상

GlanceWAM: Sparse Test-Time Imagination for World-Action Models

Video generative models provide rich physical priors for robot learning, yet existing world-action models (WAMs) face a fundamental trade-off: synchronous video generation at control rate is latency-prohibitive, while abandoning test-time visual imagination sacrifices task success. We show that visual imagination achieves both real-time inference and superior success rates when generated asynchronously off the critical path and consumed directly in latent space. We introduce GlanceWAM, which decouples imagination from control on a single shared video DiT backbone: an asynchronous proposer glances ahead on a slow clock to imagine a single lookahead frame seconds into the future in the background, while an action head decodes action chunks at control rate (48 ms) purely in latent space without blocking. Enabled by a non-interfering attention mask that isolates video representations and staleness-robust horizon training that accommodates asynchronous lookahead aging, GlanceWAM breaks the speed-success dilemma. Trained purely on demonstrations, it attains 72.2% on the 24-task RoboCasa kitchen benchmark (vs. 67.1% for synchronous Cosmos Policy) and 99.0% on LIBERO while cutting per-chunk control latency 24x relative to synchronous world-action models (48 ms on one A100). In single-arm and bimanual real-robot manipulation, it achieves higher average success than $\pi_{0.5}$ without any robot-data pretraining. Code is available at https://github.com/linhanwang/GlanceWAM and real-robot videos at https://linhanwang.github.io/glancewam/.

arXiv:2509.04376v3cs.CV

AnomalyLMM: 텍스트 기반 인물 이상 검색을 위한 생성적 지식과 판별적 검색의 연결

AnomalyLMM: Bridging Generative Knowledge and Discriminative Retrieval for Text-Based Person Anomaly Search

텍스트 기반 인물 이상 검색은 언어 질의와 미묘한 시각적 단서 사이의 세밀한 정렬을 요구하며, 이상 행동의 롱테일 특성이 이 어려움을 더욱 키운다. 대규모 멀티모달 모델(LMM)은 강력한 시각 이해 능력을 제공하지만, 이들의 생성적 사전 학습은 이 검색 과업의 판별적 요구와 근본적으로 어긋난다. 비용이 큰 미세 조정 없이 이를 적응시키는 것은 여전히 큰 난제이다. 우리는 생성형 LMM을 제로샷 이상 검색에 효과적으로 재활용하는, 학습이 필요 없는 coarse-to-fine 프레임워크인 \textbf{AnomalyLMM}을 소개한다. 본 방법은 먼저 범용 검색 모델을 사용해 초기 순위를 생성한다. 이 목록을 정제하기 위해 세 단계로 구성된 새로운 클로즈 기반 재순위화 메커니즘을 도입한다. 첫 단계인 \textbf{Cloze Generation}은 텍스트 질의를 "빈칸 채우기" 프롬프트로 변환한다. 다음으로 \textbf{Cloze Completion}은 LMM이 특정 시각 영역에 집중하여 잠재적 이상에 대한 설명을 생성하도록 한다. 마지막 단계인 \textbf{Comparison \& Re-ranking}은 LMM이 생성한 완성문과 원래 질의 사이의 의미적 정렬을 계산하며, 이는 강력한 재순위화 점수로 사용된다. PAB와 UCC 데이터셋에 대한 실험에서 AnomalyLMM은 경쟁력 있는 베이스라인을 두 데이터셋에서 Recall@1 정확도 기준 각각 $+1.93$\%, $+1.79$\% 앞선다. 무엇보다 본 방법은 과업별 학습 없이도 해석 가능성이 높은 시각-텍스트 정렬을 제공하며, 이는 실제 배포에 중요한 특징이다. 코드는 공개될 예정이다.

arXiv:2605.22169v2cs.CV

샘플의 불확실성과 다양성의 균형: 효과적인 능동 학습을 위한 낮은·높은 신뢰도 샘플의 다양성 활용

Balancing Uncertainty and Diversity of Samples: Leveraging Diversity of Least, High Confidence Samples for Effective Active Learning

합성곱 신경망(CNN)과 비전 트랜스포머(ViT)를 포함한 딥러닝 모델은 객체 분류, 검출, 분할, 생성 등 다양한 컴퓨터 비전 과제에서 최첨단 성능을 달성하였다. 그러나 이러한 모델은 수백만에서 수십억 개의 매개변수를 학습하기 위해 더 많은 학습 데이터를 필요로 하므로 데이터 의존도가 높다. 특히 지도 학습 과제에서는 모델 학습을 위해 많은 수의 레이블 샘플을 확보하는 일이 비용과 시간이 많이 드는 작업이다. 능동 학습(AL)은 이 문제를 해결하기 위해 오랫동안 사용되어 왔다. 기존 능동 학습 방법은 레이블이 없는 샘플 풀에서 다양하거나 불확실한 샘플을 주석 대상으로 선택하는 것을 목표로 한다. 이러한 샘플 선택은 다양성 또는 불확실성이라는 한 가지 차원만을 기준으로 풀을 구성하므로 모델 성능을 저해할 수 있다. 본 논문에서는 쉬운 샘플과 어려운 샘플을 모두, 그리고 다양하게 선택하기 위한 네 가지 새로운 하이브리드 샘플링 방법을 제안한다. 제안한 방법의 효능을 검증하기 위해 높은 신뢰도 샘플과 낮은 신뢰도 샘플을 각각 사용하여 광범위한 실험을 수행하였다. 실험 결과, 제안한 하이브리드 샘플링 방법인 Least Confident and Diverse(LCD)가 최첨단 방법보다 일관되게 우수한 성능을 보임을 확인하였다. 불확실하면서 다양한 인스턴스를 선택하면 모델이 더 구별되는 특징을 학습하는 데 도움이 되는 것으로 관찰되었다. 본 연구와 관련된 코드는 https://github.com/vipularya135/LCD 에서 공개될 예정이다.

arXiv:2609.26249v2cs.CL

PACE-dLLM: 확산 언어 모델을 위한 신뢰도 절벽 추정 기반 탄력적 블록 디코딩

PACE-dLLM: Elastic Block Decoding via Confidence Cliff Estimation for Diffusion Language Models

LLaDA와 Dream 같은 확산 언어 모델(dLLM)은 생성 품질에서 자기회귀(AR) LLM과 경쟁할 수준이 되었으며, 기본적으로 병렬 디코딩을 지원한다. 표준적인 가속 전략은 블록 단위 디코딩으로, 각 순전파에서 길이 B의 블록을 예측하고 신뢰도가 높은 토큰을 확정한다. 신뢰도 임계값 기반 확정은 어떤 토큰을 수용할지를 적응시키지만, 고정된 B는 여전히 예측 범위를 제한한다. 기존의 호라이즌 정책은 수동으로 정한 크기, 변동성 통계, 또는 후보 경계 점수를 사용한다. 이에 반해 우리는 모델 자체의 단계별 신뢰도를 사용한다. 윈도우 내 신뢰도는 대체로 문맥에 의존적인 절벽(cliff) 형태를 따르며, 이는 선행 호라이즌을 적응시키기 위한 직접적인 신호를 제공한다. 본 연구에서는 이 매개변수화된 절벽을 닫힌 형태로 주기적으로 다시 적합하고, 공유된 신뢰도 앵커에서 다음 호라이즌을 설정하며, 신뢰도 임계값 기반 토큰 확정을 유지하는 PACE-dLLM을 제안한다. iid이며 정책과 무관한 단조 프로파일을 갖는 포화 수율 추상화 하에서, 오라클 호라이즌은 최대 패스당 수율을 달성하는 가장 작은 값이며, 고정 블록이 양의 확률로 이에 미달할 때 점근적 순전파 비율을 개선한다. 두 개의 오픈소스 dLLM 백본에 대한 네 가지 추론 및 코드 벤치마크에서, PACE-dLLM은 평가된 디코더 중 두 백본 모두에서 가장 높은 평균 정확도를 달성하며, 가속하지 않은 반자기회귀 기준선 대비 LLaDA에서 평균 5.23배, Dream에서 3.06배(LLaDA MATH에서 최대 8.52배)의 처리량 향상을 얻어 품질–처리량 파레토 경계를 진전시킨다.

arXiv:2610.10381v2cs.LG

ResidualQuant: 2비트 잔차를 활용한 루프형 트랜스포머용 KV 캐시 양자화

ResidualQuant: KV Cache Quantization for Looped Transformers with 2-Bit Residuals

Looped Transformers improve parameter efficiency by applying shared Transformer blocks over recurrent loops, increasing computational depth without increasing the parameter count. However, KV cache memory still scales with loop count, becoming a key memory bottleneck that limits batch size and inference throughput. KV cache quantization can alleviate this bottleneck, but existing methods often suffer substantial accuracy degradation at aggressive low-precision regimes. We observe that looped Transformers offer a unique opportunity: KV states across loops are highly similar. Based on this observation, we propose ResidualQuant, which uses the final-loop KV states as a reference and represents the remaining loops with low-precision residuals. Our method further combines least-square scaling and rotation-based quantization, as well as loop-wise mixed precision, to enable accurate quantization down to INT2 while retaining efficient reconstruction. Across multiple looped Transformer models and mathematical reasoning and code generation benchmarks, ResidualQuant consistently improves the accuracy-memory tradeoff over state-of-the-art rotation-based KV quantization. In particular, our method retains accuracy close to BF16 under mixed-precision settings while reducing theoretical KV storage by 80.7%, achieving up to 13.0% higher accuracy than the rotation-based baseline at nearly the same memory budget. On an RTX 5090, reduced KV memory traffic improves fixed-batch decode throughput by up to 3.66x, while the smaller memory footprint enables up to 8x larger batches, improving peak throughput by up to 5.38x.

arXiv:2609.37172v3cs.AI

SimpleEvol: An Agent-Loop Framework for LLM-Driven Automated Heuristic Design with Minimal Human Priors

Large language models (LLMs) have emerged as powerful tools for automated heuristic design (AHD), enabling iterative generation and refinement of heuristics. However, the dominant paradigm embeds LLMs as narrow, fixed components, such as crossover or mutation, within heavily hand-engineered evolutionary frameworks. We argue this misapprehends LLMs. It treats them as specialized tools rather than general reasoners, constrains them to low-level operations, and underutilizes their autonomy. Moreover, the extensive human priors in these frameworks violate the bitter lesson principle that general methods scaling with computation surpass hand-crafted solutions. This raises a key question: which AHD framework designs best convert stronger LLM capabilities into better heuristics? To address this, we propose metrics for LLM-driven AHD framework handcraftedness (AHI) and intelligence conversion efficiency (ICE). Evaluating ten LLMs across three challenging combinatorial optimization problems, we obtain a notable finding that frameworks with fewer human priors consistently yield higher ICE. Based on this finding, we propose SimpleEvol, an agent-loop framework for AHD which removes nearly all human priors and allows the LLM to operate autonomously. SimpleEvol consistently achieves the highest ICE, often by a large margin. Our results challenge the trend toward complex AHD pipelines and point to a lighter and more model-centric alternative, suggesting that reducing human priors is a more effective strategy to scale up with model intelligence. The source code is available at https://github.com/HenryZhu1029/SimpleEvol-Master.

arXiv:2509.11311v3cs.AI

Prompts to Proxies: Emulating Human Preferences via a Compact LLM Ensemble

Large language models are increasingly used as proxies for human subjects in social science research, yet external validity requires matching the response distributions of target human populations. We study population-level survey alignment: reconstructing aggregate survey responses from limited public survey data, without individual-level demographic profiles or model finetuning. We formalize this problem as preference reconstruction: rather than matching proxy agents to demographic profiles, we construct a functional basis of proxy agents and recover population preferences by weighted aggregation. We instantiate this idea via Prompts to Proxies ($\texttt{P2P}$), a two-stage inference-time system. Stage 1 uses structured attribute-based prompting with entropy-guided adaptive sampling to construct a diverse proxy pool spanning the latent preference space. Stage 2 employs L1-regularized regression to select a compact weighted ensemble matching observed target-population responses. Across 14 American Trends Panel waves, $\texttt{P2P}$ achieves an average test MSE of 0.014 at approximately 0.8 USD per survey, improving over prompting and demographic-conditioning baselines. On the World Values Survey, cross-locale transfer experiments show that basis expressiveness can outperform locale matching on average, while locale-specific generation helps on culturally divergent questions. A stress test against an SFT-aligned survey model shows competitive performance using less than 3\% of the training data. These results position preference reconstruction as a lightweight, externally verifiable alternative for survey-based population alignment. Code is available at https://github.com/bingchen-wang/P2P.

arXiv:2512.01707v4cs.CV

StreamGaze: 스트리밍 영상에서의 시선 기반 시간적 추론과 능동적 이해

StreamGaze: Gaze-Guided Temporal Reasoning and Proactive Understanding in Streaming Videos

스트리밍 영상 이해는 모델이 시간적으로 입력되는 프레임을 처리할 뿐 아니라, 증강현실(AR) 안경과 같은 현실적인 응용을 위해 사용자의 의도를 예측할 것을 요구한다. 기존 스트리밍 벤치마크는 시간적 추론을 평가하지만, 멀티모달 대규모 언어 모델(MLLM)이 스트리밍 환경에서 사람의 시선 신호를 해석하거나 활용할 수 있는지를 측정하는 벤치마크는 없다. 이러한 공백을 메우기 위해, 우리는 MLLM이 스트리밍 영상에서 시간적 및 능동적 추론을 위해 시선을 얼마나 효과적으로 활용하는지 평가하도록 설계된 최초의 벤치마크 StreamGaze를 소개한다. StreamGaze는 스트리밍 영상 이해를 포괄적으로 평가하는 시선 기반의 과거, 현재, 능동적 과제를 도입한다. 과거 및 현재 과제는 질의 시점에 이용 가능한 관측에 기반한 즉각적인 응답을 요구하는 반면, 능동적 과제는 모델이 입력 프레임을 지속적으로 처리하고 적절한 미래 시점에 응답할 것을 요구한다. StreamGaze를 구축하기 위해, 우리는 응시 추출, 영역별 시각적 프롬프팅, 스캔패스 구성을 통해 1인칭 시점 영상을 원시 시선 궤적과 정렬하는 시선-영상 질의응답(QA) 생성 파이프라인을 개발한다. 이 파이프라인은 사람의 지각 역학을 반영하는 시공간적으로 그라운딩된 QA 쌍을 생성한다. 모든 StreamGaze 과제에서 최신 MLLM과 사람의 성능 사이에 상당한 격차가 관찰되며, 이는 시선 기반 시간적 추론, 의도 모델링, 능동적 예측의 핵심적 한계를 부각한다. 또한 시선 프롬프팅 전략, 추론 행동, 과제별 실패 양상에 대한 상세한 분석을 제공하여 현재의 한계와 향후 연구 방향에 대한 통찰을 제시한다. 시선 기반 스트리밍 영상 이해 연구를 지원하기 위해 모든 데이터와 코드를 공개한다.