Search arXiv⌕ Search

arXiv subjects

Ao Sun

Publications and source records attributed to Ao Sun.

At least 19 recordsLinked to original sources

Generic dynamics of Mean Curvature Flows with closed singularities

This is a contribution to the program of the dynamical approach to mean curvature flow initiated by Colding and Minicozzi. In this paper, we prove two main theorems. The first one is local in nature, and the second one is global. In this first theorem, we apply the invariant manifold theory from hyperbolic dynamics to study the dynamics close to a closed shrinker that is not a sphere. In the second theorem, we show that if a hypersurface under the rescaled mean curvature flow converges to a closed shrinker that is not a sphere, then a Baire generic perturbation on initial data would make the flow leave a small neighborhood of the shrinker and never come back. The key is to prove that a positive perturbation would drift to the first eigenfunction direction under the linearized equation. This result can be viewed as a global unstable manifold theorem in the most unstable direction.

math.DG↗

CHAIR2: Learning Which of a Model's Answers to Trust from Designed Questions

Our earlier method, CHAIR, chooses among the candidate answers a benchmark provides: it reads each candidate's score at every layer of a frozen language model and fits a small classifier on a few labelled questions of that benchmark. CHAIR2 carries this idea to a small model that reasons on a new task, where the candidates are the model's own sampled solutions and no labels exist. Two things have to change. First, CHAIR's readout does not suffice: while the model reasons, the readout moves towards the answer the model is about to give, right or wrong. CHAIR2 therefore fits its classifier on the hidden states of several layers to score how likely a finished solution is correct. Second, the labels come from designed questions whose answers a program computes: the frozen model answers 1,200 of them and every solution is graded automatically. On a new task the scores weight each of eight sampled solutions and the answer with the largest total weight is returned; decoding is unchanged and no target-task label is used. Across four small models and 23 model-task settings, this improves accuracy over majority voting by 2.13 percentage points (95% interval 1.6 to 2.7), about two thirds of the 3.25 points obtained with target-task labels; restricted to output probabilities, the same procedure gains 0.36. The gain comes from questions that require derivation, not recall, and grows with their number more than with their selection. It is largest on arithmetic and logic and no better than a shuffled-label control on knowledge-dependent tasks; on three settings added later it is clear only on coin flipping, which one type of designed question mirrors. We evaluate the scores by the answers they select, not as calibrated probabilities.

cs.CL↗

BASIC: Bipartite Assisted Spectral-clustering for Identifying Communities in Large-scale Networks

Community structure learning is a fundamental task in network analysis, yet it becomes challenging and unstable under weak community signals, which are typical in real-world networks. Motivated by a newly collected large-scale academic network from Web of Science that intrinsically contains multi-layer information, we propose a new method, named Bipartite-Assisted Spectral-clustering method for Identifying Communities (BASIC), to address this weak-signal issue by leveraging bipartite network information. To the best of our knowledge, BASIC is the first work to integrate auxiliary bipartite information for community detection of the primary network. We thoroughly analyze the new statistical academic collaboration network data using BASIC, and observe that the bipartite network information from author-paper, author-institution, and author-region relationships significantly enhance the identification of interpretable communities of the collaboration network. This enables us to identify meaningful communities, analyze collaboration patterns, trace their evolution, and characterize their research themes. Extensive simulations validate the empirical performance of BASIC. Theoretically, under a degree-corrected stochastic block model framework, we prove that BASIC possesses superior accuracy and stability, achieving a tighter upper error bound than methods using only the primary network, especially in weak-signal regimes.

math.ST↗

A Controlled Study of Decoding-Time Truthfulness Methods on Instruction-Tuned LLMs

Decoding-time truthfulness methods -- layer-contrast decoding, inference-time intervention, and learned logit adapters -- have demonstrated 10-30 point gains on TruthfulQA when applied to base language models. However, modern instruction-tuned LLMs already achieve substantially higher baselines (61-76%), raising the question of whether these methods remain effective in practice. We design a six-control evaluation framework -- out-of-distribution training, multi-judge validation, simple decoding baselines, confound controls, bootstrap confidence intervals, and seed variance -- and apply it across 5 models (1B-70B), 3 benchmarks, and 15 methods. We find that previously reported gains shrink substantially under strict controls: on the full TruthfulQA benchmark (N=817), no token-level method achieves statistically significant improvement, and the best learned adapter scores -2.0 points below greedy (p=.23). We identify five evaluation sensitivities -- contamination, judge choice, missing baselines, confounds, and statistical noise -- that individually or jointly account for these discrepancies. Cross-benchmark validation on HaluEval QA and TriviaQA confirms that these patterns extend beyond TruthfulQA. Deliberative prompting methods (chain-of-thought, self-critique) appear more robust in the evaluated regime, with CoT achieving +5.6-19pp across benchmarks as a training-free, single-pass method. We release a seven-point evaluation checklist and discuss implications for future truthfulness research.

