Goto

Collaborating Authors

 Deep Learning


Do people apply different norms to humans and large language models acting on their behalf? Evidence from norm elicitations in two canonical economic games

arXiv.org Artificial Intelligence

While delegating tasks to large language models (LLMs) can save people time, there is growing evidence that offloading tasks to such models produces social costs. We elicit appropriateness of behavior in two canonical economic games to study whether people have different norms for humans and LLMs acting on their behalf. More specifically, we study the social appropriateness of a spectrum of possible behaviors: when LLMs divide resources on our behalf (Dictator Game and Ultimatum Game) and when they evaluate the fairness of resource splits (Ultimatum Game). We use the Krupka-Weber norm elicitation task to detect possible shifts in social appropriateness ratings. Results of two pre-registered and incentivized experimental studies using representative samples from the UK and US (N = 2,658) show three key findings. First, in the Dictator Game, the most socially appropriate allocation remains the equal split when the Dictator is a human or an LLM acting on behalf of a human, but self-serving allocations are judged less appropriate when implemented by an LLM. Second, in the Ultimatum Game, rejecting offers from an LLM Proposer is judged as more appropriate than rejecting identical offers from a human Proposer, with this difference concentrated among relatively generous offers. Lastly, rejection decisions implemented by an LLM Responder are judged no less appropriate than identical rejection decisions implemented by a human Responder. Post hoc, these patterns are consistent with the notion that people grant LLMs bounded agency in the investigated resource-allocation scenarios. Our findings have implications for the design of AI systems.


Shattered Compositionality: Counterintuitive Learning Dynamics of Transformers for Arithmetic

arXiv.org Artificial Intelligence

Large language models (LLMs) often achieve strong benchmark accuracy yet remain brittle under small distribution shifts. While recent mechanistic studies reveal the discrepancy between LLMs and humans in skill compositions, the learning dynamics of skill acquisition and the role of data distributions remain elusive. In this study, we train transformers on synthetic arithmetic tasks with black-box model-agnostic metrics for analyzing non-human skill compositions. We discover that transformers often acquire skills for arithmetic in reverse order or in parallel instead of human-like sequential rules--a phenomenon we refer to as shattered compositionality. To explain these behaviors, we provide evidence that correlational matching to the training data, rather than causal or procedural composition, shapes learning dynamics. As a consequence, this non-human acquisition creates competition between partially learned skills, producing characteristic mixing errors and weaker robustness under controlled distribution shifts. We further show that qualitatively similar behavior persists in modern LLMs and is not mitigated by pure model scaling or scratchpad supervision. Our results highlight a mismatch between training-time skill acquisition and the human-like hierarchical compositions, with implications for reasoning reliability and out-of-distribution robustness. 1


Critical Organization of p-Adic Deep Neural Networks

arXiv.org Artificial Intelligence

We study continuous neural networks whose neurons are the points of the ring of p-adic integers, a fractal tree-like space that encodes hierarchical architectures. The hidden states solve a nonlinear integral equation, which describes the equilibria of recurrent networks and deep equilibrium models; feedforward architectures appear as the special case of kernels without feedback. We prove that the state is unique and depends Lipschitz-continuously on the parameters whenever the product of the Lipschitz constant of the activation function and the operator norm of the connectivity is less than one, and that, when the parameters are locally constant, every state is exactly the state of a finite network with a tree-like topology. We introduce p-adic discrete deep networks, whose layers are the levels of the tree and whose weights are coarse-grainings of a single kernel, and show that, in the stable region, they converge to the continuous network as the depth tends to infinity. Feedforward networks always have a unique state; hence a multiplicity of states, and therefore critical organization in our sense, requires recurrence. For recurrent networks with radial kernels we prove a sharp transition: the zero state is the only state if and only if the total coupling does not exceed one. For hierarchical kernels, above the threshold, the states are indexed by sign patterns on the leaves of the tree, their number is computed exactly, and they form a tree-indexed partially ordered set graded by instability. Numerical experiments illustrate these results and test conjectures on general radial kernels and on random recurrent networks on the tree. Finally, we interpret the critical organization hypothesis for deep neural networks, originally formulated for brain organization, through the lens of multistability, and we discuss the continuous limits of families of finite networks.


The Impact of Large Language Models (LLMs) on Code Review Process

arXiv.org Artificial Intelligence

Large language models (LLMs) have recently gained prominence in the field of software development, significantly boosting productivity and simplifying teamwork. Although prior studies have examined task-specific applications, the phase-specific effects of LLM assistance on the efficiency of code review processes remain underexplored. This research investigates the effect of GPT on GitHub pull request (PR) workflows, with a focus on reducing resolution time, optimizing phase-specific performance, and assisting developers. We curated a dataset of 25,473 PRs from 9,254 GitHub projects and identified GPT-assisted PRs using a semi-automated heuristic approach that combines keyword-based detection, regular expression filtering, and manual verification until achieving 95% labeling accuracy. We then applied statistical modeling, including multiple linear regression and Mann-Whitney U test, to evaluate differences between GPT-assisted and non-assisted PRs, both at the overall resolution level and across distinct review phases. Our research has revealed that early adoption of GPT can substantially boost the effectiveness of the PR process, leading to considerable time savings at various stages. Our findings suggest that GPT-assisted PRs reduced median resolution time by more than 60% (9 hours compared to 23 hours for non-assisted PRs). We discovered that utilizing GPT can reduce the review time by 33% and the waiting time before acceptance by 87%. Analyzing a sample dataset of 300 GPT-assisted PRs, we discovered that developers predominantly use GPT for code optimization (60%), bug fixing (26%), and documentation updates (12%). This research sheds light on the impact of the GPT model on the code review process, offering actionable insights for software teams seeking to enhance workflows and promote seamless collaboration.


Hippasus: Accurate and Cost-Efficient Feature Augmentation over Relational Tables

arXiv.org Artificial Intelligence

ML models critically depend on feature quality, yet in real-world settings, useful features are often distributed across multiple relational tables rather than a single dataset. Feature augmentation addresses this problem by automatically discovering and joining additional tables to enrich a base table with predictive features. However, scaling feature augmentation to complex schemas with many tables and multi-hop relationships is challenging. It requires exploring a large space of join paths, executing costly joins, and selecting useful features from noisy results. Existing approaches suffer from either limited effectiveness or efficiency. Restricting exploration to simple joins limits predictive performance, while more expressive methods rely on expensive training data, lack scalability, or fail to fully exploit schema-level semantics. We present Hippasus, a cost-aware, LLM-guided feature augmentation framework over relational schemas, that addresses these challenges. Hippasus ranks candidate join paths before executing any join, by combining lightweight statistical signals with adaptive semantic analysis, invoking an LLM only when necessary. It further introduces efficient multi-way join execution with cross-path feature consolidation, and a hybrid feature selection strategy that integrates statistical relevance with semantic refinement. Experiments on 13 real-world datasets show that Hippasus improves predictive performance by up to 15.7% on average over state-of-the-art methods, while running on par with the fastest of them and keeping its LLM token cost low.


Constrained Bilevel Reinforcement Learning via Approximate Lower-Level Responses

arXiv.org Artificial Intelligence

In reinforcement learning (RL), this structure arises in hyperparameter optimization, meta-learning, reward design, inverse RL, and preference-based learning. We study the more challenging setting of constrained bilevel RL, where the lower-level policy must additionally satisfy safety, resource, fairness, or performance constraints and the upper-level variable modifies the reward or constraint specification of a lower-level constrained Markov decision process (CMDP). This setting covers several practical problems. In safe alignment from human feedback, the upper level fits reward and safety-cost models to human preferences evaluated on the policy that maximizes the learned reward subject to a cost budget, combining policy-aligned reward learning (Chakraborty et al., 2024) with the constrained formulation of Safe RLHF (Dai et al., 2024). In inverse constrained RL, the upper level infers an unknown constraint so that the resulting constrained-optimal policy matches expert demonstrations (Scobee & Sastry, 2020; Malik et al., 2021). In constrained reward design, the upper level chooses reward parameters to improve a designer-specified objective, while the lower-level agent optimizes the resulting reward subject to fixed safety or resource constraints.


Not All Gap Correction Helps: A Geometric View of External Information in LLM Inference

arXiv.org Artificial Intelligence

Providing external information beyond the query is a common way to improve large language model (LLM) inference, as seen in in-context learning (ICL), retrieval-augmented generation (RAG), and memory-based methods (Mem). Existing work increasingly suggests that useful external information should compensate for the gap between LLMs and user queries, implicitly assuming that stronger gap-correction can lead to better performance. In this paper, we challenge this assumption and show that more gap-corrective external information can instead harm performance. We analyze this phenomenon in Transformers through the lens of reasoning error, defined as the difference between the predicted answer vector and the ground-truth answer vector. Our analysis reveals that external information can be not only under-corrective but also over-corrective, where excessively strong correction increases reasoning error. We further show that the induced correction vector is jointly determined by attention and the complementarity between the external information and the query, and derive conditions under which information is properly corrective in both direction and magnitude. Experiments on four mainstream LLMs and seven reasoning benchmarks across ICL, RAG, and Mem validate our theory and support a theory-guided information selection method.


