Search arXiv⌕ Search

arXiv subjects

Jiangqi Huang

Publications and source records attributed to Jiangqi Huang.

2 recordsLinked to original sources

The Illusion of Expertise: Narrow Finetuning Induces Persistent Domain Priors in Vision-Language Models

Narrow-domain finetuning makes vision-language models (VLMs) sound like domain experts while quietly making them less attentive to the image. We attribute this gap to a persistent domain prior: an input-agnostic shift in hidden state, installed by narrow finetuning, that biases the model toward domain-style outputs regardless of visual evidence. To test the claim we introduce ActDiff, a white-box diagnostic that isolates the finetuning trace by differencing base and finetuned hidden states under progressively degraded images. The trace is compact and persists under blank and Gaussian-noise inputs; the finetuned model is correspondingly less, not more, disrupted when the image is destroyed (gap $0.323 \pm 0.036$ nats on BIOMED, generic eval). Subtracting the trace at inference recovers 54% of the MMStar accuracy collapse on BIOMED, with a peak-and-collapse dose response that random and wrong-domain controls do not produce. A single first-moment regulariser added at training time shrinks the trace by 20-64 times across three AdaptLLM domains and improves generic NLL. The prior thus has a clean diagnostic, a causal handle at inference, and a one-line mitigation at training.

cs.CV↗

LatentRefusal: Latent-Signal Refusal for Unanswerable Text-to-SQL Queries

In LLM-based text-to-SQL systems, unanswerable and underspecified user queries may generate not only incorrect text but also executable programs that yield misleading results or violate safety constraints, posing a major barrier to safe deployment. Existing refusal strategies for such queries either rely on output-level instruction following, which is brittle due to model hallucinations, or estimate output uncertainty, which adds complexity and overhead. To address this challenge, we formalize safe refusal in text-to-SQL systems as an answerability-gating problem and propose LatentRefusal, a latent-signal refusal mechanism that predicts query answerability from intermediate hidden activations of a large language model. We introduce the Tri-Residual Gated Encoder, a lightweight probing architecture, to suppress schema noise and amplify sparse, localized cues of question-schema mismatch that indicate unanswerability. Extensive empirical evaluations across diverse ambiguous and unanswerable settings, together with ablation studies and interpretability analyses, demonstrate the effectiveness of the proposed approach and show that LatentRefusal provides an attachable and efficient safety layer for text-to-SQL systems. Across four benchmarks, LatentRefusal improves average F1 to 88.5 percent on both backbones while adding approximately 2 milliseconds of probe overhead.

cs.AI↗