SearcharxivSearch

arXiv subjects

Wenrui Wang

Publications and source records attributed to Wenrui Wang.

10 recordsLinked to original sources

CityPlanner: A Sandbox Agent for Executable Urban Planning

Urban planning is a real-world spatial optimization problem that requires selecting feasible actions from large candidate spaces under practical objectives such as cost and service quality. Existing optimization and reinforcement learning methods are effective for fixed formulations, but often depend on task-specific representations and constraint handling. We propose \emph{CityPlanner}, a sandbox-agent framework for executable urban planning. CityPlanner introduces \emph{UrbanSandbox}, a unified file-based environment where agents inspect task files, generate plans, run evaluators, and revise decisions based on executable feedback. To make learning tractable, we further propose atomic-task reinforcement learning, which decomposes long sandbox trajectories into \emph{BuildPlan} for initial construction and \emph{ImprovePlan} for feedback-based refinement. Experiments on a real-world benchmark show that CityPlanner consistently outperforms heuristic, task-specific RL, and general LLM-agent baselines. Ablations verify the contributions of UrbanSandbox, atomic-task RL, and iterative deployment. We release the code and dataset at https://anonymous.4open.science/r/co-agent-C1C8

cs.AI

Comparative study and critical assessment of phase-field lattice Boltzmann models for laminar and turbulent two-phase flow simulations

Phase field lattice Boltzmann (LB) models have undergone continuous development, resulting in multiple variants widely used for simulating multiphase flows. However, direct performance comparisons remain limited, especially for three-dimensional cases. In this study, we present a systematic comparative analysis of several recent and representative phase-field LB models, covering four major categories: conservative Allen-Cahn, nonlocal Allen-Cahn, hybrid Allen-Cahn, and Cahn-Hilliard models. Their accuracy, numerical stability and mass/volume conservation are assessed through a series of canonical two-phase flow problems. Beyond the commonly tested two-dimensional laminar cases, we extend the evaluation to three-dimensional droplet-laden turbulent flows, which expose more critical limitations of the existing models. The results show that while all models perform satisfactorily in two dimensions, they still suffer from substantial droplet volume loss in turbulence, particularly at high Weber numbers. Overall, conservative Allen-Cahn-based LB models exhibit the most favorable balance of numerical stability, accuracy and computational efficiency.

physics.flu-dyn

Task-Agnostic Learning to Accomplish New Tasks

Reinforcement Learning (RL) and Imitation Learning (IL) have made great progress in robotic decision-making in recent years. However, these methods show obvious deterioration for new tasks that need to be completed through new combinations of actions. RL methods suffer from reward functions and distribution shifts, while IL methods are limited by expert demonstrations which do not cover new tasks. In contrast, humans can easily complete these tasks with the fragmented knowledge learned from task-agnostic experience. Inspired by this observation, this paper proposes a task-agnostic learning method (TAL for short) that can learn fragmented knowledge only from task-agnostic data to accomplish new tasks. TAL consists of four stages. First, the task-agnostic exploration is performed to collect data from interactions with the environment. The collected data is organized via a knowledge graph. Second, an action feature extractor is proposed and trained using the collected knowledge graph data for task-agnostic fragmented knowledge learning. Third, a candidate action generator is designed, which applies the action feature extractor on a new task to generate multiple candidate action sets. Finally, an action proposal network is designed to produce the probabilities for actions in a new task according to the environmental information. The probabilities are then used to generate order information for selecting actions to be executed from multiple candidate action sets to form the plan. Experiments on a virtual indoor scene show that the proposed method outperforms the state-of-the-art offline RL methods and IL methods by more than 20%.

cs.AI

FLAM: Foundation Model-Based Body Stabilization for Humanoid Locomotion and Manipulation

