Search arXiv⌕ Search

arXiv subjects

Daksh Agarwal

Publications and source records attributed to Daksh Agarwal.

2 recordsLinked to original sources

Adaptive Temporal Retrieval for Time-Sensitive Question Answering

Answers to many questions change over time, yet standard retrieval-augmented generation (RAG) ranks passages by semantic similarity alone and makes no explicit decision about whether to retrieve or which dates the evidence should cover. TempoRAG adds a temporal policy on top of one dense index: a two-head query router (retrieval necessity; current, historical, or timeless), a date window whose width follows the question's time cue, a sufficiency loop, and date-aware sentence selection. We compare one frozen configuration with no retrieval, standard RAG, a fixed +/-2-year filter, and a TempRALM-style year-decay ranker, with an extractive reader, answer projection, and entity cut shared by all retrieving systems. The policy ties the fixed filter on 77 templated questions (exact match 0.948 vs. 0.935, McNemar p=1.0), beats it on 193 questions about six held-out entities (0.762 vs. 0.684, p=6.1e-5), and has a non-significant containment edge on 500 TimeQA questions (0.296 vs. 0.270, p=0.117), while clearly beating the decay ranker there (0.234, p=5.4e-4). Ablations attribute most of the gains to the entity cut and the sentence selector; the sufficiency loop adds latency but no answers. Finally, a DeBERTa-v3 router trained on 80,145 questions with LLM labels, a year rule, and counterfactual minimal pairs removes the rule router's hand-written trivia list: it matches the rule router's answer correctness on all 770 test questions, raises counterfactual-probe accuracy from 12/36 to 29/36 over a regex-label router, and has a confidence ECE of 0.056, but it does not beat the rules.

cs.CL↗

DECKER: Domain-invariant Embedding for Cross-Keyboard Extraction and Recognition

Acoustic side-channel attacks (ASCA) on keyboards pose a significant security risk, as keystrokes can be inferred from typing acoustics, revealing sensitive information. Prior ASCA studies are limited by small-scale datasets with restricted diversity in users, keyboards, and environments, constraining analysis across devices, microphones, and noise conditions. We introduce HEAR, a dataset designed to study ASCA along three axes: keyboard generalization, noise adaptation, and user bias. HEAR contains recordings from 53 participants using 37 laptop keyboards, collected in three realistic settings: (1) external microphone capture, (2) device microphone capture without network noise, and (3) VoIP-based streaming capture. This enables controlled evaluation across users, keyboards, and environments. On HEAR, we establish an ASCA benchmark spanning conventional features and pre-trained representations from raw audio and spectrograms in unimodal and multimodal settings. We propose DECKER, a domain-invariant keystroke inference framework with four stages: (1) Keyboard Signature Normalization to reduce device coloration, (2) domain-adversarial disentanglement to suppress keyboard identity, (3) supervised cross-keyboard contrastive alignment to enforce key consistency, and (4) Acoustic Style Randomization to synthesize unseen keyboard responses. We further explore sentence-level inference using an LLM-based post-processing layer to refine keystroke sequences via linguistic context. Results on HEAR show DECKER improves keystroke identification over strong baselines, particularly in cross-keyboard and cross-user settings, with further gains from language-model rectification. These findings highlight that ASCA remains effective across diverse users, devices, and noisy environments, underscoring its practical security risk.

cs.CR↗