论文检索

输入标题、作者或关键词,从 5,826 篇学术成果中精准定位

会议来源 全部会议

机器学习与综合 AI

自然语言处理

计算机视觉

数据挖掘与 Web

多媒体与图形学

未选择时检索全部会议
支持跨会议组合检索,PDF 均跳转至官方来源
5,826篇论文匹配“Online”
第 1 / 292 页

Xiang Feng 0004, Yunuo Chen 0001, Chang Yu 0005, Hao Su 0001, Demetri Terzopoulos, Yin Yang 0002, Joseph Masterjohn, Alejandro M. Castro, Chenfanfu Jiang

We introduce MPM Lite, a hybrid Lagrangian/Eulerian method that eliminates the need for particle-based quadrature at solve time. Standard Material Point Method (MPM) practices suffer from a performance bottleneck where expensive implicit solves are proportional to particle-per-cell (PPC) counts due to the the choices of particle-based quadrature and wide-stencil kernels. By contrast, MPM Lite treats particles primarily as carriers of kinematic state and material history. Conceptualizing the background Cartesian grid as a voxel hexahedral mesh, we resample particle states onto fixed-location quadrature points using efficient, compact linear kernels. This architectural shift allows force assembly and the entire time-integration process to proceed without accessing particles, thus making the solver's complexity independent of the particle count. At the core of our method is a novel stress transfer and stretch reconstruction strategy. To avoid non-physical averaging of deformation gradients, we resample the extensive Kirchhoff stress and derive a rotation-free deformation reference solution, which naturally supports an optimization-based incremental potential formulation. Consequently, MPM Lite can be implemented as modular resampling units coupled with an FEM-style integration module, enabling the direct use of off-the-shelf nonlinear solvers, preconditioners, and unambiguous boundary conditions. We demonstrate through extensive experiments that MPM Lite preserves the robustness and versatility of traditional MPM across diverse materials while delivering significant speedups in implicit settings while simultaneously improving explicit ones. Project page: https://mpmlite.github.io.

Lovro Nuic, Ziyi Zhang, Korbinian Sager, Wenzel Jakob

Discrete X-ray tomography reconstructs the internal structure of an object from X-ray projections, assuming that the volume is composed of a discrete set of known materials (e.g., steel, aluminum, and air). This is generally straightforward when many projections are available but becomes increasingly ill-posed as their number decreases. Discrete tomography has been extensively studied over the past five decades, resulting in a range of mature reconstruction algorithms. In this work, we introduce a new reconstruction method that draws inspiration from both classical computed tomography and recent advances in inverse rendering, demonstrating that a remarkably simple gradient-based inversion can significantly surpass the reconstruction quality of standard methods such as SIRT, DART, and TVR-DART. Our method represents each 3D location as a probability distribution over the set of known materials and minimizes a volumetric loss that encourages consistency with the measured projections. It supports nonlinear effects such as volumetric scattering and is simple to optimize and parallelize on compute accelerators. We evaluate our method on challenging 2D and 3D benchmarks, demonstrating superior performance particularly in sparse and limited-angle scenarios, where traditional techniques struggle with ambiguity.

Haolin Lu 0001, Liwen Wu, Zimo Wang, Tzu-Mao Li, Ravi Ramamoorthi

Monte Carlo integration is widely used in computer graphics, especially in rendering, but we identify two key limitations. First, for each sample, we can often obtain rich auxiliary information, such as sample position, or geometric information. However, a classical Monte Carlo estimator cannot effectively use this information and only averages the function values. Second, the Monte Carlo formulation makes it difficult to adapt the sampling distribution toward truly informative regions, which can be critical for reconstructing the signal. To address these limitations, we argue that a sampler and integrator beyond the standard Monte Carlo methods is needed. We therefore propose an end-to-end sampling-integration approach that jointly learns both a sampler and an integrator using neural networks, enabling samples to be drawn and used in a more coupled and principled manner. By training on a dataset of integrands, the estimator can further use learned priors over integrand structure and specialize to a family of problems. We evaluate our method on diverse applications in lighting, transmittance, generalized winding number, and walk-on-spheres, spanning both linear and nonlinear cases, and a broad range of low- and high-dimensional settings. Even though the networks add computational overheads, in the equal-sample setting, our method achieves substantial improvements, providing a powerful alternative to traditional quadrature rules and sampling methods.

