PyTorchKR Papers

“Code Generation”

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

카테고리 탐색

arXiv:2611.13776v1cs.CV

DisasterAgent: 원격 탐사 영상으로부터 검증 가능한 재난 보고서를 생성하는 근거 기반 에이전트

DisasterAgent: An Evidence-Driven Agent for Verifiable Disaster Report Generation From Remote Sensing Imagery

원격 탐사 재난 평가는 단순한 피해 분류에서 포괄적인 보고서 수준의 분석으로 나아가고 있다. 이러한 환경에서 대응 인력에게는 피해 설명뿐 아니라 대응과 복구를 안내할 검증 가능한 근거도 필요하다. 최근의 시각-언어 모델(VLM)과 도구 증강 에이전트는 강력한 다중 모달 추론과 인지 능력을 제공하지만, 중대한 사안의 검증에 필요한 근거를 제공하는 데는 어려움을 겪는다. 이러한 한계를 해결하기 위해 우리는 인지-증강-생성 워크플로를 사용하여 두 시점의 광학 영상으로부터 검증 가능한 재난 보고서를 생성하는 근거 기반 에이전트인 DisasterAgent를 제안한다. DisasterAgent는 인지 단계에서 먼저 전문 비전 전문가 도구 모음을 호출하여, 재난으로 유발된 공간적·시간적 변화를 저장하고 조직하는 구조화된 메모리 역할을 하는 시공간 인지 그래프(Spatiotemporal Perception Graph, STPG)를 구축한다. 이어서 근거 기반 증강(Evidence-based Augmentation, EA)이 STPG에서 근거를 추출하고 인라인 인용을 첨부하여 각 서술로부터 이를 뒷받침하는 시각적 근거에 이르는 폐쇄적 근거 루프를 형성한다. DisasterM3와 RSCC 벤치마크에 대한 폭넓은 실험에서 DisasterAgent는 범용 VLM, 원격 탐사 특화 모델, 기존 원격 탐사 에이전트를 일관되게 능가한다. 특히 원래 모델과 비교하여 DisasterM3의 재난 보고서 생성 평균 점수를 13.5\%, RSCC의 ST5-SCS를 15.34\% 향상시켜, 재난 긴급 대응을 위한 더 정확하고 검증 가능한 해법을 제공한다. 코드는 https://github.com/ZhijianLi2003/DisasterAgent 에서 공개될 예정이다.

arXiv:2611.23908v1cs.AI

서버 측 사전학습 확산 모델을 활용한 원샷 연합학습용 학습 불필요 도메인 생성

Training-Free Domain Generation for One-Shot Federated Learning with Server-Side Pre-trained Diffusion Models

원샷 연합학습(OSFL)은 클라이언트-서버 상호작용을 단 한 번의 통신 라운드로 제한하여 통신 오버헤드를 크게 줄일 수 있다는 점에서 관심이 커지고 있다. 그럼에도 이러한 제한된 상호작용은 이질적인 클라이언트 분포로부터의 학습을 어렵게 만든다. 확산 기반 OSFL 접근법은 클라이언트 분포를 근사하는 데이터를 합성하여 이 문제를 해결하려 한다. 그러나 기존 확산 기반 접근법은 클라이언트에 상당한 계산 비용을 부과하는 경우가 많고, 클라이언트 분포에 부합하는 데이터를 생성하기 위한 효과적인 시각적 안내가 부족하다. 이러한 한계를 해결하기 위해 우리는 서버 측 사전학습 확산 모델을 활용하여 클라이언트 도메인에 부합하는 데이터를 합성하는 학습 불필요 도메인 생성 프레임워크 FedDoG를 제안한다. FedDoG는 고정된 이미지 인코더로 간결한 도메인 표현을 추출하여 클라이언트 측 계산 및 통신 비용을 크게 줄인다. 이 표현은 사전학습된 이미지 조건 어댑터를 통해 확산 모델에 통합되어 도메인 생성을 위한 명시적인 시각적 안내를 제공한다. 합성 데이터의 품질을 더욱 높이기 위해 FedDoG는 도메인 집중도에 따라 시각적 조건화의 강도를 조정하고, 클래스 일관성과 예측 엔트로피를 기준으로 생성된 샘플을 걸러 낸다. 세 가지 벤치마크에서의 실험 결과, FedDoG는 더 높은 품질의 합성 이미지를 생성하고 분류 정확도에서 기존 OSFL 기준선을 능가한다. 또한 FedDoG는 클라이언트 업로드량과 계산 시간을 각각 99.9%와 91.5% 줄인다. 코드는 https://github.com/YXTong17/FedDoG 에서 이용할 수 있다.

