cs.LGOct 27, 2026
SaveOn the VC Dimension of Autoregressive Linear Threshold Functions
Organizations: MIT · The Hebrew University
Abstract
Linear threshold functions (LTFs) are a canonical class of Boolean predictors. In the autoregressive setting, the same LTF reads the most recent bits, generates the next bit, and returns the bit produced after steps. While the one-step class has VC dimension , for general the counting upper bound is . We prove that the VC dimension is for every , resolving the quadratic gap for deterministic autoregressive LTFs. We then adapt the same technique to show an exponential separation between deterministic and stochastic autoregressive models: replacing the sign of LTFs by logistic sampling can increase the VC dimension of the final majority prediction class from quadratic to exponential in .
Figures & tables
Figure 1: One round of the recursion for , selected row , and encoding , from to . Within each region (Row, Test, Output, Pointer), coordinates are ordered by increasing . The row bits remain unchanged. The current output bits encode , and the pointer selects position , whose weight is . Since , the new test bit is , so the third output bit is set to , while all other output bits remain unchanged. Finally, the pointer shifts from position to position , selecting the next digit to test.
Figure 2: Transition from to for , , and . The black is the first bit of each block, fixed to by the definition of the encoding in ( 15 ). The same LTF generates all bits of from left to right. The row bits remain unchanged. The output bits initially represent , and the pointer selects , with weight . Since , the new test bit is . As the lower arrow indicates, this new test bit sets the third output bit to , so the output bits now represent . The pointer changes to . Test, output, and pointer bits are each stored twice in adjacent positions. Unmarked positions are zero; spacing is schematic.
Figure 3: Choosing inputs for a fixed row . The three rows correspond to columns ; each repeats the same string on the left. Each blue frame selects consecutive bits, forming . The short arrows show the shift from the start of the string to the start of each input. The long arrows represent generated bits. The blue cell is at position in the later block and equals . Since and are independent of the labels, so are the selected inputs. Shown for a multiple of ; spacing is schematic.