Search arXiv⌕ Search

arXiv subjects

Karl Li

Publications and source records attributed to Karl Li.

6 recordsLinked to original sources

Carrying Feature Ablations Across Sparse Autoencoder Seeds

A vision encoder turns an image into one vector per patch, refined layer by layer. A sparse autoencoder (SAE) writes each vector of one layer as a sum of learned directions, most with a coefficient of zero. Researchers call each direction a feature and edit the encoder by removing one feature. An SAE trained from another random seed learns different features. Earlier work matches the two SAEs' features one to one by how closely their directions agree. Matched features can point alike yet respond to different image parts, so removing them may change the encoder differently. We remove a feature and, separately, its match, then compare the changes in the encoder's output on the same held out images. When the second change nearly reproduces the first, we say the removal carries across seeds. A setting fixes a DINOv2 or SigLIP layer and its SAE feature count. At our tolerance, the removal carries for 12% to 70% of matched pairs across three settings. The share is 0% in two controls: an SAE whose directions stay random and, post hoc, matches shuffled among trained features. Post hoc, predicting which removals carry is more accurate with layer contributions than with directions. Some incorrect predictions remain. One persists on independent images. So pairs can be screened at the layer. Measuring the output detects errors this screen misses.

cs.CV↗

A Hard Background Pairing Transfers across Classifiers and Images

An image classifier names the object in an image, and its accuracy is the share of images named correctly. A classifier that names a car on a road may miss the same car pasted onto clouds. Composite benchmarks measure such failures by pasting objects cut from photographs onto backgrounds from other photographs. A pairing puts every object label on a different background label, such as truck on sea. The pairing on which some classifiers do worst, their hardest pairing, makes a strict test, but may be hard only for them or only on the photographs used to choose it. We show that the hardest pairing of some classifiers stays hard for others and on new photographs. We split 40 ImageNet classifiers into halves balanced by reported ImageNet accuracy. One half picks its hardest pairing of 8 object and 8 background labels from Common Objects in Context (COCO). The other half, held out of the choice, compares that pairing with random pairings of the same objects and backgrounds. For the 14 held-out classifiers with little net accuracy change after pasting objects back onto their own backgrounds, mean accuracy on composites from new photographs falls from 50.3% over random pairings to 43.7% on the hardest pairing, 6.6 percentage points lower. A benchmark using these composites can compare this pool's held-out classifiers on the fixed and random pairings.

cs.CV↗

Tight Analysis for Online Generalized Network Design with Power Functions

We study the online generalized network design problem with heterogeneous power costs. Here, a sequence of $N$ requests arrive online, each of which needs to be assigned to some subset of available resources $E$. Each resource $e\in E$ has its own coefficient $ξ_e>0$ and exponent $p_e\ge 1$, where the cost of a load vector $L\in \mathbb{R}^E_+$ is $Φ(L)=\sum_{e\in E}ξ_e L_e^{p_e}$. We provide a simple analysis for the natural greedy algorithm that $τ$-approximately minimizes the increase in $Φ$ for each online request. Our competitive ratio is at most $(\frac{p}{\ln 2})^p$ when $τ=1$ and is roughly $(τp)^p$ as $τ$ grows large; here $p=\max_{e\in E} p_e$. This improves over a prior competitive ratio of $2(eτp)^p$ that relied on a modified greedy algorithm and a more complex analysis. Moreover, our bound (with $τ=1$) is asymptotically optimal: it matches the $(1.443p)^p$ lower bound for deterministic online algorithms. We also provide a nuanced exponent-dependent bound that, combined with prior results, provides an improved competitive ratio for (dis)economies of scale cost functions; here, the cost of resource $e$ has the form $σ_e + ξ_e\cdot x^{p_e}$ if $x>0$ (and zero if $x=0$). These results apply to several fundamental network problems such as multicommodity routing (where $τ=1$), Steiner tree connectivity (where $τ=1.39$) and directed Steiner connectivity (where $τ$ is poly-logarithmic).

cs.DS↗

