SearcharxivSearch

arXiv subjects

Lili Zhang

Publications and source records attributed to Lili Zhang.

At least 19 recordsLinked to original sources

LLM-Based Generative Retrieval for Snapchat Content Recommendation

Pretrained large language models (LLMs) are promising retrieval engines because they combine rich semantic priors, strong sequence modeling capabilities, and favorable scaling behavior. However, turning a pretrained LLM into a generative retriever in production deployment raises several challenges: the model must learn an internal item vocabulary that was absent from pretraining, and generate valid item identifiers under strict latency and cost constraints. We address these challenges through the design and launch of SnapLGR, an LLM-based generative retrieval system for short-video recommendation at Snapchat. The system is built around three main designs. First, we construct semantic identifiers (SIDs) from multimodal item embeddings and enhance them with Personalized PageRank (PPR)-based co-engagement contrastive learning, resulting in improved codebook utilization, reduced collisions, and infused collaborative signal. Second, we use continued pretraining (CPT) to ground the introduced SID tokens before supervised fine-tuning (SFT) on user interaction sequences. Third, we make SnapLGR serving practical through TensorRT-LLM CUDA-backed beam search and a decentralized worker-loop architecture. In a live A/B test, the launched system increased View Time by 0.37%, Time Spent by 0.09%, Deep Sessions by 0.18%, and Deep Sessions Unique User by 0.11% relative to the existing TIGER-style generative retrieval baseline. We then decompose this offline gap under a fixed tokenizer and quantify the gains due to model architecture, scaling, and pretraining. Overall, our deployment shows that successful production SnapLGR requires joint design across representation learning, vocabulary grounding, and efficient training and serving.

cs.IR

Semantic IDs for Recommender Systems at Snapchat: Use Cases, Technical Challenges, and Design Choices

Effective item identifiers (IDs) are an important component for recommender systems (RecSys) in practice, and are commonly adopted in many use cases such as retrieval and ranking. IDs can encode collaborative filtering signals within training data, such that RecSys models can extrapolate during the inference and personalize the prediction based on users' behavioral histories. Recently, Semantic IDs (SIDs) have become a trending paradigm for RecSys. In comparison to the conventional atomic ID, an SID is an ordered list of codes, derived from tokenizers such as residual quantization, applied to semantic representations commonly extracted from foundation models or collaborative signals. SIDs have drastically smaller cardinality than the atomic counterpart, and induce semantic clustering in the ID space. At Snapchat, we apply SIDs as auxiliary features for ranking models, and also explore SIDs as additional retrieval sources in different ML applications. In this paper, we discuss practical technical challenges we encountered while applying SIDs, experiments we have conducted, and design choices we have iterated to mitigate these challenges. Backed by promising offline results on both internal data and academic benchmarks as well as online A/B studies, SID variants have been launched in multiple production models with positive metrics impact.

cs.IR

Comparative reversal learning reveals rigid adaptation in LLMs under non-stationary uncertainty

Non-stationary environments require agents to revise previously learned action values when contingencies change. We treat large language models (LLMs) as sequential decision policies in a two-option probabilistic reversal-learning task with three latent states and switch events triggered by either a performance criterion or timeout. We compare a deterministic fixed transition cycle to a stochastic random schedule that increases volatility, and evaluate DeepSeek-V3.2, Gemini-3, and GPT-5.2, with human data as a behavioural reference. Across models, win-stay was near ceiling while lose-shift was markedly attenuated, revealing asymmetric use of positive versus negative evidence. DeepSeek-V3.2 showed extreme perseveration after reversals and weak acquisition, whereas Gemini-3 and GPT-5.2 adapted more rapidly but still remained less loss-sensitive than humans. Random transitions amplified reversal-specific persistence across LLMs yet did not uniformly reduce total wins, demonstrating that high aggregate payoff can coexist with rigid adaptation. Hierarchical reinforcement-learning (RL) fits indicate dissociable mechanisms: rigidity can arise from weak loss learning, inflated policy determinism, or value polarisation via counterfactual suppression. These results motivate reversal-sensitive diagnostics and volatility-aware models for evaluating LLMs under non-stationary uncertainty.

cs.AI

Rigidity in LLM Bandits with Implications for Human-AI Dyads

