Search arXiv⌕ Search

arXiv subjects

Dawei Chen

Publications and source records attributed to Dawei Chen.

At least 19 recordsLinked to original sources

WeSearch: A Unified Model-Centric Retrieval Framework for WeChat Search

We present WeSearch, a unified, model-centric retrieval framework for large-scale, continuously evolving content search. Prevailing methods assign documents fixed hierarchical Semantic IDs, implicitly assuming each document follows a single coherent semantic path-an assumption that often breaks down for multi-topic documents. WeSearch instead retrieves query-relevant clusters and then ranks atomic documents within the resulting query-specific candidate space, decoupling candidate pruning from fine-grained relevance modeling. Combined with relevance-aware training, compact document representations, and incremental index updates, this design enables weekly-or daily when needed-model refreshes. Deployed as the primary semantic retrieval path in WeChat Search alongside a lexical syntax tree, WeSearch shows consistent one-week A/B gains on corpora from hundreds of millions to billions of documents, and a one-month full-traffic A/B test confirms stable improvements of +0.68% CTR and +2.27% per-user article clicks, together with a 41% reduction in retrieval resource cost and a 19 ms reduction in graphic-text retrieval latency. WeSearch is now fully deployed in WeChat Search, serving 100% of production traffic.

cs.IR↗

How Do Prompt Variations Affect Energy Consumption in On-Device LLMs?

Large language models (LLMs) are increasingly deployed on mobile devices, making energy efficiency a key deployment constraint, yet the energy impact of prompt design remains underexplored. This paper aims to understand how two prompt properties, cognitive load and phrasing pattern, shape the energy behavior of on-device LLM inference. We conduct a broad empirical study covering prompt properties, datasets, models, and devices, with phase-level profiling that separates prefill and decode energy. We find that cognitive load primarily affects the energy cost per token, while phrasing pattern affects energy largely through token usage. Our energy-quality analysis further shows that prompt design reshapes the attainable frontier differently across models, highlighting the need for model-aware prompt design in energy-efficient on-device LLM inference. Code, datasets, and scripts are available at https://amai-gsu.github.io/PromptProperty/.

cs.CL↗

Parity of $k$-differentials in genus zero and one

Here we completely determine the spin parity of $k$-differentials with prescribed zero and pole orders on Riemann surfaces of genus zero and one. This result was previously obtained conditionally by the first author and Quentin Gendron assuming the truth of a number-theoretic hypothesis Conjecture A.10. We prove this hypothesis by reformulating it in terms of Jacobi symbols, reducing the proof to a combinatorial identity and standard facts about Jacobi symbols. The proof was obtained by AxiomProver and the system formalized the proof of the combinatorial identity in Lean/Mathlib (see the Appendix).

math.NT↗

Non-asphericity of strata of genus-one differentials and stability spaces

We show that when the number of zeros or poles is at least four, every connected component of the strata of differentials in genus one with prescribed zero and pole orders is not an orbifold $K(π,1)$. For quadratic differentials, this provides infinitely many counterexamples to a conjecture attributed to Kontsevich, as well as to a folklore conjecture concerning the contractibility of spaces of Bridgeland stability conditions.

math.GT↗

Complete subvarieties in the projectivized strata of meromorphic differentials

Here we give an explicit construction of a globally defined strictly plurisubharmonic function on projectivized strata of strictly meromorphic differentials with prescribed orders of zeros and poles. In particular, this yields a flat-geometric proof that these strata do not contain positive-dimensional complete subvarieties.

math.AG↗

Belief Acquisition as Stochastic Filtering

This paper studies how belief acquisition can be accomplished using stochastic filtering. First, a theoretical foundation for empirical beliefs is outlined. Then stochastic filtering in this context is studied. The paper introduces factored conditional filters, new filtering algorithms for simultaneously tracking states and estimating parameters in high-dimensional state spaces. The conditional nature of the algorithms is used to estimate parameters and the factored nature is used to decompose the state space into low-dimensional subspaces in such a way that filtering on these subspaces gives distributions whose product is a good approximation to the distribution on the entire state space. The conditions for successful application of the algorithms are that observations be available at the subspace level and that the transition schema can be factored into local transition schemas that are approximately confined to the subspaces; these conditions are widely satisfied in computer science, engineering, and geophysical filtering applications. Experimental results on tracking epidemics and estimating parameters in large contact networks show the effectiveness of the approach.

cs.AI↗

Isoresidual curves

