SearcharxivSearch

arXiv subjects

Minghua Tang

Publications and source records attributed to Minghua Tang.

5 recordsLinked to original sources

RippleKV: Cross-Layer KV Cache Allocation via Perturbation Propagation

Long-context LLM inference is bottlenecked by KV cache memory, yet distributing a limited cache budget across layers remains challenging. Existing methods rely on proxies such as layer depth, attention statistics, or representation change. These proxies do not measure how perturbations at each layer propagate to the output and may therefore cause sensitive layers to be underallocated while tolerant layers are overallocated. To address this issue, we propose RippleKV, which allocates cache across layers by estimating how perturbations to each layer's value cache affect the final predictive distribution. RippleKV independently injects norm-adaptive perturbations into each layer's value cache and measures the induced KL divergence at the model output over a small calibration set. Averaging these responses yields a sensitivity profile specific to the model that need not vary monotonically with depth. RippleKV then converts the sensitivity profile into layer budget multipliers by normalizing the sensitivity scores and applying an exponential mapping. A ratio parameter controls the allocation disparity between sensitive and tolerant layers, while a final normalization preserves the KV cache budget. Experiments on LongBench demonstrate that RippleKV achieves the highest average performance among the evaluated KV cache compression methods under matched cache budgets.

cs.LG

PluginEval: A Diagnostic Benchmark for Fine-Grained Error Attribution in Function Calling

Reliable evaluation of tool routing is critical as Large Language Models increasingly operate as autonomous agents. Current benchmarks face three structural limitations: data distributions that follow a power law leave rare scenarios underrepresented; the absence of adversarial hard negatives obscures performance differences across models; and annotation pipelines depend on LLM judgments that have not been validated through execution. In this paper, we introduce PluginEval, a benchmark constructed through a two-stage framework that systematically mitigates these limitations. First, we formulate tool routing as a sequence of three decisions and separate generation from verification. LLMs propose candidate calls, while deterministic validation and real API execution provide reliable quality signals. Second, we decompose each plugin by capability, intent, and boundary to identify trigger and exclusion scenarios. We then generate queries at different difficulty levels to fill coverage gaps, including adversarial negatives targeting three failure modes, and return them to the first stage for annotation. This process creates a closed loop that iterates until coverage converges. For evaluation, we move beyond aggregate accuracy. An LLM judge anchored to gold annotations classifies failures as missed calls, spurious calls, or parameter errors, producing a detailed error profile for each model. We evaluate five model families, including proprietary models and models with open weights, analyze their performance across difficulty levels and error categories, and validate the judge through agreement with human annotations.

cs.AI

FASR-Net: Unsupervised Shadow Removal Leveraging Inherent Frequency Priors

Shadow removal is challenging due to the complex interaction of geometry, lighting, and environmental factors. Existing unsupervised methods often overlook shadow-specific priors, leading to incomplete shadow recovery. To address this issue, we propose a novel unsupervised Frequency Aware Shadow Removal Network (FASR-Net), which leverages the inherent frequency characteristics of shadow regions. Specifically, the proposed Wavelet Attention Downsampling Module (WADM) integrates wavelet-based image decomposition and deformable attention, effectively breaking down the image into frequency components to enhance shadow details within specific frequency bands. We also introduce several new loss functions for precise shadow-free image reproduction: a frequency loss to capture image component details, a brightness-chromaticity loss that references the chromaticity of shadow-free regions, and an alignment loss to ensure smooth transitions between shadowed and shadow-free regions. Experimental results on the AISTD and SRD datasets demonstrate that our method achieves superior shadow removal performance.

cs.CV

Unconventional polarization switching mechanism in (Hf, Zr)O2 ferroelectrics

HfO$_{2}$-based ferroelectric thin films are promising for their application in ferroelectric devices. Predicting the ultimate magnitude of polarization and understanding its switching mechanism are critical to realize the optimal performance of these devices. Here, a generalized solid-state variable cell nudged elastic band (VCNEB) method is employed to predict the switching pathway associated with domain-wall motion in (Hf, Zr)O$_{2}$ ferroelectrics. It is found that the polarization reversal pathway, where three-fold coordinated O atoms pass across the nominal unit-cell boundaries defined by the Hf/Zr atomic planes, is energetically more favorable than the conventional pathway where the O atoms do not pass through these planes. This finding implies that the polarization orientation in the orthorhombic Pca2$_{1}$ phase of HfO$_{2}$ nd its derivatives is opposite to that normally assumed, predicts the spontaneous polarization magnitude of about 70 $μ$C/cm$^{2}$ that is nearly 50% larger than the commonly accepted value, signifies a positive intrinsic longitudinal piezoelectric coefficient, and suggests growth of ferroelectric domains, in response to an applied electric field, structurally reversed to those usually anticipated. These results provide important insights into the understanding of ferroelectricity in HfO$_{2}$-based ferroelectrics.

cond-mat.mtrl-sci

Ultrasensitive and broadband MoS2 photodetector driven by ferroelectrics

Photodetectors based on two dimensional materials have attracted growing interest. However, the sensitivity is still unsatisfactory even under high gate voltage. Here we demonstrate a MoS2 photodetector with a poly(vinylidene fluoride-trifluoroethylene) ferroelectric layer in place of the oxide layer in a traditional field effect transistor. The dark current of the photodetector is strongly suppressed by ferroelectric polarization. A high detectivity 2.21012 Jones) and photoresponsitivity (2570 A W) detector has been achieved under ZERO gate bias at a wavelength of 635 nm. Most strikingly, the band gap of few-layer MoS2 can be tuned by the ultra-high electrostatic field from the ferroelectric polarization. With this characteristic, photoresponse wavelengths of the photodetector are extended into the near infrared (0.85-1.55m). A ferroelectrics optoelectronics hybrid structure is an effective way to achieve high performance 2D electronic optoelectronic devices.

cond-mat.mes-hall