arXiv:2611.23205v1cs.LG

노트북 내장 GPU에서 SFT와 QLoRA로 Gemma 4 엣지 모델의 MATLAB 신호 처리 코드 생성 능력 미세조정

Fine-Tuning Gemma 4 Edge Models for MATLAB Signal-Processing Code with SFT and QLoRA on a Laptop iGPU

노트북에서 실행되는 소형 언어 모델은 오프라인에서 신호 처리 코드를 작성하는 데 유용할 수 있지만, 디지털 신호 처리(DSP) 규약에서 반복적으로 오류를 낸다. MATLAB 신호 처리 하위 과제 11개를 포괄하는 검증된 예시 66개로 Gemma 4 엣지 모델 E2B와 E4B를 지도 미세조정(SFT)했다. 노트북 내장 GPU(iGPU)에서 저랭크 적응(LoRA)과 양자화 LoRA(QLoRA)를 사용했으며, 8비트 정수(int8) 모델을 어댑터와 함께 OpenVINO로 배포했다. 따로 보관한 변형 문제를 결정론적 검사기로 평가한 결과, E2B의 통과 건수는 66건 중 18건에서 LoRA와 QLoRA 모두 37건으로 늘었다. E4B의 경우 QLoRA로 66건 중 32건에서 47건으로 늘었다. 실패한 프로그램 159개를 모두 검토한 결과, 어댑터는 지연의 부호, 단위, 배열 형상 같은 규약 오류는 대부분 없앴지만, 신호와 잡음을 구성하는 오류는 거의 줄이지 못했다. 추론 시 어댑터를 적용하면 생성 속도가 17~19% 감소했다.

arXiv:2610.39372v1cs.CL

Cord: 마스크 확산 언어 모델을 위한 신뢰도 고정 순서 잔차 디코딩

Cord: Confidence-Anchored Order Residual Decoding for Masked Diffusion Language Models

마스크 확산 언어 모델(dLLM)의 디코딩 순서는 생성 품질에 상당한 영향을 미칠 수 있으나, 일반적인 디코더는 생성 전 과정에서 동일한 공개 규칙을 적용한다. 신뢰도는 강력한 기본값을 제공하지만, 이는 한 위치를 지금 얼마나 확정적으로 예측할 수 있는지를 측정할 뿐 그 위치를 공개하는 것이 이후 디코딩에 얼마나 유용한지를 측정하지는 않는다. 본 논문에서는 신뢰도 디코딩을 안정적인 기준으로 유지하면서, 생성 방향, 공개된 문맥과의 근접성, 양방향 채우기에 대한 기하학적 잔차를 통해 언제 어떻게 이로부터 벗어날지를 학습하는 경량의 프롬프트 조건부 정책 Cord를 제안한다. 잔차는 프롬프트와 변화하는 부분 응답 모두에 적응한다. Cord는 매 디코딩 단계마다 새로운 정책 행동을 샘플링하는 대신, 롤아웃마다 하나의 저차원 계수 행렬을 샘플링하여 상태 의존적인 전체 공개 궤적을 유도한다. 이는 단계별 크레딧 할당이나 백본 업데이트 없이 시퀀스 수준 보상으로 직접 학습되는 컨텍스트 밴딧 정식화를 이룬다. 세 가지 dLLM과 다섯 가지 추론, 코드, 제약 충족 벤치마크에서 Cord는 평균 과제 성공률을 신뢰도 디코딩의 32.0%에서 48.2%로 향상시켰으며, 도메인별 최적 고정 잔차보다도 추가로 향상되었다. 행동 감사 결과, 학습된 잔차가 공개의 국소성과 양방향 채우기에서 과제에 따라 상당한 변화를 유도함을 보였다. Cord는 학습 가능한 파라미터를 $0.53$M만 추가하며, 추가적인 백본 순전파가 필요 없고, 추론 지연 시간 오버헤드는 5.39%에 불과하다.

arXiv:2611.27443v1cs.LG

Learning When to Ask: Advisor-Aware Post-Training for SLM Agents