Anchang Bao, Enya Shen, Jianmin Wang 0001

Monte Carlo PDE solvers have become increasingly popular for solving heat-related partial differential equations in geometry processing and computer graphics due to their robustness in handling complex geometries. While existing methods can handle Dirichlet, Neumann, and linear Robin boundary conditions, nonlinear boundary conditions arising from thermal radiation remain largely unexplored. In this paper, we introduce a Picard-style fixed-point iteration framework that enables Monte Carlo PDE solvers to handle nonlinear radiative boundary conditions. While strict theoretical convergence is not generally guaranteed, our method remains stable and empirically convergent with a properly chosen relaxation coefficient. Even with imprecise initial boundary estimates, it progressively approaches the correct solution. Compared to standard linearization strategies, the proposed approach achieves significantly higher accuracy. To further address the high variance inherent in Monte Carlo estimators, we propose a heteroscedastic regression-based denoising technique specifically designed for on-boundary solution estimates, filling a gap left by prior variance reduction methods that focus solely on interior points. We validate our approach through extensive evaluations on synthetic benchmarks and demonstrate its effectiveness on practical heat radiation simulations with complex geometries.

Haleh Mohammadian, Xinzhuo Hu, Roi Poranne, Julian Panetta

We introduce a high-performance framework for solving nonconvex optimization problems arising in simulation and geometry processing applications. Our framework especially benefits high-dimensional problems whose unknowns are spatial coordinates in ℝd and whose objectives are expressed as a sum of element energies over small stencils. The Hessians of these problems have a block-sparse structure, where the nonzero entries are grouped into dense d × d blocks. Many works have exploited this structure to speed up the Hessian-vector products and nodal smoothers of iterative solvers. In contrast, accelerating direct sparse linear solvers, preferred for applications requiring high accuracy on unstructured grids, has been less explored. Our framework leverages block structure to accelerate all phases of a Newton-type minimization algorithm, from sparsity pattern construction to system assembly, matrix factorization, and solves. A fundamental piece of the framework is BlockCatamari, our highly tuned, block-accelerated multifrontal sparse Cholesky code that achieves significantly faster factorizations than existing direct solvers on shared-memory systems. We combine this solver with our fast parallel Hessian assembly routine, heuristics for conditionally enabling per-element Hessian projections, and strategies for minimizing symbolic factorization re-computations. We show that this leads to dramatic speedups on a large suite of benchmark problems involving injective surface parametrization and elasticity simulation with contact, and we further demonstrate the ease with which new energies can be defined at the different levels of abstraction offered by our framework.

Chun Yuan 0001, Zixuan Lu, Haoyang Shi, Dewen Guo, Huamin Wang 0001, Chenfanfu Jiang, Zherong Pan, Kui Wu 0003, Yin Yang 0002