We test whether LLMs show robust decision biases. Treating models as participants in two-arm bandits, we ran 20000 trials per condition across four decoding configurations. Under symmetric rewards, models amplified positional order into stubborn one-arm policies. Under asymmetric rewards, they exploited rigidly yet underperformed an oracle and rarely re-checked. The observed patterns were consistent across manipulations of temperature and top-p, with top-k held at the provider default, indicating that the qualitative behaviours are robust to the two decoding knobs typically available to practitioners. Crucially, moving beyond descriptive metrics to computational modelling, a hierarchical Rescorla-Wagner-softmax fit revealed the underlying strategies: low learning rates and very high inverse temperatures, which together explain both noise-to-bias amplification and rigid exploitation. These results position minimal bandits as a tractable probe of LLM decision tendencies and motivate hypotheses about how such biases could shape human-AI interaction.

cs.AI

Origin of anomalous p-type conductivity in monolayer Fe-doped MoS2

Substitutional doping effectively modulates carrier polarity of semiconducting two-dimensional (2D) transition metal dichalcogenides (TMDs) like MoS2. Although Fe doping typically induces n-type conductivity in monolayer MoS2, anomalous p-type behavior has also been experimentally reported, the origin of which remains unresolved. Here, we prove that this anomalous p-type conductivity originates from defect associates formed through interactions between Fe dopants and S atoms, which consists of three Fe substituting Mo (FeMo) point defects arranged into an equilateral triangle with a central S atom, denoted as 3FeMo-S associate. Its p-type effect is directly verified through scanning tunneling microscopy/scanning tunneling spectroscopy (STM/STS) measurement, in sharp contrast to the n-type behavior induced by isolated FeMo point defects, and the conclusion is further supported by electrical transport measurements and first-principles calculations. Similar 3FeW-S associates and their p-type doping effect are also identified in monolayer Fe-doped WS2. This work resolves a longstanding controversy and highlights the critical role of defect associates in modulating properties of 2D TMDs.

cond-mat.mtrl-sci

High-pressure structural and lattice-dynamics study of Yttria-Stabilized Zirconia

The structural evolution of two selected compositions of Yttria-Stabilized Zirconia (YSZ), with 3mol% (3YSZ) and 8mol% (8YSZ) of Y2O3, have been investigated under pressure using in-situ synchrotron X-ray diffraction (XRD) and Raman spectroscopy in a diamond anvil cell up to 40 GPa (at room temperature).The close crystallographic relation between the observed structures and the relatively large difference in the atomic numbers of Y/Zr and O, imposes the simultaneous study using both techniques, aiming to fully elucidate the structural evolution under pressure. The results, by combining both techniques, reveal that for both 3YSZ and 8YSZ, pressure promotes higher-symmetry structures. Under initial compression, the minority at ambient conditions monoclinic phase (m-phase) gradually transforms towards t-phase, a transition that is concluded for both 3YSZ/8YSZ at ~10 GPa. At higher pressures, the solely remaining t-phase of 3YSZ transforms to the t'', that in turns transforms to the c-phase above 28 GPa. Likewise, for 8YSZ the coexistence of t- and t''-phases continue up to 31 GPa, where both transforms towards c-phase, that remains stable up to the highest pressure of this study. Upon pressure release, all observed transitions are fully reversible with negligible hysteresis, with the exception of the practical disappearance of the monoclinic phase at ambient conditions. Our study underscores the significance of simultaneously performing and analyzing the results of both XRD and Raman spectroscopy studies in relevant crystallographic systems. Moreover, it provides a route towards a ``structural purification'' of YSZ through the elimination of the m-phase aiming to improve material properties.

cond-mat.mtrl-sci

High Pressure Superconducting transition in Dihydride BiH$_2$ with Bismuth Open-Channel Framework

Metal hydrides MHx with low hydrogen content are not expected to show high-Tc superconductivity owing to the low hydrogen-derived electronic density of states at Fermi level and the limited hydrogen contribution to electron-phonon coupling strength. In this work, we report on the successful synthesis of a novel bismuth dihydride superconductor, Cmcm-BiH$_2$, at approximately 150 GPa, and the discovery of superconductivity with Tc about 62 K at 163 GPa, marking the first instance of superconductor among the MH$_2$-type metal dihydrides. Cmcm-BiH$_2$ adopts a unique host-guest type structure, in which the Bi atoms via weak Bi-Bi covalent bonds form a three-dimensional open-channel framework that encapsulates H$_2$-like molecules as guests, thereby broadening the structural diversity of hydrides under high pressures. The occurrence of superconductivity is evidenced by a sharp drop of resistivity to zero and the characteristic downward shift of Tc under applied magnetic fields. Notably, Cmcm-BiH$_2$ remains stable down to at least 97 GPa during decompression, with the calculated lowest pressure for dynamic stability of 10 GPa. In-depth analysis reveals that the covalent bismuth open-channel structure forms metallic conduction channels, dominates the electronic states near the Fermi level, and contributes approximately 51% of the total $lambda$ in Cmcm-BiH$_2$, distinguishing it from known high-pressure hydride superconductors. These findings highlight the critical role of non-hydrogen elements in producing superconductivity and open new avenues for the design and optimization of high-Tc hydride superconductors.