Small language models (SLMs) are increasingly attractive for cheap, high-throughput agentic deployment, but they remain weak at multi-step reasoning and tool use that long-horizon tasks demand. We study how to post-train an SLM to seek advice from a stronger model and act on that advice itself, following an advisor-executor pattern. Out of the box, this pattern fails across open- and closed-source small-model families: wiring an SLM to an advisor is a harness-design matter that is not enough on its own. A post-training recipe is needed to teach the model when to ask, in a cost-aware fashion, and how to follow advice across steps. Our method, ADAPT (ADvisor-Aware Post-Training), is a multi-stage recipe that instills this behavior, learning entirely from the policy's own rollouts supervised by the environment's outcome, with no learned reward model or human annotation. Across three domains, compared to an untrained harness baseline, ADAPT improves success rate in embodied text reasoning (TextWorld) from 24.5% to 77.3%, code generation (LiveCodeBench) from 21.8% to 56.0%, and deep web search (GAIA) from 17.5% to 49.3%, while querying the advisor sparingly (~1.0-2.1 calls per task). On the two long-horizon domains it closes 70-85% of the gap to an oracle that perfectly times when to ask for advice, and on code generation it exceeds that oracle. The gains persist when the advisor is replaced by one unseen in training, showing that the learned help-seeking policy is robust to a changing advisor rather than tied to the one it was trained with.

arXiv:2611.22903v1cs.CV

BRepA: CAD 이해와 생성을 통합하는 그래프 기반 B-Rep 사전학습

BRepA: Graph-Based B-Rep Pretraining for Unified CAD Understanding and Generation

CAD 모델의 경계 표현(B-Rep)은 기본 기하 요소와 그 관계를 그래프 구조로 인코딩해 CAD 소프트웨어에서 형상을 효율적으로 모델링할 수 있게 한다. B-Rep을 사용해 분할이나 새로운 형상 생성 같은 후속 과제를 학습하려면 특화된 신경망 설계가 필요하다. 효과적인 사전학습은 성능을 높이고 학습을 빠르게 할 수 있으며, 레이블이 달린 B-Rep 데이터가 적은 과제에서 특히 중요하다. 그래프 모델링으로 B-Rep 객체의 기하 구조와 위상을 모두 명시적으로 복원하는 통합 자기지도 사전학습 프레임워크 BRepA를 소개한다. 대규모 비레이블 CAD 데이터에서 한 번 학습해 여러 과제에 일반화되는 표현을 얻고 판별 학습과 생성 학습을 크게 개선한다. 분할에서는 적은 데이터로 높은 효율을 보였다. 예를 들어 레이블이 있는 샘플을 1%만 사용했을 때, 사전학습한 BRepA를 사용하면 처음부터 학습한 모델보다 평균 교집합 대 합집합 비율(mIoU)이 32.52% 높았다. 생성 과제에서는 확산 모델의 표현을 사전학습한 BRepA 특징과 정렬하자 수렴이 크게 빨라졌다. 확산 모델이 BRepA보다 약 20배 큰데도 학습 속도가 약 두 배가 됐으며, 같은 연산 예산에서 생성 품질도 향상됐다. 이 결과는 기하 구조와 위상을 고려한 B-Rep 사전학습이 CAD 구조의 이해와 생성에 유용하고, 여러 후속 응용의 표현 백본으로 쓰일 수 있음을 보여 준다. 후속 연구를 지원하기 위해 코드를 공개할 예정이다.

arXiv:2611.25763v1cs.CL

Closing Performance Gap for Diffusion Language Models under Low Inference Budgets

Diffusion language models offer an architectural route to low-budget generation by updating multiple tokens in parallel, which can reduce the number of sequential decoding steps relative to token-by-token autoregressive decoding. However, realizing this advantage at low budgets is challenging, as generation quality often declines when the number of denoising and refinement steps is reduced. Editable diffusion models address this quality loss through post-draft refinement, but useful intermediate results may still be lost before final submission. We introduce CaRR (Commitment-aware Refinement and Recovery), a training-free framework which improves submission quality from a fixed editable checkpoint through updated-context refill and trajectory-based recovery within its existing forward schedule. Token Commitment Remasking (TCR) remasks selected native pure replacements and refills them on the next scheduled edit forward using the updated context. Submission Commitment Recovery (SCR) uses the resulting refinement trajectory to recover supported candidates when the final response does not satisfy task-specific output requirements. Both modules operate within the native mask/edit schedule without additional backbone forwards. Experiments on code generation and mathematical reasoning show consistent gains in average accuracy over native ME-DLM across four inference budgets, with the largest gains under tight budgets. At one-eighth of the full scheduled forward budget, CaRR improves the six-metric average accuracy by 7.44 pp, including gains of 11.37 and 10.05 on MBPP and MBPP+.

arXiv:2611.00062v1cs.CV

CarDiff: 확산 모델을 이용한 해부학 인식 치아 우식 합성

