arXiv Science⌕ Search

arXiv subjects

Xinhua Miao

Publications and source records attributed to Xinhua Miao.

4 recordsLinked to original sources

TS-RSI: Recursive Self-Improvement in Long-Term Time Series Forecasting

Forecasting systems increasingly let LLMs write programs and revise them from validation feedback, a loop of recursive self-improvement (RSI). We introduce TS-RSI, a pre-registered testbed on long-term time series forecasting that pairs every loop with a trivial competitor encoding the same structure by hand. TS-RSI-Code uses one LLM-written program per dataset as a feature generator for a ridge correction to a closed-form CycleNet-style learner, with gap-matched fitting and a per-horizon fallback against drift. Relative to the CycleNet cycle, it lowers error by 14-27% on the held-out PEMS datasets and costs at most 1% on the other held-out datasets. The PEMS gain is a weekly cycle: choosing a daily or weekly cycle on validation does at least as well without an LLM, and iterating on the program improves the median by at most 0.8% while validation overstates its gains. TS-RSI-Struct instead lets the LLM search the cycle length from validation feedback. Starting from a one-day prior on every dataset, it reaches the weekly cycle within three evaluations, beats random search by 4-7% with three LLMs and ties the trivial competitor, for 0.24 CNY. When the prior is wrong on two structural choices, the loop falls behind random search.

cs.LG↗

KARMA: Training-Free Knowledge-Atomic Harness Evolution for Industrial Advertising Agents

Industrial advertising agents must continually adapt their decision knowledge to changing product offerings, traffic patterns, and operating policies. We present KARMA (Knowledge-Atomic, Regression-Gated Modular Adaptation), a training-free framework that evolves six typed knowledge modules while keeping model weights and executable harness code frozen. During our evolution, a deterministic Trace Verifier maps observed errors to candidate modules, and a Critic compares successful and failed trajectories to guide a tool-constrained Evolver. The Evolver applies atomic knowledge edits, which a fixed validation gate retains only when their measured gain reaches a threshold; otherwise, the previous knowledge state is restored. We evaluate KARMA with three LLM families on cases sampled from a corpus of approximately half a million real-world operation logs across six e-commerce domains. Across 18 domain--model settings, KARMA raises the average hold-out score from 30.19 to 39.15 (+8.96 points, +29.7%). Ablations show that removing either successful or failed trajectories more than halves the average hold-out gain. Evolved knowledge also transfers across domains without further adaptation, yielding an average hold-out gain of 8.54 points across all source--target pairs. By linking retained patches to their diagnostic evidence and validation outcomes, KARMA supports inspectable, reversible knowledge adaptation for agents in Web marketplaces.

cs.AI↗

AdaptLSTM: Efficient Adaptive Online Learning for Cloud Workload Forecasting under Distribution Drift

Accurate workload forecasting is critical for elastic resource provisioning in web-scale cloud services, where distribution shifts driven by viral content, product launches, and user behavior degrade offline-trained models rapidly. Naive online learning recovers accuracy but incurs prohibitive per-step compute cost. We propose AdaptLSTM, an adaptive online framework that detects drift via validation-calibrated thresholds and applies selective, targeted updates. On the Alibaba Machine Trace, AdaptLSTM recovers 54% of Naive Online's improvement at 20% cost ($2.7\times$ efficiency, $p=0.002$ over 10 seeds). On the more volatile Container Trace, it achieves 96% at 20% cost ($4.8\times$ efficiency, $+75\%$ MAE reduction over Static). Unlike classical drift detectors (ADWIN, DDM, Page-Hinkley) which fail to trigger on regression-scale error streams, AdaptLSTM fires 42 times over 301 steps and outperforms matched-budget baselines. Wall-clock profiling shows $1.33\times$ throughput gain and 45% update-time reduction. The framework is model-agnostic: identical Pareto patterns hold for LSTM, GRU, and Transformer backbones.

cs.LG↗

STAR: Adaptive Spatial-Temporal Normalization for Unified Microservice Incident Management

Automated incident management in large-scale microservice systems relies on learning robust representations from multimodal observability data, including metrics, logs, and traces. Although recent self-supervised frameworks enable unified modeling for anomaly detection (AD), failure triage (FT), and root cause localization (RCL), they often struggle with non-stationary temporal dynamics and heterogeneous service dependency structures. In this paper, we propose STAR, a Spatial-Temporal Adaptive Representation learning framework that explicitly addresses these challenges through adaptive normalizations. STAR introduces two tightly coupled mechanisms: Temporal Adaptive Normalization (TAN), which dynamically normalizes multivariate time series using multi-scale temporal context, and Spatial Adaptive Normalization (SAN), which performs structure-aware normalization over service dependency graphs. Unlike prior methods that treat normalization as static or task-agnostic, STAR formulates it as a learnable, context-conditioned transformation aligned with the intrinsic properties of microservice systems. The resulting adaptive representations are integrated into a unified self-supervised framework, enabling end-to-end unsupervised support for AD, FT, and RCL tasks. Extensive experiments on two real-world microservice benchmarks demonstrate that STAR consistently outperforms all state-of-the-art baselines, yielding significant and stable improvements across all three tasks. Our results highlight adaptive normalization as a principled and effective mechanism for robust multimodal representation learning in complex software systems.

cs.LG↗