
Generalized flows over time constitute a general network flow model that incorporates both transit times and flow losses or gains. For its representative variant, generalized maximum flows over time, existing studies assume that flow can be stored at intermediate nodes. However, due to resource constraints, such storage is typically undesirable or even prohibited. In this paper, we first rule out the possibility of avoiding storage via temporally repeated solutions, proving that finding a maximum temporally repeated flow is NP-hard and inapproximable. We then investigate a broader class of problems, termed optimal generalized flows over time, and establish that intermediate storage is unnecessary. Furthermore, for lossy networks where flow strictly does not increase during transmission, we show that optimal solutions can be achieved by routing flow exclusively along simple paths. These structural insights directly enable the design of a storage-free fully polynomial time approximation scheme via time-condensation techniques.
A card-based secure computation protocol is a method for n parties to compute a function f on their private inputs (x_1,… ,x_n) using physical playing cards, in such a way that the suits of revealed cards leak no information beyond the value of f(x_1,… ,x_n) . A single-shuffle full-open protocol is a minimal model of card-based secure computation in which, after the parties place face-down cards representing their inputs, a single shuffle operation is performed and then all cards are opened to derive the output. Despite the simplicity of this model, the class of functions known to admit single-shuffle full-open protocols has been limited to a few small examples. In this work, we prove for the first time that every function admits a single-shuffle full-open protocol. We present two constructions that offer a trade-off between the number of cards and the complexity of the shuffle operation. These feasibility results are derived from a novel connection between single-shuffle full-open protocols and a cryptographic primitive known as Private Simultaneous Messages protocols, which has rarely been studied in the context of card-based cryptography. We also present a variant of single-shuffle protocols in which only a subset of cards are revealed. These protocols reduce the complexity of the shuffle and opening operations compared to existing protocols in the same setting.
Clustering is a fundamental unsupervised learning problem with lots of applications in data mining, image classification, and other fields. Although clustering algorithms for k-means and k-median are widely used due to their simplicity and effectiveness on point-based data, they often perform poorly on structured data such as lines, graphs, and time series, where point-based representations fail to capture the underlying structure. Moreover, existing algorithms for structured data typically do not account for fairness constraints, which are increasingly important in modern applications involving sensitive attributes such as gender, race, or user groups. In this paper, we formally introduce the group fair k-median of lines problem (Gf-k-Ml), a new variant of k-median that integrates fairness constraints into the clustering of structured data represented by lines. Given a set L of n lines in ℝ^d , partitioned into t disjoint color groups L_1, … , L_t , the goal of the Gf-k-Ml problem is to partition L into k clusters such that the proportion of lines from each color group in each cluster remains within a specified range, and the sum of distances over each line to its assigned center is minimized. We introduce a group-wise coreset construction algorithm that computes a separate coreset for each group obtained by partitioning the input lines according to sensitive attributes, and prove that these groups satisfy composability under fairness constraints. Our main result is a coreset that satisfies the fairness constraint and has a size of O( td^2klog ^2klog ^2n/ε ^2) with an error parameter ε∈ (0,1) , which can be constructed in nearly linear time with respect to n.
In this paper, we study the problem of testing some first-order logic properties on sparse graphs under the adjacency list model, including k-dominating set property, k-vertex cover property and diameter ≤ k property. (1) For the k-dominating set property, we give a tester with query complexity O( (kC)^k+1/ε ^k+2log( kC/ε) ) on n-vertex graphs with at most Cn edges. Furthermore, if the input graph is planar, we improve the query complexity to O( k^6/ε ^3log (k^2/ε)) . (2) For the k-vertex cover property, we give a tester whose query complexity is O( α ^3k^2log k/ε ^2) on graphs with arboricity bounded by α . Previously, these properties were known to be testable with constant query complexity on general graphs under a stronger model with random edge sampling queries. By leveraging edge sampling simulation techniques, one can achieve poly(log n) query complexity in the adjacency model for bounded arboricity graphs. In contrast, our algorithms achieve constant query complexity (for fixed ε and k) on a broader class of sparse graphs or the same class of bounded arboricity graphs. (3) For the diameter ≤ k property, we can distinguish whether a sparse graph has a diameter at most k or is ε -far from any graph that has a diameter at most k+2 with query complexity O( C^⌊ k/2⌋ +1/ε ^⌊ k/2⌋ +2) . Previously, a tester was known for general graphs that distinguishes between having a diameter at most k and being ε -far from any graph with diameter at most β (k) , where β (k) ranges from k+4 to 4k+2 . We improve the upper bound on β (k) to at most k+2 for sparse graphs, though at the cost of slightly higher query complexity.
In this paper, we delve into the online budget allocation maximization (BAM) problem on two uniform machines. Given two uniform machines, M_1 and M_2 , with speeds s≥ 1 and 1, respectively, all jobs 𝒥={J_1,⋯ ,J_n} are ordered in a list and arrive one by one. Each job J_j has a size p_j and a common due date d for j=1,⋯ ,n . The objective is to determine a schedule that maximizes the total size of jobs processed by these two machines before the due date. For this problem, we propose an online algorithm with a competitive ratio of (√(s^2+10s+9)-s-1)/2 , which is bounded by a constant value of 2 and reaches √(5)-1 when s=1 . For a special case, known as the BAM _≤ 1 problem, we devise an online algorithm with a competitive ratio of (√(9s^2+10s+1)-s-1)/2s , which is no greater than √(5)-1 .