PyTorchKR Papers

“Code Generation”

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

카테고리 탐색

arXiv:2611.17784v1cs.LG

방향인가 크기인가? 과제 보정 방향 위에서 스칼라 학습하기

Direction or Magnitude? Learning Scalars over Task-Calibrated Directions

매개변수 효율적 미세조정(PEFT)은 학습 비용을 줄이면서 적응 품질을 유지하는 것을 목표로 한다. 본 논문은 훨씬 적은 학습 가능 매개변수, 더 낮은 최대 학습 메모리, 더 높은 처리량으로 LoRA에 견줄 만한 성능을 달성하는 SCALAR를 제안한다. SCALAR는 과제 활성화로부터 고정된 입력 기저를 구성하고 각 입력 방향에 무작위 출력 사전을 할당한다. 미세조정에서는 계층별 스칼라 계수만 학습하여 기울기와 옵티마이저 상태의 저장량을 줄인다. 그룹 연산은 어댑터를 토큰 활성화에 적용하기 전에 출력 원자를 집계하며, 호환되는 계층 간 사전 공유는 고정 기저의 저장량을 줄인다. 상식 추론, 수학 추론, 코드 생성, 그리고 지시 튜닝 후의 지식 평가에 대한 실험은 적은 학습 예산에서도 효과적인 적응이 가능함을 보여 준다. 상식 추론에서 SCALAR는 LoRA 학습 가능 매개변수의 약 4%만으로 LoRA에 견줄 만한 정확도를 달성한다. Qwen2.5-7B에서의 시스템 측정 결과, LoRA 대비 최대 학습 메모리는 20% 낮고 처리량은 6% 높다. 적응 품질, 간결한 학습 상태, 학습 효율을 겸비하여 SCALAR는 자원 제약 환경의 미세조정에 유망한 접근법이다.

arXiv:2610.41506v1cs.LG

PCD: 불규칙 샘플링 시계열을 위한 예측 부호화 동역학

PCD: Predictive Coding Dynamics for Irregularly Sampled Time Series

동적 시스템은 시간에 따라 연속적으로 변화하지만, 실제 상황의 관측은 희소하고 불규칙하며 비동기적인 경우가 많다. 따라서 미래 값이 부분적으로 관측된 궤적에 의존하므로, 정확한 예측을 위해서는 관측 사이의 잠재 상태 변화를 추론해야 한다. 본 논문은 불규칙 연속 동적 모델을 위한 잔차 피드백 메커니즘인 예측 부호화 동역학(PCD)을 제안한다. PCD는 이전 재구성을 유지하고, 이로부터 관측된 항목을 예측하며, 마스킹된 부호 있는 잔차를 에너지 페널티를 통해 상태 인식에 반영한다. 이 메커니즘은 ODE-RNN과 Latent ODE로 구현되어 이벤트 기반 은닉 갱신과 잠재 상태 인식을 지원한다. 예측 및 궤적 복원 과제에 대한 실험 결과, PCD는 희소하고 불규칙한 샘플링 하에서 연속 동적 백본을 개선한다. 또한 결과는 관측이 현재 궤적을 제약할 때 예측 오차 피드백이 잠재 상태 추정을 향상시킴을 나타낸다. 이러한 결과는 PCD가 연속 시간 시계열 모델링에서 궤적 생성, 관측 일관성 검사, 상태 정제를 함께 지원하는 잔차 피드백 프레임워크를 제공함을 시사한다. 소스 코드는 https://anonymous.4open.science/r/PCD-for-paper-92F1/ 에서 확인할 수 있다.

arXiv:2611.18669v1cs.CV

LogicEye: 해석 가능한 안과 진단을 위한 에이전트 기반 멀티모달 데이터셋

LogicEye: Agent Driven Multimodal Dataset for Interpretable Ophthalmic Diagnosis