CarDiff: Anatomically Aware Dental Caries Synthesis using Diffusion

합성 의료 영상 생성은 치과 영상, 특히 과소 대표된 우식 클래스에서 주석 데이터가 제한적인 문제를 해결하는 데 도움이 될 수 있다. 본 연구는 파노라마 방사선 사진에서 치아 우식을 합성하기 위한 준지도 프레임워크인 CarDiff를 제시한다. 이 방법은 쌍을 이룬 마스크-영상 학습과 증강된 마스크로부터의 자기 지도 생성을 결합하면서, 병변 영역과 주변 구조 사이의 해부학 인식 조건화를 통합한다. 의미적 일관성은 분할 기반 지도와 적대적 해부학 정렬을 통해 강제된다. MLUA-DC1000 데이터셋에서의 실험은 CarDiff가 기존 의미 합성 베이스라인에 비해 향상된 합성 품질을 달성함을 보여주며, 평가된 방법 중 최고의 Fréchet Inception Distance(FID)(90.76)와 Learned Perceptual Image Patch Similarity(LPIPS)(0.48) 점수를 얻었다. 또한 생성된 방사선 사진을 일곱 가지 아키텍처에 걸친 하위 분할 증강에 대해 평가한다. 5배 증강된 학습 세트를 사용하면 평균 Dice 점수가 최대 6.5% 향상되며, 중간 크기 병변 및 결합 병변 클래스에서 더 큰 향상이 관찰된다. 이러한 결과는 해부학적으로 일관된 확산 합성이 제한된 지도 하에서 방사선 사진 증강에 유용할 수 있음을 시사한다. 코드는 https://github.com/s4nyam/CarDiff 에서 확인할 수 있다.

arXiv:2611.26782v1cs.AI

ChatAtom: A Multi-Agent LLM System for Molecular Dynamics Simulation and Visualization

Molecular dynamics (MD) simulation resolves atomic-scale motion and predicts the structural, mechanical, and dynamic properties of materials, making it cen- tral to materials design and discovery. Yet an MD study requires an expert-driven workflow: designing the simulation, writing reliable input scripts, executing them, and analyzing the results with separate tools. Here we present ChatAtom, a multi-agent large language model system that translates a natural-language request into a complete MD workflow without the user writing input scripts or analysis code. Each agent has a defined responsibility within the workflow. An orchestrator plans the study; the LAMMPS and OVITO agents each use a generator-reviewer pair to prepare and review simulation and visualization scripts before execution; a high-performance computing agent dispatches jobs to remote resources; and an analysis agent interprets the completed run. The work- flow is accessible through a browser interface that streams thermodynamic data and rendered frames during local execution, allowing users to follow the simu- lation as it progresses. The architecture also supports new capabilities through loadable skills without modifying the agents, enabling autonomous hypothesis generation and testing. We evaluate ChatAtom through script-generation bench- marks, an end-to-end study of crack propagation, and a closed-loop campaign. By bringing script generation, execution, visualization, and analysis into one reviewed and observable pipeline, ChatAtom lowers the barrier to conducting MD studies and broadens access to advanced simulation workflows.

arXiv:2611.05591v1cs.LG

C-GRPO: 컨포멀 그룹 상대 정책 최적화

C-GRPO: Conformal Group Relative Policy Optimization

추론 중심 언어 모델 학습은 점차 여러 온폴리시 롤아웃에 의존하지만, 표준 Group Relative Policy Optimization(GRPO)은 고정된 그룹 크기를 사용하므로 쉬운 프롬프트에는 연산을 낭비하고 어려운 프롬프트는 충분히 탐색하지 못한다. 기존의 적응형 예산 방법은 이러한 비효율을 완화하지만, 그 중단 규칙은 휴리스틱이며 유한 표본 보정 보장을 제공하지 않는다. 우리는 표준 GPRO의 고정 롤아웃 예산을 과제별 비순응 점수에 대한 보정된 컨포멀 임계값으로 대체하는 CGRPO를 제안한다. 이는 닫힌 형태 추론을 위한 Adaptive Prediction Set(APS) 방식의 보정, 실행 기반 코드를 위한 최초 성공 점수, 자동 미커버리지 선택, 주기적 재보정을 결합한다. 우리는 결과적인 중단 규칙의 유한 표본 커버리지를 증명하고, 단조로운 정책 개선 하에서 재보정이 기대 학습 예산을 감소하지 않도록(non-increasing) 만든다는 것을 보인다. 수학, 대학원 수준 과학, 코드 생성에 걸친 여섯 개의 벤치마크에서 CGRPO는 고정 예산 GRPO 대비 평균 학습 롤아웃을 49-70% 줄이면서도 강력한 고정 예산 정확도를 유지하고, 서로 다른 데이터셋에서 평가한 정적 및 동적 기준선 중 가장 높은 pass@1을 달성하며, 모델 계열 간에도 전이되어 최대 82%의 롤아웃을 절감한다.