cond-mat.supr-con

Adversarial Testing in LLMs: Insights into Decision-Making Vulnerabilities

As Large Language Models (LLMs) become increasingly integrated into real-world decision-making systems, understanding their behavioural vulnerabilities remains a critical challenge for AI safety and alignment. While existing evaluation metrics focus primarily on reasoning accuracy or factual correctness, they often overlook whether LLMs are robust to adversarial manipulation or capable of using adaptive strategy in dynamic environments. This paper introduces an adversarial evaluation framework designed to systematically stress-test the decision-making processes of LLMs under interactive and adversarial conditions. Drawing on methodologies from cognitive psychology and game theory, our framework probes how models respond in two canonical tasks: the two-armed bandit task and the Multi-Round Trust Task. These tasks capture key aspects of exploration-exploitation trade-offs, social cooperation, and strategic flexibility. We apply this framework to several state-of-the-art LLMs, including GPT-3.5, GPT-4, Gemini-1.5, and DeepSeek-V3, revealing model-specific susceptibilities to manipulation and rigidity in strategy adaptation. Our findings highlight distinct behavioral patterns across models and emphasize the importance of adaptability and fairness recognition for trustworthy AI deployment. Rather than offering a performance benchmark, this work proposes a methodology for diagnosing decision-making weaknesses in LLM-based agents, providing actionable insights for alignment and safety research.

cs.AI

Materials discovery acceleration by using condition generative methodology

With the rapid advancement of AI technologies, generative models have been increasingly employed in the exploration of novel materials. By integrating traditional computational approaches such as density functional theory (DFT) and molecular dynamics (MD), existing generative models, including diffusion models and autoregressive models, have demonstrated remarkable potential in the discovery of novel materials. However, their efficiency in goal-directed materials design remains suboptimal. In this work we developed a highly transferable, efficient and robust conditional generation framework, PODGen, by integrating a general generative model with multiple property prediction models. Based on PODGen, we designed a workflow for the high-throughput crystals conditional generation which is used to search new topological insulators (TIs). Our results show that the success rate of generating TIs using our framework is 5.3 times higher than that of the unconstrained approach. More importantly, while general methods rarely produce gapped TIs, our framework succeeds consistently, highlighting an effectively $\infty$ improvement. This demonstrates that conditional generation significantly enhances the efficiency of targeted material discovery. Using this method, we generated tens of thousands of new topological materials and conducted further first-principles calculations on those with promising application potential. Furthermore, we identified promising, synthesizable topological (crystalline) insulators such as CsHgSb, NaLaB$_{12}$, Bi$_4$Sb$_2$Se$_3$, Be$_3$Ta$_2$Si and Be$_2$W.

cond-mat.mtrl-sci

Improving Network Threat Detection by Knowledge Graph, Large Language Model, and Imbalanced Learning

Network threat detection has been challenging due to the complexities of attack activities and the limitation of historical threat data to learn from. To help enhance the existing practices of using analytics, machine learning, and artificial intelligence methods to detect the network threats, we propose an integrated modelling framework, where Knowledge Graph is used to analyze the users' activity patterns, Imbalanced Learning techniques are used to prune and weigh Knowledge Graph, and LLM is used to retrieve and interpret the users' activities from Knowledge Graph. The proposed framework is applied to Agile Threat Detection through Online Sequential Learning. The preliminary results show the improved threat capture rate by 3%-4% and the increased interpretabilities of risk predictions based on the users' activities.

cs.LG

TS-SatMVSNet: Slope Aware Height Estimation for Large-Scale Earth Terrain Multi-view Stereo

3D terrain reconstruction with remote sensing imagery achieves cost-effective and large-scale earth observation and is crucial for safeguarding natural disasters, monitoring ecological changes, and preserving the environment.Recently, learning-based multi-view stereo~(MVS) methods have shown promise in this task. However, these methods simply modify the general learning-based MVS framework for height estimation, which overlooks the terrain characteristics and results in insufficient accuracy. Considering that the Earth's surface generally undulates with no drastic changes and can be measured by slope, integrating slope considerations into MVS frameworks could enhance the accuracy of terrain reconstructions. To this end, we propose an end-to-end slope-aware height estimation network named TS-SatMVSNet for large-scale remote sensing terrain reconstruction.To effectively obtain the slope representation, drawing from mathematical gradient concepts, we innovatively proposed a height-based slope calculation strategy to first calculate a slope map from a height map to measure the terrain undulation. To fully integrate slope information into the MVS pipeline, we separately design two slope-guided modules to enhance reconstruction outcomes at both micro and macro levels. Specifically, at the micro level, we designed a slope-guided interval partition module for refined height estimation using slope values. At the macro level, a height correction module is proposed, using a learnable Gaussian smoothing operator to amend the inaccurate height values. Additionally, to enhance the efficacy of height estimation, we proposed a slope direction loss for implicitly optimizing height estimation results. Extensive experiments on the WHU-TLC dataset and MVS3D dataset show that our proposed method achieves state-of-the-art performance and demonstrates competitive generalization ability.

cs.CV

Collective Creation of Intimacy: Exploring the Cosplay Commission Practice within the Otome Game Community in China

Cosplay commission (cos-commission) is a new form of commodified intimate relationship within the Otome game community in China. To explore the motivations, practices, experiences, and challenges, we conducted semi-structured interviews with 15 participants in different roles. Our findings reveal that cos-commission, as a hybrid activity, provides participants with a chance to collaboratively build meaningful connections. It also offers a pathway for personal exploration and emotional recovery. However, the vague boundary between performative roles and intimate interactions can give rise to unexpected negative outcomes, such as attachment-driven entanglements and post-commission ``withdrawal symptoms.'' While digital platforms facilitate communication in cos-commissions, they often lack sufficient safeguards. This preliminary work provides insights into the formation process of hybrid intimate relationship and its potential to foster personalized, long-term support for mental well-being, and reveals potential privacy and safety challenges.

cs.HC

Unveiling pressurized bulk superconductivity in a trilayer nickelate Pr4Ni3O10 single crystal

The recent discovery of superconductivity in pressurized Ruddlesden-Popper (RP) nickelates has provided new perspectives on the mechanism of high-temperature superconductivity. Up to now, most experiments concentrated on the lanthanum-related RP phase, so the discovery of new superconducting RP nickelates is highly desirable to reveal their generality. Here we report that high-quality Pr4Ni3O10 single crystal is grown with an optical floating zone furnace under high oxygen pressure. High-pressure transport measurements show that the superconducting state arises above 10 GPa, and the maximum Tc reaches 39 K without saturation, significantly exceeding the value of 25-30 K of La4Ni3O10. Ultrasensitive d.c. magnetic susceptibility measurements under high pressure indicate bulk superconductivity with appreciable superconducting volume fractions. By performing in situ high-pressure synchrotron X-ray diffraction measurements at 16 K, a structural transition is found from monoclinic to tetragonal. Unlike La4Ni3O10, the electronic structure of the high-pressure phase of Pr4Ni3O10 from density functional theory exhibits a dramatic metallization of the sigma-bonding band consisting of three dz2 orbitals and van Hove singularity of coupled bands of dx2-y2 orbitals near the Fermi level, similar to the bilayer nickelate La3Ni2O7. These findings reveal some generic features of both crystal and electronic structures for high-temperature superconductivity in nickelates and multi-layer cuprates.

cond-mat.supr-con

Chemical versus physical pressure effects on the structure transition of bilayer nickelates

The observation of high-$T_c$ superconductivity (HTSC) in concomitant with pressure-induced orthorhombic-tetragonal structural transition in the bilayer La$_{3}$Ni$_2$O$_7$ has sparked hopes of achieving HTSC by stabilizing the tetragonal phase at ambient pressure. To mimic the effect of external physical pressures, the application of chemical pressure via replacing La$^3$$^+$ with smaller rare-earth R$^3$$^+$ has been considered as a potential route. Here we clarify the distinct effects of chemical and physical pressures on the structural transition of bilayer nickelates through a combined experimental and theoretical investigation. Contrary to general expectations, we find that substitutions of smaller R$^3$$^+$ for La$^3$$^+$ in La$_{3-x}$R$_x$Ni$_2$O$_{7-δ}$, despite of an overall lattice contraction, produce stronger orthorhombic structural distortions and thus require higher pressures to induce the structural transition. We established a quantitative relationship between the critical pressure $P_c$ for structural transition and the average size of $A$-site cations. A linear extrapolation of $P_c$ versus <$r_A$> yields a putative critical value of <$r_A$>$_c$ ~ 1.23 angstrom for $P_c$ ~ 1 bar. The negative correlation between $P_c$ and <$r_A$> indicates that it is unlikely to reduce $P_c$ to ambient by replacing La$^3$$^+$ with smaller R$^3$$^+$ ions. Instead, partial substitution of La$^3$$^+$ with larger cations such as alkaline-earth Sr$^2$$^+$ or Ba$^2$$^+$ might be a feasible approach. Our results provide valuable guidelines in the quest of ambient-pressure HTSC in bilayer nickelates.