안과 인공지능의 임상 도입은 낮은 해석 가능성과 정밀하게 주석된 멀티모달 데이터의 부족으로 여전히 제한되어 있다. 기존 데이터셋 대부분은 감별 진단에 필요한 세부적인 병리 소견 없이 대략적인 질환 라벨만 제공한다. 우리는 양성 포함 징후와 음성 배제 기준을 함께 검증하여 임상 추론을 모방하는 이중 풀 추론 및 검증 에이전트인 LogicEye$^{Agent}$를 제시한다. LogicEye$^{Agent}$를 사용하여 38개 질환과 29개 하위 유형에 걸친 구조화된 병리 보고서가 짝지어진 804,461장의 안저 및 OCT 이미지로 구성된 대규모 멀티모달 데이터셋 LogicEye$^{Data}$를 구축하였으며, 멀티모달 대규모 언어 모델과 임상 전문가의 공동 검증으로 품질을 보증하였다. 이 데이터셋을 바탕으로 계층적 질환 인식과 보고서 생성을 위한 범주 제약 손실을 포함하는 LogicEye$^{Bench}$를 추가로 개발한다. 대략적인 라벨을 검증된 시각 소견에 근거시키면 진단 환각을 효과적으로 억제하며, 안과 분야의 해석 가능한 비전-언어 모델링을 위한 견고한 토대가 마련된다. 코드는 https://github.com/Eden35/LogicEye-Agent-Driven-Multimodal-Dataset-for-Interpretable-Ophthalmic-Diagnosis 에서 확인할 수 있다.

arXiv:2611.11093v1cs.CV

자세 인코딩이 중요한가? 이산 동작 어휘 학습을 위한 기하학적 표현 분석

Does Pose Encoding Matter? Analyzing Geometric Representations for Discrete Motion Vocabulary Learning

연속적인 인간 동작을 유한한 이산 토큰 어휘로 압축하는 것은 이제 많은 동작 이해 및 생성 파이프라인의 첫 단계이다. 벡터 양자화는 잠재 공간을 유한한 코드북 주위의 보로노이 셀로 분할하지만, 그 잠재 공간의 기하는 입력 자세 인코딩에서 물려받은 것이며 어떤 인코딩이 효율적인 이산화를 허용하는지는 분명하지 않다. 우리는 골격 동작을 서로 다른 기하 공간에 놓는 네 가지 인코딩을 연구한다. 이는 픽셀 격자 상의 가우시안 관절 히트맵(관절 점 집합을 이차 구조 함수로 형태학적 팽창한 것임을 보인다), 유클리드 공간에서의 루트 상대 관절 위치, 연속적인 6D 임베딩을 통한 $\SO$ 상의 국소 관절 회전, 그리고 중복된 전체 운동학적 인코딩이다. 각각에 대해 코드북이 단위 초구면 위에 놓이는 VQ-VAE 토크나이저를 학습시키며, 코드북 크기, 시간 보폭, 코드 차원을 달리한다. 재구성 외에도 코드북 활용도와 유효 어휘 크기, 즉 관측된 토큰 분포와 동일한 엔트로피를 갖는 등확률 구면 보로노이 셀의 수를 측정한다. 회전 및 위치 인코딩은 추가 코드워드를 계속 유효 어휘로 전환하는 반면, 전체 운동학적 인코딩은 수백 개의 유효 셀에서, 히트맵은 60개 미만에서 포화된다. 가장 작은 코드 차원은 네 인코딩 중 셋에서 가장 높은 활용도를 보이며, 시간 보폭의 효과는 인코딩에 따라 달라진다. 따라서 동일한 자세 계열의 인코딩이라도 유효 어휘가 한 자릿수 배수만큼 차이 날 수 있으며, 이 차이는 재구성 손실만으로는 드러나지 않아 입력 기하가 동작 토큰화에서 일차적인 설계 선택임을 시사한다.

arXiv:2611.10789v1cs.LG

구성에 의한 레이블을 갖춘 다양하고 검증된 합성 임상 노트 생성

Generating Diverse and Verified Synthetic Clinical Notes with Labels by Construction

임상 분야의 엄격한 개인정보 보호 규정 하에서, 자연어 처리 등에 임상 데이터를 활용하려면 비식별화가 필요하다. 그러나 현재 어떤 비식별화 모델이 실제로 적합한지 판단할 정교한 방법이 부족하다. 구체적으로, 레이블의 정확성을 보장하면서도 도전적이고 다양하며 임상적으로 그럴듯한 벤치마크가 필요하다. 이를 위해 문자 단위로 정확한 PHI 구간 주석을 갖춘 합성 퇴원 소견서를 생성하는 LLM 기반 파이프라인 SPARCLING을 제시한다. 우리의 파이프라인은 구조화된 속성 샘플링, 템플릿 생성, 레드 티밍을 결합하여 다양한 PHI 레이블 퇴원 소견서를 얻는다. 실험에서 기존 공개 데이터셋에 비해 우수한 내용 다양성을 입증한다. 또한 독일어 임상 분야에서 비식별화 모델의 실패 양상을 밝히는 벤치마크로서 SPARCLING의 후속 활용성을 보인다. 마지막으로, 실험 결과 합성 데이터로 학습하면 부족한 공개 데이터만으로 학습하는 것보다 더 우수한 비식별화 모델을 얻을 수 있음을 보인다. 코드는 https://github.com/Matt00n/phi_discharge_letter_generator 에서 확인할 수 있다.

