Search arXiv⌕ Search

arXiv subjects

Runfa Zhang

Publications and source records attributed to Runfa Zhang.

3 recordsLinked to original sources

Beyond Point-wise Matching: Diversity-Aware Data Selection for Instruction Tuning via Gradient Subspace Optimization

Targeted data selection is crucial for improving the performance of instruction tuning. Existing gradient-based selection methods can effectively estimate sample importance, yet they suffer from either validation gradient distribution shift in influence estimation or the point-wise ranking strategy that neglects sample diversity. To address these issues, we propose GSO-DDS, a Data Selection framework based on Gradient Subspace Optimization. Specifically, during the influence estimation stage, we construct an augmented gradient matrix by applying controlled perturbations to validation gradients and obtain a more stable gradient representation to measure the alignment between training samples and the target task. Furthermore, we reformulate traditional point-wise ranking as diversity-aware set optimization, introduce a Facility Location function to measure the coverage of candidate data, and adopt a greedy algorithm to maximize marginal gains, reducing data redundancy while preserving high influence. Experiments on multiple benchmarks, including MMLU, TyDiQA, and BBH, demonstrate that GSO-DDS outperforms existing state-of-the-art data selection methods under the same data budget. With only 5\% of the instruction data, GSO-DDS still achieves better task performance, demonstrating its effectiveness for efficient instruction tuning. We will release the Code upon acceptance.

cs.LG↗

A novel auxiliary equation neural networks method for exactly explicit solutions of nonlinear partial differential equations

In this study, we firstly propose an auxiliary equation neural networks method (AENNM), an innovative analytical method that integrates neural networks (NNs) models with the auxiliary equation method to obtain exact solutions of nonlinear partial differential equations (NLPDEs). A key novelty of this method is the introduction of a novel activation function derived from the solutions of the Riccati equation, establishing a new mathematical link between differential equations theory and deep learning. By combining the strong approximation capability of NNs with the high precision of symbolic computation, AENNM significantly enhances computational efficiency and accuracy. To demonstrate the effectiveness of the AENNM in solving NLPDEs, three numerical examples are investigated, including the nonlinear evolution equation, the Korteweg-de Vries-Burgers equation, and the (2+1)-dimensional Boussinesq equation. Furthermore, some new trial functions are constructed by setting specific activation functions within the "2-2-2-1" and "3-2-2-1" NNs models. By embedding the auxiliary equation method into the NNs framework, we derive previously unreported solutions. The exact analytical solutions are expressed in terms of hyperbolic functions, trigonometric functions, and rational functions. Finally, three-dimensional plots, contour plots, and density plots are presented to illustrate the dynamic characteristics of the obtained solutions. This research provides a novel methodological framework for addressing NLPDEs, with broad applicability across scientific and engineering fields.

cs.LG↗

OMLog: Online Log Anomaly Detection for Evolving System with Meta-learning

Log anomaly detection (LAD) is essential to ensure safe and stable operation of software systems. Although current LAD methods exhibit significant potential in addressing challenges posed by unstable log events and temporal sequence patterns, their limitations in detection efficiency and generalization ability present a formidable challenge when dealing with evolving systems. To construct a real-time and reliable online log anomaly detection model, we propose OMLog, a semi-supervised online meta-learning method, to effectively tackle the distribution shift issue caused by changes in log event types and frequencies. Specifically, we introduce a maximum mean discrepancy-based distribution shift detection method to identify distribution changes in unseen log sequences. Depending on the identified distribution gap, the method can automatically trigger online fine-grained detection or offline fast inference. Furthermore, we design an online learning mechanism based on meta-learning, which can effectively learn the highly repetitive patterns of log sequences in the feature space, thereby enhancing the generalization ability of the model to evolving data. Extensive experiments conducted on two publicly available log datasets, HDFS and BGL, validate the effectiveness of the OMLog approach. When trained using only normal log sequences, the proposed approach achieves the F1-Score of 93.7\% and 64.9\%, respectively, surpassing the performance of the state-of-the-art (SOTA) LAD methods and demonstrating superior detection efficiency.

cs.SE↗