Search arXiv⌕ Search

arXiv subjects

WenWu He

Publications and source records attributed to WenWu He.

2 recordsLinked to original sources

Right Fact, Wrong Person: Tracing Shared-Source Retrieval Across Model Scales and Architectures

When a language model answers accurately about two people, standard evaluation assumes it read each person independently. We show this routinely fails when two people share a fact (e.g., "Amanda is from Russia. Ivy is from Russia."). Across ten open-weight models (4B-32B; Qwen3, Gemma3, Qwen2.5, and hybrid Qwen3.5), updating only Amanda to France causes nine models to misreport "Paris" for the unchanged partner Ivy (spillover), with 99.1% occurring only when Amanda precedes Ivy. We trace this to <0.9% of attention heads implementing Shared-Source Pointer Retrieval: Ivy's local memory stays intact (97.8% retains Russia through the final layer), yet Early Pointer Heads (at or below the calibrated edit layer $L_{\mathrm{write}}$) write a same/shared pointer before any edit, and sparse Late Readout Heads (8-20 softmax heads above $L_{\mathrm{write}}$) steer the final question along a 3D positional subspace (encoding sentence slot) onto Amanda's value. Stage 1 Pointer Blocking rescues 96.4% of spillovers, Stage 2 3D Query Steering using four fixed 3D steering vectors repairs up to 100%, and reversing that push swaps distinct-country answers in up to 99.5% of pairs. Finally, this frozen circuit transfers zero-shot across six editing paradigms (ROME, MEMIT, AlphaEdit, CAA, 3-shot IKE, and 0-shot updates), exposing a clean double dissociation between Stage 1 Pointer Blocking and Stage 2 3D Query Steering.

cs.AI↗

Hypothesize, Evaluate, Refine: A Scientific Agent for PDE Discovery with Unknown Spatial Coefficient Fields

Discovering PDEs in heterogeneous media requires jointly identifying the governing operator and the unknown spatial fields that parameterize it. These tasks are coupled: changing field placement changes the differential law, while a sufficiently flexible field can conceal structural error on a single trajectory. We present Hypothesize, Evaluate, Refine for PDE Discovery (HER-PDE), a scientific-agent framework that discovers compositional PDE structure together with nonparametric, time-invariant coefficient fields. The Agent analyzes two noisy trajectories generated by different excitations, proposes complete expression-tree hypotheses, and combines creative structural exploration with local candidate refinement. Its Hypothesis Evaluation Interface (HEI) estimates only the fields explicitly declared in each hypothesis, never adds missing terms, and scores structures by bidirectional cross-excitation transfer. The selected law is subsequently audited on a sealed temporal interval. Across five controlled two-dimensional systems observed with 5 percent relative Gaussian state noise, the Agent recovers the generating operator in all five cases, including equivalent signed-field and product-rule parameterizations. Across nine unknown coefficient fields, the recovered fields attain a median Pearson correlation of approximately 0.85 and a median relative L2 error of approximately 0.28. These results show that agent-guided hypothesis refinement can recover heterogeneous governing laws without prescribing a parametric form for their spatial coefficients.

cs.AI↗