Humanoid robots have attracted significant attention in recent years. Reinforcement Learning (RL) is one of the main ways to control the whole body of humanoid robots. RL enables agents to complete tasks by learning from environment interactions, guided by task rewards. However, existing RL methods rarely explicitly consider the impact of body stability on humanoid locomotion and manipulation. Achieving high performance in whole-body control remains a challenge for RL methods that rely solely on task rewards. In this paper, we propose a Foundation model-based method for humanoid Locomotion And Manipulation (FLAM for short). FLAM integrates a stabilizing reward function with a basic policy. The stabilizing reward function is designed to encourage the robot to learn stable postures, thereby accelerating the learning process and facilitating task completion. Specifically, the robot pose is first mapped to the 3D virtual human model. Then, the human pose is stabilized and reconstructed through a human motion reconstruction model. Finally, the pose before and after reconstruction is used to compute the stabilizing reward. By combining this stabilizing reward with the task reward, FLAM effectively guides policy learning. Experimental results on a humanoid robot benchmark demonstrate that FLAM outperforms state-of-the-art RL methods, highlighting its effectiveness in improving stability and overall performance.

cs.RO

Abnormality Forecasting: Time Series Anomaly Prediction via Future Context Modeling

Identifying anomalies from time series data plays an important role in various fields such as infrastructure security, intelligent operation and maintenance, and space exploration. Current research focuses on detecting the anomalies after they occur, which can lead to significant financial/reputation loss or infrastructure damage. In this work we instead study a more practical yet very challenging problem, time series anomaly prediction, aiming at providing early warnings for abnormal events before their occurrence. To tackle this problem, we introduce a novel principled approach, namely future context modeling (FCM). Its key insight is that the future abnormal events in a target window can be accurately predicted if their preceding observation window exhibits any subtle difference to normal data. To effectively capture such differences, FCM first leverages long-term forecasting models to generate a discriminative future context based on the observation data, aiming to amplify those subtle but unusual difference. It then models a normality correlation of the observation data with the forecasting future context to complement the normality modeling of the observation data in foreseeing possible abnormality in the target window. A joint variate-time attention learning is also introduced in FCM to leverage both temporal signals and features of the time series data for more discriminative normality modeling in the aforementioned two views. Comprehensive experiments on five datasets demonstrate that FCM gains good recall rate (70\%+) on multiple datasets and significantly outperforms all baselines in F1 score. Code is available at https://github.com/mala-lab/FCM.

cs.LG

How to predict on-road air pollution based on street view images and machine learning: a quantitative analysis of the optimal strategy

On-road air pollution exhibits substantial variability over short distances due to emission sources, dilution, and physicochemical processes. Integrating mobile monitoring data with street view images (SVIs) holds promise for predicting local air pollution. However, algorithms, sampling strategies, and image quality introduce extra errors due to a lack of reliable references that quantify their effects. To bridge this gap, we employed 314 taxis to monitor NO, NO2, PM2.5 and PM10 dynamically and sampled corresponding SVIs, aiming to develop a reliable strategy. We extracted SVI features from ~ 382,000 streetscape images, which were collected at various angles (0°, 90°, 180°, 270°) and ranges (buffers with radii of 100m, 200m, 300m, 400m, 500m). Also, three machine learning algorithms alongside the linear land-used regression (LUR) model were experimented with to explore the influences of different algorithms. Four typical image quality issues were identified and discussed. Generally, machine learning methods outperform linear LUR for estimating the four pollutants, with the ranking: random forest > XGBoost > neural network > LUR. Compared to single-angle sampling, the averaging strategy is an effective method to avoid bias of insufficient feature capture. Therefore, the optimal sampling strategy is to obtain SVIs at a 100m radius buffer and extract features using the averaging strategy. This approach achieved estimation results for each aggregation location with absolute errors almost less than 2.5 μg/m^2 or ppb. Overexposure, blur, and underexposure led to image misjudgments and incorrect identifications, causing an overestimation of road features and underestimation of human-activity features, contributing to inaccurate NO, NO2, PM2.5 and PM10 estimation.

cs.LG

Evaluating the Effect of Crutch-using on Trunk Muscle Loads

