Deep Learning
DiagFlowBench: Evaluating How Language Models Handle Off-Procedure Inputs in Grounded Diagnostic Dialogue
de Avalle, Guillermo Gil, Maruster, Laura, Raza, Shaina, Emmanouilidis, Christos
Language models increasingly serve as advisory systems in maintenance operations. To prevent hallucination, established approaches ground these models in procedural documentation, constraining them to prescribed sequences. In practice, however, operators may stray from these steps, requiring models to recognise unscripted, off-procedure utterances. Current benchmarks rarely prioritise this capability. We introduce DiagFlowBench, a dataset of 50 industrial diagnostic flowcharts from a consumer manufacturer converted into 1,676 multi-turn conversations that contrast compliant with off-procedure utterances. Evaluating a panel of ten commercial and open-weight models reveals high variability in abstention rates, with models often selecting a real but contextually inadequate step rather than fabricating facts. The inherent plausibility and authority of this mapped but wrong advice exposes a challenging vulnerability for grounding systems. Code and data are released at https://github.com/guille-gil/DiagFlowBench.
Component-Weighted Centroid Search for Exact Incremental BPE
Exact incremental tokenizers keep the tokenization of a growing text up to date, so a long prompt or agent trace is not retokenized each time it grows. Jiang and Gong's algorithm does this for byte-pair encoding (BPE) in $O(\log^2 t)$ worst-case time per byte, where $t$ is the length of the longest token. Its search passes through $O(\log t)$ nested subproblems and runs a binary search over the possible branches at each one. We weight each branch by the size of the subproblem it leads to. Each step then costs about one probe for every halving of the remaining candidates, and a whole update costs $O(\log t)$, as much as one binary search over all candidates. Output and asymptotic memory are unchanged. We also construct valid BPE vocabularies on which the original search provably needs $Θ(\log^2 t)$ probes and ours $Θ(\log t)$, and a Rust implementation reproduces both counts exactly. On six real vocabularies the two searches run at about the same speed on ordinary text, while on long runs of spaces or hyphens the weighted search is up to 2.5$\times$ faster.
When a Conceptor Complement Becomes Gain: Operator Geometry and Behavioral Attribution in Language Models
Razdan, Shuhul, Balamurugan, R
When a steering intervention changes a language model's behavior, which part of the intervention deserves the credit? We test this question for a target-centered, scaled conceptor complement by removing its fitted covariance filter while preserving the same target-specific center and gain. At the original aperture $α=.05$ and gain $β=2$, all 21 fitted maps across three models and seven targets expand every direction at the generation intervention layers. The matrix correction is $0.093\%$--$7.815\%$ of the matched-control displacement on held-out extraction activations. In 480 paired comparisons within a 1,920-response study, retaining the matrix changes many individual texts but does not establish a consistent additional target-suppression benefit on the four-target panel. A geometric aperture sweep shows that the operating regime changes with the filter setting. Separately, an invertible soft filter preserves what an unrestricted affine readout can recover, whereas dedicated erasure methods reduce prediction by newly fitted probes. Together, the results show why a whole-intervention comparison cannot by itself attribute generated behavior to the fitted matrix: analyze the complete transformation, hold shared components fixed, and test its output consequences directly.
Edge-Optimized YOLOv11n Architecture for Offline Recognition of Nigerian Sign Language Alphanumeric Gestures
Adeniyan, Adeleke, Afolayan, Abimbola H., Johnson, Olanrewaju V.
Deaf inclusion across sub-Saharan society faces regional hurdles, with Nigeria as the core empirical focus. Existing recognition models demand heavy computational infrastructure. However, standard mobile phones used locally rarely exceed 1 GB to 4 GB of RAM. This study addresses constraints through a lightweight YOLO11n object-detection framework. The system provides real-time Nigerian Sign Language recognition for low-resource hardware. A benchmark dataset containing 11,208 raw gesture images was established. The data spans 33 static classes collected from five signers. Partitioning isolates signers S1 through S3 for training. Signer S4 provides validation data. Signer S5 is reserved for testing. Spatial augmentations are restricted strictly to the training set. This yields 23,509 training images. The validation and test sets each maintain 1,681 images across varied environments. The framework integrates a quantization-aware compression objective. Loss functions merge with squared Frobenius-norm penalties to govern weight distortion. A Spatial-Density Occlusion Index quantifies background complexity and self-occlusion. A latency-profiling equation relates floating-point operations and memory bandwidth to chipset clock speed. Performance testing on physical Android hardware utilizes unquantized FP32 weights. Mean inference latencies span 405.5 ms to 1,759.4 ms. Measured against test data, the algorithm attains a Precision of 0.9975. Recall reaches 0.9991. Mean Average Precision is 0.9942. Outcomes support offline functionality on constrained mobile devices. Practical deployment operates through a mobile utility using CameraX. The application captures gestures in real time. Recognized signs display as text instantly.
SPIN: Shadow Predictive Indexer for Sparse Attention
Fu, Yao, Chang, Jiahan, Li, Yueying, Zhao, Ritchie, Long, Bryce, Kamani, Mohammad Mahdi, Jain, Samkit, Raman, Rahul, Safavi, Tara, Gupta, Shreya, Fashi, Parsa Ashrafi, Lee, Minseok, Demouth, Julien, Rouhani, Bita Darvish
Indexer-based sparse attention reduces the cost of core attention by passing only a fixed, small number of important tokens to it. However, the indexer must still score the entire KV cache at every decoding step. This scoring overhead becomes a major bottleneck as the context length grows. We propose SPIN (Shadow Predictive Indexer) to reduce this indexer overhead. SPIN uses lightweight, history-based prediction to identify important KV blocks, avoiding the need to score the full KV cache at every decoding step. SPIN keeps the score history fresh with random exploration and allocates the block budget across layers by their measured miss rates. SPIN treats KV blocks and speculative decoding as first-class design and implementation considerations. Across extensive evaluations on long-context and agentic benchmarks, SPIN achieves 30-40% sparsity while preserving task quality. With larger exploration shares and per-layer block budgets, SPIN keeps task quality on the especially difficult MRCRv2 benchmark close to baseline at 50-57% effective block sparsity. In end-to-end vLLM serving, SPIN improves output throughput by up to 13.9% and reduces median inter-token latency by up to 13.6%.
Component Replacement in LLM Agents: A Critical Scoping Review of Task Benefit and Attribution
Zhang, Shuyang, Chang, Jianshuo
Background: Choosing an agent controller and deciding which component to improve require different evidence. A replacement can change both the decision rule and what the agent can do after that decision. Objectives: We ask what existing replacement comparisons establish about task benefit and about attribution to local decision quality. Methods: This critical scoping review maps 348 studies and applies a five-step interpretation procedure to 94 comparison and diagnostic records from 42 studies, reading every inconsistent record against its source. Eight purposively selected cases illustrate the procedure. Results: The records comprise 33 executed task-outcome contrasts, 49 comparisons with restricted endpoints, and 12 diagnostic summaries. Only 14 task contrasts report contrast-level uncertainty, and the response policy is documented as retained in nine, all rule replacements from four studies; none of the 12 necessity-decision records executes a task contrast. Source checks distinguish whole-plan correctness, correct skill loading, and choice accuracy conditional on presentation from completed workflows. In Outcome Monitors, a count-matched timing placebo detects no timing effect (+0.88 points, 95% CI -4.39 to 6.14), so the source evidence attributes the detectable package gain to recovery content; detector selection at a fixed warning quota remains untested. Conclusions: The analysis separates evidence that can inform adoption from evidence that supports component development. Recovery and disruption, intervention timing, and downstream consumption organize three candidate mechanisms, and eight conditional reporting items specify the comparisons needed to distinguish the remaining explanations.
Matryoshka Hash Representations for Model-Aware Compact Semantic Retrieval
Retrieval-augmented generation (RAG) depends on dense retrieval: each document is stored as a learned vector, and queries are answered by nearest-neighbor search. Keeping one full-precision vector per document dominates index cost at corpus scale, so systems replace each vector with a short code of a few bytes (quantization). Standard quantizers such as product quantization (PQ) pick the code that best reconstructs the original vector, but reconstruction is only a proxy for retrieval: at a few bytes per document, a model-aware code trained on the retriever's ranking signal uses the budget better. A single code is even more useful if its short prefixes are each directly searchable, letting a deployment set its efficiency-quality operating point without re-encoding the corpus. But training all prefixes under one objective makes the early bits a compromise across budgets: short codes improve while the full-width code degrades. Binary codes sharpen the conflict, since a gradient step either flips a stored bit or leaves it unchanged. We introduce Matryoshka Hash Representations (MHR), a two-stage procedure that separates full-width training from prefix organization. MHR first learns a longer binary code, then freezes the model and trains zero-initialized residual code adaptors for directly searchable prefixes. Documents are stored at one bit per coordinate, queries keep continuous logits as in PQ, and search runs on FAISS FastScan. Trained on MS MARCO and zero-shot transferred to seven BEIR datasets, one MHR code reaches 0.502 NDCG@10 at 16 bytes and 0.556 at 32 bytes, against 0.404 and 0.524 for the best compact baselines; the gains hold across training seeds, on all 13 public BEIR datasets, and against off-the-shelf binary Matryoshka embeddings with stronger backbones. The same code also helps shortlist candidates for reranking and prune low-storage graph indexes such as LEANN.
Machine-Learned Compact Subspace Generation for Quantum Selected Configuration Interaction within Density Matrix Embedding Framework
Patra, Ashish Kumar, V., Anurag K. S., Bhat, Ruchika, P., Sai Shankar, Maitra, Rahul, G, Jaiganesh
Sample-based Quantum Diagonalization (SQD), an extension of Quantum Selected Configuration Interaction (QSCI), has emerged as a promising hybrid quantum-classical paradigm for computing molecular ground state energies. By leveraging quantum sampling instead of variational optimization, QSCI avoids barren plateaus and enables direct reconstruction of correlated electronic wavefunctions. However, existing configuration recovery techniques primarily enforce symmetry constraints without guaranteeing optimal selection of the most physically relevant configurations, often leading to unnecessarily large subspaces and increased classical diagonalization costs. In this work, we introduce a machine-learned compact subspace generation protocol based on Restricted Boltzmann Machines (RBMs), termed QSCI-RBM, and integrate it within the Density Matrix Embedding Theory (DMET) framework. All quantum sampling underlying this work was performed extensively on IBM Heron-generation hardware, spanning three distinct processors: IBMHeron R1 (ibm torino) and IBMHeron R2 (ibm fez) for two small-molecule validation systems, and IBMHeron R3 (ibm boston) for a third, larger small-molecule validation system as well as the full protein-ligand embedding calculations. The RBM is trained directly on these hardware-sampled configurations to learn the underlying probability distribution of dominant determinants, enabling the targeted generation of high-probability configurations without recourse to perturbative seeding. Validated first on three small-molecule benchmarks of increasing active-space size, we then apply this framework to the simulation of a protein-ligand complex involving the inhibitor Carmofur bound to the SARS-CoV-2 main protease (Mpro), fragmented into ten DMET impurities, with both DMET-QSCI-RBM and a DMET-SQD baseline reaching full chemical-potential self-consistency within the same four µ-iterations. At the converged chemical potential, DMET-QSCI-RBM achieves an energy within 0.05mHa of the DMET-FCI reference while accessing only 0.22% of the symmetry-preserving configuration space (or symmetry space) on average, an order-of-magnitude tighter accuracy than DMET-SQD (0.55mHa) achieved while accessing 33.0% of the subspace on average, leading to a 153-fold reduction in subspace size at converged chemical potentials. These findings establish that RBM-assisted subspace expansion produces significantly more compact, hardware-derived determinant spaces while preserving or exceeding the physical accuracy of standard configuration-recovery-based QSCI, thereby reducing classical computational overhead and enabling the scalable quantum embedding simulation of complex biological systems entirely on real quantum hardware.
GraphEvoResearcher: A Cost-Matched Mechanism Analysis of Explicit Reasoning Graphs in Training-Free Self-Reflection
Liu, Suxing, Min, Byungwon, Zheng, Zhijian, Wang, Jiahao
Training-free self-reflective protocols (generate, critique, revise) improve LLM reasoning but operate on a flat token stream: revisions cannot identify which prior step is unreliable, and stopping cannot exploit structural convergence. We introduce GraphEvoResearcher, a training-free protocol that lifts EvoResearcher's self-reflective meta-reward onto an explicit reasoning graph whose nodes are intermediate conclusions and whose typed edges encode support, contradict, and depends_on, with a graph-aware reward over correctness, efficiency, reflection, diversity, and structural signals. On deepseek-chat over GSM8K, MATH, and BBH (n=50 each), the protocol reaches 98%, 92%, and 82% in about two calls per question. Gains are significant against single-shot decoding on GSM8K and MATH and against flat reflection only on MATH; against cost-matched self-consistency the protocol is competitive, not dominant. A paired mechanism ablation over a shared response cache then shows what the graph contributes: holding model outputs fixed, neither the structural stop rule nor contradiction-driven repair changes which item is answered correctly, so the gains come from the forced second pass rather than from the structural reward. The ablation exposes the reason: the answer step never reads the edges it builds. We fix this with an edge-consulting arbitration step, which repairs one BBH item and fires on only 4% of questions, locating the binding constraint in how often construction declares conflicts. Testing the implied prediction on HotpotQA (n=100) falsifies it: the trigger rate does not rise with mul
Learning by Doing: Autonomously Compiling and Curating Agent Skills from Verified Traces
Chalef, Daniel, Evans, Peter, Paliychuk, Pavlo, Patel, Mehul, Rasmussen, Preston, Ryan, Jack
Memory systems for production LLM agents mostly store semantic memory (facts about users and domains) or episodic memory (earlier interactions). Research systems such as Trace2Skill, WikiSkill, and SkillRevise learn procedures from agent runs, package them as Skills, and evaluate them on benchmarks. We describe Zep Agent Skills, a production service that gives deployed agents this procedural memory. The service uses only verified attempts as evidence, cites the supporting events for each field of a Skill, and governs the admission and distribution of each Skill version. The service records each task attempt as a Trace with ordered events, an outcome, and a verification strength. A compiler with separate Reflector and Curator roles turns verified Traces into versioned Skills. Scans and admission gates control which candidates become active, and verified use outcomes change the search rank of each Skill. The Agent Skills format is an open standard that Anthropic originated and donated to the Agentic AI Foundation, so any host of the format can load a compiled Skill. Agents retrieve Skills through lexical search with progressive disclosure, over an API or MCP. We evaluate Zep Agent Skills on $τ^3$-bench banking, AppWorld, and EnterpriseOps-Gym. Skills compiled from the Traces of a teacher model increase the pass rate of three weaker executor models on the same tasks, at every reasoning effort, by 4.5 to 18.8 points. Most of the gain is on the tasks that the teacher solved. On ALFWorld, Skills compiled from the runs of a small model give a gain similar to or larger than the gain that prior work reports for continuous fine-tuning, with no training.