arXiv:2611.14604v1cs.LG

KernelMosaic: CUDA 커널 생성을 위한 오픈 데이터셋과 에이전트 프레임워크

KernelMosaic: An Open Dataset and Agentic Framework for CUDA Kernel Generation

효율적인 CUDA 커널을 생성하도록 대규모 언어 모델을 학습시키려면 다양한 계산 요구 사항과 반복적인 코드 최적화를 아우르는 지도 신호가 필요하다. 이러한 지도 신호를 구축하는 일은 명세가 이질적이고, 유용한 구현이 반복적이고 복잡한 테스트와 개선을 거쳐 나타나기 때문에 어렵다. 본 논문은 다양한 CUDA 과제를 검증된 해법 및 궤적과 짝지은 오픈 데이터셋 KernelMosaic을 소개한다. 사람이 참여하는 검토와 다양성을 고려한 선택을 통해 자연어 설명, 참조 프로그램, 수학적 명세 및 이들의 교집합으로 표현된 과제를 선별한다. 해법과 궤적을 구축하기 위해 우리의 에이전트 프레임워크는 재사용 가능한 CUDA 지침과 실행 피드백을 활용하여 강력한 LLM이 구현, 정확성 수정, 성능 최적화를 수행하도록 이끈다. 소형 오픈소스 모델을 KernelMosaic으로 지도 미세 조정하면 KernelBench L1, L2, L3에서 정확도가 각각 4%, 0%, 0%에서 88%, 82%, 16%로 향상되며, 모든 수준에서 PyTorch eager보다 빠른 커널을 가진 과제의 비율도 증가한다. 추가 학습 실험에서는 선별된 궤적을 통한 지도가 직접 응답보다 크게 우수하며 지속적인 테스트와 수정을 촉진함을 보인다. 이러한 결과는 KernelMosaic이 범용 모델의 CUDA 커널 생성 성능을 크게 향상시킬 수 있음을 보여 준다.

arXiv:2611.18644v1cs.LG

Minari: 협업형 강화학습 데이터셋을 위한 인프라

Minari: Infrastructure for Collaborative Reinforcement Learning Datasets

오프라인 강화학습(RL)은 공유 데이터셋에 의존하지만, 이를 공유하는 일은 여전히 어렵다. 벤치마크마다 고유한 형식을 사용하고, 문서는 빈약하며, 대부분의 데이터셋은 환경 코드가 변경되고 나면 재생성할 수 없다. 우리는 RL 데이터셋의 생성, 공유, 로딩을 위한 오픈소스 Python 라이브러리 Minari를 소개한다. Minari의 API는 Gymnasium을 따르므로, 데이터셋을 기록하려면 환경을 래핑하고 평소처럼 단계를 진행하면 된다. 이후 사용자는 메타데이터를 첨부하고 데이터셋을 필터링, 결합, 셔플할 수 있으며, HuggingFace Hub를 통해 명령어 하나로 게시하거나 다운로드할 수 있다. 모든 데이터셋은 환경을 재구축하고 데이터를 재생성하는 데 필요한 환경 명세, 시드, 적용된 래퍼, 고정된 패키지 요구 사항을 저장한다. TorchRL, AgileRL, d3rlpy는 이미 Minari 데이터셋을 기본적으로 로드하므로, 해당 라이브러리에서 데이터셋을 전환하는 데 코드 한 줄이면 된다. 또한 Minari는 로봇 보행과 조작, 미로 및 격자 내비게이션, 언어 조건 지시 수행, Atari, 웹 내비게이션을 포괄하는 338개의 재현 가능한 데이터셋(35만 개 궤적, 5,500만 스텝)을 호스팅하며, 여기에는 공개된 생성 스크립트를 갖춘 D4RL의 전면 재생성이 포함된다. 우리는 재생성된 D4RL과 MuJoCo 데이터셋에서 여섯 가지 오프라인 RL 알고리즘의 베이스라인 점수를 보고한다.

arXiv:2611.16215v1cs.SE

소형 로컬 언어 모델을 이용한 리눅스 커널 시맨틱 패치의 유도 생성

