Skip to content

Add bounded trainable keyphrase centroid expertise - #6

Merged
appleweiping merged 2 commits into
mainfrom
feat/trainable-keyphrase-centroid-v016
Sep 20, 2026
Merged

appleweiping merged 2 commits into
mainfrom
feat/trainable-keyphrase-centroid-v016

Conversation

@appleweiping

Copy link
Copy Markdown
Owner

Scope

Add an original bounded trainable keyphrase-centroid expertise workflow. It consumes the existing keyphrase extractor output and caller-authored disjoint train/validation triplets, learns mean term-vector pairwise logistic rankings, selects the first best validation-MAP epoch, and emits match-ready holdout affinities and normalized inputs for the existing constrained assignment CLI.

Evidence

  • Independent one-step BCE gradient and ranking-MAP hand oracles, train-only vocabulary and updates, disjoint validation/holdout submission IDs, hard-conflict checks, deterministic replay and exact-source hashes.
  • Independent review found that replaceable in-memory fields could diverge from captured raw labels/features. The second signed commit reloads and compares every normalized input before training or scoring and adds forged-label/feature no-publication regressions.
  • Windows full suite: 959 passed, 1 symlink skip; Linux full suite: 960 passed. Pure-source branch coverage: 2435/2696 = 90.32%.
  • Ruff, mypy, Bandit, dependency audit, build, isolated wheel/sdist CLI installs and synthetic assignment smoke passed locally.
  • Both commits have verified ED25519 signatures and DCO sign-offs.

Limits

This is a local dependency-free expertise model, not the frozen OpenReview Expertise PyTorch pipeline, SPECTER, TPMS, live OpenReview write-back, official gold results or whole-repository parity. Source digests detect byte changes; they are not authenticity signatures or proof that caller labels are trustworthy.

Assisted-by: OpenAI Codex

Signed-off-by: appleweiping <vipinapple986@gmail.com>
Signed-off-by: appleweiping <vipinapple986@gmail.com>
@appleweiping
appleweiping merged commit 5458e1e into main Sep 20, 2026
7 checks passed
@appleweiping
appleweiping deleted the feat/trainable-keyphrase-centroid-v016 branch September 20, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant