PyTorchKR Papers

“Code Generation”

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

카테고리 탐색

arXiv:2611.08294v1cs.CV

ManimCode: 교육용 애니메이션을 위한 시각적 자기 수정 학습

ManimCode: Learning Visual Self-Correction for Educational Animation

Manim은 정밀한 프로그래밍 방식의 영상 생성을 지원하지만, 성공적으로 렌더링된 교육용 애니메이션에도 시각적 결함, 누락된 설명 또는 잘못된 내용이 있을 수 있다. 렌더링만으로는 이러한 시각적 실패를 바로잡는 데 필요한 코드 변경을 직접 파악할 수 없으므로 피드백 기반 수정이 필요하다. 기존 에이전트 프레임워크는 반복적 렌더링과 수정을 사용하지만 대개 대형 모델, 흔히 상용 모델에 의존한다. 기존 Manim 데이터셋은 주로 최종 프로그램만 포함하며, 품질 검증과 이러한 개선 과정을 학습하는 데 필요한 피드백 및 수정의 궤적이 부족한 경우가 많다. 우리는 피드백 기반 교육용 애니메이션 생성을 위한 데이터 및 학습 프레임워크인 ManimData와 ManimCode를 소개한다. 검색된 API 문서를 사용해 Manim 프로그램을 반복적으로 생성, 실행, 검토, 수정하는 렌더링 기반 파이프라인으로 ManimData를 구축한다. 렌더링 검증과 품질 필터링을 거친 24,034개의 레코드는 중간 프로그램, 실행 오류, 시각적 비평, 수정 내역을 보존한다. 우리는 이러한 궤적에 대해 역할 조건부 지도 미세조정을 사용하여 단일 4B 모델인 ManimCode가 애니메이션 프로그램을 작성, 검토, 수정하도록 학습시킨다. 수집된 궤적의 오류와 다른 오류의 수정을 개선하기 위해, 이후 렌더링 결과와 참조 없는 품질 피드백을 사용하여 자체 생성한 상태에 대해 강화학습으로 Reviser를 학습시킨다. ManimCode는 동일한 추론 설정에서 학습되지 않은 4B 모델이 52.6%와 82.0%인 것과 비교하여 ManimData-test와 ManimBench에서 각각 96.6%와 97.0%의 렌더링 성공률을 달성하며, 영상 품질 점수도 2.48에서 2.94로, 3.00에서 3.44로 향상시킨다. ManimCode를 두 개의 장편 교육 영상 생성 시스템에 통합하면 완성된 영상이 19/117에서 107/117로, 53/239에서 239/239로 증가하며, 교육 효과와 시각적 품질도 함께 향상된다.

arXiv:2611.27436v1cs.LG

THRIFTY: Cost-Constrained Reasoning-Data Synthesis for Small Language Models

Small language models (SLMs) are increasingly attractive for efficient, specialized deployment, and are typically trained on reasoning trajectories distilled from a larger teacher LLM. Generating this synthetic data is a major cost of the pipeline, especially when the teacher is a frontier model. Existing collection methods, however, are largely cost-unaware, or at best spread a fixed sampling budget uniformly across queries. Such allocation ignores the wide variation in problem difficulty and the strategic over- or under-sampling it invites. Thus, we propose THRIFTY, a Thompson-sampling bandit controller that spends a fixed generation-token budget to collect diverse correct reasoning trajectories, casting the task as a bandits-with-knapsacks problem with a novel diversity-aware objective. It tracks each problem's success probability with an online Beta posterior and spends each token where it expects the most new distinct correct solutions. Because repeated solutions add progressively less value, THRIFTY adaptively stops resampling saturated problems, concentrates budget on under-covered ones, and retires the unsolvable at the budget's opportunity cost. On math (AIME, MATH-500) and code (LiveCodeBench) benchmarks, THRIFTY gathers up to 22% more diverse correct trajectories per generation token than both the standard uniform-sampling recipe and the strongest adaptive baseline, with the largest gains in the scarce-budget and hard-problem regimes.

arXiv:2611.07103v1cs.LG

LLM 동물원에서의 하룻밤: 사전학습된 LLM 가중치 생성을 위한 데이터 조건부 플로 매칭

A Night at the LLM Zoo: Data Conditioned Flow Matching for Generating Pretrained LLM Weights

