SearcharxivSearch

arXiv subjects

Daliang Li

Publications and source records attributed to Daliang Li.

At least 19 recordsLinked to original sources

ReST meets ReAct: Self-Improvement for Multi-Step Reasoning LLM Agent

Answering complex natural language questions often necessitates multi-step reasoning and integrating external information. Several systems have combined knowledge retrieval with a large language model (LLM) to answer such questions. These systems, however, suffer from various failure cases, and we cannot directly train them end-to-end to fix such failures, as interaction with external knowledge is non-differentiable. To address these deficiencies, we define a ReAct-style LLM agent with the ability to reason and act upon external knowledge. We further refine the agent through a ReST-like method that iteratively trains on previous trajectories, employing growing-batch reinforcement learning with AI feedback for continuous self-improvement and self-distillation. Starting from a prompted large model and after just two iterations of the algorithm, we can produce a fine-tuned small model that achieves comparable performance on challenging compositional question-answering benchmarks with two orders of magnitude fewer parameters.

cs.CL

The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformers

This paper studies the curious phenomenon for machine learning models with Transformer architectures that their activation maps are sparse. By activation map we refer to the intermediate output of the multi-layer perceptrons (MLPs) after a ReLU activation function, and by sparse we mean that on average very few entries (e.g., 3.0% for T5-Base and 6.3% for ViT-B16) are nonzero for each input to MLP. Moreover, larger Transformers with more layers and wider MLP hidden dimensions are sparser as measured by the percentage of nonzero entries. Through extensive experiments we demonstrate that the emergence of sparsity is a prevalent phenomenon that occurs for both natural language processing and vision tasks, on both training and evaluation data, for Transformers of various configurations, at layers of all depth levels, as well as for other architectures including MLP-mixers and 2-layer MLPs. We show that sparsity also emerges using training datasets with random labels, or with random inputs, or with infinite amount of data, demonstrating that sparsity is not a result of a specific family of datasets. We discuss how sparsity immediately implies a way to significantly reduce the FLOP count and improve efficiency for Transformers. Moreover, we demonstrate perhaps surprisingly that enforcing an even sparser activation via Top-k thresholding with a small value of k brings a collection of desired but missing properties for Transformers, namely less sensitivity to noisy training data, more robustness to input corruptions, and better calibration for their prediction confidence.

cs.LG

Large Language Models with Controllable Working Memory

Large language models (LLMs) have led to a series of breakthroughs in natural language processing (NLP), owing to their excellent understanding and generation abilities. Remarkably, what further sets these models apart is the massive amounts of world knowledge they internalize during pretraining. While many downstream applications provide the model with an informational context to aid its performance on the underlying task, how the model's world knowledge interacts with the factual information presented in the context remains under explored. As a desirable behavior, an LLM should give precedence to the context whenever it contains task-relevant information that conflicts with the model's memorized knowledge. This enables model predictions to be grounded in the context, which can then be used to update or correct specific model predictions without frequent retraining. By contrast, when the context is irrelevant to the task, the model should ignore it and fall back on its internal knowledge. In this paper, we undertake a first joint study of the aforementioned two properties, namely controllability and robustness, in the context of LLMs. We demonstrate that state-of-the-art T5 and PaLM (both pretrained and finetuned) could exhibit poor controllability and robustness, which do not scale with increasing model size. As a solution, we propose a novel method - Knowledge Aware FineTuning (KAFT) - to strengthen both controllability and robustness by incorporating counterfactual and irrelevant contexts to standard supervised datasets. Our comprehensive evaluation showcases the utility of KAFT across model architectures and sizes.

cs.CL

Two-stage LLM Fine-tuning with Less Specialization and More Generalization

