Searcharxiv⌕ Search

arXiv subjects

Xin Jin

Publications and source records attributed to Xin Jin.

At least 253 records · Page 14Linked to original sources

RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation

Retrieval-Augmented Generation (RAG) has shown significant improvements in various natural language processing tasks by integrating the strengths of large language models (LLMs) and external knowledge databases. However, RAG introduces long sequence generation and leads to high computation and memory costs. We propose RAGCache, a novel multilevel dynamic caching system tailored for RAG. Our analysis benchmarks current RAG systems, pinpointing the performance bottleneck (i.e., long sequence due to knowledge injection) and optimization opportunities (i.e., caching knowledge's intermediate states). Based on these insights, we design RAGCache, which organizes the intermediate states of retrieved knowledge in a knowledge tree and caches them in the GPU and host memory hierarchy. RAGCache proposes a replacement policy that is aware of LLM inference characteristics and RAG retrieval patterns. It also dynamically overlaps the retrieval and inference steps to minimize the end-to-end latency. We implement RAGCache and evaluate it on vLLM, a state-of-the-art LLM inference system and Faiss, a state-of-the-art vector database. The experimental results show that RAGCache reduces the time to first token (TTFT) by up to 4x and improves the throughput by up to 2.1x compared to vLLM integrated with Faiss.

cs.DC↗

A Reconfigurable Subarray Architecture and Hybrid Beamforming for Millimeter-Wave Dual-Function-Radar-Communication Systems

Dual-function-radar-communication (DFRC) is a promising candidate technology for next-generation networks. By integrating hybrid analog-digital (HAD) beamforming into a multi-user millimeter-wave (mmWave) DFRC system, we design a new reconfigurable subarray (RS) architecture and jointly optimize the HAD beamforming to maximize the communication sum-rate and ensure a prescribed signal-to-clutter-plus-noise ratio for radar sensing. Considering the non-convexity of this problem arising from multiplicative coupling of the analog and digital beamforming, we convert the sum-rate maximization into an equivalent weighted mean-square error minimization and apply penalty dual decomposition to decouple the analog and digital beamforming. Specifically, a second-order cone program is first constructed to optimize the fully digital counterpart of the HAD beamforming. Then, the sparsity of the RS architecture is exploited to obtain a low-complexity solution for the HAD beamforming. The convergence and complexity analyses of our algorithm are carried out under the RS architecture. Simulations corroborate that, with the RS architecture, DFRC offers effective communication and sensing and improves energy efficiency by 83.4% and 114.2% with a moderate number of radio frequency chains and phase shifters, compared to the persistently- and fullyconnected architectures, respectively.

eess.SP↗

Abundant surface-semimetal phases in three-dimensional obstructed atomic insulators

Three-dimensional obstructed atomic insulators (OAIs) are characterized by the appearance of floating surface states (FSSs) at specific surfaces. Benefiting from this feature, our study here shows the presence of abundant surface-semimetal phases in 3D OAIs. The symmetries of obstructed Wannier charge centers ensure the degeneracy of such FSSs at high-symmetry points or invariant lines in the surface Brillouin zone. Utilizing topological quantum chemistry theory, we identify a carbon allotrope with a body-centered tetragonal structure, named bct-C20, as an ideal candidate for realizing different kinds of surface-semimetal phases. For the (001)surface of bct-C20, there are four in-gap FSSs, and these four FSSs form two kinds of surface Dirac cones, i.e., topological Dirac cones with linear dispersion and symmetry-enforced quadratic Dirac cones. The band topology of a surface Dirac cone is captured by the effective surface Hamiltonian and the emergence of hinge states. Moreover, the existence of the surface-nodal-line state is also discussed. This work reports an approach to obtain d-dimensional semimetal phases from the surface states of (d + 1)-dimensional systems, which is of great significance for the studies in revealing topological states and their practical applications in high-dimensional crystals.

cond-mat.mtrl-sci↗

NaviNeRF: NeRF-based 3D Representation Disentanglement by Latent Semantic Navigation

3D representation disentanglement aims to identify, decompose, and manipulate the underlying explanatory factors of 3D data, which helps AI fundamentally understand our 3D world. This task is currently under-explored and poses great challenges: (i) the 3D representations are complex and in general contains much more information than 2D image; (ii) many 3D representations are not well suited for gradient-based optimization, let alone disentanglement. To address these challenges, we use NeRF as a differentiable 3D representation, and introduce a self-supervised Navigation to identify interpretable semantic directions in the latent space. To our best knowledge, this novel method, dubbed NaviNeRF, is the first work to achieve fine-grained 3D disentanglement without any priors or supervisions. Specifically, NaviNeRF is built upon the generative NeRF pipeline, and equipped with an Outer Navigation Branch and an Inner Refinement Branch. They are complementary -- the outer navigation is to identify global-view semantic directions, and the inner refinement dedicates to fine-grained attributes. A synergistic loss is further devised to coordinate two branches. Extensive experiments demonstrate that NaviNeRF has a superior fine-grained 3D disentanglement ability than the previous 3D-aware models. Its performance is also comparable to editing-oriented models relying on semantic or geometry priors.

cs.CV↗

DreamLIP: Language-Image Pre-training with Long Captions

Language-image pre-training largely relies on how precisely and thoroughly a text describes its paired image. In practice, however, the contents of an image can be so rich that well describing them requires lengthy captions (e.g., with 10 sentences), which are usually missing in existing datasets. Consequently, there are currently no clear evidences on whether and how language-image pre-training could benefit from long captions. To figure this out, we first re-caption 30M images with detailed descriptions using a pre-trained Multi-modality Large Language Model (MLLM), and then study the usage of the resulting captions under a contrastive learning framework. We observe that, each sentence within a long caption is very likely to describe the image partially (e.g., an object). Motivated by this, we propose to dynamically sample sub-captions from the text label to construct multiple positive pairs, and introduce a grouping loss to match the embeddings of each sub-caption with its corresponding local image patches in a self-supervised manner. Experimental results on a wide rage of downstream tasks demonstrate the consistent superiority of our method, termed DreamLIP, over previous alternatives, highlighting its fine-grained representational capacity. It is noteworthy that, on the tasks of image-text retrieval and semantic segmentation, our model trained with 30M image-text pairs achieves on par or even better performance than CLIP trained with 400M pairs. Project page is available at https://zyf0619sjtu.github.io/dream-lip.

cs.CV↗

ReGenNet: Towards Human Action-Reaction Synthesis

Humans constantly interact with their surrounding environments. Current human-centric generative models mainly focus on synthesizing humans plausibly interacting with static scenes and objects, while the dynamic human action-reaction synthesis for ubiquitous causal human-human interactions is less explored. Human-human interactions can be regarded as asymmetric with actors and reactors in atomic interaction periods. In this paper, we comprehensively analyze the asymmetric, dynamic, synchronous, and detailed nature of human-human interactions and propose the first multi-setting human action-reaction synthesis benchmark to generate human reactions conditioned on given human actions. To begin with, we propose to annotate the actor-reactor order of the interaction sequences for the NTU120, InterHuman, and Chi3D datasets. Based on them, a diffusion-based generative model with a Transformer decoder architecture called ReGenNet together with an explicit distance-based interaction loss is proposed to predict human reactions in an online manner, where the future states of actors are unavailable to reactors. Quantitative and qualitative results show that our method can generate instant and plausible human reactions compared to the baselines, and can generalize to unseen actor motions and viewpoint changes.

cs.CV↗

Strain-driven phonon topological phase transition impedes thermal transport in titanium monoxide

Topological phonon states in crystalline materials have attracted significant research interests due to their importance for fundamental physical phenomena, yet their implication on phonon thermal transport remains largely unexplored. Here, we use density functional theory calculations and symmetry analyses to explore topological phonon phase transitions under uniaxial strains and their tuning effects on thermal transport in titanium monoxide (TiO). Our calculation shows that application of 10% tension significantly diminishes lattice thermal conductivity of TiO by 77% and 66% along the a and c axes, respectively, at room temperature. This suppression is found to result largely from the breaking of symmetry protected degeneracy of acoustic branches, which induces a substantial enhancement of phonon scattering phase space due to the easier fulfillment of scattering selection rules. Our study provides evidence for the importance of phononic band topology in modulating thermal conductivity and offers a promising route towards controlling solid-state heat transport.

physics.comp-ph↗

Anomalous thermal transport and high thermoelectric performance of Cu-based vanadate CuVO3

Thermoelectric (TE) conversion technology, capable of transforming heat into electricity, is critical for sustainable energy solutions. Many promising TE materials contain rare or toxic elements, so the development of cost-effective and eco-friendly high-performance TE materials is highly urgent. Herein, we explore the thermal transport and TE properties of transition metal vanadate CuVO3 by using first-principles calculation. On the basis of unified theory of heat conduction, we uncover the hierarchical thermal transport feature in CuVO3, where wave-like tunneling makes a significant contribution to the lattice thermal conductivity (\k{appa}l) and result in the anomalously weak temperature dependence of \k{appa}l. This is primarily attributable to the complex phononic band structure caused by the heterogeneity of Cu-O and V-O bonds. Simultaneously, we report a high power factor of 5.45 mW K-2 m-1 realized in hole-doped CuVO3, which arises from a high electrical conductivity and a large Seebeck coefficient enabled by the multiple valleys and large electronic density of states near the valence band edge. Impressively, the low \k{appa}l and the high power factor make p-typed CuVO3 have ZT of up to 1.39, with the excellent average ZT above 1.0 from 300 to 600 K, which is superior to most reported Cu-based TE materials. Our findings suggest that CuVO3 compound is promising candidate for energy conversion applications in innovative TE devices.

physics.comp-ph↗

2023 Low-Power Computer Vision Challenge (LPCVC) Summary

This article describes the 2023 IEEE Low-Power Computer Vision Challenge (LPCVC). Since 2015, LPCVC has been an international competition devoted to tackling the challenge of computer vision (CV) on edge devices. Most CV researchers focus on improving accuracy, at the expense of ever-growing sizes of machine models. LPCVC balances accuracy with resource requirements. Winners must achieve high accuracy with short execution time when their CV solutions run on an embedded device, such as Raspberry PI or Nvidia Jetson Nano. The vision problem for 2023 LPCVC is segmentation of images acquired by Unmanned Aerial Vehicles (UAVs, also called drones) after disasters. The 2023 LPCVC attracted 60 international teams that submitted 676 solutions during the submission window of one month. This article explains the setup of the competition and highlights the winners' methods that improve accuracy and shorten execution time.

cs.CV↗

Half-Metallic Ferromagnetic Weyl Fermions Related to Dynamic Correlations in the Zinc-blende Compound VAs

The realization of 100\% polarized topological Weyl fermions in half-metallic ferromagnets is of particular importance for fundamental research and spintronic applications. Here, we theoretically investigate the electronic and topological properties of the zinc-blende compound VAs, which was deemed as a half-metallic ferromagnet related to dynamic correlations. Based on the combination of density functional theory and dynamical mean field theory, we uncover that the half-metallic ferromagnet VAs exhibit attractive Weyl semimetallic behaviors with twelve pairs of Weyl points, which are very close to the Fermi level. Meanwhile, we also investigate the magnetization-dependent topological properties; the results show that the change of magnetization directions only slightly affects the positions of Weyl points, which is attributed to the weak spin-orbital coupling effects. The topological surface states of VAs projected on semi-infinite (001) and (111) surfaces are investigated. The Fermi arcs of all Weyl points are clearly visible on the projected Fermi surfaces. Our findings suggest that VAs is a fully spin-polarized Weyl semimetal with many-body correlated effects for spintronic applications.

cond-mat.mtrl-sci↗

Adversarial AutoMixup

Data mixing augmentation has been widely applied to improve the generalization ability of deep neural networks. Recently, offline data mixing augmentation, e.g. handcrafted and saliency information-based mixup, has been gradually replaced by automatic mixing approaches. Through minimizing two sub-tasks, namely, mixed sample generation and mixup classification in an end-to-end way, AutoMix significantly improves accuracy on image classification tasks. However, as the optimization objective is consistent for the two sub-tasks, this approach is prone to generating consistent instead of diverse mixed samples, which results in overfitting for target task training. In this paper, we propose AdAutomixup, an adversarial automatic mixup augmentation approach that generates challenging samples to train a robust classifier for image classification, by alternatively optimizing the classifier and the mixup sample generator. AdAutomixup comprises two modules, a mixed example generator, and a target classifier. The mixed sample generator aims to produce hard mixed examples to challenge the target classifier, while the target classifier's aim is to learn robust features from hard mixed examples to improve generalization. To prevent the collapse of the inherent meanings of images, we further introduce an exponential moving average (EMA) teacher and cosine similarity to train AdAutomixup in an end-to-end way. Extensive experiments on seven image benchmarks consistently prove that our approach outperforms the state of the art in various classification scenarios. The source code is available at https://github.com/JinXins/Adversarial-AutoMixup.

cs.CV↗

Reciprocal polarization imaging of complex media

The vectorial evolution of polarized light interaction with a medium can reveal its microstructure and anisotropy beyond what can be obtained from scalar light interaction. Anisotropic properties (diattenuation, retardance, and depolarization) of a complex medium can be quantified by polarization imaging by measuring the Mueller matrix. However, polarization imaging in the reflection geometry, ubiquitous and often preferred in diverse applications, has suffered a poor recovery of the medium's anisotropic properties due to the lack of suitable decomposition of the Mueller matrices measured inside a backward geometry. Here, we present reciprocal polarization imaging of complex media after introducing reciprocal polar decomposition for backscattering Mueller matrices. Based on the reciprocity of the optical wave in its forward and backward scattering paths, the anisotropic diattenuation, retardance, and depolarization of a complex medium are determined by measuring the backscattering Mueller matrix. We demonstrate reciprocal polarization imaging in various applications for quantifying complex non-chiral and chiral media (birefringence resolution target, tissue sections, and glucose suspension), uncovering their anisotropic microstructures with remarkable clarity and accuracy. We also highlight types of complex media that Lu-Chipman and differential decompositions of backscattering Mueller matrices lead to erroneous medium polarization properties, whereas reciprocal polar decomposition recovers properly. Reciprocal polarization imaging will be instrumental in imaging complex media from remote sensing to biomedicine and will open new applications of polarization optics in reflection geometry.

physics.optics↗

LLM-CompDroid: Repairing Configuration Compatibility Bugs in Android Apps with Pre-trained Large Language Models

XML configurations are integral to the Android development framework, particularly in the realm of UI display. However, these configurations can introduce compatibility issues (bugs), resulting in divergent visual outcomes and system crashes across various Android API versions (levels). In this study, we systematically investigate LLM-based approaches for detecting and repairing configuration compatibility bugs. Our findings highlight certain limitations of LLMs in effectively identifying and resolving these bugs, while also revealing their potential in addressing complex, hard-to-repair issues that traditional tools struggle with. Leveraging these insights, we introduce the LLM-CompDroid framework, which combines the strengths of LLMs and traditional tools for bug resolution. Our experimental results demonstrate a significant enhancement in bug resolution performance by LLM-CompDroid, with LLM-CompDroid-GPT-3.5 and LLM-CompDroid-GPT-4 surpassing the state-of-the-art tool, ConfFix, by at least 9.8% and 10.4% in both Correct and Correct@k metrics, respectively. This innovative approach holds promise for advancing the reliability and robustness of Android applications, making a valuable contribution to the field of software development.

cs.SE↗

MegaScale: Scaling Large Language Model Training to More Than 10,000 GPUs

We present the design, implementation and engineering experience in building and deploying MegaScale, a production system for training large language models (LLMs) at the scale of more than 10,000 GPUs. Training LLMs at this scale brings unprecedented challenges to training efficiency and stability. We take a full-stack approach that co-designs the algorithmic and system components across model block and optimizer design, computation and communication overlapping, operator optimization, data pipeline, and network performance tuning. Maintaining high efficiency throughout the training process (i.e., stability) is an important consideration in production given the long extent of LLM training jobs. Many hard stability issues only emerge at large scale, and in-depth observability is the key to address them. We develop a set of diagnosis tools to monitor system components and events deep in the stack, identify root causes, and derive effective techniques to achieve fault tolerance and mitigate stragglers. MegaScale achieves 55.2% Model FLOPs Utilization (MFU) when training a 175B LLM model on 12,288 GPUs, improving the MFU by 1.34x compared to Megatron-LM. We share our operational experience in identifying and fixing failures and stragglers. We hope by articulating the problems and sharing our experience from a systems perspective, this work can inspire future LLM systems research.

cs.LG↗

Homoclinic and heteroclinic intersections for lemon billiards

We study the dynamical billiards on a symmetric lemon table $\mathcal{Q}(b)$, where $\mathcal{Q}(b)$ is the intersection of two unit disks with center distance $b$. We show that there exists $δ_0>0$ such that for all $b\in(1.5, 1.5+δ_0)$ (except possibly a discrete subset), the billiard map $F_b$ on the lemon table $\mathcal{Q}(b)$ admits crossing homoclinic and heteroclinic intersections. In particular, such lemon billiards have positive topological entropy.

math.DS↗

Distributed Partial Quantum Consensus of Qubit Networks with Connected Topologies

In this paper, we consider the partial quantum consensus problem of a qubit network in a distributed view. The local quantum operation is designed based on the Hamiltonian by using the local information of each quantum system in a network of qubits. We construct the unitary transformation for each quantum system to achieve the partial quantum consensus, i.e., the directions of the quantum states in the Bloch ball will reach an agreement. A simple case of two-qubit quantum systems is considered first, and a minimum completing time of reaching partial consensus is obtained based on the geometric configuration of each qubit. Furthermore, we extend the approaches to deal with the more general N-qubit networks. Two partial quantum consensus protocols, based on the Lyapunov method for chain graphs and the geometry method for connected graphs, are proposed. The geometry method can be utilized to deal with more general connected graphs, while for the Lyapunov method, the global consensus can be obtained. The numerical simulation over a qubit network is demonstrated to verify the validity and the effectiveness of the theoretical results.

quant-ph↗

Two-Sample Hypothesis Testing for Large Random Graphs of Unequal Size

Two-sample hypothesis testing for large graphs is popular in cognitive science, probabilistic machine learning and artificial intelligence. While numerous methods have been proposed in the literature to address this problem, less attention has been devoted to scenarios involving graphs of unequal size or situations where there are only one or a few samples of graphs. In this article, we propose a Frobenius test statistic tailored for small sample sizes and unequal-sized random graphs to test whether they are generated from the same model or not. Our approach involves an algorithm for generating bootstrapped adjacency matrices from estimated community-wise edge probability matrices, forming the basis of the Frobenius test statistic. We derive the asymptotic distribution of the proposed test statistic and validate its stability and efficiency in detecting minor differences in underlying models through simulations. Furthermore, we explore its application to fMRI data where we are able to distinguish brain activity patterns when subjects are exposed to sentences and pictures for two different stimuli and the control group.

stat.ME↗

Large Language Models for Forecasting and Anomaly Detection: A Systematic Literature Review

This systematic literature review comprehensively examines the application of Large Language Models (LLMs) in forecasting and anomaly detection, highlighting the current state of research, inherent challenges, and prospective future directions. LLMs have demonstrated significant potential in parsing and analyzing extensive datasets to identify patterns, predict future events, and detect anomalous behavior across various domains. However, this review identifies several critical challenges that impede their broader adoption and effectiveness, including the reliance on vast historical datasets, issues with generalizability across different contexts, the phenomenon of model hallucinations, limitations within the models' knowledge boundaries, and the substantial computational resources required. Through detailed analysis, this review discusses potential solutions and strategies to overcome these obstacles, such as integrating multimodal data, advancements in learning methodologies, and emphasizing model explainability and computational efficiency. Moreover, this review outlines critical trends that are likely to shape the evolution of LLMs in these fields, including the push toward real-time processing, the importance of sustainable modeling practices, and the value of interdisciplinary collaboration. Conclusively, this review underscores the transformative impact LLMs could have on forecasting and anomaly detection while emphasizing the need for continuous innovation, ethical considerations, and practical solutions to realize their full potential.

cs.LG↗