가중치 공간 학습(Weight Space Learning)이 과제 특화 모델과 비전 모델에서 대규모 언어 모델(LLM)로 확장될 때 직면하는 어려움은 잘 구성되고 분석된 LLM 집단이 없다는 점이다. 이를 해결하기 위해, 우리는 가중치 공간 생성(Weight Space Generation)에 활용할 이러한 모델 동물원을 학습시킨다. 이를 위해 웹 텍스트, 도서, 수학, 코딩, 프랑스어 간의 데이터 혼합 구성을 체계적으로 달리하여 51M, 124M, 355M 파라미터 GPT-2 모델 집단을 만들며, 각 계층의 개수는 N = 100이다. 이 집단을 코사인 유사도, 기능적 다양성, 혼합 하나 제외(Leave-One-Mixture-Out) 모델링, 분산 분해로 분석한다. 그 결과 동물원에는 다양한 모델이 포함되어 있으며 그 변이가 학습 혼합 구성에 의해 구조화되어 있음을 보인다. 우리는 학습 혼합 구성을 임베딩하여 Gram-PCA로 압축한 가중치 공간에서 사전학습된 LLM 전체 가중치에 대한 플로 매칭(Flow Matching) 모델을 조건화한다. 제외된 혼합에 대한 제로샷 일반화를 보이고, 연속 순위 확률 점수(Continuous Ranked Probability Score) 기반 skill을 측정하며, 하류 테스트 세트 퍼플렉시티와 일반 능력 벤치마크 점수의 변화가 미미함을 확인함으로써, 우리의 생성기가 데이터 혼합의 단체(simplex) 위에서 일반화하여 동물원의 모델과 유사한 성능의 모델을 처음부터(ex nihilo) 생성함을 보인다. 끝으로, 가중치 공간 학습과 생성이 LLM 분야로 계속 확장되도록 지원하기 위해 모든 소스 코드와 산출물을 공개한다.

arXiv:2610.37041v1cs.AI

Guided-RLVR: Guided Exploration in Reinforcement Learning with Verifiable Rewards

Reinforcement learning with verifiable rewards (RLVR) has shown strong empirical gains in improving the reasoning ability of large language models (LLMs) on tasks such as mathematics and programming. However, recent studies have shown that RLVR rollouts often collapse onto a narrow set of reasoning trajectories, limiting the explored reasoning space. Motivated by findings that thinking tokens at critical steps serve as critical structural elements in LLM reasoning pathways, we propose Guided-RLVR, a novel approach that augments RLVR with a lightweight controller. The controller strategically injects semantically meaningful steering tokens into the sampling distribution, encouraging the model to approach problems from multiple reasoning perspectives and thereby expanding the exploration space. Experiments on mathematical reasoning and code generation benchmarks show that Guided-RLVR consistently outperforms existing RLVR methods while producing more diverse reasoning trajectories.

arXiv:2610.39800v1cs.CL

순차 몬테카를로와 소형 언어 모델을 이용한 언어 학습용 문법 제어

Grammar Control for Language Learning with Sequential Monte Carlo and Small Language Models

제2언어 학습자는 상호작용적인 언어 사용에서 수준에 적합한 문법에 노출될 때 도움을 받는다. 프롬프트를 사용한 최첨단 언어 모델은 대체로 목표 문법 구조를 생성할 수 있지만, 기기에서 실행 가능한 자원 소모가 적은 모델은 이 과제에서 자주 실패한다. 우리는 순차 몬테카를로(SMC)를 사용하여, 전문가가 개발한 교육용 자료에 있는 목표 문법 구문 쪽으로 소형 언어 모델의 대화 턴 생성을 유도한다. 최소한의 수작업 코딩된 포텐셜 함수만으로 SMC는 목표 문법에 대해 거의 완벽한 커버리지를 달성하여, 소형 모델이 140배 더 큰 모델의 최신 결과를 능가할 수 있게 한다. 또한 최첨단 모델을 이용한 코드 합성으로 새로운 포텐셜을 생성함으로써, 추가 학습이나 지도 데이터 없이도 본 방법이 수백 개의 목표 문법 기능으로 확장됨을 보인다.

arXiv:2611.06280v1cs.AI

DyPSI: 장과 센서 궤적의 결합 생성을 통한 동적 물리 센싱

