共找到 20 条结果
The Hammer software library provides fast and efficient reweighting of large simulated datasets containing semileptonic $b$-hadron decays to any beyond Standard Model (BSM) theory, or to any form-factor description of the hadronic matrix elements. By enabling reweighting to a different underlying theoretical model after the computationally-expensive detector simulation step has already been completed, Hammer permits experimental analyses to employ forward-folding fitting strategies to recover underlying physical parameters without biases, or to properly characterize theory systematic uncertainties. This publication details upgrades to Hammer functionalities and its application programming interface (API) for version 2.x, and also provides associated documentation of the library's structure, syntactical conventions, and code flow. Substantial optimization of Hammer's internal tensor library now enables computational complexity to generically scale almost linearly with amplitude tensor rank times size rather than as a quartic, enabling reweighting into very high dimension spaces, such as the product of BSM Wilson coefficient and form factor parameter linear spaces, while also retaini
As AI-generated code proliferates, formal verification, particularly through interactive theorem provers such as Rocq and Isabelle, becomes increasingly important for ensuring software correctness. However, producing machine-checked proofs in such provers remains a bottleneck. Existing solutions bring complementary strengths to proof automation: large language models (LLMs) can propose high-level proof strategies but lack local rigor, while automated tactics such as CoqHammer can reliably discharge many local goals but lack long-range planning capabilities. To combine the best of both worlds, we present Quarry, a planning-based proof synthesis framework that separates proof planning from proof execution. Specifically, Quarry asks an LLM to actively propose multiple proof decompositions with arbitrary sublemmas, type-checks them in Rocq under temporarily admitted sublemmas, and ranks candidates using a proof-state-based difficulty model that estimates hammer solvability. It then recursively proves sublemmas within a bounded budget, effectively turning long proofs into sequences of hammer-solvable obligations. We implement Quarry on top of SerAPI and CoqHammer and evaluate it using m
This paper presents a data-driven methodology for the control of static hydraulic impact hammers, also known as rock breakers, which are commonly used in the mining industry. The task addressed in this work is that of controlling the rock-breaker so its end-effector reaches arbitrary target poses, which is required in normal operation to place the hammer on top of rocks that need to be fractured. The proposed approach considers several constraints, such as unobserved state variables due to limited sensing and the strict requirement of using a discrete control interface at the joint level. First, the proposed methodology addresses the problem of system identification to obtain an approximate dynamic model of the hydraulic arm. This is done via supervised learning, using only teleoperation data. The learned dynamic model is then exploited to obtain a controller capable of reaching target end-effector poses. For policy synthesis, both reinforcement learning (RL) and model predictive control (MPC) algorithms are utilized and contrasted. As a case study, we consider the automation of a Bobcat E10 mini-excavator arm with a hydraulic impact hammer attached as end-effector. Using this mach
Neural methods are transforming automated reasoning for proof assistants, yet integrating these advances into practical verification workflows remains challenging. A hammer is a tool that integrates premise selection, translation to external automatic theorem provers, and proof reconstruction into one overarching tool to automate tedious reasoning steps. We present LeanPremise, a novel neural premise selection system, and we combine it with existing translation and proof reconstruction components to create LeanHammer, the first end-to-end domain general hammer for the Lean proof assistant. Unlike existing Lean premise selectors, LeanPremise is specifically trained for use with a hammer in dependent type theory. It also dynamically adapts to user-specific contexts, enabling it to effectively recommend premises from libraries outside LeanPremise's training data as well as lemmas defined by the user locally. With comprehensive evaluations, we show that LeanPremise enables LeanHammer to solve 21% more goals than existing premise selectors and generalizes well to diverse domains. Our work helps bridge the gap between neural retrieval and symbolic reasoning, making formal verification mo
Rowhammer is a critical vulnerability in dynamic random access memory (DRAM) that continues to pose a significant threat to various systems. However, we find that conventional load-based attacks are becoming highly ineffective on the most recent architectures such as Intel Alder and Raptor Lake. In this paper, we present $ρ$Hammer, a new Rowhammer framework that systematically overcomes three core challenges impeding attacks on these new architectures. First, we design an efficient and generic DRAM address mapping reverse-engineering method that uses selective pairwise measurements and structured deduction, enabling recovery of complex mappings within seconds on the latest memory controllers. Second, to break through the activation rate bottleneck of load-based hammering, we introduce a novel prefetch-based hammering paradigm that leverages the asynchronous nature of x86 prefetch instructions and is further enhanced by multi-bank parallelism to maximize throughput. Third, recognizing that speculative execution causes more severe disorder issues for prefetching, which cannot be simply mitigated by memory barriers, we develop a counter-speculation hammering technique using control-fl
Impact hammers, also known as rock-breakers, are essential machines in mining operations, where they perform secondary reduction. In underground mining, these machines are typically teleoperated, limiting operational efficiency. This paper presents a real-time RGB-D perception pipeline as a step towards automating the operation of hydraulic impact hammers used in mining. The proposed system simultaneously generates operationally feasible rock-breaking poses and a robot-free 3D representation of the workspace. The proposed approach combines image-based instance segmentation with geometric point cloud processing, and operates on embedded hardware at approximately 10 Hz with a total latency of around 675 ms, enabling responsive closed-loop behavior when integrated with a control system. Experimental results in a representative scaled scenario demonstrate that the proposed system is suitable for real-time autonomous impact hammer operation.
3D Gaussian Splatting offers expressive scene reconstruction, modeling a broad range of visual, geometric, and semantic information. However, efficient real-time map reconstruction with data streamed from multiple robots and devices remains a challenge. To that end, we propose HAMMER, a server-based collaborative Gaussian Splatting method that leverages widely available ROS communication infrastructure to generate 3D, metric-semantic maps from asynchronous robot data-streams with no prior knowledge of initial robot positions and varying on-device pose estimators. HAMMER consists of (i) a frame alignment module that transforms local SLAM poses and image data into a global frame and requires no prior relative pose knowledge, and (ii) an online module for training semantic 3DGS maps from streaming data. HAMMER handles mixed perception modes, adjusts automatically for variations in image pre-processing among different devices, and distills CLIP semantic codes into the 3D scene for open-vocabulary language queries. In our real-world experiments, HAMMER creates higher-fidelity maps (2x) compared to competing baselines and is useful for downstream tasks, such as semantic goal-conditioned
Prompt injection poses a serious threat to the reliability and safety of LLM agents. Recent defenses against prompt injection, such as Instruction Hierarchy and SecAlign, have shown notable robustness against static attacks. However, to more thoroughly evaluate the robustness of these defenses, it is arguably necessary to employ strong attacks such as automated red-teaming. To this end, we introduce RL-Hammer, a simple recipe for training attacker models that automatically learn to perform strong prompt injections and jailbreaks via reinforcement learning. RL-Hammer requires no warm-up data and can be trained entirely from scratch. To achieve high ASRs against industrial-level models with defenses, we propose a set of practical techniques that enable highly effective, universal attacks. Using this pipeline, RL-Hammer reaches a 98% ASR against GPT-4o and a $72\%$ ASR against GPT-5 with the Instruction Hierarchy defense. We further discuss the challenge of achieving high diversity in attacks, highlighting how attacker models tend to reward-hack diversity objectives. Finally, we show that RL-Hammer can evade multiple prompt injection detectors. We hope our work advances automatic red-
High tibial osteotomy is a common procedure for knee osteoarthritis during which the surgeon partially opens the tibia and must stop impacting when cortical bone is reached by the osteotome. Surgeons rely on their proprioception and fluoroscopy to conduct the surgery. Our group has developed an instrumented hammer to assess the mechanical properties of the material surrounding the osteotome tip. The aim of this ex vivo study is to determine whether this hammer can be used to detect the transition from cortical to trabecular bone and vice versa. Osteotomies were performed until rupture in pig tibia using the instrumented hammer. An algorithm was developed to detect both transitions based on the relative variation of an indicator derived from the time variation of the force. The detection by the algorithm of both transitions was compared with the position of the osteotome measured with a video camera and with surgeon proprioception. The difference between the detection of the video and the algorithm (respectively, the video and the surgeon; the surgeon and the algorithm) is 1.0$\pm$1.5 impacts (respectively, 0.5$\pm$0.6 impacts; 1.4$\pm$1.8 impacts), for the detection of the transiti
Humans commonly identify 3D object affordance through observed interactions in images or videos, and once formed, such knowledge can be generically generalized to novel objects. Inspired by this principle, we advocate for a novel framework that leverages emerging multimodal large language models (MLLMs) for interaction intention-driven 3D affordance grounding, namely HAMMER. Instead of generating explicit object attribute descriptions or relying on off-the-shelf 2D segmenters, we alternatively aggregate the interaction intention depicted in the image into a contact-aware embedding and guide the model to infer textual affordance labels, ensuring it thoroughly excavates object semantics and contextual cues. We further devise a hierarchical cross-modal integration mechanism to fully exploit the complementary information from the MLLM for 3D representation refinement and introduce a multi-granular geometry lifting module that infuses spatial characteristics into the extracted intention embedding, thus facilitating accurate 3D affordance localization. Extensive experiments on public datasets and our newly constructed corrupted benchmark demonstrate the superiority and robustness of HAMM
Summers osteotomy is a technique used to increase bone height and to improve bone density in dental implant surgery. The two main risks of this surgery, which is done by impacting an osteotome in bone tissue, are i) to perforate the sinus membrane and ii) the occurrence of benign paroxysmal vertigo, which are both related to excessive impacts during the osteotomy. Therefore, impacts must be carefully modulated. The aim of this study is to determine whether an instrumented hammer can predict bone damage before the total osteotome protrusion. 35 osteotomies were performed in 9 lamb palate samples using a hammer instrumented with a force sensor to record the variation of the force as a function of time s(t). A signal processing was developed to determine the parameter $τ$ corresponding to the time between the first two peaks of s(t). A camera was used to determine the impact number for damage: NVideo. The surgeon determined when damage occurred, leading to NSurg. An algorithm was developed to detect bone damage based on the variation of $τ$ as a function of the impact number, leading to Ncrit. The algorithm was always able to detect bone damage before total protrusion of the osteotome
Federated Learning (FL) enables distributed model training but is vulnerable to backdoor attacks, where malicious clients embed attacker-controlled behaviors into the global model. Existing defenses fail against adaptive adversaries. In this paper, we present "Hammer and Anvil", a principled theoretical framework that categorizes backdoors by the deviation, $δ$, of their updates to the mean of the updates. We identify two fundamental defense types: "Type 1 (The Anvil)", comprising outlier detection and robust aggregation effective against large-deviation attacks, and "Type 2 (The Hammer)", consisting of removal-based defenses effective against small-deviation attacks. We demonstrate that defenses of a single type and non-principled combined defenses inherently leave an exploitable gap for adaptive attackers. To bridge this gap, we propose the principled combination of Type 1 and Type 2 defenses. We evaluate our framework against a new, worst-case, full-information adaptive adversary that knows the benign updates, the aggregation algorithm, and its parameters, and yet this adversary fails against our combined defenses. Our empirical evaluation across various datasets and settings sh
Recent curriculum reinforcement learning for large language models (LLMs) typically rely on difficulty-based annotations for data filtering and ordering. However, such methods suffer from local optimization, where continual training on simple samples in the early steps can cause the policy to lose its exploration. We propose a novel schema, namely Hamiltonian curiosity augmented large language model reinforcement (HAMMER), that transfers diversity metrics, commonly used in dataset evaluation, into the dynamic reinforcement learning procedure, where training samples are ordered via a minimum-semantic Hamiltonian path making the initial training retrain more exploration. From a theoretical perspective of generalization bounds, diversity-driven ordering facilitates stable convergence. Empirical evaluations indicate that HAMMER stimulates model "curiosity" and consistently achieves a 3% to 4% average accuracy gain across diverse inference benchmark.
Large language models have demonstrated impressive value in performing as autonomous agents when equipped with external tools and API calls. Nonetheless, effectively harnessing their potential for executing complex tasks crucially relies on enhancements in their function calling capabilities. This paper identifies a critical gap in existing function calling models, where performance varies significantly across benchmarks, often due to being misled by specific naming conventions. To address such an issue, we introduce Hammer, a novel family of foundation models specifically engineered for on-device function calling. Hammer employs an augmented dataset that enhances models' sensitivity to irrelevant functions and incorporates function masking techniques to minimize misleading. Our empirical evaluations reveal that Hammer not only outperforms larger models but also demonstrates robust generalization across diverse benchmarks, achieving sota results. Our open source contributions include a specialized dataset for irrelevance detection, a tuning framework for enhanced generalization, and the Hammer models, establishing a new standard for function calling performance.
We conduct a numerical study of the transient phenomenon in pipelines transporting plastic Bingham slurry flows, using a lowest-order finite element method (FEM). While most pipeline hammer studies focus on Newtonian fluids, the transient dynamics in Bingham fluids remains elusive and poorly afforded, despite their significant industrial impact, particularly in mining. A detailed parametric study assesses the effects of the slurry yield stress and the valve closure times on both pressure and velocity distributions along the pipeline, using an adaptive friction model to account for turbulent slurries. Results reveal that yield stress enhances flow resistance and accelerates pressure peak attenuation, underscoring the damping role of Bingham rheology compared to Newtonian flows. These insights emphasize the need for advanced FEM-based schemes in non-Newtonian shockwave modeling, with implications for industrial pipeline design and operational safety.
Monolithic 3D stackable 1T1C DRAM technology is on the rise, with initial prototypes reported by the industry. This work presents a comprehensive reliability study focusing on the intricate interplay between the row hammer effect and the floating body effect. First, using a TCAD model of a 3D DRAM mini-array, we categorize different cases of adjacent cells and show that the notorious row hammer effect induced by charge migration is significantly mitigated compared to 2D DRAM. However, we found that when incorporating an impact ionization model to account for the floating body characteristics of the silicon access transistor, the capacitive coupling between vertically stacked cells is severely exacerbated. Second, we conduct an in-depth investigation into the floating body effect itself. We systematically examine the dependence of this effect on key device parameters, including body thickness, doping concentration, and gate work function.
We demonstrate a hardware vulnerability in quantum computing systems by exploiting cross-talk effects on an available commercial quantum computer (IBM). Specifically, based on the cross-talk produced by certain quantum gates, we implement a row hammer attack that ultimately allows us to flip a qubit. Both single-qubit and two-qubit operations are performed and analyzed. Our findings reveal that two-qubit operations applied near the target qubit significantly influence it through cross-talk, effectively compromising its state.
Labelled Dirac notation is a formalism commonly used by physicists to represent many-body quantum systems and by computer scientists to assert properties of quantum programs. It is supported by a rich equational theory for proving equality between expressions in the language. These proofs are typically carried on pen-and-paper, and can be exceedingly long and error-prone. We introduce D-Hammer, the first tool to support automated equational proof for labelled Dirac notation. The salient features of D-Hammer include: an expressive, higher-order, dependently-typed language for labelled Dirac notation; an efficient normalization algorithm; and an optimized C++ implementation. We evaluate the implementation on representative examples from both plain and labelled Dirac notation. In the case of plain Dirac notation, we show that our implementation significantly outperforms DiracDec.
In a previous paper, we have shown that clause sets belonging to the Horn Bernays-Schönfinkel fragment over simple linear real arithmetic (HBS(SLR)) can be translated into HBS clause sets over a finite set of first-order constants. The translation preserves validity and satisfiability and it is still applicable if we extend our input with positive universally or existentially quantified verification conditions (conjectures). We call this translation a Datalog hammer. The combination of its implementation in SPASS-SPL with the Datalog reasoner VLog establishes an effective way of deciding verification conditions in the Horn fragment. We verify supervisor code for two examples: a lane change assistant in a car and an electronic control unit of a supercharged combustion engine. In this paper, we improve our Datalog hammer in several ways: we generalize it to mixed real-integer arithmetic and finite first-order sorts; we extend the class of acceptable inequalities beyond variable bounds and positively grounded inequalities; and we significantly reduce the size of the hammer output by a soft typing discipline. We call the result the sorted Datalog hammer. It not only allows us to handle
Series elastic actuators (SEAs) are interesting for usage in harsh environments as they are more robust than rigid actuators. This paper shows how SEAs can be used in teleoperation to increase output velocity in dynamic tasks. A first experiment is presented that tested human ability to achieve higher hammerhead velocities with a flexible hammer than with a rigid hammer, and to evaluate the influence of the resonance frequency. In this experiment, 13 participants executed a hammering task in direct manipulation using flexible hammers in four conditions with resonance frequencies of 3.0 Hz to 9.9 Hz and one condition with a rigid hammer. Then, a second experiment is presented that tested the ability of 32 participants to reproduce the findings of the first experiment in teleoperated manipulation with different feedback conditions: with visual and force feedback, without visual feedback, without force feedback, and with a communication delay of 40 ms. The results indicate that humans can exploit the mechanical resonance of a flexible system to at least double the output velocity without combined force and vision feedback. This is an unexpected result, allowing the design of simpler a