510 research outputs found
Node Graph Optimization Using Differentiable Proxies
Graph-based procedural materials are ubiquitous in content production
industries. Procedural models allow the creation of photorealistic materials
with parametric control for flexible editing of appearance. However, designing
a specific material is a time-consuming process in terms of building a model
and fine-tuning parameters. Previous work [Hu et al. 2022; Shi et al. 2020]
introduced material graph optimization frameworks for matching target material
samples. However, these previous methods were limited to optimizing
differentiable functions in the graphs. In this paper, we propose a fully
differentiable framework which enables end-to-end gradient based optimization
of material graphs, even if some functions of the graph are non-differentiable.
We leverage the Differentiable Proxy, a differentiable approximator of a
non-differentiable black-box function. We use our framework to match structure
and appearance of an output material to a target material, through a
multi-stage differentiable optimization. Differentiable Proxies offer a more
general optimization solution to material appearance matching than previous
work
Generating Procedural Materials from Text or Image Prompts
Node graph systems are used ubiquitously for material design in computer
graphics. They allow the use of visual programming to achieve desired effects
without writing code. As high-level design tools they provide convenience and
flexibility, but mastering the creation of node graphs usually requires
professional training. We propose an algorithm capable of generating multiple
node graphs from different types of prompts, significantly lowering the bar for
users to explore a specific design space. Previous work was limited to
unconditional generation of random node graphs, making the generation of an
envisioned material challenging. We propose a multi-modal node graph generation
neural architecture for high-quality procedural material synthesis which can be
conditioned on different inputs (text or image prompts), using a CLIP-based
encoder. We also create a substantially augmented material graph dataset, key
to improving the generation quality. Finally, we generate high-quality graph
samples using a regularized sampling process and improve the matching quality
by differentiable optimization for top-ranked samples. We compare our methods
to CLIP-based database search baselines (which are themselves novel) and
achieve superior or similar performance without requiring massive data storage.
We further show that our model can produce a set of material graphs
unconditionally, conditioned on images, text prompts or partial graphs, serving
as a tool for automatic visual programming completion
Fleet deployment and demand fulfillment for container shipping liners
This paper models and solves a fleet deployment and demand fulfillment problem for container shipping liners with consideration of the potential overload risk of containers. Given the stochastic weights of transported containers, chance constraints are embedded in the model at the strategic level. Several realistic limiting factors such as the fleet size and the available berth and yard resources at the ports are also considered. A non-linear mixed integer programming (MIP) model is suggested to optimally determine the transportation demand fulfillment scale for each origin-destination pair, as well as the ship deployment plan along each route, with an objective incorporating revenue, fixed operation cost, fuel consumption cost, holding cost for transhipped containers, and extra berth and yard costs. Two efficient algorithms are then developed to solve the non-linear MIP model for different instance sizes. Numerical experiments based on real-world data are conducted to validate the effectiveness of the model and the algorithms. The results indicate the proposed methodology yields solutions with an optimality gap less than about 0.5%, and can solve realistic instances with 19 ports and four routes within about one hour.</p
Fleet deployment and demand fulfillment for container shipping liners
This paper models and solves a fleet deployment and demand fulfillment problem for container shipping liners with consideration of the potential overload risk of containers. Given the stochastic weights of transported containers, chance constraints are embedded in the model at the strategic level. Several realistic limiting factors such as the fleet size and the available berth and yard resources at the ports are also considered. A non-linear mixed integer programming (MIP) model is suggested to optimally determine the transportation demand fulfillment scale for each origin-destination pair, as well as the ship deployment plan along each route, with an objective incorporating revenue, fixed operation cost, fuel consumption cost, holding cost for transhipped containers, and extra berth and yard costs. Two efficient algorithms are then developed to solve the non-linear MIP model for different instance sizes. Numerical experiments based on real-world data are conducted to validate the effectiveness of the model and the algorithms. The results indicate the proposed methodology yields solutions with an optimality gap less than about 0.5%, and can solve realistic instances with 19 ports and four routes within about one hour.</p
Deep Domain Adversarial Adaptation for Photon-efficient Imaging
Photon-efficient imaging with the single-photon light detection and ranging
(LiDAR) captures the three-dimensional (3D) structure of a scene by only a few
detected signal photons per pixel. However, the existing computational methods
for photon-efficient imaging are pre-tuned on a restricted scenario or trained
on simulated datasets. When applied to realistic scenarios whose
signal-to-background ratios (SBR) and other hardware-specific properties differ
from those of the original task, the model performance often significantly
deteriorates. In this paper, we present a domain adversarial adaptation design
to alleviate this domain shift problem by exploiting unlabeled real-world data,
with significant resource savings. This method demonstrates superior
performance on simulated and real-world experiments using our home-built
up-conversion single-photon imaging system, which provides an efficient
approach to bypass the lack of ground-truth depth information in implementing
computational imaging algorithms for realistic applications
Modeling and analysis of the transmission dynamics of cystic echinococcosis: Effects of increasing the number of sheep
A transmission dynamics model with the logistic growth of cystic echinococcus in sheep was formulated and analyzed. The basic reproduction number was derived and the results showed that the global dynamical behaviors were determined by its value. The disease-free equilibrium is globally asymptotically stable when the value of the basic reproduction number is less than one; otherwise, there exists a unique endemic equilibrium and it is globally asymptotically stable. Sensitivity analysis and uncertainty analysis of the basic reproduction number were also performed to screen the important factors that influence the spread of cystic echinococcosis. Contour plots of the basic reproduction number versus these important factors are presented, too. The results showed that the higher the deworming rate of dogs, the lower the prevalence of echinococcosis in sheep and dogs. Similarly, the higher the slaughter rate of sheep, the lower the prevalence of echinococcosis in sheep and dogs. It also showed that the spread of echinococcosis has a close relationship with the maximum environmental capacity of sheep, and that they have a remarkable negative correlation. This reminds us that the risk of cystic echinococcosis may be underestimated if we ignore the increasing number of sheep in reality
bpftime: userspace eBPF Runtime for Uprobe, Syscall and Kernel-User Interactions
In kernel-centric operations, the uprobe component of eBPF frequently
encounters performance bottlenecks, largely attributed to the overheads borne
by context switches. Transitioning eBPF operations to user space bypasses these
hindrances, thereby optimizing performance. This also enhances configurability
and obviates the necessity for root access or privileges for kernel eBPF,
subsequently minimizing the kernel attack surface. This paper introduces
bpftime, a novel user-space eBPF runtime, which leverages binary rewriting to
implement uprobe and syscall hook capabilities. Through bpftime, userspace
uprobes achieve a 10x speed enhancement compared to their kernel counterparts
without requiring dual context switches. Additionally, this runtime facilitates
the programmatic hooking of syscalls within a process, both safely and
efficiently. Bpftime can be seamlessly attached to any running process,
limiting the need for either a restart or manual recompilation. Our
implementation also extends to interprocess eBPF Maps within shared memory,
catering to summary aggregation or control plane communication requirements.
Compatibility with existing eBPF toolchains such as clang and libbpf is
maintained, not only simplifying the development of user-space eBPF without
necessitating any modifications but also supporting CO-RE through BTF. Through
bpftime, we not only enhance uprobe performance but also extend the versatility
and user-friendliness of eBPF runtime in user space, paving the way for more
efficient and secure kernel operations
- …