Better HN
topnewbestaskshowjobs
Log inSign up

jul8234

3 karma · joined Mar 14, 2017 (9y ago) · 20 submissions

Submissions

1.

Complex KDA:Understanding and Enhancing the Expressivity of Kimi Delta Attention(arxiv.org ↗)

2 points · by jul8234 · 2mo ago · discuss

comment 9mo ago · link · parent

Over the last years, state-tracking tasks, particularly permutation composition, have become a testbed to understand the limits of sequence models architectures like Transformers and RNNs (linear and non-linear). However, these are often sequence-to-sequence tasks: learning to map actions (permutations) to states, which is incompatible with the next-token prediction setting commonly used to train language models. We address this gap by converting permutation composition into code via REPL traces that interleave state-reveals through prints and variable transformations. We show that linear RNNs capable of state-tracking excel also in this setting, while Transformers still fail. Motivated by this representation, we investigate why tracking states in code is generally difficult: actions are not always fully observable. We frame this as tracking the state of a probabilistic finite-state automaton with deterministic state reveals and show that linear RNNs can be worse than non-linear RNNs at tracking states in this setup.

3.

Learning State-Tracking from Code Using Linear RNNs(arxiv.org ↗)

2 points · by jul8234 · 9mo ago · 1 comment

4.

TempoPFN: Synthetic Pre-Training of Linear RNNs for Zero-Shot Timeseries Forecas(arxiv.org ↗)

1 points · by jul8234 · 1y ago · discuss

5.

DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products

1 points · by jul8234 · 1y ago · discuss

comment 2y ago · link · parent

Abstract: Linear Recurrent Neural Networks (LRNNs) such as Mamba, RWKV, GLA, mLSTM, and DeltaNet have emerged as efficient alternatives to Transformers in large language modeling, offering linear scaling with sequence length and improved training efficiency. However, LRNNs struggle to perform state-tracking which may impair performance in tasks such as code evaluation or tracking a chess game. Even parity, the simplest state-tracking task, which non-linear RNNs like LSTM handle effectively, cannot be solved by current LRNNs. Recently, Sarrof et al. (2024) demonstrated that the failure of LRNNs like Mamba to solve parity stems from restricting the value range of their diagonal state-transition matrices to [0,1] and that incorporating negative values can resolve this issue. We extend this result to non-diagonal LRNNs, which have recently shown promise in models such as DeltaNet. We prove that finite precision LRNNs with state-transition matrices having only positive eigenvalues cannot solve parity, while complex eigenvalues are needed to count modulo 3. Notably, we also prove that LRNNs can learn any regular language when their state-transition matrices are products of identity minus vector outer product matrices, each with eigenvalues in the range [−1,1]. Our empirical results confirm that extending the eigenvalue range of models like Mamba and DeltaNet to include negative values not only enables them to solve parity but consistently improves their performance on state-tracking tasks. Furthermore, pre-training LRNNs with an extended eigenvalue range for language modeling achieves comparable performance and stability while showing promise on code and math data. Our work enhances the expressivity of modern LRNNs, broadening their applicability without changing the cost of training or inference. https://arxiv.org/abs/2411.12537 Twitter Thread: https://x.com/riccardograzzi/status/1860017064473428220

7.

Unlocking State-Tracking in Linear RNNs Through Negative Eigenvalues(arxiv.org ↗)

2 points · by jul8234 · 2y ago · 1 comment

comment 3y ago · link · parent

Abstract: Generalized Additive Models (GAMs) have recently experienced a resurgence in popularity due to their interpretability, which arises from expressing the target value as a sum of non-linear transformations of the features. Despite the current enthusiasm for GAMs, their susceptibility to concurvity - i.e., (possibly non-linear) dependencies between the features - has hitherto been largely overlooked. Here, we demonstrate how concurvity can severly impair the interpretability of GAMs and propose a remedy: a conceptually simple, yet effective regularizer which penalizes pairwise correlations of the non-linearly transformed feature variables. This procedure is applicable to any differentiable additive model, such as Neural Additive Models or NeuralProphet, and enhances interpretability by eliminating ambiguities due to self-canceling feature contributions. We validate the effectiveness of our regularizer in experiments on synthetic as well as real-world datasets for time-series and tabular data. Our experiments show that concurvity in GAMs can be reduced without significantly compromising prediction quality, improving interpretability and reducing variance in the feature importances.

9.

Curve Your Enthusiasm: Concurvity Regularization in Differentiable GAMs(arxiv.org ↗)

2 points · by jul8234 · 3y ago · 1 comment

10.

Faster Training of Mask R-CNN by Focusing on Instance Boundaries(github.com ↗)

2 points · by jul8234 · 7y ago · discuss

11.

Add tf.repeat support equivalent to numpy.repeat(github.com ↗)

2 points · by jul8234 · 7y ago · discuss

12.

CFUN: Combining Faster R-CNN and U-net Heart Segmentation(arxiv.org ↗)

2 points · by jul8234 · 7y ago · discuss

13.

Faster training of Mask R-CNN by focusing on instance boundaries(arxiv.org ↗)

2 points · by jul8234 · 8y ago · discuss

comment 8y ago · link · parent

Why not use something like LDA and features taken from word embeddings? A more probabilistic analysis would give more meaningful results.

15.

Kalman Filter based on eigen3(github.com ↗)

2 points · by jul8234 · 9y ago · discuss

16.

Hubble Space Telescope measurement proposals(stsci.edu ↗)

2 points · by jul8234 · 9y ago · discuss

17.

Tenskrflow Autoencoder(github.com ↗)

1 points · by jul8234 · 9y ago · discuss

18.

Seamless cloning using poisson image editing(github.com ↗)

1 points · by jul8234 · 9y ago · discuss

19.

Tensorfow models in neat classess(github.com ↗)

2 points · by jul8234 · 9y ago · discuss