While yarn-level garments offer rich dynamic details and compelling visual realism compared to triangle-based models, their wide adoption is hindered by the immense computational cost due to the presence of a large number of degrees of freedom (DOFs). This paper proposes a novel simulation framework designed to enhance the performance and stability for numerical simulation of nonlinear, non-convex, and high-resolution knitwear. Our method generalizes the Douglas-Rachford Splitting (DRS) scheme to resolve the non-convex coupling between stretching, shearing, bending, twisting, and contacting at each yarn thread. A key contribution is a nested decomposition strategy that decouples the non-convex variational energy into independent and convex sub-problems. Such convexification improves solver robustness and removes the necessity for frequent line searches. We provide a theoretically grounded strategy for metric selection for each sub-problem, derived from an analysis of the convergence guarantee of DRS. Consequently, our method achieves close-to-optimal convergence along the nonlinear iterations rather than relying on ad-hoc parameter tuning. The paper also clarifies a formal connection between our generalized DRS and the ADMM (Alternating Direction Method of Multipliers) framework, extending the applicability of our analysis to a broader set of constrained dynamics problems. Experimental results demonstrate that our method robustly handles complex knitwear simulation scenes with superior efficiency, stability, and physical fidelity compared to existing methods. With a matrix-free GPU parallelization, our method allows an interactive simulation rate of knitwear of multi-million DOFs.

Kaifeng Zhao 0004, Mathis Petrovich, Haotian Zhang 0004, Tingwu Wang, Siyu Tang, Davis Rempe

Generating realistic 3D human motions in real-time within interactive applications is key for animation, simulation, and humanoid robotics. While recent offline motion generation approaches offer precise control via text and kinematic constraints, they lack the inference speed required for interactive settings. Conversely, existing online methods enable real-time synthesis but often sacrifice controllability or struggle with complex text semantics and long-horizon goals due to limited context windows. In this work, we introduce ARDY, a streaming generation framework that bridges this gap by enabling high-fidelity motion generation controllable via online text prompts and flexible kinematic constraints. ARDY employs a hybrid representation that combines explicit root features with a latent body embedding, balancing precise trajectory control with efficient generative learning. We propose a two-stage autoregressive transformer denoiser that features variable history context and supports conditioning on flexible, long-horizon kinematic constraints. By training on a large-scale motion capture dataset and being directly conditioned on text labels and kinematic constraints sampled from ground truth poses, ARDY natively learns controllable generation that supports online prompting and flexible long-horizon goals. Extensive evaluations on the HumanML3D benchmark and the large-scale, high-fidelity Bones Rigplay dataset demonstrate ARDY's high motion quality and constraint adherence, validating the efficacy of our key architectural decisions. Finally, we demonstrate the method's practical versatility through an interactive demo featuring dynamic text control, diverse keyframe pose constraints, path following, and interactive locomotion control via mouse and keyboard. Supplementary video results, code, and model releases can be found at https://research.nvidia.com/labs/sil/projects/ardy/.

Ahmed H. Mahmoud, Rahul Goel, Jonathan Ragan-Kelley, Justin Solomon 0001

We present a GPU-based system for automatic differentiation (AD) of functions defined on triangle meshes, designed to exploit the locality and sparsity in mesh-based computation. Our system evaluates derivatives using perelement forward-mode AD, confining all computation to registers and shared memory and assembling global gradients, sparse Jacobians, and sparse Hessians directly on the GPU. By avoiding global computation graphs, intermediate buffers, and device-host synchronization, our approach minimizes memory traffic and enables efficient differentiation under both static and dynamically changing sparsity. Our programming model lets users express energy terms over mesh neighborhoods, while our system automatically manages parallel execution, derivative propagation, sparse assembly, and matrix-free operations such as Hessian-vector products. Our system supports both scalar- and vector-valued objectives, dynamic interaction-driven sparsity updates, and seamless integration with external GPU sparse linear solvers. We evaluate our system on applications including elastic and cloth simulation, surface parameterization, mesh smoothing, frame field design, ARAP deformation, and spherical manifold optimization. Across these tasks, our system consistently outperforms state-of-the-art differentiation frameworks, including PyTorch, JAX, Warp, Dr.JIT, EnzymeAD, and Thallo. We demonstrate speedups across a range of solver types, from Newton and Gauss-Newton for nonlinear least squares to L-BFGS and gradient descent, and across different derivative usage modes, including Hessian-vector products as well as full sparse Hessian and Jacobian construction. Our system is available as open source at https://github.com/owensgroup/RXMesh.