Pretrained large language models (LLMs) are general purpose problem solvers applicable to a diverse set of tasks with prompts. They can be further improved towards a specific task by fine-tuning on a specialized dataset. However, fine-tuning usually makes the model narrowly specialized on this dataset with reduced general in-context learning performances, which is undesirable whenever the fine-tuned model needs to handle additional tasks where no fine-tuning data is available. In this work, we first demonstrate that fine-tuning on a single task indeed decreases LLMs' general in-context learning performance. We discover one important cause of such forgetting, format specialization, where the model overfits to the format of the fine-tuned task.We further show that format specialization happens at the very beginning of fine-tuning. To solve this problem, we propose Prompt Tuning with MOdel Tuning (ProMoT), a simple yet effective two-stage fine-tuning framework that reduces format specialization and improves generalization.ProMoT offloads task-specific format learning into additional and removable parameters by first doing prompt tuning and then fine-tuning the model itself with this soft prompt attached. With experiments on several fine-tuning tasks and 8 in-context evaluation tasks, we show that ProMoT achieves comparable performance on fine-tuned tasks to standard fine-tuning, but with much less loss of in-context learning performances across a board range of out-of-domain evaluation tasks. More importantly, ProMoT can even enhance generalization on in-context learning tasks that are semantically related to the fine-tuned task, e.g. ProMoT on En-Fr translation significantly improves performance on other language pairs, and ProMoT on NLI improves performance on summarization. Experiments also show that ProMoT can improve the generalization performance of multi-task training.

cs.CL

Understanding Robustness of Transformers for Image Classification

Deep Convolutional Neural Networks (CNNs) have long been the architecture of choice for computer vision tasks. Recently, Transformer-based architectures like Vision Transformer (ViT) have matched or even surpassed ResNets for image classification. However, details of the Transformer architecture -- such as the use of non-overlapping patches -- lead one to wonder whether these networks are as robust. In this paper, we perform an extensive study of a variety of different measures of robustness of ViT models and compare the findings to ResNet baselines. We investigate robustness to input perturbations as well as robustness to model perturbations. We find that when pre-trained with a sufficient amount of data, ViT models are at least as robust as the ResNet counterparts on a broad range of perturbations. We also find that Transformers are robust to the removal of almost any single layer, and that while activations from later layers are highly correlated with each other, they nevertheless play an important role in classification.

cs.CV

Modifying Memories in Transformer Models

Large Transformer models have achieved impressive performance in many natural language tasks. In particular, Transformer based language models have been shown to have great capabilities in encoding factual knowledge in their vast amount of parameters. While the tasks of improving the memorization and generalization of Transformers have been widely studied, it is not well known how to make transformers forget specific old facts and memorize new ones. In this paper, we propose a new task of \emph{explicitly modifying specific factual knowledge in Transformer models while ensuring the model performance does not degrade on the unmodified facts}. This task is useful in many scenarios, such as updating stale knowledge, protecting privacy, and eliminating unintended biases stored in the models. We benchmarked several approaches that provide natural baseline performances on this task. This leads to the discovery of key components of a Transformer model that are especially effective for knowledge modifications. The work also provides insights into the role that different training phases (such as pretraining and fine-tuning) play towards memorization and knowledge modification.

cs.CL

FedMD: Heterogenous Federated Learning via Model Distillation

Federated learning enables the creation of a powerful centralized model without compromising data privacy of multiple participants. While successful, it does not incorporate the case where each participant independently designs its own model. Due to intellectual property concerns and heterogeneous nature of tasks and data, this is a widespread requirement in applications of federated learning to areas such as health care and AI as a service. In this work, we use transfer learning and knowledge distillation to develop a universal framework that enables federated learning when each agent owns not only their private data, but also uniquely designed models. We test our framework on the MNIST/FEMNIST dataset and the CIFAR10/CIFAR100 dataset and observe fast improvement across all participating models. With 10 distinct participants, the final test accuracy of each model on average receives a 20% gain on top of what's possible without collaboration and is only a few percent lower than the performance each model would have obtained if all private datasets were pooled and made directly available for all participants.

cs.LG

Probing Universalities in d>2 CFTs: from Black Holes to Shockwaves

Gravitational shockwaves are insensitive to higher-curvature corrections in the action. Recent work found that the OPE coefficients of lowest-twist multi-stress-tensor operators, computed holographically in a planar black hole background, are insensitive as well. In this paper, we analyze the relation between these two limits. We explicitly evaluate the two-point function on a shockwave background to all orders in a large central charge expansion. In the geodesic limit, we find that the ANEC exponentiates in the multi-stress-tensor sector. To compare with the black hole limit, we obtain a recursion relation for the lowest-twist products of two stress tensors in a spherical black hole background, letting us efficiently compute their OPE coefficients and prove their insensitivity to higher curvature terms. After resumming the lowest-twist stress-tensors and analytically continuing their contributions to the Regge limit, we find a perfect agreement with the shockwave computation. We also discuss the role of double-trace operators, global degenerate states, and multi-stress-tensor conformal blocks. These holographic results suggest the existence of a larger universal structure in higher-dimensional CFTs.

