Search arXiv⌕ Search

arXiv subjects

Zongyan Zhang

Publications and source records attributed to Zongyan Zhang.

5 recordsLinked to original sources

Reusable Latent Reward Interfaces for Diffusion Alignment

Reward-based alignment has become a key technique for improving diffusion and flow models. Existing reward models, however, operate on decoded images and recent latent reward models remain tightly coupled to specific generators, requiring repeated large-scale preference training for each diffusion architecture. Consequently, latent reward evaluation has yet to become a reusable infrastructure for alignment. In this work, we target a reusable latent reward interface consisting of LATENT CRITIC and LATENT BRIDGE. LATENT CRITIC predicts human preference directly from noisy diffusion latents using features extracted from a frozen diffusion backbone, enabling decoding-free reward evaluation at arbitrary noise levels with a single forward pass. LATENT BRIDGE further aligns heterogeneous latent spaces to a shared canonical representation without additional preference annotations or retraining of the critic. Together, they amortize the cost of latent reward modeling across both architectures and alignment pipelines, replacing repeated large-scale preference training with inexpensive annotation-free latent adaptation. Experiments on multiple diffusion backbones demonstrate that the proposed framework enables a single frozen critic to be reused across heterogeneous generators for both post-training and inference-time alignment, while achieving up to 1.36 times faster post-training and 1.77 times faster inference without sacrificing alignment quality.

cs.LG↗

Fix What's Wrong, Keep What's Right: Hallucination Repair for LLM-Based Optimization Modeling

Large language models (LLMs) are increasingly being explored to automate operations research modeling, reduce modeling time and lower the expertise barrier to optimization based decision support. However, this process often introduces inconsistencies between generated artifacts and the original problem, which we refer to as optimization modeling hallucinations. Despite progress in general-purpose hallucination mitigation, optimization modeling poses a distinct repair challenge: restoring fidelity to the original problem through coordinated model-code updates. We introduce OPT-Kraken, a training-free hallucination repair framework. To the best of our knowledge, it is the first post-hoc framework for repairing hallucinations in LLM-based optimization modeling artifacts. It extracts problem requirements and instance data, localizes errors by checking problem-model fidelity, model-code consistency, and data grounding, and selects repair granularity by the affected scope. For local repair, category rules and instance evidence are compiled into contracts specifying permitted edits, expected effects, and protected content. Experiments on established optimization modeling benchmarks show positive gains across automatic modeling frameworks and fine-tuned models. On zero-shot artifacts from multiple base models, OPT-Kraken effectively repairs optimization modeling hallucinations while preserving initially correct artifacts. These results demonstrate effective and controlled repair for LLM-based optimization modeling artifacts.

cs.SE↗

Synthetic-Aperture Super-Resolution Imaging via Spatial-Frequency Shift in Near-Field Diffraction

Grating-based computational imaging shifts high-spatial-frequency information into the detectable range, enabling super-resolution reconstruction. However, a fixed grating produces effective diffraction-mediated shifts only for specific spatial-frequency vectors, limiting spatial-frequency coverage. Here, we propose a synthetic-aperture super-resolution method in which repeated imaging with a rotating grating broadens spatial-frequency coverage and expands the effective aperture. A physics-prior-guided restoration framework then employs a multichannel deep-learning network to fuse images acquired at different grating orientations. Using diffraction images from only three grating orientations, the proposed method reconstructed the object with a resolution of $λ/3.9$. This approach offers a practical route to grating-modulated super-resolution imaging in systems with limited numerical aperture.

physics.optics↗

ProOPF: Benchmarking and Improving LLMs for Professional-Grade Power Systems Optimization Modeling

Growing renewable penetration introduces substantial uncertainty into power system operations, necessitating frequent adaptation of dispatch objectives and constraints and challenging expertise-intensive, near-real-time modeling workflows. Large Language Models (LLMs) provide a promising avenue for automating this process by translating natural-language (NL) operational requirements into executable optimization models via semantic reasoning and code synthesis. Yet existing LLM datasets and benchmarks for optimization modeling primarily target coarse-grained cross-domain generalization, offering limited, rigorous evaluation in power-system settings, particularly for Optimal Power Flow (OPF). We therefore introduce \textbf{ProOPF-D} and \textbf{ProOPF-B}, a dataset and benchmark for professional-grade OPF modeling: ProOPF-D contains 12K instances pairing NL requests with parameter adjustments and structural extensions to a canonical OPF, together with executable implementations; ProOPF-B provides 121 expert-annotated test cases with ground-truth code, enabling end-to-end evaluation under both concrete and abstract OPF modeling regimes.

eess.SY↗

LLM-Guided Safe Reinforcement Learning for Energy System Topology Reconfiguration

The increasing penetration of renewable generation and the growing variability of electrified demand introduce substantial operational uncertainty to modern power systems. Topology reconfiguration is widely recognized as an effective and economical means to enhance grid resilience. Due to the coexistence of AC power-flow constraints and discrete switching decisions, topology reconfiguration in large-scale systems leads to a highly nonlinear and nonconvex optimization problem, making traditional methods computationally prohibitive. Consequently, several studies have explored reinforcement learning-based approaches to improve scalability and operational efficiency. However, its practical implementation is challenged by the high-dimensional combinatorial action space and the need to ensure safety during learning-based decision-making. To address these challenges, this paper presents a safe and intelligent topology control framework that integrates Large Language Models (LLMs) with a Safety Soft Actor-Critic (Safety-SAC) architecture. Operational voltage and thermal limits are reformulated into smooth safety-cost signals, enabling risk-aware policy optimization within a constrained Markov decision process. A knowledge-based Safety-LLM module is further introduced to refine unsafe or suboptimal transitions through domain knowledge and state-informed reasoning, thus guiding the learning agent toward safer and more effective switching actions. Experiments on the IEEE 36-bus and 118-bus Grid2Op benchmarks show that the proposed method consistently improves reward, survival time, and safety metrics, achieving higher reward, longer survival, and lower safety cost compared with SAC, ACE, and their safety-enhanced variants. These results demonstrate the potential of combining LLM-based reasoning with safe reinforcement learning to achieve scalable and reliable grid topology control.

eess.SY↗