arXiv:2611.35245v1cs.LG

Inference-Time Weak-to-Strong Transfer for Efficient Distillation

Weak-to-strong on-policy distillation can improve larger language models using guidance from smaller teachers, but identifying useful guidance often requires repeated student training. We study inference-time weak-to-strong transfer to evaluate candidate guidance through student responses before updating model parameters. Using the closed-form policy of a KL-regularized distillation objective, we apply weak-teacher guidance directly during generation with frozen models. Its performance follows the trends of trained Direct-OPD students across teacher checkpoints, enabling efficient comparison of supervision sources. We then develop inference-time-guided rejection fine-tuning (IT-RFT), which uses verified responses from this policy to train a student that subsequently runs on its own. Across math, code, and instruction following, IT-RFT achieves competitive or higher performance than OPD baselines while requiring up to $7.3\times$ fewer GPU-hours in mixed-domain distillation. The same weak teachers transfer across student scales, and their student-conditioned responses yield stronger fine-tuning results than responses generated directly by more capable models.

arXiv:2611.25389v1cs.CV

Zero to Four Views: Unified Panorama Generation and Preference RL for Unobserved Regions

Panoramas can serve as shared scene backgrounds for multi-shot video generation, but most existing panorama generators take text alone or a single input image. We present a single model that generates a full equirectangular panorama from a text caption and K in {0,...,4} perspective conditioning views taken by a four-camera rig at one viewpoint. We fine-tune a pretrained text-to-image rectified-flow transformer in two stages. In the first stage, each conditioning view is appended to the token sequence together with the ID of its camera slot, and the number of views varies during training, so one set of weights serves every input setting. In the second stage, we improve the region not covered by any conditioning view. Supervised training computes its loss on noisy latents of the ground truth and never scores a panorama the model has generated and decoded, so we propose Uncovered-Region GRPO (UR-GRPO), a reinforcement-learning recipe that rewards the candidates a vision-language model prefers in pairwise comparisons on crops around this region. Because the slot ID alone does not tell the model which way the rig points, we also offer an optional variant that writes each view's camera direction into its position encoding, which lets the user decide where each view appears in the output. With one conditioning view, our model outperforms the previous state of the art, 360Anything, trained on the same data and evaluated with the same code, on Laval Indoor and gives mixed results on an indoor subset of SUN360; the second stage improves the results for every number of conditioning views.

arXiv:2611.18894v1cs.CV

CISyn: 물리 시뮬레이션 합성 데이터를 이용한 밀접 상호작용 상황의 인체 메시 복원

CISyn: Human Mesh Recovery in Close Interactions with Physics-Simulated Synthetic Data

밀접 상호작용 상황에서의 3D 인체 메시 복원(HMR)은 대규모이면서 정확하게 주석이 달린 학습 데이터가 부족하여 어려움을 겪는다. 실제 촬영은 비용이 많이 들고, 기존 합성 데이터셋은 물리적 접촉을 거의 포함하지 않기 때문이다. 본 논문은 물리 시뮬레이션과 Blender 기반 렌더링으로 생성한, 밀접한 인간 간 상호작용을 위해 구축된 대규모 합성 데이터셋 CISyn을 소개한다. SMPL-X로 리깅된 휴머노이드 간의 충돌 역학을 시뮬레이션함으로써, CISyn은 밀접 상호작용 장면의 특징인 접촉, 상호 가림, 자세 얽힘을 수동 주석 작업 없이 자연스럽게 만들어 낸다. 공개된 세트는 정확한 3D 주석이 있는 25,000개의 시퀀스를 제공한다. 또한 본 데이터에 포함된 심하게 가려진 사례로부터 모델이 더 효과적으로 학습할 수 있도록 하는 불확실성 인식 손실을 제안한다. 최신 HMR 학습에 CISyn을 추가하고 회귀 손실을 본 불확실성 인식 변형으로 대체하면 밀접 상호작용 벤치마크에서 일관된 성능 향상이 나타나며, 이는 CISyn이 실제 데이터를 보완하는 확장 가능한 자원임을 입증한다. 데이터셋, 생성 파이프라인, 코드는 https://github.com/yfde/CISyn 에서 제공된다.

