Drag-based image editing using generative models provides precise control over image contents, enabling users to manipulate anything in an image with a few clicks. However, prevailing methods typically adopt n-step it...
ISBN:
(纸本)9798331314385
Drag-based image editing using generative models provides precise control over image contents, enabling users to manipulate anything in an image with a few clicks. However, prevailing methods typically adopt n-step iterations for latent semantic optimization to achieve drag-based image editing, which is time-consuming and limits practical applications. In this paper, we introduce a novel one-step drag-based image editing method, i.e., FastDrag, to accelerate the editing process. Central to our approach is a latent warpage function (LWF), which simulates the behavior of a stretched material to adjust the location of individual pixels within the latent space. This innovation achieves one-step latent semantic optimization and hence significantly promotes editing speeds. Meanwhile, null regions emerging after applying LWF are addressed by our proposed bilateral nearest neighbor interpolation (BNNI) strategy. This strategy interpolates these regions using similar features from neighboring areas, thus enhancing semantic integrity. Additionally, a consistency-preserving strategy is introduced to maintain the consistency between the edited and original images by adopting semantic information from the original image, saved as key and value pairs in self-attention module during diffusion inversion, to guide the diffusion sampling. Our FastDrag is validated on the DragBench dataset, demonstrating substantial improvements in processing time over existing methods, while achieving enhanced editing performance. Project page: https://***/.
Since modern high performance computing systems are evolving towards diverse and heterogeneous architectures, the emergence of high-level portable programming models leads to a particular focus on performance portabil...
Since modern high performance computing systems are evolving towards diverse and heterogeneous architectures, the emergence of high-level portable programming models leads to a particular focus on performance portability. In this paper, we evaluate the performance portability and explore performance optimizationmethods for two portable programming models SYCL and Kokkos. We take an open-source multi-phase Lattice Boltzmann Method (LBM) flow simulation code as a case study and implement portable versions with different optimizations. Then we compare our portable implementations with engineer-tuned OpenMP and CUDA versions on Intel CPUs and NVIDIA GPUs. Experimental results show that both SYCL and Kokkos can deliver superior performance than traditional programming models, but the best performance of the portable versions depends heavily on platform-specific optimizations. There is no single implementation that can achieve the best performance on both CPUs and GPUs. Consequently, we conclude that the performance portability still needs to be further improved for both SYCL and Kokkos. In addition, we present a comparative analysis of different optimizationmethods that qualify the performance enhancement when using SYCL and Kokkos on CPUs and GPUs. Our work offers valuable references for the development of both portable programming models and applications.
Nonlinear constrained optimization has a wide range of practical applications. In this paper, we consider nonlinear optimization with inequality constraints. The interior point method is considered to be one of the mo...
详细信息
Linear models are ubiquitous in data science, but are particularly prone to overfitting and data memorization in high dimensions. To guarantee the privacy of training data, differential privacy can be used. Many paper...
Linear models are ubiquitous in data science, but are particularly prone to overfitting and data memorization in high dimensions. To guarantee the privacy of training data, differential privacy can be used. Many papers have proposed optimization techniques for high-dimensional differentially private linear models, but a systematic comparison between these methods does not exist. We close this gap by providing a comprehensive review of optimizationmethods for private high-dimensional linear models. Empirical tests on all methods demonstrate robust and coordinate-optimized algorithms perform best, which can inform future research. Code for implementing all methods is released online.
Due to the large mass of heavy haul trains, operating on downhill sections poses significant challenges on train control. Drivers must perform air braking and releasing at the appropriate times to prevent the movement...
详细信息
ISBN:
(数字)9798331505929
ISBN:
(纸本)9798331505936
Due to the large mass of heavy haul trains, operating on downhill sections poses significant challenges on train control. Drivers must perform air braking and releasing at the appropriate times to prevent the movement of heavy hual train from decoupling and derailment. To promote the smooth operation of the heavy haul train, this research investigates the optimization problem of heavy haul train speed profiles under discrete notches and nolinear braking forces. An optimization model is first established considering constraints such as speed and air-refilling time to maximize the running distance and minimize the air braking time of a train on downhill sections. This model takes into account discrete notches of electric braking force, each with a nonlinear braking profile. To linearize the model, piecewise approximation (PWA) function and auxiliary variables are introduced, transforming the original problem into a mixed integer linear programming (MILP) problem. The proposed MILP problem is then solved using a solver. Simulations using actual data from the Shuohuang Railway illustrate the effectiveness of the proposed methods.
Integrating multiple search operators to leverage the characteristics of different search operators is one of the common methods to enhance the performance of evolutionary algorithms. Most of these combination algorit...
详细信息
Explainable distances for sequence data depend on temporal alignment to tackle sequences with different lengths and local variances. Most sequence alignment methods infer the optimal alignment by solving an optimizati...
详细信息
Bound states in the continuum (BICs) offer a promising solution to achieving high-quality factor (Q factor) cavities. However, finite-size effects severely deteriorate the BIC mode in practical applications. This pape...
详细信息
Bound states in the continuum (BICs) offer a promising solution to achieving high-quality factor (Q factor) cavities. However, finite-size effects severely deteriorate the BIC mode in practical applications. This paper reports the experimental demonstration of an electrically pumped 940 nm laser based on optimized BIC cavity, achieving a high Q factor of up to 1.18 × 10^(4) even with finite photonic crystal footprint, which is two orders of magnitude larger than un-optimized BIC design. Two strategies have been systematically investigated to mitigate finite-size effects: reflective photonic crystal cavity design and graded photonic crystal cavity design. Both methods significantly improve the Q factor, demonstrating the effectiveness of preserving BIC characteristics in finite-sized photonic crystal cavities. In addition, the reflective boundary photonic crystal design is fabricated and experimentally characterized to demonstrate its lasing characteristics. The fabricated laser exhibits single-mode operation with a signal-to-noise ratio of 38.6 dB. These results pave the way for future designs of BICs with finite size in real applications, promoting the performance of BIC-based integrated lasers.
The ever-increasing demand for high-quality and heterogeneous wireless communication services has driven extensive research on dynamic optimization strategies in wireless networks. Among several possible approaches, m...
详细信息
Irregular communication often limits both the performance and scalability of parallel applications. Typically, applications individually implement irregular communication as point-to-point, and any optimizations are i...
详细信息
暂无评论