Search arXiv⌕ Search

arXiv subjects

Shuyao Gao

Publications and source records attributed to Shuyao Gao.

5 recordsLinked to original sources

What must be built in? Small spiking networks learning $4\times4$ Sudoku across levels of skill encapsulation

Hand-wired spiking networks can solve Sudoku, but their constraints are designed, not learned. We ask how much of a solver must be built in before a small spiking network can learn the rest. In $4\times4$ Sudoku every uniquely solvable puzzle yields to waves of single-candidate inference, which gives an exact difficulty scale. With learning rates tuned for every network on held-out validation grids, and tested on solution grids never seen in training, a learned one-wave operator inside a provided loop solves 98.7% of puzzles. Keeping the loop but training on full solutions, or giving internal recurrence the same per-wave targets, each reaches 69%; networks that output full solutions largely recall training grids and fail mainly on the grid type that admits deep puzzles. Non-spiking counterparts show the same ordering, although with clean input per-wave targets and internal recurrence come within 6 points of the provided loop. Under feedback alone, a spiking policy that can represent a zero-lookahead rule learns it to 61% from outcome reward and to 90% from rule-aligned reward. The spiking operator matches its non-spiking counterparts on clean input. It also still solves 93% of puzzles when 10% of its input bits flip at random over time, but so does a non-spiking network that, like a spiking neuron, integrates its input before the nonlinearity: the robustness comes from that integration, not from spikes.

cs.NE↗

What the Model Cannot See: Name-Based Trust Lets Unverifiable Sanitizers Silence True Alerts in LLM-Based Static-Analysis Triage

Large language models (LLMs) are increasingly used to triage the alerts of static application security testing (SAST) tools, yet the triage prompt usually shows only the alerted file. We show that this lets a code author silence true alerts: a call to a method in another file whose name fits the vulnerability, such as InputSanitizer.escapeSql, is accepted as an effective sanitizer. On OWASP Benchmark alerts, four LLMs from four vendors read and rejected a visible no-op sanitizer, but the same no-op in an unseen file lowered the share of true alerts kept from 0.93-0.97 to 0.36-0.74 in a preregistered test. Unseen calls with neutral or ill-fitting names had little effect. Coded reasoning shows that the models knew the code was unseen but relied on the name; from the name alone, a fake and a working sanitizer are indistinguishable. Retrieving the called method restored triage, whereas allowing a "needs review" verdict helped three of the four models. In 35 real Java projects, half of the CodeQL injection alerts pass through sanitizer-like methods in other files, and three models dismissed a real CVE for this reason. Triage pipelines should resolve, show and verify unseen code instead of trusting names.

cs.CR↗

Trusting the Tool: Asymmetric Deference of LLM Vulnerability Auditors to Static-Analysis Evidence

Pipelines that combine large language models (LLMs) with static analysis let the model consume the analyser's output as evidence, but whether the model distinguishes true from false evidence, and whether its scrutiny depends on what the evidence claims, has not been measured. We built an intraprocedural analyser for C/C++ that produces proof obligations and audited vulnerable and patched functions from PrimeVul under six evidence conditions that differ only in the notes, including fabricated assurances that a missing check exists and fabricated alarms that an added check is missing. The study covers 916 pairs in four disjoint sets, eleven model configurations from four vendors and 16,572 audits; no model is trained or fine-tuned. True evidence barely improved accuracy (+0.02). False evidence acted asymmetrically: relative to true notes about the same operations, false assurances lowered the detection of real vulnerabilities by up to 19 points, whereas false alarms never significantly lowered accuracy and were disputed far more often. An internally registered replication on seven new models confirmed that false assurances move verdicts towards their claim more than false alarms do (mean asymmetry +0.16, 95% CI +0.10 to +0.24). Instructions in the audit prompt did not reliably reduce deference; the best one failed to replicate. Verifying each claim in a separate call and showing the refuted claims raised accuracy under false assurances by 12 points in a pre-specified test (p=0.002) without loss under true evidence; for a second model the gain was smaller and not significant. Pipelines should therefore verify a tool's guarantees before the model relies on them, and studies should measure deference in a direction-aware way.

cs.SE↗

The atomic structure of work: a micro-action instrument reveals two-pole AI occupational exposure and its decade-scale polar inversion

Research on artificial intelligence and work assigns each occupation a single exposure score. We build an instrument to see what those scores average over: a decomposition of 1,961 O*NET work activities into 15,817 atomic micro-actions by a consensus multi-agent LLM pipeline, clustered from text alone into seven semantic classes. Projecting exposure indicators onto these classes reveals two extreme poles, tool-mediated physical execution and planning-and-design, separated by a gap far larger than random partitions of the same data produce (permutation $P < 10^{-4}$; Cliff's $δ= 0.80$ under our tech-risk index and $0.90$ under GPT-4 task ratings). The poles flank a broad central band that carries most work and is only weakly more compressed than chance. The poles are stable across clustering resolution, sentence encoder (under a common partition), and indicator, yet which pole is most exposed has inverted since 2013: the two extremes swap identity between the Frey-Osborne computerisation era and the LLM era, and at the occupation level an occupation's 2013 automatability declines as its linguistic content rises ($ρ= -0.40$, $n = 618$). We release the instrument and its outputs. The durable object for forecasting is the structure of work itself, not any era's exposure ranking.

cs.CY↗

Bounded by Risk, Not Capability: Quantifying AI Occupational Substitution Rates via a Tech-Risk Dual-Factor Model

The deployment of Large Language Models (LLMs) has ignited concerns about technological unemployment. Existing task-based evaluations predominantly measure theoretical "exposure" to AI capabilities, ignoring critical frictions of real-world commercial adoption: liability, compliance, and physical safety. We argue occupations are not eradicated instantaneously, but gradually encroached upon via atomic actions. We introduce a Tech-Risk Dual-Factor Model to re-evaluate this. By deconstructing 923 occupations into 2,087 Detailed Work Activities (DWAs), we utilize a multi-agent LLM ensemble to score both technical feasibility and business risk. Through variance-based Human-in-the-Loop (HITL) validation with an expert panel, we demonstrate a profound cognitive gap: isolated algorithmic probabilities fail to encapsulate the "institutional premium" imposed by experts bounded by professional liability. Applying a strictly algorithmic baseline via mathematical bottleneck aggregation, we calculate Relative Occupational Automation Indices ($OAI$) for the U.S. labor market. Our findings challenge the traditional Routine-Biased Technological Change (RBTC) hypothesis. Non-routine cognitive roles highly dependent on symbolic manipulation (e.g., Data Scientists) face unprecedented exposure ($OAI \approx 0.70$). Conversely, unstructured physical trades and high-stakes caretaking roles exhibit absolute resilience, quantifying a profound "Cognitive Risk Asymmetry." We hypothesize the emergent necessity of a "Compliance Premium," indicating wage resilience increasingly tied to risk-absorption capacity. We frame these findings as a cross-sectional diagnostic of systemic vulnerability, establishing a foundation for subsequent Computable General Equilibrium (CGE) econometric modeling involving dynamic wage elasticity and structural labor reallocation.

cs.CY↗