Arman Rysmakhanov

Arman Rysmakhanov

Arman Rysmakhanov

I'm Arman, a senior studying Mathematics at Williams College.

I'm interested in mathematical foundations and intuitions behind machine learning. Last summer, I was an undergraduate research intern in Cengiz Pehlevan's Group at Harvard University, working on ML theory and high-dimensional statistics. The summer before that, I was doing research in the Number Theory and Probability Group at SMALL REU.

I am applying for PhD programs in theoretical ML this year.

Papers

In-context classification: Calibration and noise in linear attention with softmax readout

Summer-Fall 2026; Accepted to the Principles of Generative Modeling Workshop at NeurIPS 2026

Arman Rysmakhanov, Mary Letey, Yue M. Lu, Jacob Zavatone-Veth, Cengiz Pehlevan

We propose an exact high-dimensional theory of in-context binary classification with linear attention through deriving an Gaussian equivalent for the prediction logit and applying the leave-one-out (cavity) approach. We analyze test performance and calibration, tracing how context length, pretraining data, regularization, and temperature affect them.

(a) Ridgeless test loss 1 2.05 10 1 10 (# of training prompts) / (input dimension)² test loss predicted critical ratio theory prediction empirical simulation (b) Calibration -4 -2 0 2 4 -0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 predicted logit (true prob.) - (predicted prob.) underconfident overconfident (# of training prompts) / (input dimension)² 3 10 30 100 300 (c) Critical ratio 2.4 3.0 10⁻¹ 10⁰ 10¹ 10⁻¹ 10⁰ 10¹ inverse temperature (context length) / (input dimension) 2 3 4 5 6 critical (# of prompts) / (input dim.)²
Selected findings: (a) asympototic loss; below a critical amount of training data the model breaks down; above it, theory and simulation agree; (b) calibration moves from overconfidence to underconfidence with more data; (c) sharper teachers and longer contexts need more data before things start working.
See PDF ↗
  • in-context learning
  • high-dimensional asymptotics
  • classification

What can linear attention learn from nonlinear teachers in-context?

Summer 2026; Accepted to the Principles of Generative Modeling Workshop at NeurIPS 2026

Mary Letey, Arman Rysmakhanov, Yue M. Lu, Cengiz Pehlevan, Jacob Zavatone-Veth

This is a small extension of the existing theory of in-context linear regression using linear attention. What if the labels were nonlinear $y=f(x^\top w)+\varepsilon$ instead of the single-index $y=x^\top w+\varepsilon$? We prove a nonlinearity-noise equivalence: with new labels, the model learns only the linear Hermite component of $f$, and the rest acts as extra noise.

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 1 10 (# of training prompts) / (input dimension)² ICL test error theory target sin(wᵀx), noise variance 0.1 target wᵀx, noise variance 0.447 target wᵀx, noise variance 0.1
Thanks to the noise-nonlinearity equivalence, for every nonlinear target there exists a linear twin with just the right amount of extra noise, with test loss exactly the same.
See PDF ↗
  • in-context learning
  • high-dimensional asymptotics
  • single-index models

Spectral Properties of Dense Barabási-Albert Graphs

Summer 2025 - Spring 2026, preprint

Steven J. Miller, Arman Rysmakhanov (alphabetical)

We characterize the limiting spectral distribution and the outlier eigenvalue of the adjacency matrix for a dense variant of Barabási-Albert graphs using random matrix theory tools, specifically graphons and quadratic vector equations.

-5 0 5 10 15 20 25 0.00 0.10 0.20 0.30 eigenvalue density outlier empirical eigenvalue histogram smoothed density (5 samples) largest eigenvalue (empirical) largest eigenvalue (theoretical prediction)
Spectrum of a random dense Barabási-Albert multigraph.
See PDF ↗
  • random matrices
  • spectral graph theory

Properties of Multidimensional Vector Zeckendorf Representations

Summer-Fall 2025, to appear in the Fibonacci Quarterly

Ivan Bortnovskyi, June Duvivier, Pedro Espinosa, Michael Lucas, Steven J. Miller, Tiancheng Pan, Arman Rysmakhanov, Iana Vranesko, Ren Watson, Steven Zanetti (alphabetical)

The $k$-bonacci numbers are a generalization of the Fibonacci numbers, and all positive integers can be uniquely expressed as a sum of them with no $k$ consecutive terms used. Building on the work that extends the representation to vectors, we develop two fast algorithms for finding unique $k$-bonacci representation of integer vectors, and also prove that the vector representation's summands have the same count, gap behavior and minimality as scalar $k$-bonacci decompositions.

-5 0 5 10 -5 0 5 first coordinate second coordinate -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 Xₙ, n ≥ 1 Xₙ, n ≤ -1 X₀ = (0, 0) Xₙ joined in order of n
The first few two-dimensional Fibonacci (well, tribonacci) $2d$ vectors.
See PDF ↗
  • number theory
  • combinatorics

Comparing Left and Right Quotient Sets in Groups

Summer 2025, submitted to Integers

Julian Duvivier, Xiaoyao Huang, Ava Kennon, Say-Yeon Kwon, Steven J. Miller, Arman Rysmakhanov, Pramana Saldin, Ren Watson (alphabetical)

We extend the so-called problem of More-Sums-Than-Differences from integers to groups in general. Specifially, in a non-Abelian group, combining elements of a finite subset as $ab^{-1}$ or as $a^{-1}b$ can result in different numbers of distinct elements. We prove that the difference between these two counts can take any integer value for the infinite dihedral group but only even integer value for the free group on two generators, finding the smallest subset for which a gap can occur.

a1 a1-1 a2 a2-1 a3 a3-1 a4 a4-1 a5 a5-1 before φ: 17 components a1 a1-1 a2 a2-1 a3 a3-1 a4 a4-1 a5 a5-1 after φ: 15 components φ edge: aᵢaⱼ⁻¹ = aₖaₗ⁻¹ vertex (aᵢ, aⱼ⁻¹)
This is what we called a difference graph: each dot is one product $a_i a_j^{-1}$, while lines join the dots whose products are equal. So the problem of counting distinct products becomes a problem counting connected components.
See PDF ↗
  • group theory
  • additive combinatorics

Expositions

Computing Fibonacci Numbers Efficiently

2026, The Fibonacci Quarterly 64(3)

Steven J. Miller, Arman Rysmakhanov, Sheafification of G (alphabetical)

How fast can one compute the millionth Fibonacci number? We walk the reader through various methods, from naive recursion to fast matrix exponentiation and the fast Fourier transform.

10³ 10⁴ 10⁵ 10⁶ 10⁻² 10⁻¹ 10⁰ input n runtime (s) Naïve DFT Matrix multiplication Linear Karatsuba Fast exponentiation FFT Binet's formula
Comparison of algorithms.
See PDF ↗
  • algorithms
  • Fibonacci numbers
  • fast Fourier transform