SearcharxivSearch

arXiv subjects

Anuraj Maurya

Publications and source records attributed to Anuraj Maurya.

2 recordsLinked to original sources

Patch-Based 3D Variational Autoencoder for Super-Resolution of Turbulent Channel Flow

Direct numerical simulation (DNS) accurately resolves all spatio-temporal scales of wall-bounded turbulence but becomes prohibitively expensive as the Reynolds number increases. Super-resolution (SR) provides a practical alternative by reconstructing fine-scale flow structures from coarse fields. Most existing SR methods focus on two-dimensional data, where vortex stretching is absent, and extend poorly to three dimensions because model complexity increases with the reconstructed volume. We propose a patch-based three-dimensional variational autoencoder (3D-VAE) that reconstructs a local (16^3) high-resolution block from a larger coarse neighbourhood. The learned operator is then applied convolutionally across the domain with overlap averaging, making the parameter count dependent only on patch size rather than domain size. The model is trained using the streamwise velocity from a single DNS snapshot of turbulent channel flow at (Re_τ\approx 1000) from the Johns Hopkins Turbulence Database and evaluated on a held-out snapshot. Compared with DNS, the proposed method achieves a mean absolute error of 0.055, outperforming tricubic (0.075) and Lanczos (0.076) interpolation. In spectral space, it reduces the mean absolute error of the two-dimensional Fourier amplitude from 2.63 and 2.85 to 0.91, an improvement of about threefold. Applied to coarse finite-element simulations, the model reconstructs spectral content absent from the input, demonstrating transfer beyond filtered DNS. A conditional 3D-GAN trained on the same data failed to converge under Wasserstein training and is reported as a negative result. The main limitations are attenuation of the smallest resolved scales, periodic artefacts caused by the patch stride, and under-prediction of extreme velocity values.

cs.LG

Scaling Legal AI: Benchmarking Mamba and Transformers for Statutory Classification and Case Law Retrieval

The rapid growth of statutory corpora and judicial decisions requires scalable legal AI systems capable of classification and retrieval over extremely long contexts. Transformer-based architectures (e.g., Longformer, DeBERTa) dominate current legal NLP benchmarks but struggle with quadratic attention costs, limiting efficiency and scalability. In this work, we present the first comprehensive benchmarking of Mamba, a state-space model (SSM) with linear-time selective mechanisms, against leading transformer models for statutory classification and case law retrieval. We evaluate models on open-source legal corpora including LexGLUE, EUR-Lex, and ILDC, covering statutory tagging, judicial outcome prediction, and case retrieval tasks. Metrics include accuracy, recall at k, mean reciprocal rank (MRR), and normalized discounted cumulative gain (nDCG), alongside throughput measured in tokens per second and maximum context length. Results show that Mamba's linear scaling enables processing of legal documents several times longer than transformers, while maintaining or surpassing retrieval and classification performance. This study introduces a new legal NLP benchmark suite for long-context modeling, along with open-source code and datasets to support reproducibility. Our findings highlight trade-offs between state-space models and transformers, providing guidance for deploying scalable legal AI in statutory analysis, judicial decision support, and policy research.

cs.CY