DyPSI: Dynamic Physics Sensing via Joint Field and Sensor-Trajectory Generation

변화하는 환경에서의 물리 센싱은 희소한 관측으로부터 조밀한 시공간 장을 복원하는 동시에, 향후 관측을 어디에서 수집할지를 적응적으로 조정해야 한다. 기존의 복원 및 센서 배치 방법은 상당한 진전을 이루었지만, 일반적으로 정적 센싱 가정에 의존한다. 즉, 모든 프레임에 단일 배치를 사용하거나 각 프레임마다 독립적으로 배치를 최적화하므로 시간적으로 일관된 센싱 궤적을 생성하는 능력이 제한된다. 본 논문은 이 문제를 과거 관측에 조건화된 미래 장과 센서 궤적의 결합 생성으로 정식화하는 동적 물리 센싱 프레임워크 DyPSI를 제안한다. DyPSI는 이산적인 센서 좌표를 연속적인 센서 위치장(Sensor Position Fields)으로 끌어올리고, 공유된 함수형 터커(Functional Tucker) 표현으로 장과 센싱 구성을 인코딩하며, 그 결과로 얻은 잠재 공간에서 미래 장과 센싱 궤적을 동시에 생성하도록 결합 확산 모델을 학습한다. 가우시안 과정 시간 커널은 확산 학습 중 주입되는 섭동에 상관성을 부여하여 노이즈 제거기가 시간적으로 매끄러운 복원을 하도록 유도하며, 우리는 EDM 학습 목적 함수를 시퀀스 집계 A-최적성 기준 및 이산 궤적 변동에 대한 커널 유도 상계와 연결하는 분석도 추가로 제시한다. 난류, GLORYS12 해수면 온도, 3차원 자동차 공기역학에 대한 실험에서 DyPSI는 정적 및 프레임별 배치 전략을 일관되게 능가하며, 센서 예산이 빠듯한 조건에서 오차를 크게 줄인다. 코드는 https://github.com/mengqi132/DyPSI 에서 이용할 수 있다.

arXiv:2610.38175v1cs.AI

DecompGym: 분해 알고리즘 설계에 대한 LLM 에이전트 벤치마킹

DecompGym: Benchmarking LLM Agents on Designing Decomposition Algorithms

벤더스 분해와 열 생성은 마스터 문제와 부문제 사이에서 컷, 열, 쌍대 값을 주고받으며 대규모 최적화 문제를 풀지만, 올바르게 구현하기가 어렵다. 대규모 언어 모델은 이제 알고리즘 설계의 일부를 자동화하고 있으며, 이는 새로운 문제를 위한 분해 솔버를 구축하는 에이전트를 시사한다. 이러한 에이전트를 향한 첫걸음으로, 우리는 현재의 코딩 에이전트가 이 두 알고리즘을 얼마나 잘 설계하고 구현하는지, 그리고 어떻게 실패하는지를 연구한다. 우리는 아홉 개 문제군(벤더스 다섯, 열 생성 넷)에서 가져온 81개 인스턴스로 구성된 DecompGym을 소개하며, 여기서 에이전트는 지정된 방법에 대한 솔버를 작성한다. 각 솔버는 세 가지 기준을 충족해야 한다. 60초 제한 시간 내 실행, LLM 판정자가 솔버의 코드를 읽는 방법 감사와 함께하는 수치적 실행 가능성, 그리고 저장된 최적 목적값의 1% 이내의 목적값이다. 우리는 코딩 에이전트 도구에서 구동되는 12개의 GPT, Claude, Gemini 모델을 평가한다. 최대 열 번의 시도에 걸쳐 독립적 재생성과, 먼저 실패를 진단하는 성찰(reflection)을 비교한다. 첫 시도에서 두 모델이 모든 인스턴스를 풀고 일곱 모델이 90% 넘게 푼다. 대부분의 벤더스 실패(62건 중 48건)는 해가 없거나 최적이 아닌 경우이다. 가장 흔한 열 생성 실패는 방법 감사 거부이다. 출력 검사만으로는 방법 감사에 실패한 108번의 시도 중 93번을 받아들였을 것이다. 가장 흔한 거부 사유인 optimalif는 96회 발생하며, 그중 92회가 한 모델에서 나타난다. 성찰은 재시도의 66%를 성공으로 바꾸는 반면 재생성은 39%이며, 판정자가 결함을 지목하는 방법 감사 실패를 수리한다. 따라서 분해를 위한 에이전트에는 솔버가 답에 도달하는 방식에 대한 검사와 오류의 위치를 알려 주는 피드백이 필요하다. 벤치마크는 https://github.com/SIKAI-C/DecompGym 에서 이용할 수 있다.