hep-th

The Bulk-to-Boundary Propagator in Black Hole Microstate Backgrounds

First-quantized propagation in quantum gravitational AdS$_3$ backgrounds can be exactly reconstructed using CFT$_2$ data and Virasoro symmetry. We develop methods to compute the bulk-to-boundary propagator in a black hole microstate, $\langle ϕ_L \mathcal{O}_L \mathcal{O}_H \mathcal{O}_H\rangle$, at finite central charge. As a first application, we show that the semiclassical theory on the Euclidean BTZ solution sharply disagrees with the exact description, as expected based on the resolution of forbidden thermal singularities, though this effect may appear exponentially small for physical observers.

hep-th

Bulk Matter and the Boundary Quantum Null Energy Condition

We investigate the quantum null energy condition (QNEC) in holographic CFTs, focusing on half-spaces and particular classes of states. We present direct, and in certain cases nonperturbative, calculations for both the diagonal and off- diagonal variational derivatives of entanglement entropy. In d > 2, we find that the QNEC is saturated. We compute relations between the off-diagonal variation of entanglement, boundary relative entropy, and the bulk stress tensor. Strong subadditivity then leads to energy conditions in the bulk. In d = 2, we find that the QNEC is in general not saturated when the Ryu-Takayanagi surface intersects bulk matter. Moreover, when bulk matter is present the QNEC can imply new bulk energy conditions. For a simple class of states, we derive an example that is stronger than the bulk averaged null energy condition and reduces to it in certain limits.

hep-th

Two-point functions of conformal primary operators in $\mathcal{N}=1$ superconformal theories

In $\mathcal{N}=1$ superconformal theories in four dimensions the two-point function of superconformal multiplets is known up to an overall constant. A superconformal multiplet contains several conformal primary operators, whose two-point function coefficients can be determined in terms of the multiplet's quantum numbers. In this paper we work out these coefficients in full generality, i.e. for superconformal multiplets that belong to any irreducible representation of the Lorentz group with arbitrary scaling dimension and R-charge. From our results we recover the known unitarity bounds, and also find all shortening conditions, even for non-unitary theories. For the purposes of our computations we have developed a Mathematica package for the efficient handling of expansions in Grassmann variables.

hep-th

The AdS$_3$ Propagator and the Fate of Locality