arXiv:2611.20628v1cs.CV

PixelBench: 언어 모델의 픽셀 아트 제작 능력 평가

PixelBench: Evaluating Language Models for Pixel-Art Creation

픽셀 아트는 게임과 디지털 콘텐츠 제작에 널리 쓰인다. 제한된 해상도와 팔레트 안에서 알아보기 쉬운 형태, 일관된 공간 관계, 조화로운 색을 표현해야 한다. 언어 모델은 시각 창작에서 가능성을 보이고 있지만 픽셀 아트 제작 능력을 체계적으로 평가한 사례는 드물다. 본 연구는 픽셀 아트의 텍스트-이미지 생성과 지시 기반 편집을 정의하고 두 과제를 평가하는 PixelBench를 소개한다. 언어 모델 에이전트가 코드로 그리기 도구를 호출해 픽셀 아트를 만들고 편집하는 제작 환경도 제시한다. 사람이 생성 작품의 품질을 평가하고 멀티모달 대규모 언어 모델도 평가기로 사용했다. 자동 평가와 사람의 선호가 얼마나 일치하는지 검증했다. 다양한 주제와 캔버스 크기에서 언어 모델과 설정을 비교했다. GPT-6 Astra는 평가기의 평균 점수가 가장 높았고 사람의 평균 순위도 가장 좋았다. 범용 언어 모델을 픽셀 아트 제작에 활용할 가능성을 보여 준다. 과제, 모든 작품, 사람 평가 순위, 평가기 절차를 공개한다.

arXiv:2611.40887v1cs.CV

TellusLoom: Weaving Knowledge into Synthetic Worlds for Dense Prediction in Remote Sensing

Dense prediction in very-high-resolution (VHR) optical remote sensing requires costly manual annotations. Synthetic worlds provide scalable supervision, yet indiscriminate 3D asset and rendering complexity is costly and does not alone guarantee transfer to real imagery. We introduce TellusLoom, a knowledge-driven framework that encodes domain knowledge as executable world rules--priors, conditional dependencies, and constraints--across five coupled dimensions of world design. Two independent generators, the asset-rich TellusLoom-Detailed (TL-D) and the lightweight, CPU-only TellusLoom-Mini (TL-M), generate imagery with aligned labels for land-cover mapping, height estimation, building change detection, and building instance segmentation, at approximately 9.7x and 382x the generation throughput of SynRS3D, respectively. Their equal mixture (TL-Mix) improves synthetic-only transfer over SynRS3D by 9.15 mIoU in land-cover mapping, reduces height mean absolute error (MAE) by 1.252 m, improves building-change F1 by 10.99 points, and reaches 37.11 mask AP for building instances; it also improves downstream performance when real training labels are scarce. Beyond a fixed dataset, the throughput of TL-M turns procedural generation into an extensible and controllable platform. Extensibility: when new object categories are requested, lightweight category cards generate supervision on demand within hours, without manual 3D modeling or real labels; specialists for 15 such categories exceed the per-category best training-free open-vocabulary method by 13.0 mean IoU on iSAID. Controllability: rule ablations and targeted interventions show how executable rules, texture strength, scene-composition coverage, and observation geometry shape transfer. Together, these findings favor preserving task-relevant world structure over indiscriminately scaling asset complexity. Code and datasets will be released.

arXiv:2611.24793v1cs.CV

질문 속의 코끼리: 통합 모델은 답변 뒤의 개념을 그려낸다

The Elephant in the Question: Unified Models Picture the Concepts Behind Their Answers