arXiv:2611.34093v1cs.CV

Exploring the Design Factors of Pixel-space Diffusion

In this paper, we introduce EiT by exploring the key design factors of pixel-space diffusion from three perspectives: model architecture, representation, and frequency domain. Inspired by Denoising Autoencoders (DAE) which perform denoising through a bottleneck, we construct a U-shaped pixel diffusion transformer that performs explicit compression along the channel dimension. In terms of representation, we find that both pixel and latent diffusion transformers exhibit a three-stage representation dynamics across layers and timesteps: denoising/local feature expansion, basis lift-up, and posterior projection. Moreover, earlier denoising and a longer basis lift-up stage are associated with better generation, which EiT naturally achieves through its channel bottleneck and increased network depth. From the frequency perspective, we establish the equivalence between pixel-space and frequency-space diffusion when keeping the network operating in pixel space. On ImageNet $256\times256$ and $512\times512$, EiT consistently outperforms JiT (Just image Transformers) in generation quality. Specifically, our EiT achieves better FID than JiT: 1.61 vs. 1.85 at $256\times256$, and 1.73 vs. 1.99 at $512\times512$. Remarkably, EiT can be seamlessly applied to video pixel diffusion by simply extending the patch size to temporal dimension and outperforms video latent diffusion in FVD evaluated on Kinetics-600 (resolution 256), under comparable total network parameters. Code is available at https://github.com/forever208/EiT

arXiv:2611.21559v1cs.CV

Reference Forcing: 영역 기반 드리프트 보정을 통한 긴 동영상 생성

Reference Forcing: Long Video Generation with Region-Guided Drift Correction

긴 동영상을 생성하려면 풍부하고 자연스러운 움직임을 구현하면서 피사체와 배경의 일관성을 유지해야 한다. 하지만 자기회귀 모델은 짧은 구간에서 분포 매칭 증류(DMD)를 적용해 학습하는 경우가 많아, 긴 구간에서 일관성을 유지하는 법을 배우지 못한다. 그 결과 시간이 지날수록 피사체와 배경이 본래 모습에서 벗어날 수 있다. KV 캐시를 관리하는 방법은 이전 정보를 유지하거나 다시 가져와 이런 드리프트를 줄인다. 그러나 이전 정보 자체에 이미 드리프트가 생겼을 수 있다. 본 연구는 초기 프레임을 외형의 기준으로 사용하는 Reference Forcing을 제안한다. 먼저 어텐션 마스크를 사용하는 교사 모델을 구성해, 새 프레임의 각 영역이 초기 프레임의 같은 영역에 어텐션을 주도록 강제한다. 교사 모델은 기존 분할 모델로 이 영역들을 찾는다. 그런 다음 이 동작을 학생 모델의 별도 어텐션 경로로 증류한다. 학생 모델은 추론 시 외부 모델이 필요 없다. 또한 KV 캐시에서 드리프트가 발생한 값을 드리프트가 없는 초기 프레임의 대응 값에 가깝게 조정하는 값 보정 기법을 제안한다. 여러 기반 모델에서 실험한 결과, Reference Forcing은 긴 동영상 생성 기법 가운데 피사체와 배경의 일관성이 가장 높았다. 동영상이 길수록 이점은 커졌다. 구성 요소 제거 실험에서는 움직임을 잃지 않고 일관성을 높이려면 두 요소가 모두 필요했다. 추가 시각화와 코드: https://zhaosheng-thu.github.io/reference-force/

arXiv:2610.40115v1cs.CV

SelfThinker: Self-Evolving Reasoning via Reliability-Verified Intrinsic Visual Thoughts