Given a partition $μ$ of $-2$, the stratum $\mathcal{H}(μ)$ parametrizes meromorphic differential one-forms on the Riemann sphere $\mathbb{CP}^{1}$ with~$n$ zeros and $p$ poles of orders prescribed by $μ$. The isoresidual fibration is defined by assigning to each differential in $\mathcal{H}(μ)$ its configuration of residues at the poles. In the case of differentials with $n=2$ zeros, generic isoresidual fibers are complex curves endowed with a canonical translation structure, which we describe extensively in this paper. Quantitative characteristics of the translation structure on isoresidual fiber curves, including the orders of the singularities and a period central charge encapsulating the linear dependence of periods on the underlying configuration of residues, provide rich discrete invariants for these fibers. We also determine the Euler characteristic of generic isoresidual fiber curves from intersection-theoretic computations, relying on the multi-scale compactification of strata of differentials. In particular, we describe a wall and chamber structure for the Euler characteristic of generic isoresidual fiber curves in terms of the partition $μ$. Additionally, we classify the connected components of generic isoresidual fibers for strata in genus zero with an arbitrary number of zeros.

math.AG↗

Gorenstein singularities with $\mathbb{G}_m$-action and moduli spaces of holomorphic differentials

Given a holomorphic differential on a smooth complex algebraic curve, we associate to it a Gorenstein curve singularity with $\mathbb G_m$-action via a test configuration. This construction decomposes the strata of holomorphic differentials with prescribed orders of zeros into negatively graded miniversal deformation spaces of such singularities. Additionally, it provides a natural description for the singular curves that appear in the boundary of the miniversal deformation spaces. Our approach leads to a number of applications. We classify the unique Gorenstein singularity with $\mathbb G_m$-action for each nonvarying stratum of holomorphic differentials and study when these nonvarying strata can be compactified by weighted projective spaces. Moreover, extending the classical results about $ADE$ singularities, we establish the $K(π,1)$-property for non-hypersurface complete intersection singularities of type $U_7$, $U_8$, $U_9$, and $S_{k}$. We also study singularities with bounded $α$-invariants in the log minimal model program for $\overline{\mathcal M}_g$ and utilize them to bound the slopes of effective divisors in $\overline{\mathcal M}_g$. Finally, we show that the loci of subcanonical points with fixed semigroups have trivial tautological rings and provide a criterion to determine whether they are affine varieties.

math.AG↗

Independence of tautological classes and cohomological stability for strata of differentials

The tautological rings of strata of differentials are known to be generated by divisor classes. In this paper, we give lower bounds on the degrees of relations among them, depending on the genus $g$ and the number of simple zeros. For strata with more than $4g/3$ simple zeros, our results show that there are no relations in degrees less than $\lfloor g/3 \rfloor + 1$. Moreover, we conjecture that, outside of a few exceptions, there is always a non-trivial relation in degree $\lfloor g/3 \rfloor + 1$, and prove the conjecture for all strata of holomorphic abelian differentials with $g \leq 30$. We also prove that the cohomology rings of strata of holomorphic differentials with sufficiently many simple zeros stabilize to the free algebra on the tautological divisor class. Finally, we show that for a large class of holomorphic abelian strata, containing hyperelliptic differentials, the tautological ring is non-trivial for sufficiently large $g$.

math.AG↗

Gorenstein contractions of multiscale differentials

Multiscale differentials arise as limits of holomorphic differentials with prescribed zero orders on nodal curves. In this paper, we address the conjecture concerning Gorenstein contractions of multiscale differentials, originally proposed by Ranganathan and Wise and further developed by Battistella and Bozlee. Specifically, in the case of a one-parameter degeneration, we show that multiscale differentials can be contracted to Gorenstein singularities, level by level, from the top down. At each level, these differentials descend to generators of the dualizing bundle at the resulting singularities. Moreover, the global residue condition, which governs the smoothability of multiscale differentials, appears as a special case of the residue condition for descent differentials.

math.AG↗

A tale of two volumes of moduli spaces: Weil-Petersson and Masur-Veech

Weil-Petersson and Masur-Veech volumes measure the sizes of moduli spaces of Riemann surfaces equipped with hyperbolic and flat metrics, respectively. Over the past several decades, the computation of these volumes has inspired remarkable developments in combinatorial enumeration, intersection theory, and recursion relations. In this survey, we review key results, methods, open problems, as well as interesting parallels that emerge in the approaches to computing both types of volumes.

math.GT↗

An algebro-geometric perspective on the topology of moduli spaces of differentials

Differentials on Riemann surfaces correspond to translation surfaces with conical singularities, and affine transformations acting on them preserve the orders of these singularities. This viewpoint allows the moduli spaces of differentials to appear in various guises across many areas, including algebraic geometry, dynamical systems, combinatorial enumeration, and mathematical physics. Over the past few decades, remarkable progress has been made in computing invariants of these moduli spaces, classifying linear subvarieties, understanding degenerations and compactifications, and developing intersection theory on these spaces. Despite these advances, our understanding of the topology of moduli spaces of differentials remains limited, and many fundamental questions are still open. In this survey, we aim to present, from an algebro-geometric perspective, the known results and open problems concerning the topology of moduli spaces of differentials, as well as their connections to other aspects of the field, with the hope of inspiring further developments in the coming decade.

math.AG↗

The Kodaira dimension of even spin strata of Abelian differentials