중간 표현을 시각화하면 모델 출력의 기저에 있는 추론 단계를 점검하는 데 도움이 될 수 있다. 통합 멀티모달 모델은 이해와 생성을 하나의 아키텍처에서 결합하여 이러한 기회를 제공한다. 이들의 이미지 생성기는 텍스트를 처리하는 동안 형성된 표현에 접근할 수 있다. 우리는 이러한 연결을 이용해 디코더를 학습하지 않고도 선택한 토큰의 은닉 상태를 시각화하는 V-lens를 소개한다. 확산 기반 통합 모델 네 개와 순수 자기회귀 통합 모델 두 개에 걸쳐, 생성된 이미지는 개념이 명시적으로 언급되지 않더라도 질문과 답변을 연결하는 핵심 중간 개념을 드러낸다. 통제된 실험은 이러한 내용이 문맥, 토큰 위치, 깊이에 따라 어떻게 변하는지 보여준다. 이어서 V-lens를 통해 선택된 은닉 상태를 그림으로 지도하는 렌즈 튜닝을 소개한다. BAGEL, SenseNova-U1, HunyuanImage-3.0 전반에서 대명사 지시 대상의 올바른 시각화 비율이 2-11%에서 86-94%로 상승한다. 놀랍게도 이러한 시각적 지도는 답변 토큰을 직접 지도하지 않고도 텍스트 답변 또한 개선한다. 코드는 https://github.com/multimodal-ai-lab/V-lens 에서 이용할 수 있다.

arXiv:2611.38028v1cs.CV

TERZI: Three-dimensional Garment Generation and Retargeting via Optimization-free Inference

Virtual try-on, animation and garment retargeting need clothing as an independent asset, yet single-image methods either fuse body and clothing into one surface or recover garments through per-subject optimization taking 10--46 minutes per image followed by post-hoc collision fixes. We present TERZI, a generative framework that reconstructs decomposable 3D garment meshes conditioned on a given parametric body model and on garment appearance extracted from a single image. Two body-conditioned flow-matching transformers, operating in a sparse structured 3D latent space, first predict the cells the garment occupies, then the surface geometry inside them. The garments are separate from the conditioning body by construction, and image masks select an individual garment or the complete outfit. The image determines which garment is generated, and the body determines its pose and shape. With the body estimated from the image, the model reconstructs the garment; with a different body, the same model generates the garment directly in the new pose or body shape, without skinning or simulation. A differentiable penetration penalty between the decoded garment surface and the conditioning body makes the generator itself collision-aware, so no separate collision-correction stage is needed at inference. Trained only on synthetic data, our method generalizes to real, in-the-wild images and achieves state-of-the-art accuracy on generation and retargeting (garment Chamfer distance 1.48 cm vs 1.88 cm for the strongest baseline on 4D-DRESS). A distilled one-step student generates an outfit in 0.1 s, with comparable accuracy. We commit to releasing the training code, model weights, and config files for full reproducibility. Project page: https://emirhanbilgic.github.io/TERZI/

arXiv:2611.33064v1cs.LG

U-Statistics-Powered LLM Reasoning

Since its introduction by DeepSeek, group relative policy optimization (GRPO) has been widely adopted for training large reasoning models and agents, spurring a proliferation of its variants. Yet the group size, a crucial hyperparameter in these GRPO-type algorithms, remains largely chosen by trial and error. Exploiting the U-statistic structure of GRPO's policy gradient, we recast the selection of the group size as a classical statistical problem of variance ratio estimation. This problem is particularly challenging when the denominator of the ratio is small, rendering naive plug-in estimators unstable. To address this challenge, we propose a pessimistic ratio estimator that accounts for the denominator's estimation uncertainty. We characterise the statistical properties of this estimator across three sample-size regimes. Empirically, using %a jackknife-based pessimistic rule on synthetic tasks from Reasoning Gym and real-world benchmarks covering both mathematical reasoning and code generation, we show that our adaptive group size selection reduces the mean squared error of the resulting policy gradient and improves policy optimisation over fixed-group-size baselines, with modest additional computational cost.

arXiv:2611.40591v1cs.CV

Roller: Agent Trajectory Collection Across Models and Harnesses

Agentic development tools such as Claude Code, Codex and Google Antigravity use runtimes that manage tools and context. A runtime's session log can therefore differ from the requests sent to the model. This difference matters when trajectories are reused for training and evaluation. We present Roller, an open-source system for collecting trajectories across eight supported runtimes. Roller binds each rollout to its inputs, configuration and execution environment. It links native sessions to normalized steps and optional model-call evidence. For compacted rollouts with sufficient capture, it reconstructs training windows and marks which assistant messages contribute to the loss. In a reasoning audit spanning 196 configurations, Roller identified eight explicit conflicts and excluded all eight from the training aggregate. On held-out slide generation, blanking teacher reasoning above 2,000 characters before fine-tuning raised the grader score from 9.40 to 9.62 with 20 of 20 tasks reported complete. Blanking all reasoning yielded 9.70 with seven reported completions. These experiments illustrate why task scores, execution status and training eligibility require separate measurements.

