Joint visualization of LLM decision boundaries and reasoning trajectories by Geometric Lens and Laguerre Geometry
pip install numpy torch transformers accelerateHidden representation readout and visualization
- Run Logit Lens:
01_logit_lens_and_patchscopes.ipynb - Run Patchscopes:
01_logit_lens_and_patchscopes.ipynb - Run Geometric Lens (ours):
02_geometric_lens.ipynb - Compare all lenses in 2D:
03_boundary_trajectory_visualization.ipynb
Follow jacobian-lens to install J-Lens.
Run J-Lens:
04_jacobian_lens.ipynb
@misc{ma2026laguerregeometryinterpretinglarge,
title={Laguerre Geometry for Interpreting Large Language Models},
author={Chunwei Ma and Russell Wolfinger},
year={2026},
eprint={2607.10578},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2607.10578},
}