The even spin components of the strata of Abelian differentials are difficult to handle from a birational geometry perspective due to the fact that their spin line bundles have more sections than expected. Nevertheless, in this paper, we prove that for large genus, the minimal even spin components are of general type. This result complements the previous work by the second and third authors, together with Costantini, on the Kodaira dimension of general strata and the minimal odd spin components of Abelian differentials. Our main technical tool is the computation and estimation of a series of effective divisor classes on the even spin components.

math.AG↗

A tale of two moduli spaces: logarithmic and multi-scale differentials

Multi-scale differentials were constructed by M.~Bainbridge, D.~Chen, Q.~Gendron, S.~Grushevsky, and M.~Möller, from the viewpoint of flat and complex geometry, for the purpose of compactifying moduli spaces of curves together with a differential with prescribed orders of zeros and poles. Logarithmic differentials were constructed by S.~Marcus and J.~Wise, as a generalization of stable rubber maps from Gromov--Witten theory. Modulo the global residue condition that isolates the main components of the compactification, we show that these two kinds of differentials are equivalent, and establish an isomorphism of their (coarse) moduli stacks. Moreover, we describe the rubber and multi-scale spaces as an explicit blowup of the moduli space of stable pointed rational curves in the case of genus zero, and as a global blowup of the incidence variety compactification for arbitrary genera, which implies their projectivity. We also propose a refined double ramification cycle formula in the twisted Hodge bundle which interacts with the universal line bundle class.

math.AG↗

PlatformX: An End-to-End Transferable Platform for Energy-Efficient Neural Architecture Search

Hardware-Aware Neural Architecture Search (HW-NAS) has emerged as a powerful tool for designing efficient deep neural networks (DNNs) tailored to edge devices. However, existing methods remain largely impractical for real-world deployment due to their high time cost, extensive manual profiling, and poor scalability across diverse hardware platforms with complex, device-specific energy behavior. In this paper, we present PlatformX, a fully automated and transferable HW-NAS framework designed to overcome these limitations. PlatformX integrates four key components: (i) an energy-driven search space that expands conventional NAS design by incorporating energy-critical configurations, enabling exploration of high-efficiency architectures; (ii) a transferable kernel-level energy predictor across devices and incrementally refined with minimal on-device samples; (iii) a Pareto-based multi-objective search algorithm that balances energy and accuracy to identify optimal trade-offs; and (iv) a high-resolution runtime energy profiling system that automates on-device power measurement using external monitors without human intervention. We evaluate PlatformX across multiple mobile platforms, showing that it significantly reduces search overhead while preserving accuracy and energy fidelity. It identifies models with up to 0.94 accuracy or as little as 0.16 mJ per inference, both outperforming MobileNet-V2 in accuracy and efficiency. Code and tutorials are available at github.com/amai-gsu/PlatformX.

cs.LG↗

lm-Meter: Unveiling Runtime Inference Latency for On-Device Language Models

Large Language Models (LLMs) are increasingly integrated into everyday applications, but their prevalent cloud-based deployment raises growing concerns around data privacy and long-term sustainability. Running LLMs locally on mobile and edge devices (on-device LLMs) offers the promise of enhanced privacy, reliability, and reduced communication costs. However, realizing this vision remains challenging due to substantial memory and compute demands, as well as limited visibility into performance-efficiency trade-offs on resource-constrained hardware. We propose lm-Meter, the first lightweight, online latency profiler tailored for on-device LLM inference. lm-Meter captures fine-grained, real-time latency at both phase (e.g., embedding, prefill, decode, softmax, sampling) and kernel levels without auxiliary devices. We implement lm-Meter on commercial mobile platforms and demonstrate its high profiling accuracy with minimal system overhead, e.g., only 2.58% throughput reduction in prefill and 0.99% in decode under the most constrained Powersave governor. Leveraging lm-Meter, we conduct comprehensive empirical studies revealing phase- and kernel-level bottlenecks in on-device LLM inference, quantifying accuracy-efficiency trade-offs, and identifying systematic optimization opportunities. lm-Meter provides unprecedented visibility into the runtime behavior of LLMs on constrained platforms, laying the foundation for informed optimization and accelerating the democratization of on-device LLM systems. Code and tutorials are available at https://github.com/amai-gsu/LM-Meter.

cs.LG↗

Finite isoresidual covers in strata of $k$-differentials

Consider the strata of primitive $k$-differentials on the Riemann sphere whose singularities, except for two, are poles of order divisible by $k$. The map that assigns to each $k$-differential the $k$-residues at these poles is a ramified cover of its image. Generalizing results known in the case of abelian differentials, we describe the ramification locus of this cover and provide a formula, involving the $k$-factorial function, for the cardinality of each fiber. We prove this formula using intersection calculations on the multi-scale compactification of the strata of $k$-differentials. In special cases, we also give alternative proofs using flat geometry. Finally, we present an application to cone spherical metrics with dihedral monodromy.

math.AG↗