arXiv:2611.06542v1cs.LG

EvoOPD: 블랙박스 온폴리시 증류를 위한 특권 정보 전략의 진화

EvoOPD: Evolving Privileged Information Strategies for Black-Box On-Policy Distillation

독점 언어 모델은 강력한 추론 및 코딩 능력을 보이지만 출력 분포에 접근할 수 없어, 교사 로짓에 의존하는 세밀한 증류 방법을 블랙박스 모델에 직접 적용하기 어렵다. 본 연구는 블랙박스 교사가 제공하는 풍부한 텍스트 피드백을 특권 정보(privileged information, PI)로 간주하고, PI에 조건화된 특권 교사를 통해 학생 자신의 궤적에 대한 조밀한 지도 신호로 변환할 수 있음을 관찰한다. 그러나 학생의 학습을 가장 효과적으로 지원하기 위해 교사로부터 어떤 PI를 얻어야 하는지는 여전히 불분명하다. 초점을 두는 위치, 요청하는 정보, 제공하는 세부 수준이 서로 다른 PI 전략은 현재 학생에게 상당히 다른 영향을 미칠 수 있으며, 그 상대적 효과도 학습이 진행됨에 따라 달라질 수 있다. 이러한 관찰에 기반하여, PI 획득 자체를 최적화 문제로 다루고 학생 상태에 따라 진화하는 PI 전략 뱅크를 유지하는 블랙박스 온폴리시 증류를 위한 특권 정보 전략의 진화(EvoOPD)를 제안한다. EvoOPD는 현재 학생에 대해 측정된 PI의 수정 효용을 이용하여 교사 피드백의 초점, 정보 유형, 세분성을 조정함으로써, 획득한 정보가 학생의 학습 요구에 지속적으로 부합하도록 한다. Qwen3-1.7B, 4B, 8B 학생 모델로 수학적 추론과 코드 생성에서 EvoOPD를 체계적으로 평가한다. EvoOPD는 여섯 가지 모델-과제 설정 모두에서 최고의 전반적 성능을 달성하며, 각 설정의 가장 강력한 기준선 대비 수학에서 평균 2.14퍼센트포인트, 코드에서 1.30포인트 향상된다. 추가 분석은 PI 획득 전략의 상대적 효과가 학생 상태에 따라 변하므로, 고정된 전략이 증류 전반에 걸쳐 최선의 선택으로 유지되기 어렵다는 점을 보여 준다.

arXiv:2611.32102v1cs.CV

RISE: Reasoning with Implicit State Embeddings for GUI Agents

Graphical user interface (GUI) agents translate user instructions and screenshots into executable actions. To learn executable actions, existing approaches often rely on explicit reasoning during training, which encourage over-reliance on specific reasoning patterns rather than generalizable action-relevant information. In this paper, we propose an implicit framework, RISE, which integrates action-relevant reasoning into implicit state representations to guide GUI action prediction. To this end, action-relevant reasoning is captured through three complementary supervision objectives: full-CoT state alignment preserves information across the reasoning process, action-distribution alignment encodes action preferences, and reasoning-to-action boundary alignment captures the representation immediately before action generation. In this case, our RISE effectively learns informative implicit representations, thereby improving the accuracy of next-action token prediction. RISE achieves 70.6\% accuracy on OSWorld-G, establishing state-of-the-art performance among compared 8B models with a 4.3-point gain over its backbone. Results across two distinct backbones and six diverse benchmarks further demonstrate its effectiveness in GUI grounding and action prediction. Our code is available on our project page.

arXiv:2610.41949v1cs.AI

소수 단계 플로 강화학습을 위한 확률적 정책 기하 최적화

Optimizing Stochastic Policy Geometry for Few-Step Flow Reinforcement Learning