Unified multimodal models can both generate and understand images within a single set of weights, offering an opportunity to use image synthesis as training supervision for visual comprehension. However, existing visual chain-of-thought methods rely on human-annotated helper images during training and require slow image generation at test time. We present SelfThinker, the first self-evolving framework that turns a unified model's self-generated visual thoughts into stronger understanding without human image annotations. Given a visual problem, SelfThinker samples candidate helper images from its generation pathway and uses its frozen understanding pathway to score each candidate via conditional pointwise mutual information. High-utility visual thoughts then refine the generator via flow matching and serve as privileged teacher context for on-policy self-distillation. At inference, SelfThinker reasons directly from the original image in text without generating intermediate images. Although trained only on small synthetic visual-search and navigation datasets, SelfThinker transfers broadly to natural-image and spatial benchmarks, raising the seven-benchmark average of ThinkMorph-7B from 52.7 to 64.0 (+11.3 points). Controlled image-perturbation probes further show that SelfThinker surpasses ThinkMorph-7B by up to 40.4 points and its pretrained BAGEL-7B backbone by up to 23.2 points across fine-grained and spatial perception tasks. Our code is available at https://github.com/zhangquanchen/SelfThinker.

arXiv:2611.04438v1cs.CV

대규모 비전-언어 모델의 객체 환각을 위한 엔트로피 게이트 동적 교정

Entropy-Gated Dynamic Rectification for Object Hallucination in Large Vision-Language Models

대규모 비전-언어 모델(LVLM)은 이미지에 없는 객체를 자주 언급한다. 잠재 조향(latent steering)은 한 번의 모델 순전파로 이러한 실패를 줄일 수 있지만, 고정된 게이트는 초기와 후기 디코딩 단계를 동일한 기준으로 취급한다. 우리는 자유 생성 중 예측 엔트로피가 크게 변하는 반면, 짧은 답을 확정하는 상태는 좁고 확신 있는 대역에 놓인다는 것을 관찰한다. 우리는 이러한 시간적 불일치를 이용하여, 불확실성을 기존 조향 게이트를 위한 인과적으로 이용 가능한 토큰 국소 제어 신호로 사용한다. 이에 직전 단계에서 이미 얻어진 로짓으로부터 계산한 엔트로피가 높을 때 개입 임계값을 낮추고 낮을 때는 보정된 동작점을 유지하는 엔트로피 게이트 동적 교정(EGDR)을 제안한다. LLaVA-1.5-7B에서 기반 정적 게이트는 CHAIR CS/CI를 53.00/15.30에서 32.00/14.30으로 낮추며, 상수 임계값만 EGDR로 대체하면 29.00/13.60으로 더 낮아진다. 개입률을 58%로 맞추었을 때 대응하는 정적 대조군은 30.50/14.00을 얻는다. 정적 게이트에 대한 이득은 LLaVA-NeXT-7B에서도 유지되고 생성 예산이 커질수록 커지며, POPE 점수와 일반 멀티모달 능력은 사실상 변하지 않는다. EGDR은 추가 모델 순전파가 필요하지 않으며 측정된 지연 시간은 약 2%만 늘어난다. 코드는 https://github.com/alvi-uiu/EGDR 에서 확인할 수 있다.

arXiv:2611.25582v1cs.CL

AutoRAGBench: A Benchmark for LLM Agents Automating RAG System Development

Retrieval-augmented generation (RAG) is a well-established paradigm for augmenting large language models (LLMs) with information retrieved from external corpora. However, developing effective RAG systems requires substantial engineering effort and iterative experimentation, as effective design choices vary across tasks and domains. With rapid advances in LLM agent capabilities, we ask how well these agents can autonomously build RAG systems and how effectively they can improve them through iteration. In this paper, we propose AutoRAGBench, the first benchmark to evaluate how well LLM agents develop RAG systems from scratch in an open code space. It comprises nine RAG system development tasks. For each task, agents build RAG systems from scratch without starter code or prescribed strategies, under a six-hour budget on a single H800 GPU. They analyze task data, implement RAG pipelines, and iteratively refine their designs based on experimental feedback. We evaluate nine agent configurations and analyze both the effectiveness of the resulting RAG systems and their development trajectories. GPT-6.1 Sol with Codex CLI achieves the highest average score of 56.1. The composite Human-SOTA baseline averages 44.4. These results show that LLM agents can automate effective RAG system development. When starting from a human-designed system on each of seven tasks, GPT-6.1 Sol with Codex CLI improves the score by 16.6 points on average.

arXiv:2611.14659v1cs.LG

루프 닫기: 리프트된 표현에서 불규칙 시계열 생성을 위한 공진화 EM