Multi-Step Underwater Acoustic Channel Prediction via Dual-Domain Structure Preservation and Pretrained Transformer

arXiv.org Artificial Intelligence

Accurate future channel state information (CSI) is essential for underwater acoustic (UWA) communication because delays associated with signal propagation, feedback, scheduling, and transceiver reconfiguration can render currently available CSI outdated. However, most existing predictors estimate only the next channel state and obtain multi-step forecasts through recursive rollout, which causes prediction errors to accumulate as the multipath structure evolves. The scarcity of sea-trial measurements further limits reliable model training. To address these challenges, we propose LLM4UACP, a dual-domain, structure-preserving framework that adapts a pretrained Transformer for few-shot multi-step UWA channel prediction. LLM4UACP extracts complementary features from the channel impulse response (CIR) and channel frequency response (CFR), aligns them through Fourier-consistent fusion, and encodes the fused representation as delay-time tokens. A pretrained Transformer with a frozen backbone is adapted through Butterfly Orthogonal Fine-tuning to jointly predict multiple future CIRs in a single forward pass, thereby avoiding the error accumulation associated with recursive prediction. Experiments on the measured SO-06 and SO-07 channels show that LLM4UACP achieves normalized mean squared error (NMSE) values of 0.0411 and 0.0399, corresponding to reductions of 88.53% and 85.15%, respectively, relative to the most recent baseline. With only 0.11M trainable parameters, LLM4UACP maintains robust performance across varying prediction horizons and observation-window lengths, limited-data settings, and cross-dataset transfer scenarios.


ANCRe: Adaptive Neural Connection Reassignment for Efficient Depth Scaling

arXiv.org Artificial Intelligence

Scaling network depth has been a central driver behind the success of modern foundation models, yet recent investigations suggest that deep layers are often underutilized. This paper revisits the default mechanism for deepening neural networks, namely residual connections, from an optimization perspective. Rigorous analysis proves that the layout of residual connections can fundamentally shape convergence behavior, and even induces an exponential gap in convergence rates. Prompted by this insight, we introduce adaptive neural connection reassignment (ANCRe), a principled and lightweight framework that parameterizes and learns residual connectivities from the data. ANCRe adaptively reassigns residual connections with negligible computational and memory overhead ($<1\%$), while enabling more effective utilization of network depth. Extensive numerical tests across pre-training of large language models, diffusion models, and deep ResNets demonstrate consistently accelerated convergence, boosted performance, and enhanced depth efficiency over conventional residual connections.


CAFIN: CUDA-accelerated Adaptive Fisher Information Matrix Network Optimization via GPU-Native Kernel Fusion

arXiv.org Artificial Intelligence

Second-order optimizers improve deep neural network training using curvature information, but their practical efficiency is limited by GPU execution overhead. AdaFisher reduces Fisher Information Matrix (FIM) approximation costs through diagonal Kronecker structures and exponential moving averages, yet its PyTorch implementation requires sequential CUDA kernel launches, intermediate tensor allocations, and repeated memory accesses. We introduce CAFIN, a GPU-native CUDA kernel fusion framework that improves AdaFisher execution efficiency without changing its optimization formulation. The proposed approach progressively integrates FIM preconditioner construction, exponential moving average updates, gradient preconditioning, momentum accumulation, weight decay, and parameter updates into fused CUDA kernels. Shared-memory reuse, register-resident computation, and in-place operations further reduce memory traffic and intermediate allocations. Experiments using ResNet-18 on CIFAR-10, CIFAR-100, and Tiny ImageNet across NVIDIA GTX 1660 Ti and RTX 3060 Laptop GPUs demonstrate up to 78.4% lower isolated FIM construction latency and 2.1-26.9% lower optimizer-step latency. The implementation also eliminates approximately 18.91 MB of intermediate GPU memory allocations per optimizer step. Numerical validation confirms consistency within the predefined FP32 tolerance, while convergence accuracy remains comparable across evaluated datasets and random seeds. These findings demonstrate that CUDA kernel fusion can substantially accelerate second-order optimization while preserving AdaFisher's underlying mathematical formulation and learning behavior.