Guo Pu, Yixuan Han, Haofeng Li, Yao Zhang, Hui Zhou, Zhouhui Lian

Online 3D reconstruction from monocular image sequences is a challenging and ongoing research topic. 3D Gaussian Splatting (3DGS), leveraging its high-quality real-time rendering capability, empowers online 3D reconstruction to represent dense scenes with enhanced expressiveness, and thus holds great promise for a wide range of applications such as robotics and AR/VR. However, existing online 3DGS methods still suffer from some key challenges: fragile camera pose estimation due to the lack of global optimization, and low optimization efficiency in large-scale or long-sequence scenarios. To address these issues, we propose a robust and efficient online voxelized 3DGS reconstruction framework integrated with global Sim(3) optimization, which enables reliable camera tracking and efficient global loop closure for both camera poses and voxelized 3DGS. To accelerate the convergence of the voxelized 3DGS, we further introduce a color residual learning strategy, which not only boosts optimization speed but also enhances rendering quality. Extensive experiments on diverse indoor and outdoor datasets demonstrate that our method achieves state-of-the-art performance in both camera pose estimation accuracy and rendering quality, while retaining real-time efficiency. Additionally, we develop and deploy a real-world UAV-based active reconstruction system grounded on our proposed method, validating its robustness and generalizability for practical online 3D reconstruction tasks. Our code and data are available at https://github.com/TrickyGo/MoonSplat..

Feifei Wang, Shiyuan Yang, Xiaoyu Li 0002, Jing Liao 0001

As instruction-based editing models and multimodal large language models continue to advance, a wide range of image editing tasks have become feasible. However, achieving precise and consistent geometric image editing, such as translating, scaling and rotating in 3D space, remains a major challenge. In this work, we introduce BoxCtrl, a 3D-aware visual prompting framework to address this problem. Unlike text-only or coarse 2D-guided approaches, our method introduces informative RGB 3D bounding boxes projected onto 2D images as a visual prompting. Each box is outlined and its three orthogonal faces are individually painted with different RGB colors, which simultaneously encode its position, size and orientation, providing a compact and intuitive in-context visual example. The key to BoxCtrl’s success lies in its well-designed bounding boxes, which serve as visual prompting that decouple geometric control from appearance control. This design enables the model to learn consistent correspondences between faces with the same color in the latent space, leading to a more precise understanding of geometric intention and more accurate editing result. We introduce a two-stage training paradigm comprising Supervised Fine-Tuning (SFT) followed by Reinforcement Learning (RL). To address the scarcity of paired training data, we first construct a large-scale synthetic dataset for the SFT stage, which equips the model with fundamental editing capabilities. However, the generalization of the SFT model is constrained by the synthetic-to-real domain gap. To bridge this, we incorporate an online RL stage leveraging unpaired real-world data. Guided by a comprehensive reward function evaluating both geometric accuracy and visual fidelity, our SFT-RL strategy significantly enhances geometric precision while maintaining photorealistic quality. Extensive experiments demonstrate that BoxCtrl achieves state-of-the-art performance across translation, rotation, scaling, and composite editing tasks. Our code is available at https://github.com/beaglew/BoxCtrl.

Yu Zhao, Renjie Chen 0001

