From 1c4672e465b9145d71cfddeae4e2ebaeeef2964f Mon Sep 17 00:00:00 2001 From: YurenHao0426 Date: Wed, 8 Apr 2026 14:35:20 -0500 Subject: Figures 3 and 4: fix aspect ratio (fig3 was squeezed strip) and key-finding label overlap (fig4) Per user feedback: - fig4_penalty_rescue.pdf (Figure 3 in paper): was figsize=(13, 3.5), aspect 3.7:1, which rendered as a thin strip with squeezed subplot content. Increased height to figsize=(13, 6.0), aspect 2.2:1. Much taller panels that actually show axis labels and legends readably. - fig5_cross_arch_summary.pdf (Figure 4 in paper): the 'Key finding' italic text annotation at y=-1.0 in axes transform was overlapping with the multiline architecture y-tick labels at the bottom of the second subplot. Moved to y=-1.55 and increased figsize height from 3.5 to 4.2 so the lower annotation still fits in bbox_inches='tight' crop. - Also bumped includegraphics width from 0.92\linewidth to \linewidth for both figures so they use the full text width. Main content still exactly 9 pages within E&D budget. Co-Authored-By: Claude Opus 4.6 (1M context) --- paper/figures/fig4_penalty_rescue.pdf | Bin 32527 -> 34190 bytes paper/figures/fig5_cross_arch_summary.pdf | Bin 31765 -> 32029 bytes paper/figures/render_fig4_penalty_rescue.py | 2 +- paper/figures/render_fig5_cross_arch.py | 6 +++--- paper/main.pdf | Bin 484918 -> 486620 bytes paper/main.tex | 4 ++-- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'paper') diff --git a/paper/figures/fig4_penalty_rescue.pdf b/paper/figures/fig4_penalty_rescue.pdf index 0dcdce7..e703f08 100644 Binary files a/paper/figures/fig4_penalty_rescue.pdf and b/paper/figures/fig4_penalty_rescue.pdf differ diff --git a/paper/figures/fig5_cross_arch_summary.pdf b/paper/figures/fig5_cross_arch_summary.pdf index 93c0676..00267a7 100644 Binary files a/paper/figures/fig5_cross_arch_summary.pdf and b/paper/figures/fig5_cross_arch_summary.pdf differ diff --git a/paper/figures/render_fig4_penalty_rescue.py b/paper/figures/render_fig4_penalty_rescue.py index b7089ec..ad21a12 100644 --- a/paper/figures/render_fig4_penalty_rescue.py +++ b/paper/figures/render_fig4_penalty_rescue.py @@ -36,7 +36,7 @@ no_pen = [0.609, 0.308] with_pen = [0.530, 0.363] shallow = 0.349 -fig, axes = plt.subplots(1, 3, figsize=(13, 3.5)) +fig, axes = plt.subplots(1, 3, figsize=(13, 6.0)) # Panel A: trajectory ax = axes[0] diff --git a/paper/figures/render_fig5_cross_arch.py b/paper/figures/render_fig5_cross_arch.py index e163956..9ad9ce2 100644 --- a/paper/figures/render_fig5_cross_arch.py +++ b/paper/figures/render_fig5_cross_arch.py @@ -26,7 +26,7 @@ dfa = np.array([ bp = np.zeros_like(dfa) # BP: passes everywhere -fig, axes = plt.subplots(1, 2, figsize=(11, 3.5)) +fig, axes = plt.subplots(1, 2, figsize=(11, 4.2)) for ax, mat, title in [(axes[0], bp, "BP-trained: protocol passes"), (axes[1], dfa, "DFA-trained: protocol verdict by architecture")]: @@ -42,8 +42,8 @@ for ax, mat, title in [(axes[0], bp, "BP-trained: protocol passes"), ax.set_yticklabels(arches, fontsize=9) ax.set_title(title, fontsize=10) -# Highlight the key finding -axes[1].text(0.5, -1.0, "Key finding: diagnostic (b) BP-grad-floor fires only on terminal-LN architectures.\n" +# Highlight the key finding — place well below the multiline x/y tick labels to avoid overlap +axes[1].text(0.5, -1.55, "Key finding: diagnostic (b) BP-grad-floor fires only on terminal-LN architectures.\n" "Across the 5 architecture cases tested, (b) is restricted to the with-terminal-LN family.", ha="center", fontsize=9, style="italic", transform=axes[1].transAxes) diff --git a/paper/main.pdf b/paper/main.pdf index 70915bb..7d5dfea 100644 Binary files a/paper/main.pdf and b/paper/main.pdf differ diff --git a/paper/main.tex b/paper/main.tex index fa9c12b..8486315 100644 --- a/paper/main.tex +++ b/paper/main.tex @@ -133,14 +133,14 @@ The architecture comparison sharpens the scope of the critique. In the terminal- \begin{figure}[t] \centering -\includegraphics[width=0.92\linewidth]{figures/fig4_penalty_rescue.pdf} +\includegraphics[width=\linewidth]{figures/fig4_penalty_rescue.pdf} \caption{Penalty intervention view of the two modes: penalization rescues residual-stream scale and restores a measurable but still partial deep-layer credit signal, clarifying that numerical rescue and credit-quality rescue are related but distinct.} \label{fig:penalty_rescue} \end{figure} \begin{figure}[t] \centering -\includegraphics[width=0.92\linewidth]{figures/fig5_cross_arch_summary.pdf} +\includegraphics[width=\linewidth]{figures/fig5_cross_arch_summary.pdf} \caption{Cross-architecture summary over ResMLP, ViT-Mini, StudentNet, and CNN: activation-growth failures recur across architectures, while gradient-floor failures appear in the terminal-normalized settings audited here.} \label{fig:cross_arch_summary} \end{figure} -- cgit v1.2.3