Closing the Loop: Co-Evolving EM for Irregular Time Series Generation in Lifted Representations

불규칙 시계열로부터 규칙 시계열을 생성하는 문제는 보통 일회성 결측 보간으로 환원된다. 즉 각 부분 시퀀스를 한 번 보완하고 그 결과를 고정한 뒤, 이로 만든 대리 데이터셋으로 생성기를 학습한다. 우리는 이러한 개방 루프 전략이 구조적으로 결함이 있음을 보인다. 점 보간기는 모호한 결측 구간을 조건부 평균으로 붕괴시키고, 확률적 보간기는 생성기가 진화함에 따라 낡아지므로, 결정적인 제약은 보간기 설계가 아니라 반복이다. 우리는 보간기-생성기 루프를 닫는 공진화 몬테카를로 EM 프레임워크를 제안한다. 각 E-단계는 현재 생성기의 사후분포에서 결측값을 샘플링하고, 각 M-단계는 이 보완 결과로 생성기를 재학습하여 무조건부 생성기 학습을 유지한다. 우리의 확산 사전분포는 리프트된 2D 표현에서 작동하는 반면 관측치는 시계열 공간에 존재하므로, E-단계에서 연산자 일관 조건화, 불확실성 보존, 매니폴드 일관성을 강제하는 리프트된 표현을 위한 사후 샘플링(PSLR)을 추가로 도입한다. 10개 데이터셋과 4가지 손상 조건 전반에서 본 방법은 최첨단 성능을 달성하여, 가장 강한 기준선 대비 판별 점수 59%, 예측 점수 15%, Context-FID 73%, 특징 상관 오차 71%를 개선하였다. 절제 실험은 본 접근이 단일 단계 기준선 대비 평균 판별 점수를 73% 줄여, 깨끗한 데이터 오라클과의 남은 격차 대부분을 좁힌다는 것을 보여준다. 코드는 https://github.com/azencot-group/PSLR 에서 이용할 수 있다.

arXiv:2611.24168v1cs.CL

CounselTraj: 대화 행위 궤적 계획을 통한 과정 인지 심리 상담 대화 합성

CounselTraj: Synthesizing Process-Aware Psychological Counseling Dialogues via Dialogue-Act Trajectory Planning

심리 상담에 대한 수요 증가는 인간 상담사를 지원하는 LLM 기반 시스템의 개발을 촉진했으나, 이러한 시스템을 학습시키려면 대규모의 고품질 대화 데이터가 필요하다. 실제 상담 녹취록은 개인정보 문제로 수집과 공유가 어려워 합성 대화가 중요한 대안이 된다. 그러나 기존 합성 데이터셋은 다양한 시나리오와 내담자 프로필을 포괄함에도 짧은 주고받기로 구성되는 경우가 많아 세션 수준의 상담 과정을 포착하지 못한다. 본 연구는 짧은 합성 대화를 과정 인지적이고 세션 수준인 심리 상담 대화로 확장하기 위한 대화 행위 궤적 계획 프레임워크인 CounselTraj를 제안한다. CounselTraj는 인간 상담사가 수행한 역할극 상담 대화에서 대화 행위 패턴을 학습하고, 내담자와 상담사를 위한 조율된 궤적을 계획하며, 이를 장문 대화 생성을 위한 유연한 지침으로 사용한다. 세 가지 중국어 합성 상담 데이터셋에 대한 실험에서 CounselTraj는 직접 확장 및 무작위로 샘플링한 궤적을 이용한 확장보다 더 완결적이고 일관된 세션과 더 높은 품질의 상담사 개입을 생성했다. CounselTraj를 기반으로 10K개가 넘는 과정 안내형 중국어 심리 상담 대화를 담은 데이터셋 CounselTrajD를 구축하고, 이를 상담 응답 생성을 위한 CounselTrajLM의 학습에 사용한다. 응답 수준과 세션 수준의 평가에서 CounselTrajLM은 공개된 중국어 상담 모델보다 응답 품질, 치료적 이해와 개입, 상담 과정의 일관성과 진전에서 우수했다. 코드와 모델은 https://github.com/UEC-InabaLab/CounselTraj 에 공개되어 있다.

arXiv:2611.02788v1cs.CR

Rethinking Neural Decompilation: Candidate Selection as the Hidden Bottleneck