Computing injective, flip-free embeddings of simplicial meshes is a fundamental challenge in geometry processing. While the Total Lifted Content (TLC) energy provides a smooth functional with theoretically guaranteed injective global minima, its non-convex nature presents significant optimization hurdles. In this work, we propose a Nonlinear Multigrid (MG/Opt) framework specifically tailored for efficient TLC energy minimization. Our approach leverages a topology-preserving mesh hierarchy to rapidly eliminate low-frequency errors on coarse scales while maintaining rigorous gradient consistency between hierarchical levels through linear correction terms. To address the persistent challenge of local inversions, we introduce a targeted smoothing strategy and an adaptive parameter scheduling mechanism that balances global convergence speed with local injectivity precision. Experimental evaluations across extensive 2D and 3D benchmark datasets demonstrate the robustness of our approach. Our method achieves a 100% convergence success rate across all tested 2D cases and all but one 3D dataset (the VOLMAP benchmark). Furthermore, our MG/Opt framework delivers substantial performance gains, achieving up to 63 × speedup on high-resolution subdivided datasets compared to traditional solvers. These results confirm that our multigrid strategy provides a scalable and reliable solution for large-scale injective mapping problems. Code and data for this paper are at https://github.com/distmeshM/MGOpt_TLC

Zhiqian Zhou, Dario Seyb, Shuang Zhao

Gaussian Process Implicit Surfaces (GPIS) represent geometry as a distribution over implicit functions. Modeling an object’s appearance as the expected rendering of a GPIS yields a unified framework that captures diverse light-transport effects including microfacet-like reflections and volumetric scattering. Despite this generality, computing GPIS–ray intersections requires sampling conditional multivariate Gaussian distributions along each ray and remains prohibitively expensive. We introduce an online sampling algorithm that draws these distributions incrementally, and an adaptive marching scheme that takes large steps where the surface is provably absent, minimizing the probability of missed intersections. Together, these ideas reduce rendering MSE by up to 46 × at equal time compared to existing methods.

Shusen Liu, Yuzhong Guo, Lixin Ren, Ying Qiao 0001, Xiaowei He 0004

Simulating free-surface flows requires capturing the effects of incompressibility, viscosity, and surface tension. Existing particle-based methods often rely on operator splitting, which introduces coupling artifacts and limits stability. We propose a unified nonlinear optimization framework that achieves a strong coupling of these three effects within a single solver. By leveraging peridynamics, we formulate the discretization of distinct fluid mechanisms under a consistent variational principle. Specifically, we recast fluid motion as a nonlinear variational optimization problem over particle positions, which is solved via the semi-implicit successive substitution method. Moreover, the framework incorporates separate treatments for bulk and shear viscosity, allowing for more refined control of different viscous fluid behaviors. To the best of our knowledge, this is the first particle-based unified solver capable of fully resolving the interdependence of incompressibility, viscosity, and surface tension, thereby significantly enhancing stability in complex simulations of free-surface flows. The source code for the paper is publicly available at https://github.com/peridyno/peridyno.

Guo Han, Juan Montes Maestre 0001, Logan Numerow, Ronan Hinchet, Stelian Coros, Bernhard Thomaszewski

Rigid-deployable Kirigami sheets are unique mechanical structures, enabling extreme expansion with minimal elastic deformation. Furthermore, they unfold in fluid and coordinated motions which reveal interesting geometric patterns. Thanks to their tunable expansion behaviour, Kirigami-like structures have found a wide range of applications at various scales. However, finding the right geometry for a given application remains a significant challenge due to the complex relationship between cut patterns and deployment behavior. In this work, we introduce a computational approach to explore the design space of rigid-deployable Kirigami sheets defined over isohedral tilings, a class of periodic patterns constructed from identical polygonal tiles. Our method explores the mixed discrete-continuous design space formed by joint topologies and tile shape parameters. Leveraging tools from linkage analysis, we identify self-deployable designs with a single kinematic degree of freedom. To compute the corresponding deployment motions, we extend the concept of nonlinear compliant modes to the multi-body setting, incorporating collision handling to ensure feasible designs. Our approach enables the discovery of diverse isohedral Kirigami sheets with varying topologies, tile shapes, and expansion behavior. We showcase our results through an interactive material browser and validate selected designs with 3D-printed prototypes. Code and data for this paper are available at https://github.com/guo-han/Isogami.

Mo Wang, Kaixuan Ren, Pratik Jalan, Ahmed Ashraf, Tuong Vy Vu, Rahul Seetharaman, Shah Nawaz, Usman Naseem