cs.CL↗

Widths of two-dimensional tori and their finite quotients

We find a combinatorial formula for all the Almgren-Pitts widths of flat tori and their finite isometric quotients. This allows us to compute the widths explicitly for a large class of flat spaces, such as flat tori, squares, equilateral triangles, and right isosceles triangles. One application, which will appear in the future, is the fine asymptotic formula for the volume-spectrum Weyl law for flat tori and their finite isometric quotients up to the fourth term.

math.DG↗

Generic mean curvature flows with cylindrical singularities I: the normal forms and nondegeneracy

This paper studies the dynamics of mean curvature flow as it approaches a cylindrical singularity. We prove that the rescaled mean curvature flow converging to a smooth generalized cylinder can be written as a graph over the cylinder in a ball of radius $K\sqrtτ$, and a normal form of the asymptotics, where $τ$ is the rescaled time parameter. Such normal forms provide more precise dynamical and geometric information for mean curvature flows with cylindrical singularities beyond Łojasiewicz inequalities. Using the normal form, we can define the nondegeneracy of cylindrical singularities, and we show that nondegenerate cylindrical singularities are isolated in space, have a mean convex neighborhood, and are type-I.

math.DG↗

Backtesting Trading Strategies with GAN To Avoid Overfitting

Many works have shown the overfitting hazard of selecting a trading strategy based only on good IS (in sample) performance. But most of them have merely shown such phenomena exist without offering ways to avoid them. We propose an approach to avoid overfitting: A good (meaning non-overfitting) trading strategy should still work well on paths generated in accordance with the distribution of the historical data. We use GAN with LSTM to learn or fit the distribution of the historical time series . Then trading strategies are backtested by the paths generated by GAN to avoid overfitting.(This paper is an tanslated English version of a thesis (10.6342/NTU201801645) which was originally written in Chinese in 2018, where some statements and claims are outdated in 2022)

cs.CE↗

CHAIR -- Classifier of Hallucination as Improver

In this work, we introduce CHAIR (Classifier of Hallucination As ImproveR), a supervised framework for detecting hallucinations by analyzing internal logits from each layer of every token. Our method extracts a compact set of features such as maximum, minimum, mean, standard deviation, and slope-from the token logits across all layers, enabling effective hallucination detection without overfitting. Experiments on TruthfulQA and MMLU datasets demonstrate that CHAIR significantly improves detection accuracy, particularly in zero-shot scenarios, showcasing its robustness and generalizability. Beyond hallucination detection, CHAIR highlights the potential of using internal representations for designing advanced decoding strategies. By leveraging patterns in logits, we suggest that more sophisticated models and adaptive decoding methods could further reduce hallucinations and enhance text completion quality. CHAIR not only offers a practical solution for detecting hallucinations but also lays the groundwork for exploring richer representations in LLMs to improve their factuality and coherence.

cs.CL↗

NOSA: Native and Offloadable Sparse Attention

Decoding throughput improvements from larger inference batches are limited by GPU memory, which is largely consumed by the key-value (KV) cache. Prior training-free KV cache offloading alleviates this by keeping redundant context on the CPU and fetching only a sparse subset for attention, but it often degrades long-generation quality due to training-inference mismatch on sparse patterns. Meanwhile, trainable sparse attention is incompatible with efficient offloading, as unconstrained KV accesses may force large CPU-to-GPU transfers and erase throughput gains. To this end, we propose NOSA, a trainable sparse attention mechanism natively designed for KV cache offloading. NOSA explicitly constrains the volume of CPU-GPU KV transfers, thereby achieving low communication overhead and high decoding throughput. We further build NOSI, a KV cache offloading inference system that fully unlocks NOSA's efficiency. Empirical results on 1,3,8B LLMs demonstrate that NOSA outperforms KV cache offloading baselines on general, long-input, and long-generation tasks, while boosting decoding throughput by up to 5.04x, 1.92x, and 1.83x over FullAttn, InfLLMv2, and ShadowKV, respectively. We release our code at https://github.com/thunlp/NOSA.