Reverse engineering obfuscated binaries is a core task in malware analysis and software security auditing. While neural decompilers based on Large Language Models (LLMs) have improved the readability and functional fidelity of recovered code over heuristic tools such as Ghidra and IDA Pro, a substantial gap remains between best-sample performance and practical single-output accuracy, particularly under code obfuscation. We study this gap through the lens of candidate generation and candidate selection. Using the LLM4Decompile architecture, we show that ground-truth tokens lie within the model's top-five next-token predictions in 95.6% of positions on average and that multi-sample decoding reaches a pass@100 of 93% on HumanEval-Decompile, indicating that correct reconstructions are typically already present in the model's sampling space. We then evaluate a generate-then-select pipeline that ranks 100 candidates per input with text-, syntax-, embedding-, consensus-, and likelihood-based selectors. Negative perplexity emerges as the strongest static selector on HumanEval-Decompile (73.3% pass@1), while execution-guided selection nearly closes the oracle gap on ExeBench (86.3% pass@1). Combined with one epoch of fine-tuning on our newly released ExeBench-Obfuscated dataset containing 362,647 obfuscated OLLVM samples, the same pipeline increases the pass@1 rate for obfuscated binaries to 88.8%, directly contradicting prior claims that released LLM4Decompile checkpoints are unsuitable for obfuscated inputs.

arXiv:2611.27529v1cs.CV

Fix Where It Fails: Root-Cause-Guided Agentic Harness Optimization for Scene Graph Generation

Scene graph generation (SGG) aims to detect objects in an image and predict the relationships between them. The standard PredCls, SGCls, and SGDet settings show how much performance drops without ground-truth boxes and labels, but not where or why a model fails. Knowing this would allow fixing a model where it fails, without retraining. We propose RoHa-SGG (Root-cause-guided Harness optimization for SGG), which extends agentic harness optimization to SGG. It optimizes the harness, the inference code around a frozen SGG model. RoHa-SGG has two main LLM agents. A root-cause analysis (RCA) agent finds the components where the model fails and diagnoses why, and a proposer agent searches for a harness that fixes these causes. We evaluate RoHa-SGG on Visual Genome and PSG with representative two-stage, one-stage, and multimodal-LLM SGG models. The analysis shows that the components where ground-truth triplets are lost differ across models and datasets. RoHa-SGG improves every metric on all five model-dataset combinations. Graph-constrained R@100 and mR@100 rise by up to 15.8 and 26.4 points for the multimodal LLM and by up to 3.6 and 10.1 points for the two-stage and one-stage models. With root-cause guidance, the harness search reaches the final score of an unguided search up to three times faster.

arXiv:2611.25620v1cs.CV

CaT-Movie: Balancing Global Planning and Local Rendering for Long Multi-Shot Video Generation

Current multi-shot video generators render only limited durations per pass, requiring long movies to be stitched from local segments across which narrative progression and visual identity drift. To synthesize long-horizon movies with Coherence across Time, we present CaT-Movie, a multi-shot generation system consisting of a global story planner and a local window renderer. The planner expands user requests via a large language model to preserve, infer, and complete story details, while deterministic code maintains the resulting storyboard across shots to compile self-contained shot prompts and index reference frames from generated history. To execute this guidance, the renderer applies reference-routed sparse self-attention and shot-wise cross-attention to route identities from the indexed frames while isolating per-shot textual conditions. Given the scarcity of high-quality open-source multi-shot data, we construct a dataset of over 350K film shots annotated with semantic state transitions, entity grounding, and multi-granularity requests. We further build CaT-MBench, a benchmark on held-out films with the same annotations. It gives every baseline its native format and counts cross-shot consistency only when a cut opens a new camera setup, preventing repeated framing from passing as consistency. On CaT-MBench, CaT-Movie attains the highest average score and the most consistent characters among all methods. The project page is available at https://jinplu.github.io/CaT-Movie/.

arXiv:2611.18629v1cs.CL

Decision 1.0: 개방형 의사결정 파운데이션 모델을 향하여

Decision 1.0: Towards Open Decision Foundation Models

