arXiv:2610.33957math.OCOct 2026

Manuscript Offprint

arXiv:2610.33957

A Nonconvex Framework for Joint Sparse Sample Weighting and Parameter Estimation

Hassan Nojavan, Chul Moon, Miju Ahn

Abstract

We propose a joint sparse sample weighting and parameter estimation (SWAPE) framework that jointly optimizes model parameters and sample weights to train a model while simultaneously assigning an individual weight to each training data point. Our framework accommodates several widely used loss functions for the model parameters, including convex, weakly convex, and difference-of-convex loss, and weakly convex sparsity functions to control the complexity of the sample weights. To solve the resulting bivariate problem, we propose an alternating minimization method in which the subproblems for updating the model parameters and weights are each approximated using majorize-minimize techniques. We provide several approximation methods for the loss functions considered in this paper, and show the overall algorithm's convergence. Numerical experiments on various learning tasks and data anomaly settings demonstrate the effectiveness of the proposed framework in minimizing the impact of undesirable data points compared to benchmark methods.

Keywords: difference-of-convex programs, alternate search method, directional stationary points, sparsity

1 Introduction

Judicious sample selection is an important task in machine learning. It is well accepted that the quality of the training data directly affects the predictive model; however, many standard algorithms assume a clean dataset, whereas in practice observations often contain noise, outliers, and other anomalies. Therefore, training predictive models using strategically selected samples has emerged as a critical methodology for building robust models.

Recent results have shown that selective use of data points can boost model performance and mitigate the unwanted effects of noisy data, supporting the development of reliable and efficient tools. A conventional data selection method is sampling, e.g., simple sampling, which randomly draws data points one at a time until a desired sample size, or a desired ratio among predetermined data groups is obtained, e.g., under-, over-, and stratified sampling. Alternatively, algorithm-based

*Emails: hnojavan@smu.edu, chulm@smu.edu and mijua@smu.edu approaches iteratively assign weights to data points [13, 14, 39], measure data values [16], or select a subset of data points so that the model emphasizes accuracy on the most significant samples [43]. Formulated as a mathematical program, sample selection has also been modeled as an optimization problem, for example, by introducing a binary variable [40], to indicate whether each data point should be included in the training criteria.

This paper proposes an optimization framework for sample selection that exploits mature variable selection methods [12, 48, 54]. Instead of driving the coefficients of insignificant variables to zero as in variable selection, our formulation employs sparsity regularizers in the training problem to control the complexity of the training data used by the model. We assign a weight variable to the loss incurred by each sample and solve for the weight, allowing the model to choose which data points to use during training. The resulting problem can be viewed as a widely studied weighted empirical risk minimization problem, except that our method simultaneously optimizes both the data weights and the model parameters. The introduction of weights as variables, in addition to the model coefficients, makes solving the resulting bivariate optimization problem significantly more challenging. For instance, our formulation can be nonconvex even with a convex loss term, limiting the availability of efficient numerical tools in convex programming. A major goal of our study is to address the computational challenges posed by the mathematical properties given by the choice of loss functions and to provide numerical results demonstrating the benefits of sample selection when dealing with potentially noisy and contaminated data.

Our algorithm is built upon existing numerical methods that alternately solve for one variable at a time. Such an iterative scheme for solving multi-block problems, known as the Gauss-Seidel method [8], has received considerable attention in the literature, especially with recent innovations in large-scale, data-driven methods. The convergence of the algorithm has been shown in early works in convex and continuously differentiable settings [5, 50, 52] and later extended to nonconvex and nonsmooth problems [9, 37, 38, 49]. A key component to tackling the computational challenge in the latter problems is to approximate each subproblem, e.g., by linearization or convex approximation, so that each iteration can be solved efficiently using readily available tools. In this work, we adopt the blockwise minimization methods to alternately minimize the weights of the data points and the model parameters. This work emphasizes nonconvex loss functions, including a difference-of-convex (DC) loss, that generalizes many existing loss functions used in practice, e.g., convex and weakly convex loss functions. We approximate each subproblem using majorization techniques [23] and analyze the algorithm's convergence. Our results extend the existing theory of the alternating minimization scheme for the two-block problem, in which each block, while fixing the other, can be written as a DC function.