Guided Generation of Linux Kernel Semantic Patches with Small Local Language Models

리눅스 커널 API가 변경되면 수백 개의 드라이버가 수개월에 걸쳐 수작업으로 변환되며, 앞선 변환은 이후 변환을 위한 검토된 예시가 된다. 우리는 노트북에서 실행되는 소형 오픈 언어 모델이 이러한 예시를 Coccinelle 시맨틱 패치, 즉 커널 유지보수자가 트리 전체 변경에 이미 사용하는 규칙으로 바꿀 수 있는지 묻는다. 우리는 유도 코드 생성을 이 과제에 맞게 조정한다. 학습 예시는 스크립트로 변경 변형의 트리로 분해되고, 모델은 예시에 적용한 결과의 피드백을 받아 변형마다 작은 규칙 하나를 작성하며, 결정론적 구성 요소가 SmPL 구문을 수정하고 드라이버 고유의 이름을 일반화하고, 규칙은 탐욕적으로 합성되며, 컴파일 비평기가 출력이 빌드되지 않는 규칙을 수정하거나 거부한다. 우리는 새 API가 세 모델(Qwen2.5-Coder 7B, Llama 3.1 8B, Gemma 3 4B) 모두의 학습 기준 시점 이후에 나타난 7개 마이그레이션의 사전 등록된 테스트 세트에서 122개의 보류된 드라이버 변환으로 평가하며, 규칙의 출력이 사람의 수정과 일치하고 컴파일될 때만 변환을 해결된 것으로 센다. 프레임워크를 사용하면 Qwen2.5-Coder는 세 시드 평균 35.3개의 변환(범위 32-41)을 해결하는 반면 직접 프롬프트하면 1.0개를 해결하며, Spinfer는 41개, 프런티어 LLM 에이전트는 66개를 해결한다. 로컬 모델은 Spinfer보다 적은 변환을 해결하지만 그 규칙은 테스트 세트에서 가장 정밀하며(규칙이 변경하는 파일 중 해결된 비율이 0.74로, Spinfer 0.55, 프런티어 에이전트 0.70에 비해 높다), 컴파일 비평기는 사람의 수정과 일치하지만 빌드되지 않는 모든 출력을 제거한다. 두 범용 모델은 유도가 있어도 약한 수준에 머문다(최대 12개 해결). 모든 코드, 프롬프트, 모델 응답과 결과를 공개한다.

arXiv:2611.27217v1cs.CL

CoPyro: Feeding Copy Proposals to Parallel Drafters

Speculative decoding accelerates language generation by letting a target model verify several draft tokens in one forward pass. Earlier neural drafters such as EAGLE extend each candidate sequence one token at a time. Recent work has turned to parallel drafters such as DFlash, which predict a whole block at once. Another approach uses n-gram retrieval to find an earlier occurrence of the current context suffix and copy the tokens that followed it directly into the draft. We introduce CoPyro, which feeds these copied tokens into a parallel drafter in place of masks. The drafter learns from context which tokens to keep and which to revise as it predicts the block in its usual forward pass. Across eight benchmarks on Qwen3-4B, CoPyro improves overall acceptance length for all four parallel drafters tested, with gains of 2.19-5.08% when trained on 100K samples. With DFlash trained on 710K samples, overall gains range from 1.08% to 2.00% across the tested model sizes and temperatures. Code generation benefits most in both settings. On Qwen3-8B, processing the proposals adds an average of 0.24 ms per decoding round in Transformers.

arXiv:2611.31194v1cs.LG

Learning Neurovascular Codes for EEG-to-fMRI Synthesis

In this paper, we introduce Neurovascular Codes as shared EEG representations for fMRI generation. We first train a separate EEG encoder to predict each fMRI signal, learning target-specific temporal and spectral features from the same EEG window. After training, we freeze the encoders and project their concatenated hidden features into a shared neurovascular code. Conditioned on this code, stochastic interpolant transforms Gaussian noise into a vector of fMRI signals, allowing different responses to be sampled for the same EEG window. We evaluate our approach on eight public simultaneous EEG-fMRI datasets, including four resting-state and four task-based datasets with 61,646 volume-level pairs. Under within-subject and held-out-subject evaluation, our model improves average Pearson correlation over the strongest encoder baselines by 19.1% and 19.8%, respectively. The corresponding improvements over the strongest generator baselines are 18.8% and 47.9%. Beyond reconstruction accuracy, we also evaluate the generated signals using subject-identification classifiers trained on real fMRI. Our method achieves the highest mean accuracy among the evaluated generators. We hope that our work opens up new opportunities for cross-modal brain modeling.