cs.CL↗

Mean curvature flows with cylindrical singularities II: stability and genericity

In [SX25], we introduced the notion of nondegenerate cylindrical singularity using the ideas from dynamical systems. In this paper, we further study the properties of these singularities, showing that they are stable under small perturbations. Furthermore, we show that we can perturb some mean curvature flow with degenerate singularities to produce nondegenerate singularities.

math.DG↗

Concertina: Data-Centric Adaptive Pipeline Parallelism for Efficient Heterogeneous Long-Context LLM Training

Long context training is crucial for extending LLM context windows. Existing schemes, such as sequence parallelism, incur substantial communication overhead. Pipeline parallelism (PP) reduces this cost, but its effectiveness hinges on partitioning granularity. Batch-level PP employing sequence packing exhibits high memory consumption in long-context scenarios, whereas token-level PP splitting sequences into slices alleviates memory overhead but may introduce performance degradation. Moreover, the skewed sequence-length distribution in real-world datasets defeats any monolithic, static choice of PP granularity. In this paper, we propose \textit{Dynamic Pipeline Parallelism} (DPP), which transforms PP granularity from a static design choice into a workload-adaptive optimization space over packed, split, and hybrid chunks. DPP further introduces a new coupling between heterogeneous pipeline scheduling and gradient checkpointing. To solve this coupling, \name co-optimizes dynamic chunk scheduling with \textit{Stage-Aware Chunk-Level Adaptive Checkpointing}. Comprehensive experiments demonstrate that \name achieves up to 1.69\texttimes\ speedup over FlexSP and up to 1.40\texttimes\ over MEPipe. The source code is available at https://github.com/wsjdsg/InfiniPipe-code.

cs.DC↗

The Score Granularity Gap in Black-Box LLM Classification: A Comparative Study of Confidence Constructions

Large language models (LLMs) are increasingly deployed as black-box classifiers in pipelines that automate confident decisions and route uncertain ones to human review. Such selective prediction needs a confidence score that an operator can threshold at a chosen risk level. Prior work asks whether LLM confidence is well calibrated or well ranked; we ask a complementary, deployment-oriented question that has been largely overlooked: at what resolution can the score be thresholded? We call the answer the score granularity gap. Through a controlled comparison of seven ways to build a confidence score, from a single verbalized number, to token probabilities, to querying the model many times and combining the answers, across 25 model-dataset pairs (9 LLMs, 3 benchmarks), we find that single-shot verbalized confidence, once correctly converted to a class probability, ranks cases surprisingly well, yet takes only a handful of distinct values. It therefore offers an operator only a few coarse thresholds, no matter how well it ranks. We show which constructions widen this gap, at what inference cost, and with what effect on ranking, notably that multi-query aggregation helps weak models but can degrade already-strong ones. We translate these trade-offs into concrete deployment guidance.

cs.CL↗

Rigidity and non-rigidity of the stable norm on $T^n$

We show that the stable norm of flat metrics on $H_{d}(T^n,\mathbb{R})$ is locally rigid if $1\leq d<n-1$ and locally rigid among metrics of the same volume if $d=n-1$. We also show that the stable norm on $H_{2}(T^3,\mathbb{R})$ is not locally rigid. As applications, we answer negatively a question raised by Bangert in his ICM address, prove local rigidity of the marked $k$-area spectrum of flat metrics for $1\leq k\leq n-2$, and prove a local rigidity result for the volume spectrum of flat metrics on $T^n$.

math.DG↗

StateFlow: Sequence Pipeline Parallelism for Long-Context Modeling with Linear Recurrence

Long-context training is increasingly important for large language models, and linear attention and state space models have become popular for improving long-context efficiency. However, efficiently parallelizing long-sequence training for recurrent and hybrid models remains challenging. We present StateFlow, a sequence pipeline parallelism system for models with linear recurrence. StateFlow partitions each sequence into chunks and schedules their execution while propagating boundary states and gradients across chunks, thereby reducing activation lifetimes and improving training throughput. StateFlow further uses profile-guided nonuniform chunking to balance recurrence and softmax attention computation in hybrid models, and overlaps state transitions that expose limited parallelism with surrounding computation. Applying StateFlow to models with up to 32B parameters and 256K context length, we achieve up to \(2.22\times\) throughput improvements and \(2.45\times\) memory reduction compared to conventional pipeline parallelism, enabling otherwise infeasible configurations.