We recently used Virasoro symmetry considerations to propose an exact formula for a bulk proto-field $ϕ$ in AdS$_3$. In this paper we study the propagator $\langle ϕϕ\rangle$. We show that many techniques from the study of conformal blocks can be generalized to compute it, including the semiclassical monodromy method and both forms of the Zamolodchikov recursion relations. When the results from recursion are expanded at large central charge, they match gravitational perturbation theory for a free scalar field coupled to gravity in our chosen gauge. We find that although the propagator is finite and well-defined at long distances, its perturbative expansion in $G_N = \frac{3}{2c}$ exhibits UV/IR mixing effects. If we nevertheless interpret $\langle ϕϕ\rangle$ as a probe of bulk locality, then when $G_N m_ϕ\ll 1$ locality breaks down at the new short-distance scale $σ_* \sim \sqrt[4]{G_N R_{AdS}^3}$. For $ϕ$ with very large bulk mass, or at small central charge, bulk locality fails at the AdS length scale. In all cases, locality `breakdown' manifests as singularities or branch cuts at spacelike separation arising from non-perturbative quantum gravitational effects.

hep-th

An Exact Operator That Knows Its Location

We use conformal symmetry to define an AdS$_3$ proto-field $ϕ$ as an exact linear combination of Virasoro descendants of a CFT$_2$ primary operator $\mathcal{O}$. We find that both symmetry considerations and a gravitational Wilson line formalism lead to the same results. The operator $ϕ$ has many desirable properties; in particular it has correlators that agree with gravitational perturbation theory when expanded at large $c$, and that automatically take the correct form in all vacuum AdS$_3$ geometries, including BTZ black hole backgrounds. In the future it should be possible to use $ϕ$ to probe bulk locality and black hole horizons at a non-perturbative level.

hep-th

Conformal Bootstrap in the Regge Limit

We analytically solve the conformal bootstrap equations in the Regge limit for large N conformal field theories. For theories with a parametrically large gap, the amplitude is dominated by spin-2 exchanges and we show how the crossing equations naturally lead to the construction of AdS exchange Witten diagrams. We also show how this is encoded in the anomalous dimensions of double-trace operators of large spin and large twist. We use the chaos bound to prove that the anomalous dimensions are negative. Extending these results to correlators containing two scalars and two conserved currents, we show how to reproduce the CEMZ constraint that the three-point function between two currents and one stress tensor only contains the structure given by Einstein-Maxwell theory in AdS, up to small corrections. Finally, we consider the case where operators of unbounded spin contribute to the Regge amplitude, whose net effect is captured by summing the leading Regge trajectory. We compute the resulting anomalous dimensions and corrections to OPE coefficients in the crossed channel and use the chaos bound to show that both are negative.

hep-th

OPE Methods for the Holomorphic Higgs Portal

We develop a systematic and general approach to study the effective Higgs Lagrangian in a supersymmetric framework in which the Higgs fields in the visible sector couple weakly to another sector. The extra sector may be strongly coupled in general. It is assumed to be superconformal in the ultraviolet, but develop a mass-gap with supersymmetry breaking in the infrared. The main technique used in our approach is that of the operator product expansion (OPE). By using OPE methods we are able to compute the parameters in the Higgs Lagrangian to quadratic order and make general statements that are applicable to many classes of models. Not only does this approach allow us to understand the traditional problems plaguing simple models from a different perspective, it also reveals new possibilities for solutions of these problems. The methods and results of our work should be useful in constructing a viable and natural model of physics beyond the Standard Model.

hep-ph

Exact Virasoro Blocks from Wilson Lines and Background-Independent Operators

Aspects of black hole thermodynamics and information loss can be derived as a consequence of Virasoro symmetry. To bolster the connection between Virasoro conformal blocks and AdS$_3$ quantum gravity, we study sl$(2)$ Chern-Simons Wilson line networks and revisit the idea that they compute a variety of CFT$_2$ observables, including Virasoro OPE blocks, exactly. We verify this in the semiclassical large central charge limit and to low orders in a perturbative $1/c$ expansion. Wilson lines connecting the boundary to points in the bulk play a natural role in bulk reconstruction. Because quantum gravity in AdS$_3$ is rigidly fixed by Virasoro symmetry, we argue that sl$(2)$ Wilson lines provide building blocks for background independent bulk reconstruction. In particular, we show explicitly that they automatically compute the uniformizing coordinates appropriate to any background state.

hep-th

Bootstrapping Mixed Correlators in 4D $\mathcal{N}=1$ SCFTs

The numerical conformal bootstrap is used to study mixed correlators in $\mathcal{N}=1$ superconformal field theories (SCFTs) in $d=4$ spacetime dimensions. Systems of four-point functions involving scalar chiral and real operators are analyzed, including the case where the scalar real operator is the zero component of a global conserved current multiplet. New results on superconformal blocks as well as universal constraints on the space of 4D $\mathcal{N}=1$ SCFTs with chiral operators are presented. At the level of precision used, the conditions under which the putative "minimal" 4D $\mathcal{N}=1$ SCFT may be isolated into a disconnected allowed region remain elusive. Nevertheless, new features of the bounds are found that provide further evidence for the presence of a special solution to crossing symmetry corresponding to the "minimal" 4D $\mathcal{N}=1$ SCFT.

hep-th

A Numerical Approach to Virasoro Blocks and the Information Paradox

We chart the breakdown of semiclassical gravity by analyzing the Virasoro conformal blocks to high numerical precision, focusing on the heavy-light limit corresponding to a light probe propagating in a BTZ black hole background. In the Lorentzian regime, we find empirically that the initial exponential time-dependence of the blocks transitions to a universal $t^{-\frac{3}{2}}$ power-law decay. For the vacuum block the transition occurs at $t \approx \frac{πc}{6 h_L}$, confirming analytic predictions. In the Euclidean regime, due to Stokes phenomena the naive semiclassical approximation fails completely in a finite region enclosing the `forbidden singularities'. We emphasize that limitations on the reconstruction of a local bulk should ultimately stem from distinctions between semiclassical and exact correlators.

hep-th