As a traditional tool of external assistance, crutches play an important role in society. They have a wide range of applications to help either the elderly and disabled to walk or to treat certain illnesses or for post-operative rehabilitation. But there are many different types of crutches, including shoulder crutches and elbow crutches. How to choose has become an issue that deserves to be debated. Because while crutches help people walk, they also have an impact on the body. Inappropriate choice of crutches or long-term misuse can lead to problems such as scoliosis. Previous studies were mainly experimental measurements or the construction of dynamic models to calculate the load on joints with crutches. These studies focus only on the level of the joints, ignoring the role that muscles play in this process. Although some also take into account the degree of muscle activation, there is still a lack of quantitative analysis. The traditional dynamic model can be used to calculate the load on each joint. However, due to the activation of the muscle, this situation only causes part of the load transmitted to the joint, and the work of the chair will compensate the other part of the load. Analysis at the muscle level allows a better understanding of the impact of crutches on the body. By comparing the levels of activation of the trunk muscles, it was found that the use of crutches for walking, especially a single crutch, can cause a large difference in the activation of the back muscles on the left and right sides, and this difference will cause muscle degeneration for a long time, leading to scoliosis. In this article taking scoliosis as an example, by analyzing the muscles around the spine, we can better understand the pathology and can better prevent diseases. The objective of this article is to analyze normal walking compared to walking with one or two crutches using OpenSim software to obtain the degree of activation of different muscles in order to analyze the impact of crutches on the body.

cs.RO

Anomalous Spin-Orbit Torques in Magnetic Single-Layer Films

Spin-orbit interaction (SOI) couples charge and spin transport, enabling electrical control of magnetization. A quintessential example of SOI-induced transport is the anomalous Hall effect (AHE), first observed in 1880, in which an electric current perpendicular to the magnetization in a magnetic film generates charge accumulation on the surfaces. Here we report the observation of a counterpart of the AHE that we term the anomalous spin-orbit torque (ASOT), wherein an electric current parallel to the magnetization generates opposite spin-orbit torques on the surfaces of the magnetic film. We interpret the ASOT as due to a spin-Hall-like current generated with an efficiency of 0.053+/-0.003 in Ni80Fe20, comparable to the spin Hall angle of Pt. Similar effects are also observed in other common ferromagnetic metals, including Co, Ni, and Fe. First principles calculations corroborate the order of magnitude of the measured values. This work suggests that a strong spin current with spin polarization transverse to magnetization can exist in a ferromagnet, despite spin dephasing. It challenges the current understanding of spin-orbit torque in magnetic/nonmagnetic bilayers, in which the charge-spin conversion in the magnetic layer has been largely neglected.

cond-mat.mes-hall

All-Optical Vector Measurement of Spin-Orbit-Induced Torques Using Both Polar and Quadratic Magneto-Optic Kerr Effects

We demonstrate that the magneto-optic-Kerr effect with normal light incidence can be used to obtain quantitative optical measurements of both components of spin-orbit-induced torque (both the antidamping and effective-field components) in heavy-metal/ferromagnet bilayers. This is achieved by analyzing the quadratic Kerr effect as well as the polar Kerr effect. The two effects can be distinguished by properly selecting the polarization of the incident light. We use this all-optical technique to determine the spin-orbit torques generated by a series of Pt/Permalloy samples, finding values in excellent agreement with spin-torque ferromagnetic resonance measurements.

cond-mat.mes-hall

High-precision Absolute Distance Measurements over a Long Range Based on Two Optoelectronic Oscillators

Absolute distance measurement (ADM) over a long range has been studied intensely over the last several decades, due to its important applications in large-scale manufacturing and outer space explorations [1-5]. Traditional absolute distance measurements utilize detection of time-of-flight information, detection of phase shift, or a combination of the two [6-17]. In this paper, we present a novel scheme for high-precision ADM over a long range based on frequency detection by using two optoelectronic oscillators (OEO) to convert distance information to frequency information. By taking advantage of accumulative magnification theory, the absolute error of the measured distance is magnified by about 2*10E5 times, which makes the precision of the measured distance significantly improved. In our experiments, the maximum error is 1.5 um at the emulated ~6 km distance, including the drift error of about 1 um in the air path due to the change in environmental conditions. In addition, the measurable distance using this scheme could be further extended. The highest relative measurement precision is 2*10E10 in our current system while the actual relative measurement precision of our experimental system is limited by the variation of atmospheric conditions and is about 4*10E9.

physics.ins-det