Skip to content
/ PhySense Public

About code release for "PhySense: Sensor Placement Optimization for Accurate Physics Sensing" (NeurIPS 2025 oral)

License

Notifications You must be signed in to change notification settings

thuml/PhySense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhySense (NeurIPS 2025 Oral)

PhySense: Sensor Placement Optimization for Accurate Physics Sensing [Paper]

Physics sensing plays a central role in many scientific and engineering domains, which inherently involves two coupled tasks: reconstructing dense physical fields from sparse observations and optimizing scattered sensor placements to observe maximum information. While deep learning has made rapid advances in sparse-data reconstruction, existing methods generally omit optimization of sensor placements, leaving the mutual enhancement between reconstruction and placement on the shelf. To change this suboptimal practice, we propose PhySense with the following features:

  • PhySense is a synergistic two-stage framework for accurate physics sensing, which integrates a flow-based generative reconstruction model with a sensor placement optimization strategy through projected gradient descent to respect spatial constraints.

  • We prove the learning objectives of reconstruction model and sensor placement optimization are consistent with classical variance-minimization targets, providing theoretical guarantees.

  • PhySense achieves consistent state-of-the-art reconstruction accuracy with 49% relative gain across three challenging benchmarks and discovers informative sensor placements.

Figure 1. Left: Overview of PhySense. Middle: Flow-based reconstructor. Right: Sensor placement optimizer.

Optimized Sensor Placement v.s. Random Sensor Placement

In real-world scenarios, the number of sensors is usually limited due to spatial constraints, power consumption, and environmental restrictions. As a result, allocating the limited sensors to the most informative positions is crucial for high reconstruction accuracy.

Even under the identical reconstruction model, the performance varies dramatically with different sensor placements. Random sensor placement fails to capture important spatial regions, resulting in degraded performance, whereas placements strategically optimized through reconstruction feedback yield significantly enhanced reconstruction accuracy by targeting informative regions, such as side mirrors of a car.

These results suggest the existence of a positive feedback loop between reconstruction quality and sensor placement optimization.



Figure 2. Performance comparison under same reconstruction model but different sensor placements.

Get Started

  1. Prepare the environment. Install Python 3.10. For convenience, execute the following command.
pip install -r requirements.txt
  1. Please refer to different folders for detailed experiment instructions.

  2. List of experiments:

Results

PhySense achieves consistent state-of-the-art reconstruction accuracy with 49% relative gain across three challenging benchmarks and discovers informative sensor placements.



Table 1. Model comparisons of the turbulent flow and sea temperature benchmarks.



Table 2. Model comparisons of the car aerodynamics benchmark.

Showcases



Figure 2. Visualization of the turbulent flow benchmark, reconstruction performance and the optimized sensor placement.



Figure 2. Visualization of the sea temperature benchmark, reconstruction performance and the optimized sensor placement.

Citation

If you find this repo useful, please cite our paper.

@inproceedings{ma2025PhySense,
  title={PhySense: Sensor Placement Optimization for Accurate Physics Sensing},
  author={Ma, Yuezhou and Wu, Haixu and Zhou, Hang and Weng, Huikun and Wang, Jianmin and Long, Mingsheng},
  booktitle={Advances in neural information processing systems},
  year={2025}
}

Contact

If you have any questions or want to use the code, please contact [email protected].

Acknowledgement

We appreciate the following github repos a lot for their valuable code base or datasets:

https://github.com/thuml/Transolver

https://github.com/OrchardLANL/Senseiver

https://github.com/ermongroup/ddim

https://github.com/gnobitab/RectifiedFlow

About

About code release for "PhySense: Sensor Placement Optimization for Accurate Physics Sensing" (NeurIPS 2025 oral)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published