1. Introduction
Patent examination is the legal process by which a government patent office determines whether an invention satisfies the requirements for patent protection. Among the various grounds for rejection, obviousness under 35 U.S.C. §103 is particularly difficult to adjudicate [
1,
2]: it requires comparing the claimed invention against combinations of prior art references and determining whether their differences would have been apparent to a hypothetical person having ordinary skill in the art (PHOSITA). This comparison is inherently subjective, context-sensitive, and highly contested, making §103 the most common basis for both initial rejection and subsequent appeals.
Automated patentability-risk screening has compelling practical applications: inventors can assess patentability risk before incurring filing costs, patent attorneys can refine prosecution strategy and claim scope, and patent offices can allocate examiner resources more efficiently. T-RAG is specifically designed for the idea-stage patentability assessment scenario, where an inventor has articulated a technical concept but has not yet drafted formal patent claims. At this stage, title and abstract are the natural representation of the invention, and the goal is to provide a reliable signal about §103 obviousness risk before investing in claim drafting and formal prosecution. Using abstract-level input is therefore a deliberate design choice aligned with this service context, not a proxy for full legal analysis: the system targets inventors and early-stage practitioners who need actionable guidance at the ideation phase, where claim text does not yet exist.
There is also a conceptual reason to expect a usable signal at this stage. Although a §103 rejection is, in prosecution practice, often resolved through claim amendment—which can make obviousness appear to be a claim-level, post hoc matter—obviousness is at root a question of the inventive step: whether the underlying idea is non-obvious over the prior art, rather than of how its claims happen to be worded. From this view, the application as disclosed at filing may already carry information about a §103 propensity, prior to any amendment. We make this point cautiously: it motivates idea-stage screening rather than asserting that §103 can be decided from an abstract, and our results report a signal that is modest but measurably above field-frequency baselines (
Section 6), i.e., a screening signal, not a substitute for the full claim-level determination. Yet a prediction alone is often insufficient because practitioners need to understand how confident the system is and on what basis a conclusion was reached before they can act on it responsibly. Early approaches relied on handcrafted features, such as citation counts, claim breadth, and prosecution history [
3]. Recent neural approaches have applied BERT-based models to the binary grant/reject classification task [
4,
5], improving aggregate accuracy but leaving fundamental practitioner needs unmet.
A first gap concerns the absence of actionable uncertainty signals. When a classifier is uncertain, as it often is near the GRANTED/REJECTED decision boundary, its output should not be treated the same as a high-confidence prediction. Existing systems provide no principled criterion for when to trust automated outputs and when to escalate to human review, leaving practitioners without a reliable basis for this judgment. A second gap is the lack of evidence-grounded explanations. The §103 obviousness determination requires reasoning over prior art combinations, secondary considerations, and examiner-specific arguments [
1]. A prediction that lacks traceable supporting evidence cannot be audited, contested, or used to guide prosecution strategy, limiting its practical value regardless of raw accuracy. A third gap is domain heterogeneity without adaptive guidance. Examination patterns and classifier reliability differ substantially across technology domains such as biotechnology, software, and mechanical engineering. A system that treats all domains identically provides no indication of where its outputs should be weighted most heavily and where additional scrutiny is warranted.
To address these gaps, we propose TriageRAG (T-RAG), a decision-support framework that makes classifier uncertainty an integral part of the prediction workflow. The design is inspired by medical triage: just as a triage nurse establishes evidence-based criteria for when a patient can be managed by standard protocol versus when specialist review is necessary, T-RAG establishes calibrated criteria for when a classifier prediction is sufficiently reliable to act upon and when it should be escalated to LLM verification backed by retrievable, auditable prior art evidence.
Importantly, T-RAG does not aim to simply maximize aggregate accuracy. Because the system targets idea-stage practitioners who must decide whether to invest in formal prosecution, making reliability legible is as important as prediction quality. The confidence threshold provides a transparent escalation criterion; the RAG-grounded LLM provides auditable, citation-backed reasoning for escalated cases; and domain-level analysis reveals where the system’s guidance is most and least trustworthy, allowing practitioners to calibrate their reliance on system outputs to their own risk tolerance and technology domain.
We position this work explicitly as a systems integration contribution: the contribution is not the classifier, but the T-RAG architecture that lifts overall performance. The base classifier is deliberately a commodity component—a standard fine-tuned encoder, reported without embellishment—and the value lies in what is built around it: confidence-based routing that keeps the classifier in charge of the cases it handles well, and classifier-primary, retrieval-augmented escalation that improves accuracy precisely on the cases it handles poorly. So the contribution is the integration that turns a modest classifier into a better-performing triage system, stated plainly rather than dressed up as a new classifier; interpretive claims about LLM behavior are hedged accordingly throughout.
Figure 1 illustrates the high-level T-RAG pipeline, and
Figure 2 details the system architecture.
This work makes the following contributions.
We fine-tune a ModernBERT-large [
6] classifier for idea-stage §103-propensity screening and report its calibration in full on the leakage-free Dataset B: the raw model is over-confident (ECE = 0.068, with an 8.9 pp gap in the 0.8–0.9 band), temperature scaling reduces this to ECE = 0.0086 (random split)/0.0048 (temporal hold-out), and—most relevant for routing—its confidence rank-orders correctness (selective AUROC 0.65/0.63) better than classic baselines.
We introduce a classifier-primary escalation design: low-confidence cases are sent to an LLM that is given the classifier’s own prediction and confidence as the primary signal together with retrieved similar prior applications, and is instructed to verify the classifier rather than replace it. We show this distinction is decisive—a naive replace design degrades accuracy, whereas classifier-primary support improves it precisely on the uncertain cases where the classifier is weakest.
We provide a confidence-based routing criterion with a single tunable threshold and report the full accuracy–cost (escalation budget) trade-off rather than a single operating point.
We evaluate under deliberately leakage-free conditions—a same-era corpus, a temporal hold-out, and a contamination-free, disjoint label set whose §103 labels follow the USPTO Office Action Research Dataset—with ablations isolating the roles of confidence routing, retrieval design (showing balanced retrieval is not necessary), and the escalation prompt.
3. Problem Formulation
Given a patent application represented as a (title, abstract) pair,
, the goal is to predict the binary §103-propensity label:
where REJECTED_103 denotes rejection under 35 U.S.C. §103 (obviousness).
Let
denote a probabilistic classifier with parameters
, producing class probabilities. Define the predicted label and confidence score as
Let
denote the RAG retrieval function returning the
k most similar patents, partitioned into granted (
) and rejected (
) subsets, with
. (This balanced partition is the Dataset A design; on Dataset B,
is instead the natural top-
k set—the
k nearest neighbors regardless of outcome class—following the retrieval ablation of
Section 6.2.)
Our hybrid inference system
is
where
is the confidence threshold and
denotes the LLM-based verification function. The design goal is to choose
such that the overall accuracy of
H exceeds both the classifier alone and full-LLM processing, while minimizing the fraction of LLM calls.
Algorithm 1 formalizes the complete inference procedure.
| Algorithm 1 T-RAG Inference |
- Input:
Patent application x, confidence threshold , retrieval budget k - Output:
Predicted outcome - 1:
// Stage 1: Classifier Inference - 2:
▹ class probability vector - 3:
; - 4:
if then - 5:
- 6:
return ▹ high-confidence: LLM skipped - 7:
end if - 8:
// Stage 2: Two-Sided RAG Retrieval - 9:
- 10:
▹: granted index - 11:
▹: rejected index - 12:
- 13:
// Stage 3: LLM Verification - 14:
- 15:
- 16:
return
|
6. Results
We report results on two datasets.
Dataset A is the corpus used in our original study;
Dataset B is a new corpus constructed for this revision. In Dataset A, the GRANTED and REJECTED_103 classes are drawn from different filing-year ranges. This year separation was a deliberate design choice: it keeps the two classes disjoint at the application level and structurally prevents the amend-to-grant trajectory—a §103-rejected application later granted after amendment—from placing the same application on both sides. We recognize, however, that separating classes by era can introduce its own era-correlated text signal. To control for this we construct
Dataset B, a same-era corpus drawn from the Harvard USPTO Patent Dataset (HUPD) [
48], restricted to the 2014–2015 filing cohort, whose §103 labels follow the USPTO Office Action Research Dataset and whose GRANTED and REJECTED_103 classes are disjoint by construction (verified: zero shared application IDs; 43,813 applications per class), evaluated under both a random split and a temporal hold-out (train on earlier filings, test on later). Concretely, GRANTED contains applications whose final HUPD disposition is granted and that never received a §103 rejection during prosecution, while REJECTED_103 contains applications whose final disposition is not granted and whose office actions carry the §103 rejection flag (applications with co-occurring §102 rejections are excluded to keep the label §103-specific); §103-rejected applications that were later granted after amendment therefore fall into neither class. After text-level deduplication, the two classes are balanced at 43,813 applications each. The random split is 85/15 (74,482 train/13,144 test); the temporal hold-out trains on 2014 filings (57,796) and tests on 2015 filings (29,830), with both class-balanced. The retrieval index for escalation is built from the corresponding training split only, so no test application can appear as retrieved evidence; escalation uses Claude Opus 4.8 (
claude-opus-4-8) via the Anthropic API, and deferred-set escalation experiments are evaluated on a random sample of up to 1500 low-confidence cases per split. We present both tracks rather than discarding either. Their absolute numbers are not directly comparable: Dataset B’s lower accuracy reflects both the change of corpus and the intrinsically harder task of discriminating between same-era applications within the same fine-grained technology domain, rather than contamination in Dataset A. We therefore read
Dataset B (temporal hold-out) as the rigorous, leakage-controlled figure for temporal generalization, while Dataset A remains the full end-to-end system benchmark.
6.1. Results on Dataset B (Leakage-Free)
Table 4 reports the full picture. We compare the ModernBERT classifier and the T-RAG system against two classic non-deep baselines—CPC-LR, a CPC-code-only logistic regression (metadata only, no text), and a TF-IDF + CPC logistic regression—and decompose accuracy by the classifier’s confidence: a confident region (
, the cases T-RAG auto-decides) and an uncertain region (
, the cases T-RAG escalates); the
boundary is the optimal escalation budget identified by the
sweep of
Section 6.2, whose benefit is positive across the full swept range
on both splits. All methods are scored on the same cases in each region.
Acc@5% is each method’s own top-5%-confidence (standalone triage) accuracy;
overall is proportion-weighted over all cases.
Three findings stand out. First, the abstract carries a real but modest signal beyond field frequency. The ModernBERT classifier (AUROC: 0.719 temporal) exceeds the text-free CPC-LR metadata baseline (0.646) by
and the classic TF-IDF + CPC baseline (0.683) by
, so the result is not reducible to a topic-frequency lookup—consistent with the idea-stage signal motivated in
Section 1—though the overall accuracy (
, near a
field ceiling) reflects the task’s intrinsic difficulty. Second, the classifier’s confidence supports high-precision triage: at 5% coverage it reaches
accuracy (temporal), dominating both baselines, so confident cases can be auto-decided reliably (the routing contribution). Third, classifier-primary escalation helps exactly where the classifier is weak. On the uncertain cases (
, ≈22% of the data), the classifier is near chance (
, temporal—in fact below the TF-IDF + CPC baseline of
, i.e., these cases are intrinsically hard for every method), and the LLM lifts them to
(
pp), raising overall accuracy from
to
. The random split shows the same pattern with larger gains (
on uncertain cases; overall
). The overall gain is modest by construction—only ≈22% of cases are escalated and those cases are genuinely difficult—so the system’s value is best read in the uncertain column (where it acts) and the triage operating point, not the proportion-weighted overall.
6.2. Ablations and Diagnostics (Dataset B)
Escalation design: verify vs. replace. Supplying the classifier’s prediction and confidence as the primary signal is decisive. With this signal (the verification design of
Section 4.4.1), classifier-primary escalation is net-positive on the deferred set—the low-confidence pool
considered for escalation—at
pp random/
pp temporal at the optimal budget
, and positive across the swept range
. These deferred-set averages are diluted by the
cases on which the classifier’s prediction is kept; on the escalated cases themselves (
) the lift is larger,
(random)/
(temporal), as reported in
Table 4. A stripped variant that hides the classifier signal and requests a blank-slate prediction is net-negative (
pp). The gain therefore comes from verification, not replacement.
Retrieval design: balance is unnecessary. At matched neighbor count, natural top-3 retrieval (best deferred-set pp) is at least as good as natural top-6 () and balanced (); balancing the granted/rejected mix gives no advantage. The retrieval ceiling is itself task-limited—a §103-rate k-NN AUROC of – that does not rise when the embedder is upgraded from MiniLM-L6 to e5-large or to a 2025 state-of-the-art model (Qwen3-Embedding-8B)—so the balanced design was not masking a weak embedder.
Calibration. The raw classifier is over-confident (ECE:
; an
pp gap in the 0.8–0.9 band); post hoc temperature scaling, fitted per split (
= 1.53 on the random split), reduces the ECE to
(random)/
(temporal).
Table 5 reports the per-band reliability before and after scaling on the random split: the raw per-band gaps of
to
pp collapse to at most
pp; the temporal split shows the same collapse. The threshold sweep is likewise stable across splits: at the Dataset A default
, the retained set covers
of cases at
accuracy (random) vs.
at
(temporal), so the operating point is not overfit to a single split. Confidence rank-orders correctness (selective AUROC:
/
, vs.
/
for TF-IDF + CPC’s own confidence), and the risk–coverage curve (
Figure 4) dominates both classic baselines and random rejection at every coverage level, on both splits (AUROC:
vs.
for TF-IDF + CPC vs.
for random rejection on the random split;
vs.
vs.
on the temporal hold-out).
Routing statistics. We quantify the routing benefit at a matched coverage: the confidence-retained half of the test set (the highest-confidence of cases) reaches accuracy (random split)/ (temporal) against overall accuracies of /. A randomization test (20,000 random routings of the same size) places confidence-routing above all permutations (empirical ), and a bootstrap CI on this retained − overall accuracy gap is pp, 95% CI pp (random)/ pp (temporal). We report these as the correct statistics for the routing benefit.
6.3. Results on Dataset A (Original)
We retain the original Dataset A analyses below as the end-to-end system benchmark. As noted above, their higher absolute numbers partly reflect Dataset A’s cross-era construction—a deliberate design that also keeps its two classes disjoint—so we read Dataset B (temporal hold-out) as the rigorous, leakage-controlled figure for temporal generalization, while Dataset A is the full end-to-end system benchmark. The original model comparison, per-class metrics, and domain-reliability analyses follow (all subsections through
Section 6.6 pertain to Dataset A).
6.4. Comprehensive Model Comparison
Table 6 establishes the performance landscape from zero-shot baselines to the full T-RAG pipeline.
The results reveal several notable findings. Note that the classifier accuracy on the 2000-sample pipeline subset (85.5%) is slightly higher than on the full 20,000-sample test set (83.69%,
Table 7), because the stratified pipeline sample contains 71% high-confidence predictions versus 65.4% in the full population, raising the subset-level accuracy.
Zero-shot LLMs fail on this task: Qwen3-4B (48.8%) performs at chance level with a severe REJECTED bias (F1-G: 17.4%), while Claude Opus 4.6 (58.2%) is more balanced but still substantially below the fine-tuned classifier (85.5%). This performance gap between the lower-bound and upper-bound LLMs confirms that domain-specific supervision is indispensable for specialized legal classification [
37], regardless of model scale. Notably, ModernBERT (395M parameters) outperforms zero-shot Claude Opus 4.6, a model orders of magnitude larger, by 27.3 pp, demonstrating that parameter count and general capability cannot substitute for domain-specific supervised learning on this task.
Two-sided RAG evidence also helps: RAG + Claude without a classifier (87.3%) outperforms the classifier alone by 1.8 pp, confirming that structured evidential context improves LLM reasoning. However, the F1-G/F1-R ratio (88.0/86.5) reveals a residual GRANTED bias, which T-RAG’s routing mechanism mitigates by applying LLM verification only where the classifier is uncertain, independently of which class is predicted.
Perhaps most notably, selective routing outperforms full LLM engagement. Processing only 29% of samples through the LLM yields higher accuracy than processing all samples (92.0% vs. 87.3%). This occurs because the fine-tuned classifier handles high-confidence cases with 92.8% accuracy, and routing these same cases through the LLM introduces noise from unnecessary overrides. The accuracy gap between T-RAG (92.0%) and RAG + Claude (87.3%) is 4.7 pp; the 95% Clopper–Pearson confidence interval for T-RAG accuracy is , which does not overlap with that of RAG + Claude , and McNemar’s test confirms the difference is statistically significant (, ). Low standard deviations across three independent LLM runs ( pp for T-RAG) further confirm the reproducibility of these results.
6.5. Classifier Performance
Table 7 reports the per-epoch training progression of ModernBERT-large on 20,000 held-out test samples.
The Epoch 2 checkpoint achieves 83.69% accuracy and 83.93% F1. The sharp increase in validation loss at Epoch 3 (0.389 → 1.318), with simultaneously declining F1, indicates overfitting, confirming Epoch 2 as the optimal checkpoint via early stopping.
Table 8 compares ModernBERT-base (149M) and ModernBERT-large (395M). The larger model achieves +1.2 pp F1, primarily through improved recall (+4.6 pp), which we attribute to the extended context window (1024 vs. 512 tokens) capturing discriminative signals in longer abstracts.
6.6. Routing Statistics and Low-Confidence Analysis
With , 1420 of 2000 evaluation samples (71.0%) are handled by the classifier directly, while 580 (29.0%) are escalated to LLM verification.
Table 9 isolates the 580 evaluation samples routed to the LLM. The classifier’s accuracy on this subset is 65.0%, only modestly above chance for a balanced binary task, confirming that these cases are genuinely difficult.
Claude Opus 4.6 improves accuracy by 25.0 pp (183 wins, 38 losses across 580 routed samples), demonstrating that LLM reasoning capacity, not just retrieval, is essential for correcting uncertain predictions. Qwen3-4B achieves only +1.0 pp on the same samples, confirming that the performance disparity between the lower-bound and upper-bound LLMs observed in zero-shot evaluation persists in the pipeline setting. The low standard deviation ( pp) across three independent LLM runs confirms that the improvement is robust to LLM response variability. This result validates the architectural choice of pairing confidence-based routing with a capable verification model, as smaller models cannot reliably integrate evidence from multiple analogous cases to override classifier predictions.
6.7. Detailed Per-Class Metrics
Table 10 breaks down precision, recall, and F1 per class for all methods. T-RAG achieves the highest F1 for both GRANTED (92.3%) and REJECTED (91.7%), the only method to rank first on this balanced metric for both classes, with an inter-class F1 gap of just 0.6 pp. This consistent performance across classes is the primary practical advantage of confidence-based routing: rather than excelling on one subset of cases at the expense of another, T-RAG provides reliable guidance across the full range of examination outcomes.
7. Ablation Studies
We conduct three ablation studies using the 2000-sample evaluation set without additional LLM API calls, by re-analyzing the per-sample confidence scores and stored LLM predictions from the main pipeline experiment.
7.1. Confidence Threshold Sweep
We sweep
by re-routing stored samples without re-running the LLM, and compute the resulting accuracy and LLM call rate;
Table 11 reports the results.
A peak accuracy of 92.0% is achieved at . Most importantly, matches while requiring only 370 LLM calls vs. 580, representing a 36% reduction in API cost. We retain as the default for its robustness to classifier recalibration across different splits, but recommend for cost-sensitive deployments.
7.2. Routing Strategy: Confidence-Based vs. Random
A central claim of T-RAG is that the identity of routed samples matters, not merely their count. We test this by simulating 1000 random routing trials: each trial selects 29% of evaluation samples uniformly at random for LLM verification.
Table 12 compares the routing strategies at a matched LLM budget.
Confidence-based routing outperforms the random routing mean by +4.6 pp. Across 1000 random-routing trials at matched LLM budget, none reached the observed 92.0% accuracy (best 89.2%). We report this randomization check rather than a parametric -based statement, because the spread of random reshuffling is not the sampling error of the accuracy point estimate. Confidence-based routing approaches the oracle routing upper bound (93.5%).
7.3. Tech Center Domain Analysis
To examine whether T-RAG’s benefits are uniform across technology domains, we link the 1000 REJECTED_103 evaluation samples to their USPTO Technology Center (TC) codes via exact title matching against the Office Action metadata (100% match rate).
Table 13 reports the per-domain results.
Domains with lower classifier accuracy gain most: Biotechnology (TC 1600, +29.2 pp) and Computer Architecture (TC 2100, +21.1 pp) involve nuanced obviousness reasoning, where the LLM’s structured analogical reasoning provides the most value. Conversely, TC 2600 (100.0% classifier accuracy) experiences a pp degradation from incorrect LLM overrides. With at least 57 samples per technology center, these domain-level differences are statistically interpretable: a two-proportion z-test confirms the TC 1600 gain as significant () and the TC 2100 gain at , while the TC 2600 degradation is also significant (). These results motivate future work on domain-adaptive thresholding.
8. Analysis and Discussion
8.1. Why Zero-Shot LLMs Fail
Zero-shot LLMs perform near or below random (49–59%) for three interconnected reasons. First, LLMs trained on general web corpora have no calibration to USPTO-specific distributions and therefore lack exposure to the particular patterns of USPTO examination decisions. Second, both models exhibit systematic prediction bias: Qwen3-4B strongly favors REJECTED (F1-G: 17.4%), while Claude Opus 4.6 is more balanced but still suboptimal. Third, obviousness determination requires a comparative framework involving specific prior art combinations [
1], which zero-shot models cannot construct without access to relevant case evidence.
8.2. The Value of Domain-Specific Fine-Tuning
ModernBERT (395M parameters) outperforms zero-shot Claude Opus 4.6 by 27.3 pp on the 2000-sample pipeline evaluation. This result is consistent with findings in legal [
37] and medical [
38] NLP, where domain-specific fine-tuning on labeled data substantially outperforms general-purpose models regardless of the latter’s scale, and aligns with broader trends in AI-driven decision-support systems [
51].
8.3. Why Two-Sided Evidence Retrieval Matters
Our v1 pipeline restricted the RAG knowledge base to rejection-only documents. Because the LLM received only evidence supporting rejection, it systematically over-predicted REJECTED, a form of retrieval-induced anchoring bias. In a pilot evaluation on 200 samples, the rejection-only RAG pipeline achieved 74.0% accuracy with an extreme F1-G/F1-R imbalance of 58.3/82.1, confirming that unbalanced retrieval induces severe class bias. The v2 pipeline with two-sided retrieval (a knowledge base of 50K granted + 50K rejected) eliminates this imbalance by providing counterevidence from both outcomes, enabling the LLM to perform genuine comparative reasoning.
An instructive control is RAG + Claude without a classifier, which achieves 87.3%, higher than the classifier alone (85.5%) but lower than T-RAG (92.0%). This 4.7 pp gap is statistically significant (McNemar’s , ) and demonstrates that while two-sided RAG evidence contributes to high LLM accuracy, it is not sufficient; confidence-based routing is equally important.
8.4. Qualitative Analysis: LLM Reasoning vs. Examiner Reasoning
Three patterns emerge from the qualitative comparison (
Table 14). First, RAG retrieval consistently surfaces relevant prior art. Second, T-RAG reasoning is qualitatively richer: receiving the classifier’s prediction and confidence as a structured hypothesis causes the LLM to argue why the prediction should be upheld or overridden. Third, both approaches demonstrate substantive technical reasoning rather than surface-level keyword matching, suggesting—on these illustrative cases—that RAG-enhanced LLMs can recover elements of the examiner’s comparative analysis, though we do not claim they reproduce examiner-level legal reasoning. These findings support T-RAG’s core design choice: providing the classifier prediction as context focuses LLM reasoning on the specific question of whether the classifier should be overridden.
8.5. Limitations and Scope
We are explicit about the scope of our claims. (i) Leakage-controlled, but a deliberately clean task. Our rigorous results (Dataset B) remove era and label leakage—same-era construction, a temporal hold-out, and disjoint classes whose §103 labels follow the USPTO Office Action Research Dataset—so the reported numbers are a leakage-controlled floor rather than a best-case ceiling. At the same time, a contamination-free separation is also an easier setting than full prosecution: applications that received a §103 rejection but were later granted after amendment are, by construction, not placed in the granted class. We therefore do not claim to resolve this ambiguous middle; characterizing performance on the full amend-to-grant population is a harder, separate task and explicit future work. (ii) Modest signal. The title-and-abstract signal is real but weak (AUROC , ≈ balanced accuracy); it supports idea-stage screening and triage, but is not a substitute for the claim-level legal determination, and the overall accuracy gain from escalation is small because most cases are confident and the escalated cases are intrinsically difficult. (iii) Narrow temporal window. Our temporal hold-out trains on 2014 filings and tests on 2015 filings—a one-year-forward window; a true forward-deployment evaluation, with a longer calendar gap matching examination latency and spanning shifts in examination standards, would further strengthen the generalization claim. (iv) Two datasets. Dataset A and Dataset B differ in construction and are not directly comparable; we present both: Dataset A as the end-to-end system benchmark and Dataset B (temporal hold-out) for temporal generalization.
9. Conclusions
We presented T-RAG, a confidence-based triage framework for idea-stage patent obviousness assessment that integrates fine-tuned ModernBERT-large classification with retrieval-augmented LLM verification. Designed for inventors and early-stage practitioners who need actionable §103 risk guidance before formal claim drafting, the system uses title and abstract as input, the natural representation of an invention at the ideation phase, and delivers predictions together with confidence signals and auditable prior art evidence.
The experimental findings converge on four conclusions. Domain-specific fine-tuning on labeled patent data is substantially more effective than zero-shot deployment of large foundation models. Retrieving evidence from both outcome classes—rather than from rejected cases only—matters for unbiased LLM reasoning; however, our retrieval ablation shows that forcing an equal granted/rejected count is not itself necessary, as natural top-k retrieval performs at least as well. Confidence-based routing outperforms random routing at equivalent LLM budget—on Dataset A, none of 1000 random-routing trials at matched budget reached the observed accuracy, and on Dataset B a randomization test over 20,000 random routings at matched coverage yields empirical —confirming that classifier confidence reliably identifies the cases where LLM verification is most beneficial. Finally, LLM verification benefits are strongly domain-dependent, with biotechnology and computer architecture gaining most, motivating domain-adaptive thresholding as a direction for future work.
Several design boundaries merit discussion. First, the balanced (3 granted + 3 rejected) retrieval budget is the design used in the Dataset A end-to-end pipeline; on the leakage-controlled Dataset B we ablate retrieval design (natural top-3/top-6 vs. forced balanced ) and find that forced balance is not necessary. A fuller sweep over k on the end-to-end pipeline—beyond the pilot that showed diminishing returns past —remains future work due to the combinatorial cost of re-running the full LLM evaluation. Second, although the test set and RAG knowledge base are disjoint at the document level, we do not explicitly filter patent-family relatives. Patents within the same family share substantial textual overlap, and their presence in both sets could inflate retrieval similarity scores. We consider this a conservative bias—it advantages all RAG-based methods equally and does not differentially favor T-RAG over the RAG + Claude baseline—but future work should evaluate with family-level deduplication to quantify the effect. Third, our LLM results are tied to a specific model snapshot (claude-opus-4-6); provider-side model updates may alter reproduction fidelity, and users should pin model versions for operational deployments.
Building on prior work in patent retrieval networks [
22], several directions suggest natural extensions. Expanding to multi-class formulations covering §101, §102, and §112 grounds would more fully reflect real examination outcomes. Domain-adaptive routing could further improve the accuracy–cost trade-off. The deliberate restriction to title and abstract reflects T-RAG’s target use case: idea-stage patentability assessment, where formal claims do not yet exist. A complementary system could accept claim text for applications that have progressed to the drafting stage, testing whether richer input improves accuracy on the cases the abstract-level classifier finds most difficult; however, this would address a distinct user need rather than a limitation of the current design. As patent examination standards evolve with case law, periodic retraining will be necessary to maintain temporal currency.