소수 단계 플로 모델은 소수의 큰 노이즈 제거 전이를 통해 샘플을 생성한다. 이러한 모델에 GRPO를 적용하려면 노이즈 제거 전이에 확률성을 도입해야 하며, 하나의 전이가 넓은 범위의 노이즈 수준에 걸칠 때 결과로 얻는 확률적 정책의 선택이 최적화의 주요 요인이 된다. 최근의 구성 방식은 정책이 목표 플로 계수를 보존하도록 제약하지만, 이 제약은 여러 정책의 집합을 허용하며 그 가운데 하나를 고르는 기준은 제공하지 않는다. 우리는 선택 원리에 기반한 Geo-FSRL(Geometry-Optimized Few-Step Reinforcement Learning)을 제안한다. 이 원리는 고정된 조건 상태와 시간 단계 쌍에서, 임의의 0이 아닌 속도 출력 업데이트가 유도하는 조건부 KL 발산을 최소화하는 허용 가능한 정책을 선택하는 것이다. 계수를 보존하는 등방 가우시안 전이 계열 내에서 이 기준은 모든 속도 출력 업데이트에 대한 조건부 KL을 결정하는 단일 스칼라 기하 인자를 최소화하는 문제로 귀결된다. 동일한 인자가 속도 공간 피셔 정보와 조건부 전이 로그 우도비 분산도 결정한다. 우리는 이 계열 내에서 모든 0이 아닌 업데이트 크기와 방향에 대해 공통인 유일한 닫힌 형태의 최적해를 유도하며, 전이 계수는 출발 및 목표 노이즈 수준 모두에 의해 결정된다. 최소화된 기하 인자가 여전히 시간 단계에 따라 달라지므로, 기존 연구의 기울기 스케일 매칭을 추가로 채택하고 명시적 스코어 스케일과 참조 KL 곡률을 정규화하는 닫힌 형태의 정책 기울기 및 KL 가중치를 유도한다. Geo-FSRL은 원래의 소수 단계 스케줄로 학습하며 추론 시에는 결정론적 솔버를 유지한다. 본 방법은 4단계 설정에서 이미지 생성 및 비디오 생성 모델 모두에서 Flow-GRPO와 Flow-CPS보다 높은 최종 보상 점수를 달성한다. 코드는 https://github.com/ModelTC/LightX2V/tree/main/lightx2v_rl 에서 확인할 수 있다.

arXiv:2611.02587v1cs.CL

위치는 알지만 내용은 모른다: 오픈 LLM의 하디스 회상에 대한 이중언어 환각 벤치마크

They Know Where It Is, But Not What It Says: A Bilingual Hallucination Benchmark of Hadith Recall in Open LLMs