Our work is motivated by the growing imperative in modern statistics and machine learning to learn with better utilization of training data. In robust regression, [15, 25] demonstrate that simultaneously training model parameters and optimizing data weights can significantly strengthen performance. However, many existing approaches are tailored to specific formulations, such as a convex loss paired with specialized sparsity functions, and often make restrictive assumptions about the underlying properties of the data. To address these limitations, we propose a generalized framework that accommodates a broad class of loss and sparsity functions and an algorithm that solves the resulting formulation efficiently, without requiring a priori knowledge of the data's underlying structure. We summarize the main contributions of this work as follows:

  1. We propose a bivariate formulation that simultaneously minimizes the weight of data points and model parameters. Our method aims to promote selective utilization of training data points by applying sparsity regularizers to the weights, thereby performing data selection while training the model;

  2. We employ an alternating minimization scheme to solve the proposed nonconvex problem, and discuss the majorization techniques used for each subproblem for DC loss and functions with a Lipschitz-continuous gradient. Our convergence analysis extends existing theory of the two-block alternating minimization scheme for the special case studied in this paper where the objective is a bi-DC function;

  3. We conduct extensive computational experiments to demonstrate the efficacy of our method compared to suitable benchmark models. For this purpose, we test the proposed method in linear regression, binary classification via neural networks, and recommender systems under various data-anomaly settings: (i) when data points follow different underlying distributions, (ii) when the labels in the classification problems are contaminated, and (iii) when the data contains random noise and adversarial attacks.

This paper is organized as follows. In Section 2, we introduce our framework, including the nonconvex loss and penalty functions used in this work, and define the concept of stationarity for subsequent analysis. Section 3 presents our algorithm, subproblem approximations, and the convergence analysis, followed by three numerical study experiments in Section 4. This document presents theoretical results and omits proofs; the proofs are included in the Appendices. We close this section by defining notations used throughout the paper.

Notations: Let f(x,y)f(\mathbf{x}, \mathbf{y}) be a bivariate function in the variables x\mathbf{x} and y\mathbf{y}. We define fy~(x)≜f(x,y~)f_{\tilde{\mathbf{y}}}(\mathbf{x}) \triangleq f(\mathbf{x}, \tilde{\mathbf{y}}) a function of x\mathbf{x} while fixing y=y~\mathbf{y} = \tilde{\mathbf{y}}. The function fx~(y)f_{\tilde{\mathbf{x}}}(\mathbf{y}) is similarly defined. The directional derivative of a function f:Rn→Rf: \mathbb{R}^n \to \mathbb{R} at a point x∈Rn\mathbf{x} \in \mathbb{R}^n in the direction d∈Rn\mathbf{d} \in \mathbb{R}^n is defined as

f′(x;d)≜lim⁡τ↓0f(x+τd)−f(x)τ.(1)f^{\prime}(\mathbf{x};\mathbf{d})\triangleq\lim_{\tau\downarrow0}\frac{f(\mathbf{x}+\tau\mathbf{d})-f(\mathbf{x})}{\tau}. \tag{1}

For a vector x∈R+n\mathbf{x} \in \mathbb{R}_+^n, we define x1/2≜(x1,…,xn)⊤\mathbf{x}^{1/2} \triangleq \left(\sqrt{x_1}, \ldots, \sqrt{x_n}\right)^\top. For a nonnegative matrix XX, the notation X1/2X^{1/2} is defined similarly, entrywise. For vectors u,v∈Rn\mathbf{u}, \mathbf{v} \in \mathbb{R}^n, u⊙v\mathbf{u} \odot \mathbf{v} denotes the Hadamard product, u⊙v≜(u1v1,…,unvn)⊤\mathbf{u} \odot \mathbf{v} \triangleq (u_1 v_1, \ldots, u_n v_n)^\top. Likewise, the Hadamard product of two matrices of the same size is their elementwise product.

References (40)