cs.DC↗

RMSWeb: Reflection, Failure-Mode Mining, and Salvage-DS for Web Agent Reinforcement Learning

Compact web agents can reduce deployment cost, but training them poses challenges in both data collection and post-SFT reinforcement learning (RL). Successful trajectories are expensive to collect and often contain inefficient detours. After supervised fine-tuning (SFT), full trajectory corpora are dominated by routine states; moreover, when group-relative RL is applied to web actions, inadequately designed action-level rewards can yield weak or misleading relative updates, while groups rejected as unsuitable for such updates receive no fallback learning signal. We present RMSWeb, a three-part recipe for Qwen3-VL-Instruct at 8B and 32B. Reflection-conditioned retries increase collection yield and shorten successful trajectories; failure-mode mining concentrates offline RL on critical states exposed by the SFT policy; and Salvage-DS combines an action-semantic polarized reward, contrast-and-competence-gated dynamic sampling, and an action-only anchor for rejected groups. Policies trained with reflection-collected data use up to 19.7% fewer action steps on solved tasks. On WebVoyager, Online-Mind2Web, and WebTailBench, RMSWeb improves over SFT by 2.4-7.0 points at 8B and 1.2-7.7 points at 32B. Our 8B model also achieves the strongest reported Online-Mind2Web result among similarly sized open-weight models in our comparison and a leading reported accuracy-cost trade-off on WebVoyager and WebTailBench, with the caveat that external evaluation protocols differ.

cs.AI↗

Closed mean curvature flows with prescribed tangent flows

Given an embedded shrinker $Σ$ in $\mathbb{R}^{n+1}$ that is either closed, asymptotically conical, or a Cartesian product of such a shrinker with $\mathbb{R}^k$, we construct a closed embedded mean curvature flow whose tangent flow at the first singularity is modeled on $Σ$. We also prescribe the first-order asymptotics of the tangent flow. This result is a consequence of a more general theorem that allows us to construct mean curvature flows with an additional force whose tangent flow and first-order asymptotics at the first singularity are prescribed.

math.DG↗

CuMA: Aligning LLMs with Sparse Cultural Values via Demographic-Aware Mixture of Adapters

As Large Language Models (LLMs) serve a global audience, alignment must transition from enforcing universal consensus to respecting cultural pluralism. We demonstrate that dense models, when forced to fit conflicting value distributions, suffer from \textbf{Mean Collapse}, converging to a generic average that fails to represent diverse groups. We attribute this to \textbf{Cultural Sparsity}, where gradient interference prevents dense parameters from spanning distinct cultural modes. To resolve this, we propose \textbf{\textsc{CuMA}} (\textbf{Cu}ltural \textbf{M}ixture of \textbf{A}dapters), a framework that frames alignment as a \textbf{conditional capacity separation} problem. By incorporating demographic-aware routing, \textsc{CuMA} internalizes a \textit{Latent Cultural Topology} to explicitly disentangle conflicting gradients into specialized expert subspaces. Extensive evaluations on WorldValuesBench, Community Alignment, and PRISM demonstrate that \textsc{CuMA} achieves state-of-the-art performance, significantly outperforming both dense baselines and semantic-only MoEs. Crucially, our analysis confirms that \textsc{CuMA} effectively mitigates mean collapse, preserving cultural diversity. Our code is available at https://github.com/Throll/CuMA.

cs.CL↗

APB-V: Accelerating Long-Video Understanding via Sequence-Parallelism-aware Approximate Attention

The efficiency of long-video inference remains a critical bottleneck, mainly due to the dense computation in the prefill stage of Large Multimodal Models (LMMs). Existing methods either compress visual embeddings or apply sparse attention on a single GPU, yielding limited acceleration or degraded performance and restricting LMMs from handling longer, more complex videos. To overcome these issues, we propose APB-V, a sequence-parallel framework with optimized attention that accelerates long-video inference across multiple GPUs. By distributing approximate attention, APB-V reduces computation and increases parallelism, enabling efficient processing of more visual embeddings without compression and thereby improving task performance. System-level optimizations, such as load balancing and fused forward passes, further unleash the potential of APB-V, delivering speedups of 12.72x, 1.70x, and 1.18x over FlashAttn, ZigZagRing, and APB, without notable performance loss. Code available at https://github.com/thunlp/APB

cs.CV↗