Cultural context profoundly shapes how people interpret online content, yet vision–language models (VLMs) remain predominantly trained through Western or English-centric lenses. This limits their fairness and cross-cultural robustness in tasks like hateful meme detection. We introduce a systematic evaluation framework designed to diagnose and quantify the cross-cultural robustness of state-of-the-art VLMs across multilingual meme datasets, analyzing three axes: (i) learning strategy (zero-shot vs. one-shot), (ii) prompting language (native vs. English), and (iii) translation effects on meaning and detection. Results show that the common ''translate-then-detect'' approach deteriorate performance, while culturally aligned interventions — native-language prompting and one-shot learning — significantly enhance detection. Our findings reveal systematic convergence toward Western safety norms and provide actionable strategies to mitigate such bias, guiding the design of globally robust multimodal moderation systems.

Baiyu Chen, Benjamin Tag, Hao Xue 0001, Daniel Angus, Flora Salim

Regulatory limits on explicit targeting have not eliminated algorithmic profiling on the Web, as optimisation systems still adapt ad delivery to users' private attributes. The widespread availability of powerful zero-shot multimodal Large Language Models (LLMs) has dramatically lowered the barrier for exploiting these latent signals for adversarial inference. We investigate this emerging societal risk, specifically how adversaries can now exploit these signals to reverse-engineer private attributes from ad exposure alone. We introduce a novel pipeline that leverages LLMs as adversarial inference engines to perform natural language profiling. Applying this method to a longitudinal dataset comprising over 435,000 Facebook ad impressions collected from 891 users, we conducted a large-scale study to assess the feasibility and precision of inferring private attributes from passive online ad observations. Our results demonstrate that off-the-shelf LLMs can accurately reconstruct complex user private attributes, including party preference, employment status, and education level, consistently outperforming strong census-based priors and matching or exceeding human social perception at only a fraction of the cost (223× lower) and time (52× faster) required by humans. Critically, actionable profiling is feasible even within short observation windows, indicating that prolonged tracking is not a prerequisite for a successful attack. These findings provide the first empirical evidence that ad streams serve as a high-fidelity digital footprint, enabling off-platform profiling that inherently bypasses current platform safeguards, highlighting a systemic vulnerability in the ad ecosystem and the urgent need for responsible web AI governance in the generative AI era. The code is available at https://github.com/Breezelled/when-ads-become-profiles.

Jing Ren 0001, Bowen Li 0012, Ziqi Xu 0001, Renqiang Luo, Shuo Yu 0001, Xin Ye 0004, Haytham Fayek, Xiaodong Li 0001, Feng Xia 0001

Large Language Models (LLMs) are increasingly used for toxicity assessment in online moderation systems, where fairness across demographic groups is essential for equitable treatment. However, LLMs often produce inconsistent toxicity judgements for subtle expressions, particularly those involving implicit hate speech, revealing underlying biases that are difficult to correct through standard training. This raises a key question that existing approaches often overlook: when should corrective mechanisms be invoked to ensure fair and reliable assessments? To address this, we propose FairToT, an inference-time framework that enhances LLM fairness through prompt-guided toxicity assessment. FairToT identifies cases where demographic-related variation is likely to occur and determines when additional assessment should be applied. In addition, we introduce two interpretable fairness indicators that detect such cases and improve inference consistency without modifying model parameters. Experiments on benchmark datasets show that FairToT reduces group-level disparities while maintaining stable and reliable toxicity predictions, demonstrating that inference-time refinement offers an effective and practical approach for fairness improvement in LLM-based toxicity assessment systems. The source code can be found at https://aisuko.github.io/fair-tot/.

Xiongxiao Xu, Solomon Abera Bekele, Brice Videau, Kai Shu