대규모 언어 모델은 특정 하디스(예언자 무함마드(그에게 평화가 있기를)의 말과 행동에 관한 기록)의 회상을 포함하여 종교 지식을 얻기 위해 점점 더 많이 활용되고 있다. 개방형 생성과 달리 하디스 회상은 위험도가 높고 검증이 가능한 과제이다. 출처 정보(전집, 장, 하디스 번호)에는 정확히 하나의 올바른 본문이 대응하며, 이로부터의 어떠한 이탈도 진본 경전으로 오인될 수 있는 날조에 해당한다. 본 연구는 로컬 배포가 가능한 다섯 개의 오픈 웨이트 언어 모델(Mistral-7B, Gemma3-4B, Jais-7B, ALLaM-7B, Phi4-mini-3.8B)을 수니파의 여섯 개 정전 하디스 전집(Sahih al-Bukhari, Sahih Muslim, Sunan Abi Da'ud, Jami' al-Tirmidhi, Sunan an-Nasa'i, Sunan Ibn Majah) 전반에 걸쳐 평가하는 이중언어(영어/아랍어) 벤치마크를 제시한다. 전집별로 하디스 500개를 표본으로 추출하였으며, 이는 모델당 언어별 3,000개, 총 30,000개의 응답에 해당한다. 각 모델에는 서지 정보만 제공하고 검색 증강 없이 정확한 하디스 본문을 재현하도록 요청하였으며, 어휘 충실도(BLEU)와 의미 충실도(다국어 코사인 유사도)로 점수를 매기고 응답 거부는 별도로 표시하였다. 다섯 개 모델과 두 언어 전체에서 30,000개 응답 중 높은 어휘 충실도와 높은 의미 충실도를 모두 달성한 응답, 즉 원문과 정확히 일치하여 검증 가능한 응답은 0%였다. 아랍어 응답은 일관되게 영어 응답보다 성능이 낮았다. 이러한 결과는 검색 기반 근거 없이 사용되는 현재의 오픈 웨이트 LLM이 종교 텍스트의 정확한 회상에 있어 신뢰할 수 없고 잠재적으로 위험한 출처임을 시사하며, 이슬람 학문 분야에 도입할 때에는 파라미터 기억이 아니라 검증된 코퍼스에 대한 검색 증강 생성을 의무화해야 함을 시사한다. 전체 코드, 프롬프트, 평가 파이프라인 및 채점된 출력은 https://github.com/dayam8696/Hadith-Hallucination-Benchmark 에서 공개되어 있다.

arXiv:2611.10248v1cs.LG

FedLoVA: 대규모 언어 모델의 연합 LoRA 미세조정을 위한 값 전용 집계

FedLoVA: Value-Only Aggregation for Federated LoRA Fine-Tuning of Large Language Models

저랭크 적응(LoRA)은 강력한 성능과 통신 효율성 덕분에 대규모 언어 모델(LLM)의 미세조정, 특히 연합 학습에서 널리 쓰이는 매개변수 효율적 미세조정(PEFT) 방법이다. 실제로 LoRA는 이 구성 요소들의 서로 다른 역할을 고려하지 않고 트랜스포머 계층의 쿼리 및 값 투영에 적용된다. 본 연구에서는 LoRA를 사용한 LLM의 연합 미세조정에서 이러한 투영들이 미치는 영향을 분석하고, 값 투영이 쿼리 투영보다 훨씬 빠르게 수렴함을 관찰한다. 이 발견에 착안하여, 쿼리와 값 투영 모두에 대해 LoRA 어댑터를 로컬에서 학습하되 값 투영만 서버와 공유하는 연합 미세조정 프레임워크 FedLoVA를 제안한다. 이 접근법은 통신 오버헤드를 줄이면서 수렴 효율을 향상시킨다. 자연어 이해, 다국어 감성 분석, 생성 과제에 대한 실험에서 FedLoVA는 기존 연합 LLM 미세조정 기준선 대비 통신 비용을 최대 $7.8\times$ 줄이면서 대등하거나 더 나은 성능을 달성한다. 코드는 https://github.com/EnsiehKhazaei/FedLoVA 에서 이용할 수 있다.

arXiv:2611.00819v1cs.CV

ODC: 추론 시 텍스트-이미지 의미 정렬 개선을 위한 직교 드리프트 보정

ODC: Orthogonal Drift Correction for Improved Text-to-Image Semantic Alignment at Inference

텍스트-이미지 모델은 텍스트 설명으로부터 고품질 이미지를 생성하는 데 놀라운 성공을 거두었다. 그러나 생성 결과가 복잡하거나 미묘한 텍스트 프롬프트와 정확히 일치하지 않는 "의미 드리프트"에 자주 어려움을 겪는다. 최근 접근법들이 속성 결합이나 객체 존재와 관련된 의미 오류를 다루려 시도했지만, 초기 사용자 프롬프트의 텍스트 임베딩을 직접 정제함으로써 이러한 문제를 포괄적으로 해결하는 방법은 아직 부족하다. 본 연구에서는 모델 재학습이나 추가 사용자 입력 없이 의미 드리프트를 완화하도록 설계된 추론 시 가이던스 방법인 직교 드리프트 보정(ODC)을 소개한다. ODC는 두 단계 과정으로 이미지 생성을 안내한다. 첫 번째 단계에서는 공유 비전-언어 임베딩 공간에서 초기 생성 이미지를 사용자 프롬프트와 비교 평가하여 의미 드리프트를 식별한다. 이어서 이 드리프트 벡터 중 프롬프트 방향에 직교하는 성분을 분리하고, 어휘 기반 대리 메커니즘을 통해 이를 텍스트로 되돌린다. 두 번째 단계에서는 초기 텍스트 임베딩과 다시 임베딩한 드리프트 표현을 모두 적응형 랭크 축소 개념 제거 모듈에 입력하여, 두 번째 생성 패스를 위한 정제된 텍스트 조건을 만든다. 실험 결과 ODC는 프롬프트-이미지 정렬을 일관되게 개선하여 COALBench-300과 PartiPrompts 벤치마크에서 기준선 대비 CLIP 점수를 최대 5.4% 높인다. 또한 T2I-CompBench 복합 부분집합에서 ODC는 경쟁 방법 대비 평균 3-in-1 점수를 4.5% 향상시킨다. 플러그 앤 플레이 모듈로서 ODC는 텍스트-이미지 모델의 신뢰성을 높이는 실용적이고 효율적인 방법을 제공한다. 코드는 https://github.com/kasrakamali/ODC 에서 확인할 수 있다.