Patent license prediction using deep survival analysis: A comparative study.
The 11 matches
- [1] § Methods › Model architectures ↔ src/train_cure.py, lines 132–251 · score 0.92 · log hazard ratio, baseline hazard network, Cox linear predictor, licensability predictor, ReLU, Cox cure rate
- [2] § Methods › Training procedure ↔ src/train_cure.py, lines 411–541 · score 0.83 · learning rate scheduling, ReduceLROnPlateau, weight decay, Cox Cure, Adam, patience
- [3] § Methods › Training procedure ↔ src/train_deepsurv.py, lines 266–372 · score 0.79 · ReduceLROnPlateau, weight decay, Adam, patience, DeepSurv, clipping
- [4] § Methods › Model architectures ↔ src/train_cure.py, lines 132–251 · score 0.75 · log hazard ratio, Cox linear predictor, licensability predictor, baseline hazard, encoder, h0
- [5] § Methods › Model architectures ↔ src/train_cure.py, lines 1–32 · score 0.74 · cure fraction, modeling components, neural network, Cox cure rate, proportional hazards, baseline
- [6] § Related works › Deep survival analysis ↔ src/train_deepsurv.py, lines 1–34 · score 0.65 · Cox proportional hazards, neural networks, medical, DeepSurv, risks, prediction
- [7] § Methods › Model architectures ↔ src/train_cox.py, lines 28–152 · score 0.60 · backward citation, classical Cox, text embeddings, CPC
- [8] § Methods › Model architectures ↔ src/train_deepsurv.py, lines 1–34 · score 0.58 · deep neural network, Cox proportional hazards, DeepSurv, prediction, modeling
- [9] § Methods › Model architectures ↔ src/train_dnn.py, lines 64–160 · score 0.58 · ReLU, activations, dropout, layers, DNN, backward
- [10] § Related works › Deep survival analysis ↔ src/train_cure.py, lines 1–32 · score 0.56 · models assume, cure rate models, susceptible, population, event, baselines
- [11] § Methods › Training procedure ↔ src/train_cure.py, lines 75–125 · score 0.54 · trapezoidal rule, baseline hazard, cumulative, training
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 650 lines · 22 KB · MIT · 6 matches
- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- """
- Cox Cure Rate Model Training
- This script trains a Cox proportional hazards model with cure fraction (cure rate model).
- The model assumes that a portion of the population will never experience the event (cured),
- while the remaining population follows a Cox proportional hazards model.
- Model Components:
- 1. Cure Fraction: P(cured) = 1 - p(X) where p(X) is the probability of being susceptible
- 2. Survival for Susceptible: S(t|X, not cured) follows Cox proportional hazards
- 3. Baseline Hazard: Modeled directly using a neural network
- Key Features:
- - Semi-parametric approach: parametric cure fraction + neural baseline hazard
- - Numerical integration for cumulative hazard calculation
- - Complex likelihood combining cured and susceptible populations
- """
- import argparse
- import torch
- import pandas as pd
- import numpy as np
- from torch import nn
- from torch.utils.data import Dataset, DataLoader
- from torch.optim import Adam
- from torch.optim.lr_scheduler import ReduceLROnPlateau, LambdaLR
- from datetime import datetime
- from pathlib import Path
- from utils import setup_logging, load_preprocessed_data, save_json, custom_collate_fn
- # ============================================================
- # Baseline Hazard Network
- # ============================================================
- class BaselineHazardNet(nn.Module):
- """
- Neural network to directly model baseline hazard function h₀(t).
- The baseline hazard is constrained to be non-negative using Softplus activation.
- """
- def __init__(self, hidden_dim=64):
- super().__init__()
- self.net = nn.Sequential(
- nn.Linear(1, hidden_dim),
- nn.ReLU(),
- nn.Linear(hidden_dim, hidden_dim // 2),
- nn.ReLU(),
- nn.Linear(hidden_dim // 2, 1),
- nn.Softplus() # Non-negative constraint
- )
- def forward(self, t):
- """
- Args:
- t: Time tensor [batch_size] or [batch_size, 1]
- Returns:
- Baseline hazard h₀(t) [batch_size]
- """
- if t.dim() == 1:
- t = t.unsqueeze(1)
- hazard = self.net(t)
- return hazard.squeeze(1)
- # ============================================================
- # Numerical Integration Utility
- # ============================================================
- def numerical_integration_trapezoid(hazard_net, t_end, n_steps=100):
- """
- Compute cumulative hazard function using trapezoidal rule.
- Integrates h₀(t) from 0 to t_end to get cumulative hazard Λ₀(t).
- Args:
- hazard_net: Baseline hazard network
- t_end: Integration upper limit (tensor) [batch_size]
- n_steps: Number of integration steps
- Returns:
- Cumulative hazard Λ₀(t) [batch_size]
- """
- device = t_end.device
- batch_size = t_end.shape[0]
- # Determine step size based on maximum t_end
- t_max = torch.max(t_end)
- dt = t_max / n_steps
- # Create integration points [n_steps+1, batch_size]
- t_points = torch.arange(0, n_steps + 1, device=device, dtype=torch.float32) * dt
- t_points = t_points.unsqueeze(1).expand(-1, batch_size)
- # Clip at each sample's t_end
- t_end_expanded = t_end.unsqueeze(0).expand(n_steps + 1, -1)
- t_points = torch.min(t_points, t_end_expanded)
- # Evaluate hazard function
- t_flat = t_points.flatten()
- hazard_values = hazard_net(t_flat)
- hazard_values = hazard_values.view(n_steps + 1, batch_size)
- # Trapezoidal rule: ∫f(x)dx ≈ Σ[f(x_i) + f(x_{i+1})] * dx/2
- cumulative_hazard = torch.zeros(batch_size, device=device)
- for i in range(batch_size):
- t_sample = t_end[i]
- n_steps_sample = int((t_sample / dt).item())
- n_steps_sample = min(n_steps_sample, n_steps)
- if n_steps_sample > 0:
- dt_sample = t_sample / n_steps_sample
- h_values = hazard_values[:n_steps_sample+1, i]
- # Apply trapezoidal rule
- integral = torch.sum(h_values[:-1] + h_values[1:]) * dt_sample / 2
- cumulative_hazard[i] = integral
- return cumulative_hazard
- # ============================================================
- # Model Definition
- # ============================================================
- class CoxCureModel(nn.Module):
- """
- Semi-parametric Cox Cure Rate Model.
- Architecture:
- 1. Shared feature encoder
- 2. Cure fraction predictor: P(susceptible to licensing)
- 3. Cox linear predictor: log hazard ratio
- 4. Baseline hazard network: h₀(t)
- """
- def __init__(self, emb_dim=768, cpc_vocab_size=129, app_vocab_size=207499,
- cpc_emb_dim=16, app_emb_dim=256, cpc_pad_idx=0, app_pad_idx=0):
- super().__init__()
- self.cpc_pad_idx = cpc_pad_idx
- self.app_pad_idx = app_pad_idx
- # Embedding layers
- self.cpc_emb = nn.EmbeddingBag(
- cpc_vocab_size + 1, cpc_emb_dim, mode='mean', padding_idx=cpc_pad_idx
- )
- self.app_emb = nn.EmbeddingBag(
- app_vocab_size + 1, app_emb_dim, mode='mean', padding_idx=app_pad_idx
- )
- # Shared feature encoder
- feature_dim = emb_dim + cpc_emb_dim + app_emb_dim + 2 # 1042
- self.feature_encoder = nn.Sequential(
- nn.Linear(feature_dim, 1024),
- nn.ReLU(),
- nn.Dropout(0.3),
- nn.Linear(1024, 512),
- nn.ReLU(),
- nn.Dropout(0.3)
- )
- # Cure fraction predictor (licensability predictor)
- self.licensability_predictor = nn.Sequential(
- nn.Linear(512, 256),
- nn.ReLU(),
- nn.Dropout(0.3),
- nn.Linear(256, 128),
- nn.ReLU(),
- nn.Linear(128, 1),
- nn.Sigmoid() # P(susceptible to licensing) ∈ [0, 1]
- )
- # Cox linear predictor (log hazard ratio)
- self.cox_predictor = nn.Sequential(
- nn.Linear(512, 256),
- nn.ReLU(),
- nn.Dropout(0.3),
- nn.Linear(256, 128),
- nn.ReLU(),
- nn.Linear(128, 1) # β'X (unconstrained)
- )
- # Baseline hazard network
- self.baseline_hazard_net = BaselineHazardNet(hidden_dim=64)
- def forward(self, num_claims, backward_cites, embeddings, cpc_ids, app_ids):
- batch_size = embeddings.shape[0]
- device = embeddings.device
- # Process CPC codes
- if cpc_ids.dim() == 2:
- cpc_mask = (cpc_ids != self.cpc_pad_idx)
- if cpc_mask.any():
- flat_cpc = cpc_ids[cpc_mask]
- cpc_lengths = cpc_mask.sum(dim=1)
- cpc_offsets = torch.cat([
- torch.tensor([0], device=device),
- cpc_lengths.cumsum(dim=0)[:-1]
- ])
- cpc_vec = self.cpc_emb(flat_cpc, cpc_offsets)
- else:
- cpc_vec = torch.zeros(batch_size, self.cpc_emb.embedding_dim, device=device)
- else:
- if len(cpc_ids) > 0:
- offsets = torch.tensor([0], dtype=torch.long, device=device)
- cpc_vec = self.cpc_emb(cpc_ids, offsets)
- else:
- cpc_vec = torch.zeros(1, self.cpc_emb.embedding_dim, device=device)
- # Process applicants
- if app_ids.dim() == 2:
- app_mask = (app_ids != self.app_pad_idx)
- if app_mask.any():
- flat_app = app_ids[app_mask]
- app_lengths = app_mask.sum(dim=1)
- app_offsets = torch.cat([
- torch.tensor([0], device=device),
- app_lengths.cumsum(dim=0)[:-1]
- ])
- app_vec = self.app_emb(flat_app, app_offsets)
- else:
- app_vec = torch.zeros(batch_size, self.app_emb.embedding_dim, device=device)
- else:
- if len(app_ids) > 0:
- offsets = torch.tensor([0], dtype=torch.long, device=device)
- app_vec = self.app_emb(app_ids, offsets)
- else:
- app_vec = torch.zeros(1, self.app_emb.embedding_dim, device=device)
- # Concatenate features
- x = torch.cat([
- embeddings, cpc_vec, app_vec,
- num_claims.unsqueeze(1),
- backward_cites.unsqueeze(1)
- ], dim=1)
- # Shared encoding
- encoded = self.feature_encoder(x)
- # Two outputs
- p_licensable = self.licensability_predictor(encoded).squeeze(1)
- cox_linear = self.cox_predictor(encoded).squeeze(1)
- return p_licensable, cox_linear
- # ============================================================
- # Dataset Definition
- # ============================================================
- class CureDataset(Dataset):
- """Dataset for Cox Cure Rate Model."""
- def __init__(self, df, max_cpc_len=10, max_app_len=5):
- self.df = df.reset_index(drop=True)
- self.max_cpc_len = max_cpc_len
- self.max_app_len = max_app_len
- self._prepare()
- def _prepare(self):
- self.num_claims = torch.tensor(
- self.df['num_claims_scaled'].values, dtype=torch.float32
- )
- self.backward_cites = torch.tensor(
- self.df['backward_citation_count_scaled'].values, dtype=torch.float32
- )
- # Text embeddings
- emb_cols = [f'text_emb_{i}_scaled' for i in range(768)]
- embeddings_data = []
- for col in emb_cols:
- if col in self.df.columns:
- embeddings_data.append(self.df[col].values)
- else:
- embeddings_data.append(np.zeros(len(self.df)))
- self.embeddings = np.column_stack(embeddings_data).astype(np.float32)
- # CPC codes
- self.cpc_ids = []
- for idx in range(len(self.df)):
- cpc_ids_str = self.df.iloc[idx]['cpc_ids']
- if isinstance(cpc_ids_str, str) and cpc_ids_str:
- cpc_id_list = [int(x) for x in cpc_ids_str.split(',') if x.strip()]
- cpc_id_list = list(dict.fromkeys(cpc_id_list))
- else:
- cpc_id_list = []
- cpc_id_list = cpc_id_list[:self.max_cpc_len]
- self.cpc_ids.append(torch.tensor(cpc_id_list, dtype=torch.long))
- # Applicant IDs
- self.applicant_ids = []
- for idx in range(len(self.df)):
- app_ids_str = self.df.iloc[idx]['app_ids']
- if isinstance(app_ids_str, str) and app_ids_str:
- app_id_list = [int(x) for x in app_ids_str.split(',') if x.strip()]
- app_id_list = list(dict.fromkeys(app_id_list))
- else:
- app_id_list = []
- app_id_list = app_id_list[:self.max_app_len]
- self.applicant_ids.append(torch.tensor(app_id_list, dtype=torch.long))
- # Survival data
- self.t_normalized = torch.tensor(self.df['t_normalized'].values, dtype=torch.float32)
- self.s = torch.tensor(self.df['s'].values, dtype=torch.float32)
- def __len__(self):
- return len(self.df)
- def __getitem__(self, idx):
- return (
- self.num_claims[idx],
- self.backward_cites[idx],
- torch.tensor(self.embeddings[idx], dtype=torch.float32),
- self.cpc_ids[idx],
- self.applicant_ids[idx],
- self.t_normalized[idx],
- self.s[idx]
- )
- # ============================================================
- # Loss Function
- # ============================================================
- def cox_cure_rate_loss(p_licensable, cox_linear, t_normalized, s, baseline_hazard_net):
- """
- Cox Cure Rate Model loss function.
- The likelihood combines two populations:
- 1. Cured (never licensed): probability (1 - p)
- 2. Susceptible (may be licensed): probability p, follows Cox model
- For event (s=1):
- L = p × h(t|X) × S(t|X)
- For censoring (s=0):
- L = p × S(t|X) + (1-p)
- where:
- h(t|X) = h₀(t) × exp(β'X) : hazard function
- S(t|X) = exp(-Λ₀(t) × exp(β'X)) : survival function
- Λ₀(t) = ∫₀ᵗ h₀(u)du : cumulative baseline hazard
- Args:
- p_licensable: Probability of being susceptible [batch_size]
- cox_linear: Cox linear predictor β'X [batch_size]
- t_normalized: Normalized time [batch_size]
- s: Event indicator [batch_size]
- baseline_hazard_net: Baseline hazard network
- Returns:
- Negative log likelihood
- """
- # Numerical stability
- p_licensable = torch.clamp(p_licensable, min=1e-8, max=1-1e-8)
- cox_linear = torch.clamp(cox_linear, min=-10, max=10)
- t_normalized = torch.clamp(t_normalized, min=1e-6, max=10.0)
- # Baseline hazard function
- hazard_0 = baseline_hazard_net(t_normalized) # h₀(t)
- # Cumulative baseline hazard via numerical integration
- cum_hazard_0 = numerical_integration_trapezoid(
- baseline_hazard_net, t_normalized, n_steps=50
- ) # Λ₀(t)
- # Clamp for numerical stability
- hazard_0 = torch.clamp(hazard_0, min=1e-8, max=100.0)
- cum_hazard_0 = torch.clamp(cum_hazard_0, min=1e-8, max=100.0)
- # Cox components
- exp_cox = torch.exp(cox_linear)
- h_t = hazard_0 * exp_cox # h(t|X) = h₀(t) × exp(β'X)
- S_t = torch.exp(-cum_hazard_0 * exp_cox) # S(t|X) = exp(-Λ₀(t) × exp(β'X))
- # Cure Rate Model likelihood
- # Event: p × h(t|X) × S(t|X)
- event_likelihood = s * p_licensable * h_t * S_t
- # Censoring: p × S(t|X) + (1-p)
- censoring_likelihood = (1-s) * (p_licensable * S_t + (1-p_licensable))
- # Total likelihood
- total_likelihood = event_likelihood + censoring_likelihood
- # Negative log likelihood
- neg_log_likelihood = -torch.log(total_likelihood + 1e-8)
- loss = neg_log_likelihood.mean()
- return loss
- # ============================================================
- # Training Function
- # ============================================================
- def warmup_lambda(epoch, warmup_epochs=5):
- """Learning rate warmup schedule."""
- if epoch < warmup_epochs:
- return (epoch + 1) / warmup_epochs
- return 1.0
- def train_model(model, train_loader, val_loader, device, config, logger):
- """Train Cox Cure Rate Model."""
- optimizer = Adam(
- model.parameters(),
- lr=config['lr'],
- weight_decay=config['weight_decay']
- )
- # Warmup + ReduceLROnPlateau
- warmup_scheduler = LambdaLR(
- optimizer,
- lr_lambda=lambda epoch: warmup_lambda(epoch, warmup_epochs=5)
- )
- main_scheduler = ReduceLROnPlateau(
- optimizer, mode='min', factor=0.5, patience=3, min_lr=1e-7
- )
- best_loss = float('inf')
- patience = 0
- training_history = []
- warmup_complete = False
- for epoch in range(config['epochs']):
- # Training
- model.train()
- total_loss = 0
- batch_count = 0
- for batch_idx, batch in enumerate(train_loader):
- optimizer.zero_grad()
- num_claims, backward_cites, embeddings, cpc_ids, app_ids, t_normalized, s = [
- x.to(device) for x in batch
- ]
- # Forward pass
- p_licensable, cox_linear = model(
- num_claims, backward_cites, embeddings, cpc_ids, app_ids
- )
- # Loss calculation
- loss = cox_cure_rate_loss(
- p_licensable, cox_linear, t_normalized, s,
- model.baseline_hazard_net
- )
- if torch.isnan(loss) or torch.isinf(loss):
- logger.warning(f"NaN/Inf loss at epoch {epoch+1}, batch {batch_idx+1}")
- continue
- # Backward pass
- loss.backward()
- torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm=5.0)
- optimizer.step()
- total_loss += loss.item()
- batch_count += 1
- if batch_count == 0:
- continue
- avg_loss = total_loss / batch_count
- # Validation
- model.eval()
- with torch.no_grad():
- val_loss = 0
- val_batch_count = 0
- for batch in val_loader:
- num_claims, backward_cites, embeddings, cpc_ids, app_ids, t_normalized, s = [
- x.to(device) for x in batch
- ]
- p_licensable, cox_linear = model(
- num_claims, backward_cites, embeddings, cpc_ids, app_ids
- )
- loss = cox_cure_rate_loss(
- p_licensable, cox_linear, t_normalized, s,
- model.baseline_hazard_net
- )
- if not (torch.isnan(loss) or torch.isinf(loss)):
- val_loss += loss.item()
- val_batch_count += 1
- if val_batch_count == 0:
- val_loss = float('inf')
- else:
- val_loss /= val_batch_count
- training_history.append({
- 'epoch': epoch + 1,
- 'train_loss': float(avg_loss),
- 'val_loss': float(val_loss),
- 'learning_rate': float(optimizer.param_groups[0]['lr'])
- })
- logger.info(
- f"Epoch {epoch+1}/{config['epochs']} | "
- f"Train Loss: {avg_loss:.6f} | Val Loss: {val_loss:.6f}"
- )
- # Learning rate scheduling
- if epoch < 5:
- warmup_scheduler.step()
- else:
- if not warmup_complete:
- logger.info("Warmup complete, switching to ReduceLROnPlateau")
- warmup_complete = True
- main_scheduler.step(val_loss)
- # Early stopping
- if val_loss < best_loss:
- best_loss = val_loss
- patience = 0
- torch.save({
- 'epoch': epoch,
- 'model_state_dict': model.state_dict(),
- 'optimizer_state_dict': optimizer.state_dict(),
- 'loss': best_loss
- }, config['model_path'])
- logger.info(f" New best model saved (val_loss={best_loss:.6f})")
- else:
- patience += 1
- if patience >= config['early_stop']:
- logger.info("Early stopping triggered")
- break
- return {
- 'best_val_loss': float(best_loss),
- 'training_history': training_history
- }
- # ============================================================
- # Main Execution
- # ============================================================
- def main():
- """Main execution function."""
- parser = argparse.ArgumentParser(
- description='Train Cox Cure Rate Model'
- )
- parser.add_argument('--data_dir', type=str, required=True)
- parser.add_argument('--model_path', type=str, required=True)
- parser.add_argument('--results_path', type=str, required=True)
- parser.add_argument('--train_start', type=int, required=True)
- parser.add_argument('--train_end', type=int, required=True)
- parser.add_argument('--val_start', type=int, required=True)
- parser.add_argument('--val_end', type=int, required=True)
- parser.add_argument('--batch_size', type=int, default=256)
- parser.add_argument('--epochs', type=int, default=50)
- parser.add_argument('--lr', type=float, default=1e-4)
- parser.add_argument('--weight_decay', type=float, default=1e-4)
- parser.add_argument('--early_stop', type=int, default=10)
- parser.add_argument('--log_dir', type=str, default='logs')
- args = parser.parse_args()
- # Setup logging
- logger = setup_logging(log_dir=args.log_dir)
- logger.info("=== Cox Cure Rate Model Training ===")
- config = vars(args)
- device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
- logger.info(f"Device: {device}")
- # GPU memory clear
- if torch.cuda.is_available():
- torch.cuda.empty_cache()
- torch.cuda.synchronize()
- logger.info(f"GPU: {torch.cuda.get_device_name()}")
- # Create output directories
- Path(config['model_path']).parent.mkdir(parents=True, exist_ok=True)
- # Load data
- logger.info("\n=== Data Loading ===")
- train_df = load_preprocessed_data(
- config['data_dir'], config['train_start'], config['train_end'], logger
- )
- val_df = load_preprocessed_data(
- config['data_dir'], config['val_start'], config['val_end'], logger
- )
- # Prepare datasets
- logger.info("\n=== Dataset Preparation ===")
- train_ds = CureDataset(train_df)
- val_ds = CureDataset(val_df)
- train_loader = DataLoader(
- train_ds, batch_size=config['batch_size'], shuffle=True,
- drop_last=True, collate_fn=custom_collate_fn
- )
- val_loader = DataLoader(
- val_ds, batch_size=config['batch_size'], shuffle=False,
- collate_fn=custom_collate_fn
- )
- # Initialize model
- logger.info("\n=== Model Initialization ===")
- model = CoxCureModel(
- cpc_vocab_size=129,
- app_vocab_size=207499,
- cpc_pad_idx=0,
- app_pad_idx=0
- ).to(device)
- total_params = sum(p.numel() for p in model.parameters() if p.requires_grad)
- logger.info(f"Trainable parameters: {total_params:,}")
- # Train
- logger.info("\n=== Training ===")
- start_time = datetime.now()
- try:
- result = train_model(model, train_loader, val_loader, device, config, logger)
- result['model_type'] = 'cox_cure'
- result['n_train_samples'] = len(train_df)
- result['n_val_samples'] = len(val_df)
- save_json(result, config['results_path'])
- end_time = datetime.now()
- duration = end_time - start_time
- logger.info("\n=== Training Complete ===")
- logger.info(f"Duration: {duration}")
- logger.info(f"Best validation loss: {result['best_val_loss']:.6f}")
- logger.info(f"Model saved: {config['model_path']}")
- except Exception as e:
- logger.error(f"Training error: {e}")
- import traceback
- logger.error(f"Traceback:\n{traceback.format_exc()}")
- raise
- if __name__ == '__main__':
- main()
train_cure.py at commit 403482f, under MIT · at the source
Overview
- Graduate School of Information Science, University of Hyogo, Kobe, Hyogo, Japan
- Center for Computational Science, RIKEN, Kobe, Hyogo, Japan
Abstract
Objective: We evaluate deep survival analysis frameworks for patent licensing prediction, systematically comparing cure rate models against standard approaches and quantifying the benefit of temporal modeling over static classification to address unresolved methodological questions following recent applications of neural survival models to patent contexts. Methods: We conducted experimental validation on 624,129 United States Patent and Trademark Office (USPTO) patents (2016–2017), comparing classical Cox regression, deep neural network baseline, DeepSurv (neural Cox proportional hazards), and Cox cure rate models. Performance was evaluated using metrics across 1-year, 3-year, and 5-year prediction horizons, with statistical significance assessed through patent-level bootstrap resampling (B = 1,000). Results: All deep learning approaches achieve high performance ( % 89.8–91.9%), substantially outperforming classical Cox regression (70.6–72.3%). Among neural architectures, DeepSurv—a standard neural Cox proportional hazards model—offers the optimal balance of simplicity and performance. More complex cure rate extensions provided no clear additional benefit over standard DeepSurv within the scope of this study: although bootstrap resampling detected a small but statistically significant difference (0.70 percentage points), this gap is practically negligible for patent screening, suggesting that explicit population heterogeneity modeling offers limited practical gains when deep feature learning is employed. Survival modeling provides statistically detectable but modest gains over static binary classification ( % differences of 0.5–1.6 percentage points), indicating that the primary value stems from capturing complex patent characteristics rather than explicit temporal modeling. Conclusion: This study provides, to the best of our knowledge, the first systematic evaluation of cure rate models and temporal modeling benefits for patent licensing prediction, demonstrating that architectural simplicity (DeepSurv) achieves near-optimal performance ( % 91%) when deep feature learning is prioritized. The findings offer actionable guidance for patent portfolio management: invest in feature learning infrastructure rather than architectural sophistication
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 11 matches between paragraphs and lines of code.
takaoarai/PatentLicensePrediction
403482fccbc271ccd2f8e6f6c8e2df9fcec7fa10, 11 February 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
10 files
- src/
embeddings.py , Python, 232 lines - src/
scaler.py , Python, 272 lines - src/
train_cox.py , Python, 328 lines, 1 match - src/
train_cure.py , Python, 650 lines, 6 matches - src/
train_deepsurv.py , Python, 482 lines, 3 matches - src/
train_dnn.py , Python, 468 lines, 1 match - src/
transform.py , Python, 403 lines - src/
utils.py , Python, 394 lines - LICENSE, License, 21 lines
- README.md, Text, 19 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 8 scripts, each with its path and the digest of its content;
- 11 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability
All data used in this study are publicly available. The USPTO Patent Assignment Dataset was obtained from https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 3, 28 September 2026
- Funding: added Asahi Glass Foundation; Japan Society for the Promotion of Science: 23K20626, 25K01454, 24K00247, 26K00349, JP26K22092, 24K01108, 23K25520
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 10 MeSH terms, 27 references.
Cite
This paper
Arai, T., & Inoue, H. (2026). Patent license prediction using deep survival analysis: A comparative study. PloS one, 21(9), e0355826. https://
BibTeX
@article{arai2026patent,
author = {Arai, Takao and Inoue, Hiroyasu},
title = {{Patent license prediction using deep survival analysis: A comparative study}},
journal = {PloS one},
year = {2026},
month = sep,
volume = {21},
number = {9},
pages = {e0355826},
publisher = {PLOS},
issn = {1932-6203},
doi = {10.1371/
url = {https://
pmid = {42715259},
pmcid = {PMC13557344}
}
RIS
TY - JOUR
AU - Arai, Takao
AU - Inoue, Hiroyasu
TI - Patent license prediction using deep survival analysis: A comparative study
T2 - PloS one
J2 - PLoS One
PY - 2026
DA - 2026/
VL - 21
IS - 9
SP - e0355826
SN - 1932-6203
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"type": "article-journal",
"title": "Patent license prediction using deep survival analysis: A comparative study",
"container-title": "PloS one",
"author": [
{
"family": "Arai",
"given": "Takao"
},
{
"family": "Inoue",
"given": "Hiroyasu"
}
],
"container-title-short":
"volume": "21",
"issue": "9",
"page": "e0355826",
"DOI": "10.1371/
"PMID": "42715259",
"PMCID": "PMC13557344",
"ISSN": "1932-6203",
"publisher": "PLOS",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
9
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41591-026-04497-1 [code]
- Health system learning enables generalist neuroimaging models.Journal: Nature medicineIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [2] doi:10.1093/braincomms/fcag253 [code]
- Disease detection and classification in temporal lobe epilepsy: step-wise versus simultaneous AI decision models in a multisite neuroimaging study.Journal: Brain communicationsIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [3] doi:10.1016/j.isci.2026.116135 [code]
- Predicting ICU in-hospital mortality from text-encoded structured EHR data using adaptive transformer layer fusion.Journal: iScienceIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [4] doi:10.1038/s43856-026-01606-6 [code]
- Validation of remote multimodal AI screening for Parkinson disease across diverse settings.Journal: Communications medicineIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [5] doi:10.1038/s41598-026-50791-w [code]
- Hybrid Vi+ECNN framework for advanced ADHD diagnostic accuracy in medical imaging.Journal: Scientific reportsIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [6] doi:10.1016/j.patter.2026.101538 [code]
- A multi-modal foundation model for brain disease diagnosis and medical imaging.Journal: Patterns (New York, N.Y.)In common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [7] doi:10.1038/s43856-026-01817-x [code]
- Visual prompt engineering for multimodal and irregularly sampled medical data.Journal: Communications medicineIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [8] doi:10.3389/fpsyt.2026.1803720 [code]
- NeuroCon-AutismNet: a privacy-preserving multimodal framework toward autism screening via diffusion-regularized EEG biomarkers and empathy-aware multilingual dialogue.Journal: Frontiers in psychiatryIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [9] doi:10.1038/s41746-026-02713-3 [code]
- Learning like a radiologist: a medical vision-language model for radiological image analysis via curriculum learning.Journal: NPJ digital medicineIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
- [10] doi:10.1038/s44387-026-00109-y [code]
- SPARROW: subtyping Parkinson's disease with agentic reasoning and robust omics workflow.Journal: NPJ artificial intelligenceIn common: Hugging Face Transformers, PyTorch, pandas, 1 other tool, clinical / translational
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 8 scripts, and 11 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:f83057aeb36399e2…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
