Non-record: AR Self-Generated GPTQ Calibration (val_bpb=1.1461)#1234
Open
ibarrajo wants to merge 1 commit intoopenai:mainfrom
Open
Non-record: AR Self-Generated GPTQ Calibration (val_bpb=1.1461)#1234ibarrajo wants to merge 1 commit intoopenai:mainfrom
ibarrajo wants to merge 1 commit intoopenai:mainfrom
Conversation
Model generates its own GPTQ calibration data (64 seqs x 2048 tokens, temp=0.8) after training, eliminating need for training data at eval time. Built on Approach B base. The 390s training budget (vs 590s) to reserve time for AR generation loses more from fewer training steps than it gains from better-matched calibration distributions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Results
Delta: +0.028 BPB vs baseline — self-gen GPTQ loses net.
Analysis: Why Self-Gen GPTQ Loses
The technique requires reserving ~210s for AR generation + Hessian collection, leaving only 390s for training (vs 590s baseline). This loses ~30% of training steps. While self-generated calibration data better matches the model's inference-time activation distribution, the quantization improvement (~0.002-0.003 BPB) is far smaller than the loss from fewer training steps (~0.03 BPB). The technique would become net positive if:
Key Changes from Approach B
generate_autoregressive_calib()— generates 64 sequences of 2048 tokens at temp=0.8collect_hessians_from_tokens()— collects H = X^T X from self-generated sequencesArchitecture
Rule Compliance
Test Plan
🤖 Generated with Claude Code