Optimistic Prediction of Synchronization-Reversal Data Races
- URL: http://arxiv.org/abs/2401.05642v1
- Date: Thu, 11 Jan 2024 03:34:21 GMT
- Title: Optimistic Prediction of Synchronization-Reversal Data Races
- Abstract summary: Dynamic data race detection has emerged as a key technique for ensuring reliability of concurrent software in practice.
In this work, we identify a class of data races, called Optimistic Sync(hronization)-Reversal races that can be detected in a tractable manner.
We also propose a sound algorithm OSR for detecting all optimistic sync-reversal data races in overall quadratic time.
- Score: 6.407713444542916
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Dynamic data race detection has emerged as a key technique for ensuring
reliability of concurrent software in practice. However, dynamic approaches can
often miss data races owing to nondeterminism in the thread scheduler.
Predictive race detection techniques cater to this shortcoming by inferring
alternate executions that may expose data races without re-executing the
underlying program. More formally, the dynamic data race prediction problem
asks, given a trace \sigma of an execution of a concurrent program, can \sigma
be correctly reordered to expose a data race? Existing state-of-the art
techniques for data race prediction either do not scale to executions arising
from real world concurrent software, or only expose a limited class of data
races, such as those that can be exposed without reversing the order of
synchronization operations.
In general, exposing data races by reasoning about synchronization reversals
is an intractable problem. In this work, we identify a class of data races,
called Optimistic Sync(hronization)-Reversal races that can be detected in a
tractable manner and often include non-trivial data races that cannot be
exposed by prior tractable techniques. We also propose a sound algorithm OSR
for detecting all optimistic sync-reversal data races in overall quadratic
time, and show that the algorithm is optimal by establishing a matching lower
bound. Our experiments demonstrate the effectiveness of OSR on our extensive
suite of benchmarks, OSR reports the largest number of data races, and scales
well to large execution traces.
Related papers
- ATTS: Asynchronous Test-Time Scaling via Conformal Prediction [112.54016379556073]
Large language models (LLMs) benefit from test-time scaling but are often hampered by high inference latency.<n>We introduce ATTS (Asynchronous Test-Time Scaling), a statistically guaranteed adaptive scaling framework.<n>We show that ATTS delivers up to 56.7x speedup in test-time scaling and a 4.14x throughput improvement.
arXiv Detail & Related papers (2025-09-18T16:55:09Z) - FedTeddi: Temporal Drift and Divergence Aware Scheduling for Timely Federated Edge Learning [12.104759384825705]
Federated edge learning (FEEL) enables collaborative model training across distributed clients over wireless networks without exposing raw data.<n>A critical challenge is how to adapt models in a timely yet efficient manner to such evolving data.<n>We propose FedTeddi, a temporal-drift-and-divergence-aware scheduling algorithm that facilitates fast convergence of FEEL.
arXiv Detail & Related papers (2025-09-09T02:33:48Z) - Efficient Conformance Checking of Rich Data-Aware Declare Specifications (Extended) [49.46686813437884]
We show that it is possible to compute data-aware optimal alignments in a rich setting with general data types and data conditions.<n>This is achieved by carefully combining the two best-known approaches to deal with control flow and data dependencies.
arXiv Detail & Related papers (2025-06-30T10:16:21Z) - CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training [63.07024608399447]
We propose an automated framework that discovers, evaluates, and refines data mixtures in a pre-training setting.
We introduce ClimbLab, a filtered 1.2-trillion-token corpus with 20 clusters as a research playground, and ClimbMix, a compact yet powerful 400-billion-token dataset.
arXiv Detail & Related papers (2025-04-17T17:58:13Z) - Event Signal Filtering via Probability Flux Estimation [58.31652473933809]
Events offer a novel paradigm for capturing scene dynamics via asynchronous sensing, but their inherent randomness often leads to degraded signal quality.
Event signal filtering is thus essential for enhancing fidelity by reducing this internal randomness and ensuring consistent outputs across diverse acquisition conditions.
This paper introduces a generative, online filtering framework called Event Density Flow Filter (EDFilter)
Experiments validate EDFilter's performance across tasks like event filtering, super-resolution, and direct event-based blob tracking.
arXiv Detail & Related papers (2025-04-10T07:03:08Z) - Conformance Checking for Less: Efficient Conformance Checking for Long Event Sequences [3.3170150440851485]
ConLES is a sliding-window conformance checking approach for long event sequences.<n>It partitions traces into manageable subtraces and aligns each against the expected behavior.<n>We use global information that captures structural properties of both the trace and the process model.
arXiv Detail & Related papers (2025-03-09T16:42:59Z) - HardRace: A Dynamic Data Race Monitor for Production Use [15.504566762273262]
Data races are critical issues in multithreaded program, leading to unpredictable, catastrophic and difficult-to-diagnose problems.
We introduce HardRace, a data race monitor to detect races on-the-fly while with sufficiently low runtime overhead and high detection capability.
arXiv Detail & Related papers (2024-10-24T03:59:02Z) - Event-ECC: Asynchronous Tracking of Events with Continuous Optimization [1.9446776999250501]
We propose a tracking algorithm that computes a 2D motion warp per single event, called event-ECC (eECC)
The computational burden of event-wise processing is alleviated through a lightweight version that benefits from incremental processing and updating scheme.
We report improvements in tracking accuracy and feature age over state-of-the-art event-based asynchronous trackers.
arXiv Detail & Related papers (2024-09-22T19:03:19Z) - Noisy Correspondence Learning with Self-Reinforcing Errors Mitigation [63.180725016463974]
Cross-modal retrieval relies on well-matched large-scale datasets that are laborious in practice.
We introduce a novel noisy correspondence learning framework, namely textbfSelf-textbfReinforcing textbfErrors textbfMitigation (SREM)
arXiv Detail & Related papers (2023-12-27T09:03:43Z) - Efficient Online Data Mixing For Language Model Pre-Training [101.45242332613944]
Existing data selection methods suffer from slow and computationally expensive processes.
Data mixing, on the other hand, reduces the complexity of data selection by grouping data points together.
We develop an efficient algorithm for Online Data Mixing (ODM) that combines elements from both data selection and data mixing.
arXiv Detail & Related papers (2023-12-05T00:42:35Z) - KFC: Kinship Verification with Fair Contrastive Loss and Multi-Task
Learning [10.716585855033347]
Kinship verification is an emerging task in computer vision with multiple potential applications.
We first combine existing kinship datasets and label each identity with the correct race in order to take race information into consideration.
Secondly, we propose a multi-task learning model structure with attention module to enhance accuracy, which surpasses state-of-the-art performance.
arXiv Detail & Related papers (2023-09-19T14:21:33Z) - Multi-class Classifier based Failure Prediction with Artificial and
Anonymous Training for Data Privacy [0.0]
A neural network based multi-class classifier is developed for failure prediction.
The proposed mechanism completely decouples the data set used for training process from the actual data which is kept private.
Results show high accuracy in failure prediction under different parameter configurations.
arXiv Detail & Related papers (2022-09-06T07:53:33Z) - eCDT: Event Clustering for Simultaneous Feature Detection and Tracking- [4.094848360328624]
Event Clustering-based Detection Tracking (eCDT)
Our method 30% better feature tracking ages compared with the state-of-the-art approach.
arXiv Detail & Related papers (2022-07-19T07:39:04Z) - Distributed Adversarial Training to Robustify Deep Neural Networks at
Scale [100.19539096465101]
Current deep neural networks (DNNs) are vulnerable to adversarial attacks, where adversarial perturbations to the inputs can change or manipulate classification.
To defend against such attacks, an effective approach, known as adversarial training (AT), has been shown to mitigate robust training.
We propose a large-batch adversarial training framework implemented over multiple machines.
arXiv Detail & Related papers (2022-06-13T15:39:43Z) - Robust Event Classification Using Imperfect Real-world PMU Data [58.26737360525643]
We study robust event classification using imperfect real-world phasor measurement unit (PMU) data.
We develop a novel machine learning framework for training robust event classifiers.
arXiv Detail & Related papers (2021-10-19T17:41:43Z) - Higher Performance Visual Tracking with Dual-Modal Localization [106.91097443275035]
Visual Object Tracking (VOT) has synchronous needs for both robustness and accuracy.
We propose a dual-modal framework for target localization, consisting of robust localization suppressingors via ONR and the accurate localization attending to the target center precisely via OFC.
arXiv Detail & Related papers (2021-03-18T08:47:56Z) - ORDisCo: Effective and Efficient Usage of Incremental Unlabeled Data for
Semi-supervised Continual Learning [52.831894583501395]
Continual learning assumes the incoming data are fully labeled, which might not be applicable in real applications.
We propose deep Online Replay with Discriminator Consistency (ORDisCo) to interdependently learn a classifier with a conditional generative adversarial network (GAN)
We show ORDisCo achieves significant performance improvement on various semi-supervised learning benchmark datasets for SSCL.
arXiv Detail & Related papers (2021-01-02T09:04:14Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.