cond-mat.str-el

Pressure induced nonmonotonic evolution of superconductivity in 6R-TaS2 with a natural bulk van der Waals heterostructure

The natural bulk van der Waals heterostructures compound 6R-TaS2 consists of alternate stacking 1T- and 1H-TaS2 monolayers, creating a unique system that incorporates charge-density-wave (CDW) order and superconductivity (SC) in distinct monolayers. Here, after confirming that the 2D nature of the lattice is preserved up to 8 GPa in 6R-TaS2, we documented an unusual evolution of CDW and SC by conducting highpressure electronic transport measurements. Upon compression, we observe a gradual suppression of CDW within the 1T-layers, while the SC exhibits a dome-shaped behavior that terminates at a critical pressure Pc around 2.9 GPa. By taking account of the fact that the substantial suppression of SC is concomitant with the complete collapse of CDW order at Pc, we argue that the 6R-TaS2 behaves like a stack of Josephson junctions and thus the suppressed superconductivity can be attributed to the weakening of Josephson coupling associated with the presence of CDW fluctuations in the 1T-layers. Furthermore, the SC reversely enhances above Pc, implying the development of emergent superconductivity in the 1T-layers after the melting of T-layer CDW orders. These results show that the 6R-TaS2 not only provides a promising platform to explore emergent phenomena but also serves as a model system to study the complex interactions between competing electronic states.

cond-mat.supr-con

Disorder-broadened phase boundary with enhanced amorphous superconductivity in pressurized In2Te5

As an empirical tool in materials science and engineering, the iconic phase diagram owes its robustness and practicality to the topological characteristics rooted in the celebrated Gibbs phase law (F = C - P + 2). When crossing the phase diagram boundary, the structure transition occurs abruptly, bringing about an instantaneous change in physical properties and limited controllability on the boundaries (F = 1). Here, we expand the sharp phase boundary to an amorphous transition region (F = 2) by partially disrupting the long-range translational symmetry, leading to a sequential crystalline-amorphous-crystalline (CAC) transition in a pressurized In2Te5 single crystal. Through detailed in-situ synchrotron diffraction, we elucidate that the phase transition stems from the rotation of immobile blocks [In2Te2]2+, linked by hinge-like [Te3]2- trimers. Remarkably, within the amorphous region, the amorphous phase demonstrates a notable 25 % increase of the superconducting transition temperature (Tc), while the carrier concentration remains relatively constant. Furthermore, we propose a theoretical framework revealing that the unconventional boost in amorphous superconductivity might be attributed to an intensified electron correlation, triggered by a disorder-augmented multifractal behavior. These findings underscore the potential of disorder and prompt further exploration of unforeseen phenomena on the phase boundaries.

cond-mat.supr-con

MuCo: Publishing Microdata with Privacy Preservation through Mutual Cover

We study the anonymization technique of k-anonymity family for preserving privacy in the publication of microdata. Although existing approaches based on generalization can provide good enough protections, the generalized table always suffers from considerable information loss, mainly because the distributions of QI (Quasi-Identifier) values are barely preserved and the results of query statements are groups rather than specific tuples. To this end, we propose a novel technique, called the Mutual Cover (MuCo), to prevent the adversary from matching the combination of QI values in published microdata. The rationale is to replace some original QI values with random values according to random output tables, making similar tuples to cover for each other with the minimum cost. As a result, MuCo can prevent both identity disclosure and attribute disclosure while retaining the information utility more effectively than generalization. The effectiveness of MuCo is verified with extensive experiments.

cs.CR

Pressure-induced structure phase transitions and superconductivity in dual topological insulator BiTe

The (Bi2)m(Bi2Te3)n homologous series possess natural multilayer heterostructure with intriguing physical properties at ambient pressure. Herein, we report the pressure-dependent evolution of the structure and electrical transport of the dual topological insulator BiTe, a member of the (Bi2)m(Bi2Te3)n series. With applied pressure, BiTe exhibits several different crystal structures and distinct superconducting states, which is remarkably similar to other members of the (Bi2)m(Bi2Te3)n series. Our results provide a systematic phase diagram for the pressure-induced superconductivity in BiTe, contributing to the highly interesting physics in this (Bi2)m(Bi2Te3)n series.

cond-mat.supr-con