arXiv Science⌕ Search

arXiv subjects

Hamza Hanif

Publications and source records attributed to Hamza Hanif.

4 recordsLinked to original sources

Watch, Don't Glance: A Procedurally Generated Video Benchmark for Temporal Geometric and Physical Reasoning

Robots and other physical-AI systems increasingly rely on vision-language models (VLMs) to perceive a scene and predict how it will evolve. Yet many questions in video benchmarks can be answered from a single frame, so a high score does not show that a model followed the scene over time. We introduce GRIP-V, the video version of GRIP: 40 procedurally generated sub-benchmarks in seven reasoning families, from mechanics and fluids to occlusion, agents, and rule tracking, with 2,500 clips per sub-benchmark and ten questions per clip (1 million questions). Every answer is computed from the simulated scene state and checked by a validator. Questions climb a five-rung ladder from observation through relations, measurement, and multi-step integration to counterfactual reasoning, and 81.1% are flagged as requiring motion because they ask about the trajectory, such as event counts or order, rather than the end state. We evaluated eleven open-weight VLMs on a 100,000-question subset. The best model answers 55.6% of the questions, against a constant-answer baseline of 28.1%. Shown only the final frame, three of five tested models lose 14-15 points of baseline-adjusted accuracy, so they do use motion. Accuracy, however, falls by up to 37 points from the first rung to the last, eight of eleven models are within 6 points of the baseline on counterfactuals, and no model reliably detects injected rule violations. Current VLMs can follow how a scene unfolds, but not yet predict how it would change under an intervention or notice when it breaks the rules, the two abilities a robot needs to plan and to monitor its own actions.

cs.CV↗

Geometric Parrots: Rule Absence vs. Rule Fragility in Spatial and Physical Reasoning for Vision-Language Models

Vision-language models (VLMs) can answer many geometric and physical reasoning questions correctly, yet still behave inconsistently in interaction, for example, abandoning a correct answer when confronted with a confident but incorrect user assertion. Standard single-turn accuracy cannot distinguish such capitulations from beneficial corrections because it scores each response in isolation. We introduce GRIP, a controlled benchmark with 34 procedurally generated reasoning domains, 100,000 images, and 600,000 questions spanning geometric, spatial, visual, and physical reasoning. Each scene is generated by deterministic code, and every answer is derived directly from the underlying scene state, providing exact ground truth without human annotation. On GRIP, we propose Dual-Loop Evaluation. A closed loop probes each image with a five-step compositional question ladder to localize where reasoning fails. An open loop then re-elicits the model's answer under controlled challenges, including peer-model responses and unsupported user assertions. Because ground truth is known exactly, answer changes can be signed as corrections (wrong-to-right) or capitulations (right-to-wrong), separating two failure modes: rule absence and rule fragility. The dataset is available at https://huggingface.co/datasets/bilaljawaid980/GRIP-Benchmark, with further details at https://bilaljawaid980.github.io/grip-benchmark/.

cs.CV↗

On the Codesign of Scientific Experiments and Industrial Systems

The optimization of large experiments in fundamental science, such as detectors for subnuclear physics at particle colliders, shares with the optimization of complex systems for industrial or societal applications the common issue of addressing the inter-relation between parameters describing the hardware used in data production and parameters used to analyse those data. While in many cases this coupling can be ignored -- when the problem can be successfully factored into simpler sub-tasks and the latter addressed serially -- there are situations in which that approach fails to converge to the absolute maximum of expected performance, as it results in a mis-alignment of the optimized hardware and software solutions. In this work we consider a few use cases of interest in fundamental science collected primarily from particle physics and related areas, and a pot-pourri of industrial and societal applications where the matter is similarly of relevance. We discuss the emergence of strong hardware-software coupling in some of those systems, as well as co-design procedures that may be deployed to identify the global maximum of their relevant utility functions. We observe how numerous opportunities exist to advance methods and tools for hardware-software co-design optimization, bridging fundamental science and industry through application- and challenge-driven projects, and shaping the future of scientific experiments and industrial systems.

physics.ins-det↗

Differentiable Surrogate for Detector Simulation and Design with Diffusion Models

In this work, we present a conditional denoising-diffusion surrogate for electromagnetic calorimeter showers that is trained to generate high-fidelity energy-deposition maps conditioned on key detector and beam parameters. The model employs efficient inference using Denoising Diffusion Implicit Model sampling and is pre-trained on GEANT4 simulations before being adapted to a new calorimeter geometry through Low-Rank Adaptation, requiring only a small post-training dataset. We evaluate physically meaningful observables, including total deposited energy, energy-weighted radius, and shower dispersion, obtaining relative root mean square error values below 2% for representative high-energy cases. This is in line with state-of-the-art calorimeter surrogates which report comparable fidelity on high-level observables. Furthermore, we compare gradients of a reconstruction-based utility function with respect to design parameters between the surrogate and finite-difference references. The diffusion surrogate reproduces the qualitative structure and directional trends of the true utility landscape, providing usable sensitivities for gradient-based optimization. These results show that diffusion-based surrogates can accelerate simulation-driven detector design while enabling differentiable, gradient-informed analysis.

physics.ins-det↗