Energy consumption has become a bottleneck for future computing architectures, from wearable devices to leadership-class supercomputers. Existing energy management techniques largely target CPUs, even though GPUs now dominate power draw in heterogeneous high performance computing (HPC) systems. Moreover, many prior methods rely on either purely offline or hybrid offline and online training, which is impractical and results in energy inefficiencies during data collection. In this paper, we introduce a practical online GPU energy optimization problem in a HPC scenarios. The problem is challenging because (1) GPU frequency scaling exhibits performance–energy trade-offs, (2) online control must balance exploration and exploitation, and (3) frequent frequency switching incurs non-trivial overhead and degrades quality of service (QoS). To address the challenges, we formulate online GPU energy optimization as a multi-armed bandit problem and propose EnergyUCB, a lightweight UCB-based controller that dynamically adjusts GPU core frequency in real time to save energy. Specifically, EnergyUCB (1) defines a reward that jointly captures energy and performance using a core-to-uncore utilization ratio as a proxy for GPU throughput, (2) employs optimistic initialization and UCB-style confidence bonuses to accelerate learning from scratch, and (3) incorporates a switching-aware UCB index and a QoS-constrained variant that enforce explicit slowdown budgets while discouraging unnecessary frequency oscillations. Extensive experiments on real-world workloads from the world's third fastest supercomputer Aurora show that EnergyUCB achieves substantial energy savings with modest slowdown and that the QoS-constrained variant reliably respects user-specified performance budgets.

Yubo Wang 0006, Haoyang Li 0002, Fei Teng, Lei Chen 0002

Text classification is vital for Web for Good applications like hate speech and misinformation detection. However, traditional models (e.g., BERT) often fail in dynamic few-shot settings where labeled data are scarce, and target labels frequently evolve. While Large Language Models (LLMs) show promise in few-shot settings, their performance is often hindered by increased input size in dynamic evolving scenarios. To address these issues, we propose GORAG, a Graph-based Online Retrieval-Augmented Generation framework for dynamic few-shot text classification. GORAG constructs and maintains a weighted graph of keywords and text labels, representing their correlations as edges. To model these correlations, GORAG employs an edge weighting mechanism to prioritize the importance and reliability of extracted information and dynamically retrieves relevant context using a tailored minimum-cost spanning tree for each input. Empirical evaluations show GORAG outperforms existing approaches by providing more comprehensive and precise contextual information. Our code is released at: https://github.com/Wyb0627/GORAG.

He Hu 0008, Chiyuan Ma, Qianning Wang, Lin Liu 0016, Yucheng Zhou 0001, Laizhong Cui, Fei Ma 0006, Qi Tian 0001

The shortage of mental health professionals has driven the web to become a primary avenue for accessible psychological support. While Large Language Models (LLMs) offer promise for scalable web-based counseling, existing approaches often lack emotional understanding, adaptive strategies, and long-term memory. These limitations pose risks to digital well-being, as disjointed interactions can fail to support vulnerable users effectively. To address these gaps, we introduce TheraMind, a strategic and adaptive agent designed for trustworthy online longitudinal counseling. The cornerstone of TheraMind is a novel dual-loop architecture that decouples the complex counseling process into an Intra-Session Loop for tactical dialogue management and a Cross-Session Loop for strategic therapeutic planning. The Intra-Session Loop perceives the patient's emotional state to dynamically select response strategies while leveraging cross-session memory to ensure continuity. Crucially, the Cross-Session Loop empowers the agent with long-term adaptability by evaluating the efficacy of the applied therapy after each session and adjusting the method for subsequent interactions. We validate our approach in a high-fidelity simulation environment grounded in real clinical cases. Extensive evaluations show that TheraMind outperforms other methods, especially on multi-session metrics like Coherence, Flexibility, and Therapeutic Attunement, validating the effectiveness of its dual-loop design in emulating strategic, adaptive, and longitudinal therapeutic behavior. The code is publicly available at https://github.com/Emo-gml/TheraMind.