arXiv:2611.04097v1cs.LG

ScaleTraj: 규모 분해 기반 인간 이동 궤적 생성

ScaleTraj: Scale-Decomposed Human Trajectory Generation

개인 수준의 궤적은 사용자 수준의 이동 행태에 의존하는 응용에 필수적이다. 기존의 이동 생성 접근법은 개인 수준과 집단 수준 통계적 충실도 사이의 근본적 긴장에 직면한다. 하향식 모델은 집계된 이동 통계를 재현하지만 현실적인 개별 궤적을 보장하기 어렵고, 상향식 생성기는 개별 궤적을 합성하지만 집계 후 핵심적인 집단 수준 이동 규칙성을 보존하지 못하는 경우가 많다. 특히 많은 상향식 생성 집단은 변위 분포를 재현하지 못하는데, 이 분포의 두꺼운 꼬리는 절단 멱법칙으로 잘 요약된다. 우리는 이 현상을 \textbf{집단 수준 변위 격차(Population-Level Displacement Gap)}로 형식화한다. 그 만연도를 조사하기 위해 대표적인 모델 기반 및 데이터 기반 궤적 생성기를 체계적으로 평가한다. 결과는 집단 수준 변위 격차가 다양한 생성 패러다임에 걸쳐 만연해 있다는 증거를 제공한다. 이 격차를 진단하기 위해 공간 규모별 통행 배분의 불일치를 정량화하는 규모 분해 지표인 \textbf{규모 충실도 프로파일(Scale Fidelity Profile, SFP)}을 도입한다. SFP는 집단 수준 변위 불일치가 공간 규모에 걸친 통행 배분의 체계적 오류와 함께 나타남을 보여준다. 이 관찰에 착안하여 우리는 위치 예측을 이동 규모를 결정하는 규모 선택 헤드(Scale Selection Head)와, 선택된 규모를 조건으로 목적지를 예측하는 규모 인지 셀 선택 헤드(Scale-Aware Cell Selection Head)로 분해하는 자기회귀 Transformer인 \textbf{ScaleTraj}를 개발한다. 두 데이터셋에서의 실험은 ScaleTraj가 충실도를 유지하면서 모델 기반 및 데이터 기반 기준선에 비해 집단 수준 변위 격차를 줄임을 보여준다. 코드는 https://github.com/SCU-TrustworthyAI/ScaleTraj 에서 확인할 수 있다.

arXiv:2611.10906v1cs.CL

SCorPion: 전략적이고 제어 가능하며 인격화된 대화형 동반자

SCorPion: A Strategic, Controllable and Personified Conversational Companion

고정된 프롬프트 기반 언어 모델은 개방형 도메인 대화에서 어려움을 겪는다. 이러한 대화에서는 다양한 주제가 다뤄지므로, 범용 성능을 극대화하려면 서로 다른 전문가의 조언이나 시연이 필요하기 때문이다. 우리는 언어 생성 분야의 동적 프롬프트 연구에 착안하여, 다양한 형태의 텍스트 코퍼스에서 서로 다른 대화 전략을 추출한다. 이 전략은 인간의 원칙에 따라 언어 모델이 다른 스타일을 취하도록 유도한다. 우리는 SCorPion이라는 대화형 동반자를 설계하고 배포한다. SCorPion은 GraphRAG를 사용하여 지식 그래프를 전역적으로 추출·요약하고, 커뮤니티 단위로 요약된 전략을 도출하며, 질의 중심의 최적 전략을 생성한다. SCorPion은 전략적 사고를 하고, 인격화되고 스타일화된 응답을 생성하며, 명시적인 요인으로 제어할 수 있다. 코드와 추가 결과는 https://bachozean.github.io/scorpion-page/ 에서 확인할 수 있다.

arXiv:2611.16114v1cs.SE

ADAPT: 풀 리퀘스트를 위한 에이전트 기반 변경 인지 패치 테스트

ADAPT: Agentic Diff-Aware Patch Testing for Pull Requests