지능형 소프트웨어는 제어 흐름 내부에서 재사용 가능한 판단, 즉 행동 선택, 조건 검사, 또는 평가 기준에 따른 근거 평가를 필요로 한다. 본 논문은 텍스트 상태와 런타임에 정의되는 질문을 타입이 지정된 확률 분포로 변환하는 오픈 웨이트 모델 계열인 Decision 1.0을 제시한다. Choice, Noul, Score 인터페이스를 통해 애플리케이션은 추론 시점에 결과를 지정할 수 있으며, 예측을 조합하여 에이전트와 워크플로를 구성할 수 있다. 각 질문은 자기회귀적 텍스트 생성 없이 후보 분포를 산출한다. 여섯 개의 모델은 워크플로 특화 모델을 포함하여 양방향 인코더와 인과적 디코더 아키텍처를 아우른다. 학습에는 검증 가능한 과제, 자연어 주석, 워크플로 적응이 활용된다. 공통 의사결정 벤치마크에서 Lux-9B는 명시적 의사결정에서 84.17\%, 추론에서 91.25\%를 달성했으며, 가중 종합 점수는 77.22\%이다. 결과는 또한 조합, 전이, 확률 보정에서의 한계를 드러낸다. 공개된 가중치와 추론 코드는 의사결정 모델을 소프트웨어의 재사용 가능한 구성요소로 개발하기 위한 기반을 제공한다.

arXiv:2611.31794v1cs.AI

AGL-SKILL: Coding Harnesses as Agentic Optimizers

Frontier models are increasingly used through harnesses as agents, with growing autonomy to do useful work. Agent performance can often be enhanced by the use of skills: reusable workflows, code, and prompts that provide task-related information or guide the behaviour of the model. Skills, being textual in nature, present themselves as another editable surface to be optimized; current methods have improved on handcrafting and one-shot generation by treating skill development as an iterative process, using score-driven search to tweak and improve performance. In this paper, we demonstrate the efficacy of the agents themselves as optimizers: across five benchmarks, a coding agent without guidance substantially improves every target and outperforms published skill-optimization methods. More broadly, this shows the capability of agents to do such work and to refine their own behaviour to provide task-specific context, as long as they are given a metric to measure against.

arXiv:2611.03184v1cs.CL

ACTOR: 문학 롤플레잉 에이전트를 위한 행동 중심 시간적 조직화

ACTOR: Action-Centered Temporal Organization for Literary Role-Playing Agents

문학 롤플레잉을 위한 대규모 언어 에이전트는 일반적으로 대화 생성을 중심으로 모델링되어, 인물의 비대화 행동과 이야기 시간에 따른 동적 변화가 충분히 다뤄지지 않는다. 본 논문은 원본 소설 텍스트로부터 이러한 행동 궤적을 구축하는 자동화 프레임워크 ACTOR(Action-Centered Temporal Organization for Literary Role-Playing Agents)를 제안한다. ACTOR는 대화와 인물 설정과 관련된 비대화 행동을 추출하고, 각 행동을 생각-행동-관찰(Thought-Action-Observation) 구조로 표현하며, 이야기의 내부 시간 순서에 따라 행동 궤적을 조직한다. 다양한 문학 작품 143편으로 행동 데이터셋을 구축한다. 각 원본 행동에 대해 문맥상 그럴듯하지만 인물의 설정과는 일치하지 않는 반사실적 행동을 생성한다. 기존 모델은 과거 행동과 변화하는 인물 상태로부터 인물에 일관된 행동을 안정적으로 추론하는 데 어려움을 겪는다는 것을 확인한다. 이러한 행동 쌍을 사용해 정규화 선호 최적화(Regularized Preference Optimization, RPO)로 모델을 학습시키는데, 이는 DPO에 원본 행동에 대한 음의 로그 가능도 손실을 더해 행동 선호와 생성을 함께 최적화한다. 또한 모델이 인물의 행동을 충실히 모사하는 능력을 평가하기 위해 4지선다 다음 행동 선택 과제를 설계한다. 17,560개 평가 사례에서 ACTOR의 선호 쌍으로 학습된 모델은 정확도가 크게 향상된다. 이 결과는 구조화되고 시간적으로 조직된 지도가 모델이 인물 프로필과 이전 행동을 활용해 이후 행동을 추론하게 하며, 문학 롤플레잉을 단순한 대화 모방을 넘어 크게 발전시킴을 보여 준다. 코드와 데이터는 https://github.com/SilentStar233/ACTOR 에서 이용할 수 있다.