Announced Breaks Separate Conformal Reliability from Frequency Calibration

When the process behind a time series changes on an announced date, like Australia's switch to five minute electricity settlement on October 1, 2021, intervals calibrated before it can stop covering at their stated level. Whether a forecaster needs the next interval to cover or a finished period's share of misses on target decides the restart. We recompute the next conformal interval from post-break forecast errors, and for n independent ones from the same continuous law, its expected coverage error is $O(n^{-1/2})$, the optimal order in a fixed class among methods told the date. For a finished period's share of misses to match its target, we restart adaptive conformal inference (ACI), which on bounded errors brings that share within $O(n^{-1})$ of target if its corrections at a lower limit stay bounded in total, for that period only. After a simulated mean jump of 5.0 standard deviations, recomputed 90% intervals lie an expected 3.5 percentage points from target at the 50th forecast, a third closer than the 5.2 of the best of five adaptive methods. Of 9 announced changes in Texas, Australian and PJM power markets and a Federal Reserve decision, only Australia's switch moves the errors enough for a 5% test at 80% power to resolve a gain from restarting ACI, and dates help restarted ACI only after large changes.

cs.LG↗

Sparse Autoencoder Attribution Graphs Are Decided at the Margin

Attribution graphs predict sparse autoencoder (SAE) ablations to first order on the active features, but a TopK SAE passes only its k largest preactivations, so small changes often swap active features. On five public TopK SAEs, zeroing one feature changes the active set of the next layer's SAE in 74% to 89% of cases. Our margin graph adds the first order change to every downstream preactivation, then selects the k largest again. On Pythia-70M the margin graph cuts the median error of predicted activations, relative to their exact change, from the attribution graph's 0.739 to 0.121, 84% lower. Exact recomputation of 48 interventions runs 3.5 times faster than the margin graph on our GPU. Patched into Pythia-70M with the clean reconstruction error, the margin graph's activations predict the change in the subject verb agreement logit difference with 1.95 times the attribution graph's mean error, on interventions above a fixed floor. Between seeds of our SAEs, which share one auxiliary loss coefficient, sparse feature maps recover 85% of a graph's squared norm on active features but 47% with each graph masked to its own, 38 percentage points less. Unmasking the inactive tenth nearest the TopK threshold recovers 73% of the masking loss, against 11% for a random tenth, so the margin to that threshold decides how ablations change activations and what graphs carry between seeds.

cs.LG↗

Deep Learning Based Detection of Enlarged Perivascular Spaces on Brain MRI

BACKGROUND AND PURPOSE: Deep learning has been demonstrated effective in many neuroimaging applications. However, in many scenarios, the number of imaging sequences capturing information related to small vessel disease lesions is insufficient to support data-driven techniques. Additionally, cohort-based studies may not always have the optimal or essential imaging sequences for accurate lesion detection. Therefore, it is necessary to determine which imaging sequences are crucial for precise detection. This study introduces a novel deep learning framework to detect enlarged perivascular spaces (ePVS) and aims to find the optimal combination of MRI sequences for deep learning-based quantification. MATERIALS AND METHODS: We implemented an effective lightweight U-Net adapted for ePVS detection and comprehensively investigated different combinations of information from SWI, FLAIR, T1-weighted (T1w), and T2-weighted (T2w) MRI sequences. The training data included 21 participants, which were randomly selected from the MESA cohort. Participants had ePVS 683 lesions on average. For T1w, T2w, and FLAIR images, the MESA study collected 3D isotropic MRI scans at six different sites with Siemens scanners. Our training data included participants from all these sites and all the scanner models, and the proposed model was applied to the whole brain instead of selective regions. RESULTS: The experimental results showed that T2w MRI is the most important for accurate ePVS detection, and the incorporation of SWI, FLAIR and T1w MRI in the deep neural network had minor improvements in accuracy and resulted in the highest sensitivity and precision (sensitivity =0.82, precision =0.83). The proposed method achieved comparable accuracy at a minimal time cost compared to manual reading.

eess.IV↗