현대 소프트웨어 개발은 작고 표적화된 코드 변경을 도입하는 풀 리퀘스트(PR)에 의존한다. 병합된 이후에는 이러한 변경을 PR이 도입한 동작을 검증하는 집중적인 테스트로 보호해야 하지만, 개발자들은 종종 그러한 테스트 없이 PR을 제출하여 새로운 동작이 향후 회귀로부터 보호되지 않은 채 남는다. 대부분의 테스트 생성 기법은 소프트웨어 단위 전체를 대상으로 하며 변경이 도입한 동작보다는 코드 커버리지 같은 목표를 최적화하고, 기존의 변경 인지 접근법은 이를 포착하는 데 제한적인 성공만 거두었다. 본 논문은 자율 코딩 에이전트를 사용하여 PR에 대한 변경 중심 테스트를 생성하는 회귀 테스트 생성 접근법인 ADAPT(Agentic Diff-Aware Patch Testing)를 제안한다. PR이 주어지면 에이전트는 기준 버전과 헤드 버전 간의 차이를 분석하여 수정된 함수와 그 맥락을 식별한 뒤, 후보 단위 테스트를 계획하고 생성한다. 전용 실패-후-통과(F2P) 검증 도구가 각 후보를 두 버전에서 실행하고, F2P 성공 후 실행 가능한 변경 라인 중 커버되지 않은 것을 보고하며, 에이전트는 이 피드백에 따라 테스트를 반복적으로 개선한다. 선행 최신 기준선이 사용한 것과 동일한 426개의 실제 PR에서 GPT-4o와 GPT-5-mini로 ADAPT를 평가한다. ADAPT+GPT-4o는 F2P 비율 62.0%(264/426)에 도달하여 BLAST의 보고된 35.4%(151/426)와 비교되며, ADAPT+GPT-5-mini는 89.9%(383/426)에 도달한다. Change And Cover(ChaCo)와 공통인 137개 PR에서 ADAPT는 PR의 83.9%에 대해 완전한 패치 커버리지를 달성하여 ChaCo의 79.6%를 웃돌며, 시간과 비용은 상당히 낮다. 수작업 평가에서는 F2P가 유효한 테스트가 각 PR의 의도된 변경을 겨냥함을 확인했으며, 평균 점수는 중요도 최대 4.54/5, 단언 강도 4.35/5, 가독성 4.49/5이고 개발자가 작성한 테스트를 넘어서는 동작을 다루는 경우도 많다.

arXiv:2611.29491v1cs.CL

Meddies-PII: A Multilingual Framework for Personally Identifiable Information Extraction in Clinical De-identification

Multilingual PII extraction in clinical text is limited by scarce governed data and by synthetic corpora whose construction is thinly documented. We present a large multilingual dataset covering seventeen languages, including seven Southeast Asian languages, and nine PII labels. We also document a detailed generation pipeline and release the complete prompts, catalogues, checks and label maps. A compact 350M-parameter BIOES token classifier trained on the resource achieves the highest score on all fifteen public benchmarks, significantly ahead of the strongest of four public systems on fourteen of them, with a mean exact-match F1 of 0.827 against 0.672 for the strongest system. We also tested it, without adaptation, on multilingual benchmarks, including two human-annotated German and Spanish clinical-style corpora, where it is competitive with the best public systems once annotation conventions are aligned, and is best in four of ten MultiGraSCCo languages; the results show that performance transfers across public benchmarks. We also analyse the data and find almost no near-duplicates and no text overlap between training and any evaluation set. The dataset, benchmark, model, generation framework and evaluation code are planned for public release upon acceptance.

arXiv:2610.37830v1cs.AI

Measuring Where Intent Gets Lost in Agentic Smart Contract Synthesis

AI agents can now write software from a plain-English description, but code that runs is not the same as code that does what was asked. This gap matters most for smart contracts, the programs behind Web3 applications that move money on a blockchain and cannot be fixed once deployed. We ask how to check whether an AI-written contract behaves as it should, and where the requested behavior gets lost. We design an evaluation built on execution rather than opinion. We replay the same transactions on an AI-written contract and on the original it should reproduce and measure how often they agree. We test every grading tool on planted mistakes, compare against an answer key written without the description, and audit our own scorer until known wrong answers cannot pass. Common methods, such as AI judges and standard analysis tools, miss obvious mistakes, and scoring choices matter too. Checking only the functions every system includes hid about half the difference between pipelines. We then propose an elicitation-first architecture. Before writing code, the agent asks the client a short checklist of questions, checks the contract against an independently written executable answer key, and returns disagreements to the client instead of silently rewriting code. Asking first matters far more than reviewing or patching afterwards, across three AI models, while automated security fixes often break requested behavior. A few well-chosen questions recover much of what a short description omits, and their value can be estimated without the original contract. To our knowledge, this is the first study in smart contract synthesis to gather missing requirements before generation and check the result against an independently written executable model. The lessons extend to any setting where AI agents turn requests into programs. We release our tools, 600 tasks and all results.