Deep Learning
An Inspectable LLM Council for Multi-Model Research Answer Aggregation
Wu, Shuai, Li, Xue, Wang, Zhijun, Liu, Bolun, Cai, Weilin
Long-form research questions often require answers that combine complementary details, reconcile conflicting estimates, and retain qualifications across several large language model outputs. We present Standard Council, a two-stage synthesis workflow in which an analyst organizes three independent candidate answers into a structured textual state and a separate writer composes the final response from the question and that state. We evaluate the workflow on 100 closed-book tasks from the Deep Research Accuracy, Completeness, and Objectivity benchmark, DRACO, retaining 600 final answers, 100 analyst states, and 720 whole-answer judgments. Under the primary rubric judge, Council scores 70.98, exceeding GPT-5.6 Sol by 6.18 points and Gemini 3.8 Flash by 8.34 points; its 0.47-point difference from Claude Opus 5 has a 95% paired interval of $[-0.69,1.61]$. In the four-arm fusion comparison, Council scores 1.87 points above direct fusion, with a 95% paired interval of $[0.33,3.48]$. It covers 51.1% of positive criteria met by exactly one candidate, compared with 43.7% for direct fusion. On an exploratory 68-task subset with matching returned model labels, the Council-minus-direct-fusion difference is $-1.69$ points, with a 95% interval of $[-2.80,-0.62]$. The full comparison characterizes workflows that differ in structure and generation budget; estimating the analyst stage's effect requires a controlled component study. Traced cases show how selected estimates, provenance qualifications, and selection decisions pass through the saved state into final answers.
Understanding the Challenges in Iterative Generative Optimization with LLMs
Nie, Allen, Daull, Xavier, Kuang, Zhiyi, Akkiraju, Abhinav, Chaudhuri, Anish, Piasevoli, Max, Rong, Ryan, Yuan, YuCheng, Choudhary, Prerit, Xiao, Shannon, Fakoor, Rasool, Swaminathan, Adith, Cheng, Ching-An
Generative optimization uses large language models (LLMs) to iteratively improve artifacts (such as code, workflows or prompts) using execution feedback. It is a promising approach to building self-improving agents, yet in practice remains brittle: despite active research, only 9% of surveyed agents used any automated optimization. We argue that this brittleness arises because, to set up a learning loop, an engineer must make "hidden" design choices: What can the optimizer edit and what is the ``right'' learning evidence to provide at each update? We investigate three factors that affect most applications: the starting artifact, the credit horizon for execution traces, and batching trials and errors into learning evidence. Through case studies in MLAgentBench, Atari, and BigBench Extra Hard, we find that these design decisions can determine whether generative optimization succeeds, yet they are rarely made explicit in prior work. Different starting artifacts determine which solutions are reachable in MLAgentBench, truncated traces can still improve Atari agents, and larger minibatches do not monotonically improve generalization on BBEH. We then study these factors jointly in harness optimization on TBLite, evaluated on Terminal-Bench 2.0. We also propose a batch-size and credit-horizon rule that, calibrated on TBLite, transfers to DeepSWE after adjusting to its token costs and comes within 1% of the best configuration tested at each context budget.
TabDLM: Free-Form Tabular Data Generation via Joint Numerical-Language Diffusion
Cai, Donghong, Feng, Jiarui, Wang, Yanbo, Zheng, Da, Chen, Yixin, Zhang, Muhan
Synthetic tabular data generation has attracted growing attention due to its importance for data augmentation, foundation models, and privacy. However, real-world tabular datasets increasingly contain free-form text fields (e.g., reviews or clinical notes) alongside structured numerical and categorical attributes. Generating such heterogeneous tables with joint modeling of different modalities remains challenging. Existing approaches broadly fall into two categories: diffusion-based methods and LLM-based methods. Diffusion models can capture complex dependencies over numerical and categorical features in continuous or discrete spaces, but extending them to open-ended text is nontrivial, since they model each column as a continuous value or one of a closed set of categories, whereas text lives in an exponentially large sequence space. In contrast, LLM-based generators naturally produce fluent text, yet their discrete tokenization can distort precise or wide-range numerical values, hindering accurate modeling of both numbers and language. In this work, we propose TabDLM, a unified framework for free-form tabular data generation via a joint numerical-language diffusion model built on masked diffusion language models (MDLMs). TabDLM models textual and categorical features through masked diffusion, while modeling numerical features with a continuous diffusion process through learned specialized numeric tokens embedding; bidirectional attention then captures cross-modality interactions within a single model. Extensive experiments on diverse benchmarks demonstrate the effectiveness of TabDLM compared to strong diffusion- and LLM-based baselines. Our code is available at https://github.com/ilikevegetable/TabDLM.
Can We Change "Stroke Size" to Improve Flow Matching?
Bai, Yunwei, Tan, Ying Kiat, Chen, Tsuhan
Deep-learning-based image generation models are useful but difficult to train. Inspired by the varying stroke sizes used in human painting, we hypothesize that applying ``rough strokes'' can attenuate prediction biases and improve flow-matching image generation. We develop MultiStroke, which progressively varies the spatial granularity of the clean-signal component in the velocity regression target. A lightweight corrector aligns adjacent roughness levels during sampling. On ImageNet-1K, MultiStroke reduces FID by $22.5\%$ relative to a matched flow-matching baseline, despite the limited corrector capacity. Code is available at https://github.com/DaChengRuoQue/MultiStroke-Code. A quick video explanation is available at https://dachengruoque.github.io/MultiStroke-Web/.
CurveBench: A Benchmark for Exact Topological Reasoning over Nested Jordan Curves
Mohseni, Amirreza, Mohammadi, Mona, Saghafian, Morteza, Sardari, Naser Talebizadeh
We introduce CurveBench, a benchmark for visual topological reasoning. Given an image of disjoint closed curves, a model must recover the tree of adjacent regions rooted at the exterior. The benchmark contains 756 hand-drawn images, ranging from simple configurations to maze-like and densely packed arrangements. Each image has a manually verified reference tree. We evaluate predictions by exact tree matching with the exterior root fixed. Gemini 3.1 Pro, the strongest model in our evaluation, achieves 71.1% exact-match accuracy on CurveBench-Easy and 28.7% on CurveBench-Hard. A Qwen3-VL-8B checkpoint trained using reinforcement learning with verifiable rewards reaches 31.7% on Easy, compared with 21.7% for its Thinking base model at a 16,384-token generation budget. The same comparison yields a gain of 1.1 percentage points on Hard.
Chatter Attack: Resource Consumption Attack for Large Language Models
Miao, Yibo, Cao, Yichuan, Gao, Xiao-Shan, Dong, Yinpeng
LLMs are powerful but incur substantial inference cost, which can be exploited by malicious users to induce overly long outputs, increasing latency and operational expense. Prior resource consumption attacks either coerce repetition or suppress the end-of-sequence token by lowering its logit value. However, with autoregressive, sampling-based generation, the search space grows exponentially with length and small deviations or unstable trajectories can derail optimization, limiting attack effectiveness and stability. To address this issue, we introduce Chatter Attack, a novel class of resource consumption attacks that optimize adversarial prompts to induce predefined short target phrases, thereby avoiding search-space explosion while still eliciting long responses. Specifically, Chatter Attack triggers self-doubt using short doubt-inducing phrases as the target, and sustains this state throughout generation via inference attention loss and global entropy loss. To extend to black-box settings, we further propose a novel Bayesian Prompt Optimization (BPO) method, which models the objective function globally by constructing a discrete token kernel, efficiently exploring the entire search space using prior information. Extensive experiments across multiple models and datasets show that our method outperforms baselines, with maximum response length increases to 31.5$\times$, and revealing practical resource-depletion risks for real-world LLM inference services.
Learning What's Real: Disentangling Signal and Measurement Artifacts in Multi-Sensor Data, with Applications to Astrophysics
Mercader-Perez, Pablo, Cuesta-Lazaro, Carolina, Muthukrishna, Daniel, Audenaert, Jeroen, Villar, V. Ashley, Hogg, David W., Huertas-Company, Marc, Freeman, William T.
Data collected from the physical world is always a combination of multiple sources: an underlying signal from the physical process of interest and a signal from measurement-dependent artifacts from the sensor or instrument. This secondary signal acts as a confounding factor, limiting our ability to extract information about the physics underlying the phenomena we observe. Furthermore, it complicates the combination of observations in heterogeneous or multi-instrument settings. We propose a deep learning framework that leverages overlapping observations, a dual-encoder architecture, and a counterfactual generation objective to disentangle these factors of variation. The resulting representations explicitly separate intrinsic signals from sensor-specific distortions and noise, and can be used for counterfactual view generation, parameter inference unconfounded by measurement distortions, and instrument-independent similarity search. We demonstrate the effectiveness of our approach on astrophysical galaxy images from the DESI Legacy Imaging Survey (Legacy) and the Hyper Suprime-Cam (HSC) Survey as a representative multi-instrument setting. This framework provides a general recipe for scientific and multi-modal self-supervised pretraining: construct training pairs from overlapping observations of the same physical system, treat sensor- or modality-specific effects as augmentations, and learn invariant representations through counterfactual generation.
Ghosted Layers: Unconstrained Activation Alignment for Recovering Layer-Pruned LLMs
Yun, Vincent-Daniel, Jo, Junhyuk, Karimireddy, Sai Praneeth, Lee, Sunwoo
Layer pruning removes entire Transformer decoder blocks from large language models, but introduces a mismatch between the hidden state received by the next surviving layer and the distribution it was trained to process, leading to significant performance degradation. We propose Ghosted Layers, a training-free recovery module that addresses this issue by solving a boundary activation alignment problem. Our method derives a closed-form optimal linear operator from a small calibration set to reconstruct the activation discrepancy introduced by the pruned layers. We show that this solution corresponds to the unconstrained optimum of the alignment objective, whereas LinearPatch is restricted to a fixed basis symmetric operator family. Across multiple LLM backbones, pruning strategies, and pruning depths, Ghosted Layers outperforms prior training-free recovery methods in accuracy and perplexity in most settings while preserving the efficiency benefits of layer pruning.
Partition-of-Unity Gaussian Kolmogorov-Arnold Networks
Gaussian basis functions provide an efficient and flexible alternative to spline activations in Kolmogorov-Arnold networks (KANs), but their performance is sensitive to the Gaussian scale parameter ε. We introduce the partition-of-unity Gaussian KAN (PU-GKAN), a kernel-based normalization framework that transfers the Shepard partition-of-unity principle to trainable KAN edge functions. Each Gaussian edge basis is normalized by its local sum over fixed centers, preserving the standard edge-based architecture and essentially the same trainable coefficient structure as GKAN. The resulting feature map reproduces constants exactly at the edge level and admits an explicit normalized finite-feature kernel interpretation. Numerical experiments show that PU-GKAN reduces sensitivity to ε, improves validation accuracy for most smooth and moderately non-smooth targets, and provides more stable training behavior. These benefits persist across variations in sample size and number of centers, higher-dimensional architectures, and Matern RBF bases. PU-GKAN also improves physics-informed neural networks for Helmholtz and wave equations, with validation-error reductions of up to 90%. These results establish partition-of-unity normalization as a mathematically grounded and broadly applicable framework for improving the reliability and accuracy of radial basis function KANs.
Shifting the Gradient: Understanding How Defensive Training Methods Protect Language Model Integrity
Grant, Satchel, Gillioz, Victor, Ward, Jake, McGrath, Thomas
Defensive training methods such as positive preventative steering (PPS) and inoculation prompting (IP) offer surprising results through seemingly similar processes: both add trait-inducing objects to large language models (LLMs) during training, and both defend the LLM against acquiring the trait. The success of these methods raises the questions: how do they work, and are they doing the same thing? We provide behavioral and mechanistic analyses of PPS and IP, using the acquisition of an ``evil'' persona by Qwen2.5-7B-Instruct as an in-depth case study and replicating key measurements across six traits and four models. Behaviorally, neither method operates through a purely associative mechanism, and both methods prevent trait acquisition; but PPS can also substantially reduce pre-existing trait expression, whereas IP does so only modestly. Mechanistically, PPS induces a concentrated change in the activation gradient and shifts the signal along the trait direction from amplifying to attenuating, whereas IP changes the gradient more diffusely and shifts it close to zero along the trait direction. Gradient manipulations show that the direction of this component is causally relevant to trait acquisition, although it is one effect rather than a complete account of either defense. We then show that IP lowers the next-token prediction loss on trait-expressing data, whereas PPS can raise it at the intensities at which it defends; we show how this analysis raises the possibility that the loss changes and the gradient shift are two summaries of the same training signal rather than completely separate mechanisms. Together, our results show that PPS and IP are not interchangeable, and they highlight open questions about a complete mechanistic picture.